@inploi/plugin-job-alerts 0.0.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.
- package/cdn/index.js +2 -0
- package/dist/index.cdn.d.ts +8 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.dev.d.ts +1 -0
- package/dist/job-alerts.constants.d.ts +2 -0
- package/dist/job-alerts.d.ts +23 -0
- package/dist/plugin-job-alerts.cjs +559 -0
- package/dist/plugin-job-alerts.js +559 -0
- package/package.json +70 -0
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const sdk = require("@inploi/sdk");
|
|
4
|
+
function invariant(condition, message) {
|
|
5
|
+
if (condition) {
|
|
6
|
+
return;
|
|
7
|
+
}
|
|
8
|
+
throw new Error(message);
|
|
9
|
+
}
|
|
10
|
+
var n$1, l$1, u$2, i$1, o$1, r, f$2, c$1 = {}, s$1 = [], a$1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, h$1 = Array.isArray;
|
|
11
|
+
function v$1(n2, l2) {
|
|
12
|
+
for (var u2 in l2)
|
|
13
|
+
n2[u2] = l2[u2];
|
|
14
|
+
return n2;
|
|
15
|
+
}
|
|
16
|
+
function p$1(n2) {
|
|
17
|
+
var l2 = n2.parentNode;
|
|
18
|
+
l2 && l2.removeChild(n2);
|
|
19
|
+
}
|
|
20
|
+
function y$1(l2, u2, t) {
|
|
21
|
+
var i2, o2, r2, f2 = {};
|
|
22
|
+
for (r2 in u2)
|
|
23
|
+
"key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : f2[r2] = u2[r2];
|
|
24
|
+
if (arguments.length > 2 && (f2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t), "function" == typeof l2 && null != l2.defaultProps)
|
|
25
|
+
for (r2 in l2.defaultProps)
|
|
26
|
+
void 0 === f2[r2] && (f2[r2] = l2.defaultProps[r2]);
|
|
27
|
+
return d$1(l2, f2, i2, o2, null);
|
|
28
|
+
}
|
|
29
|
+
function d$1(n2, t, i2, o2, r2) {
|
|
30
|
+
var f2 = { type: n2, props: t, key: i2, ref: o2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: null == r2 ? ++u$2 : r2, __i: -1, __u: 0 };
|
|
31
|
+
return null == r2 && null != l$1.vnode && l$1.vnode(f2), f2;
|
|
32
|
+
}
|
|
33
|
+
function g$1(n2) {
|
|
34
|
+
return n2.children;
|
|
35
|
+
}
|
|
36
|
+
function b$1(n2, l2) {
|
|
37
|
+
this.props = n2, this.context = l2;
|
|
38
|
+
}
|
|
39
|
+
function m$1(n2, l2) {
|
|
40
|
+
if (null == l2)
|
|
41
|
+
return n2.__ ? m$1(n2.__, n2.__i + 1) : null;
|
|
42
|
+
for (var u2; l2 < n2.__k.length; l2++)
|
|
43
|
+
if (null != (u2 = n2.__k[l2]) && null != u2.__e)
|
|
44
|
+
return u2.__e;
|
|
45
|
+
return "function" == typeof n2.type ? m$1(n2) : null;
|
|
46
|
+
}
|
|
47
|
+
function k$1(n2) {
|
|
48
|
+
var l2, u2;
|
|
49
|
+
if (null != (n2 = n2.__) && null != n2.__c) {
|
|
50
|
+
for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++)
|
|
51
|
+
if (null != (u2 = n2.__k[l2]) && null != u2.__e) {
|
|
52
|
+
n2.__e = n2.__c.base = u2.__e;
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
return k$1(n2);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function w$1(n2) {
|
|
59
|
+
(!n2.__d && (n2.__d = true) && i$1.push(n2) && !x$1.__r++ || o$1 !== l$1.debounceRendering) && ((o$1 = l$1.debounceRendering) || r)(x$1);
|
|
60
|
+
}
|
|
61
|
+
function x$1() {
|
|
62
|
+
var n2, u2, t, o2, r2, e, c2, s2, a2;
|
|
63
|
+
for (i$1.sort(f$2); n2 = i$1.shift(); )
|
|
64
|
+
n2.__d && (u2 = i$1.length, o2 = void 0, e = (r2 = (t = n2).__v).__e, s2 = [], a2 = [], (c2 = t.__P) && ((o2 = v$1({}, r2)).__v = r2.__v + 1, l$1.vnode && l$1.vnode(o2), L(c2, o2, r2, t.__n, void 0 !== c2.ownerSVGElement, 32 & r2.__u ? [e] : null, s2, null == e ? m$1(r2) : e, !!(32 & r2.__u), a2), o2.__.__k[o2.__i] = o2, M(s2, o2, a2), o2.__e != e && k$1(o2)), i$1.length > u2 && i$1.sort(f$2));
|
|
65
|
+
x$1.__r = 0;
|
|
66
|
+
}
|
|
67
|
+
function C$1(n2, l2, u2, t, i2, o2, r2, f2, e, a2, h2) {
|
|
68
|
+
var v2, p2, y2, d2, _2, g2 = t && t.__k || s$1, b2 = l2.length;
|
|
69
|
+
for (u2.__d = e, P(u2, l2, g2), e = u2.__d, v2 = 0; v2 < b2; v2++)
|
|
70
|
+
null != (y2 = u2.__k[v2]) && "boolean" != typeof y2 && "function" != typeof y2 && (p2 = -1 === y2.__i ? c$1 : g2[y2.__i] || c$1, y2.__i = v2, L(n2, y2, p2, i2, o2, r2, f2, e, a2, h2), d2 = y2.__e, y2.ref && p2.ref != y2.ref && (p2.ref && z(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 ? e = S$1(y2, e, n2) : "function" == typeof y2.type && void 0 !== y2.__d ? e = y2.__d : d2 && (e = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
|
|
71
|
+
u2.__d = e, u2.__e = _2;
|
|
72
|
+
}
|
|
73
|
+
function P(n2, l2, u2) {
|
|
74
|
+
var t, i2, o2, r2, f2, e = l2.length, c2 = u2.length, s2 = c2, a2 = 0;
|
|
75
|
+
for (n2.__k = [], t = 0; t < e; t++)
|
|
76
|
+
null != (i2 = n2.__k[t] = null == (i2 = l2[t]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ? d$1(null, i2, null, null, i2) : h$1(i2) ? d$1(g$1, { children: i2 }, null, null, null) : void 0 === i2.constructor && i2.__b > 0 ? d$1(i2.type, i2.props, i2.key, i2.ref ? i2.ref : null, i2.__v) : i2) ? (i2.__ = n2, i2.__b = n2.__b + 1, f2 = H(i2, u2, r2 = t + 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 > e - r2 ? a2 += f2 - r2 : a2-- : a2 = f2 < r2 && f2 == r2 - 1 ? f2 - r2 : 0, f2 !== t + a2 && (i2.__u |= 65536))) : (o2 = u2[t]) && null == o2.key && o2.__e && (o2.__e == n2.__d && (n2.__d = m$1(o2)), N(o2, o2, false), u2[t] = null, s2--);
|
|
77
|
+
if (s2)
|
|
78
|
+
for (t = 0; t < c2; t++)
|
|
79
|
+
null != (o2 = u2[t]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = m$1(o2)), N(o2, o2));
|
|
80
|
+
}
|
|
81
|
+
function S$1(n2, l2, u2) {
|
|
82
|
+
var t, i2;
|
|
83
|
+
if ("function" == typeof n2.type) {
|
|
84
|
+
for (t = n2.__k, i2 = 0; t && i2 < t.length; i2++)
|
|
85
|
+
t[i2] && (t[i2].__ = n2, l2 = S$1(t[i2], l2, u2));
|
|
86
|
+
return l2;
|
|
87
|
+
}
|
|
88
|
+
return n2.__e != l2 && (u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e), l2 && l2.nextSibling;
|
|
89
|
+
}
|
|
90
|
+
function H(n2, l2, u2, t) {
|
|
91
|
+
var i2 = n2.key, o2 = n2.type, r2 = u2 - 1, f2 = u2 + 1, e = l2[u2];
|
|
92
|
+
if (null === e || e && i2 == e.key && o2 === e.type)
|
|
93
|
+
return u2;
|
|
94
|
+
if (t > (null != e && 0 == (131072 & e.__u) ? 1 : 0))
|
|
95
|
+
for (; r2 >= 0 || f2 < l2.length; ) {
|
|
96
|
+
if (r2 >= 0) {
|
|
97
|
+
if ((e = l2[r2]) && 0 == (131072 & e.__u) && i2 == e.key && o2 === e.type)
|
|
98
|
+
return r2;
|
|
99
|
+
r2--;
|
|
100
|
+
}
|
|
101
|
+
if (f2 < l2.length) {
|
|
102
|
+
if ((e = l2[f2]) && 0 == (131072 & e.__u) && i2 == e.key && o2 === e.type)
|
|
103
|
+
return f2;
|
|
104
|
+
f2++;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return -1;
|
|
108
|
+
}
|
|
109
|
+
function I(n2, l2, u2) {
|
|
110
|
+
"-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || a$1.test(l2) ? u2 : u2 + "px";
|
|
111
|
+
}
|
|
112
|
+
function T(n2, l2, u2, t, i2) {
|
|
113
|
+
var o2;
|
|
114
|
+
n:
|
|
115
|
+
if ("style" === l2)
|
|
116
|
+
if ("string" == typeof u2)
|
|
117
|
+
n2.style.cssText = u2;
|
|
118
|
+
else {
|
|
119
|
+
if ("string" == typeof t && (n2.style.cssText = t = ""), t)
|
|
120
|
+
for (l2 in t)
|
|
121
|
+
u2 && l2 in u2 || I(n2.style, l2, "");
|
|
122
|
+
if (u2)
|
|
123
|
+
for (l2 in u2)
|
|
124
|
+
t && u2[l2] === t[l2] || I(n2.style, l2, u2[l2]);
|
|
125
|
+
}
|
|
126
|
+
else if ("o" === l2[0] && "n" === l2[1])
|
|
127
|
+
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 ? t ? u2.u = t.u : (u2.u = Date.now(), n2.addEventListener(l2, o2 ? D : A, o2)) : n2.removeEventListener(l2, o2 ? D : A, o2);
|
|
128
|
+
else {
|
|
129
|
+
if (i2)
|
|
130
|
+
l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
131
|
+
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)
|
|
132
|
+
try {
|
|
133
|
+
n2[l2] = null == u2 ? "" : u2;
|
|
134
|
+
break n;
|
|
135
|
+
} catch (n3) {
|
|
136
|
+
}
|
|
137
|
+
"function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, u2));
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
function A(n2) {
|
|
141
|
+
var u2 = this.l[n2.type + false];
|
|
142
|
+
if (n2.t) {
|
|
143
|
+
if (n2.t <= u2.u)
|
|
144
|
+
return;
|
|
145
|
+
} else
|
|
146
|
+
n2.t = Date.now();
|
|
147
|
+
return u2(l$1.event ? l$1.event(n2) : n2);
|
|
148
|
+
}
|
|
149
|
+
function D(n2) {
|
|
150
|
+
return this.l[n2.type + true](l$1.event ? l$1.event(n2) : n2);
|
|
151
|
+
}
|
|
152
|
+
function L(n2, u2, t, i2, o2, r2, f2, e, c2, s2) {
|
|
153
|
+
var a2, p2, y2, d2, _2, m2, k2, w2, x2, P2, S2, $, H2, I2, T2, A2 = u2.type;
|
|
154
|
+
if (void 0 !== u2.constructor)
|
|
155
|
+
return null;
|
|
156
|
+
128 & t.__u && (c2 = !!(32 & t.__u), r2 = [e = u2.__e = t.__e]), (a2 = l$1.__b) && a2(u2);
|
|
157
|
+
n:
|
|
158
|
+
if ("function" == typeof A2)
|
|
159
|
+
try {
|
|
160
|
+
if (w2 = u2.props, x2 = (a2 = A2.contextType) && i2[a2.__c], P2 = a2 ? x2 ? x2.props.value : a2.__ : i2, t.__c ? k2 = (p2 = u2.__c = t.__c).__ = p2.__E : ("prototype" in A2 && A2.prototype.render ? u2.__c = p2 = new A2(w2, P2) : (u2.__c = p2 = new b$1(w2, P2), p2.constructor = A2, p2.render = O), 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$1({}, p2.__s)), v$1(p2.__s, A2.getDerivedStateFromProps(w2, p2.__s))), d2 = p2.props, _2 = p2.state, p2.__v = u2, y2)
|
|
161
|
+
null == A2.getDerivedStateFromProps && null != p2.componentWillMount && p2.componentWillMount(), null != p2.componentDidMount && p2.__h.push(p2.componentDidMount);
|
|
162
|
+
else {
|
|
163
|
+
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 === t.__v)) {
|
|
164
|
+
for (u2.__v !== t.__v && (p2.props = w2, p2.state = p2.__s, p2.__d = false), u2.__e = t.__e, u2.__k = t.__k, u2.__k.forEach(function(n3) {
|
|
165
|
+
n3 && (n3.__ = u2);
|
|
166
|
+
}), S2 = 0; S2 < p2._sb.length; S2++)
|
|
167
|
+
p2.__h.push(p2._sb[S2]);
|
|
168
|
+
p2._sb = [], p2.__h.length && f2.push(p2);
|
|
169
|
+
break n;
|
|
170
|
+
}
|
|
171
|
+
null != p2.componentWillUpdate && p2.componentWillUpdate(w2, p2.__s, P2), null != p2.componentDidUpdate && p2.__h.push(function() {
|
|
172
|
+
p2.componentDidUpdate(d2, _2, m2);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
if (p2.context = P2, p2.props = w2, p2.__P = n2, p2.__e = false, $ = l$1.__r, H2 = 0, "prototype" in A2 && A2.prototype.render) {
|
|
176
|
+
for (p2.state = p2.__s, p2.__d = false, $ && $(u2), a2 = p2.render(p2.props, p2.state, p2.context), I2 = 0; I2 < p2._sb.length; I2++)
|
|
177
|
+
p2.__h.push(p2._sb[I2]);
|
|
178
|
+
p2._sb = [];
|
|
179
|
+
} else
|
|
180
|
+
do {
|
|
181
|
+
p2.__d = false, $ && $(u2), a2 = p2.render(p2.props, p2.state, p2.context), p2.state = p2.__s;
|
|
182
|
+
} while (p2.__d && ++H2 < 25);
|
|
183
|
+
p2.state = p2.__s, null != p2.getChildContext && (i2 = v$1(v$1({}, i2), p2.getChildContext())), y2 || null == p2.getSnapshotBeforeUpdate || (m2 = p2.getSnapshotBeforeUpdate(d2, _2)), C$1(n2, h$1(T2 = null != a2 && a2.type === g$1 && null == a2.key ? a2.props.children : a2) ? T2 : [T2], u2, t, i2, o2, r2, f2, e, c2, s2), p2.base = u2.__e, u2.__u &= -161, p2.__h.length && f2.push(p2), k2 && (p2.__E = p2.__ = null);
|
|
184
|
+
} catch (n3) {
|
|
185
|
+
u2.__v = null, c2 || null != r2 ? (u2.__e = e, u2.__u |= c2 ? 160 : 32, r2[r2.indexOf(e)] = null) : (u2.__e = t.__e, u2.__k = t.__k), l$1.__e(n3, u2, t);
|
|
186
|
+
}
|
|
187
|
+
else
|
|
188
|
+
null == r2 && u2.__v === t.__v ? (u2.__k = t.__k, u2.__e = t.__e) : u2.__e = j(t.__e, u2, t, i2, o2, r2, f2, c2, s2);
|
|
189
|
+
(a2 = l$1.diffed) && a2(u2);
|
|
190
|
+
}
|
|
191
|
+
function M(n2, u2, t) {
|
|
192
|
+
u2.__d = void 0;
|
|
193
|
+
for (var i2 = 0; i2 < t.length; i2++)
|
|
194
|
+
z(t[i2], t[++i2], t[++i2]);
|
|
195
|
+
l$1.__c && l$1.__c(u2, n2), n2.some(function(u3) {
|
|
196
|
+
try {
|
|
197
|
+
n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
|
|
198
|
+
n3.call(u3);
|
|
199
|
+
});
|
|
200
|
+
} catch (n3) {
|
|
201
|
+
l$1.__e(n3, u3.__v);
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
function j(l2, u2, t, i2, o2, r2, f2, e, s2) {
|
|
206
|
+
var a2, v2, y2, d2, _2, g2, b2, k2 = t.props, w2 = u2.props, x2 = u2.type;
|
|
207
|
+
if ("svg" === x2 && (o2 = true), null != r2) {
|
|
208
|
+
for (a2 = 0; a2 < r2.length; a2++)
|
|
209
|
+
if ((_2 = r2[a2]) && "setAttribute" in _2 == !!x2 && (x2 ? _2.localName === x2 : 3 === _2.nodeType)) {
|
|
210
|
+
l2 = _2, r2[a2] = null;
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
if (null == l2) {
|
|
215
|
+
if (null === x2)
|
|
216
|
+
return document.createTextNode(w2);
|
|
217
|
+
l2 = o2 ? document.createElementNS("http://www.w3.org/2000/svg", x2) : document.createElement(x2, w2.is && w2), r2 = null, e = false;
|
|
218
|
+
}
|
|
219
|
+
if (null === x2)
|
|
220
|
+
k2 === w2 || e && l2.data === w2 || (l2.data = w2);
|
|
221
|
+
else {
|
|
222
|
+
if (r2 = r2 && n$1.call(l2.childNodes), k2 = t.props || c$1, !e && null != r2)
|
|
223
|
+
for (k2 = {}, a2 = 0; a2 < l2.attributes.length; a2++)
|
|
224
|
+
k2[(_2 = l2.attributes[a2]).name] = _2.value;
|
|
225
|
+
for (a2 in k2)
|
|
226
|
+
_2 = k2[a2], "children" == a2 || ("dangerouslySetInnerHTML" == a2 ? y2 = _2 : "key" === a2 || a2 in w2 || T(l2, a2, null, _2, o2));
|
|
227
|
+
for (a2 in w2)
|
|
228
|
+
_2 = w2[a2], "children" == a2 ? d2 = _2 : "dangerouslySetInnerHTML" == a2 ? v2 = _2 : "value" == a2 ? g2 = _2 : "checked" == a2 ? b2 = _2 : "key" === a2 || e && "function" != typeof _2 || k2[a2] === _2 || T(l2, a2, _2, k2[a2], o2);
|
|
229
|
+
if (v2)
|
|
230
|
+
e || y2 && (v2.__html === y2.__html || v2.__html === l2.innerHTML) || (l2.innerHTML = v2.__html), u2.__k = [];
|
|
231
|
+
else if (y2 && (l2.innerHTML = ""), C$1(l2, h$1(d2) ? d2 : [d2], u2, t, i2, o2 && "foreignObject" !== x2, r2, f2, r2 ? r2[0] : t.__k && m$1(t, 0), e, s2), null != r2)
|
|
232
|
+
for (a2 = r2.length; a2--; )
|
|
233
|
+
null != r2[a2] && p$1(r2[a2]);
|
|
234
|
+
e || (a2 = "value", void 0 !== g2 && (g2 !== l2[a2] || "progress" === x2 && !g2 || "option" === x2 && g2 !== k2[a2]) && T(l2, a2, g2, k2[a2], false), a2 = "checked", void 0 !== b2 && b2 !== l2[a2] && T(l2, a2, b2, k2[a2], false));
|
|
235
|
+
}
|
|
236
|
+
return l2;
|
|
237
|
+
}
|
|
238
|
+
function z(n2, u2, t) {
|
|
239
|
+
try {
|
|
240
|
+
"function" == typeof n2 ? n2(u2) : n2.current = u2;
|
|
241
|
+
} catch (n3) {
|
|
242
|
+
l$1.__e(n3, t);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
function N(n2, u2, t) {
|
|
246
|
+
var i2, o2;
|
|
247
|
+
if (l$1.unmount && l$1.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || z(i2, null, u2)), null != (i2 = n2.__c)) {
|
|
248
|
+
if (i2.componentWillUnmount)
|
|
249
|
+
try {
|
|
250
|
+
i2.componentWillUnmount();
|
|
251
|
+
} catch (n3) {
|
|
252
|
+
l$1.__e(n3, u2);
|
|
253
|
+
}
|
|
254
|
+
i2.base = i2.__P = null, n2.__c = void 0;
|
|
255
|
+
}
|
|
256
|
+
if (i2 = n2.__k)
|
|
257
|
+
for (o2 = 0; o2 < i2.length; o2++)
|
|
258
|
+
i2[o2] && N(i2[o2], u2, t || "function" != typeof n2.type);
|
|
259
|
+
t || null == n2.__e || p$1(n2.__e), n2.__ = n2.__e = n2.__d = void 0;
|
|
260
|
+
}
|
|
261
|
+
function O(n2, l2, u2) {
|
|
262
|
+
return this.constructor(n2, u2);
|
|
263
|
+
}
|
|
264
|
+
function q(u2, t, i2) {
|
|
265
|
+
var o2, r2, f2, e;
|
|
266
|
+
l$1.__ && l$1.__(u2, t), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t.__k, f2 = [], e = [], L(t, u2 = (!o2 && i2 || t).__k = y$1(g$1, null, [u2]), r2 || c$1, c$1, void 0 !== t.ownerSVGElement, !o2 && i2 ? [i2] : r2 ? null : t.firstChild ? n$1.call(t.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t.firstChild, o2, e), M(f2, u2, e);
|
|
267
|
+
}
|
|
268
|
+
n$1 = s$1.slice, l$1 = { __e: function(n2, l2, u2, t) {
|
|
269
|
+
for (var i2, o2, r2; l2 = l2.__; )
|
|
270
|
+
if ((i2 = l2.__c) && !i2.__)
|
|
271
|
+
try {
|
|
272
|
+
if ((o2 = i2.constructor) && null != o2.getDerivedStateFromError && (i2.setState(o2.getDerivedStateFromError(n2)), r2 = i2.__d), null != i2.componentDidCatch && (i2.componentDidCatch(n2, t || {}), r2 = i2.__d), r2)
|
|
273
|
+
return i2.__E = i2;
|
|
274
|
+
} catch (l3) {
|
|
275
|
+
n2 = l3;
|
|
276
|
+
}
|
|
277
|
+
throw n2;
|
|
278
|
+
} }, u$2 = 0, b$1.prototype.setState = function(n2, l2) {
|
|
279
|
+
var u2;
|
|
280
|
+
u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = v$1({}, this.state), "function" == typeof n2 && (n2 = n2(v$1({}, u2), this.props)), n2 && v$1(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), w$1(this));
|
|
281
|
+
}, b$1.prototype.forceUpdate = function(n2) {
|
|
282
|
+
this.__v && (this.__e = true, n2 && this.__h.push(n2), w$1(this));
|
|
283
|
+
}, b$1.prototype.render = g$1, i$1 = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$2 = function(n2, l2) {
|
|
284
|
+
return n2.__v.__b - l2.__v.__b;
|
|
285
|
+
}, x$1.__r = 0;
|
|
286
|
+
var o = /[\s\n\\/='"\0<>]/, n = /^(xlink|xmlns|xml)([A-Z])/, a = /^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 = /^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 = /["&<]/;
|
|
287
|
+
function s(e) {
|
|
288
|
+
if (0 === e.length || false === l.test(e))
|
|
289
|
+
return e;
|
|
290
|
+
for (var t = 0, r2 = 0, o2 = "", n2 = ""; r2 < e.length; r2++) {
|
|
291
|
+
switch (e.charCodeAt(r2)) {
|
|
292
|
+
case 34:
|
|
293
|
+
n2 = """;
|
|
294
|
+
break;
|
|
295
|
+
case 38:
|
|
296
|
+
n2 = "&";
|
|
297
|
+
break;
|
|
298
|
+
case 60:
|
|
299
|
+
n2 = "<";
|
|
300
|
+
break;
|
|
301
|
+
default:
|
|
302
|
+
continue;
|
|
303
|
+
}
|
|
304
|
+
r2 !== t && (o2 += e.slice(t, r2)), o2 += n2, t = r2 + 1;
|
|
305
|
+
}
|
|
306
|
+
return r2 !== t && (o2 += e.slice(t, r2)), o2;
|
|
307
|
+
}
|
|
308
|
+
var c = {}, p = /* @__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$1 = /[A-Z]/g;
|
|
309
|
+
function f$1(e) {
|
|
310
|
+
var t = "";
|
|
311
|
+
for (var r2 in e) {
|
|
312
|
+
var o2 = e[r2];
|
|
313
|
+
if (null != o2 && "" !== o2) {
|
|
314
|
+
var n2 = "-" == r2[0] ? r2 : c[r2] || (c[r2] = r2.replace(u$1, "-$&").toLowerCase()), a2 = ";";
|
|
315
|
+
"number" != typeof o2 || n2.startsWith("--") || p.has(n2) || (a2 = "px;"), t = t + n2 + ":" + o2 + a2;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
return t || void 0;
|
|
319
|
+
}
|
|
320
|
+
var _, d, h, m, v = [], g = Array.isArray, y = Object.assign;
|
|
321
|
+
function b(o2, n2) {
|
|
322
|
+
var a2 = l$1.__s;
|
|
323
|
+
l$1.__s = true, _ = l$1.__b, d = l$1.diffed, h = l$1.__r, m = l$1.unmount;
|
|
324
|
+
var i2 = y$1(g$1, null);
|
|
325
|
+
i2.__k = [o2];
|
|
326
|
+
try {
|
|
327
|
+
return C(o2, n2 || k, false, void 0, i2);
|
|
328
|
+
} finally {
|
|
329
|
+
l$1.__c && l$1.__c(o2, v), l$1.__s = a2, v.length = 0;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
function x() {
|
|
333
|
+
this.__d = true;
|
|
334
|
+
}
|
|
335
|
+
var k = {};
|
|
336
|
+
function w(e, t) {
|
|
337
|
+
var r2, o2 = e.type, n2 = true;
|
|
338
|
+
return e.__c ? (n2 = false, (r2 = e.__c).state = r2.__s) : r2 = new o2(e.props, t), e.__c = r2, r2.__v = e, r2.props = e.props, r2.context = t, r2.__d = true, null == r2.state && (r2.state = k), null == r2.__s && (r2.__s = r2.state), o2.getDerivedStateFromProps ? r2.state = y({}, 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 && h(e), r2.render(r2.props, r2.state, t);
|
|
339
|
+
}
|
|
340
|
+
function C(t, l2, c2, p2, u2) {
|
|
341
|
+
if (null == t || true === t || false === t || "" === t)
|
|
342
|
+
return "";
|
|
343
|
+
if ("object" != typeof t)
|
|
344
|
+
return "function" == typeof t ? "" : s(t + "");
|
|
345
|
+
if (g(t)) {
|
|
346
|
+
var v2 = "";
|
|
347
|
+
u2.__k = t;
|
|
348
|
+
for (var b2 = 0; b2 < t.length; b2++) {
|
|
349
|
+
var k2 = t[b2];
|
|
350
|
+
null != k2 && "boolean" != typeof k2 && (v2 += C(k2, l2, c2, p2, u2));
|
|
351
|
+
}
|
|
352
|
+
return v2;
|
|
353
|
+
}
|
|
354
|
+
if (void 0 !== t.constructor)
|
|
355
|
+
return "";
|
|
356
|
+
t.__ = u2, _ && _(t);
|
|
357
|
+
var A2, L2, D2, E = t.type, T2 = t.props, Z = l2;
|
|
358
|
+
if ("function" == typeof E) {
|
|
359
|
+
if (E === g$1) {
|
|
360
|
+
if (T2.tpl) {
|
|
361
|
+
for (var F = "", U = 0; U < T2.tpl.length; U++)
|
|
362
|
+
if (F += T2.tpl[U], T2.exprs && U < T2.exprs.length) {
|
|
363
|
+
var W = T2.exprs[U];
|
|
364
|
+
if (null == W)
|
|
365
|
+
continue;
|
|
366
|
+
"object" != typeof W || void 0 !== W.constructor && !g(W) ? F += W : F += C(W, l2, c2, p2, t);
|
|
367
|
+
}
|
|
368
|
+
return F;
|
|
369
|
+
}
|
|
370
|
+
if (T2.UNSTABLE_comment)
|
|
371
|
+
return "<!--" + s(T2.UNSTABLE_comment || "") + "-->";
|
|
372
|
+
L2 = T2.children;
|
|
373
|
+
} else {
|
|
374
|
+
if (null != (A2 = E.contextType)) {
|
|
375
|
+
var $ = l2[A2.__c];
|
|
376
|
+
Z = $ ? $.props.value : A2.__;
|
|
377
|
+
}
|
|
378
|
+
if (E.prototype && "function" == typeof E.prototype.render)
|
|
379
|
+
L2 = w(t, Z), D2 = t.__c;
|
|
380
|
+
else {
|
|
381
|
+
t.__c = D2 = { __v: t, props: T2, context: Z, setState: x, forceUpdate: x, __d: true, __h: [] };
|
|
382
|
+
for (var j2 = 0; D2.__d && j2++ < 25; )
|
|
383
|
+
D2.__d = false, h && h(t), L2 = E.call(D2, T2, Z);
|
|
384
|
+
D2.__d = true;
|
|
385
|
+
}
|
|
386
|
+
if (null != D2.getChildContext && (l2 = y({}, l2, D2.getChildContext())), (E.getDerivedStateFromError || D2.componentDidCatch) && l$1.errorBoundaries) {
|
|
387
|
+
var M2 = "";
|
|
388
|
+
L2 = null != L2 && L2.type === g$1 && null == L2.key ? L2.props.children : L2;
|
|
389
|
+
try {
|
|
390
|
+
return M2 = C(L2, l2, c2, p2, t);
|
|
391
|
+
} catch (e) {
|
|
392
|
+
return E.getDerivedStateFromError && (D2.__s = E.getDerivedStateFromError(e)), D2.componentDidCatch && D2.componentDidCatch(e, {}), D2.__d && (L2 = w(t, l2), null != (D2 = t.__c).getChildContext && (l2 = y({}, l2, D2.getChildContext())), M2 = C(L2 = null != L2 && L2.type === g$1 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t)), M2;
|
|
393
|
+
} finally {
|
|
394
|
+
d && d(t), t.__ = void 0, m && m(t);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
var z2 = C(L2 = null != L2 && L2.type === g$1 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t);
|
|
399
|
+
return d && d(t), t.__ = void 0, m && m(t), z2;
|
|
400
|
+
}
|
|
401
|
+
var H2, q2 = "<" + E, B = "";
|
|
402
|
+
for (var I2 in T2) {
|
|
403
|
+
var N2 = T2[I2];
|
|
404
|
+
switch (I2) {
|
|
405
|
+
case "children":
|
|
406
|
+
H2 = N2;
|
|
407
|
+
continue;
|
|
408
|
+
case "key":
|
|
409
|
+
case "ref":
|
|
410
|
+
case "__self":
|
|
411
|
+
case "__source":
|
|
412
|
+
continue;
|
|
413
|
+
case "htmlFor":
|
|
414
|
+
if ("for" in T2)
|
|
415
|
+
continue;
|
|
416
|
+
I2 = "for";
|
|
417
|
+
break;
|
|
418
|
+
case "className":
|
|
419
|
+
if ("class" in T2)
|
|
420
|
+
continue;
|
|
421
|
+
I2 = "class";
|
|
422
|
+
break;
|
|
423
|
+
case "defaultChecked":
|
|
424
|
+
I2 = "checked";
|
|
425
|
+
break;
|
|
426
|
+
case "defaultSelected":
|
|
427
|
+
I2 = "selected";
|
|
428
|
+
break;
|
|
429
|
+
case "defaultValue":
|
|
430
|
+
case "value":
|
|
431
|
+
switch (I2 = "value", E) {
|
|
432
|
+
case "textarea":
|
|
433
|
+
H2 = N2;
|
|
434
|
+
continue;
|
|
435
|
+
case "select":
|
|
436
|
+
p2 = N2;
|
|
437
|
+
continue;
|
|
438
|
+
case "option":
|
|
439
|
+
p2 != N2 || "selected" in T2 || (q2 += " selected");
|
|
440
|
+
}
|
|
441
|
+
break;
|
|
442
|
+
case "dangerouslySetInnerHTML":
|
|
443
|
+
B = N2 && N2.__html;
|
|
444
|
+
continue;
|
|
445
|
+
case "style":
|
|
446
|
+
"object" == typeof N2 && (N2 = f$1(N2));
|
|
447
|
+
break;
|
|
448
|
+
case "acceptCharset":
|
|
449
|
+
I2 = "accept-charset";
|
|
450
|
+
break;
|
|
451
|
+
case "httpEquiv":
|
|
452
|
+
I2 = "http-equiv";
|
|
453
|
+
break;
|
|
454
|
+
default:
|
|
455
|
+
if (n.test(I2))
|
|
456
|
+
I2 = I2.replace(n, "$1:$2").toLowerCase();
|
|
457
|
+
else {
|
|
458
|
+
if (o.test(I2))
|
|
459
|
+
continue;
|
|
460
|
+
"-" !== I2[4] && "draggable" !== I2 || null == N2 ? c2 ? i.test(I2) && (I2 = "panose1" === I2 ? "panose-1" : I2.replace(/([A-Z])/g, "-$1").toLowerCase()) : a.test(I2) && (I2 = I2.toLowerCase()) : N2 += "";
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
null != N2 && false !== N2 && "function" != typeof N2 && (q2 = true === N2 || "" === N2 ? q2 + " " + I2 : q2 + " " + I2 + '="' + s(N2 + "") + '"');
|
|
464
|
+
}
|
|
465
|
+
if (o.test(E))
|
|
466
|
+
throw new Error(E + " is not a valid HTML tag name in " + q2 + ">");
|
|
467
|
+
return B || ("string" == typeof H2 ? B = s(H2) : null != H2 && false !== H2 && true !== H2 && (B = C(H2, l2, "svg" === E || "foreignObject" !== E && c2, p2, t))), d && d(t), t.__ = void 0, m && m(t), !B && S.has(E) ? q2 + "/>" : q2 + ">" + B + "</" + E + ">";
|
|
468
|
+
}
|
|
469
|
+
var S = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
|
|
470
|
+
var f = 0;
|
|
471
|
+
function u(e, t, n2, o2, i2, u2) {
|
|
472
|
+
var a2, c2, p2 = {};
|
|
473
|
+
for (c2 in t)
|
|
474
|
+
"ref" == c2 ? a2 = t[c2] : p2[c2] = t[c2];
|
|
475
|
+
var l2 = { type: e, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f, __i: -1, __u: 0, __source: i2, __self: u2 };
|
|
476
|
+
if ("function" == typeof e && (a2 = e.defaultProps))
|
|
477
|
+
for (c2 in a2)
|
|
478
|
+
void 0 === p2[c2] && (p2[c2] = a2[c2]);
|
|
479
|
+
return l$1.vnode && l$1.vnode(l2), l2;
|
|
480
|
+
}
|
|
481
|
+
const icons = {
|
|
482
|
+
default: u(g$1, {})
|
|
483
|
+
};
|
|
484
|
+
const IconSpritesheet = ({
|
|
485
|
+
theme
|
|
486
|
+
}) => {
|
|
487
|
+
return u("svg", {
|
|
488
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
489
|
+
style: {
|
|
490
|
+
display: "none"
|
|
491
|
+
},
|
|
492
|
+
children: u("defs", {
|
|
493
|
+
children: Object.entries(icons).map(([name, icon]) => u("symbol", {
|
|
494
|
+
id: `i-icon-${name}`,
|
|
495
|
+
children: u("g", {
|
|
496
|
+
fill: "none",
|
|
497
|
+
"stroke-width": theme.mode === "dark" ? "1" : "1.5",
|
|
498
|
+
"stroke-linecap": "round",
|
|
499
|
+
"stroke-linejoin": "round",
|
|
500
|
+
stroke: "currentColor",
|
|
501
|
+
children: icon
|
|
502
|
+
})
|
|
503
|
+
}))
|
|
504
|
+
})
|
|
505
|
+
});
|
|
506
|
+
};
|
|
507
|
+
const JobAlerts = () => {
|
|
508
|
+
return u("div", {
|
|
509
|
+
children: "Job Alerts"
|
|
510
|
+
});
|
|
511
|
+
};
|
|
512
|
+
const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
|
|
513
|
+
const tailwind = "#ija {\n font-size: 16px;\n --tw-content: '';\n}\n\n #ija * {\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 #ija ::before,\n #ija ::after {\n box-sizing: border-box;\n }\n\n #ija :is(a) {\n text-decoration: none;\n }\n\n #ija :is(ul, ol) {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #ija :is(p) {\n margin: 0;\n padding: 0;\n }\n\n #ija :is(li) {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n #ija :is(button),\n #ija :is(a) {\n display: block;\n margin: 0;\n padding: 0;\n border: unset;\n background: unset;\n text-align: unset;\n }\n\n #ija :is(input),\n #ija :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 #ija :is(svg) {\n display: block;\n }\n\n @media (prefers-reduced-motion) {\n #ija * {\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 #ija *, #ija ::before, #ija ::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 #ija ::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 #ija .container {\n width: 100%;\n}\n\n @media (min-width: 640px) {\n\n #ija .container {\n max-width: 640px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ija .container {\n max-width: 768px;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ija .container {\n max-width: 1024px;\n }\n}\n\n @media (min-width: 1280px) {\n\n #ija .container {\n max-width: 1280px;\n }\n}\n\n @media (min-width: 1536px) {\n\n #ija .container {\n max-width: 1536px;\n }\n}\n\n #ija .visible {\n visibility: visible;\n}\n\n #ija .invisible {\n visibility: hidden;\n}\n\n #ija .collapse {\n visibility: collapse;\n}\n\n #ija .static {\n position: static;\n}\n\n #ija .fixed {\n position: fixed;\n}\n\n #ija .absolute {\n position: absolute;\n}\n\n #ija .relative {\n position: relative;\n}\n\n #ija .sticky {\n position: sticky;\n}\n\n #ija .isolate {\n isolation: isolate;\n}\n\n #ija .block {\n display: block;\n}\n\n #ija .inline-block {\n display: inline-block;\n}\n\n #ija .inline {\n display: inline;\n}\n\n #ija .flex {\n display: flex;\n}\n\n #ija .inline-flex {\n display: inline-flex;\n}\n\n #ija .table {\n display: table;\n}\n\n #ija .table-row {\n display: table-row;\n}\n\n #ija .flow-root {\n display: flow-root;\n}\n\n #ija .grid {\n display: grid;\n}\n\n #ija .inline-grid {\n display: inline-grid;\n}\n\n #ija .contents {\n display: contents;\n}\n\n #ija .list-item {\n display: list-item;\n}\n\n #ija .\\!hidden {\n display: none !important;\n}\n\n #ija .hidden {\n display: none;\n}\n\n #ija .flex-shrink {\n flex-shrink: 1;\n}\n\n #ija .shrink {\n flex-shrink: 1;\n}\n\n #ija .flex-grow {\n flex-grow: 1;\n}\n\n #ija .grow {\n flex-grow: 1;\n}\n\n #ija .border-collapse {\n border-collapse: collapse;\n}\n\n #ija .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 #ija .resize {\n resize: both;\n}\n\n #ija .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ija .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ija .rounded {\n border-radius: 0.25rem;\n}\n\n #ija .border {\n border-width: 1px;\n}\n\n #ija .text-justify {\n text-align: justify;\n}\n\n #ija .uppercase {\n text-transform: uppercase;\n}\n\n #ija .lowercase {\n text-transform: lowercase;\n}\n\n #ija .capitalize {\n text-transform: capitalize;\n}\n\n #ija .italic {\n font-style: italic;\n}\n\n #ija .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 #ija .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 #ija .outline {\n outline-style: solid;\n}\n\n #ija .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 #ija .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 #ija .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 #ija .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 #ija .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 #ija .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 #ija .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 #ija .fr {\n outline: none;\n}\n\n #ija .fr:focus {\n outline: none;\n}\n\n #ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n";
|
|
514
|
+
const createJobAlertsDomManager = () => {
|
|
515
|
+
return {
|
|
516
|
+
getRenderTargetElement: () => {
|
|
517
|
+
const element = document.body.querySelector(`#${JOB_ALERTS_ELEMENT_ID}`);
|
|
518
|
+
invariant(element, `Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
|
|
519
|
+
return element;
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
const dom = createJobAlertsDomManager();
|
|
524
|
+
const jobAlertsPlugin = () => sdk.createPlugin(({
|
|
525
|
+
apiClient: _2,
|
|
526
|
+
logger: __,
|
|
527
|
+
analytics: ___
|
|
528
|
+
}) => {
|
|
529
|
+
const App = ({
|
|
530
|
+
params
|
|
531
|
+
}) => {
|
|
532
|
+
return y$1(g$1, {}, [[y$1("style", {
|
|
533
|
+
id: "inploi-job-alerts-styles"
|
|
534
|
+
}, tailwind)], y$1(IconSpritesheet, {
|
|
535
|
+
theme: params.theme
|
|
536
|
+
}), y$1(JobAlerts, {})]);
|
|
537
|
+
};
|
|
538
|
+
return {
|
|
539
|
+
/** Returns a string with the initial rendering state of the UI.
|
|
540
|
+
* Useful when server-side rendering to avoid CLS.
|
|
541
|
+
*/
|
|
542
|
+
prerender: async (params) => {
|
|
543
|
+
return {
|
|
544
|
+
html: b(y$1(g$1, {}, y$1(App, {
|
|
545
|
+
params
|
|
546
|
+
})))
|
|
547
|
+
};
|
|
548
|
+
},
|
|
549
|
+
/** Renders the Job Alerts Plugin inside the container element. */
|
|
550
|
+
render: async (params) => {
|
|
551
|
+
invariant(typeof window !== "undefined", "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");
|
|
552
|
+
q(y$1(App, {
|
|
553
|
+
params
|
|
554
|
+
}), dom.getRenderTargetElement());
|
|
555
|
+
}
|
|
556
|
+
};
|
|
557
|
+
});
|
|
558
|
+
exports.createJobAlertsDomManager = createJobAlertsDomManager;
|
|
559
|
+
exports.jobAlertsPlugin = jobAlertsPlugin;
|