@inploi/plugin-job-alerts 5.2.1 → 5.3.1
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/README.md +2 -2
- package/cdn/index.js +10 -11
- package/dist/index.d.ts +104 -1
- package/dist/plugin-job-alerts.cjs +304 -541
- package/dist/plugin-job-alerts.js +305 -542
- package/package.json +10 -9
- package/dist/index.cdn.d.ts +0 -9
- package/dist/job-alerts.constants.d.ts +0 -6
- package/dist/job-alerts.d.ts +0 -66
- package/dist/job-alerts.dev.d.ts +0 -1
- package/dist/job-alerts.terms.d.ts +0 -18
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) =>
|
|
4
|
-
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
7
|
-
import { saveSearchEndpoint, JOB_ALERT_FREQUENCIES, createPlugin } from "@inploi/sdk";
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
+
import { JOB_ALERT_FREQUENCIES, saveSearchEndpoint, createPlugin } from "@inploi/sdk";
|
|
8
5
|
function invariant(condition, message) {
|
|
9
6
|
if (condition) {
|
|
10
7
|
return;
|
|
@@ -13,8 +10,7 @@ function invariant(condition, message) {
|
|
|
13
10
|
}
|
|
14
11
|
var n, l$4, u$4, t$2, i$3, r$3, o$3, e$2, f$4, c$3, s$4, a$3, h$4, p$4 = {}, v$3 = [], y$3 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, d$4 = Array.isArray;
|
|
15
12
|
function w$4(n2, l2) {
|
|
16
|
-
for (var u2 in l2)
|
|
17
|
-
n2[u2] = l2[u2];
|
|
13
|
+
for (var u2 in l2) n2[u2] = l2[u2];
|
|
18
14
|
return n2;
|
|
19
15
|
}
|
|
20
16
|
function g$4(n2) {
|
|
@@ -22,11 +18,8 @@ function g$4(n2) {
|
|
|
22
18
|
}
|
|
23
19
|
function _$3(l2, u2, t2) {
|
|
24
20
|
var i2, r2, o2, e2 = {};
|
|
25
|
-
for (o2 in u2)
|
|
26
|
-
|
|
27
|
-
if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
|
|
28
|
-
for (o2 in l2.defaultProps)
|
|
29
|
-
void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
|
|
21
|
+
for (o2 in u2) "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
|
|
22
|
+
if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps) for (o2 in l2.defaultProps) void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
|
|
30
23
|
return m$2(l2, e2, i2, r2, null);
|
|
31
24
|
}
|
|
32
25
|
function m$2(n2, t2, i2, r2, o2) {
|
|
@@ -43,11 +36,8 @@ function x$3(n2, l2) {
|
|
|
43
36
|
this.props = n2, this.context = l2;
|
|
44
37
|
}
|
|
45
38
|
function S(n2, l2) {
|
|
46
|
-
if (null == l2)
|
|
47
|
-
|
|
48
|
-
for (var u2; l2 < n2.__k.length; l2++)
|
|
49
|
-
if (null != (u2 = n2.__k[l2]) && null != u2.__e)
|
|
50
|
-
return u2.__e;
|
|
39
|
+
if (null == l2) return n2.__ ? S(n2.__, n2.__i + 1) : null;
|
|
40
|
+
for (var u2; l2 < n2.__k.length; l2++) if (null != (u2 = n2.__k[l2]) && null != u2.__e) return u2.__e;
|
|
51
41
|
return "function" == typeof n2.type ? S(n2) : null;
|
|
52
42
|
}
|
|
53
43
|
function C$3(n2) {
|
|
@@ -57,40 +47,32 @@ function C$3(n2) {
|
|
|
57
47
|
}
|
|
58
48
|
}
|
|
59
49
|
function M$2(n2) {
|
|
60
|
-
if (null != (n2 = n2.__) && null != n2.__c)
|
|
61
|
-
return n2.__e = n2.__c.base =
|
|
62
|
-
|
|
63
|
-
return n2.__e = n2.__c.base = l2.__e;
|
|
64
|
-
}), M$2(n2);
|
|
50
|
+
if (null != (n2 = n2.__) && null != n2.__c) return n2.__e = n2.__c.base = null, n2.__k.some(function(l2) {
|
|
51
|
+
if (null != l2 && null != l2.__e) return n2.__e = n2.__c.base = l2.__e;
|
|
52
|
+
}), M$2(n2);
|
|
65
53
|
}
|
|
66
54
|
function $$2(n2) {
|
|
67
55
|
(!n2.__d && (n2.__d = true) && i$3.push(n2) && !I$2.__r++ || r$3 != l$4.debounceRendering) && ((r$3 = l$4.debounceRendering) || o$3)(I$2);
|
|
68
56
|
}
|
|
69
57
|
function I$2() {
|
|
70
|
-
for (var n2, l2 = 1; i$3.length; )
|
|
71
|
-
i$3.length > l2 && i$3.sort(e$2), n2 = i$3.shift(), l2 = i$3.length, C$3(n2);
|
|
58
|
+
for (var n2, l2 = 1; i$3.length; ) i$3.length > l2 && i$3.sort(e$2), n2 = i$3.shift(), l2 = i$3.length, C$3(n2);
|
|
72
59
|
I$2.__r = 0;
|
|
73
60
|
}
|
|
74
61
|
function P$3(n2, l2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
75
62
|
var a2, h2, y2, d2, w2, g2, _2, m2 = t2 && t2.__k || v$3, b2 = l2.length;
|
|
76
|
-
for (f2 = A$3(u2, l2, m2, f2, b2), a2 = 0; a2 < b2; a2++)
|
|
77
|
-
null != (y2 = u2.__k[a2]) && (h2 = -1 != y2.__i && m2[y2.__i] || p$4, y2.__i = a2, g2 = z$3(n2, y2, h2, i2, r2, o2, e2, f2, c2, s2), d2 = y2.__e, y2.ref && h2.ref != y2.ref && (h2.ref && D$3(h2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), (_2 = !!(4 & y2.__u)) || h2.__k === y2.__k ? f2 = H$2(y2, f2, n2, _2) : "function" == typeof y2.type && void 0 !== g2 ? f2 = g2 : d2 && (f2 = d2.nextSibling), y2.__u &= -7);
|
|
63
|
+
for (f2 = A$3(u2, l2, m2, f2, b2), a2 = 0; a2 < b2; a2++) null != (y2 = u2.__k[a2]) && (h2 = -1 != y2.__i && m2[y2.__i] || p$4, y2.__i = a2, g2 = z$3(n2, y2, h2, i2, r2, o2, e2, f2, c2, s2), d2 = y2.__e, y2.ref && h2.ref != y2.ref && (h2.ref && D$3(h2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), (_2 = !!(4 & y2.__u)) || h2.__k === y2.__k ? f2 = H$2(y2, f2, n2, _2) : "function" == typeof y2.type && void 0 !== g2 ? f2 = g2 : d2 && (f2 = d2.nextSibling), y2.__u &= -7);
|
|
78
64
|
return u2.__e = w2, f2;
|
|
79
65
|
}
|
|
80
66
|
function A$3(n2, l2, u2, t2, i2) {
|
|
81
67
|
var r2, o2, e2, f2, c2, s2 = u2.length, a2 = s2, h2 = 0;
|
|
82
|
-
for (n2.__k = new Array(i2), r2 = 0; r2 < i2; r2++)
|
|
83
|
-
|
|
84
|
-
if (a2)
|
|
85
|
-
for (r2 = 0; r2 < s2; r2++)
|
|
86
|
-
null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), E$2(e2, e2));
|
|
68
|
+
for (n2.__k = new Array(i2), r2 = 0; r2 < i2; r2++) null != (o2 = l2[r2]) && "boolean" != typeof o2 && "function" != typeof o2 ? ("string" == typeof o2 || "number" == typeof o2 || "bigint" == typeof o2 || o2.constructor == String ? o2 = n2.__k[r2] = m$2(null, o2, null, null, null) : d$4(o2) ? o2 = n2.__k[r2] = m$2(k$3, { children: o2 }, null, null, null) : void 0 === o2.constructor && o2.__b > 0 ? o2 = n2.__k[r2] = m$2(o2.type, o2.props, o2.key, o2.ref ? o2.ref : null, o2.__v) : n2.__k[r2] = o2, f2 = r2 + h2, o2.__ = n2, o2.__b = n2.__b + 1, e2 = null, -1 != (c2 = o2.__i = T$2(o2, u2, f2, a2)) && (a2--, (e2 = u2[c2]) && (e2.__u |= 2)), null == e2 || null == e2.__v ? (-1 == c2 && (i2 > s2 ? h2-- : i2 < s2 && h2++), "function" != typeof o2.type && (o2.__u |= 4)) : c2 != f2 && (c2 == f2 - 1 ? h2-- : c2 == f2 + 1 ? h2++ : (c2 > f2 ? h2-- : h2++, o2.__u |= 4))) : n2.__k[r2] = null;
|
|
69
|
+
if (a2) for (r2 = 0; r2 < s2; r2++) null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), E$2(e2, e2));
|
|
87
70
|
return t2;
|
|
88
71
|
}
|
|
89
72
|
function H$2(n2, l2, u2, t2) {
|
|
90
73
|
var i2, r2;
|
|
91
74
|
if ("function" == typeof n2.type) {
|
|
92
|
-
for (i2 = n2.__k, r2 = 0; i2 && r2 < i2.length; r2++)
|
|
93
|
-
i2[r2] && (i2[r2].__ = n2, l2 = H$2(i2[r2], l2, u2, t2));
|
|
75
|
+
for (i2 = n2.__k, r2 = 0; i2 && r2 < i2.length; r2++) i2[r2] && (i2[r2].__ = n2, l2 = H$2(i2[r2], l2, u2, t2));
|
|
94
76
|
return l2;
|
|
95
77
|
}
|
|
96
78
|
n2.__e != l2 && (t2 && (l2 && n2.type && !l2.parentNode && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null)), l2 = n2.__e);
|
|
@@ -106,12 +88,9 @@ function L$1(n2, l2) {
|
|
|
106
88
|
}
|
|
107
89
|
function T$2(n2, l2, u2, t2) {
|
|
108
90
|
var i2, r2, o2, e2 = n2.key, f2 = n2.type, c2 = l2[u2], s2 = null != c2 && 0 == (2 & c2.__u);
|
|
109
|
-
if (null === c2 && null == e2 || s2 && e2 == c2.key && f2 == c2.type)
|
|
110
|
-
return u2;
|
|
91
|
+
if (null === c2 && null == e2 || s2 && e2 == c2.key && f2 == c2.type) return u2;
|
|
111
92
|
if (t2 > (s2 ? 1 : 0)) {
|
|
112
|
-
for (i2 = u2 - 1, r2 = u2 + 1; i2 >= 0 || r2 < l2.length; )
|
|
113
|
-
if (null != (c2 = l2[o2 = i2 >= 0 ? i2-- : r2++]) && 0 == (2 & c2.__u) && e2 == c2.key && f2 == c2.type)
|
|
114
|
-
return o2;
|
|
93
|
+
for (i2 = u2 - 1, r2 = u2 + 1; i2 >= 0 || r2 < l2.length; ) if (null != (c2 = l2[o2 = i2 >= 0 ? i2-- : r2++]) && 0 == (2 & c2.__u) && e2 == c2.key && f2 == c2.type) return o2;
|
|
115
94
|
}
|
|
116
95
|
return -1;
|
|
117
96
|
}
|
|
@@ -120,97 +99,73 @@ function j$2(n2, l2, u2) {
|
|
|
120
99
|
}
|
|
121
100
|
function F$3(n2, l2, u2, t2, i2) {
|
|
122
101
|
var r2, o2;
|
|
123
|
-
n:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
else if ("o" == l2[0] && "n" == l2[1])
|
|
136
|
-
r2 = l2 != (l2 = l2.replace(f$4, "$1")), o2 = l2.toLowerCase(), l2 = o2 in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? o2.slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c$3, n2.addEventListener(l2, r2 ? a$3 : s$4, r2)) : n2.removeEventListener(l2, r2 ? a$3 : s$4, r2);
|
|
137
|
-
else {
|
|
138
|
-
if ("http://www.w3.org/2000/svg" == i2)
|
|
139
|
-
l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
140
|
-
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)
|
|
141
|
-
try {
|
|
142
|
-
n2[l2] = null == u2 ? "" : u2;
|
|
143
|
-
break n;
|
|
144
|
-
} catch (n3) {
|
|
145
|
-
}
|
|
146
|
-
"function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
|
|
102
|
+
n: if ("style" == l2) if ("string" == typeof u2) n2.style.cssText = u2;
|
|
103
|
+
else {
|
|
104
|
+
if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2) for (l2 in t2) u2 && l2 in u2 || j$2(n2.style, l2, "");
|
|
105
|
+
if (u2) for (l2 in u2) t2 && u2[l2] == t2[l2] || j$2(n2.style, l2, u2[l2]);
|
|
106
|
+
}
|
|
107
|
+
else if ("o" == l2[0] && "n" == l2[1]) r2 = l2 != (l2 = l2.replace(f$4, "$1")), o2 = l2.toLowerCase(), l2 = o2 in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? o2.slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c$3, n2.addEventListener(l2, r2 ? a$3 : s$4, r2)) : n2.removeEventListener(l2, r2 ? a$3 : s$4, r2);
|
|
108
|
+
else {
|
|
109
|
+
if ("http://www.w3.org/2000/svg" == i2) l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
110
|
+
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) try {
|
|
111
|
+
n2[l2] = null == u2 ? "" : u2;
|
|
112
|
+
break n;
|
|
113
|
+
} catch (n3) {
|
|
147
114
|
}
|
|
115
|
+
"function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
|
|
116
|
+
}
|
|
148
117
|
}
|
|
149
118
|
function O$2(n2) {
|
|
150
119
|
return function(u2) {
|
|
151
120
|
if (this.l) {
|
|
152
121
|
var t2 = this.l[u2.type + n2];
|
|
153
|
-
if (null == u2.t)
|
|
154
|
-
|
|
155
|
-
else if (u2.t < t2.u)
|
|
156
|
-
return;
|
|
122
|
+
if (null == u2.t) u2.t = c$3++;
|
|
123
|
+
else if (u2.t < t2.u) return;
|
|
157
124
|
return t2(l$4.event ? l$4.event(u2) : u2);
|
|
158
125
|
}
|
|
159
126
|
};
|
|
160
127
|
}
|
|
161
128
|
function z$3(n2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
162
129
|
var a2, h2, p2, y2, _2, m2, b2, S2, C2, M2, $2, I2, A2, H2, L2, T2 = u2.type;
|
|
163
|
-
if (void 0 !== u2.constructor)
|
|
164
|
-
return null;
|
|
130
|
+
if (void 0 !== u2.constructor) return null;
|
|
165
131
|
128 & t2.__u && (c2 = !!(32 & t2.__u), o2 = [f2 = u2.__e = t2.__e]), (a2 = l$4.__b) && a2(u2);
|
|
166
|
-
n:
|
|
167
|
-
if ("
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
for (L2 = o2.length; L2--; )
|
|
197
|
-
g$4(o2[L2]);
|
|
198
|
-
N$2(u2);
|
|
199
|
-
}
|
|
200
|
-
else
|
|
201
|
-
u2.__e = t2.__e, u2.__k = t2.__k, n3.then || N$2(u2);
|
|
202
|
-
l$4.__e(n3, u2, t2);
|
|
203
|
-
}
|
|
204
|
-
else
|
|
205
|
-
null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = B$3(t2.__e, u2, t2, i2, r2, o2, e2, c2, s2);
|
|
132
|
+
n: if ("function" == typeof T2) try {
|
|
133
|
+
if (S2 = u2.props, C2 = "prototype" in T2 && T2.prototype.render, M2 = (a2 = T2.contextType) && i2[a2.__c], $2 = a2 ? M2 ? M2.props.value : a2.__ : i2, t2.__c ? b2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (C2 ? u2.__c = h2 = new T2(S2, $2) : (u2.__c = h2 = new x$3(S2, $2), h2.constructor = T2, h2.render = G$2), M2 && M2.sub(h2), h2.state || (h2.state = {}), h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), C2 && null == h2.__s && (h2.__s = h2.state), C2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = w$4({}, h2.__s)), w$4(h2.__s, T2.getDerivedStateFromProps(S2, h2.__s))), y2 = h2.props, _2 = h2.state, h2.__v = u2, p2) C2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), C2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
|
|
134
|
+
else {
|
|
135
|
+
if (C2 && null == T2.getDerivedStateFromProps && S2 !== y2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(S2, $2), u2.__v == t2.__v || !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(S2, h2.__s, $2)) {
|
|
136
|
+
u2.__v != t2.__v && (h2.props = S2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
|
|
137
|
+
n3 && (n3.__ = u2);
|
|
138
|
+
}), v$3.push.apply(h2.__h, h2._sb), h2._sb = [], h2.__h.length && e2.push(h2);
|
|
139
|
+
break n;
|
|
140
|
+
}
|
|
141
|
+
null != h2.componentWillUpdate && h2.componentWillUpdate(S2, h2.__s, $2), C2 && null != h2.componentDidUpdate && h2.__h.push(function() {
|
|
142
|
+
h2.componentDidUpdate(y2, _2, m2);
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
if (h2.context = $2, h2.props = S2, h2.__P = n2, h2.__e = false, I2 = l$4.__r, A2 = 0, C2) h2.state = h2.__s, h2.__d = false, I2 && I2(u2), a2 = h2.render(h2.props, h2.state, h2.context), v$3.push.apply(h2.__h, h2._sb), h2._sb = [];
|
|
146
|
+
else do {
|
|
147
|
+
h2.__d = false, I2 && I2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
|
|
148
|
+
} while (h2.__d && ++A2 < 25);
|
|
149
|
+
h2.state = h2.__s, null != h2.getChildContext && (i2 = w$4(w$4({}, i2), h2.getChildContext())), C2 && !p2 && null != h2.getSnapshotBeforeUpdate && (m2 = h2.getSnapshotBeforeUpdate(y2, _2)), H2 = null != a2 && a2.type === k$3 && null == a2.key ? q$3(a2.props.children) : a2, f2 = P$3(n2, d$4(H2) ? H2 : [H2], u2, t2, i2, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), b2 && (h2.__E = h2.__ = null);
|
|
150
|
+
} catch (n3) {
|
|
151
|
+
if (u2.__v = null, c2 || null != o2) if (n3.then) {
|
|
152
|
+
for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; ) f2 = f2.nextSibling;
|
|
153
|
+
o2[o2.indexOf(f2)] = null, u2.__e = f2;
|
|
154
|
+
} else {
|
|
155
|
+
for (L2 = o2.length; L2--; ) g$4(o2[L2]);
|
|
156
|
+
N$2(u2);
|
|
157
|
+
}
|
|
158
|
+
else u2.__e = t2.__e, u2.__k = t2.__k, n3.then || N$2(u2);
|
|
159
|
+
l$4.__e(n3, u2, t2);
|
|
160
|
+
}
|
|
161
|
+
else null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = B$3(t2.__e, u2, t2, i2, r2, o2, e2, c2, s2);
|
|
206
162
|
return (a2 = l$4.diffed) && a2(u2), 128 & u2.__u ? void 0 : f2;
|
|
207
163
|
}
|
|
208
164
|
function N$2(n2) {
|
|
209
165
|
n2 && (n2.__c && (n2.__c.__e = true), n2.__k && n2.__k.some(N$2));
|
|
210
166
|
}
|
|
211
167
|
function V$1(n2, u2, t2) {
|
|
212
|
-
for (var i2 = 0; i2 < t2.length; i2++)
|
|
213
|
-
D$3(t2[i2], t2[++i2], t2[++i2]);
|
|
168
|
+
for (var i2 = 0; i2 < t2.length; i2++) D$3(t2[i2], t2[++i2], t2[++i2]);
|
|
214
169
|
l$4.__c && l$4.__c(u2, n2), n2.some(function(u3) {
|
|
215
170
|
try {
|
|
216
171
|
n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
|
|
@@ -227,32 +182,22 @@ function q$3(n2) {
|
|
|
227
182
|
function B$3(u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
228
183
|
var a2, h2, v2, y2, w2, _2, m2, b2 = i2.props || p$4, k2 = t2.props, x2 = t2.type;
|
|
229
184
|
if ("svg" == x2 ? o2 = "http://www.w3.org/2000/svg" : "math" == x2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != e2) {
|
|
230
|
-
for (a2 = 0; a2 < e2.length; a2++)
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}
|
|
185
|
+
for (a2 = 0; a2 < e2.length; a2++) if ((w2 = e2[a2]) && "setAttribute" in w2 == !!x2 && (x2 ? w2.localName == x2 : 3 == w2.nodeType)) {
|
|
186
|
+
u2 = w2, e2[a2] = null;
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
235
189
|
}
|
|
236
190
|
if (null == u2) {
|
|
237
|
-
if (null == x2)
|
|
238
|
-
return document.createTextNode(k2);
|
|
191
|
+
if (null == x2) return document.createTextNode(k2);
|
|
239
192
|
u2 = document.createElementNS(o2, x2, k2.is && k2), c2 && (l$4.__m && l$4.__m(t2, e2), c2 = false), e2 = null;
|
|
240
193
|
}
|
|
241
|
-
if (null == x2)
|
|
242
|
-
b2 === k2 || c2 && u2.data == k2 || (u2.data = k2);
|
|
194
|
+
if (null == x2) b2 === k2 || c2 && u2.data == k2 || (u2.data = k2);
|
|
243
195
|
else {
|
|
244
|
-
if (e2 = e2 && n.call(u2.childNodes), !c2 && null != e2)
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
for (a2 in k2)
|
|
250
|
-
w2 = k2[a2], "children" == a2 ? y2 = w2 : "dangerouslySetInnerHTML" == a2 ? h2 = w2 : "value" == a2 ? _2 = w2 : "checked" == a2 ? m2 = w2 : c2 && "function" != typeof w2 || b2[a2] === w2 || F$3(u2, a2, w2, b2[a2], o2);
|
|
251
|
-
if (h2)
|
|
252
|
-
c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
|
|
253
|
-
else if (v2 && (u2.innerHTML = ""), P$3("template" == t2.type ? u2.content : u2, d$4(y2) ? y2 : [y2], t2, i2, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i2.__k && S(i2, 0), c2, s2), null != e2)
|
|
254
|
-
for (a2 = e2.length; a2--; )
|
|
255
|
-
g$4(e2[a2]);
|
|
196
|
+
if (e2 = e2 && n.call(u2.childNodes), !c2 && null != e2) for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++) b2[(w2 = u2.attributes[a2]).name] = w2.value;
|
|
197
|
+
for (a2 in b2) w2 = b2[a2], "dangerouslySetInnerHTML" == a2 ? v2 = w2 : "children" == a2 || a2 in k2 || "value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2 || F$3(u2, a2, null, w2, o2);
|
|
198
|
+
for (a2 in k2) w2 = k2[a2], "children" == a2 ? y2 = w2 : "dangerouslySetInnerHTML" == a2 ? h2 = w2 : "value" == a2 ? _2 = w2 : "checked" == a2 ? m2 = w2 : c2 && "function" != typeof w2 || b2[a2] === w2 || F$3(u2, a2, w2, b2[a2], o2);
|
|
199
|
+
if (h2) c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
|
|
200
|
+
else if (v2 && (u2.innerHTML = ""), P$3("template" == t2.type ? u2.content : u2, d$4(y2) ? y2 : [y2], t2, i2, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i2.__k && S(i2, 0), c2, s2), null != e2) for (a2 = e2.length; a2--; ) g$4(e2[a2]);
|
|
256
201
|
c2 || (a2 = "value", "progress" == x2 && null == _2 ? u2.removeAttribute("value") : null != _2 && (_2 !== u2[a2] || "progress" == x2 && !_2 || "option" == x2 && _2 != b2[a2]) && F$3(u2, a2, _2, b2[a2], o2), a2 = "checked", null != m2 && m2 != u2[a2] && F$3(u2, a2, m2, b2[a2], o2));
|
|
257
202
|
}
|
|
258
203
|
return u2;
|
|
@@ -262,8 +207,7 @@ function D$3(n2, u2, t2) {
|
|
|
262
207
|
if ("function" == typeof n2) {
|
|
263
208
|
var i2 = "function" == typeof n2.__u;
|
|
264
209
|
i2 && n2.__u(), i2 && null == u2 || (n2.__u = n2(u2));
|
|
265
|
-
} else
|
|
266
|
-
n2.current = u2;
|
|
210
|
+
} else n2.current = u2;
|
|
267
211
|
} catch (n3) {
|
|
268
212
|
l$4.__e(n3, t2);
|
|
269
213
|
}
|
|
@@ -271,17 +215,14 @@ function D$3(n2, u2, t2) {
|
|
|
271
215
|
function E$2(n2, u2, t2) {
|
|
272
216
|
var i2, r2;
|
|
273
217
|
if (l$4.unmount && l$4.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current != n2.__e || D$3(i2, null, u2)), null != (i2 = n2.__c)) {
|
|
274
|
-
if (i2.componentWillUnmount)
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
218
|
+
if (i2.componentWillUnmount) try {
|
|
219
|
+
i2.componentWillUnmount();
|
|
220
|
+
} catch (n3) {
|
|
221
|
+
l$4.__e(n3, u2);
|
|
222
|
+
}
|
|
280
223
|
i2.base = i2.__P = null;
|
|
281
224
|
}
|
|
282
|
-
if (i2 = n2.__k)
|
|
283
|
-
for (r2 = 0; r2 < i2.length; r2++)
|
|
284
|
-
i2[r2] && E$2(i2[r2], u2, t2 || "function" != typeof n2.type);
|
|
225
|
+
if (i2 = n2.__k) for (r2 = 0; r2 < i2.length; r2++) i2[r2] && E$2(i2[r2], u2, t2 || "function" != typeof n2.type);
|
|
285
226
|
t2 || g$4(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
|
|
286
227
|
}
|
|
287
228
|
function G$2(n2, l2, u2) {
|
|
@@ -296,8 +237,7 @@ function K$1(n2, l2) {
|
|
|
296
237
|
}
|
|
297
238
|
function Q$1(l2, u2, t2) {
|
|
298
239
|
var i2, r2, o2, e2, f2 = w$4({}, l2.props);
|
|
299
|
-
for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2)
|
|
300
|
-
"key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && null != e2 ? e2[o2] : u2[o2];
|
|
240
|
+
for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2) "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && null != e2 ? e2[o2] : u2[o2];
|
|
301
241
|
return arguments.length > 2 && (f2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), m$2(l2.type, f2, i2 || l2.key, r2 || l2.ref, null);
|
|
302
242
|
}
|
|
303
243
|
function R$2(n2) {
|
|
@@ -324,14 +264,11 @@ function R$2(n2) {
|
|
|
324
264
|
}).contextType = l2, l2;
|
|
325
265
|
}
|
|
326
266
|
n = v$3.slice, l$4 = { __e: function(n2, l2, u2, t2) {
|
|
327
|
-
for (var i2, r2, o2; l2 = l2.__; )
|
|
328
|
-
if ((i2 =
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
} catch (l3) {
|
|
333
|
-
n2 = l3;
|
|
334
|
-
}
|
|
267
|
+
for (var i2, r2, o2; l2 = l2.__; ) if ((i2 = l2.__c) && !i2.__) try {
|
|
268
|
+
if ((r2 = i2.constructor) && null != r2.getDerivedStateFromError && (i2.setState(r2.getDerivedStateFromError(n2)), o2 = i2.__d), null != i2.componentDidCatch && (i2.componentDidCatch(n2, t2 || {}), o2 = i2.__d), o2) return i2.__E = i2;
|
|
269
|
+
} catch (l3) {
|
|
270
|
+
n2 = l3;
|
|
271
|
+
}
|
|
335
272
|
throw n2;
|
|
336
273
|
} }, u$4 = 0, t$2 = function(n2) {
|
|
337
274
|
return null != n2 && void 0 === n2.constructor;
|
|
@@ -355,8 +292,7 @@ function y$2(e2) {
|
|
|
355
292
|
}
|
|
356
293
|
var _$2 = /["&<]/;
|
|
357
294
|
function g$3(e2) {
|
|
358
|
-
if (0 === e2.length || false === _$2.test(e2))
|
|
359
|
-
return e2;
|
|
295
|
+
if (0 === e2.length || false === _$2.test(e2)) return e2;
|
|
360
296
|
for (var t2 = 0, n2 = 0, r2 = "", o2 = ""; n2 < e2.length; n2++) {
|
|
361
297
|
switch (e2.charCodeAt(n2)) {
|
|
362
298
|
case 34:
|
|
@@ -403,8 +339,7 @@ function B$2(a2, u2, s2) {
|
|
|
403
339
|
var p2 = O$1(a2, u2 || F$2, false, void 0, f2, false, s2);
|
|
404
340
|
return W$1(p2) ? p2.join(H$1) : p2;
|
|
405
341
|
} catch (e2) {
|
|
406
|
-
if (e2.then)
|
|
407
|
-
throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
|
|
342
|
+
if (e2.then) throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
|
|
408
343
|
throw e2;
|
|
409
344
|
} finally {
|
|
410
345
|
l$4[o$2] && l$4[o$2](a2, M$1), l$4[i$2] = l2, M$1.length = 0;
|
|
@@ -415,11 +350,9 @@ function I$1(e2, t2) {
|
|
|
415
350
|
return e2[a$2] ? (o2 = false, (n2 = e2[a$2]).state = n2[s$3]) : n2 = new r2(e2.props, t2), e2[a$2] = n2, n2.__v = e2, n2.props = e2.props, n2.context = t2, v$2(n2), null == n2.state && (n2.state = F$2), null == n2[s$3] && (n2[s$3] = n2.state), r2.getDerivedStateFromProps ? n2.state = z$2({}, n2.state, r2.getDerivedStateFromProps(n2.props, n2.state)) : o2 && n2.componentWillMount ? (n2.componentWillMount(), n2.state = n2[s$3] !== n2.state ? n2[s$3] : n2.state) : !o2 && n2.componentWillUpdate && n2.componentWillUpdate(), $$1 && $$1(e2), n2.render(n2.props, n2.state, t2);
|
|
416
351
|
}
|
|
417
352
|
function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
418
|
-
if (null == t2 || true === t2 || false === t2 || t2 === H$1)
|
|
419
|
-
return H$1;
|
|
353
|
+
if (null == t2 || true === t2 || false === t2 || t2 === H$1) return H$1;
|
|
420
354
|
var x2 = typeof t2;
|
|
421
|
-
if ("object" != x2)
|
|
422
|
-
return "function" == x2 ? H$1 : "string" == x2 ? g$3(t2) : t2 + H$1;
|
|
355
|
+
if ("object" != x2) return "function" == x2 ? H$1 : "string" == x2 ? g$3(t2) : t2 + H$1;
|
|
423
356
|
if (W$1(t2)) {
|
|
424
357
|
var k2, C2 = H$1;
|
|
425
358
|
u2[c$2] = t2;
|
|
@@ -432,25 +365,21 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
432
365
|
}
|
|
433
366
|
return k2 ? (C2 && k2.push(C2), k2) : C2;
|
|
434
367
|
}
|
|
435
|
-
if (void 0 !== t2.constructor)
|
|
436
|
-
return H$1;
|
|
368
|
+
if (void 0 !== t2.constructor) return H$1;
|
|
437
369
|
t2.__ = u2, D$2 && D$2(t2);
|
|
438
370
|
var Z2 = t2.type, M2 = t2.props;
|
|
439
371
|
if ("function" == typeof Z2) {
|
|
440
372
|
var B2, V2, K2, J2 = r2;
|
|
441
373
|
if (Z2 === k$3) {
|
|
442
374
|
if ("tpl" in M2) {
|
|
443
|
-
for (var Q2 = H$1, X2 = 0; X2 < M2.tpl.length; X2++)
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"object" != typeof Y2 || void 0 !== Y2.constructor && !W$1(Y2) ? Q2 += Y2 : Q2 += O$1(Y2, r2, o2, i2, t2, _2, b2);
|
|
449
|
-
}
|
|
375
|
+
for (var Q2 = H$1, X2 = 0; X2 < M2.tpl.length; X2++) if (Q2 += M2.tpl[X2], M2.exprs && X2 < M2.exprs.length) {
|
|
376
|
+
var Y2 = M2.exprs[X2];
|
|
377
|
+
if (null == Y2) continue;
|
|
378
|
+
"object" != typeof Y2 || void 0 !== Y2.constructor && !W$1(Y2) ? Q2 += Y2 : Q2 += O$1(Y2, r2, o2, i2, t2, _2, b2);
|
|
379
|
+
}
|
|
450
380
|
return Q2;
|
|
451
381
|
}
|
|
452
|
-
if ("UNSTABLE_comment" in M2)
|
|
453
|
-
return "<!--" + g$3(M2.UNSTABLE_comment) + "-->";
|
|
382
|
+
if ("UNSTABLE_comment" in M2) return "<!--" + g$3(M2.UNSTABLE_comment) + "-->";
|
|
454
383
|
V2 = M2.children;
|
|
455
384
|
} else {
|
|
456
385
|
if (null != (B2 = Z2.contextType)) {
|
|
@@ -458,9 +387,8 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
458
387
|
J2 = ee ? ee.props.value : B2.__;
|
|
459
388
|
}
|
|
460
389
|
var te = Z2.prototype && "function" == typeof Z2.prototype.render;
|
|
461
|
-
if (te)
|
|
462
|
-
|
|
463
|
-
I$1(t2, J2), K2 = t2[a$2];
|
|
390
|
+
if (te) V2 = /**#__NOINLINE__**/
|
|
391
|
+
I$1(t2, J2), K2 = t2[a$2];
|
|
464
392
|
else {
|
|
465
393
|
t2[a$2] = K2 = /**#__NOINLINE__**/
|
|
466
394
|
A$2(t2, J2);
|
|
@@ -469,7 +397,7 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
469
397
|
try {
|
|
470
398
|
V2 = Z2.call(K2, M2, J2);
|
|
471
399
|
} catch (e2) {
|
|
472
|
-
throw
|
|
400
|
+
throw e2;
|
|
473
401
|
}
|
|
474
402
|
}
|
|
475
403
|
v$2(K2);
|
|
@@ -492,8 +420,8 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
492
420
|
return N$1 + e2 + q$2;
|
|
493
421
|
}) : re;
|
|
494
422
|
} catch (n2) {
|
|
495
|
-
if (
|
|
496
|
-
var oe = function e2(n3) {
|
|
423
|
+
if (b2 && b2.onError) {
|
|
424
|
+
var oe = (function e2(n3) {
|
|
497
425
|
return b2.onError(n3, t2, function(t3, n4) {
|
|
498
426
|
try {
|
|
499
427
|
return O$1(t3, r2, o2, i2, n4, _2, b2);
|
|
@@ -501,26 +429,12 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
501
429
|
return e2(t4);
|
|
502
430
|
}
|
|
503
431
|
});
|
|
504
|
-
}(n2);
|
|
505
|
-
if (void 0 !== oe)
|
|
506
|
-
return oe;
|
|
432
|
+
})(n2);
|
|
433
|
+
if (void 0 !== oe) return oe;
|
|
507
434
|
var ie = l$4.__e;
|
|
508
435
|
return ie && ie(n2, t2), H$1;
|
|
509
436
|
}
|
|
510
|
-
|
|
511
|
-
throw n2;
|
|
512
|
-
if (!n2 || "function" != typeof n2.then)
|
|
513
|
-
throw n2;
|
|
514
|
-
return n2.then(function e2() {
|
|
515
|
-
try {
|
|
516
|
-
var n3 = O$1(V2, r2, o2, i2, t2, _2, b2);
|
|
517
|
-
return t2._suspended ? N$1 + n3 + q$2 : n3;
|
|
518
|
-
} catch (t3) {
|
|
519
|
-
if (!t3 || "function" != typeof t3.then)
|
|
520
|
-
throw t3;
|
|
521
|
-
return t3.then(e2);
|
|
522
|
-
}
|
|
523
|
-
});
|
|
437
|
+
throw n2;
|
|
524
438
|
}
|
|
525
439
|
}
|
|
526
440
|
var ae, ce = "<" + Z2, ue = H$1;
|
|
@@ -537,13 +451,11 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
537
451
|
case "__source":
|
|
538
452
|
continue;
|
|
539
453
|
case "htmlFor":
|
|
540
|
-
if ("for" in M2)
|
|
541
|
-
continue;
|
|
454
|
+
if ("for" in M2) continue;
|
|
542
455
|
se = "for";
|
|
543
456
|
break;
|
|
544
457
|
case "className":
|
|
545
|
-
if ("class" in M2)
|
|
546
|
-
continue;
|
|
458
|
+
if ("class" in M2) continue;
|
|
547
459
|
se = "class";
|
|
548
460
|
break;
|
|
549
461
|
case "defaultChecked":
|
|
@@ -578,21 +490,17 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
578
490
|
se = "http-equiv";
|
|
579
491
|
break;
|
|
580
492
|
default:
|
|
581
|
-
if (f$3.test(se))
|
|
582
|
-
se = se.replace(f$3, "$1:$2").toLowerCase();
|
|
493
|
+
if (f$3.test(se)) se = se.replace(f$3, "$1:$2").toLowerCase();
|
|
583
494
|
else {
|
|
584
|
-
if (l$3.test(se))
|
|
585
|
-
continue;
|
|
495
|
+
if (l$3.test(se)) continue;
|
|
586
496
|
"-" !== se[4] && !d$3.has(se) || null == le ? o2 ? h$3.test(se) && (se = "panose1" === se ? "panose-1" : se.replace(/([A-Z])/g, "-$1").toLowerCase()) : p$3.test(se) && (se = se.toLowerCase()) : le += H$1;
|
|
587
497
|
}
|
|
588
498
|
}
|
|
589
499
|
null != le && false !== le && (ce = true === le || le === H$1 ? ce + " " + se : ce + " " + se + '="' + ("string" == typeof le ? g$3(le) : le + H$1) + '"');
|
|
590
500
|
}
|
|
591
501
|
}
|
|
592
|
-
if (l$3.test(Z2))
|
|
593
|
-
|
|
594
|
-
if (ue || ("string" == typeof ae ? ue = g$3(ae) : null != ae && false !== ae && true !== ae && (ue = O$1(ae, r2, "svg" === Z2 || "foreignObject" !== Z2 && o2, i2, t2, _2, b2))), P$2 && P$2(t2), U$1 && U$1(t2), !ue && R$1.has(Z2))
|
|
595
|
-
return ce + "/>";
|
|
502
|
+
if (l$3.test(Z2)) throw new Error(Z2 + " is not a valid HTML tag name in " + ce + ">");
|
|
503
|
+
if (ue || ("string" == typeof ae ? ue = g$3(ae) : null != ae && false !== ae && true !== ae && (ue = O$1(ae, r2, "svg" === Z2 || "foreignObject" !== Z2 && o2, i2, t2, _2, b2))), P$2 && P$2(t2), U$1 && U$1(t2), !ue && R$1.has(Z2)) return ce + "/>";
|
|
596
504
|
var fe = "</" + Z2 + ">", pe = ce + ">";
|
|
597
505
|
return W$1(ue) ? [pe].concat(ue, [fe]) : "string" != typeof ue ? [pe, ue, fe] : pe + ue + fe;
|
|
598
506
|
}
|
|
@@ -604,13 +512,9 @@ var f$2 = 0;
|
|
|
604
512
|
function u$2(e2, t2, n2, o2, i2, u2) {
|
|
605
513
|
t2 || (t2 = {});
|
|
606
514
|
var a2, c2, p2 = t2;
|
|
607
|
-
if ("ref" in p2)
|
|
608
|
-
for (c2 in p2 = {}, t2)
|
|
609
|
-
"ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
|
|
515
|
+
if ("ref" in p2) for (c2 in p2 = {}, t2) "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
|
|
610
516
|
var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --f$2, __i: -1, __u: 0, __source: i2, __self: u2 };
|
|
611
|
-
if ("function" == typeof e2 && (a2 = e2.defaultProps))
|
|
612
|
-
for (c2 in a2)
|
|
613
|
-
void 0 === p2[c2] && (p2[c2] = a2[c2]);
|
|
517
|
+
if ("function" == typeof e2 && (a2 = e2.defaultProps)) for (c2 in a2) void 0 === p2[c2] && (p2[c2] = a2[c2]);
|
|
614
518
|
return l$4.vnode && l$4.vnode(l2), l2;
|
|
615
519
|
}
|
|
616
520
|
const icons = {
|
|
@@ -650,15 +554,13 @@ function h$2(n2, u2, i2) {
|
|
|
650
554
|
t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
|
|
651
555
|
}], o2.__c = r$1, !r$1.__f)) {
|
|
652
556
|
var f2 = function(n3, t2, r2) {
|
|
653
|
-
if (!o2.__c.__H)
|
|
654
|
-
return true;
|
|
557
|
+
if (!o2.__c.__H) return true;
|
|
655
558
|
var u3 = o2.__c.__H.__.filter(function(n4) {
|
|
656
559
|
return n4.__c;
|
|
657
560
|
});
|
|
658
561
|
if (u3.every(function(n4) {
|
|
659
562
|
return !n4.__N;
|
|
660
|
-
}))
|
|
661
|
-
return !c2 || c2.call(this, n3, t2, r2);
|
|
563
|
+
})) return !c2 || c2.call(this, n3, t2, r2);
|
|
662
564
|
var i3 = o2.__c.props !== n3;
|
|
663
565
|
return u3.some(function(n4) {
|
|
664
566
|
if (n4.__N) {
|
|
@@ -700,10 +602,9 @@ function F$1(n2, t2, r2) {
|
|
|
700
602
|
n2(null), r3 && "function" == typeof r3 && r3();
|
|
701
603
|
};
|
|
702
604
|
}
|
|
703
|
-
if (n2)
|
|
704
|
-
return n2.current =
|
|
705
|
-
|
|
706
|
-
};
|
|
605
|
+
if (n2) return n2.current = t2(), function() {
|
|
606
|
+
return n2.current = null;
|
|
607
|
+
};
|
|
707
608
|
}, null == r2 ? r2 : r2.concat(n2));
|
|
708
609
|
}
|
|
709
610
|
function T$1(n2, r2) {
|
|
@@ -733,8 +634,7 @@ function b$1(n2) {
|
|
|
733
634
|
function g$2() {
|
|
734
635
|
var n2 = p$2(t$1++, 11);
|
|
735
636
|
if (!n2.__) {
|
|
736
|
-
for (var u2 = r$1.__v; null !== u2 && !u2.__m && null !== u2.__; )
|
|
737
|
-
u2 = u2.__;
|
|
637
|
+
for (var u2 = r$1.__v; null !== u2 && !u2.__m && null !== u2.__; ) u2 = u2.__;
|
|
738
638
|
var i2 = u2.__m || (u2.__m = [0, 0]);
|
|
739
639
|
n2.__ = "P" + i2[0] + "-" + i2[1]++;
|
|
740
640
|
}
|
|
@@ -743,12 +643,11 @@ function g$2() {
|
|
|
743
643
|
function j$1() {
|
|
744
644
|
for (var n2; n2 = f$1.shift(); ) {
|
|
745
645
|
var t2 = n2.__H;
|
|
746
|
-
if (n2.__P && t2)
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
}
|
|
646
|
+
if (n2.__P && t2) try {
|
|
647
|
+
t2.__h.some(z$1), t2.__h.some(B$1), t2.__h = [];
|
|
648
|
+
} catch (r2) {
|
|
649
|
+
t2.__h = [], c$1.__e(r2, n2.__v);
|
|
650
|
+
}
|
|
752
651
|
}
|
|
753
652
|
}
|
|
754
653
|
c$1.__b = function(n2) {
|
|
@@ -814,17 +713,12 @@ function D$1(n2, t2) {
|
|
|
814
713
|
return "function" == typeof t2 ? t2(n2) : t2;
|
|
815
714
|
}
|
|
816
715
|
function g$1(n2, t2) {
|
|
817
|
-
for (var e2 in t2)
|
|
818
|
-
n2[e2] = t2[e2];
|
|
716
|
+
for (var e2 in t2) n2[e2] = t2[e2];
|
|
819
717
|
return n2;
|
|
820
718
|
}
|
|
821
719
|
function E$1(n2, t2) {
|
|
822
|
-
for (var e2 in n2)
|
|
823
|
-
|
|
824
|
-
return true;
|
|
825
|
-
for (var r2 in t2)
|
|
826
|
-
if ("__source" !== r2 && n2[r2] !== t2[r2])
|
|
827
|
-
return true;
|
|
720
|
+
for (var e2 in n2) if ("__source" !== e2 && !(e2 in t2)) return true;
|
|
721
|
+
for (var r2 in t2) if ("__source" !== r2 && n2[r2] !== t2[r2]) return true;
|
|
828
722
|
return false;
|
|
829
723
|
}
|
|
830
724
|
function C(n2, t2) {
|
|
@@ -889,15 +783,12 @@ var L = function(n2, t2) {
|
|
|
889
783
|
return n2 ? L$1(n2).length : 0;
|
|
890
784
|
}, only: function(n2) {
|
|
891
785
|
var t2 = L$1(n2);
|
|
892
|
-
if (1 !== t2.length)
|
|
893
|
-
throw "Children.only";
|
|
786
|
+
if (1 !== t2.length) throw "Children.only";
|
|
894
787
|
return t2[0];
|
|
895
788
|
}, toArray: L$1 }, U = l$4.__e;
|
|
896
789
|
l$4.__e = function(n2, t2, e2, r2) {
|
|
897
790
|
if (n2.then) {
|
|
898
|
-
for (var u2, o2 = t2; o2 = o2.__; )
|
|
899
|
-
if ((u2 = o2.__c) && u2.__c)
|
|
900
|
-
return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
|
|
791
|
+
for (var u2, o2 = t2; o2 = o2.__; ) if ((u2 = o2.__c) && u2.__c) return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
|
|
901
792
|
}
|
|
902
793
|
U(n2, t2, e2, r2);
|
|
903
794
|
};
|
|
@@ -918,8 +809,7 @@ function P() {
|
|
|
918
809
|
this.__u = 0, this.o = null, this.__b = null;
|
|
919
810
|
}
|
|
920
811
|
function j(n2) {
|
|
921
|
-
if (!n2.__)
|
|
922
|
-
return null;
|
|
812
|
+
if (!n2.__) return null;
|
|
923
813
|
var t2 = n2.__.__c;
|
|
924
814
|
return t2 && t2.__a && t2.__a(n2);
|
|
925
815
|
}
|
|
@@ -930,10 +820,8 @@ function z(n2) {
|
|
|
930
820
|
n3 && (o2 = n3.default || n3), u2 = true;
|
|
931
821
|
}, function(n3) {
|
|
932
822
|
r2 = n3, u2 = true;
|
|
933
|
-
}), r2)
|
|
934
|
-
|
|
935
|
-
if (!u2)
|
|
936
|
-
throw e2;
|
|
823
|
+
}), r2) throw r2;
|
|
824
|
+
if (!u2) throw e2;
|
|
937
825
|
return o2 ? _$3(o2, i3) : null;
|
|
938
826
|
}
|
|
939
827
|
return i2.displayName = "Lazy", i2.__f = true, i2;
|
|
@@ -960,8 +848,7 @@ l$4.unmount = function(n2) {
|
|
|
960
848
|
r2.__v.__k[0] = W(n3, n3.__c.__P, n3.__c.__O);
|
|
961
849
|
}
|
|
962
850
|
var t3;
|
|
963
|
-
for (r2.setState({ __a: r2.__b = null }); t3 = r2.o.pop(); )
|
|
964
|
-
t3.__P = l2, t3.forceUpdate();
|
|
851
|
+
for (r2.setState({ __a: r2.__b = null }); t3 = r2.o.pop(); ) t3.__P = l2, t3.forceUpdate();
|
|
965
852
|
}
|
|
966
853
|
};
|
|
967
854
|
r2.__u++ || 32 & t2.__u || r2.setState({ __a: r2.__b = r2.__v.__k[0] }), n2.then(i2, i2);
|
|
@@ -979,14 +866,11 @@ l$4.unmount = function(n2) {
|
|
|
979
866
|
return i2 && (i2.__u &= -33), [_$3(k$3, null, e2.__a ? null : n2.children), i2];
|
|
980
867
|
};
|
|
981
868
|
var H = function(n2, t2, e2) {
|
|
982
|
-
if (++e2[1] === e2[0] && n2.l.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.l.size))
|
|
983
|
-
for (e2
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
break;
|
|
988
|
-
n2.i = e2 = e2[2];
|
|
989
|
-
}
|
|
869
|
+
if (++e2[1] === e2[0] && n2.l.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.l.size)) for (e2 = n2.i; e2; ) {
|
|
870
|
+
for (; e2.length > 3; ) e2.pop()();
|
|
871
|
+
if (e2[1] < e2[0]) break;
|
|
872
|
+
n2.i = e2 = e2[2];
|
|
873
|
+
}
|
|
990
874
|
};
|
|
991
875
|
function Z(n2) {
|
|
992
876
|
return this.getChildContext = function() {
|
|
@@ -998,8 +882,7 @@ function Y(n2) {
|
|
|
998
882
|
if (e2.componentWillUnmount = function() {
|
|
999
883
|
J$1(null, e2.v), e2.v = null, e2.h = null;
|
|
1000
884
|
}, e2.h && e2.h !== r2 && e2.componentWillUnmount(), !e2.v) {
|
|
1001
|
-
for (var u2 = e2.__v; null !== u2 && !u2.__m && null !== u2.__; )
|
|
1002
|
-
u2 = u2.__;
|
|
885
|
+
for (var u2 = e2.__v; null !== u2 && !u2.__m && null !== u2.__; ) u2 = u2.__;
|
|
1003
886
|
e2.h = r2, e2.v = { nodeType: 1, parentNode: r2, childNodes: [], __k: { __m: u2.__m }, contains: function() {
|
|
1004
887
|
return true;
|
|
1005
888
|
}, namespaceURI: r2.namespaceURI, insertBefore: function(n3, t2) {
|
|
@@ -1026,8 +909,7 @@ function $(n2, e2) {
|
|
|
1026
909
|
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
1027
910
|
var t2 = L$1(n2.children);
|
|
1028
911
|
n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
|
|
1029
|
-
for (var e2 = t2.length; e2--; )
|
|
1030
|
-
this.l.set(t2[e2], this.i = [1, 0, this.i]);
|
|
912
|
+
for (var e2 = t2.length; e2--; ) this.l.set(t2[e2], this.i = [1, 0, this.i]);
|
|
1031
913
|
return n2.children;
|
|
1032
914
|
}, B.prototype.componentDidUpdate = B.prototype.componentDidMount = function() {
|
|
1033
915
|
var n2 = this;
|
|
@@ -1067,7 +949,7 @@ var ln, cn = { enumerable: false, configurable: true, get: function() {
|
|
|
1067
949
|
return this.class;
|
|
1068
950
|
} }, fn = l$4.vnode;
|
|
1069
951
|
l$4.vnode = function(n2) {
|
|
1070
|
-
"string" == typeof n2.type && function(n3) {
|
|
952
|
+
"string" == typeof n2.type && (function(n3) {
|
|
1071
953
|
var t2 = n3.props, e2 = n3.type, u2 = {}, o2 = -1 === e2.indexOf("-");
|
|
1072
954
|
for (var i2 in t2) {
|
|
1073
955
|
var l2 = t2[i2];
|
|
@@ -1081,7 +963,7 @@ l$4.vnode = function(n2) {
|
|
|
1081
963
|
})), "select" == e2 && null != u2.defaultValue && (u2.value = L$1(t2.children).forEach(function(n4) {
|
|
1082
964
|
n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
|
|
1083
965
|
})), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className", cn)) : t2.className && (u2.class = u2.className = t2.className), n3.props = u2;
|
|
1084
|
-
}(n2), n2.$$typeof = q, fn && fn(n2);
|
|
966
|
+
})(n2), n2.$$typeof = q, fn && fn(n2);
|
|
1085
967
|
};
|
|
1086
968
|
var an = l$4.__r;
|
|
1087
969
|
l$4.__r = function(n2) {
|
|
@@ -1223,8 +1105,7 @@ function isOverflowElement$1(element) {
|
|
|
1223
1105
|
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
1224
1106
|
}
|
|
1225
1107
|
function isWebKit$2() {
|
|
1226
|
-
if (typeof CSS === "undefined" || !CSS.supports)
|
|
1227
|
-
return false;
|
|
1108
|
+
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
1228
1109
|
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
1229
1110
|
}
|
|
1230
1111
|
const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
@@ -2317,11 +2198,9 @@ class FloatingTreeStore {
|
|
|
2317
2198
|
}
|
|
2318
2199
|
}
|
|
2319
2200
|
const FloatingNodeContext = /* @__PURE__ */ R$2(null);
|
|
2320
|
-
if (process.env.NODE_ENV !== "production")
|
|
2321
|
-
FloatingNodeContext.displayName = "FloatingNodeContext";
|
|
2201
|
+
if (process.env.NODE_ENV !== "production") FloatingNodeContext.displayName = "FloatingNodeContext";
|
|
2322
2202
|
const FloatingTreeContext = /* @__PURE__ */ R$2(null);
|
|
2323
|
-
if (process.env.NODE_ENV !== "production")
|
|
2324
|
-
FloatingTreeContext.displayName = "FloatingTreeContext";
|
|
2203
|
+
if (process.env.NODE_ENV !== "production") FloatingTreeContext.displayName = "FloatingTreeContext";
|
|
2325
2204
|
const useFloatingParentNodeId = () => {
|
|
2326
2205
|
var _a;
|
|
2327
2206
|
return ((_a = x$1(FloatingNodeContext)) == null ? void 0 : _a.id) || null;
|
|
@@ -2400,7 +2279,7 @@ const imperativeAction = "imperative-action";
|
|
|
2400
2279
|
function createChangeEventDetails(reason, event, trigger, customProperties) {
|
|
2401
2280
|
let canceled = false;
|
|
2402
2281
|
let allowPropagation = false;
|
|
2403
|
-
const custom =
|
|
2282
|
+
const custom = EMPTY_OBJECT;
|
|
2404
2283
|
const details = {
|
|
2405
2284
|
reason,
|
|
2406
2285
|
event: event ?? new Event("base-ui"),
|
|
@@ -2559,8 +2438,7 @@ const FocusGuard = /* @__PURE__ */ D(function FocusGuard2(props, ref) {
|
|
|
2559
2438
|
"data-base-ui-focus-guard": ""
|
|
2560
2439
|
});
|
|
2561
2440
|
});
|
|
2562
|
-
if (process.env.NODE_ENV !== "production")
|
|
2563
|
-
FocusGuard.displayName = "FocusGuard";
|
|
2441
|
+
if (process.env.NODE_ENV !== "production") FocusGuard.displayName = "FocusGuard";
|
|
2564
2442
|
let rafId = 0;
|
|
2565
2443
|
function enqueueFocus(el, options = {}) {
|
|
2566
2444
|
const {
|
|
@@ -2761,9 +2639,6 @@ function mergeProps$1(a2, b2, c2, d2, e2) {
|
|
|
2761
2639
|
if (d2) {
|
|
2762
2640
|
merged = mergeOne(merged, d2);
|
|
2763
2641
|
}
|
|
2764
|
-
if (e2) {
|
|
2765
|
-
merged = mergeOne(merged, e2);
|
|
2766
|
-
}
|
|
2767
2642
|
return merged;
|
|
2768
2643
|
}
|
|
2769
2644
|
function mergePropsN(props) {
|
|
@@ -2948,8 +2823,7 @@ function renderTag(Tag, props) {
|
|
|
2948
2823
|
return /* @__PURE__ */ _$3(Tag, props);
|
|
2949
2824
|
}
|
|
2950
2825
|
const PortalContext = /* @__PURE__ */ R$2(null);
|
|
2951
|
-
if (process.env.NODE_ENV !== "production")
|
|
2952
|
-
PortalContext.displayName = "PortalContext";
|
|
2826
|
+
if (process.env.NODE_ENV !== "production") PortalContext.displayName = "PortalContext";
|
|
2953
2827
|
const usePortalContext = () => x$1(PortalContext);
|
|
2954
2828
|
const attr = createAttribute("portal");
|
|
2955
2829
|
function useFloatingPortalNode(props = {}) {
|
|
@@ -3104,8 +2978,7 @@ const FloatingPortal = /* @__PURE__ */ D(function FloatingPortal2(componentProps
|
|
|
3104
2978
|
})]
|
|
3105
2979
|
});
|
|
3106
2980
|
});
|
|
3107
|
-
if (process.env.NODE_ENV !== "production")
|
|
3108
|
-
FloatingPortal.displayName = "FloatingPortal";
|
|
2981
|
+
if (process.env.NODE_ENV !== "production") FloatingPortal.displayName = "FloatingPortal";
|
|
3109
2982
|
function resolveRef(maybeRef) {
|
|
3110
2983
|
if (maybeRef == null) {
|
|
3111
2984
|
return maybeRef;
|
|
@@ -3799,8 +3672,7 @@ function getSideList(side, isStart, rtl) {
|
|
|
3799
3672
|
switch (side) {
|
|
3800
3673
|
case "top":
|
|
3801
3674
|
case "bottom":
|
|
3802
|
-
if (rtl)
|
|
3803
|
-
return isStart ? rlPlacement : lrPlacement;
|
|
3675
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
3804
3676
|
return isStart ? lrPlacement : rlPlacement;
|
|
3805
3677
|
case "left":
|
|
3806
3678
|
case "right":
|
|
@@ -5298,8 +5170,7 @@ function deepEqual(a2, b2) {
|
|
|
5298
5170
|
if (a2 && b2 && typeof a2 === "object") {
|
|
5299
5171
|
if (Array.isArray(a2)) {
|
|
5300
5172
|
length = a2.length;
|
|
5301
|
-
if (length !== b2.length)
|
|
5302
|
-
return false;
|
|
5173
|
+
if (length !== b2.length) return false;
|
|
5303
5174
|
for (i2 = length; i2-- !== 0; ) {
|
|
5304
5175
|
if (!deepEqual(a2[i2], b2[i2])) {
|
|
5305
5176
|
return false;
|
|
@@ -5446,10 +5317,8 @@ function useFloating$1(options) {
|
|
|
5446
5317
|
};
|
|
5447
5318
|
}, []);
|
|
5448
5319
|
index(() => {
|
|
5449
|
-
if (referenceEl)
|
|
5450
|
-
|
|
5451
|
-
if (floatingEl)
|
|
5452
|
-
floatingRef.current = floatingEl;
|
|
5320
|
+
if (referenceEl) referenceRef.current = referenceEl;
|
|
5321
|
+
if (floatingEl) floatingRef.current = floatingEl;
|
|
5453
5322
|
if (referenceEl && floatingEl) {
|
|
5454
5323
|
if (whileElementsMountedRef.current) {
|
|
5455
5324
|
return whileElementsMountedRef.current(referenceEl, floatingEl, update2);
|
|
@@ -6348,42 +6217,7 @@ const createSelector = (a2, b2, c2, d2, e2, f2, ...other) => {
|
|
|
6348
6217
|
throw new Error(process.env.NODE_ENV !== "production" ? "Unsupported number of selectors" : formatErrorMessage(1));
|
|
6349
6218
|
}
|
|
6350
6219
|
let selector;
|
|
6351
|
-
if (a2
|
|
6352
|
-
selector = (state, a1, a22, a3) => {
|
|
6353
|
-
const va = a2(state, a1, a22, a3);
|
|
6354
|
-
const vb = b2(state, a1, a22, a3);
|
|
6355
|
-
const vc = c2(state, a1, a22, a3);
|
|
6356
|
-
const vd = d2(state, a1, a22, a3);
|
|
6357
|
-
const ve = e2(state, a1, a22, a3);
|
|
6358
|
-
return f2(va, vb, vc, vd, ve, a1, a22, a3);
|
|
6359
|
-
};
|
|
6360
|
-
} else if (a2 && b2 && c2 && d2 && e2) {
|
|
6361
|
-
selector = (state, a1, a22, a3) => {
|
|
6362
|
-
const va = a2(state, a1, a22, a3);
|
|
6363
|
-
const vb = b2(state, a1, a22, a3);
|
|
6364
|
-
const vc = c2(state, a1, a22, a3);
|
|
6365
|
-
const vd = d2(state, a1, a22, a3);
|
|
6366
|
-
return e2(va, vb, vc, vd, a1, a22, a3);
|
|
6367
|
-
};
|
|
6368
|
-
} else if (a2 && b2 && c2 && d2) {
|
|
6369
|
-
selector = (state, a1, a22, a3) => {
|
|
6370
|
-
const va = a2(state, a1, a22, a3);
|
|
6371
|
-
const vb = b2(state, a1, a22, a3);
|
|
6372
|
-
const vc = c2(state, a1, a22, a3);
|
|
6373
|
-
return d2(va, vb, vc, a1, a22, a3);
|
|
6374
|
-
};
|
|
6375
|
-
} else if (a2 && b2 && c2) {
|
|
6376
|
-
selector = (state, a1, a22, a3) => {
|
|
6377
|
-
const va = a2(state, a1, a22, a3);
|
|
6378
|
-
const vb = b2(state, a1, a22, a3);
|
|
6379
|
-
return c2(va, vb, a1, a22, a3);
|
|
6380
|
-
};
|
|
6381
|
-
} else if (a2 && b2) {
|
|
6382
|
-
selector = (state, a1, a22, a3) => {
|
|
6383
|
-
const va = a2(state, a1, a22, a3);
|
|
6384
|
-
return b2(va, a1, a22, a3);
|
|
6385
|
-
};
|
|
6386
|
-
} else if (a2) {
|
|
6220
|
+
if (a2) {
|
|
6387
6221
|
selector = a2;
|
|
6388
6222
|
} else {
|
|
6389
6223
|
throw new Error("Missing arguments");
|
|
@@ -6391,19 +6225,22 @@ const createSelector = (a2, b2, c2, d2, e2, f2, ...other) => {
|
|
|
6391
6225
|
return selector;
|
|
6392
6226
|
};
|
|
6393
6227
|
function getAugmentedNamespace(n2) {
|
|
6394
|
-
if (n2
|
|
6395
|
-
return n2;
|
|
6228
|
+
if (Object.prototype.hasOwnProperty.call(n2, "__esModule")) return n2;
|
|
6396
6229
|
var f2 = n2.default;
|
|
6397
6230
|
if (typeof f2 == "function") {
|
|
6398
6231
|
var a2 = function a3() {
|
|
6399
|
-
|
|
6232
|
+
var isInstance = false;
|
|
6233
|
+
try {
|
|
6234
|
+
isInstance = this instanceof a3;
|
|
6235
|
+
} catch {
|
|
6236
|
+
}
|
|
6237
|
+
if (isInstance) {
|
|
6400
6238
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
6401
6239
|
}
|
|
6402
6240
|
return f2.apply(this, arguments);
|
|
6403
6241
|
};
|
|
6404
6242
|
a2.prototype = f2.prototype;
|
|
6405
|
-
} else
|
|
6406
|
-
a2 = {};
|
|
6243
|
+
} else a2 = {};
|
|
6407
6244
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
6408
6245
|
Object.keys(n2).forEach(function(k2) {
|
|
6409
6246
|
var d2 = Object.getOwnPropertyDescriptor(n2, k2);
|
|
@@ -6430,8 +6267,7 @@ const require$$0 = /* @__PURE__ */ getAugmentedNamespace(compat_module);
|
|
|
6430
6267
|
*/
|
|
6431
6268
|
var hasRequiredUseSyncExternalStoreShim_production;
|
|
6432
6269
|
function requireUseSyncExternalStoreShim_production() {
|
|
6433
|
-
if (hasRequiredUseSyncExternalStoreShim_production)
|
|
6434
|
-
return useSyncExternalStoreShim_production;
|
|
6270
|
+
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
6435
6271
|
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
6436
6272
|
var React = require$$0;
|
|
6437
6273
|
function is(x2, y2) {
|
|
@@ -6489,10 +6325,9 @@ var useSyncExternalStoreShim_development = {};
|
|
|
6489
6325
|
*/
|
|
6490
6326
|
var hasRequiredUseSyncExternalStoreShim_development;
|
|
6491
6327
|
function requireUseSyncExternalStoreShim_development() {
|
|
6492
|
-
if (hasRequiredUseSyncExternalStoreShim_development)
|
|
6493
|
-
return useSyncExternalStoreShim_development;
|
|
6328
|
+
if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
|
|
6494
6329
|
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
6495
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
6330
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
6496
6331
|
function is(x2, y2) {
|
|
6497
6332
|
return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
|
|
6498
6333
|
}
|
|
@@ -6548,7 +6383,7 @@ function requireUseSyncExternalStoreShim_development() {
|
|
|
6548
6383
|
var React = require$$0, objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
6549
6384
|
useSyncExternalStoreShim_development.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim2;
|
|
6550
6385
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
6551
|
-
}();
|
|
6386
|
+
})();
|
|
6552
6387
|
return useSyncExternalStoreShim_development;
|
|
6553
6388
|
}
|
|
6554
6389
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -6570,8 +6405,7 @@ var withSelector_production = {};
|
|
|
6570
6405
|
*/
|
|
6571
6406
|
var hasRequiredWithSelector_production;
|
|
6572
6407
|
function requireWithSelector_production() {
|
|
6573
|
-
if (hasRequiredWithSelector_production)
|
|
6574
|
-
return withSelector_production;
|
|
6408
|
+
if (hasRequiredWithSelector_production) return withSelector_production;
|
|
6575
6409
|
hasRequiredWithSelector_production = 1;
|
|
6576
6410
|
var React = require$$0, shim2 = shimExports;
|
|
6577
6411
|
function is(x2, y2) {
|
|
@@ -6583,8 +6417,7 @@ function requireWithSelector_production() {
|
|
|
6583
6417
|
if (null === instRef.current) {
|
|
6584
6418
|
var inst = { hasValue: false, value: null };
|
|
6585
6419
|
instRef.current = inst;
|
|
6586
|
-
} else
|
|
6587
|
-
inst = instRef.current;
|
|
6420
|
+
} else inst = instRef.current;
|
|
6588
6421
|
instRef = useMemo(
|
|
6589
6422
|
function() {
|
|
6590
6423
|
function memoizedSelector(nextSnapshot) {
|
|
@@ -6600,8 +6433,7 @@ function requireWithSelector_production() {
|
|
|
6600
6433
|
return memoizedSelection = nextSnapshot;
|
|
6601
6434
|
}
|
|
6602
6435
|
currentSelection = memoizedSelection;
|
|
6603
|
-
if (objectIs(memoizedSnapshot, nextSnapshot))
|
|
6604
|
-
return currentSelection;
|
|
6436
|
+
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
6605
6437
|
var nextSelection = selector(nextSnapshot);
|
|
6606
6438
|
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
6607
6439
|
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
@@ -6645,10 +6477,9 @@ var withSelector_development = {};
|
|
|
6645
6477
|
*/
|
|
6646
6478
|
var hasRequiredWithSelector_development;
|
|
6647
6479
|
function requireWithSelector_development() {
|
|
6648
|
-
if (hasRequiredWithSelector_development)
|
|
6649
|
-
return withSelector_development;
|
|
6480
|
+
if (hasRequiredWithSelector_development) return withSelector_development;
|
|
6650
6481
|
hasRequiredWithSelector_development = 1;
|
|
6651
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
6482
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
6652
6483
|
function is(x2, y2) {
|
|
6653
6484
|
return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
|
|
6654
6485
|
}
|
|
@@ -6659,8 +6490,7 @@ function requireWithSelector_development() {
|
|
|
6659
6490
|
if (null === instRef.current) {
|
|
6660
6491
|
var inst = { hasValue: false, value: null };
|
|
6661
6492
|
instRef.current = inst;
|
|
6662
|
-
} else
|
|
6663
|
-
inst = instRef.current;
|
|
6493
|
+
} else inst = instRef.current;
|
|
6664
6494
|
instRef = useMemo(
|
|
6665
6495
|
function() {
|
|
6666
6496
|
function memoizedSelector(nextSnapshot) {
|
|
@@ -6708,7 +6538,7 @@ function requireWithSelector_development() {
|
|
|
6708
6538
|
return value;
|
|
6709
6539
|
};
|
|
6710
6540
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
6711
|
-
}();
|
|
6541
|
+
})();
|
|
6712
6542
|
return withSelector_development;
|
|
6713
6543
|
}
|
|
6714
6544
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -8469,8 +8299,7 @@ function safePolygon(options = {}) {
|
|
|
8469
8299
|
return fn2;
|
|
8470
8300
|
}
|
|
8471
8301
|
const PopoverRootContext = /* @__PURE__ */ R$2(void 0);
|
|
8472
|
-
if (process.env.NODE_ENV !== "production")
|
|
8473
|
-
PopoverRootContext.displayName = "PopoverRootContext";
|
|
8302
|
+
if (process.env.NODE_ENV !== "production") PopoverRootContext.displayName = "PopoverRootContext";
|
|
8474
8303
|
function usePopoverRootContext(optional) {
|
|
8475
8304
|
const context = x$1(PopoverRootContext);
|
|
8476
8305
|
if (context === void 0 && !optional) {
|
|
@@ -8772,8 +8601,7 @@ function error(...messages) {
|
|
|
8772
8601
|
}
|
|
8773
8602
|
}
|
|
8774
8603
|
const CompositeRootContext = /* @__PURE__ */ R$2(void 0);
|
|
8775
|
-
if (process.env.NODE_ENV !== "production")
|
|
8776
|
-
CompositeRootContext.displayName = "CompositeRootContext";
|
|
8604
|
+
if (process.env.NODE_ENV !== "production") CompositeRootContext.displayName = "CompositeRootContext";
|
|
8777
8605
|
function useCompositeRootContext(optional = false) {
|
|
8778
8606
|
const context = x$1(CompositeRootContext);
|
|
8779
8607
|
if (context === void 0 && !optional) {
|
|
@@ -8944,11 +8772,11 @@ function useButton(parameters = {}) {
|
|
|
8944
8772
|
function isButtonElement(elem) {
|
|
8945
8773
|
return isHTMLElement$1(elem) && elem.tagName === "BUTTON";
|
|
8946
8774
|
}
|
|
8947
|
-
let TransitionStatusDataAttributes = /* @__PURE__ */ function(TransitionStatusDataAttributes2) {
|
|
8775
|
+
let TransitionStatusDataAttributes = /* @__PURE__ */ (function(TransitionStatusDataAttributes2) {
|
|
8948
8776
|
TransitionStatusDataAttributes2["startingStyle"] = "data-starting-style";
|
|
8949
8777
|
TransitionStatusDataAttributes2["endingStyle"] = "data-ending-style";
|
|
8950
8778
|
return TransitionStatusDataAttributes2;
|
|
8951
|
-
}({});
|
|
8779
|
+
})({});
|
|
8952
8780
|
const STARTING_HOOK = {
|
|
8953
8781
|
[TransitionStatusDataAttributes.startingStyle]: ""
|
|
8954
8782
|
};
|
|
@@ -8966,19 +8794,19 @@ const transitionStatusMapping = {
|
|
|
8966
8794
|
return null;
|
|
8967
8795
|
}
|
|
8968
8796
|
};
|
|
8969
|
-
let CommonPopupDataAttributes = function(CommonPopupDataAttributes2) {
|
|
8797
|
+
let CommonPopupDataAttributes = (function(CommonPopupDataAttributes2) {
|
|
8970
8798
|
CommonPopupDataAttributes2["open"] = "data-open";
|
|
8971
8799
|
CommonPopupDataAttributes2["closed"] = "data-closed";
|
|
8972
8800
|
CommonPopupDataAttributes2[CommonPopupDataAttributes2["startingStyle"] = TransitionStatusDataAttributes.startingStyle] = "startingStyle";
|
|
8973
8801
|
CommonPopupDataAttributes2[CommonPopupDataAttributes2["endingStyle"] = TransitionStatusDataAttributes.endingStyle] = "endingStyle";
|
|
8974
8802
|
CommonPopupDataAttributes2["anchorHidden"] = "data-anchor-hidden";
|
|
8975
8803
|
return CommonPopupDataAttributes2;
|
|
8976
|
-
}({});
|
|
8977
|
-
let CommonTriggerDataAttributes = /* @__PURE__ */ function(CommonTriggerDataAttributes2) {
|
|
8804
|
+
})({});
|
|
8805
|
+
let CommonTriggerDataAttributes = /* @__PURE__ */ (function(CommonTriggerDataAttributes2) {
|
|
8978
8806
|
CommonTriggerDataAttributes2["popupOpen"] = "data-popup-open";
|
|
8979
8807
|
CommonTriggerDataAttributes2["pressed"] = "data-pressed";
|
|
8980
8808
|
return CommonTriggerDataAttributes2;
|
|
8981
|
-
}({});
|
|
8809
|
+
})({});
|
|
8982
8810
|
const TRIGGER_HOOK = {
|
|
8983
8811
|
[CommonTriggerDataAttributes.popupOpen]: ""
|
|
8984
8812
|
};
|
|
@@ -9156,11 +8984,9 @@ const PopoverTrigger = /* @__PURE__ */ D(function PopoverTrigger2(componentProps
|
|
|
9156
8984
|
children: element
|
|
9157
8985
|
}, thisTriggerId);
|
|
9158
8986
|
});
|
|
9159
|
-
if (process.env.NODE_ENV !== "production")
|
|
9160
|
-
PopoverTrigger.displayName = "PopoverTrigger";
|
|
8987
|
+
if (process.env.NODE_ENV !== "production") PopoverTrigger.displayName = "PopoverTrigger";
|
|
9161
8988
|
const PopoverPortalContext = /* @__PURE__ */ R$2(void 0);
|
|
9162
|
-
if (process.env.NODE_ENV !== "production")
|
|
9163
|
-
PopoverPortalContext.displayName = "PopoverPortalContext";
|
|
8989
|
+
if (process.env.NODE_ENV !== "production") PopoverPortalContext.displayName = "PopoverPortalContext";
|
|
9164
8990
|
function usePopoverPortalContext() {
|
|
9165
8991
|
const value = x$1(PopoverPortalContext);
|
|
9166
8992
|
if (value === void 0) {
|
|
@@ -9190,8 +9016,7 @@ const PopoverPortal = /* @__PURE__ */ D(function PopoverPortal2(props, forwarded
|
|
|
9190
9016
|
})
|
|
9191
9017
|
});
|
|
9192
9018
|
});
|
|
9193
|
-
if (process.env.NODE_ENV !== "production")
|
|
9194
|
-
PopoverPortal.displayName = "PopoverPortal";
|
|
9019
|
+
if (process.env.NODE_ENV !== "production") PopoverPortal.displayName = "PopoverPortal";
|
|
9195
9020
|
function inertValue(value) {
|
|
9196
9021
|
if (isReactVersionAtLeast(19)) {
|
|
9197
9022
|
return value;
|
|
@@ -9199,8 +9024,7 @@ function inertValue(value) {
|
|
|
9199
9024
|
return value ? "true" : void 0;
|
|
9200
9025
|
}
|
|
9201
9026
|
const PopoverPositionerContext = /* @__PURE__ */ R$2(void 0);
|
|
9202
|
-
if (process.env.NODE_ENV !== "production")
|
|
9203
|
-
PopoverPositionerContext.displayName = "PopoverPositionerContext";
|
|
9027
|
+
if (process.env.NODE_ENV !== "production") PopoverPositionerContext.displayName = "PopoverPositionerContext";
|
|
9204
9028
|
function usePopoverPositionerContext() {
|
|
9205
9029
|
const context = x$1(PopoverPositionerContext);
|
|
9206
9030
|
if (!context) {
|
|
@@ -9209,8 +9033,7 @@ function usePopoverPositionerContext() {
|
|
|
9209
9033
|
return context;
|
|
9210
9034
|
}
|
|
9211
9035
|
const DirectionContext = /* @__PURE__ */ R$2(void 0);
|
|
9212
|
-
if (process.env.NODE_ENV !== "production")
|
|
9213
|
-
DirectionContext.displayName = "DirectionContext";
|
|
9036
|
+
if (process.env.NODE_ENV !== "production") DirectionContext.displayName = "DirectionContext";
|
|
9214
9037
|
function useDirection() {
|
|
9215
9038
|
const context = x$1(DirectionContext);
|
|
9216
9039
|
return (context == null ? void 0 : context.direction) ?? "ltr";
|
|
@@ -9755,8 +9578,7 @@ const InternalBackdrop = /* @__PURE__ */ D(function InternalBackdrop2(props, ref
|
|
|
9755
9578
|
}
|
|
9756
9579
|
});
|
|
9757
9580
|
});
|
|
9758
|
-
if (process.env.NODE_ENV !== "production")
|
|
9759
|
-
InternalBackdrop.displayName = "InternalBackdrop";
|
|
9581
|
+
if (process.env.NODE_ENV !== "production") InternalBackdrop.displayName = "InternalBackdrop";
|
|
9760
9582
|
function getDisabledMountTransitionStyles(transitionStatus) {
|
|
9761
9583
|
return transitionStatus === "starting" ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;
|
|
9762
9584
|
}
|
|
@@ -9878,8 +9700,7 @@ const PopoverPositioner = /* @__PURE__ */ D(function PopoverPositioner2(componen
|
|
|
9878
9700
|
})]
|
|
9879
9701
|
});
|
|
9880
9702
|
});
|
|
9881
|
-
if (process.env.NODE_ENV !== "production")
|
|
9882
|
-
PopoverPositioner.displayName = "PopoverPositioner";
|
|
9703
|
+
if (process.env.NODE_ENV !== "production") PopoverPositioner.displayName = "PopoverPositioner";
|
|
9883
9704
|
function getCssDimensions(element) {
|
|
9884
9705
|
const css = getComputedStyle$2(element);
|
|
9885
9706
|
let width = parseFloat(css.width) || 0;
|
|
@@ -10034,13 +9855,9 @@ const ARROW_KEYS = /* @__PURE__ */ new Set([...HORIZONTAL_KEYS, ...VERTICAL_KEYS
|
|
|
10034
9855
|
/* @__PURE__ */ new Set([...ARROW_KEYS, HOME, END]);
|
|
10035
9856
|
const COMPOSITE_KEYS = /* @__PURE__ */ new Set([ARROW_UP, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, HOME, END]);
|
|
10036
9857
|
const ToolbarRootContext = /* @__PURE__ */ R$2(void 0);
|
|
10037
|
-
if (process.env.NODE_ENV !== "production")
|
|
10038
|
-
ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
9858
|
+
if (process.env.NODE_ENV !== "production") ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
10039
9859
|
function useToolbarRootContext(optional) {
|
|
10040
9860
|
const context = x$1(ToolbarRootContext);
|
|
10041
|
-
if (context === void 0 && !optional) {
|
|
10042
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>." : formatErrorMessage(69));
|
|
10043
|
-
}
|
|
10044
9861
|
return context;
|
|
10045
9862
|
}
|
|
10046
9863
|
const stateAttributesMapping = {
|
|
@@ -10059,7 +9876,7 @@ const PopoverPopup = /* @__PURE__ */ D(function PopoverPopup2(componentProps, fo
|
|
|
10059
9876
|
store: store2
|
|
10060
9877
|
} = usePopoverRootContext();
|
|
10061
9878
|
const positioner = usePopoverPositionerContext();
|
|
10062
|
-
const insideToolbar = useToolbarRootContext(
|
|
9879
|
+
const insideToolbar = useToolbarRootContext() != null;
|
|
10063
9880
|
const direction = useDirection();
|
|
10064
9881
|
const open = store2.useState("open");
|
|
10065
9882
|
const openMethod = store2.useState("openMethod");
|
|
@@ -10159,25 +9976,18 @@ const PopoverPopup = /* @__PURE__ */ D(function PopoverPopup2(componentProps, fo
|
|
|
10159
9976
|
children: element
|
|
10160
9977
|
});
|
|
10161
9978
|
});
|
|
10162
|
-
if (process.env.NODE_ENV !== "production")
|
|
10163
|
-
PopoverPopup.displayName = "PopoverPopup";
|
|
9979
|
+
if (process.env.NODE_ENV !== "production") PopoverPopup.displayName = "PopoverPopup";
|
|
10164
9980
|
function r(e2) {
|
|
10165
9981
|
var t2, f2, n2 = "";
|
|
10166
|
-
if ("string" == typeof e2 || "number" == typeof e2)
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
for (t2 = 0; t2 < o2; t2++)
|
|
10172
|
-
e2[t2] && (f2 = r(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
10173
|
-
} else
|
|
10174
|
-
for (f2 in e2)
|
|
10175
|
-
e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
9982
|
+
if ("string" == typeof e2 || "number" == typeof e2) n2 += e2;
|
|
9983
|
+
else if ("object" == typeof e2) if (Array.isArray(e2)) {
|
|
9984
|
+
var o2 = e2.length;
|
|
9985
|
+
for (t2 = 0; t2 < o2; t2++) e2[t2] && (f2 = r(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
9986
|
+
} else for (f2 in e2) e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
10176
9987
|
return n2;
|
|
10177
9988
|
}
|
|
10178
9989
|
function clsx() {
|
|
10179
|
-
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
|
|
10180
|
-
(e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
9990
|
+
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
10181
9991
|
return n2;
|
|
10182
9992
|
}
|
|
10183
9993
|
const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
|
|
@@ -10253,9 +10063,11 @@ const defaultTerms = {
|
|
|
10253
10063
|
frequency: "Frequency",
|
|
10254
10064
|
create_alert: "Create Alert",
|
|
10255
10065
|
create_alert_error: "Failed to create alert. Please try again later.",
|
|
10256
|
-
privacy_policy_link: "How we use your personal data"
|
|
10066
|
+
privacy_policy_link: "How we use your personal data",
|
|
10067
|
+
alert_notice_sender: "{{company}} will email you new jobs matching this search, as often as you choose. Every email has an unsubscribe link.",
|
|
10068
|
+
alert_notice: "You'll get new jobs matching this search by email, as often as you choose. Every email has an unsubscribe link."
|
|
10257
10069
|
};
|
|
10258
|
-
const { TranslationProvider, useTranslation
|
|
10070
|
+
const { TranslationProvider, useTranslation } = createTranslation(defaultTerms);
|
|
10259
10071
|
var i = Symbol.for("preact-signals");
|
|
10260
10072
|
function t() {
|
|
10261
10073
|
if (!(s$1 > 1)) {
|
|
@@ -10268,24 +10080,21 @@ function t() {
|
|
|
10268
10080
|
var o2 = r2.o;
|
|
10269
10081
|
r2.o = void 0;
|
|
10270
10082
|
r2.f &= -3;
|
|
10271
|
-
if (!(8 & r2.f) && c(r2))
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
t2 = true;
|
|
10278
|
-
}
|
|
10083
|
+
if (!(8 & r2.f) && c(r2)) try {
|
|
10084
|
+
r2.c();
|
|
10085
|
+
} catch (r3) {
|
|
10086
|
+
if (!t2) {
|
|
10087
|
+
i2 = r3;
|
|
10088
|
+
t2 = true;
|
|
10279
10089
|
}
|
|
10090
|
+
}
|
|
10280
10091
|
r2 = o2;
|
|
10281
10092
|
}
|
|
10282
10093
|
}
|
|
10283
10094
|
f = 0;
|
|
10284
10095
|
s$1--;
|
|
10285
|
-
if (t2)
|
|
10286
|
-
|
|
10287
|
-
} else
|
|
10288
|
-
s$1--;
|
|
10096
|
+
if (t2) throw i2;
|
|
10097
|
+
} else s$1--;
|
|
10289
10098
|
}
|
|
10290
10099
|
var o = void 0;
|
|
10291
10100
|
var h$1 = void 0, s$1 = 0, f = 0, v = 0;
|
|
@@ -10294,19 +10103,16 @@ function e(i2) {
|
|
|
10294
10103
|
var t2 = i2.n;
|
|
10295
10104
|
if (void 0 === t2 || t2.t !== o) {
|
|
10296
10105
|
t2 = { i: 0, S: i2, p: o.s, n: void 0, t: o, e: void 0, x: void 0, r: t2 };
|
|
10297
|
-
if (void 0 !== o.s)
|
|
10298
|
-
o.s.n = t2;
|
|
10106
|
+
if (void 0 !== o.s) o.s.n = t2;
|
|
10299
10107
|
o.s = t2;
|
|
10300
10108
|
i2.n = t2;
|
|
10301
|
-
if (32 & o.f)
|
|
10302
|
-
i2.S(t2);
|
|
10109
|
+
if (32 & o.f) i2.S(t2);
|
|
10303
10110
|
return t2;
|
|
10304
10111
|
} else if (-1 === t2.i) {
|
|
10305
10112
|
t2.i = 0;
|
|
10306
10113
|
if (void 0 !== t2.n) {
|
|
10307
10114
|
t2.n.p = t2.p;
|
|
10308
|
-
if (void 0 !== t2.p)
|
|
10309
|
-
t2.p.n = t2.n;
|
|
10115
|
+
if (void 0 !== t2.p) t2.p.n = t2.n;
|
|
10310
10116
|
t2.p = o.s;
|
|
10311
10117
|
t2.n = void 0;
|
|
10312
10118
|
o.s.n = t2;
|
|
@@ -10329,8 +10135,7 @@ u.prototype.h = function() {
|
|
|
10329
10135
|
u.prototype.S = function(i2) {
|
|
10330
10136
|
if (this.t !== i2 && void 0 === i2.e) {
|
|
10331
10137
|
i2.x = this.t;
|
|
10332
|
-
if (void 0 !== this.t)
|
|
10333
|
-
this.t.e = i2;
|
|
10138
|
+
if (void 0 !== this.t) this.t.e = i2;
|
|
10334
10139
|
this.t = i2;
|
|
10335
10140
|
}
|
|
10336
10141
|
};
|
|
@@ -10345,8 +10150,7 @@ u.prototype.U = function(i2) {
|
|
|
10345
10150
|
r2.e = t2;
|
|
10346
10151
|
i2.x = void 0;
|
|
10347
10152
|
}
|
|
10348
|
-
if (i2 === this.t)
|
|
10349
|
-
this.t = r2;
|
|
10153
|
+
if (i2 === this.t) this.t = r2;
|
|
10350
10154
|
}
|
|
10351
10155
|
};
|
|
10352
10156
|
u.prototype.subscribe = function(i2) {
|
|
@@ -10381,20 +10185,17 @@ u.prototype.peek = function() {
|
|
|
10381
10185
|
};
|
|
10382
10186
|
Object.defineProperty(u.prototype, "value", { get: function() {
|
|
10383
10187
|
var i2 = e(this);
|
|
10384
|
-
if (void 0 !== i2)
|
|
10385
|
-
i2.i = this.i;
|
|
10188
|
+
if (void 0 !== i2) i2.i = this.i;
|
|
10386
10189
|
return this.v;
|
|
10387
10190
|
}, set: function(i2) {
|
|
10388
10191
|
if (i2 !== this.v) {
|
|
10389
|
-
if (f > 100)
|
|
10390
|
-
throw new Error("Cycle detected");
|
|
10192
|
+
if (f > 100) throw new Error("Cycle detected");
|
|
10391
10193
|
this.v = i2;
|
|
10392
10194
|
this.i++;
|
|
10393
10195
|
v++;
|
|
10394
10196
|
s$1++;
|
|
10395
10197
|
try {
|
|
10396
|
-
for (var r2 = this.t; void 0 !== r2; r2 = r2.x)
|
|
10397
|
-
r2.t.N();
|
|
10198
|
+
for (var r2 = this.t; void 0 !== r2; r2 = r2.x) r2.t.N();
|
|
10398
10199
|
} finally {
|
|
10399
10200
|
t();
|
|
10400
10201
|
}
|
|
@@ -10404,16 +10205,13 @@ function d$1(i2) {
|
|
|
10404
10205
|
return new u(i2);
|
|
10405
10206
|
}
|
|
10406
10207
|
function c(i2) {
|
|
10407
|
-
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n)
|
|
10408
|
-
if (t2.S.i !== t2.i || !t2.S.h() || t2.S.i !== t2.i)
|
|
10409
|
-
return true;
|
|
10208
|
+
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) if (t2.S.i !== t2.i || !t2.S.h() || t2.S.i !== t2.i) return true;
|
|
10410
10209
|
return false;
|
|
10411
10210
|
}
|
|
10412
10211
|
function a(i2) {
|
|
10413
10212
|
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) {
|
|
10414
10213
|
var r2 = t2.S.n;
|
|
10415
|
-
if (void 0 !== r2)
|
|
10416
|
-
t2.r = r2;
|
|
10214
|
+
if (void 0 !== r2) t2.r = r2;
|
|
10417
10215
|
t2.S.n = t2;
|
|
10418
10216
|
t2.i = -1;
|
|
10419
10217
|
if (void 0 === t2.n) {
|
|
@@ -10428,15 +10226,11 @@ function l$1(i2) {
|
|
|
10428
10226
|
var o2 = t2.p;
|
|
10429
10227
|
if (-1 === t2.i) {
|
|
10430
10228
|
t2.S.U(t2);
|
|
10431
|
-
if (void 0 !== o2)
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
t2.n.p = o2;
|
|
10435
|
-
} else
|
|
10436
|
-
r2 = t2;
|
|
10229
|
+
if (void 0 !== o2) o2.n = t2.n;
|
|
10230
|
+
if (void 0 !== t2.n) t2.n.p = o2;
|
|
10231
|
+
} else r2 = t2;
|
|
10437
10232
|
t2.S.n = t2.r;
|
|
10438
|
-
if (void 0 !== t2.r)
|
|
10439
|
-
t2.r = void 0;
|
|
10233
|
+
if (void 0 !== t2.r) t2.r = void 0;
|
|
10440
10234
|
t2 = o2;
|
|
10441
10235
|
}
|
|
10442
10236
|
i2.s = r2;
|
|
@@ -10450,13 +10244,10 @@ function y(i2) {
|
|
|
10450
10244
|
}
|
|
10451
10245
|
(y.prototype = new u()).h = function() {
|
|
10452
10246
|
this.f &= -3;
|
|
10453
|
-
if (1 & this.f)
|
|
10454
|
-
|
|
10455
|
-
if (32 == (36 & this.f))
|
|
10456
|
-
return true;
|
|
10247
|
+
if (1 & this.f) return false;
|
|
10248
|
+
if (32 == (36 & this.f)) return true;
|
|
10457
10249
|
this.f &= -5;
|
|
10458
|
-
if (this.g === v)
|
|
10459
|
-
return true;
|
|
10250
|
+
if (this.g === v) return true;
|
|
10460
10251
|
this.g = v;
|
|
10461
10252
|
this.f |= 1;
|
|
10462
10253
|
if (this.i > 0 && !c(this)) {
|
|
@@ -10486,8 +10277,7 @@ function y(i2) {
|
|
|
10486
10277
|
y.prototype.S = function(i2) {
|
|
10487
10278
|
if (void 0 === this.t) {
|
|
10488
10279
|
this.f |= 36;
|
|
10489
|
-
for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
|
|
10490
|
-
t2.S.S(t2);
|
|
10280
|
+
for (var t2 = this.s; void 0 !== t2; t2 = t2.n) t2.S.S(t2);
|
|
10491
10281
|
}
|
|
10492
10282
|
u.prototype.S.call(this, i2);
|
|
10493
10283
|
};
|
|
@@ -10496,27 +10286,22 @@ y.prototype.U = function(i2) {
|
|
|
10496
10286
|
u.prototype.U.call(this, i2);
|
|
10497
10287
|
if (void 0 === this.t) {
|
|
10498
10288
|
this.f &= -33;
|
|
10499
|
-
for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
|
|
10500
|
-
t2.S.U(t2);
|
|
10289
|
+
for (var t2 = this.s; void 0 !== t2; t2 = t2.n) t2.S.U(t2);
|
|
10501
10290
|
}
|
|
10502
10291
|
}
|
|
10503
10292
|
};
|
|
10504
10293
|
y.prototype.N = function() {
|
|
10505
10294
|
if (!(2 & this.f)) {
|
|
10506
10295
|
this.f |= 6;
|
|
10507
|
-
for (var i2 = this.t; void 0 !== i2; i2 = i2.x)
|
|
10508
|
-
i2.t.N();
|
|
10296
|
+
for (var i2 = this.t; void 0 !== i2; i2 = i2.x) i2.t.N();
|
|
10509
10297
|
}
|
|
10510
10298
|
};
|
|
10511
10299
|
Object.defineProperty(y.prototype, "value", { get: function() {
|
|
10512
|
-
if (1 & this.f)
|
|
10513
|
-
throw new Error("Cycle detected");
|
|
10300
|
+
if (1 & this.f) throw new Error("Cycle detected");
|
|
10514
10301
|
var i2 = e(this);
|
|
10515
10302
|
this.h();
|
|
10516
|
-
if (void 0 !== i2)
|
|
10517
|
-
|
|
10518
|
-
if (16 & this.f)
|
|
10519
|
-
throw this.v;
|
|
10303
|
+
if (void 0 !== i2) i2.i = this.i;
|
|
10304
|
+
if (16 & this.f) throw this.v;
|
|
10520
10305
|
return this.v;
|
|
10521
10306
|
} });
|
|
10522
10307
|
function w(i2) {
|
|
@@ -10543,20 +10328,17 @@ function _(i2) {
|
|
|
10543
10328
|
}
|
|
10544
10329
|
}
|
|
10545
10330
|
function g(i2) {
|
|
10546
|
-
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n)
|
|
10547
|
-
t2.S.U(t2);
|
|
10331
|
+
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) t2.S.U(t2);
|
|
10548
10332
|
i2.x = void 0;
|
|
10549
10333
|
i2.s = void 0;
|
|
10550
10334
|
_(i2);
|
|
10551
10335
|
}
|
|
10552
10336
|
function p$1(i2) {
|
|
10553
|
-
if (o !== this)
|
|
10554
|
-
throw new Error("Out-of-order effect");
|
|
10337
|
+
if (o !== this) throw new Error("Out-of-order effect");
|
|
10555
10338
|
l$1(this);
|
|
10556
10339
|
o = i2;
|
|
10557
10340
|
this.f &= -2;
|
|
10558
|
-
if (8 & this.f)
|
|
10559
|
-
g(this);
|
|
10341
|
+
if (8 & this.f) g(this);
|
|
10560
10342
|
t();
|
|
10561
10343
|
}
|
|
10562
10344
|
function b(i2) {
|
|
@@ -10569,20 +10351,16 @@ function b(i2) {
|
|
|
10569
10351
|
b.prototype.c = function() {
|
|
10570
10352
|
var i2 = this.S();
|
|
10571
10353
|
try {
|
|
10572
|
-
if (8 & this.f)
|
|
10573
|
-
|
|
10574
|
-
if (void 0 === this.x)
|
|
10575
|
-
return;
|
|
10354
|
+
if (8 & this.f) return;
|
|
10355
|
+
if (void 0 === this.x) return;
|
|
10576
10356
|
var t2 = this.x();
|
|
10577
|
-
if ("function" == typeof t2)
|
|
10578
|
-
this.u = t2;
|
|
10357
|
+
if ("function" == typeof t2) this.u = t2;
|
|
10579
10358
|
} finally {
|
|
10580
10359
|
i2();
|
|
10581
10360
|
}
|
|
10582
10361
|
};
|
|
10583
10362
|
b.prototype.S = function() {
|
|
10584
|
-
if (1 & this.f)
|
|
10585
|
-
throw new Error("Cycle detected");
|
|
10363
|
+
if (1 & this.f) throw new Error("Cycle detected");
|
|
10586
10364
|
this.f |= 1;
|
|
10587
10365
|
this.f &= -9;
|
|
10588
10366
|
_(this);
|
|
@@ -10601,8 +10379,7 @@ b.prototype.N = function() {
|
|
|
10601
10379
|
};
|
|
10602
10380
|
b.prototype.d = function() {
|
|
10603
10381
|
this.f |= 8;
|
|
10604
|
-
if (!(1 & this.f))
|
|
10605
|
-
g(this);
|
|
10382
|
+
if (!(1 & this.f)) g(this);
|
|
10606
10383
|
};
|
|
10607
10384
|
function E(i2) {
|
|
10608
10385
|
var t2 = new b(i2);
|
|
@@ -10632,19 +10409,17 @@ function h(i2) {
|
|
|
10632
10409
|
o2.value = f2;
|
|
10633
10410
|
var e2 = T$1(function() {
|
|
10634
10411
|
var i3 = r2.__v;
|
|
10635
|
-
while (i3 = i3.__)
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
}
|
|
10412
|
+
while (i3 = i3.__) if (i3.__c) {
|
|
10413
|
+
i3.__c.__$f |= 4;
|
|
10414
|
+
break;
|
|
10415
|
+
}
|
|
10640
10416
|
r2.__$u.c = function() {
|
|
10641
10417
|
var i4, t2 = r2.__$u.S(), f3 = e2.value;
|
|
10642
10418
|
t2();
|
|
10643
10419
|
if (t$2(f3) || 3 !== (null == (i4 = r2.base) ? void 0 : i4.nodeType)) {
|
|
10644
10420
|
r2.__$f |= 1;
|
|
10645
10421
|
r2.setState({});
|
|
10646
|
-
} else
|
|
10647
|
-
r2.base.data = f3;
|
|
10422
|
+
} else r2.base.data = f3;
|
|
10648
10423
|
};
|
|
10649
10424
|
return w(function() {
|
|
10650
10425
|
var i4 = o2.value.value;
|
|
@@ -10660,16 +10435,14 @@ Object.defineProperties(u.prototype, { constructor: { configurable: true, value:
|
|
|
10660
10435
|
l("__b", function(i2, r2) {
|
|
10661
10436
|
if ("string" == typeof r2.type) {
|
|
10662
10437
|
var n2, t2 = r2.props;
|
|
10663
|
-
for (var f2 in t2)
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
if (
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
n2[f2] = o2;
|
|
10670
|
-
t2[f2] = o2.peek();
|
|
10671
|
-
}
|
|
10438
|
+
for (var f2 in t2) if ("children" !== f2) {
|
|
10439
|
+
var o2 = t2[f2];
|
|
10440
|
+
if (o2 instanceof u) {
|
|
10441
|
+
if (!n2) r2.__np = n2 = {};
|
|
10442
|
+
n2[f2] = o2;
|
|
10443
|
+
t2[f2] = o2.peek();
|
|
10672
10444
|
}
|
|
10445
|
+
}
|
|
10673
10446
|
}
|
|
10674
10447
|
i2(r2);
|
|
10675
10448
|
});
|
|
@@ -10679,18 +10452,17 @@ l("__r", function(i2, r2) {
|
|
|
10679
10452
|
var n2, t2 = r2.__c;
|
|
10680
10453
|
if (t2) {
|
|
10681
10454
|
t2.__$f &= -2;
|
|
10682
|
-
if (void 0 === (n2 = t2.__$u))
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
}();
|
|
10455
|
+
if (void 0 === (n2 = t2.__$u)) t2.__$u = n2 = (function(i3) {
|
|
10456
|
+
var r3;
|
|
10457
|
+
E(function() {
|
|
10458
|
+
r3 = this;
|
|
10459
|
+
});
|
|
10460
|
+
r3.c = function() {
|
|
10461
|
+
t2.__$f |= 1;
|
|
10462
|
+
t2.setState({});
|
|
10463
|
+
};
|
|
10464
|
+
return r3;
|
|
10465
|
+
})();
|
|
10694
10466
|
}
|
|
10695
10467
|
d(n2);
|
|
10696
10468
|
});
|
|
@@ -10705,23 +10477,20 @@ l("diffed", function(i2, r2) {
|
|
|
10705
10477
|
var t2 = r2.__np, f2 = r2.props;
|
|
10706
10478
|
if (t2) {
|
|
10707
10479
|
var o2 = n2.U;
|
|
10708
|
-
if (o2)
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
o2[e2] = void 0;
|
|
10714
|
-
}
|
|
10480
|
+
if (o2) for (var e2 in o2) {
|
|
10481
|
+
var u2 = o2[e2];
|
|
10482
|
+
if (void 0 !== u2 && !(e2 in t2)) {
|
|
10483
|
+
u2.d();
|
|
10484
|
+
o2[e2] = void 0;
|
|
10715
10485
|
}
|
|
10716
|
-
|
|
10717
|
-
|
|
10486
|
+
}
|
|
10487
|
+
else n2.U = o2 = {};
|
|
10718
10488
|
for (var a2 in t2) {
|
|
10719
10489
|
var c2 = o2[a2], s2 = t2[a2];
|
|
10720
10490
|
if (void 0 === c2) {
|
|
10721
10491
|
c2 = p(n2, a2, s2, f2);
|
|
10722
10492
|
o2[a2] = c2;
|
|
10723
|
-
} else
|
|
10724
|
-
c2.o(s2, f2);
|
|
10493
|
+
} else c2.o(s2, f2);
|
|
10725
10494
|
}
|
|
10726
10495
|
}
|
|
10727
10496
|
}
|
|
@@ -10736,12 +10505,9 @@ function p(i2, r2, n2, t2) {
|
|
|
10736
10505
|
var n3 = o2.value.value;
|
|
10737
10506
|
if (t2[r2] !== n3) {
|
|
10738
10507
|
t2[r2] = n3;
|
|
10739
|
-
if (f2)
|
|
10740
|
-
|
|
10741
|
-
else
|
|
10742
|
-
i2.setAttribute(r2, n3);
|
|
10743
|
-
else
|
|
10744
|
-
i2.removeAttribute(r2);
|
|
10508
|
+
if (f2) i2[r2] = n3;
|
|
10509
|
+
else if (n3) i2.setAttribute(r2, n3);
|
|
10510
|
+
else i2.removeAttribute(r2);
|
|
10745
10511
|
}
|
|
10746
10512
|
}) };
|
|
10747
10513
|
}
|
|
@@ -10754,8 +10520,7 @@ l("unmount", function(i2, r2) {
|
|
|
10754
10520
|
n2.U = void 0;
|
|
10755
10521
|
for (var f2 in t2) {
|
|
10756
10522
|
var o2 = t2[f2];
|
|
10757
|
-
if (o2)
|
|
10758
|
-
o2.d();
|
|
10523
|
+
if (o2) o2.d();
|
|
10759
10524
|
}
|
|
10760
10525
|
}
|
|
10761
10526
|
}
|
|
@@ -10772,33 +10537,22 @@ l("unmount", function(i2, r2) {
|
|
|
10772
10537
|
i2(r2);
|
|
10773
10538
|
});
|
|
10774
10539
|
l("__h", function(i2, r2, n2, t2) {
|
|
10775
|
-
if (t2 < 3 || 9 === t2)
|
|
10776
|
-
r2.__$f |= 2;
|
|
10540
|
+
if (t2 < 3 || 9 === t2) r2.__$f |= 2;
|
|
10777
10541
|
i2(r2, n2, t2);
|
|
10778
10542
|
});
|
|
10779
10543
|
x$3.prototype.shouldComponentUpdate = function(i2, r2) {
|
|
10780
|
-
if (this.__R)
|
|
10781
|
-
return true;
|
|
10544
|
+
if (this.__R) return true;
|
|
10782
10545
|
var n2 = this.__$u, t2 = n2 && void 0 !== n2.s;
|
|
10783
|
-
for (var f2 in r2)
|
|
10784
|
-
return true;
|
|
10546
|
+
for (var f2 in r2) return true;
|
|
10785
10547
|
if (this.__f || "boolean" == typeof this.u && true === this.u) {
|
|
10786
|
-
if (!(t2 || 2 & this.__$f || 4 & this.__$f))
|
|
10787
|
-
|
|
10788
|
-
if (1 & this.__$f)
|
|
10789
|
-
return true;
|
|
10548
|
+
if (!(t2 || 2 & this.__$f || 4 & this.__$f)) return true;
|
|
10549
|
+
if (1 & this.__$f) return true;
|
|
10790
10550
|
} else {
|
|
10791
|
-
if (!(t2 || 4 & this.__$f))
|
|
10792
|
-
|
|
10793
|
-
if (3 & this.__$f)
|
|
10794
|
-
return true;
|
|
10551
|
+
if (!(t2 || 4 & this.__$f)) return true;
|
|
10552
|
+
if (3 & this.__$f) return true;
|
|
10795
10553
|
}
|
|
10796
|
-
for (var o2 in i2)
|
|
10797
|
-
|
|
10798
|
-
return true;
|
|
10799
|
-
for (var e2 in this.props)
|
|
10800
|
-
if (!(e2 in i2))
|
|
10801
|
-
return true;
|
|
10554
|
+
for (var o2 in i2) if ("__source" !== o2 && i2[o2] !== this.props[o2]) return true;
|
|
10555
|
+
for (var e2 in this.props) if (!(e2 in i2)) return true;
|
|
10802
10556
|
return false;
|
|
10803
10557
|
};
|
|
10804
10558
|
function useSignal(i2) {
|
|
@@ -10987,8 +10741,7 @@ const getThemeVariants = (theme) => {
|
|
|
10987
10741
|
return variants;
|
|
10988
10742
|
};
|
|
10989
10743
|
const InputError = ({ error: error2 }) => {
|
|
10990
|
-
if (!error2)
|
|
10991
|
-
return null;
|
|
10744
|
+
if (!error2) return null;
|
|
10992
10745
|
return /* @__PURE__ */ u$2("div", { role: "alert", class: "flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]", children: [
|
|
10993
10746
|
/* @__PURE__ */ u$2("svg", { class: "mt-0.5 h-4 w-4 flex-none", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
10994
10747
|
/* @__PURE__ */ u$2("circle", { cx: "8", cy: "8", r: "6.3", stroke: "currentColor", "stroke-width": "1.4" }),
|
|
@@ -10998,6 +10751,14 @@ const InputError = ({ error: error2 }) => {
|
|
|
10998
10751
|
/* @__PURE__ */ u$2("p", { class: "pr-1 text-sm", children: error2 })
|
|
10999
10752
|
] });
|
|
11000
10753
|
};
|
|
10754
|
+
const signupNoticeText = (t2, employerName) => {
|
|
10755
|
+
const sender = employerName == null ? void 0 : employerName.trim();
|
|
10756
|
+
return sender ? t2("alert_notice_sender", { company: sender }) : t2("alert_notice");
|
|
10757
|
+
};
|
|
10758
|
+
const SignupNotice = ({ employerName }) => {
|
|
10759
|
+
const { t: t2 } = useTranslation();
|
|
10760
|
+
return /* @__PURE__ */ u$2("p", { class: "text-neutral-11 px-2 text-xs leading-snug", children: signupNoticeText(t2, employerName) });
|
|
10761
|
+
};
|
|
11001
10762
|
const inputClass = "rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]";
|
|
11002
10763
|
const JobAlertsButton = D(
|
|
11003
10764
|
({ class: className, ...props }, ref) => /* @__PURE__ */ u$2(
|
|
@@ -11021,8 +10782,7 @@ const JobAlertsButton = D(
|
|
|
11021
10782
|
const PopoverHeader = () => /* @__PURE__ */ u$2("p", { class: "text-neutral-11 px-2 pb-4 pt-1 text-sm", children: store.config$.value.headerText });
|
|
11022
10783
|
const PrivacyPolicyLink = ({ label }) => {
|
|
11023
10784
|
const url = store.config$.value.privacyPolicyUrl;
|
|
11024
|
-
if (!url)
|
|
11025
|
-
return null;
|
|
10785
|
+
if (!url) return null;
|
|
11026
10786
|
return /* @__PURE__ */ u$2(
|
|
11027
10787
|
"a",
|
|
11028
10788
|
{
|
|
@@ -11050,8 +10810,7 @@ const JobAlerts = ({ theme, rpcClient, logger, analytics }) => {
|
|
|
11050
10810
|
onSubmit: async (e2) => {
|
|
11051
10811
|
var _a, _b, _c, _d;
|
|
11052
10812
|
e2.preventDefault();
|
|
11053
|
-
if (formState !== "idle")
|
|
11054
|
-
return;
|
|
10813
|
+
if (formState !== "idle") return;
|
|
11055
10814
|
const formData = new FormData(e2.currentTarget);
|
|
11056
10815
|
const name = (_a = formData.get("name")) == null ? void 0 : _a.toString();
|
|
11057
10816
|
const [firstName, ...rest] = (name == null ? void 0 : name.split(" ")) ?? [];
|
|
@@ -11136,6 +10895,7 @@ const JobAlerts = ({ theme, rpcClient, logger, analytics }) => {
|
|
|
11136
10895
|
/* @__PURE__ */ u$2("div", { class: "text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1", "aria-hidden": true, children: /* @__PURE__ */ u$2(Icon, { name: "chevron-up-down" }) })
|
|
11137
10896
|
] })
|
|
11138
10897
|
] }),
|
|
10898
|
+
/* @__PURE__ */ u$2(SignupNotice, { employerName: store.config$.value.employerName }),
|
|
11139
10899
|
/* @__PURE__ */ u$2(PrivacyPolicyLink, { label: t2("privacy_policy_link") }),
|
|
11140
10900
|
/* @__PURE__ */ u$2(
|
|
11141
10901
|
"button",
|
|
@@ -11804,6 +11564,10 @@ const tailwind = `#ija {
|
|
|
11804
11564
|
font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
|
|
11805
11565
|
}
|
|
11806
11566
|
|
|
11567
|
+
#ija .leading-snug {
|
|
11568
|
+
line-height: 1.375;
|
|
11569
|
+
}
|
|
11570
|
+
|
|
11807
11571
|
#ija .text-\\[\\#E5484D\\] {
|
|
11808
11572
|
--tw-text-opacity: 1;
|
|
11809
11573
|
color: rgb(229 72 77 / var(--tw-text-opacity, 1));
|
|
@@ -12175,8 +11939,7 @@ const createJobAlertsDomManager = () => {
|
|
|
12175
11939
|
return {
|
|
12176
11940
|
getRenderTargetElement: () => {
|
|
12177
11941
|
const element = document.body.querySelector(`#${JOB_ALERTS_ELEMENT_ID}`);
|
|
12178
|
-
if (!element)
|
|
12179
|
-
throw new Error(`Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
|
|
11942
|
+
if (!element) throw new Error(`Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
|
|
12180
11943
|
return element;
|
|
12181
11944
|
}
|
|
12182
11945
|
};
|