@inploi/plugin-job-search 0.17.2 → 0.18.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 +28 -29
- package/dist/index.cjs +74 -40
- package/dist/index.js +74 -40
- package/dist/job-search.d.ts +12 -5
- package/dist/{plugin-job-alerts-ddf07a02.js → plugin-job-alerts-2ce58f09.js} +933 -896
- package/dist/{plugin-job-alerts-ee47a7fb.cjs → plugin-job-alerts-e8471004.cjs} +933 -896
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
|
@@ -5,47 +5,47 @@ function invariant(condition, message) {
|
|
|
5
5
|
}
|
|
6
6
|
throw new Error(message);
|
|
7
7
|
}
|
|
8
|
-
var n$1, l$4, u$4, t$2, i$3, o$3, r$3, f$4, e$2, c$3 = {},
|
|
9
|
-
function
|
|
8
|
+
var n$1, l$4, u$4, t$2, i$3, o$3, r$3, f$4, e$2, c$3, s$3, a$3, h$1 = {}, p$4 = [], v$2 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y$3 = Array.isArray;
|
|
9
|
+
function d$3(n2, l2) {
|
|
10
10
|
for (var u2 in l2)
|
|
11
11
|
n2[u2] = l2[u2];
|
|
12
12
|
return n2;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function w$4(n2) {
|
|
15
15
|
var l2 = n2.parentNode;
|
|
16
16
|
l2 && l2.removeChild(n2);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function _$3(l2, u2, t2) {
|
|
19
19
|
var i2, o2, r2, f2 = {};
|
|
20
20
|
for (r2 in u2)
|
|
21
21
|
"key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : f2[r2] = u2[r2];
|
|
22
22
|
if (arguments.length > 2 && (f2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
|
|
23
23
|
for (r2 in l2.defaultProps)
|
|
24
24
|
void 0 === f2[r2] && (f2[r2] = l2.defaultProps[r2]);
|
|
25
|
-
return
|
|
25
|
+
return g$4(l2, f2, i2, o2, null);
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function g$4(n2, t2, i2, o2, r2) {
|
|
28
28
|
var f2 = { type: n2, props: t2, key: i2, ref: o2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: null == r2 ? ++u$4 : r2, __i: -1, __u: 0 };
|
|
29
29
|
return null == r2 && null != l$4.vnode && l$4.vnode(f2), f2;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function m$1() {
|
|
32
32
|
return { current: null };
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function k$3(n2) {
|
|
35
35
|
return n2.children;
|
|
36
36
|
}
|
|
37
37
|
function b$3(n2, l2) {
|
|
38
38
|
this.props = n2, this.context = l2;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function x$3(n2, l2) {
|
|
41
41
|
if (null == l2)
|
|
42
|
-
return n2.__ ?
|
|
42
|
+
return n2.__ ? x$3(n2.__, n2.__i + 1) : null;
|
|
43
43
|
for (var u2; l2 < n2.__k.length; l2++)
|
|
44
44
|
if (null != (u2 = n2.__k[l2]) && null != u2.__e)
|
|
45
45
|
return u2.__e;
|
|
46
|
-
return "function" == typeof n2.type ?
|
|
46
|
+
return "function" == typeof n2.type ? x$3(n2) : null;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function C$3(n2) {
|
|
49
49
|
var l2, u2;
|
|
50
50
|
if (null != (n2 = n2.__) && null != n2.__c) {
|
|
51
51
|
for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++)
|
|
@@ -53,49 +53,53 @@ function k$3(n2) {
|
|
|
53
53
|
n2.__e = n2.__c.base = u2.__e;
|
|
54
54
|
break;
|
|
55
55
|
}
|
|
56
|
-
return
|
|
56
|
+
return C$3(n2);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
(!n2.__d && (n2.__d = true) && i$3.push(n2) && !
|
|
59
|
+
function M$1(n2) {
|
|
60
|
+
(!n2.__d && (n2.__d = true) && i$3.push(n2) && !P$2.__r++ || o$3 !== l$4.debounceRendering) && ((o$3 = l$4.debounceRendering) || r$3)(P$2);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
var n2, u2, t2, o2, r2, e2, c2, s2
|
|
62
|
+
function P$2() {
|
|
63
|
+
var n2, u2, t2, o2, r2, e2, c2, s2;
|
|
64
64
|
for (i$3.sort(f$4); n2 = i$3.shift(); )
|
|
65
|
-
n2.__d && (u2 = i$3.length, o2 = void 0, e2 = (r2 = (t2 = n2).__v).__e,
|
|
66
|
-
|
|
65
|
+
n2.__d && (u2 = i$3.length, o2 = void 0, e2 = (r2 = (t2 = n2).__v).__e, c2 = [], s2 = [], t2.__P && ((o2 = d$3({}, r2)).__v = r2.__v + 1, l$4.vnode && l$4.vnode(o2), O$2(t2.__P, o2, r2, t2.__n, t2.__P.namespaceURI, 32 & r2.__u ? [e2] : null, c2, null == e2 ? x$3(r2) : e2, !!(32 & r2.__u), s2), o2.__v = r2.__v, o2.__.__k[o2.__i] = o2, j$3(c2, o2, s2), o2.__e != e2 && C$3(o2)), i$3.length > u2 && i$3.sort(f$4));
|
|
66
|
+
P$2.__r = 0;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
var
|
|
70
|
-
for (u2.__d = e2,
|
|
71
|
-
null != (y2 = u2.__k[
|
|
72
|
-
u2.__d = e2, u2.__e =
|
|
68
|
+
function S$1(n2, l2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
|
|
69
|
+
var a2, v2, y2, d2, w2, _2 = t2 && t2.__k || p$4, g2 = l2.length;
|
|
70
|
+
for (u2.__d = e2, $$1(u2, l2, _2), e2 = u2.__d, a2 = 0; a2 < g2; a2++)
|
|
71
|
+
null != (y2 = u2.__k[a2]) && "boolean" != typeof y2 && "function" != typeof y2 && (v2 = -1 === y2.__i ? h$1 : _2[y2.__i] || h$1, y2.__i = a2, O$2(n2, y2, v2, i2, o2, r2, f2, e2, c2, s2), d2 = y2.__e, y2.ref && v2.ref != y2.ref && (v2.ref && N$1(v2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), 65536 & y2.__u || v2.__k === y2.__k ? (e2 && "string" == typeof y2.type && !n2.contains(e2) && (e2 = x$3(v2)), e2 = I$1(y2, e2, n2)) : "function" == typeof y2.type && void 0 !== y2.__d ? e2 = y2.__d : d2 && (e2 = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
|
|
72
|
+
u2.__d = e2, u2.__e = w2;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function $$1(n2, l2, u2) {
|
|
75
75
|
var t2, i2, o2, r2, f2, e2 = l2.length, c2 = u2.length, s2 = c2, a2 = 0;
|
|
76
76
|
for (n2.__k = [], t2 = 0; t2 < e2; t2++)
|
|
77
|
-
null != (i2 = n2.__k[t2] = null == (i2 = l2[t2]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ?
|
|
77
|
+
r2 = t2 + a2, null != (i2 = n2.__k[t2] = null == (i2 = l2[t2]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ? g$4(null, i2, null, null, null) : y$3(i2) ? g$4(k$3, { children: i2 }, null, null, null) : void 0 === i2.constructor && i2.__b > 0 ? g$4(i2.type, i2.props, i2.key, i2.ref ? i2.ref : null, i2.__v) : i2) ? (i2.__ = n2, i2.__b = n2.__b + 1, f2 = L$2(i2, u2, r2, s2), i2.__i = f2, o2 = null, -1 !== f2 && (s2--, (o2 = u2[f2]) && (o2.__u |= 131072)), null == o2 || null === o2.__v ? (-1 == f2 && a2--, "function" != typeof i2.type && (i2.__u |= 65536)) : f2 !== r2 && (f2 == r2 - 1 ? a2 = f2 - r2 : f2 == r2 + 1 ? a2++ : f2 > r2 ? s2 > e2 - r2 ? a2 += f2 - r2 : a2-- : f2 < r2 && a2++, f2 !== t2 + a2 && (i2.__u |= 65536))) : (o2 = u2[r2]) && null == o2.key && o2.__e && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x$3(o2)), V$1(o2, o2, false), u2[r2] = null, s2--);
|
|
78
78
|
if (s2)
|
|
79
79
|
for (t2 = 0; t2 < c2; t2++)
|
|
80
|
-
null != (o2 = u2[t2]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d =
|
|
80
|
+
null != (o2 = u2[t2]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x$3(o2)), V$1(o2, o2));
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function I$1(n2, l2, u2) {
|
|
83
83
|
var t2, i2;
|
|
84
84
|
if ("function" == typeof n2.type) {
|
|
85
85
|
for (t2 = n2.__k, i2 = 0; t2 && i2 < t2.length; i2++)
|
|
86
|
-
t2[i2] && (t2[i2].__ = n2, l2 =
|
|
86
|
+
t2[i2] && (t2[i2].__ = n2, l2 = I$1(t2[i2], l2, u2));
|
|
87
87
|
return l2;
|
|
88
88
|
}
|
|
89
|
-
|
|
89
|
+
n2.__e != l2 && (u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e);
|
|
90
|
+
do {
|
|
91
|
+
l2 = l2 && l2.nextSibling;
|
|
92
|
+
} while (null != l2 && 8 === l2.nodeType);
|
|
93
|
+
return l2;
|
|
90
94
|
}
|
|
91
|
-
function
|
|
92
|
-
return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (
|
|
93
|
-
|
|
95
|
+
function H$1(n2, l2) {
|
|
96
|
+
return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (y$3(n2) ? n2.some(function(n3) {
|
|
97
|
+
H$1(n3, l2);
|
|
94
98
|
}) : l2.push(n2)), l2;
|
|
95
99
|
}
|
|
96
|
-
function
|
|
100
|
+
function L$2(n2, l2, u2, t2) {
|
|
97
101
|
var i2 = n2.key, o2 = n2.type, r2 = u2 - 1, f2 = u2 + 1, e2 = l2[u2];
|
|
98
|
-
if (null === e2 || e2 && i2 == e2.key && o2 === e2.type)
|
|
102
|
+
if (null === e2 || e2 && i2 == e2.key && o2 === e2.type && 0 == (131072 & e2.__u))
|
|
99
103
|
return u2;
|
|
100
104
|
if (t2 > (null != e2 && 0 == (131072 & e2.__u) ? 1 : 0))
|
|
101
105
|
for (; r2 >= 0 || f2 < l2.length; ) {
|
|
@@ -112,10 +116,10 @@ function H$1(n2, l2, u2, t2) {
|
|
|
112
116
|
}
|
|
113
117
|
return -1;
|
|
114
118
|
}
|
|
115
|
-
function
|
|
116
|
-
"-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 ||
|
|
119
|
+
function T$3(n2, l2, u2) {
|
|
120
|
+
"-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || v$2.test(l2) ? u2 : u2 + "px";
|
|
117
121
|
}
|
|
118
|
-
function
|
|
122
|
+
function A$3(n2, l2, u2, t2, i2) {
|
|
119
123
|
var o2;
|
|
120
124
|
n:
|
|
121
125
|
if ("style" === l2)
|
|
@@ -124,80 +128,80 @@ function T$2(n2, l2, u2, t2, i2) {
|
|
|
124
128
|
else {
|
|
125
129
|
if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2)
|
|
126
130
|
for (l2 in t2)
|
|
127
|
-
u2 && l2 in u2 ||
|
|
131
|
+
u2 && l2 in u2 || T$3(n2.style, l2, "");
|
|
128
132
|
if (u2)
|
|
129
133
|
for (l2 in u2)
|
|
130
|
-
t2 && u2[l2] === t2[l2] ||
|
|
134
|
+
t2 && u2[l2] === t2[l2] || T$3(n2.style, l2, u2[l2]);
|
|
131
135
|
}
|
|
132
136
|
else if ("o" === l2[0] && "n" === l2[1])
|
|
133
|
-
o2 = l2 !== (l2 = l2.replace(/(PointerCapture)$|Capture
|
|
137
|
+
o2 = l2 !== (l2 = l2.replace(/(PointerCapture)$|Capture$/i, "$1")), l2 = l2.toLowerCase() in n2 || "onFocusOut" === l2 || "onFocusIn" === l2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + o2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = e$2, n2.addEventListener(l2, o2 ? s$3 : c$3, o2)) : n2.removeEventListener(l2, o2 ? s$3 : c$3, o2);
|
|
134
138
|
else {
|
|
135
|
-
if (i2)
|
|
139
|
+
if ("http://www.w3.org/2000/svg" == i2)
|
|
136
140
|
l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
137
|
-
else if ("width"
|
|
141
|
+
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)
|
|
138
142
|
try {
|
|
139
143
|
n2[l2] = null == u2 ? "" : u2;
|
|
140
144
|
break n;
|
|
141
145
|
} catch (n3) {
|
|
142
146
|
}
|
|
143
|
-
"function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, u2));
|
|
147
|
+
"function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
|
|
144
148
|
}
|
|
145
149
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
150
|
+
function F$2(n2) {
|
|
151
|
+
return function(u2) {
|
|
152
|
+
if (this.l) {
|
|
153
|
+
var t2 = this.l[u2.type + n2];
|
|
154
|
+
if (null == u2.t)
|
|
155
|
+
u2.t = e$2++;
|
|
156
|
+
else if (u2.t < t2.u)
|
|
157
|
+
return;
|
|
158
|
+
return t2(l$4.event ? l$4.event(u2) : u2);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
157
161
|
}
|
|
158
|
-
function
|
|
159
|
-
var a2, p2,
|
|
162
|
+
function O$2(n2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
|
|
163
|
+
var a2, h2, p2, v2, w2, _2, g2, m2, x2, C2, M2, P2, $2, I2, H2, L2, T2 = u2.type;
|
|
160
164
|
if (void 0 !== u2.constructor)
|
|
161
165
|
return null;
|
|
162
166
|
128 & t2.__u && (c2 = !!(32 & t2.__u), r2 = [e2 = u2.__e = t2.__e]), (a2 = l$4.__b) && a2(u2);
|
|
163
167
|
n:
|
|
164
|
-
if ("function" == typeof
|
|
168
|
+
if ("function" == typeof T2)
|
|
165
169
|
try {
|
|
166
|
-
if (
|
|
167
|
-
null ==
|
|
170
|
+
if (m2 = u2.props, x2 = "prototype" in T2 && T2.prototype.render, C2 = (a2 = T2.contextType) && i2[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i2, t2.__c ? g2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (x2 ? u2.__c = h2 = new T2(m2, M2) : (u2.__c = h2 = new b$3(m2, M2), h2.constructor = T2, h2.render = q$2), C2 && C2.sub(h2), h2.props = m2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), x2 && null == h2.__s && (h2.__s = h2.state), x2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d$3({}, h2.__s)), d$3(h2.__s, T2.getDerivedStateFromProps(m2, h2.__s))), v2 = h2.props, w2 = h2.state, h2.__v = u2, p2)
|
|
171
|
+
x2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), x2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
|
|
168
172
|
else {
|
|
169
|
-
if (null ==
|
|
170
|
-
for (u2.__v !== t2.__v && (
|
|
173
|
+
if (x2 && null == T2.getDerivedStateFromProps && m2 !== v2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(m2, M2), !h2.__e && (null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(m2, h2.__s, M2) || u2.__v === t2.__v)) {
|
|
174
|
+
for (u2.__v !== t2.__v && (h2.props = m2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.forEach(function(n3) {
|
|
171
175
|
n3 && (n3.__ = u2);
|
|
172
|
-
}),
|
|
173
|
-
|
|
174
|
-
|
|
176
|
+
}), P2 = 0; P2 < h2._sb.length; P2++)
|
|
177
|
+
h2.__h.push(h2._sb[P2]);
|
|
178
|
+
h2._sb = [], h2.__h.length && f2.push(h2);
|
|
175
179
|
break n;
|
|
176
180
|
}
|
|
177
|
-
null !=
|
|
178
|
-
|
|
181
|
+
null != h2.componentWillUpdate && h2.componentWillUpdate(m2, h2.__s, M2), x2 && null != h2.componentDidUpdate && h2.__h.push(function() {
|
|
182
|
+
h2.componentDidUpdate(v2, w2, _2);
|
|
179
183
|
});
|
|
180
184
|
}
|
|
181
|
-
if (
|
|
182
|
-
for (
|
|
183
|
-
|
|
184
|
-
|
|
185
|
+
if (h2.context = M2, h2.props = m2, h2.__P = n2, h2.__e = false, $2 = l$4.__r, I2 = 0, x2) {
|
|
186
|
+
for (h2.state = h2.__s, h2.__d = false, $2 && $2(u2), a2 = h2.render(h2.props, h2.state, h2.context), H2 = 0; H2 < h2._sb.length; H2++)
|
|
187
|
+
h2.__h.push(h2._sb[H2]);
|
|
188
|
+
h2._sb = [];
|
|
185
189
|
} else
|
|
186
190
|
do {
|
|
187
|
-
|
|
188
|
-
} while (
|
|
189
|
-
|
|
191
|
+
h2.__d = false, $2 && $2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
|
|
192
|
+
} while (h2.__d && ++I2 < 25);
|
|
193
|
+
h2.state = h2.__s, null != h2.getChildContext && (i2 = d$3(d$3({}, i2), h2.getChildContext())), x2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(v2, w2)), S$1(n2, y$3(L2 = null != a2 && a2.type === k$3 && null == a2.key ? a2.props.children : a2) ? L2 : [L2], u2, t2, i2, o2, r2, f2, e2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && f2.push(h2), g2 && (h2.__E = h2.__ = null);
|
|
190
194
|
} catch (n3) {
|
|
191
195
|
u2.__v = null, c2 || null != r2 ? (u2.__e = e2, u2.__u |= c2 ? 160 : 32, r2[r2.indexOf(e2)] = null) : (u2.__e = t2.__e, u2.__k = t2.__k), l$4.__e(n3, u2, t2);
|
|
192
196
|
}
|
|
193
197
|
else
|
|
194
|
-
null == r2 && u2.__v === t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : u2.__e =
|
|
198
|
+
null == r2 && u2.__v === t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : u2.__e = z$2(t2.__e, u2, t2, i2, o2, r2, f2, c2, s2);
|
|
195
199
|
(a2 = l$4.diffed) && a2(u2);
|
|
196
200
|
}
|
|
197
|
-
function
|
|
201
|
+
function j$3(n2, u2, t2) {
|
|
198
202
|
u2.__d = void 0;
|
|
199
203
|
for (var i2 = 0; i2 < t2.length; i2++)
|
|
200
|
-
|
|
204
|
+
N$1(t2[i2], t2[++i2], t2[++i2]);
|
|
201
205
|
l$4.__c && l$4.__c(u2, n2), n2.some(function(u3) {
|
|
202
206
|
try {
|
|
203
207
|
n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
|
|
@@ -208,100 +212,110 @@ function M$1(n2, u2, t2) {
|
|
|
208
212
|
}
|
|
209
213
|
});
|
|
210
214
|
}
|
|
211
|
-
function
|
|
212
|
-
var a2,
|
|
213
|
-
if ("svg" ===
|
|
214
|
-
for (
|
|
215
|
-
if ((
|
|
216
|
-
l2 =
|
|
215
|
+
function z$2(l2, u2, t2, i2, o2, r2, f2, e2, c2) {
|
|
216
|
+
var s2, a2, p2, v2, d2, _2, g2, m2 = t2.props, k2 = u2.props, b2 = u2.type;
|
|
217
|
+
if ("svg" === b2 ? o2 = "http://www.w3.org/2000/svg" : "math" === b2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != r2) {
|
|
218
|
+
for (s2 = 0; s2 < r2.length; s2++)
|
|
219
|
+
if ((d2 = r2[s2]) && "setAttribute" in d2 == !!b2 && (b2 ? d2.localName === b2 : 3 === d2.nodeType)) {
|
|
220
|
+
l2 = d2, r2[s2] = null;
|
|
217
221
|
break;
|
|
218
222
|
}
|
|
219
223
|
}
|
|
220
224
|
if (null == l2) {
|
|
221
|
-
if (null ===
|
|
222
|
-
return document.createTextNode(
|
|
223
|
-
l2 =
|
|
225
|
+
if (null === b2)
|
|
226
|
+
return document.createTextNode(k2);
|
|
227
|
+
l2 = document.createElementNS(o2, b2, k2.is && k2), r2 = null, e2 = false;
|
|
224
228
|
}
|
|
225
|
-
if (null ===
|
|
226
|
-
|
|
229
|
+
if (null === b2)
|
|
230
|
+
m2 === k2 || e2 && l2.data === k2 || (l2.data = k2);
|
|
227
231
|
else {
|
|
228
|
-
if (r2 = r2 && n$1.call(l2.childNodes),
|
|
229
|
-
for (
|
|
230
|
-
|
|
231
|
-
for (
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
232
|
+
if (r2 = r2 && n$1.call(l2.childNodes), m2 = t2.props || h$1, !e2 && null != r2)
|
|
233
|
+
for (m2 = {}, s2 = 0; s2 < l2.attributes.length; s2++)
|
|
234
|
+
m2[(d2 = l2.attributes[s2]).name] = d2.value;
|
|
235
|
+
for (s2 in m2)
|
|
236
|
+
if (d2 = m2[s2], "children" == s2)
|
|
237
|
+
;
|
|
238
|
+
else if ("dangerouslySetInnerHTML" == s2)
|
|
239
|
+
p2 = d2;
|
|
240
|
+
else if ("key" !== s2 && !(s2 in k2)) {
|
|
241
|
+
if ("value" == s2 && "defaultValue" in k2 || "checked" == s2 && "defaultChecked" in k2)
|
|
242
|
+
continue;
|
|
243
|
+
A$3(l2, s2, null, d2, o2);
|
|
244
|
+
}
|
|
245
|
+
for (s2 in k2)
|
|
246
|
+
d2 = k2[s2], "children" == s2 ? v2 = d2 : "dangerouslySetInnerHTML" == s2 ? a2 = d2 : "value" == s2 ? _2 = d2 : "checked" == s2 ? g2 = d2 : "key" === s2 || e2 && "function" != typeof d2 || m2[s2] === d2 || A$3(l2, s2, d2, m2[s2], o2);
|
|
247
|
+
if (a2)
|
|
248
|
+
e2 || p2 && (a2.__html === p2.__html || a2.__html === l2.innerHTML) || (l2.innerHTML = a2.__html), u2.__k = [];
|
|
249
|
+
else if (p2 && (l2.innerHTML = ""), S$1(l2, y$3(v2) ? v2 : [v2], u2, t2, i2, "foreignObject" === b2 ? "http://www.w3.org/1999/xhtml" : o2, r2, f2, r2 ? r2[0] : t2.__k && x$3(t2, 0), e2, c2), null != r2)
|
|
250
|
+
for (s2 = r2.length; s2--; )
|
|
251
|
+
null != r2[s2] && w$4(r2[s2]);
|
|
252
|
+
e2 || (s2 = "value", void 0 !== _2 && (_2 !== l2[s2] || "progress" === b2 && !_2 || "option" === b2 && _2 !== m2[s2]) && A$3(l2, s2, _2, m2[s2], o2), s2 = "checked", void 0 !== g2 && g2 !== l2[s2] && A$3(l2, s2, g2, m2[s2], o2));
|
|
241
253
|
}
|
|
242
254
|
return l2;
|
|
243
255
|
}
|
|
244
|
-
function
|
|
256
|
+
function N$1(n2, u2, t2) {
|
|
245
257
|
try {
|
|
246
258
|
"function" == typeof n2 ? n2(u2) : n2.current = u2;
|
|
247
259
|
} catch (n3) {
|
|
248
260
|
l$4.__e(n3, t2);
|
|
249
261
|
}
|
|
250
262
|
}
|
|
251
|
-
function
|
|
263
|
+
function V$1(n2, u2, t2) {
|
|
252
264
|
var i2, o2;
|
|
253
|
-
if (l$4.unmount && l$4.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e ||
|
|
265
|
+
if (l$4.unmount && l$4.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || N$1(i2, null, u2)), null != (i2 = n2.__c)) {
|
|
254
266
|
if (i2.componentWillUnmount)
|
|
255
267
|
try {
|
|
256
268
|
i2.componentWillUnmount();
|
|
257
269
|
} catch (n3) {
|
|
258
270
|
l$4.__e(n3, u2);
|
|
259
271
|
}
|
|
260
|
-
i2.base = i2.__P = null
|
|
272
|
+
i2.base = i2.__P = null;
|
|
261
273
|
}
|
|
262
274
|
if (i2 = n2.__k)
|
|
263
275
|
for (o2 = 0; o2 < i2.length; o2++)
|
|
264
|
-
i2[o2] &&
|
|
265
|
-
t2 || null == n2.__e ||
|
|
276
|
+
i2[o2] && V$1(i2[o2], u2, t2 || "function" != typeof n2.type);
|
|
277
|
+
t2 || null == n2.__e || w$4(n2.__e), n2.__c = n2.__ = n2.__e = n2.__d = void 0;
|
|
266
278
|
}
|
|
267
|
-
function
|
|
279
|
+
function q$2(n2, l2, u2) {
|
|
268
280
|
return this.constructor(n2, u2);
|
|
269
281
|
}
|
|
270
|
-
function
|
|
282
|
+
function B$2(u2, t2, i2) {
|
|
271
283
|
var o2, r2, f2, e2;
|
|
272
|
-
l$4.__ && l$4.__(u2, t2), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, f2 = [], e2 = [],
|
|
284
|
+
l$4.__ && l$4.__(u2, t2), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, f2 = [], e2 = [], O$2(t2, u2 = (!o2 && i2 || t2).__k = _$3(k$3, null, [u2]), r2 || h$1, h$1, t2.namespaceURI, !o2 && i2 ? [i2] : r2 ? null : t2.firstChild ? n$1.call(t2.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t2.firstChild, o2, e2), j$3(f2, u2, e2);
|
|
273
285
|
}
|
|
274
|
-
function
|
|
275
|
-
|
|
286
|
+
function D$3(n2, l2) {
|
|
287
|
+
B$2(n2, l2, D$3);
|
|
276
288
|
}
|
|
277
|
-
function E$
|
|
278
|
-
var i2, o2, r2, f2, e2 =
|
|
289
|
+
function E$3(l2, u2, t2) {
|
|
290
|
+
var i2, o2, r2, f2, e2 = d$3({}, l2.props);
|
|
279
291
|
for (r2 in l2.type && l2.type.defaultProps && (f2 = l2.type.defaultProps), u2)
|
|
280
292
|
"key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : e2[r2] = void 0 === u2[r2] && void 0 !== f2 ? f2[r2] : u2[r2];
|
|
281
|
-
return arguments.length > 2 && (e2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2),
|
|
293
|
+
return arguments.length > 2 && (e2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), g$4(l2.type, e2, i2 || l2.key, o2 || l2.ref, null);
|
|
282
294
|
}
|
|
283
|
-
function
|
|
284
|
-
var u2 = { __c: l2 = "__cC" +
|
|
295
|
+
function G$1(n2, l2) {
|
|
296
|
+
var u2 = { __c: l2 = "__cC" + a$3++, __: n2, Consumer: function(n3, l3) {
|
|
285
297
|
return n3.children(l3);
|
|
286
298
|
}, Provider: function(n3) {
|
|
287
299
|
var u3, t2;
|
|
288
300
|
return this.getChildContext || (u3 = [], (t2 = {})[l2] = this, this.getChildContext = function() {
|
|
289
301
|
return t2;
|
|
302
|
+
}, this.componentWillUnmount = function() {
|
|
303
|
+
u3 = null;
|
|
290
304
|
}, this.shouldComponentUpdate = function(n4) {
|
|
291
305
|
this.props.value !== n4.value && u3.some(function(n5) {
|
|
292
|
-
n5.__e = true,
|
|
306
|
+
n5.__e = true, M$1(n5);
|
|
293
307
|
});
|
|
294
308
|
}, this.sub = function(n4) {
|
|
295
309
|
u3.push(n4);
|
|
296
310
|
var l3 = n4.componentWillUnmount;
|
|
297
311
|
n4.componentWillUnmount = function() {
|
|
298
|
-
u3.splice(u3.indexOf(n4), 1), l3 && l3.call(n4);
|
|
312
|
+
u3 && u3.splice(u3.indexOf(n4), 1), l3 && l3.call(n4);
|
|
299
313
|
};
|
|
300
314
|
}), n3.children;
|
|
301
315
|
} };
|
|
302
316
|
return u2.Provider.__ = u2.Consumer.contextType = u2;
|
|
303
317
|
}
|
|
304
|
-
n$1 =
|
|
318
|
+
n$1 = p$4.slice, l$4 = { __e: function(n2, l2, u2, t2) {
|
|
305
319
|
for (var i2, o2, r2; l2 = l2.__; )
|
|
306
320
|
if ((i2 = l2.__c) && !i2.__)
|
|
307
321
|
try {
|
|
@@ -315,133 +329,174 @@ n$1 = s$3.slice, l$4 = { __e: function(n2, l2, u2, t2) {
|
|
|
315
329
|
return null != n2 && null == n2.constructor;
|
|
316
330
|
}, b$3.prototype.setState = function(n2, l2) {
|
|
317
331
|
var u2;
|
|
318
|
-
u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s =
|
|
332
|
+
u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = d$3({}, this.state), "function" == typeof n2 && (n2 = n2(d$3({}, u2), this.props)), n2 && d$3(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), M$1(this));
|
|
319
333
|
}, b$3.prototype.forceUpdate = function(n2) {
|
|
320
|
-
this.__v && (this.__e = true, n2 && this.__h.push(n2),
|
|
321
|
-
}, b$3.prototype.render =
|
|
334
|
+
this.__v && (this.__e = true, n2 && this.__h.push(n2), M$1(this));
|
|
335
|
+
}, b$3.prototype.render = k$3, i$3 = [], r$3 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$4 = function(n2, l2) {
|
|
322
336
|
return n2.__v.__b - l2.__v.__b;
|
|
323
|
-
},
|
|
324
|
-
var
|
|
337
|
+
}, P$2.__r = 0, e$2 = 0, c$3 = F$2(false), s$3 = F$2(true), a$3 = 0;
|
|
338
|
+
var n = /[\s\n\\/='"\0<>]/, o$2 = /^(xlink|xmlns|xml)([A-Z])/, i$2 = /^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/, a$2 = /^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/, c$2 = /["&<]/;
|
|
325
339
|
function s$2(e2) {
|
|
326
|
-
if (0 === e2.length || false ===
|
|
340
|
+
if (0 === e2.length || false === c$2.test(e2))
|
|
327
341
|
return e2;
|
|
328
|
-
for (var t2 = 0, r2 = 0,
|
|
342
|
+
for (var t2 = 0, r2 = 0, n2 = "", o2 = ""; r2 < e2.length; r2++) {
|
|
329
343
|
switch (e2.charCodeAt(r2)) {
|
|
330
344
|
case 34:
|
|
331
|
-
|
|
345
|
+
o2 = """;
|
|
332
346
|
break;
|
|
333
347
|
case 38:
|
|
334
|
-
|
|
348
|
+
o2 = "&";
|
|
335
349
|
break;
|
|
336
350
|
case 60:
|
|
337
|
-
|
|
351
|
+
o2 = "<";
|
|
338
352
|
break;
|
|
339
353
|
default:
|
|
340
354
|
continue;
|
|
341
355
|
}
|
|
342
|
-
r2 !== t2 && (
|
|
356
|
+
r2 !== t2 && (n2 += e2.slice(t2, r2)), n2 += o2, t2 = r2 + 1;
|
|
343
357
|
}
|
|
344
|
-
return r2 !== t2 && (
|
|
358
|
+
return r2 !== t2 && (n2 += e2.slice(t2, r2)), n2;
|
|
345
359
|
}
|
|
346
|
-
var
|
|
347
|
-
function
|
|
360
|
+
var l$3 = {}, u$3 = /* @__PURE__ */ new Set(["animation-iteration-count", "border-image-outset", "border-image-slice", "border-image-width", "box-flex", "box-flex-group", "box-ordinal-group", "column-count", "fill-opacity", "flex", "flex-grow", "flex-negative", "flex-order", "flex-positive", "flex-shrink", "flood-opacity", "font-weight", "grid-column", "grid-row", "line-clamp", "line-height", "opacity", "order", "orphans", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "widows", "z-index", "zoom"]), f$3 = /[A-Z]/g;
|
|
361
|
+
function p$3(e2) {
|
|
348
362
|
var t2 = "";
|
|
349
363
|
for (var r2 in e2) {
|
|
350
|
-
var
|
|
351
|
-
if (null !=
|
|
352
|
-
var
|
|
353
|
-
"number" != typeof
|
|
364
|
+
var n2 = e2[r2];
|
|
365
|
+
if (null != n2 && "" !== n2) {
|
|
366
|
+
var o2 = "-" == r2[0] ? r2 : l$3[r2] || (l$3[r2] = r2.replace(f$3, "-$&").toLowerCase()), i2 = ";";
|
|
367
|
+
"number" != typeof n2 || o2.startsWith("--") || u$3.has(o2) || (i2 = "px;"), t2 = t2 + o2 + ":" + n2 + i2;
|
|
354
368
|
}
|
|
355
369
|
}
|
|
356
370
|
return t2 || void 0;
|
|
357
371
|
}
|
|
358
|
-
var
|
|
359
|
-
function
|
|
372
|
+
var y$2, g$3, b$2, k$2, w$3 = [], A$2 = Array.isArray, C$2 = Object.assign;
|
|
373
|
+
function S(n2, o2, i2) {
|
|
360
374
|
var a2 = l$4.__s;
|
|
361
|
-
l$4.__s = true,
|
|
362
|
-
var
|
|
363
|
-
|
|
375
|
+
l$4.__s = true, y$2 = l$4.__b, g$3 = l$4.diffed, b$2 = l$4.__r, k$2 = l$4.unmount;
|
|
376
|
+
var c2 = _$3(k$3, null);
|
|
377
|
+
c2.__k = [n2];
|
|
364
378
|
try {
|
|
365
|
-
|
|
379
|
+
var s2 = j$2(n2, o2 || E$2, false, void 0, c2, false, i2);
|
|
380
|
+
return Array.isArray(s2) ? s2.join("") : s2;
|
|
381
|
+
} catch (e2) {
|
|
382
|
+
if (e2.then)
|
|
383
|
+
throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
|
|
384
|
+
throw e2;
|
|
366
385
|
} finally {
|
|
367
|
-
l$4.__c && l$4.__c(
|
|
386
|
+
l$4.__c && l$4.__c(n2, w$3), l$4.__s = a2, w$3.length = 0;
|
|
368
387
|
}
|
|
369
388
|
}
|
|
370
|
-
function
|
|
389
|
+
function L$1() {
|
|
371
390
|
this.__d = true;
|
|
372
391
|
}
|
|
373
|
-
var
|
|
374
|
-
function
|
|
375
|
-
var r2,
|
|
376
|
-
return e2.__c ? (
|
|
392
|
+
var E$2 = {};
|
|
393
|
+
function T$2(e2, t2) {
|
|
394
|
+
var r2, n2 = e2.type, o2 = true;
|
|
395
|
+
return e2.__c ? (o2 = false, (r2 = e2.__c).state = r2.__s) : r2 = new n2(e2.props, t2), e2.__c = r2, r2.__v = e2, r2.props = e2.props, r2.context = t2, r2.__d = true, null == r2.state && (r2.state = E$2), null == r2.__s && (r2.__s = r2.state), n2.getDerivedStateFromProps ? r2.state = C$2({}, r2.state, n2.getDerivedStateFromProps(r2.props, r2.state)) : o2 && r2.componentWillMount ? (r2.componentWillMount(), r2.state = r2.__s !== r2.state ? r2.__s : r2.state) : !o2 && r2.componentWillUpdate && r2.componentWillUpdate(), b$2 && b$2(e2), r2.render(r2.props, r2.state, t2);
|
|
377
396
|
}
|
|
378
|
-
function
|
|
397
|
+
function j$2(t2, c2, l2, u2, f2, h2, d2) {
|
|
379
398
|
if (null == t2 || true === t2 || false === t2 || "" === t2)
|
|
380
399
|
return "";
|
|
381
400
|
if ("object" != typeof t2)
|
|
382
401
|
return "function" == typeof t2 ? "" : s$2(t2 + "");
|
|
383
|
-
if (
|
|
384
|
-
var v2 = "";
|
|
385
|
-
|
|
386
|
-
for (var
|
|
387
|
-
var
|
|
388
|
-
null !=
|
|
402
|
+
if (A$2(t2)) {
|
|
403
|
+
var _2, v2 = "";
|
|
404
|
+
f2.__k = t2;
|
|
405
|
+
for (var m2 = 0; m2 < t2.length; m2++) {
|
|
406
|
+
var x2 = t2[m2];
|
|
407
|
+
if (null != x2 && "boolean" != typeof x2) {
|
|
408
|
+
var w2, S2 = j$2(x2, c2, l2, u2, f2, h2, d2);
|
|
409
|
+
"string" == typeof S2 ? v2 += S2 : (_2 = _2 || [], v2 && _2.push(v2), v2 = "", Array.isArray(S2) ? (w2 = _2).push.apply(w2, S2) : _2.push(S2));
|
|
410
|
+
}
|
|
389
411
|
}
|
|
390
|
-
return v2;
|
|
412
|
+
return _2 ? (v2 && _2.push(v2), _2) : v2;
|
|
391
413
|
}
|
|
392
414
|
if (void 0 !== t2.constructor)
|
|
393
415
|
return "";
|
|
394
|
-
t2.__ =
|
|
395
|
-
var
|
|
396
|
-
if ("function" == typeof
|
|
397
|
-
if (
|
|
398
|
-
if (
|
|
399
|
-
for (var
|
|
400
|
-
if (
|
|
401
|
-
var
|
|
402
|
-
if (null ==
|
|
416
|
+
t2.__ = f2, y$2 && y$2(t2);
|
|
417
|
+
var E2, P2, U2, Z2 = t2.type, F2 = t2.props, M2 = c2;
|
|
418
|
+
if ("function" == typeof Z2) {
|
|
419
|
+
if (Z2 === k$3) {
|
|
420
|
+
if (F2.tpl) {
|
|
421
|
+
for (var W2 = "", $2 = 0; $2 < F2.tpl.length; $2++)
|
|
422
|
+
if (W2 += F2.tpl[$2], F2.exprs && $2 < F2.exprs.length) {
|
|
423
|
+
var z2 = F2.exprs[$2];
|
|
424
|
+
if (null == z2)
|
|
403
425
|
continue;
|
|
404
|
-
"object" != typeof
|
|
426
|
+
"object" != typeof z2 || void 0 !== z2.constructor && !A$2(z2) ? W2 += z2 : W2 += j$2(z2, c2, l2, u2, t2, h2, d2);
|
|
405
427
|
}
|
|
406
|
-
return
|
|
428
|
+
return W2;
|
|
407
429
|
}
|
|
408
|
-
if (
|
|
409
|
-
return "<!--" + s$2(
|
|
410
|
-
|
|
430
|
+
if (F2.UNSTABLE_comment)
|
|
431
|
+
return "<!--" + s$2(F2.UNSTABLE_comment || "") + "-->";
|
|
432
|
+
P2 = F2.children;
|
|
411
433
|
} else {
|
|
412
|
-
if (null != (
|
|
413
|
-
var
|
|
414
|
-
|
|
434
|
+
if (null != (E2 = Z2.contextType)) {
|
|
435
|
+
var H2 = c2[E2.__c];
|
|
436
|
+
M2 = H2 ? H2.props.value : E2.__;
|
|
415
437
|
}
|
|
416
|
-
if (
|
|
417
|
-
|
|
438
|
+
if (Z2.prototype && "function" == typeof Z2.prototype.render)
|
|
439
|
+
P2 = T$2(t2, M2), U2 = t2.__c;
|
|
418
440
|
else {
|
|
419
|
-
t2.__c =
|
|
420
|
-
for (var
|
|
421
|
-
|
|
422
|
-
|
|
441
|
+
t2.__c = U2 = { __v: t2, props: F2, context: M2, setState: L$1, forceUpdate: L$1, __d: true, __h: [] };
|
|
442
|
+
for (var q2 = 0; U2.__d && q2++ < 25; )
|
|
443
|
+
U2.__d = false, b$2 && b$2(t2), P2 = Z2.call(U2, F2, M2);
|
|
444
|
+
U2.__d = true;
|
|
423
445
|
}
|
|
424
|
-
if (null !=
|
|
425
|
-
var
|
|
426
|
-
|
|
446
|
+
if (null != U2.getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), (Z2.getDerivedStateFromError || U2.componentDidCatch) && l$4.errorBoundaries) {
|
|
447
|
+
var B2 = "";
|
|
448
|
+
P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2;
|
|
427
449
|
try {
|
|
428
|
-
return
|
|
450
|
+
return B2 = j$2(P2, c2, l2, u2, t2, h2, d2);
|
|
429
451
|
} catch (e2) {
|
|
430
|
-
return
|
|
452
|
+
return Z2.getDerivedStateFromError && (U2.__s = Z2.getDerivedStateFromError(e2)), U2.componentDidCatch && U2.componentDidCatch(e2, {}), U2.__d && (P2 = T$2(t2, c2), null != (U2 = t2.__c).getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), B2 = j$2(P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2, c2, l2, u2, t2, h2, d2)), B2;
|
|
431
453
|
} finally {
|
|
432
|
-
|
|
454
|
+
g$3 && g$3(t2), t2.__ = null, k$2 && k$2(t2);
|
|
433
455
|
}
|
|
434
456
|
}
|
|
435
457
|
}
|
|
436
|
-
|
|
437
|
-
|
|
458
|
+
P2 = null != P2 && P2.type === k$3 && null == P2.key && null == P2.props.tpl ? P2.props.children : P2;
|
|
459
|
+
try {
|
|
460
|
+
var I2 = j$2(P2, c2, l2, u2, t2, h2, d2);
|
|
461
|
+
return g$3 && g$3(t2), t2.__ = null, l$4.unmount && l$4.unmount(t2), I2;
|
|
462
|
+
} catch (r2) {
|
|
463
|
+
if (!h2 && d2 && d2.onError) {
|
|
464
|
+
var N2 = d2.onError(r2, t2, function(e2) {
|
|
465
|
+
return j$2(e2, c2, l2, u2, t2, h2, d2);
|
|
466
|
+
});
|
|
467
|
+
if (void 0 !== N2)
|
|
468
|
+
return N2;
|
|
469
|
+
var O2 = l$4.__e;
|
|
470
|
+
return O2 && O2(r2, t2), "";
|
|
471
|
+
}
|
|
472
|
+
if (!h2)
|
|
473
|
+
throw r2;
|
|
474
|
+
if (!r2 || "function" != typeof r2.then)
|
|
475
|
+
throw r2;
|
|
476
|
+
var R2 = function e2() {
|
|
477
|
+
try {
|
|
478
|
+
return j$2(P2, c2, l2, u2, t2, h2, d2);
|
|
479
|
+
} catch (r3) {
|
|
480
|
+
if (!r3 || "function" != typeof r3.then)
|
|
481
|
+
throw r3;
|
|
482
|
+
return r3.then(function() {
|
|
483
|
+
return j$2(P2, c2, l2, u2, t2, h2, d2);
|
|
484
|
+
}, function() {
|
|
485
|
+
return e2();
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
return r2.then(function() {
|
|
490
|
+
return R2();
|
|
491
|
+
});
|
|
492
|
+
}
|
|
438
493
|
}
|
|
439
|
-
var
|
|
440
|
-
for (var
|
|
441
|
-
var
|
|
442
|
-
switch (
|
|
494
|
+
var V2, K2 = "<" + Z2, G2 = "";
|
|
495
|
+
for (var J2 in F2) {
|
|
496
|
+
var Q2 = F2[J2];
|
|
497
|
+
switch (J2) {
|
|
443
498
|
case "children":
|
|
444
|
-
|
|
499
|
+
V2 = Q2;
|
|
445
500
|
continue;
|
|
446
501
|
case "key":
|
|
447
502
|
case "ref":
|
|
@@ -449,67 +504,72 @@ function C$1(t2, l2, c2, p2, u2) {
|
|
|
449
504
|
case "__source":
|
|
450
505
|
continue;
|
|
451
506
|
case "htmlFor":
|
|
452
|
-
if ("for" in
|
|
507
|
+
if ("for" in F2)
|
|
453
508
|
continue;
|
|
454
|
-
|
|
509
|
+
J2 = "for";
|
|
455
510
|
break;
|
|
456
511
|
case "className":
|
|
457
|
-
if ("class" in
|
|
512
|
+
if ("class" in F2)
|
|
458
513
|
continue;
|
|
459
|
-
|
|
514
|
+
J2 = "class";
|
|
460
515
|
break;
|
|
461
516
|
case "defaultChecked":
|
|
462
|
-
|
|
517
|
+
J2 = "checked";
|
|
463
518
|
break;
|
|
464
519
|
case "defaultSelected":
|
|
465
|
-
|
|
520
|
+
J2 = "selected";
|
|
466
521
|
break;
|
|
467
522
|
case "defaultValue":
|
|
468
523
|
case "value":
|
|
469
|
-
switch (
|
|
524
|
+
switch (J2 = "value", Z2) {
|
|
470
525
|
case "textarea":
|
|
471
|
-
|
|
526
|
+
V2 = Q2;
|
|
472
527
|
continue;
|
|
473
528
|
case "select":
|
|
474
|
-
|
|
529
|
+
u2 = Q2;
|
|
475
530
|
continue;
|
|
476
531
|
case "option":
|
|
477
|
-
|
|
532
|
+
u2 != Q2 || "selected" in F2 || (K2 += " selected");
|
|
478
533
|
}
|
|
479
534
|
break;
|
|
480
535
|
case "dangerouslySetInnerHTML":
|
|
481
|
-
|
|
536
|
+
G2 = Q2 && Q2.__html;
|
|
482
537
|
continue;
|
|
483
538
|
case "style":
|
|
484
|
-
"object" == typeof
|
|
539
|
+
"object" == typeof Q2 && (Q2 = p$3(Q2));
|
|
485
540
|
break;
|
|
486
541
|
case "acceptCharset":
|
|
487
|
-
|
|
542
|
+
J2 = "accept-charset";
|
|
488
543
|
break;
|
|
489
544
|
case "httpEquiv":
|
|
490
|
-
|
|
545
|
+
J2 = "http-equiv";
|
|
491
546
|
break;
|
|
492
547
|
default:
|
|
493
|
-
if (
|
|
494
|
-
|
|
548
|
+
if (o$2.test(J2))
|
|
549
|
+
J2 = J2.replace(o$2, "$1:$2").toLowerCase();
|
|
495
550
|
else {
|
|
496
|
-
if (
|
|
551
|
+
if (n.test(J2))
|
|
497
552
|
continue;
|
|
498
|
-
"-" !==
|
|
553
|
+
"-" !== J2[4] && "draggable" !== J2 || null == Q2 ? l2 ? a$2.test(J2) && (J2 = "panose1" === J2 ? "panose-1" : J2.replace(/([A-Z])/g, "-$1").toLowerCase()) : i$2.test(J2) && (J2 = J2.toLowerCase()) : Q2 += "";
|
|
499
554
|
}
|
|
500
555
|
}
|
|
501
|
-
null !=
|
|
556
|
+
null != Q2 && false !== Q2 && "function" != typeof Q2 && (K2 = true === Q2 || "" === Q2 ? K2 + " " + J2 : K2 + " " + J2 + '="' + s$2(Q2 + "") + '"');
|
|
502
557
|
}
|
|
503
|
-
if (
|
|
504
|
-
throw new Error(
|
|
505
|
-
|
|
558
|
+
if (n.test(Z2))
|
|
559
|
+
throw new Error(Z2 + " is not a valid HTML tag name in " + K2 + ">");
|
|
560
|
+
if (G2 || ("string" == typeof V2 ? G2 = s$2(V2) : null != V2 && false !== V2 && true !== V2 && (G2 = j$2(V2, c2, "svg" === Z2 || "foreignObject" !== Z2 && l2, u2, t2, h2, d2))), g$3 && g$3(t2), t2.__ = null, k$2 && k$2(t2), !G2 && D$2.has(Z2))
|
|
561
|
+
return K2 + "/>";
|
|
562
|
+
var X2 = "</" + Z2 + ">", Y2 = K2 + ">";
|
|
563
|
+
return Array.isArray(G2) ? [Y2].concat(G2, [X2]) : "string" != typeof G2 ? [Y2, G2, X2] : Y2 + G2 + X2;
|
|
506
564
|
}
|
|
507
|
-
var
|
|
565
|
+
var D$2 = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
|
|
508
566
|
var f$2 = 0;
|
|
509
567
|
function u$2(e2, t2, n2, o2, i2, u2) {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
568
|
+
t2 || (t2 = {});
|
|
569
|
+
var a2, c2, p2 = t2;
|
|
570
|
+
if ("ref" in p2)
|
|
571
|
+
for (c2 in p2 = {}, t2)
|
|
572
|
+
"ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
|
|
513
573
|
var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f$2, __i: -1, __u: 0, __source: i2, __self: u2 };
|
|
514
574
|
if ("function" == typeof e2 && (a2 = e2.defaultProps))
|
|
515
575
|
for (c2 in a2)
|
|
@@ -517,52 +577,25 @@ function u$2(e2, t2, n2, o2, i2, u2) {
|
|
|
517
577
|
return l$4.vnode && l$4.vnode(l2), l2;
|
|
518
578
|
}
|
|
519
579
|
const icons = {
|
|
520
|
-
bell: u$2("path", {
|
|
521
|
-
|
|
522
|
-
})
|
|
523
|
-
x: u$2("path", {
|
|
524
|
-
d: "M8 8l8 8M8 16l8 -8"
|
|
525
|
-
}),
|
|
526
|
-
"chevron-up-down": u$2("path", {
|
|
527
|
-
d: "M8 9l4 -4l4 4 M8 15l4 4l4 -4"
|
|
528
|
-
})
|
|
580
|
+
bell: /* @__PURE__ */ u$2("path", { d: "M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z" }),
|
|
581
|
+
x: /* @__PURE__ */ u$2("path", { d: "M8 8l8 8M8 16l8 -8" }),
|
|
582
|
+
"chevron-up-down": /* @__PURE__ */ u$2("path", { d: "M8 9l4 -4l4 4 M8 15l4 4l4 -4" })
|
|
529
583
|
};
|
|
530
|
-
const IconSpritesheet = ({
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
children:
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
fill: "none",
|
|
543
|
-
"stroke-width": theme.mode === "dark" ? "1" : "1.5",
|
|
544
|
-
"stroke-linecap": "round",
|
|
545
|
-
"stroke-linejoin": "round",
|
|
546
|
-
stroke: "currentColor",
|
|
547
|
-
children: icon
|
|
548
|
-
})
|
|
549
|
-
}))
|
|
550
|
-
})
|
|
551
|
-
});
|
|
584
|
+
const IconSpritesheet = ({ theme }) => {
|
|
585
|
+
return /* @__PURE__ */ u$2("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u$2("defs", { children: Object.entries(icons).map(([name, icon]) => /* @__PURE__ */ u$2("symbol", { id: `i-icon-${name}`, children: /* @__PURE__ */ u$2(
|
|
586
|
+
"g",
|
|
587
|
+
{
|
|
588
|
+
fill: "none",
|
|
589
|
+
"stroke-width": theme.mode === "dark" ? "1" : "1.5",
|
|
590
|
+
"stroke-linecap": "round",
|
|
591
|
+
"stroke-linejoin": "round",
|
|
592
|
+
stroke: "currentColor",
|
|
593
|
+
children: icon
|
|
594
|
+
}
|
|
595
|
+
) })) }) });
|
|
552
596
|
};
|
|
553
|
-
const Icon = ({
|
|
554
|
-
name
|
|
555
|
-
...props
|
|
556
|
-
}) => {
|
|
557
|
-
return u$2("svg", {
|
|
558
|
-
viewBox: "0 0 24 24",
|
|
559
|
-
width: 24,
|
|
560
|
-
height: 24,
|
|
561
|
-
...props,
|
|
562
|
-
children: u$2("use", {
|
|
563
|
-
href: `#i-icon-${name}`
|
|
564
|
-
})
|
|
565
|
-
});
|
|
597
|
+
const Icon = ({ name, ...props }) => {
|
|
598
|
+
return /* @__PURE__ */ u$2("svg", { viewBox: "0 0 24 24", width: 24, height: 24, ...props, children: /* @__PURE__ */ u$2("use", { href: `#i-icon-${name}` }) });
|
|
566
599
|
};
|
|
567
600
|
function _extends() {
|
|
568
601
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
@@ -578,18 +611,18 @@ function _extends() {
|
|
|
578
611
|
};
|
|
579
612
|
return _extends.apply(this, arguments);
|
|
580
613
|
}
|
|
581
|
-
var t$1, r$2, u$1, i$1, o$1 = 0, f$1 = [], c$1 =
|
|
582
|
-
function d$2(
|
|
583
|
-
|
|
584
|
-
var
|
|
585
|
-
return
|
|
614
|
+
var t$1, r$2, u$1, i$1, o$1 = 0, f$1 = [], c$1 = l$4, e$1 = c$1.__b, a$1 = c$1.__r, v$1 = c$1.diffed, l$2 = c$1.__c, m = c$1.unmount, s$1 = c$1.__;
|
|
615
|
+
function d$2(n2, t2) {
|
|
616
|
+
c$1.__h && c$1.__h(r$2, n2, o$1 || t2), o$1 = 0;
|
|
617
|
+
var u2 = r$2.__H || (r$2.__H = { __: [], __h: [] });
|
|
618
|
+
return n2 >= u2.__.length && u2.__.push({}), u2.__[n2];
|
|
586
619
|
}
|
|
587
620
|
function h(n2) {
|
|
588
|
-
return o$1 = 1,
|
|
621
|
+
return o$1 = 1, p$2(D$1, n2);
|
|
589
622
|
}
|
|
590
|
-
function
|
|
623
|
+
function p$2(n2, u2, i2) {
|
|
591
624
|
var o2 = d$2(t$1++, 2);
|
|
592
|
-
if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) :
|
|
625
|
+
if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : D$1(void 0, u2), function(n3) {
|
|
593
626
|
var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
|
|
594
627
|
t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
|
|
595
628
|
}], o2.__c = r$2, !r$2.u)) {
|
|
@@ -597,7 +630,7 @@ function s$1(n2, u2, i2) {
|
|
|
597
630
|
if (!o2.__c.__H)
|
|
598
631
|
return true;
|
|
599
632
|
var u3 = o2.__c.__H.__.filter(function(n4) {
|
|
600
|
-
return n4.__c;
|
|
633
|
+
return !!n4.__c;
|
|
601
634
|
});
|
|
602
635
|
if (u3.every(function(n4) {
|
|
603
636
|
return !n4.__N;
|
|
@@ -623,21 +656,21 @@ function s$1(n2, u2, i2) {
|
|
|
623
656
|
}
|
|
624
657
|
return o2.__N || o2.__;
|
|
625
658
|
}
|
|
626
|
-
function
|
|
627
|
-
var
|
|
628
|
-
!
|
|
659
|
+
function y$1(n2, u2) {
|
|
660
|
+
var i2 = d$2(t$1++, 3);
|
|
661
|
+
!c$1.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r$2.__H.__h.push(i2));
|
|
629
662
|
}
|
|
630
|
-
function
|
|
631
|
-
var
|
|
632
|
-
!
|
|
663
|
+
function _$2(n2, u2) {
|
|
664
|
+
var i2 = d$2(t$1++, 4);
|
|
665
|
+
!c$1.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r$2.__h.push(i2));
|
|
633
666
|
}
|
|
634
|
-
function
|
|
635
|
-
return o$1 = 5,
|
|
667
|
+
function A$1(n2) {
|
|
668
|
+
return o$1 = 5, T$1(function() {
|
|
636
669
|
return { current: n2 };
|
|
637
670
|
}, []);
|
|
638
671
|
}
|
|
639
|
-
function
|
|
640
|
-
o$1 = 6,
|
|
672
|
+
function F$1(n2, t2, r2) {
|
|
673
|
+
o$1 = 6, _$2(function() {
|
|
641
674
|
return "function" == typeof n2 ? (n2(t2()), function() {
|
|
642
675
|
return n2(null);
|
|
643
676
|
}) : n2 ? (n2.current = t2(), function() {
|
|
@@ -645,23 +678,23 @@ function A$1(n2, t2, r2) {
|
|
|
645
678
|
}) : void 0;
|
|
646
679
|
}, null == r2 ? r2 : r2.concat(n2));
|
|
647
680
|
}
|
|
648
|
-
function
|
|
681
|
+
function T$1(n2, r2) {
|
|
649
682
|
var u2 = d$2(t$1++, 7);
|
|
650
|
-
return
|
|
683
|
+
return C$1(u2.__H, r2) && (u2.__ = n2(), u2.__H = r2, u2.__h = n2), u2.__;
|
|
651
684
|
}
|
|
652
|
-
function
|
|
653
|
-
return o$1 = 8,
|
|
685
|
+
function q$1(n2, t2) {
|
|
686
|
+
return o$1 = 8, T$1(function() {
|
|
654
687
|
return n2;
|
|
655
688
|
}, t2);
|
|
656
689
|
}
|
|
657
|
-
function
|
|
690
|
+
function x$2(n2) {
|
|
658
691
|
var u2 = r$2.context[n2.__c], i2 = d$2(t$1++, 9);
|
|
659
692
|
return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r$2)), u2.props.value) : n2.__;
|
|
660
693
|
}
|
|
661
|
-
function
|
|
662
|
-
|
|
694
|
+
function P$1(n2, t2) {
|
|
695
|
+
c$1.useDebugValue && c$1.useDebugValue(t2 ? t2(n2) : n2);
|
|
663
696
|
}
|
|
664
|
-
function
|
|
697
|
+
function b$1(n2) {
|
|
665
698
|
var u2 = d$2(t$1++, 10), i2 = h();
|
|
666
699
|
return u2.__ = n2, r$2.componentDidCatch || (r$2.componentDidCatch = function(n3, t2) {
|
|
667
700
|
u2.__ && u2.__(n3, t2), i2[1](n3);
|
|
@@ -669,7 +702,7 @@ function P$1(n2) {
|
|
|
669
702
|
i2[1](void 0);
|
|
670
703
|
}];
|
|
671
704
|
}
|
|
672
|
-
function
|
|
705
|
+
function g$2() {
|
|
673
706
|
var n2 = d$2(t$1++, 11);
|
|
674
707
|
if (!n2.__) {
|
|
675
708
|
for (var u2 = r$2.__v; null !== u2 && !u2.__m && null !== u2.__; )
|
|
@@ -679,73 +712,75 @@ function V$1() {
|
|
|
679
712
|
}
|
|
680
713
|
return n2.__;
|
|
681
714
|
}
|
|
682
|
-
function
|
|
683
|
-
for (var
|
|
684
|
-
if (
|
|
715
|
+
function j$1() {
|
|
716
|
+
for (var n2; n2 = f$1.shift(); )
|
|
717
|
+
if (n2.__P && n2.__H)
|
|
685
718
|
try {
|
|
686
|
-
|
|
687
|
-
} catch (
|
|
688
|
-
|
|
719
|
+
n2.__H.__h.forEach(z$1), n2.__H.__h.forEach(B$1), n2.__H.__h = [];
|
|
720
|
+
} catch (t2) {
|
|
721
|
+
n2.__H.__h = [], c$1.__e(t2, n2.__v);
|
|
689
722
|
}
|
|
690
723
|
}
|
|
691
|
-
|
|
724
|
+
c$1.__b = function(n2) {
|
|
692
725
|
r$2 = null, e$1 && e$1(n2);
|
|
693
|
-
},
|
|
726
|
+
}, c$1.__ = function(n2, t2) {
|
|
727
|
+
n2 && t2.__k && t2.__k.__m && (n2.__m = t2.__k.__m), s$1 && s$1(n2, t2);
|
|
728
|
+
}, c$1.__r = function(n2) {
|
|
694
729
|
a$1 && a$1(n2), t$1 = 0;
|
|
695
730
|
var i2 = (r$2 = n2.__c).__H;
|
|
696
731
|
i2 && (u$1 === r$2 ? (i2.__h = [], r$2.__h = [], i2.__.forEach(function(n3) {
|
|
697
|
-
n3.__N && (n3.__ = n3.__N), n3.
|
|
698
|
-
})) : (i2.__h.forEach(
|
|
699
|
-
},
|
|
700
|
-
v$1 && v$1(
|
|
701
|
-
var
|
|
702
|
-
|
|
703
|
-
|
|
732
|
+
n3.__N && (n3.__ = n3.__N), n3.i = n3.__N = void 0;
|
|
733
|
+
})) : (i2.__h.forEach(z$1), i2.__h.forEach(B$1), i2.__h = [], t$1 = 0)), u$1 = r$2;
|
|
734
|
+
}, c$1.diffed = function(n2) {
|
|
735
|
+
v$1 && v$1(n2);
|
|
736
|
+
var t2 = n2.__c;
|
|
737
|
+
t2 && t2.__H && (t2.__H.__h.length && (1 !== f$1.push(t2) && i$1 === c$1.requestAnimationFrame || ((i$1 = c$1.requestAnimationFrame) || w$2)(j$1)), t2.__H.__.forEach(function(n3) {
|
|
738
|
+
n3.i && (n3.__H = n3.i), n3.i = void 0;
|
|
704
739
|
})), u$1 = r$2 = null;
|
|
705
|
-
},
|
|
706
|
-
|
|
740
|
+
}, c$1.__c = function(n2, t2) {
|
|
741
|
+
t2.some(function(n3) {
|
|
707
742
|
try {
|
|
708
|
-
|
|
709
|
-
return !
|
|
743
|
+
n3.__h.forEach(z$1), n3.__h = n3.__h.filter(function(n4) {
|
|
744
|
+
return !n4.__ || B$1(n4);
|
|
710
745
|
});
|
|
711
|
-
} catch (
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
}),
|
|
746
|
+
} catch (r2) {
|
|
747
|
+
t2.some(function(n4) {
|
|
748
|
+
n4.__h && (n4.__h = []);
|
|
749
|
+
}), t2 = [], c$1.__e(r2, n3.__v);
|
|
715
750
|
}
|
|
716
|
-
}), l$2 && l$2(
|
|
717
|
-
},
|
|
718
|
-
m && m(
|
|
719
|
-
var
|
|
720
|
-
|
|
751
|
+
}), l$2 && l$2(n2, t2);
|
|
752
|
+
}, c$1.unmount = function(n2) {
|
|
753
|
+
m && m(n2);
|
|
754
|
+
var t2, r2 = n2.__c;
|
|
755
|
+
r2 && r2.__H && (r2.__H.__.forEach(function(n3) {
|
|
721
756
|
try {
|
|
722
|
-
|
|
723
|
-
} catch (
|
|
724
|
-
|
|
757
|
+
z$1(n3);
|
|
758
|
+
} catch (n4) {
|
|
759
|
+
t2 = n4;
|
|
725
760
|
}
|
|
726
|
-
}),
|
|
761
|
+
}), r2.__H = void 0, t2 && c$1.__e(t2, r2.__v));
|
|
727
762
|
};
|
|
728
|
-
var
|
|
729
|
-
function
|
|
763
|
+
var k$1 = "function" == typeof requestAnimationFrame;
|
|
764
|
+
function w$2(n2) {
|
|
730
765
|
var t2, r2 = function() {
|
|
731
|
-
clearTimeout(u2),
|
|
766
|
+
clearTimeout(u2), k$1 && cancelAnimationFrame(t2), setTimeout(n2);
|
|
732
767
|
}, u2 = setTimeout(r2, 100);
|
|
733
|
-
|
|
768
|
+
k$1 && (t2 = requestAnimationFrame(r2));
|
|
734
769
|
}
|
|
735
|
-
function
|
|
770
|
+
function z$1(n2) {
|
|
736
771
|
var t2 = r$2, u2 = n2.__c;
|
|
737
772
|
"function" == typeof u2 && (n2.__c = void 0, u2()), r$2 = t2;
|
|
738
773
|
}
|
|
739
|
-
function
|
|
774
|
+
function B$1(n2) {
|
|
740
775
|
var t2 = r$2;
|
|
741
776
|
n2.__c = n2.__(), r$2 = t2;
|
|
742
777
|
}
|
|
743
|
-
function
|
|
778
|
+
function C$1(n2, t2) {
|
|
744
779
|
return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
|
|
745
780
|
return t3 !== n2[r2];
|
|
746
781
|
});
|
|
747
782
|
}
|
|
748
|
-
function
|
|
783
|
+
function D$1(n2, t2) {
|
|
749
784
|
return "function" == typeof t2 ? t2(n2) : t2;
|
|
750
785
|
}
|
|
751
786
|
function g$1(n2, t2) {
|
|
@@ -753,7 +788,7 @@ function g$1(n2, t2) {
|
|
|
753
788
|
n2[e2] = t2[e2];
|
|
754
789
|
return n2;
|
|
755
790
|
}
|
|
756
|
-
function
|
|
791
|
+
function E$1(n2, t2) {
|
|
757
792
|
for (var e2 in n2)
|
|
758
793
|
if ("__source" !== e2 && !(e2 in t2))
|
|
759
794
|
return true;
|
|
@@ -762,73 +797,73 @@ function C(n2, t2) {
|
|
|
762
797
|
return true;
|
|
763
798
|
return false;
|
|
764
799
|
}
|
|
765
|
-
function
|
|
766
|
-
this.props = n2;
|
|
800
|
+
function C(n2, t2) {
|
|
801
|
+
this.props = n2, this.context = t2;
|
|
767
802
|
}
|
|
768
|
-
function
|
|
803
|
+
function x$1(n2, e2) {
|
|
769
804
|
function r2(n3) {
|
|
770
805
|
var t2 = this.props.ref, r3 = t2 == n3.ref;
|
|
771
|
-
return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 :
|
|
806
|
+
return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : E$1(this.props, n3);
|
|
772
807
|
}
|
|
773
808
|
function u2(e3) {
|
|
774
|
-
return this.shouldComponentUpdate = r2,
|
|
809
|
+
return this.shouldComponentUpdate = r2, _$3(n2, e3);
|
|
775
810
|
}
|
|
776
811
|
return u2.displayName = "Memo(" + (n2.displayName || n2.name) + ")", u2.prototype.isReactComponent = true, u2.__f = true, u2;
|
|
777
812
|
}
|
|
778
|
-
(
|
|
779
|
-
return
|
|
813
|
+
(C.prototype = new b$3()).isPureReactComponent = true, C.prototype.shouldComponentUpdate = function(n2, t2) {
|
|
814
|
+
return E$1(this.props, n2) || E$1(this.state, t2);
|
|
780
815
|
};
|
|
781
|
-
var
|
|
816
|
+
var R = l$4.__b;
|
|
782
817
|
l$4.__b = function(n2) {
|
|
783
|
-
n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null),
|
|
818
|
+
n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), R && R(n2);
|
|
784
819
|
};
|
|
785
|
-
var
|
|
786
|
-
function
|
|
820
|
+
var w$1 = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
821
|
+
function k(n2) {
|
|
787
822
|
function t2(t3) {
|
|
788
823
|
var e2 = g$1({}, t3);
|
|
789
824
|
return delete e2.ref, n2(e2, t3.ref || null);
|
|
790
825
|
}
|
|
791
|
-
return t2.$$typeof =
|
|
826
|
+
return t2.$$typeof = w$1, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
|
|
792
827
|
}
|
|
793
|
-
var
|
|
794
|
-
return null == n2 ? null :
|
|
795
|
-
},
|
|
796
|
-
return n2 ?
|
|
828
|
+
var I = function(n2, t2) {
|
|
829
|
+
return null == n2 ? null : H$1(H$1(n2).map(t2));
|
|
830
|
+
}, N = { map: I, forEach: I, count: function(n2) {
|
|
831
|
+
return n2 ? H$1(n2).length : 0;
|
|
797
832
|
}, only: function(n2) {
|
|
798
|
-
var t2 =
|
|
833
|
+
var t2 = H$1(n2);
|
|
799
834
|
if (1 !== t2.length)
|
|
800
835
|
throw "Children.only";
|
|
801
836
|
return t2[0];
|
|
802
|
-
}, toArray:
|
|
837
|
+
}, toArray: H$1 }, M = l$4.__e;
|
|
803
838
|
l$4.__e = function(n2, t2, e2, r2) {
|
|
804
839
|
if (n2.then) {
|
|
805
840
|
for (var u2, o2 = t2; o2 = o2.__; )
|
|
806
841
|
if ((u2 = o2.__c) && u2.__c)
|
|
807
842
|
return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
|
|
808
843
|
}
|
|
809
|
-
|
|
844
|
+
M(n2, t2, e2, r2);
|
|
810
845
|
};
|
|
811
846
|
var T = l$4.unmount;
|
|
812
|
-
function
|
|
847
|
+
function A(n2, t2, e2) {
|
|
813
848
|
return n2 && (n2.__c && n2.__c.__H && (n2.__c.__H.__.forEach(function(n3) {
|
|
814
849
|
"function" == typeof n3.__c && n3.__c();
|
|
815
850
|
}), n2.__c.__H = null), null != (n2 = g$1({}, n2)).__c && (n2.__c.__P === e2 && (n2.__c.__P = t2), n2.__c = null), n2.__k = n2.__k && n2.__k.map(function(n3) {
|
|
816
|
-
return
|
|
851
|
+
return A(n3, t2, e2);
|
|
817
852
|
})), n2;
|
|
818
853
|
}
|
|
819
|
-
function
|
|
854
|
+
function D(n2, t2, e2) {
|
|
820
855
|
return n2 && e2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
|
|
821
|
-
return
|
|
856
|
+
return D(n3, t2, e2);
|
|
822
857
|
}), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.appendChild(n2.__e), n2.__c.__e = true, n2.__c.__P = e2)), n2;
|
|
823
858
|
}
|
|
824
859
|
function L() {
|
|
825
860
|
this.__u = 0, this.t = null, this.__b = null;
|
|
826
861
|
}
|
|
827
|
-
function
|
|
862
|
+
function O$1(n2) {
|
|
828
863
|
var t2 = n2.__.__c;
|
|
829
864
|
return t2 && t2.__a && t2.__a(n2);
|
|
830
865
|
}
|
|
831
|
-
function
|
|
866
|
+
function F(n2) {
|
|
832
867
|
var e2, r2, u2;
|
|
833
868
|
function o2(o3) {
|
|
834
869
|
if (e2 || (e2 = n2()).then(function(n3) {
|
|
@@ -839,11 +874,11 @@ function D(n2) {
|
|
|
839
874
|
throw u2;
|
|
840
875
|
if (!r2)
|
|
841
876
|
throw e2;
|
|
842
|
-
return
|
|
877
|
+
return _$3(r2, o3);
|
|
843
878
|
}
|
|
844
879
|
return o2.displayName = "Lazy", o2.__f = true, o2;
|
|
845
880
|
}
|
|
846
|
-
function
|
|
881
|
+
function U() {
|
|
847
882
|
this.u = null, this.o = null;
|
|
848
883
|
}
|
|
849
884
|
l$4.unmount = function(n2) {
|
|
@@ -852,15 +887,15 @@ l$4.unmount = function(n2) {
|
|
|
852
887
|
}, (L.prototype = new b$3()).__c = function(n2, t2) {
|
|
853
888
|
var e2 = t2.__c, r2 = this;
|
|
854
889
|
null == r2.t && (r2.t = []), r2.t.push(e2);
|
|
855
|
-
var u2 =
|
|
856
|
-
o2 || (o2 = true, e2.__R = null, u2 ? u2(
|
|
890
|
+
var u2 = O$1(r2.__v), o2 = false, i2 = function() {
|
|
891
|
+
o2 || (o2 = true, e2.__R = null, u2 ? u2(c2) : c2());
|
|
857
892
|
};
|
|
858
893
|
e2.__R = i2;
|
|
859
|
-
var
|
|
894
|
+
var c2 = function() {
|
|
860
895
|
if (!--r2.__u) {
|
|
861
896
|
if (r2.state.__a) {
|
|
862
897
|
var n3 = r2.state.__a;
|
|
863
|
-
r2.__v.__k[0] =
|
|
898
|
+
r2.__v.__k[0] = D(n3, n3.__c.__P, n3.__c.__O);
|
|
864
899
|
}
|
|
865
900
|
var t3;
|
|
866
901
|
for (r2.setState({ __a: r2.__b = null }); t3 = r2.t.pop(); )
|
|
@@ -874,12 +909,12 @@ l$4.unmount = function(n2) {
|
|
|
874
909
|
if (this.__b) {
|
|
875
910
|
if (this.__v.__k) {
|
|
876
911
|
var r2 = document.createElement("div"), o2 = this.__v.__k[0].__c;
|
|
877
|
-
this.__v.__k[0] =
|
|
912
|
+
this.__v.__k[0] = A(this.__b, r2, o2.__O = o2.__P);
|
|
878
913
|
}
|
|
879
914
|
this.__b = null;
|
|
880
915
|
}
|
|
881
|
-
var i2 = e2.__a &&
|
|
882
|
-
return i2 && (i2.__u &= -33), [
|
|
916
|
+
var i2 = e2.__a && _$3(k$3, null, n2.fallback);
|
|
917
|
+
return i2 && (i2.__u &= -33), [_$3(k$3, null, e2.__a ? null : n2.children), i2];
|
|
883
918
|
};
|
|
884
919
|
var V = function(n2, t2, e2) {
|
|
885
920
|
if (++e2[1] === e2[0] && n2.o.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.o.size))
|
|
@@ -899,35 +934,37 @@ function W(n2) {
|
|
|
899
934
|
function P(n2) {
|
|
900
935
|
var e2 = this, r2 = n2.i;
|
|
901
936
|
e2.componentWillUnmount = function() {
|
|
902
|
-
|
|
903
|
-
}, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [],
|
|
937
|
+
B$2(null, e2.l), e2.l = null, e2.i = null;
|
|
938
|
+
}, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], contains: function() {
|
|
939
|
+
return true;
|
|
940
|
+
}, appendChild: function(n3) {
|
|
904
941
|
this.childNodes.push(n3), e2.i.appendChild(n3);
|
|
905
942
|
}, insertBefore: function(n3, t2) {
|
|
906
943
|
this.childNodes.push(n3), e2.i.appendChild(n3);
|
|
907
944
|
}, removeChild: function(n3) {
|
|
908
945
|
this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.i.removeChild(n3);
|
|
909
|
-
} }),
|
|
946
|
+
} }), B$2(_$3(W, { context: e2.context }, n2.__v), e2.l);
|
|
910
947
|
}
|
|
911
948
|
function j(n2, e2) {
|
|
912
|
-
var r2 =
|
|
949
|
+
var r2 = _$3(P, { __v: n2, i: e2 });
|
|
913
950
|
return r2.containerInfo = e2, r2;
|
|
914
951
|
}
|
|
915
|
-
(
|
|
916
|
-
var t2 = this, e2 =
|
|
952
|
+
(U.prototype = new b$3()).__a = function(n2) {
|
|
953
|
+
var t2 = this, e2 = O$1(t2.__v), r2 = t2.o.get(n2);
|
|
917
954
|
return r2[0]++, function(u2) {
|
|
918
955
|
var o2 = function() {
|
|
919
956
|
t2.props.revealOrder ? (r2.push(u2), V(t2, n2, r2)) : u2();
|
|
920
957
|
};
|
|
921
958
|
e2 ? e2(o2) : o2();
|
|
922
959
|
};
|
|
923
|
-
},
|
|
960
|
+
}, U.prototype.render = function(n2) {
|
|
924
961
|
this.u = null, this.o = /* @__PURE__ */ new Map();
|
|
925
|
-
var t2 =
|
|
962
|
+
var t2 = H$1(n2.children);
|
|
926
963
|
n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
|
|
927
964
|
for (var e2 = t2.length; e2--; )
|
|
928
965
|
this.o.set(t2[e2], this.u = [1, 0, this.u]);
|
|
929
966
|
return n2.children;
|
|
930
|
-
},
|
|
967
|
+
}, U.prototype.componentDidUpdate = U.prototype.componentDidMount = function() {
|
|
931
968
|
var n2 = this;
|
|
932
969
|
this.o.forEach(function(t2, e2) {
|
|
933
970
|
V(n2, e2, t2);
|
|
@@ -937,10 +974,10 @@ var z = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element"
|
|
|
937
974
|
return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
|
|
938
975
|
};
|
|
939
976
|
function q(n2, t2, e2) {
|
|
940
|
-
return null == t2.__k && (t2.textContent = ""),
|
|
977
|
+
return null == t2.__k && (t2.textContent = ""), B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
|
|
941
978
|
}
|
|
942
979
|
function G(n2, t2, e2) {
|
|
943
|
-
return
|
|
980
|
+
return D$3(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
|
|
944
981
|
}
|
|
945
982
|
b$3.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t2) {
|
|
946
983
|
Object.defineProperty(b$3.prototype, t2, { configurable: true, get: function() {
|
|
@@ -970,13 +1007,13 @@ l$4.vnode = function(n2) {
|
|
|
970
1007
|
for (var o2 in t2) {
|
|
971
1008
|
var i2 = t2[o2];
|
|
972
1009
|
if (!("value" === o2 && "defaultValue" in t2 && null == i2 || Y && "children" === o2 && "noscript" === e2 || "class" === o2 || "className" === o2)) {
|
|
973
|
-
var
|
|
974
|
-
"defaultValue" === o2 && "value" in t2 && null == t2.value ? o2 = "value" : "download" === o2 && true === i2 ? i2 = "" : "ondoubleclick" ===
|
|
1010
|
+
var c2 = o2.toLowerCase();
|
|
1011
|
+
"defaultValue" === o2 && "value" in t2 && null == t2.value ? o2 = "value" : "download" === o2 && true === i2 ? i2 = "" : "translate" === c2 && "no" === i2 ? i2 = false : "ondoubleclick" === c2 ? o2 = "ondblclick" : "onchange" !== c2 || "input" !== e2 && "textarea" !== e2 || $(t2.type) ? "onfocus" === c2 ? o2 = "onfocusin" : "onblur" === c2 ? o2 = "onfocusout" : H.test(o2) ? o2 = c2 : -1 === e2.indexOf("-") && B.test(o2) ? o2 = o2.replace(Z, "-$&").toLowerCase() : null === i2 && (i2 = void 0) : c2 = o2 = "oninput", "oninput" === c2 && u2[o2 = c2] && (o2 = "oninputCapture"), u2[o2] = i2;
|
|
975
1012
|
}
|
|
976
1013
|
}
|
|
977
|
-
"select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value =
|
|
1014
|
+
"select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = H$1(t2.children).forEach(function(n4) {
|
|
978
1015
|
n4.props.selected = -1 != u2.value.indexOf(n4.props.value);
|
|
979
|
-
})), "select" == e2 && null != u2.defaultValue && (u2.value =
|
|
1016
|
+
})), "select" == e2 && null != u2.defaultValue && (u2.value = H$1(t2.children).forEach(function(n4) {
|
|
980
1017
|
n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
|
|
981
1018
|
})), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className", tn)) : (t2.className && !t2.class || t2.class && t2.className) && (u2.class = u2.className = t2.className), n3.props = u2;
|
|
982
1019
|
}(n2), n2.$$typeof = z, en && en(n2);
|
|
@@ -993,51 +1030,54 @@ l$4.diffed = function(n2) {
|
|
|
993
1030
|
};
|
|
994
1031
|
var on = { ReactCurrentDispatcher: { current: { readContext: function(n2) {
|
|
995
1032
|
return nn.__n[n2.__c].props.value;
|
|
996
|
-
} } } },
|
|
997
|
-
function
|
|
998
|
-
return
|
|
1033
|
+
}, useCallback: q$1, useContext: x$2, useDebugValue: P$1, useDeferredValue: bn, useEffect: y$1, useId: g$2, useImperativeHandle: F$1, useInsertionEffect: gn, useLayoutEffect: _$2, useMemo: T$1, useReducer: p$2, useRef: A$1, useState: h, useSyncExternalStore: Cn, useTransition: Sn } } }, cn = "17.0.2";
|
|
1034
|
+
function ln(n2) {
|
|
1035
|
+
return _$3.bind(null, n2);
|
|
999
1036
|
}
|
|
1000
1037
|
function fn(n2) {
|
|
1001
1038
|
return !!n2 && n2.$$typeof === z;
|
|
1002
1039
|
}
|
|
1003
1040
|
function an(n2) {
|
|
1004
|
-
return fn(n2) && n2.type ===
|
|
1041
|
+
return fn(n2) && n2.type === k$3;
|
|
1005
1042
|
}
|
|
1006
1043
|
function sn(n2) {
|
|
1007
|
-
return
|
|
1044
|
+
return !!n2 && !!n2.displayName && ("string" == typeof n2.displayName || n2.displayName instanceof String) && n2.displayName.startsWith("Memo(");
|
|
1008
1045
|
}
|
|
1009
1046
|
function hn(n2) {
|
|
1010
|
-
return
|
|
1047
|
+
return fn(n2) ? E$3.apply(null, arguments) : n2;
|
|
1011
1048
|
}
|
|
1012
1049
|
function vn(n2) {
|
|
1050
|
+
return !!n2.__k && (B$2(null, n2), true);
|
|
1051
|
+
}
|
|
1052
|
+
function dn(n2) {
|
|
1013
1053
|
return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
|
|
1014
1054
|
}
|
|
1015
|
-
var
|
|
1055
|
+
var pn = function(n2, t2) {
|
|
1016
1056
|
return n2(t2);
|
|
1017
|
-
},
|
|
1057
|
+
}, mn = function(n2, t2) {
|
|
1018
1058
|
return n2(t2);
|
|
1019
|
-
},
|
|
1020
|
-
function
|
|
1059
|
+
}, yn = k$3;
|
|
1060
|
+
function _n(n2) {
|
|
1021
1061
|
n2();
|
|
1022
1062
|
}
|
|
1023
|
-
function
|
|
1063
|
+
function bn(n2) {
|
|
1024
1064
|
return n2;
|
|
1025
1065
|
}
|
|
1026
|
-
function
|
|
1027
|
-
return [false,
|
|
1066
|
+
function Sn() {
|
|
1067
|
+
return [false, _n];
|
|
1028
1068
|
}
|
|
1029
|
-
var
|
|
1069
|
+
var gn = _$2, En = fn;
|
|
1030
1070
|
function Cn(n2, t2) {
|
|
1031
1071
|
var e2 = t2(), r2 = h({ h: { __: e2, v: t2 } }), u2 = r2[0].h, o2 = r2[1];
|
|
1032
|
-
return
|
|
1033
|
-
u2.__ = e2, u2.v = t2,
|
|
1034
|
-
}, [n2, e2, t2]),
|
|
1035
|
-
return
|
|
1036
|
-
|
|
1072
|
+
return _$2(function() {
|
|
1073
|
+
u2.__ = e2, u2.v = t2, xn(u2) && o2({ h: u2 });
|
|
1074
|
+
}, [n2, e2, t2]), y$1(function() {
|
|
1075
|
+
return xn(u2) && o2({ h: u2 }), n2(function() {
|
|
1076
|
+
xn(u2) && o2({ h: u2 });
|
|
1037
1077
|
});
|
|
1038
1078
|
}, [n2]), e2;
|
|
1039
1079
|
}
|
|
1040
|
-
function
|
|
1080
|
+
function xn(n2) {
|
|
1041
1081
|
var t2, e2, r2 = n2.v, u2 = n2.__;
|
|
1042
1082
|
try {
|
|
1043
1083
|
var o2 = r2();
|
|
@@ -1046,54 +1086,55 @@ function En(n2) {
|
|
|
1046
1086
|
return true;
|
|
1047
1087
|
}
|
|
1048
1088
|
}
|
|
1049
|
-
var
|
|
1089
|
+
var Rn = { useState: h, useId: g$2, useReducer: p$2, useEffect: y$1, useLayoutEffect: _$2, useInsertionEffect: gn, useTransition: Sn, useDeferredValue: bn, useSyncExternalStore: Cn, startTransition: _n, useRef: A$1, useImperativeHandle: F$1, useMemo: T$1, useCallback: q$1, useContext: x$2, useDebugValue: P$1, version: "17.0.2", Children: N, render: q, hydrate: G, unmountComponentAtNode: vn, createPortal: j, createElement: _$3, createContext: G$1, createFactory: ln, cloneElement: hn, createRef: m$1, Fragment: k$3, isValidElement: fn, isElement: En, isFragment: an, isMemo: sn, findDOMNode: dn, Component: b$3, PureComponent: C, memo: x$1, forwardRef: k, flushSync: mn, unstable_batchedUpdates: pn, StrictMode: yn, Suspense: L, SuspenseList: U, lazy: F, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on };
|
|
1050
1090
|
const $2AODx$react = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1051
1091
|
__proto__: null,
|
|
1052
|
-
Children:
|
|
1092
|
+
Children: N,
|
|
1053
1093
|
Component: b$3,
|
|
1054
|
-
Fragment:
|
|
1055
|
-
PureComponent:
|
|
1056
|
-
StrictMode:
|
|
1094
|
+
Fragment: k$3,
|
|
1095
|
+
PureComponent: C,
|
|
1096
|
+
StrictMode: yn,
|
|
1057
1097
|
Suspense: L,
|
|
1058
|
-
SuspenseList:
|
|
1098
|
+
SuspenseList: U,
|
|
1059
1099
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on,
|
|
1060
|
-
cloneElement:
|
|
1061
|
-
createContext:
|
|
1062
|
-
createElement:
|
|
1063
|
-
createFactory:
|
|
1100
|
+
cloneElement: hn,
|
|
1101
|
+
createContext: G$1,
|
|
1102
|
+
createElement: _$3,
|
|
1103
|
+
createFactory: ln,
|
|
1064
1104
|
createPortal: j,
|
|
1065
|
-
createRef:
|
|
1066
|
-
default:
|
|
1067
|
-
findDOMNode:
|
|
1068
|
-
flushSync:
|
|
1069
|
-
forwardRef:
|
|
1105
|
+
createRef: m$1,
|
|
1106
|
+
default: Rn,
|
|
1107
|
+
findDOMNode: dn,
|
|
1108
|
+
flushSync: mn,
|
|
1109
|
+
forwardRef: k,
|
|
1070
1110
|
hydrate: G,
|
|
1071
|
-
isElement:
|
|
1111
|
+
isElement: En,
|
|
1072
1112
|
isFragment: an,
|
|
1113
|
+
isMemo: sn,
|
|
1073
1114
|
isValidElement: fn,
|
|
1074
|
-
lazy:
|
|
1075
|
-
memo:
|
|
1115
|
+
lazy: F,
|
|
1116
|
+
memo: x$1,
|
|
1076
1117
|
render: q,
|
|
1077
|
-
startTransition:
|
|
1078
|
-
unmountComponentAtNode:
|
|
1079
|
-
unstable_batchedUpdates:
|
|
1080
|
-
useCallback:
|
|
1081
|
-
useContext:
|
|
1082
|
-
useDebugValue:
|
|
1083
|
-
useDeferredValue:
|
|
1084
|
-
useEffect:
|
|
1085
|
-
useErrorBoundary:
|
|
1086
|
-
useId:
|
|
1087
|
-
useImperativeHandle:
|
|
1088
|
-
useInsertionEffect:
|
|
1089
|
-
useLayoutEffect:
|
|
1090
|
-
useMemo:
|
|
1091
|
-
useReducer:
|
|
1092
|
-
useRef:
|
|
1118
|
+
startTransition: _n,
|
|
1119
|
+
unmountComponentAtNode: vn,
|
|
1120
|
+
unstable_batchedUpdates: pn,
|
|
1121
|
+
useCallback: q$1,
|
|
1122
|
+
useContext: x$2,
|
|
1123
|
+
useDebugValue: P$1,
|
|
1124
|
+
useDeferredValue: bn,
|
|
1125
|
+
useEffect: y$1,
|
|
1126
|
+
useErrorBoundary: b$1,
|
|
1127
|
+
useId: g$2,
|
|
1128
|
+
useImperativeHandle: F$1,
|
|
1129
|
+
useInsertionEffect: gn,
|
|
1130
|
+
useLayoutEffect: _$2,
|
|
1131
|
+
useMemo: T$1,
|
|
1132
|
+
useReducer: p$2,
|
|
1133
|
+
useRef: A$1,
|
|
1093
1134
|
useState: h,
|
|
1094
1135
|
useSyncExternalStore: Cn,
|
|
1095
|
-
useTransition:
|
|
1096
|
-
version:
|
|
1136
|
+
useTransition: Sn,
|
|
1137
|
+
version: cn
|
|
1097
1138
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1098
1139
|
function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
1099
1140
|
return function handleEvent(event) {
|
|
@@ -1114,12 +1155,12 @@ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
|
|
|
1114
1155
|
);
|
|
1115
1156
|
}
|
|
1116
1157
|
function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
|
|
1117
|
-
return
|
|
1158
|
+
return q$1($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
|
|
1118
1159
|
}
|
|
1119
1160
|
function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeDeps = []) {
|
|
1120
1161
|
let defaultContexts = [];
|
|
1121
1162
|
function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) {
|
|
1122
|
-
const BaseContext = /* @__PURE__ */
|
|
1163
|
+
const BaseContext = /* @__PURE__ */ G$1(defaultContext);
|
|
1123
1164
|
const index2 = defaultContexts.length;
|
|
1124
1165
|
defaultContexts = [
|
|
1125
1166
|
...defaultContexts,
|
|
@@ -1128,17 +1169,17 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
|
|
|
1128
1169
|
function Provider(props) {
|
|
1129
1170
|
const { scope, children, ...context } = props;
|
|
1130
1171
|
const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
|
|
1131
|
-
const value =
|
|
1172
|
+
const value = T$1(
|
|
1132
1173
|
() => context,
|
|
1133
1174
|
Object.values(context)
|
|
1134
1175
|
);
|
|
1135
|
-
return /* @__PURE__ */
|
|
1176
|
+
return /* @__PURE__ */ _$3(Context.Provider, {
|
|
1136
1177
|
value
|
|
1137
1178
|
}, children);
|
|
1138
1179
|
}
|
|
1139
1180
|
function useContext(consumerName, scope) {
|
|
1140
1181
|
const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
|
|
1141
|
-
const context =
|
|
1182
|
+
const context = x$2(Context);
|
|
1142
1183
|
if (context)
|
|
1143
1184
|
return context;
|
|
1144
1185
|
if (defaultContext !== void 0)
|
|
@@ -1153,11 +1194,11 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
|
|
|
1153
1194
|
}
|
|
1154
1195
|
const createScope = () => {
|
|
1155
1196
|
const scopeContexts = defaultContexts.map((defaultContext) => {
|
|
1156
|
-
return /* @__PURE__ */
|
|
1197
|
+
return /* @__PURE__ */ G$1(defaultContext);
|
|
1157
1198
|
});
|
|
1158
1199
|
return function useScope(scope) {
|
|
1159
1200
|
const contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;
|
|
1160
|
-
return
|
|
1201
|
+
return T$1(
|
|
1161
1202
|
() => ({
|
|
1162
1203
|
[`__scope${scopeName}`]: {
|
|
1163
1204
|
...scope,
|
|
@@ -1197,7 +1238,7 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
|
|
|
1197
1238
|
...currentScope
|
|
1198
1239
|
};
|
|
1199
1240
|
}, {});
|
|
1200
|
-
return
|
|
1241
|
+
return T$1(
|
|
1201
1242
|
() => ({
|
|
1202
1243
|
[`__scope${baseScope.scopeName}`]: nextScopes1
|
|
1203
1244
|
}),
|
|
@@ -1210,41 +1251,41 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
|
|
|
1210
1251
|
createScope1.scopeName = baseScope.scopeName;
|
|
1211
1252
|
return createScope1;
|
|
1212
1253
|
}
|
|
1213
|
-
const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */
|
|
1254
|
+
const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
1214
1255
|
const { children, ...slotProps } = props;
|
|
1215
|
-
const childrenArray =
|
|
1256
|
+
const childrenArray = N.toArray(children);
|
|
1216
1257
|
const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
|
|
1217
1258
|
if (slottable) {
|
|
1218
1259
|
const newElement = slottable.props.children;
|
|
1219
1260
|
const newChildren = childrenArray.map((child) => {
|
|
1220
1261
|
if (child === slottable) {
|
|
1221
|
-
if (
|
|
1222
|
-
return
|
|
1262
|
+
if (N.count(newElement) > 1)
|
|
1263
|
+
return N.only(null);
|
|
1223
1264
|
return /* @__PURE__ */ fn(newElement) ? newElement.props.children : null;
|
|
1224
1265
|
} else
|
|
1225
1266
|
return child;
|
|
1226
1267
|
});
|
|
1227
|
-
return /* @__PURE__ */
|
|
1268
|
+
return /* @__PURE__ */ _$3($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
1228
1269
|
ref: forwardedRef
|
|
1229
|
-
}), /* @__PURE__ */ fn(newElement) ? /* @__PURE__ */
|
|
1270
|
+
}), /* @__PURE__ */ fn(newElement) ? /* @__PURE__ */ hn(newElement, void 0, newChildren) : null);
|
|
1230
1271
|
}
|
|
1231
|
-
return /* @__PURE__ */
|
|
1272
|
+
return /* @__PURE__ */ _$3($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
1232
1273
|
ref: forwardedRef
|
|
1233
1274
|
}), children);
|
|
1234
1275
|
});
|
|
1235
1276
|
$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
|
|
1236
|
-
const $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */
|
|
1277
|
+
const $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
1237
1278
|
const { children, ...slotProps } = props;
|
|
1238
1279
|
if (/* @__PURE__ */ fn(children))
|
|
1239
|
-
return /* @__PURE__ */
|
|
1280
|
+
return /* @__PURE__ */ hn(children, {
|
|
1240
1281
|
...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
|
|
1241
1282
|
ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
|
|
1242
1283
|
});
|
|
1243
|
-
return
|
|
1284
|
+
return N.count(children) > 1 ? N.only(null) : null;
|
|
1244
1285
|
});
|
|
1245
1286
|
$5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
|
|
1246
1287
|
const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children }) => {
|
|
1247
|
-
return /* @__PURE__ */
|
|
1288
|
+
return /* @__PURE__ */ _$3(k$3, null, children);
|
|
1248
1289
|
};
|
|
1249
1290
|
function $5e63c961fc1ce211$var$isSlottable(child) {
|
|
1250
1291
|
return /* @__PURE__ */ fn(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
@@ -1300,13 +1341,13 @@ const $8927f6f2acc4f386$var$NODES = [
|
|
|
1300
1341
|
"ul"
|
|
1301
1342
|
];
|
|
1302
1343
|
const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.reduce((primitive, node) => {
|
|
1303
|
-
const Node2 = /* @__PURE__ */
|
|
1344
|
+
const Node2 = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
1304
1345
|
const { asChild, ...primitiveProps } = props;
|
|
1305
1346
|
const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node;
|
|
1306
|
-
|
|
1347
|
+
y$1(() => {
|
|
1307
1348
|
window[Symbol.for("radix-ui")] = true;
|
|
1308
1349
|
}, []);
|
|
1309
|
-
return /* @__PURE__ */
|
|
1350
|
+
return /* @__PURE__ */ _$3(Comp, _extends({}, primitiveProps, {
|
|
1310
1351
|
ref: forwardedRef
|
|
1311
1352
|
}));
|
|
1312
1353
|
});
|
|
@@ -1318,16 +1359,16 @@ const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.re
|
|
|
1318
1359
|
}, {});
|
|
1319
1360
|
function $8927f6f2acc4f386$export$6d1a0317bde7de7f(target, event) {
|
|
1320
1361
|
if (target)
|
|
1321
|
-
|
|
1362
|
+
mn(
|
|
1322
1363
|
() => target.dispatchEvent(event)
|
|
1323
1364
|
);
|
|
1324
1365
|
}
|
|
1325
1366
|
function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
1326
|
-
const callbackRef =
|
|
1327
|
-
|
|
1367
|
+
const callbackRef = A$1(callback);
|
|
1368
|
+
y$1(() => {
|
|
1328
1369
|
callbackRef.current = callback;
|
|
1329
1370
|
});
|
|
1330
|
-
return
|
|
1371
|
+
return T$1(
|
|
1331
1372
|
() => (...args) => {
|
|
1332
1373
|
var _callbackRef$current;
|
|
1333
1374
|
return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
|
|
@@ -1337,7 +1378,7 @@ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
|
1337
1378
|
}
|
|
1338
1379
|
function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
1339
1380
|
const onEscapeKeyDown = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onEscapeKeyDownProp);
|
|
1340
|
-
|
|
1381
|
+
y$1(() => {
|
|
1341
1382
|
const handleKeyDown = (event) => {
|
|
1342
1383
|
if (event.key === "Escape")
|
|
1343
1384
|
onEscapeKeyDown(event);
|
|
@@ -1353,15 +1394,15 @@ const $5cb92bef7577960e$var$CONTEXT_UPDATE = "dismissableLayer.update";
|
|
|
1353
1394
|
const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
1354
1395
|
const $5cb92bef7577960e$var$FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
1355
1396
|
let $5cb92bef7577960e$var$originalBodyPointerEvents;
|
|
1356
|
-
const $5cb92bef7577960e$var$DismissableLayerContext = /* @__PURE__ */
|
|
1397
|
+
const $5cb92bef7577960e$var$DismissableLayerContext = /* @__PURE__ */ G$1({
|
|
1357
1398
|
layers: /* @__PURE__ */ new Set(),
|
|
1358
1399
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1359
1400
|
branches: /* @__PURE__ */ new Set()
|
|
1360
1401
|
});
|
|
1361
|
-
const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */
|
|
1402
|
+
const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
1362
1403
|
var _node$ownerDocument;
|
|
1363
1404
|
const { disableOutsidePointerEvents = false, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, onDismiss, ...layerProps } = props;
|
|
1364
|
-
const context =
|
|
1405
|
+
const context = x$2($5cb92bef7577960e$var$DismissableLayerContext);
|
|
1365
1406
|
const [node1, setNode] = h(null);
|
|
1366
1407
|
const ownerDocument = (_node$ownerDocument = node1 === null || node1 === void 0 ? void 0 : node1.ownerDocument) !== null && _node$ownerDocument !== void 0 ? _node$ownerDocument : globalThis === null || globalThis === void 0 ? void 0 : globalThis.document;
|
|
1367
1408
|
const [, force] = h({});
|
|
@@ -1415,7 +1456,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ N((props, forw
|
|
|
1415
1456
|
onDismiss();
|
|
1416
1457
|
}
|
|
1417
1458
|
}, ownerDocument);
|
|
1418
|
-
|
|
1459
|
+
y$1(() => {
|
|
1419
1460
|
if (!node1)
|
|
1420
1461
|
return;
|
|
1421
1462
|
if (disableOutsidePointerEvents) {
|
|
@@ -1437,7 +1478,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ N((props, forw
|
|
|
1437
1478
|
disableOutsidePointerEvents,
|
|
1438
1479
|
context
|
|
1439
1480
|
]);
|
|
1440
|
-
|
|
1481
|
+
y$1(() => {
|
|
1441
1482
|
return () => {
|
|
1442
1483
|
if (!node1)
|
|
1443
1484
|
return;
|
|
@@ -1449,12 +1490,12 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ N((props, forw
|
|
|
1449
1490
|
node1,
|
|
1450
1491
|
context
|
|
1451
1492
|
]);
|
|
1452
|
-
|
|
1493
|
+
y$1(() => {
|
|
1453
1494
|
const handleUpdate = () => force({});
|
|
1454
1495
|
document.addEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
1455
1496
|
return () => document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
1456
1497
|
}, []);
|
|
1457
|
-
return /* @__PURE__ */
|
|
1498
|
+
return /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, layerProps, {
|
|
1458
1499
|
ref: composedRefs,
|
|
1459
1500
|
style: {
|
|
1460
1501
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0,
|
|
@@ -1467,10 +1508,10 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ N((props, forw
|
|
|
1467
1508
|
});
|
|
1468
1509
|
function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
1469
1510
|
const handlePointerDownOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPointerDownOutside);
|
|
1470
|
-
const isPointerInsideReactTreeRef =
|
|
1471
|
-
const handleClickRef =
|
|
1511
|
+
const isPointerInsideReactTreeRef = A$1(false);
|
|
1512
|
+
const handleClickRef = A$1(() => {
|
|
1472
1513
|
});
|
|
1473
|
-
|
|
1514
|
+
y$1(() => {
|
|
1474
1515
|
const handlePointerDown = (event) => {
|
|
1475
1516
|
if (event.target && !isPointerInsideReactTreeRef.current) {
|
|
1476
1517
|
let handleAndDispatchPointerDownOutsideEvent = function() {
|
|
@@ -1512,8 +1553,8 @@ function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, owner
|
|
|
1512
1553
|
}
|
|
1513
1554
|
function $5cb92bef7577960e$var$useFocusOutside(onFocusOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
1514
1555
|
const handleFocusOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onFocusOutside);
|
|
1515
|
-
const isFocusInsideReactTreeRef =
|
|
1516
|
-
|
|
1556
|
+
const isFocusInsideReactTreeRef = A$1(false);
|
|
1557
|
+
y$1(() => {
|
|
1517
1558
|
const handleFocus = (event) => {
|
|
1518
1559
|
if (event.target && !isFocusInsideReactTreeRef.current) {
|
|
1519
1560
|
const eventDetail = {
|
|
@@ -1557,7 +1598,7 @@ function $5cb92bef7577960e$var$handleAndDispatchCustomEvent(name, handler, detai
|
|
|
1557
1598
|
}
|
|
1558
1599
|
let $3db38b7d1fb3fe6a$var$count = 0;
|
|
1559
1600
|
function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c() {
|
|
1560
|
-
|
|
1601
|
+
y$1(() => {
|
|
1561
1602
|
var _edgeGuards$, _edgeGuards$2;
|
|
1562
1603
|
const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1563
1604
|
document.body.insertAdjacentElement("afterbegin", (_edgeGuards$ = edgeGuards[0]) !== null && _edgeGuards$ !== void 0 ? _edgeGuards$ : $3db38b7d1fb3fe6a$var$createFocusGuard());
|
|
@@ -1585,17 +1626,17 @@ const $d3863c46a17e8a28$var$EVENT_OPTIONS = {
|
|
|
1585
1626
|
bubbles: false,
|
|
1586
1627
|
cancelable: true
|
|
1587
1628
|
};
|
|
1588
|
-
const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */
|
|
1629
|
+
const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
1589
1630
|
const { loop = false, trapped = false, onMountAutoFocus: onMountAutoFocusProp, onUnmountAutoFocus: onUnmountAutoFocusProp, ...scopeProps } = props;
|
|
1590
1631
|
const [container1, setContainer] = h(null);
|
|
1591
1632
|
const onMountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onMountAutoFocusProp);
|
|
1592
1633
|
const onUnmountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onUnmountAutoFocusProp);
|
|
1593
|
-
const lastFocusedElementRef =
|
|
1634
|
+
const lastFocusedElementRef = A$1(null);
|
|
1594
1635
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
1595
1636
|
forwardedRef,
|
|
1596
1637
|
(node) => setContainer(node)
|
|
1597
1638
|
);
|
|
1598
|
-
const focusScope =
|
|
1639
|
+
const focusScope = A$1({
|
|
1599
1640
|
paused: false,
|
|
1600
1641
|
pause() {
|
|
1601
1642
|
this.paused = true;
|
|
@@ -1604,7 +1645,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ N((props, forw
|
|
|
1604
1645
|
this.paused = false;
|
|
1605
1646
|
}
|
|
1606
1647
|
}).current;
|
|
1607
|
-
|
|
1648
|
+
y$1(() => {
|
|
1608
1649
|
if (trapped) {
|
|
1609
1650
|
let handleFocusIn = function(event) {
|
|
1610
1651
|
if (focusScope.paused || !container1)
|
|
@@ -1653,7 +1694,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ N((props, forw
|
|
|
1653
1694
|
container1,
|
|
1654
1695
|
focusScope.paused
|
|
1655
1696
|
]);
|
|
1656
|
-
|
|
1697
|
+
y$1(() => {
|
|
1657
1698
|
if (container1) {
|
|
1658
1699
|
$d3863c46a17e8a28$var$focusScopesStack.add(focusScope);
|
|
1659
1700
|
const previouslyFocusedElement = document.activeElement;
|
|
@@ -1691,7 +1732,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ N((props, forw
|
|
|
1691
1732
|
onUnmountAutoFocus,
|
|
1692
1733
|
focusScope
|
|
1693
1734
|
]);
|
|
1694
|
-
const handleKeyDown =
|
|
1735
|
+
const handleKeyDown = q$1((event) => {
|
|
1695
1736
|
if (!loop && !trapped)
|
|
1696
1737
|
return;
|
|
1697
1738
|
if (focusScope.paused)
|
|
@@ -1726,7 +1767,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ N((props, forw
|
|
|
1726
1767
|
trapped,
|
|
1727
1768
|
focusScope.paused
|
|
1728
1769
|
]);
|
|
1729
|
-
return /* @__PURE__ */
|
|
1770
|
+
return /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
1730
1771
|
tabIndex: -1
|
|
1731
1772
|
}, scopeProps, {
|
|
1732
1773
|
ref: composedRefs,
|
|
@@ -1831,7 +1872,7 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
|
|
|
1831
1872
|
(item) => item.tagName !== "A"
|
|
1832
1873
|
);
|
|
1833
1874
|
}
|
|
1834
|
-
const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ?
|
|
1875
|
+
const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? _$2 : () => {
|
|
1835
1876
|
};
|
|
1836
1877
|
const $1746a345f3d73bb7$var$useReactId = $2AODx$react["useId".toString()] || (() => void 0);
|
|
1837
1878
|
let $1746a345f3d73bb7$var$count = 0;
|
|
@@ -2171,7 +2212,7 @@ async function detectOverflow(state, options) {
|
|
|
2171
2212
|
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
2172
2213
|
};
|
|
2173
2214
|
}
|
|
2174
|
-
const arrow$
|
|
2215
|
+
const arrow$3 = (options) => ({
|
|
2175
2216
|
name: "arrow",
|
|
2176
2217
|
options,
|
|
2177
2218
|
async fn(state) {
|
|
@@ -2233,7 +2274,7 @@ const arrow$2 = (options) => ({
|
|
|
2233
2274
|
};
|
|
2234
2275
|
}
|
|
2235
2276
|
});
|
|
2236
|
-
const flip$
|
|
2277
|
+
const flip$2 = function(options) {
|
|
2237
2278
|
if (options === void 0) {
|
|
2238
2279
|
options = {};
|
|
2239
2280
|
}
|
|
@@ -2263,10 +2304,12 @@ const flip$1 = function(options) {
|
|
|
2263
2304
|
return {};
|
|
2264
2305
|
}
|
|
2265
2306
|
const side = getSide(placement);
|
|
2307
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
2266
2308
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
2267
2309
|
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
2268
2310
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
2269
|
-
|
|
2311
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
2312
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
2270
2313
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
2271
2314
|
}
|
|
2272
2315
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
@@ -2303,8 +2346,16 @@ const flip$1 = function(options) {
|
|
|
2303
2346
|
if (!resetPlacement) {
|
|
2304
2347
|
switch (fallbackStrategy) {
|
|
2305
2348
|
case "bestFit": {
|
|
2306
|
-
var _overflowsData$
|
|
2307
|
-
const placement2 = (_overflowsData$
|
|
2349
|
+
var _overflowsData$filter2;
|
|
2350
|
+
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d2) => {
|
|
2351
|
+
if (hasFallbackAxisSideDirection) {
|
|
2352
|
+
const currentSideAxis = getSideAxis(d2.placement);
|
|
2353
|
+
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
2354
|
+
// reading directions favoring greater width.
|
|
2355
|
+
currentSideAxis === "y";
|
|
2356
|
+
}
|
|
2357
|
+
return true;
|
|
2358
|
+
}).map((d2) => [d2.placement, d2.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a2, b2) => a2[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
2308
2359
|
if (placement2) {
|
|
2309
2360
|
resetPlacement = placement2;
|
|
2310
2361
|
}
|
|
@@ -2338,7 +2389,7 @@ function getSideOffsets(overflow, rect) {
|
|
|
2338
2389
|
function isAnySideFullyClipped(overflow) {
|
|
2339
2390
|
return sides.some((side) => overflow[side] >= 0);
|
|
2340
2391
|
}
|
|
2341
|
-
const hide$
|
|
2392
|
+
const hide$2 = function(options) {
|
|
2342
2393
|
if (options === void 0) {
|
|
2343
2394
|
options = {};
|
|
2344
2395
|
}
|
|
@@ -2425,7 +2476,7 @@ async function convertValueToCoords(state, options) {
|
|
|
2425
2476
|
y: crossAxis * crossAxisMulti
|
|
2426
2477
|
};
|
|
2427
2478
|
}
|
|
2428
|
-
const offset$
|
|
2479
|
+
const offset$2 = function(options) {
|
|
2429
2480
|
if (options === void 0) {
|
|
2430
2481
|
options = 0;
|
|
2431
2482
|
}
|
|
@@ -2455,7 +2506,7 @@ const offset$1 = function(options) {
|
|
|
2455
2506
|
}
|
|
2456
2507
|
};
|
|
2457
2508
|
};
|
|
2458
|
-
const shift$
|
|
2509
|
+
const shift$2 = function(options) {
|
|
2459
2510
|
if (options === void 0) {
|
|
2460
2511
|
options = {};
|
|
2461
2512
|
}
|
|
@@ -2523,7 +2574,7 @@ const shift$1 = function(options) {
|
|
|
2523
2574
|
}
|
|
2524
2575
|
};
|
|
2525
2576
|
};
|
|
2526
|
-
const limitShift$
|
|
2577
|
+
const limitShift$2 = function(options) {
|
|
2527
2578
|
if (options === void 0) {
|
|
2528
2579
|
options = {};
|
|
2529
2580
|
}
|
|
@@ -2588,7 +2639,7 @@ const limitShift$1 = function(options) {
|
|
|
2588
2639
|
}
|
|
2589
2640
|
};
|
|
2590
2641
|
};
|
|
2591
|
-
const size$
|
|
2642
|
+
const size$2 = function(options) {
|
|
2592
2643
|
if (options === void 0) {
|
|
2593
2644
|
options = {};
|
|
2594
2645
|
}
|
|
@@ -2624,16 +2675,16 @@ const size$1 = function(options) {
|
|
|
2624
2675
|
widthSide = side;
|
|
2625
2676
|
heightSide = alignment === "end" ? "top" : "bottom";
|
|
2626
2677
|
}
|
|
2627
|
-
const
|
|
2628
|
-
const
|
|
2678
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
2679
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
2680
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
2681
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
2629
2682
|
const noShift = !state.middlewareData.shift;
|
|
2630
2683
|
let availableHeight = overflowAvailableHeight;
|
|
2631
2684
|
let availableWidth = overflowAvailableWidth;
|
|
2632
2685
|
if (isYAxis) {
|
|
2633
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
2634
2686
|
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
2635
2687
|
} else {
|
|
2636
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
2637
2688
|
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
2638
2689
|
}
|
|
2639
2690
|
if (noShift && !alignment) {
|
|
@@ -2705,9 +2756,18 @@ function isOverflowElement(element) {
|
|
|
2705
2756
|
function isTableElement(element) {
|
|
2706
2757
|
return ["table", "td", "th"].includes(getNodeName(element));
|
|
2707
2758
|
}
|
|
2708
|
-
function
|
|
2759
|
+
function isTopLayer(element) {
|
|
2760
|
+
return [":popover-open", ":modal"].some((selector) => {
|
|
2761
|
+
try {
|
|
2762
|
+
return element.matches(selector);
|
|
2763
|
+
} catch (e2) {
|
|
2764
|
+
return false;
|
|
2765
|
+
}
|
|
2766
|
+
});
|
|
2767
|
+
}
|
|
2768
|
+
function isContainingBlock(elementOrCss) {
|
|
2709
2769
|
const webkit = isWebKit();
|
|
2710
|
-
const css = getComputedStyle$1(
|
|
2770
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
2711
2771
|
return css.transform !== "none" || css.perspective !== "none" || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || ["transform", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
|
|
2712
2772
|
}
|
|
2713
2773
|
function getContainingBlock(element) {
|
|
@@ -2715,6 +2775,8 @@ function getContainingBlock(element) {
|
|
|
2715
2775
|
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
2716
2776
|
if (isContainingBlock(currentNode)) {
|
|
2717
2777
|
return currentNode;
|
|
2778
|
+
} else if (isTopLayer(currentNode)) {
|
|
2779
|
+
return null;
|
|
2718
2780
|
}
|
|
2719
2781
|
currentNode = getParentNode(currentNode);
|
|
2720
2782
|
}
|
|
@@ -2739,8 +2801,8 @@ function getNodeScroll(element) {
|
|
|
2739
2801
|
};
|
|
2740
2802
|
}
|
|
2741
2803
|
return {
|
|
2742
|
-
scrollLeft: element.
|
|
2743
|
-
scrollTop: element.
|
|
2804
|
+
scrollLeft: element.scrollX,
|
|
2805
|
+
scrollTop: element.scrollY
|
|
2744
2806
|
};
|
|
2745
2807
|
}
|
|
2746
2808
|
function getParentNode(node) {
|
|
@@ -2778,10 +2840,14 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
2778
2840
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
2779
2841
|
const win = getWindow(scrollableAncestor);
|
|
2780
2842
|
if (isBody) {
|
|
2781
|
-
|
|
2843
|
+
const frameElement = getFrameElement(win);
|
|
2844
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
2782
2845
|
}
|
|
2783
2846
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
2784
2847
|
}
|
|
2848
|
+
function getFrameElement(win) {
|
|
2849
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
2850
|
+
}
|
|
2785
2851
|
function getCssDimensions(element) {
|
|
2786
2852
|
const css = getComputedStyle$1(element);
|
|
2787
2853
|
let width = parseFloat(css.width) || 0;
|
|
@@ -2875,7 +2941,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
2875
2941
|
const win = getWindow(domElement);
|
|
2876
2942
|
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
2877
2943
|
let currentWin = win;
|
|
2878
|
-
let currentIFrame = currentWin
|
|
2944
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
2879
2945
|
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
2880
2946
|
const iframeScale = getScale(currentIFrame);
|
|
2881
2947
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
@@ -2889,7 +2955,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
2889
2955
|
x2 += left;
|
|
2890
2956
|
y2 += top;
|
|
2891
2957
|
currentWin = getWindow(currentIFrame);
|
|
2892
|
-
currentIFrame = currentWin
|
|
2958
|
+
currentIFrame = getFrameElement(currentWin);
|
|
2893
2959
|
}
|
|
2894
2960
|
}
|
|
2895
2961
|
return rectToClientRect({
|
|
@@ -2899,16 +2965,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
2899
2965
|
y: y2
|
|
2900
2966
|
});
|
|
2901
2967
|
}
|
|
2902
|
-
const topLayerSelectors = [":popover-open", ":modal"];
|
|
2903
|
-
function isTopLayer(floating) {
|
|
2904
|
-
return topLayerSelectors.some((selector) => {
|
|
2905
|
-
try {
|
|
2906
|
-
return floating.matches(selector);
|
|
2907
|
-
} catch (e2) {
|
|
2908
|
-
return false;
|
|
2909
|
-
}
|
|
2910
|
-
});
|
|
2911
|
-
}
|
|
2912
2968
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
2913
2969
|
let {
|
|
2914
2970
|
elements,
|
|
@@ -3069,7 +3125,7 @@ function getClippingRect(_ref) {
|
|
|
3069
3125
|
rootBoundary,
|
|
3070
3126
|
strategy
|
|
3071
3127
|
} = _ref;
|
|
3072
|
-
const elementClippingAncestors = boundary === "clippingAncestors" ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
3128
|
+
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
3073
3129
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
3074
3130
|
const firstClippingAncestor = clippingAncestors[0];
|
|
3075
3131
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
@@ -3128,6 +3184,9 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
3128
3184
|
height: rect.height
|
|
3129
3185
|
};
|
|
3130
3186
|
}
|
|
3187
|
+
function isStaticPositioned(element) {
|
|
3188
|
+
return getComputedStyle$1(element).position === "static";
|
|
3189
|
+
}
|
|
3131
3190
|
function getTrueOffsetParent(element, polyfill) {
|
|
3132
3191
|
if (!isHTMLElement(element) || getComputedStyle$1(element).position === "fixed") {
|
|
3133
3192
|
return null;
|
|
@@ -3138,18 +3197,28 @@ function getTrueOffsetParent(element, polyfill) {
|
|
|
3138
3197
|
return element.offsetParent;
|
|
3139
3198
|
}
|
|
3140
3199
|
function getOffsetParent(element, polyfill) {
|
|
3141
|
-
const
|
|
3142
|
-
if (
|
|
3143
|
-
return
|
|
3200
|
+
const win = getWindow(element);
|
|
3201
|
+
if (isTopLayer(element)) {
|
|
3202
|
+
return win;
|
|
3203
|
+
}
|
|
3204
|
+
if (!isHTMLElement(element)) {
|
|
3205
|
+
let svgOffsetParent = getParentNode(element);
|
|
3206
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
3207
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
3208
|
+
return svgOffsetParent;
|
|
3209
|
+
}
|
|
3210
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
3211
|
+
}
|
|
3212
|
+
return win;
|
|
3144
3213
|
}
|
|
3145
3214
|
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
3146
|
-
while (offsetParent && isTableElement(offsetParent) &&
|
|
3215
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
3147
3216
|
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
3148
3217
|
}
|
|
3149
|
-
if (offsetParent && (
|
|
3150
|
-
return
|
|
3218
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
3219
|
+
return win;
|
|
3151
3220
|
}
|
|
3152
|
-
return offsetParent || getContainingBlock(element) ||
|
|
3221
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
3153
3222
|
}
|
|
3154
3223
|
const getElementRects = async function(data) {
|
|
3155
3224
|
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
@@ -3318,13 +3387,13 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
3318
3387
|
}
|
|
3319
3388
|
};
|
|
3320
3389
|
}
|
|
3321
|
-
const offset = offset$
|
|
3322
|
-
const shift = shift$
|
|
3323
|
-
const flip = flip$
|
|
3324
|
-
const size = size$
|
|
3325
|
-
const hide = hide$
|
|
3326
|
-
const arrow$
|
|
3327
|
-
const limitShift = limitShift$
|
|
3390
|
+
const offset$1 = offset$2;
|
|
3391
|
+
const shift$1 = shift$2;
|
|
3392
|
+
const flip$1 = flip$2;
|
|
3393
|
+
const size$1 = size$2;
|
|
3394
|
+
const hide$1 = hide$2;
|
|
3395
|
+
const arrow$2 = arrow$3;
|
|
3396
|
+
const limitShift$1 = limitShift$2;
|
|
3328
3397
|
const computePosition = (reference, floating, options) => {
|
|
3329
3398
|
const cache = /* @__PURE__ */ new Map();
|
|
3330
3399
|
const mergedOptions = {
|
|
@@ -3340,38 +3409,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
3340
3409
|
platform: platformWithCache
|
|
3341
3410
|
});
|
|
3342
3411
|
};
|
|
3343
|
-
|
|
3344
|
-
function isRef(value) {
|
|
3345
|
-
return {}.hasOwnProperty.call(value, "current");
|
|
3346
|
-
}
|
|
3347
|
-
return {
|
|
3348
|
-
name: "arrow",
|
|
3349
|
-
options,
|
|
3350
|
-
fn(state) {
|
|
3351
|
-
const {
|
|
3352
|
-
element,
|
|
3353
|
-
padding
|
|
3354
|
-
} = typeof options === "function" ? options(state) : options;
|
|
3355
|
-
if (element && isRef(element)) {
|
|
3356
|
-
if (element.current != null) {
|
|
3357
|
-
return arrow$1({
|
|
3358
|
-
element: element.current,
|
|
3359
|
-
padding
|
|
3360
|
-
}).fn(state);
|
|
3361
|
-
}
|
|
3362
|
-
return {};
|
|
3363
|
-
}
|
|
3364
|
-
if (element) {
|
|
3365
|
-
return arrow$1({
|
|
3366
|
-
element,
|
|
3367
|
-
padding
|
|
3368
|
-
}).fn(state);
|
|
3369
|
-
}
|
|
3370
|
-
return {};
|
|
3371
|
-
}
|
|
3372
|
-
};
|
|
3373
|
-
};
|
|
3374
|
-
var index = typeof document !== "undefined" ? y$1 : p$2;
|
|
3412
|
+
var index = typeof document !== "undefined" ? _$2 : y$1;
|
|
3375
3413
|
function deepEqual(a2, b2) {
|
|
3376
3414
|
if (a2 === b2) {
|
|
3377
3415
|
return true;
|
|
@@ -3432,7 +3470,7 @@ function roundByDPR(element, value) {
|
|
|
3432
3470
|
return Math.round(value * dpr) / dpr;
|
|
3433
3471
|
}
|
|
3434
3472
|
function useLatestRef(value) {
|
|
3435
|
-
const ref =
|
|
3473
|
+
const ref = A$1(value);
|
|
3436
3474
|
index(() => {
|
|
3437
3475
|
ref.current = value;
|
|
3438
3476
|
});
|
|
@@ -3469,13 +3507,13 @@ function useFloating(options) {
|
|
|
3469
3507
|
}
|
|
3470
3508
|
const [_reference, _setReference] = h(null);
|
|
3471
3509
|
const [_floating, _setFloating] = h(null);
|
|
3472
|
-
const setReference =
|
|
3510
|
+
const setReference = q$1((node) => {
|
|
3473
3511
|
if (node !== referenceRef.current) {
|
|
3474
3512
|
referenceRef.current = node;
|
|
3475
3513
|
_setReference(node);
|
|
3476
3514
|
}
|
|
3477
3515
|
}, []);
|
|
3478
|
-
const setFloating =
|
|
3516
|
+
const setFloating = q$1((node) => {
|
|
3479
3517
|
if (node !== floatingRef.current) {
|
|
3480
3518
|
floatingRef.current = node;
|
|
3481
3519
|
_setFloating(node);
|
|
@@ -3483,13 +3521,13 @@ function useFloating(options) {
|
|
|
3483
3521
|
}, []);
|
|
3484
3522
|
const referenceEl = externalReference || _reference;
|
|
3485
3523
|
const floatingEl = externalFloating || _floating;
|
|
3486
|
-
const referenceRef =
|
|
3487
|
-
const floatingRef =
|
|
3488
|
-
const dataRef =
|
|
3524
|
+
const referenceRef = A$1(null);
|
|
3525
|
+
const floatingRef = A$1(null);
|
|
3526
|
+
const dataRef = A$1(data);
|
|
3489
3527
|
const hasWhileElementsMounted = whileElementsMounted != null;
|
|
3490
3528
|
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
3491
3529
|
const platformRef = useLatestRef(platform2);
|
|
3492
|
-
const update =
|
|
3530
|
+
const update = q$1(() => {
|
|
3493
3531
|
if (!referenceRef.current || !floatingRef.current) {
|
|
3494
3532
|
return;
|
|
3495
3533
|
}
|
|
@@ -3508,7 +3546,7 @@ function useFloating(options) {
|
|
|
3508
3546
|
};
|
|
3509
3547
|
if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
|
|
3510
3548
|
dataRef.current = fullData;
|
|
3511
|
-
|
|
3549
|
+
mn(() => {
|
|
3512
3550
|
setData(fullData);
|
|
3513
3551
|
});
|
|
3514
3552
|
}
|
|
@@ -3523,7 +3561,7 @@ function useFloating(options) {
|
|
|
3523
3561
|
}));
|
|
3524
3562
|
}
|
|
3525
3563
|
}, [open]);
|
|
3526
|
-
const isMountedRef =
|
|
3564
|
+
const isMountedRef = A$1(false);
|
|
3527
3565
|
index(() => {
|
|
3528
3566
|
isMountedRef.current = true;
|
|
3529
3567
|
return () => {
|
|
@@ -3542,17 +3580,17 @@ function useFloating(options) {
|
|
|
3542
3580
|
update();
|
|
3543
3581
|
}
|
|
3544
3582
|
}, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
|
|
3545
|
-
const refs =
|
|
3583
|
+
const refs = T$1(() => ({
|
|
3546
3584
|
reference: referenceRef,
|
|
3547
3585
|
floating: floatingRef,
|
|
3548
3586
|
setReference,
|
|
3549
3587
|
setFloating
|
|
3550
3588
|
}), [setReference, setFloating]);
|
|
3551
|
-
const elements =
|
|
3589
|
+
const elements = T$1(() => ({
|
|
3552
3590
|
reference: referenceEl,
|
|
3553
3591
|
floating: floatingEl
|
|
3554
3592
|
}), [referenceEl, floatingEl]);
|
|
3555
|
-
const floatingStyles =
|
|
3593
|
+
const floatingStyles = T$1(() => {
|
|
3556
3594
|
const initialStyles = {
|
|
3557
3595
|
position: strategy,
|
|
3558
3596
|
left: 0,
|
|
@@ -3578,7 +3616,7 @@ function useFloating(options) {
|
|
|
3578
3616
|
top: y2
|
|
3579
3617
|
};
|
|
3580
3618
|
}, [strategy, transform, elements.floating, data.x, data.y]);
|
|
3581
|
-
return
|
|
3619
|
+
return T$1(() => ({
|
|
3582
3620
|
...data,
|
|
3583
3621
|
update,
|
|
3584
3622
|
refs,
|
|
@@ -3586,6 +3624,65 @@ function useFloating(options) {
|
|
|
3586
3624
|
floatingStyles
|
|
3587
3625
|
}), [data, update, refs, elements, floatingStyles]);
|
|
3588
3626
|
}
|
|
3627
|
+
const arrow$1 = (options) => {
|
|
3628
|
+
function isRef(value) {
|
|
3629
|
+
return {}.hasOwnProperty.call(value, "current");
|
|
3630
|
+
}
|
|
3631
|
+
return {
|
|
3632
|
+
name: "arrow",
|
|
3633
|
+
options,
|
|
3634
|
+
fn(state) {
|
|
3635
|
+
const {
|
|
3636
|
+
element,
|
|
3637
|
+
padding
|
|
3638
|
+
} = typeof options === "function" ? options(state) : options;
|
|
3639
|
+
if (element && isRef(element)) {
|
|
3640
|
+
if (element.current != null) {
|
|
3641
|
+
return arrow$2({
|
|
3642
|
+
element: element.current,
|
|
3643
|
+
padding
|
|
3644
|
+
}).fn(state);
|
|
3645
|
+
}
|
|
3646
|
+
return {};
|
|
3647
|
+
}
|
|
3648
|
+
if (element) {
|
|
3649
|
+
return arrow$2({
|
|
3650
|
+
element,
|
|
3651
|
+
padding
|
|
3652
|
+
}).fn(state);
|
|
3653
|
+
}
|
|
3654
|
+
return {};
|
|
3655
|
+
}
|
|
3656
|
+
};
|
|
3657
|
+
};
|
|
3658
|
+
const offset = (options, deps) => ({
|
|
3659
|
+
...offset$1(options),
|
|
3660
|
+
options: [options, deps]
|
|
3661
|
+
});
|
|
3662
|
+
const shift = (options, deps) => ({
|
|
3663
|
+
...shift$1(options),
|
|
3664
|
+
options: [options, deps]
|
|
3665
|
+
});
|
|
3666
|
+
const limitShift = (options, deps) => ({
|
|
3667
|
+
...limitShift$1(options),
|
|
3668
|
+
options: [options, deps]
|
|
3669
|
+
});
|
|
3670
|
+
const flip = (options, deps) => ({
|
|
3671
|
+
...flip$1(options),
|
|
3672
|
+
options: [options, deps]
|
|
3673
|
+
});
|
|
3674
|
+
const size = (options, deps) => ({
|
|
3675
|
+
...size$1(options),
|
|
3676
|
+
options: [options, deps]
|
|
3677
|
+
});
|
|
3678
|
+
const hide = (options, deps) => ({
|
|
3679
|
+
...hide$1(options),
|
|
3680
|
+
options: [options, deps]
|
|
3681
|
+
});
|
|
3682
|
+
const arrow = (options, deps) => ({
|
|
3683
|
+
...arrow$1(options),
|
|
3684
|
+
options: [options, deps]
|
|
3685
|
+
});
|
|
3589
3686
|
function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
|
|
3590
3687
|
const [size2, setSize] = h(void 0);
|
|
3591
3688
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
@@ -3633,28 +3730,28 @@ const [$cf1ac5d9fe0e8206$var$PopperProvider, $cf1ac5d9fe0e8206$var$usePopperCont
|
|
|
3633
3730
|
const $cf1ac5d9fe0e8206$export$badac9ada3a0bdf9 = (props) => {
|
|
3634
3731
|
const { __scopePopper, children } = props;
|
|
3635
3732
|
const [anchor, setAnchor] = h(null);
|
|
3636
|
-
return /* @__PURE__ */
|
|
3733
|
+
return /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$var$PopperProvider, {
|
|
3637
3734
|
scope: __scopePopper,
|
|
3638
3735
|
anchor,
|
|
3639
3736
|
onAnchorChange: setAnchor
|
|
3640
3737
|
}, children);
|
|
3641
3738
|
};
|
|
3642
3739
|
const $cf1ac5d9fe0e8206$var$ANCHOR_NAME = "PopperAnchor";
|
|
3643
|
-
const $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /* @__PURE__ */
|
|
3740
|
+
const $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
3644
3741
|
const { __scopePopper, virtualRef, ...anchorProps } = props;
|
|
3645
3742
|
const context = $cf1ac5d9fe0e8206$var$usePopperContext($cf1ac5d9fe0e8206$var$ANCHOR_NAME, __scopePopper);
|
|
3646
|
-
const ref =
|
|
3743
|
+
const ref = A$1(null);
|
|
3647
3744
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, ref);
|
|
3648
|
-
|
|
3745
|
+
y$1(() => {
|
|
3649
3746
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
|
3650
3747
|
});
|
|
3651
|
-
return virtualRef ? null : /* @__PURE__ */
|
|
3748
|
+
return virtualRef ? null : /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, anchorProps, {
|
|
3652
3749
|
ref: composedRefs
|
|
3653
3750
|
}));
|
|
3654
3751
|
});
|
|
3655
3752
|
const $cf1ac5d9fe0e8206$var$CONTENT_NAME = "PopperContent";
|
|
3656
3753
|
const [$cf1ac5d9fe0e8206$var$PopperContentProvider, $cf1ac5d9fe0e8206$var$useContentContext] = $cf1ac5d9fe0e8206$var$createPopperContext($cf1ac5d9fe0e8206$var$CONTENT_NAME);
|
|
3657
|
-
const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */
|
|
3754
|
+
const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
3658
3755
|
var _arrowSize$width, _arrowSize$height, _middlewareData$arrow, _middlewareData$arrow2, _middlewareData$arrow3, _middlewareData$trans, _middlewareData$trans2, _middlewareData$hide;
|
|
3659
3756
|
const { __scopePopper, side = "bottom", sideOffset = 0, align = "center", alignOffset = 0, arrowPadding = 0, avoidCollisions = true, collisionBoundary = [], collisionPadding: collisionPaddingProp = 0, sticky = "partial", hideWhenDetached = false, updatePositionStrategy = "optimized", onPlaced, ...contentProps } = props;
|
|
3660
3757
|
const context = $cf1ac5d9fe0e8206$var$usePopperContext($cf1ac5d9fe0e8206$var$CONTENT_NAME, __scopePopper);
|
|
@@ -3756,7 +3853,7 @@ const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ N((props, forwa
|
|
|
3756
3853
|
}, [
|
|
3757
3854
|
content
|
|
3758
3855
|
]);
|
|
3759
|
-
return /* @__PURE__ */
|
|
3856
|
+
return /* @__PURE__ */ _$3("div", {
|
|
3760
3857
|
ref: refs.setFloating,
|
|
3761
3858
|
"data-radix-popper-content-wrapper": "",
|
|
3762
3859
|
style: {
|
|
@@ -3771,14 +3868,14 @@ const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ N((props, forwa
|
|
|
3771
3868
|
].join(" ")
|
|
3772
3869
|
},
|
|
3773
3870
|
dir: props.dir
|
|
3774
|
-
}, /* @__PURE__ */
|
|
3871
|
+
}, /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$var$PopperContentProvider, {
|
|
3775
3872
|
scope: __scopePopper,
|
|
3776
3873
|
placedSide,
|
|
3777
3874
|
onArrowChange: setArrow,
|
|
3778
3875
|
arrowX,
|
|
3779
3876
|
arrowY,
|
|
3780
3877
|
shouldHideArrow: cannotCenterArrow
|
|
3781
|
-
}, /* @__PURE__ */
|
|
3878
|
+
}, /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
3782
3879
|
"data-side": placedSide,
|
|
3783
3880
|
"data-align": placedAlign
|
|
3784
3881
|
}, contentProps, {
|
|
@@ -3847,15 +3944,15 @@ function $cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement) {
|
|
|
3847
3944
|
const $cf1ac5d9fe0e8206$export$be92b6f5f03c0fe9 = $cf1ac5d9fe0e8206$export$badac9ada3a0bdf9;
|
|
3848
3945
|
const $cf1ac5d9fe0e8206$export$b688253958b8dfe7 = $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d;
|
|
3849
3946
|
const $cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2 = $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc;
|
|
3850
|
-
const $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */
|
|
3947
|
+
const $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
3851
3948
|
var _globalThis$document;
|
|
3852
3949
|
const { container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body, ...portalProps } = props;
|
|
3853
|
-
return container ? /* @__PURE__ */
|
|
3950
|
+
return container ? /* @__PURE__ */ Rn.createPortal(/* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
|
|
3854
3951
|
ref: forwardedRef
|
|
3855
3952
|
})), container) : null;
|
|
3856
3953
|
});
|
|
3857
3954
|
function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
|
|
3858
|
-
return
|
|
3955
|
+
return p$2((state, event) => {
|
|
3859
3956
|
const nextState = machine[state][event];
|
|
3860
3957
|
return nextState !== null && nextState !== void 0 ? nextState : state;
|
|
3861
3958
|
}, initialState);
|
|
@@ -3865,19 +3962,19 @@ const $921a889cee6df7e8$export$99c2b779aa4e8b8b = (props) => {
|
|
|
3865
3962
|
const presence = $921a889cee6df7e8$var$usePresence(present);
|
|
3866
3963
|
const child = typeof children === "function" ? children({
|
|
3867
3964
|
present: presence.isPresent
|
|
3868
|
-
}) :
|
|
3965
|
+
}) : N.only(children);
|
|
3869
3966
|
const ref = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(presence.ref, child.ref);
|
|
3870
3967
|
const forceMount = typeof children === "function";
|
|
3871
|
-
return forceMount || presence.isPresent ? /* @__PURE__ */
|
|
3968
|
+
return forceMount || presence.isPresent ? /* @__PURE__ */ hn(child, {
|
|
3872
3969
|
ref
|
|
3873
3970
|
}) : null;
|
|
3874
3971
|
};
|
|
3875
3972
|
$921a889cee6df7e8$export$99c2b779aa4e8b8b.displayName = "Presence";
|
|
3876
3973
|
function $921a889cee6df7e8$var$usePresence(present) {
|
|
3877
3974
|
const [node1, setNode] = h();
|
|
3878
|
-
const stylesRef =
|
|
3879
|
-
const prevPresentRef =
|
|
3880
|
-
const prevAnimationNameRef =
|
|
3975
|
+
const stylesRef = A$1({});
|
|
3976
|
+
const prevPresentRef = A$1(present);
|
|
3977
|
+
const prevAnimationNameRef = A$1("none");
|
|
3881
3978
|
const initialState = present ? "mounted" : "unmounted";
|
|
3882
3979
|
const [state, send] = $fe963b355347cc68$export$3e6543de14f8614f(initialState, {
|
|
3883
3980
|
mounted: {
|
|
@@ -3892,7 +3989,7 @@ function $921a889cee6df7e8$var$usePresence(present) {
|
|
|
3892
3989
|
MOUNT: "mounted"
|
|
3893
3990
|
}
|
|
3894
3991
|
});
|
|
3895
|
-
|
|
3992
|
+
y$1(() => {
|
|
3896
3993
|
const currentAnimationName = $921a889cee6df7e8$var$getAnimationName(stylesRef.current);
|
|
3897
3994
|
prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
|
|
3898
3995
|
}, [
|
|
@@ -3928,7 +4025,7 @@ function $921a889cee6df7e8$var$usePresence(present) {
|
|
|
3928
4025
|
const currentAnimationName = $921a889cee6df7e8$var$getAnimationName(stylesRef.current);
|
|
3929
4026
|
const isCurrentAnimation = currentAnimationName.includes(event.animationName);
|
|
3930
4027
|
if (event.target === node1 && isCurrentAnimation)
|
|
3931
|
-
|
|
4028
|
+
mn(
|
|
3932
4029
|
() => send("ANIMATION_END")
|
|
3933
4030
|
);
|
|
3934
4031
|
};
|
|
@@ -3955,7 +4052,7 @@ function $921a889cee6df7e8$var$usePresence(present) {
|
|
|
3955
4052
|
"mounted",
|
|
3956
4053
|
"unmountSuspended"
|
|
3957
4054
|
].includes(state),
|
|
3958
|
-
ref:
|
|
4055
|
+
ref: q$1((node) => {
|
|
3959
4056
|
if (node)
|
|
3960
4057
|
stylesRef.current = getComputedStyle(node);
|
|
3961
4058
|
setNode(node);
|
|
@@ -3974,7 +4071,7 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop, defaultProp, onChange
|
|
|
3974
4071
|
const isControlled = prop !== void 0;
|
|
3975
4072
|
const value1 = isControlled ? prop : uncontrolledProp;
|
|
3976
4073
|
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
3977
|
-
const setValue =
|
|
4074
|
+
const setValue = q$1((nextValue) => {
|
|
3978
4075
|
if (isControlled) {
|
|
3979
4076
|
const setter = nextValue;
|
|
3980
4077
|
const value = typeof nextValue === "function" ? setter(prop) : nextValue;
|
|
@@ -3996,9 +4093,9 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop, defaultProp, onChange
|
|
|
3996
4093
|
function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp, onChange }) {
|
|
3997
4094
|
const uncontrolledState = h(defaultProp);
|
|
3998
4095
|
const [value] = uncontrolledState;
|
|
3999
|
-
const prevValueRef =
|
|
4096
|
+
const prevValueRef = A$1(value);
|
|
4000
4097
|
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
4001
|
-
|
|
4098
|
+
y$1(() => {
|
|
4002
4099
|
if (prevValueRef.current !== value) {
|
|
4003
4100
|
handleChange(value);
|
|
4004
4101
|
prevValueRef.current = value;
|
|
@@ -4301,7 +4398,7 @@ var SideCar$1 = function(_a) {
|
|
|
4301
4398
|
if (!Target) {
|
|
4302
4399
|
throw new Error("Sidecar medium not found");
|
|
4303
4400
|
}
|
|
4304
|
-
return
|
|
4401
|
+
return _$3(Target, __assign({}, rest));
|
|
4305
4402
|
};
|
|
4306
4403
|
SideCar$1.isSideCarExport = true;
|
|
4307
4404
|
function exportSidecar(medium, exported) {
|
|
@@ -4312,8 +4409,8 @@ var effectCar = createSidecarMedium();
|
|
|
4312
4409
|
var nothing = function() {
|
|
4313
4410
|
return;
|
|
4314
4411
|
};
|
|
4315
|
-
var RemoveScroll =
|
|
4316
|
-
var ref =
|
|
4412
|
+
var RemoveScroll = k(function(props, parentRef) {
|
|
4413
|
+
var ref = A$1(null);
|
|
4317
4414
|
var _a = h({
|
|
4318
4415
|
onScrollCapture: nothing,
|
|
4319
4416
|
onWheelCapture: nothing,
|
|
@@ -4323,11 +4420,11 @@ var RemoveScroll = N(function(props, parentRef) {
|
|
|
4323
4420
|
var SideCar2 = sideCar;
|
|
4324
4421
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
4325
4422
|
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
4326
|
-
return
|
|
4327
|
-
|
|
4423
|
+
return _$3(
|
|
4424
|
+
k$3,
|
|
4328
4425
|
null,
|
|
4329
|
-
enabled &&
|
|
4330
|
-
forwardProps ?
|
|
4426
|
+
enabled && _$3(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref }),
|
|
4427
|
+
forwardProps ? hn(N.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : _$3(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
|
|
4331
4428
|
);
|
|
4332
4429
|
});
|
|
4333
4430
|
RemoveScroll.defaultProps = {
|
|
@@ -4392,7 +4489,7 @@ var stylesheetSingleton = function() {
|
|
|
4392
4489
|
var styleHookSingleton = function() {
|
|
4393
4490
|
var sheet = stylesheetSingleton();
|
|
4394
4491
|
return function(styles, isDynamic) {
|
|
4395
|
-
|
|
4492
|
+
y$1(function() {
|
|
4396
4493
|
sheet.add(styles);
|
|
4397
4494
|
return function() {
|
|
4398
4495
|
sheet.remove();
|
|
@@ -4456,10 +4553,10 @@ var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
|
4456
4553
|
};
|
|
4457
4554
|
var RemoveScrollBar = function(props) {
|
|
4458
4555
|
var noRelative = props.noRelative, noImportant = props.noImportant, _a = props.gapMode, gapMode = _a === void 0 ? "margin" : _a;
|
|
4459
|
-
var gap =
|
|
4556
|
+
var gap = T$1(function() {
|
|
4460
4557
|
return getGapWidth(gapMode);
|
|
4461
4558
|
}, [gapMode]);
|
|
4462
|
-
return
|
|
4559
|
+
return _$3(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
4463
4560
|
};
|
|
4464
4561
|
var passiveSupported = false;
|
|
4465
4562
|
if (typeof window !== "undefined") {
|
|
@@ -4585,18 +4682,18 @@ var generateStyle = function(id) {
|
|
|
4585
4682
|
var idCounter = 0;
|
|
4586
4683
|
var lockStack = [];
|
|
4587
4684
|
function RemoveScrollSideCar(props) {
|
|
4588
|
-
var shouldPreventQueue =
|
|
4589
|
-
var touchStartRef =
|
|
4590
|
-
var activeAxis =
|
|
4685
|
+
var shouldPreventQueue = A$1([]);
|
|
4686
|
+
var touchStartRef = A$1([0, 0]);
|
|
4687
|
+
var activeAxis = A$1();
|
|
4591
4688
|
var id = h(idCounter++)[0];
|
|
4592
4689
|
var Style2 = h(function() {
|
|
4593
4690
|
return styleSingleton();
|
|
4594
4691
|
})[0];
|
|
4595
|
-
var lastProps =
|
|
4596
|
-
|
|
4692
|
+
var lastProps = A$1(props);
|
|
4693
|
+
y$1(function() {
|
|
4597
4694
|
lastProps.current = props;
|
|
4598
4695
|
}, [props]);
|
|
4599
|
-
|
|
4696
|
+
y$1(function() {
|
|
4600
4697
|
if (props.inert) {
|
|
4601
4698
|
document.body.classList.add("block-interactivity-".concat(id));
|
|
4602
4699
|
var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);
|
|
@@ -4612,7 +4709,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4612
4709
|
}
|
|
4613
4710
|
return;
|
|
4614
4711
|
}, [props.inert, props.lockRef.current, props.shards]);
|
|
4615
|
-
var shouldCancelEvent =
|
|
4712
|
+
var shouldCancelEvent = q$1(function(event, parent) {
|
|
4616
4713
|
if ("touches" in event && event.touches.length === 2) {
|
|
4617
4714
|
return !lastProps.current.allowPinchZoom;
|
|
4618
4715
|
}
|
|
@@ -4648,7 +4745,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4648
4745
|
var cancelingAxis = activeAxis.current || currentAxis;
|
|
4649
4746
|
return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
|
|
4650
4747
|
}, []);
|
|
4651
|
-
var shouldPrevent =
|
|
4748
|
+
var shouldPrevent = q$1(function(_event) {
|
|
4652
4749
|
var event = _event;
|
|
4653
4750
|
if (!lockStack.length || lockStack[lockStack.length - 1] !== Style2) {
|
|
4654
4751
|
return;
|
|
@@ -4675,7 +4772,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4675
4772
|
}
|
|
4676
4773
|
}
|
|
4677
4774
|
}, []);
|
|
4678
|
-
var shouldCancel =
|
|
4775
|
+
var shouldCancel = q$1(function(name, delta, target, should) {
|
|
4679
4776
|
var event = { name, delta, target, should };
|
|
4680
4777
|
shouldPreventQueue.current.push(event);
|
|
4681
4778
|
setTimeout(function() {
|
|
@@ -4684,17 +4781,17 @@ function RemoveScrollSideCar(props) {
|
|
|
4684
4781
|
});
|
|
4685
4782
|
}, 1);
|
|
4686
4783
|
}, []);
|
|
4687
|
-
var scrollTouchStart =
|
|
4784
|
+
var scrollTouchStart = q$1(function(event) {
|
|
4688
4785
|
touchStartRef.current = getTouchXY(event);
|
|
4689
4786
|
activeAxis.current = void 0;
|
|
4690
4787
|
}, []);
|
|
4691
|
-
var scrollWheel =
|
|
4788
|
+
var scrollWheel = q$1(function(event) {
|
|
4692
4789
|
shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
4693
4790
|
}, []);
|
|
4694
|
-
var scrollTouchMove =
|
|
4791
|
+
var scrollTouchMove = q$1(function(event) {
|
|
4695
4792
|
shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
4696
4793
|
}, []);
|
|
4697
|
-
|
|
4794
|
+
y$1(function() {
|
|
4698
4795
|
lockStack.push(Style2);
|
|
4699
4796
|
props.setCallbacks({
|
|
4700
4797
|
onScrollCapture: scrollWheel,
|
|
@@ -4714,16 +4811,16 @@ function RemoveScrollSideCar(props) {
|
|
|
4714
4811
|
};
|
|
4715
4812
|
}, []);
|
|
4716
4813
|
var removeScrollBar = props.removeScrollBar, inert = props.inert;
|
|
4717
|
-
return
|
|
4718
|
-
|
|
4814
|
+
return _$3(
|
|
4815
|
+
k$3,
|
|
4719
4816
|
null,
|
|
4720
|
-
inert ?
|
|
4721
|
-
removeScrollBar ?
|
|
4817
|
+
inert ? _$3(Style2, { styles: generateStyle(id) }) : null,
|
|
4818
|
+
removeScrollBar ? _$3(RemoveScrollBar, { gapMode: "margin" }) : null
|
|
4722
4819
|
);
|
|
4723
4820
|
}
|
|
4724
4821
|
const SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
4725
|
-
var ReactRemoveScroll =
|
|
4726
|
-
return
|
|
4822
|
+
var ReactRemoveScroll = k(function(props, ref) {
|
|
4823
|
+
return _$3(RemoveScroll, __assign({}, props, { ref, sideCar: SideCar }));
|
|
4727
4824
|
});
|
|
4728
4825
|
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
4729
4826
|
const $am6gm$RemoveScroll = ReactRemoveScroll;
|
|
@@ -4736,20 +4833,20 @@ const [$cb5cc270b50c6fcd$var$PopoverProvider, $cb5cc270b50c6fcd$var$usePopoverCo
|
|
|
4736
4833
|
const $cb5cc270b50c6fcd$export$5b6b19405a83ff9d = (props) => {
|
|
4737
4834
|
const { __scopePopover, children, open: openProp, defaultOpen, onOpenChange, modal = false } = props;
|
|
4738
4835
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
4739
|
-
const triggerRef =
|
|
4836
|
+
const triggerRef = A$1(null);
|
|
4740
4837
|
const [hasCustomAnchor, setHasCustomAnchor] = h(false);
|
|
4741
4838
|
const [open = false, setOpen] = $71cd76cc60e0454e$export$6f32135080cb4c3({
|
|
4742
4839
|
prop: openProp,
|
|
4743
4840
|
defaultProp: defaultOpen,
|
|
4744
4841
|
onChange: onOpenChange
|
|
4745
4842
|
});
|
|
4746
|
-
return /* @__PURE__ */
|
|
4843
|
+
return /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$export$be92b6f5f03c0fe9, popperScope, /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverProvider, {
|
|
4747
4844
|
scope: __scopePopover,
|
|
4748
4845
|
contentId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
4749
4846
|
triggerRef,
|
|
4750
4847
|
open,
|
|
4751
4848
|
onOpenChange: setOpen,
|
|
4752
|
-
onOpenToggle:
|
|
4849
|
+
onOpenToggle: q$1(
|
|
4753
4850
|
() => setOpen(
|
|
4754
4851
|
(prevOpen) => !prevOpen
|
|
4755
4852
|
),
|
|
@@ -4758,11 +4855,11 @@ const $cb5cc270b50c6fcd$export$5b6b19405a83ff9d = (props) => {
|
|
|
4758
4855
|
]
|
|
4759
4856
|
),
|
|
4760
4857
|
hasCustomAnchor,
|
|
4761
|
-
onCustomAnchorAdd:
|
|
4858
|
+
onCustomAnchorAdd: q$1(
|
|
4762
4859
|
() => setHasCustomAnchor(true),
|
|
4763
4860
|
[]
|
|
4764
4861
|
),
|
|
4765
|
-
onCustomAnchorRemove:
|
|
4862
|
+
onCustomAnchorRemove: q$1(
|
|
4766
4863
|
() => setHasCustomAnchor(false),
|
|
4767
4864
|
[]
|
|
4768
4865
|
),
|
|
@@ -4770,12 +4867,12 @@ const $cb5cc270b50c6fcd$export$5b6b19405a83ff9d = (props) => {
|
|
|
4770
4867
|
}, children));
|
|
4771
4868
|
};
|
|
4772
4869
|
const $cb5cc270b50c6fcd$var$TRIGGER_NAME = "PopoverTrigger";
|
|
4773
|
-
const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */
|
|
4870
|
+
const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
4774
4871
|
const { __scopePopover, ...triggerProps } = props;
|
|
4775
4872
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$TRIGGER_NAME, __scopePopover);
|
|
4776
4873
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
4777
4874
|
const composedTriggerRef = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, context.triggerRef);
|
|
4778
|
-
const trigger = /* @__PURE__ */
|
|
4875
|
+
const trigger = /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
4779
4876
|
type: "button",
|
|
4780
4877
|
"aria-haspopup": "dialog",
|
|
4781
4878
|
"aria-expanded": context.open,
|
|
@@ -4785,7 +4882,7 @@ const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */ N((props, forwa
|
|
|
4785
4882
|
ref: composedTriggerRef,
|
|
4786
4883
|
onClick: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onClick, context.onOpenToggle)
|
|
4787
4884
|
}));
|
|
4788
|
-
return context.hasCustomAnchor ? trigger : /* @__PURE__ */
|
|
4885
|
+
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends({
|
|
4789
4886
|
asChild: true
|
|
4790
4887
|
}, popperScope), trigger);
|
|
4791
4888
|
});
|
|
@@ -4796,43 +4893,43 @@ const [$cb5cc270b50c6fcd$var$PortalProvider, $cb5cc270b50c6fcd$var$usePortalCont
|
|
|
4796
4893
|
const $cb5cc270b50c6fcd$export$dd679ffb4362d2d4 = (props) => {
|
|
4797
4894
|
const { __scopePopover, forceMount, children, container } = props;
|
|
4798
4895
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$PORTAL_NAME, __scopePopover);
|
|
4799
|
-
return /* @__PURE__ */
|
|
4896
|
+
return /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PortalProvider, {
|
|
4800
4897
|
scope: __scopePopover,
|
|
4801
4898
|
forceMount
|
|
4802
|
-
}, /* @__PURE__ */
|
|
4899
|
+
}, /* @__PURE__ */ _$3($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
4803
4900
|
present: forceMount || context.open
|
|
4804
|
-
}, /* @__PURE__ */
|
|
4901
|
+
}, /* @__PURE__ */ _$3($f1701beae083dbae$export$602eac185826482c, {
|
|
4805
4902
|
asChild: true,
|
|
4806
4903
|
container
|
|
4807
4904
|
}, children)));
|
|
4808
4905
|
};
|
|
4809
4906
|
const $cb5cc270b50c6fcd$var$CONTENT_NAME = "PopoverContent";
|
|
4810
|
-
const $cb5cc270b50c6fcd$export$d7e1f420b25549ff = /* @__PURE__ */
|
|
4907
|
+
const $cb5cc270b50c6fcd$export$d7e1f420b25549ff = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
4811
4908
|
const portalContext = $cb5cc270b50c6fcd$var$usePortalContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4812
4909
|
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
4813
4910
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4814
|
-
return /* @__PURE__ */
|
|
4911
|
+
return /* @__PURE__ */ _$3($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
4815
4912
|
present: forceMount || context.open
|
|
4816
|
-
}, context.modal ? /* @__PURE__ */
|
|
4913
|
+
}, context.modal ? /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentModal, _extends({}, contentProps, {
|
|
4817
4914
|
ref: forwardedRef
|
|
4818
|
-
})) : /* @__PURE__ */
|
|
4915
|
+
})) : /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentNonModal, _extends({}, contentProps, {
|
|
4819
4916
|
ref: forwardedRef
|
|
4820
4917
|
})));
|
|
4821
4918
|
});
|
|
4822
|
-
const $cb5cc270b50c6fcd$var$PopoverContentModal = /* @__PURE__ */
|
|
4919
|
+
const $cb5cc270b50c6fcd$var$PopoverContentModal = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
4823
4920
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4824
|
-
const contentRef =
|
|
4921
|
+
const contentRef = A$1(null);
|
|
4825
4922
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, contentRef);
|
|
4826
|
-
const isRightClickOutsideRef =
|
|
4827
|
-
|
|
4923
|
+
const isRightClickOutsideRef = A$1(false);
|
|
4924
|
+
y$1(() => {
|
|
4828
4925
|
const content = contentRef.current;
|
|
4829
4926
|
if (content)
|
|
4830
4927
|
return hideOthers(content);
|
|
4831
4928
|
}, []);
|
|
4832
|
-
return /* @__PURE__ */
|
|
4929
|
+
return /* @__PURE__ */ _$3($am6gm$RemoveScroll, {
|
|
4833
4930
|
as: $5e63c961fc1ce211$export$8c6ed5c666ac1360,
|
|
4834
4931
|
allowPinchZoom: true
|
|
4835
|
-
}, /* @__PURE__ */
|
|
4932
|
+
}, /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
4836
4933
|
ref: composedRefs,
|
|
4837
4934
|
trapFocus: context.open,
|
|
4838
4935
|
disableOutsidePointerEvents: true,
|
|
@@ -4859,11 +4956,11 @@ const $cb5cc270b50c6fcd$var$PopoverContentModal = /* @__PURE__ */ N((props, forw
|
|
|
4859
4956
|
)
|
|
4860
4957
|
})));
|
|
4861
4958
|
});
|
|
4862
|
-
const $cb5cc270b50c6fcd$var$PopoverContentNonModal = /* @__PURE__ */
|
|
4959
|
+
const $cb5cc270b50c6fcd$var$PopoverContentNonModal = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
4863
4960
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4864
|
-
const hasInteractedOutsideRef =
|
|
4865
|
-
const hasPointerDownOutsideRef =
|
|
4866
|
-
return /* @__PURE__ */
|
|
4961
|
+
const hasInteractedOutsideRef = A$1(false);
|
|
4962
|
+
const hasPointerDownOutsideRef = A$1(false);
|
|
4963
|
+
return /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
4867
4964
|
ref: forwardedRef,
|
|
4868
4965
|
trapFocus: false,
|
|
4869
4966
|
disableOutsidePointerEvents: false,
|
|
@@ -4896,18 +4993,18 @@ const $cb5cc270b50c6fcd$var$PopoverContentNonModal = /* @__PURE__ */ N((props, f
|
|
|
4896
4993
|
}
|
|
4897
4994
|
}));
|
|
4898
4995
|
});
|
|
4899
|
-
const $cb5cc270b50c6fcd$var$PopoverContentImpl = /* @__PURE__ */
|
|
4996
|
+
const $cb5cc270b50c6fcd$var$PopoverContentImpl = /* @__PURE__ */ k((props, forwardedRef) => {
|
|
4900
4997
|
const { __scopePopover, trapFocus, onOpenAutoFocus, onCloseAutoFocus, disableOutsidePointerEvents, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, ...contentProps } = props;
|
|
4901
4998
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, __scopePopover);
|
|
4902
4999
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
4903
5000
|
$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c();
|
|
4904
|
-
return /* @__PURE__ */
|
|
5001
|
+
return /* @__PURE__ */ _$3($d3863c46a17e8a28$export$20e40289641fbbb6, {
|
|
4905
5002
|
asChild: true,
|
|
4906
5003
|
loop: true,
|
|
4907
5004
|
trapped: trapFocus,
|
|
4908
5005
|
onMountAutoFocus: onOpenAutoFocus,
|
|
4909
5006
|
onUnmountAutoFocus: onCloseAutoFocus
|
|
4910
|
-
}, /* @__PURE__ */
|
|
5007
|
+
}, /* @__PURE__ */ _$3($5cb92bef7577960e$export$177fb62ff3ec1f22, {
|
|
4911
5008
|
asChild: true,
|
|
4912
5009
|
disableOutsidePointerEvents,
|
|
4913
5010
|
onInteractOutside,
|
|
@@ -4915,7 +5012,7 @@ const $cb5cc270b50c6fcd$var$PopoverContentImpl = /* @__PURE__ */ N((props, forwa
|
|
|
4915
5012
|
onPointerDownOutside,
|
|
4916
5013
|
onFocusOutside,
|
|
4917
5014
|
onDismiss: () => context.onOpenChange(false)
|
|
4918
|
-
}, /* @__PURE__ */
|
|
5015
|
+
}, /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends({
|
|
4919
5016
|
"data-state": $cb5cc270b50c6fcd$var$getState(context.open),
|
|
4920
5017
|
role: "dialog",
|
|
4921
5018
|
id: context.contentId
|
|
@@ -4943,17 +5040,18 @@ function r$1(e2) {
|
|
|
4943
5040
|
if ("string" == typeof e2 || "number" == typeof e2)
|
|
4944
5041
|
n2 += e2;
|
|
4945
5042
|
else if ("object" == typeof e2)
|
|
4946
|
-
if (Array.isArray(e2))
|
|
4947
|
-
|
|
5043
|
+
if (Array.isArray(e2)) {
|
|
5044
|
+
var o2 = e2.length;
|
|
5045
|
+
for (t2 = 0; t2 < o2; t2++)
|
|
4948
5046
|
e2[t2] && (f2 = r$1(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
4949
|
-
else
|
|
4950
|
-
for (
|
|
4951
|
-
e2[
|
|
5047
|
+
} else
|
|
5048
|
+
for (f2 in e2)
|
|
5049
|
+
e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
4952
5050
|
return n2;
|
|
4953
5051
|
}
|
|
4954
5052
|
function clsx() {
|
|
4955
|
-
for (var e2, t2, f2 = 0, n2 = ""
|
|
4956
|
-
(e2 = arguments[f2
|
|
5053
|
+
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
|
|
5054
|
+
(e2 = arguments[f2]) && (t2 = r$1(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
4957
5055
|
return n2;
|
|
4958
5056
|
}
|
|
4959
5057
|
function i() {
|
|
@@ -5335,7 +5433,7 @@ function d(n2) {
|
|
|
5335
5433
|
function p(n2) {
|
|
5336
5434
|
var r2 = this, f2 = n2.data, o2 = useSignal(f2);
|
|
5337
5435
|
o2.value = f2;
|
|
5338
|
-
var e2 =
|
|
5436
|
+
var e2 = T$1(function() {
|
|
5339
5437
|
var n3 = r2.__v;
|
|
5340
5438
|
while (n3 = n3.__)
|
|
5341
5439
|
if (n3.__c) {
|
|
@@ -5498,15 +5596,12 @@ b$3.prototype.shouldComponentUpdate = function(n2, r2) {
|
|
|
5498
5596
|
return false;
|
|
5499
5597
|
};
|
|
5500
5598
|
function useSignal(n2) {
|
|
5501
|
-
return
|
|
5599
|
+
return T$1(function() {
|
|
5502
5600
|
return a(n2);
|
|
5503
5601
|
}, []);
|
|
5504
5602
|
}
|
|
5505
5603
|
const store = {
|
|
5506
|
-
config$: a({
|
|
5507
|
-
headerText: "",
|
|
5508
|
-
label: ""
|
|
5509
|
-
}),
|
|
5604
|
+
config$: a({ headerText: "", label: "" }),
|
|
5510
5605
|
filters$: a({})
|
|
5511
5606
|
};
|
|
5512
5607
|
const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
|
|
@@ -5633,9 +5728,7 @@ var designTokens = () => {
|
|
|
5633
5728
|
};
|
|
5634
5729
|
};
|
|
5635
5730
|
const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
|
|
5636
|
-
const tokens = designTokens().core(({
|
|
5637
|
-
theme
|
|
5638
|
-
}) => ({
|
|
5731
|
+
const tokens = designTokens().core(({ theme }) => ({
|
|
5639
5732
|
color: {
|
|
5640
5733
|
transparent,
|
|
5641
5734
|
black,
|
|
@@ -5666,9 +5759,7 @@ const tokens = designTokens().core(({
|
|
|
5666
5759
|
medium: ".6s",
|
|
5667
5760
|
slow: ".9s"
|
|
5668
5761
|
}
|
|
5669
|
-
})).semantic(({
|
|
5670
|
-
core
|
|
5671
|
-
}) => ({
|
|
5762
|
+
})).semantic(({ core }) => ({
|
|
5672
5763
|
radius: {
|
|
5673
5764
|
sm: `calc(${core("radius.base")} + (0 * ${core("radius.multiplier")}))`,
|
|
5674
5765
|
md: `calc(${core("radius.base")} + (1 * ${core("radius.multiplier")}))`,
|
|
@@ -5676,14 +5767,9 @@ const tokens = designTokens().core(({
|
|
|
5676
5767
|
xl: `calc(${core("radius.base")} + (3 * ${core("radius.multiplier")}))`
|
|
5677
5768
|
}
|
|
5678
5769
|
})).component(() => ({}));
|
|
5679
|
-
const asInploiVar = asCssVar({
|
|
5680
|
-
prefix: "i-"
|
|
5681
|
-
});
|
|
5770
|
+
const asInploiVar = asCssVar({ prefix: "i-" });
|
|
5682
5771
|
const generateColorThemeCss = (theme) => {
|
|
5683
|
-
const core = tokens.from({
|
|
5684
|
-
theme,
|
|
5685
|
-
getToken: asInploiVar
|
|
5686
|
-
});
|
|
5772
|
+
const core = tokens.from({ theme, getToken: asInploiVar });
|
|
5687
5773
|
const tokenCss = Object.entries(core.declarations).map(([key, value]) => `${key}: ${value};`);
|
|
5688
5774
|
return `#${JOB_ALERTS_SCOPE_ELEMENT_ID} {
|
|
5689
5775
|
${tokenCss.concat(tokenCss).join("\n")}
|
|
@@ -5696,43 +5782,17 @@ const getThemeVariants = (theme) => {
|
|
|
5696
5782
|
variants.push(theme.mode);
|
|
5697
5783
|
return variants;
|
|
5698
5784
|
};
|
|
5699
|
-
const InputError = ({
|
|
5700
|
-
error
|
|
5701
|
-
}) => {
|
|
5785
|
+
const InputError = ({ error }) => {
|
|
5702
5786
|
if (!error)
|
|
5703
5787
|
return null;
|
|
5704
|
-
return u$2("div", {
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
children: [u$2("circle", {
|
|
5713
|
-
cx: "8",
|
|
5714
|
-
cy: "8",
|
|
5715
|
-
r: "6.3",
|
|
5716
|
-
stroke: "currentColor",
|
|
5717
|
-
"stroke-width": "1.4"
|
|
5718
|
-
}), u$2("rect", {
|
|
5719
|
-
x: "7",
|
|
5720
|
-
y: "4",
|
|
5721
|
-
width: "2",
|
|
5722
|
-
height: "5",
|
|
5723
|
-
fill: "currentColor"
|
|
5724
|
-
}), u$2("rect", {
|
|
5725
|
-
x: "7",
|
|
5726
|
-
y: "10",
|
|
5727
|
-
width: "2",
|
|
5728
|
-
height: "2",
|
|
5729
|
-
fill: "currentColor"
|
|
5730
|
-
})]
|
|
5731
|
-
}), u$2("p", {
|
|
5732
|
-
class: "pr-1 text-sm",
|
|
5733
|
-
children: error
|
|
5734
|
-
})]
|
|
5735
|
-
});
|
|
5788
|
+
return /* @__PURE__ */ u$2("div", { role: "alert", class: "flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]", children: [
|
|
5789
|
+
/* @__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: [
|
|
5790
|
+
/* @__PURE__ */ u$2("circle", { cx: "8", cy: "8", r: "6.3", stroke: "currentColor", "stroke-width": "1.4" }),
|
|
5791
|
+
/* @__PURE__ */ u$2("rect", { x: "7", y: "4", width: "2", height: "5", fill: "currentColor" }),
|
|
5792
|
+
/* @__PURE__ */ u$2("rect", { x: "7", y: "10", width: "2", height: "2", fill: "currentColor" })
|
|
5793
|
+
] }),
|
|
5794
|
+
/* @__PURE__ */ u$2("p", { class: "pr-1 text-sm", children: error })
|
|
5795
|
+
] });
|
|
5736
5796
|
};
|
|
5737
5797
|
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]";
|
|
5738
5798
|
const getErrorMessage = (error) => {
|
|
@@ -5742,33 +5802,29 @@ const getErrorMessage = (error) => {
|
|
|
5742
5802
|
return error.message;
|
|
5743
5803
|
return "Failed to create alert. Please try again later.";
|
|
5744
5804
|
};
|
|
5745
|
-
const JobAlertsButton =
|
|
5746
|
-
class: className,
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
});
|
|
5805
|
+
const JobAlertsButton = k(
|
|
5806
|
+
({ class: className, ...props }, ref) => /* @__PURE__ */ u$2(
|
|
5807
|
+
"button",
|
|
5808
|
+
{
|
|
5809
|
+
ref,
|
|
5810
|
+
class: clsx(
|
|
5811
|
+
"fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",
|
|
5812
|
+
className
|
|
5813
|
+
),
|
|
5814
|
+
onTouchStart: noop,
|
|
5815
|
+
...props,
|
|
5816
|
+
children: [
|
|
5817
|
+
/* @__PURE__ */ u$2(Icon, { class: "flex-none", name: "bell" }),
|
|
5818
|
+
" ",
|
|
5819
|
+
/* @__PURE__ */ u$2("span", { class: "min-w-0 truncate text-center", children: store.config$.value.label })
|
|
5820
|
+
]
|
|
5821
|
+
}
|
|
5822
|
+
)
|
|
5823
|
+
);
|
|
5824
|
+
const PopoverHeader = () => /* @__PURE__ */ u$2("p", { class: "text-neutral-11 px-2 pb-4 pt-1 text-sm", children: store.config$.value.headerText });
|
|
5765
5825
|
function noop() {
|
|
5766
5826
|
}
|
|
5767
|
-
const JobAlerts = ({
|
|
5768
|
-
theme,
|
|
5769
|
-
apiClient,
|
|
5770
|
-
logger
|
|
5771
|
-
}) => {
|
|
5827
|
+
const JobAlerts = ({ theme, apiClient, logger }) => {
|
|
5772
5828
|
const [formState, setFormState] = h("idle");
|
|
5773
5829
|
const [error, setError] = h();
|
|
5774
5830
|
const createAlert = async (e2) => {
|
|
@@ -5806,136 +5862,128 @@ const JobAlerts = ({
|
|
|
5806
5862
|
setFormState("idle");
|
|
5807
5863
|
});
|
|
5808
5864
|
};
|
|
5809
|
-
return u$2("div", {
|
|
5810
|
-
|
|
5811
|
-
children: u$2("div", {
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
class:
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
}), u$2("option", {
|
|
5883
|
-
value: "MONTHLY",
|
|
5884
|
-
children: "Monthly"
|
|
5885
|
-
})]
|
|
5886
|
-
}), u$2("div", {
|
|
5887
|
-
class: "text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1",
|
|
5888
|
-
"aria-hidden": true,
|
|
5889
|
-
children: u$2(Icon, {
|
|
5890
|
-
name: "chevron-up-down"
|
|
5891
|
-
})
|
|
5892
|
-
})]
|
|
5893
|
-
})]
|
|
5894
|
-
}), u$2("button", {
|
|
5895
|
-
// Needed to make active state work on iOS Safari
|
|
5896
|
-
onTouchStart: noop,
|
|
5897
|
-
class: "bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",
|
|
5898
|
-
children: [u$2("span", {
|
|
5865
|
+
return /* @__PURE__ */ u$2("div", { id: "ija", children: /* @__PURE__ */ u$2("div", { class: getThemeVariants(theme).join(" "), children: /* @__PURE__ */ u$2($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9, { children: [
|
|
5866
|
+
/* @__PURE__ */ u$2($cb5cc270b50c6fcd$export$41fb9f06171c75f4, { asChild: true, children: /* @__PURE__ */ u$2(JobAlertsButton, {}) }),
|
|
5867
|
+
/* @__PURE__ */ u$2($cb5cc270b50c6fcd$export$602eac185826482c, { children: /* @__PURE__ */ u$2("div", { id: "ija", children: /* @__PURE__ */ u$2("div", { class: clsx("absolute isolate z-50", getThemeVariants(theme).join(" ")), children: /* @__PURE__ */ u$2(
|
|
5868
|
+
$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,
|
|
5869
|
+
{
|
|
5870
|
+
collisionPadding: 16,
|
|
5871
|
+
class: "data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",
|
|
5872
|
+
sideOffset: 5,
|
|
5873
|
+
children: [
|
|
5874
|
+
/* @__PURE__ */ u$2(PopoverHeader, {}),
|
|
5875
|
+
/* @__PURE__ */ u$2("form", { onSubmit: createAlert, class: "flex flex-col gap-2.5", children: [
|
|
5876
|
+
/* @__PURE__ */ u$2("div", { children: [
|
|
5877
|
+
/* @__PURE__ */ u$2("fieldset", { class: "fieldset relative focus-within:z-10", children: [
|
|
5878
|
+
/* @__PURE__ */ u$2("label", { class: "sr-only", htmlFor: "ija-email", children: "Email" }),
|
|
5879
|
+
/* @__PURE__ */ u$2(
|
|
5880
|
+
"input",
|
|
5881
|
+
{
|
|
5882
|
+
name: "email",
|
|
5883
|
+
autocomplete: "email",
|
|
5884
|
+
class: inputClass,
|
|
5885
|
+
disabled: formState === "loading",
|
|
5886
|
+
id: "ija-email",
|
|
5887
|
+
placeholder: "Email",
|
|
5888
|
+
type: "email",
|
|
5889
|
+
required: true
|
|
5890
|
+
}
|
|
5891
|
+
)
|
|
5892
|
+
] }),
|
|
5893
|
+
/* @__PURE__ */ u$2("fieldset", { class: "fieldset relative focus-within:z-10", children: [
|
|
5894
|
+
/* @__PURE__ */ u$2("label", { class: "sr-only", htmlFor: "ija-name", children: "Name" }),
|
|
5895
|
+
/* @__PURE__ */ u$2(
|
|
5896
|
+
"input",
|
|
5897
|
+
{
|
|
5898
|
+
disabled: formState === "loading",
|
|
5899
|
+
name: "name",
|
|
5900
|
+
required: true,
|
|
5901
|
+
autocomplete: "name",
|
|
5902
|
+
class: inputClass,
|
|
5903
|
+
id: "ija-name",
|
|
5904
|
+
placeholder: "Full Name"
|
|
5905
|
+
}
|
|
5906
|
+
)
|
|
5907
|
+
] }),
|
|
5908
|
+
/* @__PURE__ */ u$2("fieldset", { class: "fieldset relative focus-within:z-10", children: [
|
|
5909
|
+
/* @__PURE__ */ u$2("label", { class: "sr-only", htmlFor: "ija-frequency", children: "Frequency" }),
|
|
5910
|
+
/* @__PURE__ */ u$2(
|
|
5911
|
+
"select",
|
|
5912
|
+
{
|
|
5913
|
+
disabled: formState === "loading",
|
|
5914
|
+
class: clsx(inputClass, "appearance-none pr-8"),
|
|
5915
|
+
id: "ija-frequency",
|
|
5916
|
+
defaultValue: "WEEKLY",
|
|
5917
|
+
name: "frequency",
|
|
5918
|
+
children: [
|
|
5919
|
+
/* @__PURE__ */ u$2("option", { value: "INSTANTLY", children: "Instantly" }),
|
|
5920
|
+
/* @__PURE__ */ u$2("option", { value: "DAILY", children: "Daily" }),
|
|
5921
|
+
/* @__PURE__ */ u$2("option", { value: "WEEKLY", children: "Weekly" }),
|
|
5922
|
+
/* @__PURE__ */ u$2("option", { value: "MONTHLY", children: "Monthly" })
|
|
5923
|
+
]
|
|
5924
|
+
}
|
|
5925
|
+
),
|
|
5926
|
+
/* @__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" }) })
|
|
5927
|
+
] })
|
|
5928
|
+
] }),
|
|
5929
|
+
/* @__PURE__ */ u$2(
|
|
5930
|
+
"button",
|
|
5931
|
+
{
|
|
5932
|
+
onTouchStart: noop,
|
|
5933
|
+
class: "bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",
|
|
5934
|
+
children: [
|
|
5935
|
+
/* @__PURE__ */ u$2(
|
|
5936
|
+
"span",
|
|
5937
|
+
{
|
|
5899
5938
|
"data-state": formState,
|
|
5900
5939
|
class: "ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",
|
|
5901
5940
|
children: "Create Alert"
|
|
5902
|
-
}
|
|
5941
|
+
}
|
|
5942
|
+
),
|
|
5943
|
+
/* @__PURE__ */ u$2(
|
|
5944
|
+
"div",
|
|
5945
|
+
{
|
|
5903
5946
|
"data-state": formState,
|
|
5904
5947
|
class: "ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",
|
|
5905
|
-
children: u$2(
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5948
|
+
children: /* @__PURE__ */ u$2(
|
|
5949
|
+
"svg",
|
|
5950
|
+
{
|
|
5951
|
+
width: "24",
|
|
5952
|
+
height: "24",
|
|
5953
|
+
viewBox: "0 0 24 24",
|
|
5954
|
+
"stroke-width": "1.5",
|
|
5955
|
+
"stroke-linecap": "round",
|
|
5956
|
+
"stroke-linejoin": "round",
|
|
5957
|
+
stroke: "currentColor",
|
|
5958
|
+
fill: "none",
|
|
5959
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5960
|
+
children: [
|
|
5961
|
+
/* @__PURE__ */ u$2(
|
|
5962
|
+
"circle",
|
|
5963
|
+
{
|
|
5964
|
+
class: "loading-circle duration-snappy ease-expo-out transition-all",
|
|
5965
|
+
cx: "12",
|
|
5966
|
+
cy: "12",
|
|
5967
|
+
r: "9"
|
|
5968
|
+
}
|
|
5969
|
+
),
|
|
5970
|
+
/* @__PURE__ */ u$2("path", { class: "done-checkmark", d: "M9 12L11 14L15 10" })
|
|
5971
|
+
]
|
|
5972
|
+
}
|
|
5973
|
+
)
|
|
5974
|
+
}
|
|
5975
|
+
)
|
|
5976
|
+
]
|
|
5977
|
+
}
|
|
5978
|
+
),
|
|
5979
|
+
/* @__PURE__ */ u$2(InputError, { error })
|
|
5980
|
+
] })
|
|
5981
|
+
]
|
|
5982
|
+
}
|
|
5983
|
+
) }) }) })
|
|
5984
|
+
] }) }) });
|
|
5937
5985
|
};
|
|
5938
|
-
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(fieldset) {\n margin: 0;\n padding: 0;\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 .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n #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 .bottom-0 {\n bottom: 0px;\n}\n\n #ija .right-0 {\n right: 0px;\n}\n\n #ija .top-0 {\n top: 0px;\n}\n\n #ija .isolate {\n isolation: isolate;\n}\n\n #ija .z-50 {\n z-index: 50;\n}\n\n #ija .col-span-full {\n grid-column: 1 / -1;\n}\n\n #ija .row-span-full {\n grid-row: 1 / -1;\n}\n\n #ija .mt-0 {\n margin-top: 0px;\n}\n\n #ija .mt-0\\.5 {\n margin-top: 0.125rem;\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 .h-4 {\n height: 1rem;\n}\n\n #ija .w-4 {\n width: 1rem;\n}\n\n #ija .w-64 {\n width: 16rem;\n}\n\n #ija .w-full {\n width: 100%;\n}\n\n #ija .min-w-0 {\n min-width: 0px;\n}\n\n #ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {\n max-width: var(--radix-popover-content-available-width);\n}\n\n #ija .max-w-full {\n max-width: 100%;\n}\n\n #ija .flex-none {\n flex: 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 .translate-y-0 {\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #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 .appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n #ija .flex-col {\n flex-direction: column;\n}\n\n #ija .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ija .items-start {\n align-items: flex-start;\n}\n\n #ija .items-center {\n align-items: center;\n}\n\n #ija .justify-center {\n justify-content: center;\n}\n\n #ija .gap-1 {\n gap: 0.25rem;\n}\n\n #ija .gap-1\\.5 {\n gap: 0.375rem;\n}\n\n #ija .gap-2 {\n gap: 0.5rem;\n}\n\n #ija .gap-2\\.5 {\n gap: 0.625rem;\n}\n\n #ija .overflow-hidden {\n overflow: hidden;\n}\n\n #ija .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ija .rounded-lg {\n border-radius: var(--i-radius-lg);\n}\n\n #ija .border {\n border-width: 1px;\n}\n\n #ija .bg-accent-9 {\n background-color: var(--i-color-a-9);\n}\n\n #ija .bg-lowest {\n background-color: var(--i-color-lowest);\n}\n\n #ija .bg-neutral-1 {\n background-color: var(--i-color-n-1);\n}\n\n #ija .p-1 {\n padding: 0.25rem;\n}\n\n #ija .p-2 {\n padding: 0.5rem;\n}\n\n #ija .px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n #ija .px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n\n #ija .px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n #ija .px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n #ija .px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n #ija .py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n #ija .py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n #ija .py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n #ija .pb-4 {\n padding-bottom: 1rem;\n}\n\n #ija .pl-2 {\n padding-left: 0.5rem;\n}\n\n #ija .pl-2\\.5 {\n padding-left: 0.625rem;\n}\n\n #ija .pr-1 {\n padding-right: 0.25rem;\n}\n\n #ija .pr-8 {\n padding-right: 2rem;\n}\n\n #ija .pt-1 {\n padding-top: 0.25rem;\n}\n\n #ija .text-center {\n text-align: center;\n}\n\n #ija .text-justify {\n text-align: justify;\n}\n\n #ija .text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n #ija .text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n #ija .font-medium {\n font-weight: 500;\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 .text-\\[\\#E5484D\\] {\n --tw-text-opacity: 1;\n color: rgb(229 72 77 / var(--tw-text-opacity));\n}\n\n #ija .text-accent-1 {\n color: var(--i-color-a-1);\n}\n\n #ija .text-accent-11 {\n color: var(--i-color-a-11);\n}\n\n #ija .text-neutral-10 {\n color: var(--i-color-n-10);\n}\n\n #ija .text-neutral-11 {\n color: var(--i-color-n-11);\n}\n\n #ija .opacity-0 {\n opacity: 0;\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 .shadow-\\[0_0_0_1px\\] {\n --tw-shadow: 0 0 0 1px;\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .shadow-surface-lg {\n --tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / 0.03), 0px 6px 4px 0px oklch(0% 0 0 / 0.02), 0px 11px 4px 0px oklch(0% 0 0 / 0.01), 0px 32px 24px -12px oklch(0% 0 0 / 0.06);\n --tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px 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-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ija .outline {\n outline-style: solid;\n}\n\n #ija .ring {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .ring-1 {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .ring-neutral-4 {\n --tw-ring-color: var(--i-color-n-4);\n}\n\n #ija .ring-neutral-5 {\n --tw-ring-color: var(--i-color-n-5);\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}\n\n #ija .transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n #ija .duration-medium {\n transition-duration: var(--i-duration-medium);\n}\n\n #ija .duration-snappy {\n transition-duration: var(--i-duration-snappy);\n}\n\n #ija .ease-expo-out {\n transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ija .will-change-\\[transform\\2c opacity\\] {\n will-change: transform,opacity;\n}\n\n #ija .fr {\n outline: none;\n}\n\n #ija .fr:focus {\n outline: none;\n}\n\n #ija .fr:focus-visible {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .rounded-field-input {\n border-radius: 0;\n }\n\n #ija .fieldset:first-child .rounded-field-input {\n border-top-left-radius: var(--i-radius-md);\n border-top-right-radius: var(--i-radius-md);\n }\n\n #ija .fieldset:last-child .rounded-field-input {\n border-bottom-left-radius: var(--i-radius-md);\n border-bottom-right-radius: var(--i-radius-md);\n }\n\n /* perimeter = 2 * Pi * r\n r = 9 (circle radius)\n 56.54\n */\n\n @keyframes loading-circle {\n 0% {\n stroke-dasharray: 0 56.54;\n }\n 100% {\n stroke-dasharray: 56.54 56.54;\n }\n }\n\n #ija .loading-circle {\n stroke-dasharray: 56.54 56.54;\n }\n\n #ija [data-state='loading'] .loading-circle {\n animation: loading-circle 1s linear;\n }\n\n /* perimeter = 2 * Pi * r\n r = 9 (circle radius)\n 56.54\n */\n\n @keyframes done-checkmark {\n 0% {\n stroke-dasharray: 0 8.6;\n }\n 100% {\n stroke-dasharray: 8.6 8.6;\n }\n }\n\n #ija .done-checkmark {\n stroke-dashoffset: -1;\n stroke-dasharray: 0 8.6;\n opacity: 0;\n }\n\n #ija [data-state='success'] .done-checkmark {\n opacity: 1;\n animation: done-checkmark 0.9s cubic-bezier(0.16, 1, 0.3, 1);\n }\n\n #ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n\n #ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ija .focus-within\\:z-10:focus-within {\n z-index: 10;\n}\n\n #ija .hover\\:scale-\\[1\\.02\\]:hover {\n --tw-scale-x: 1.02;\n --tw-scale-y: 1.02;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .focus\\:shadow-\\[0_0_0_2px\\]:focus {\n --tw-shadow: 0 0 0 2px;\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .active\\:scale-\\[\\.97\\]:active {\n --tw-scale-x: .97;\n --tw-scale-y: .97;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .active\\:bg-accent-10:active {\n background-color: var(--i-color-a-10);\n}\n\n #ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n @keyframes slideUpAndFade {\n\n from {\n opacity: 0;\n transform: translateY(2px);\n }\n\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open] {\n animation: slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes slideRightAndFade {\n\n from {\n opacity: 0;\n transform: translateX(-2px);\n }\n\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open] {\n animation: slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes slideLeftAndFade {\n\n from {\n opacity: 0;\n transform: translateX(2px);\n }\n\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open] {\n animation: slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes slideDownAndFade {\n\n from {\n opacity: 0;\n transform: translateY(-2px);\n }\n\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open] {\n animation: slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {\n opacity: 0;\n}\n\n #ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {\n opacity: 1;\n}\n\n #ija .dark .theme-dark\\:text-highest {\n color: var(--i-color-highest);\n}\n\n #ija .dark .theme-dark\\:active\\:bg-accent-8:active {\n background-color: var(--i-color-a-8);\n}\n\n #ija .fill .theme-fill\\:bg-accent-2 {\n background-color: var(--i-color-a-2);\n}\n\n #ija .fill .theme-fill\\:hover\\:bg-accent-3:hover {\n background-color: var(--i-color-a-3);\n}\n\n #ija .fill .theme-fill\\:active\\:bg-accent-4:active {\n background-color: var(--i-color-a-4);\n}\n\n #ija .stroke .theme-stroke\\:ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .stroke .theme-stroke\\:ring-accent-4 {\n --tw-ring-color: var(--i-color-a-4);\n}\n\n #ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {\n --tw-ring-color: var(--i-color-a-9);\n}\n";
|
|
5986
|
+
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(fieldset) {\n margin: 0;\n padding: 0;\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 --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\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 --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\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 .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n #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 .bottom-0 {\n bottom: 0px;\n}\n\n #ija .right-0 {\n right: 0px;\n}\n\n #ija .top-0 {\n top: 0px;\n}\n\n #ija .isolate {\n isolation: isolate;\n}\n\n #ija .z-50 {\n z-index: 50;\n}\n\n #ija .col-span-full {\n grid-column: 1 / -1;\n}\n\n #ija .row-span-full {\n grid-row: 1 / -1;\n}\n\n #ija .mt-0\\.5 {\n margin-top: 0.125rem;\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 .h-4 {\n height: 1rem;\n}\n\n #ija .w-4 {\n width: 1rem;\n}\n\n #ija .w-64 {\n width: 16rem;\n}\n\n #ija .w-full {\n width: 100%;\n}\n\n #ija .min-w-0 {\n min-width: 0px;\n}\n\n #ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {\n max-width: var(--radix-popover-content-available-width);\n}\n\n #ija .max-w-full {\n max-width: 100%;\n}\n\n #ija .flex-none {\n flex: 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 .translate-y-0 {\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #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 .appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n #ija .flex-col {\n flex-direction: column;\n}\n\n #ija .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ija .items-start {\n align-items: flex-start;\n}\n\n #ija .items-center {\n align-items: center;\n}\n\n #ija .justify-center {\n justify-content: center;\n}\n\n #ija .gap-1\\.5 {\n gap: 0.375rem;\n}\n\n #ija .gap-2 {\n gap: 0.5rem;\n}\n\n #ija .gap-2\\.5 {\n gap: 0.625rem;\n}\n\n #ija .overflow-hidden {\n overflow: hidden;\n}\n\n #ija .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ija .rounded-lg {\n border-radius: var(--i-radius-lg);\n}\n\n #ija .border {\n border-width: 1px;\n}\n\n #ija .bg-accent-9 {\n background-color: var(--i-color-a-9);\n}\n\n #ija .bg-lowest {\n background-color: var(--i-color-lowest);\n}\n\n #ija .bg-neutral-1 {\n background-color: var(--i-color-n-1);\n}\n\n #ija .p-1 {\n padding: 0.25rem;\n}\n\n #ija .p-2 {\n padding: 0.5rem;\n}\n\n #ija .px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n #ija .px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n\n #ija .px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n #ija .px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n #ija .px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n #ija .py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n #ija .py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n #ija .pb-4 {\n padding-bottom: 1rem;\n}\n\n #ija .pl-2 {\n padding-left: 0.5rem;\n}\n\n #ija .pl-2\\.5 {\n padding-left: 0.625rem;\n}\n\n #ija .pr-1 {\n padding-right: 0.25rem;\n}\n\n #ija .pr-8 {\n padding-right: 2rem;\n}\n\n #ija .pt-1 {\n padding-top: 0.25rem;\n}\n\n #ija .text-center {\n text-align: center;\n}\n\n #ija .text-justify {\n text-align: justify;\n}\n\n #ija .text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n #ija .text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n #ija .font-medium {\n font-weight: 500;\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 .text-\\[\\#E5484D\\] {\n --tw-text-opacity: 1;\n color: rgb(229 72 77 / var(--tw-text-opacity));\n}\n\n #ija .text-accent-1 {\n color: var(--i-color-a-1);\n}\n\n #ija .text-accent-11 {\n color: var(--i-color-a-11);\n}\n\n #ija .text-neutral-10 {\n color: var(--i-color-n-10);\n}\n\n #ija .text-neutral-11 {\n color: var(--i-color-n-11);\n}\n\n #ija .underline {\n text-decoration-line: underline;\n}\n\n #ija .opacity-0 {\n opacity: 0;\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 .shadow-\\[0_0_0_1px\\] {\n --tw-shadow: 0 0 0 1px;\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .shadow-surface-lg {\n --tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / 0.03), 0px 6px 4px 0px oklch(0% 0 0 / 0.02), 0px 11px 4px 0px oklch(0% 0 0 / 0.01), 0px 32px 24px -12px oklch(0% 0 0 / 0.06);\n --tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px 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-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ija .outline {\n outline-style: solid;\n}\n\n #ija .ring {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .ring-1 {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .ring-neutral-4 {\n --tw-ring-color: var(--i-color-n-4);\n}\n\n #ija .ring-neutral-5 {\n --tw-ring-color: var(--i-color-n-5);\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}\n\n #ija .transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n #ija .duration-medium {\n transition-duration: var(--i-duration-medium);\n}\n\n #ija .duration-snappy {\n transition-duration: var(--i-duration-snappy);\n}\n\n #ija .ease-expo-out {\n transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ija .will-change-\\[transform\\2c opacity\\] {\n will-change: transform,opacity;\n}\n\n #ija .fr {\n outline: none;\n}\n\n #ija .fr:focus {\n outline: none;\n}\n\n #ija .fr:focus-visible {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .rounded-field-input {\n border-radius: 0;\n }\n\n #ija .fieldset:first-child .rounded-field-input {\n border-top-left-radius: var(--i-radius-md);\n border-top-right-radius: var(--i-radius-md);\n }\n\n #ija .fieldset:last-child .rounded-field-input {\n border-bottom-left-radius: var(--i-radius-md);\n border-bottom-right-radius: var(--i-radius-md);\n }\n\n /* perimeter = 2 * Pi * r\n r = 9 (circle radius)\n 56.54\n */\n\n @keyframes loading-circle {\n 0% {\n stroke-dasharray: 0 56.54;\n }\n 100% {\n stroke-dasharray: 56.54 56.54;\n }\n }\n\n #ija .loading-circle {\n stroke-dasharray: 56.54 56.54;\n }\n\n #ija [data-state='loading'] .loading-circle {\n animation: loading-circle 1s linear;\n }\n\n /* perimeter = 2 * Pi * r\n r = 9 (circle radius)\n 56.54\n */\n\n @keyframes done-checkmark {\n 0% {\n stroke-dasharray: 0 8.6;\n }\n 100% {\n stroke-dasharray: 8.6 8.6;\n }\n }\n\n #ija .done-checkmark {\n stroke-dashoffset: -1;\n stroke-dasharray: 0 8.6;\n opacity: 0;\n }\n\n #ija [data-state='success'] .done-checkmark {\n opacity: 1;\n animation: done-checkmark 0.9s cubic-bezier(0.16, 1, 0.3, 1);\n }\n\n #ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n\n #ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ija .focus-within\\:z-10:focus-within {\n z-index: 10;\n}\n\n #ija .hover\\:scale-\\[1\\.02\\]:hover {\n --tw-scale-x: 1.02;\n --tw-scale-y: 1.02;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .focus\\:shadow-\\[0_0_0_2px\\]:focus {\n --tw-shadow: 0 0 0 2px;\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ija .active\\:scale-\\[\\.97\\]:active {\n --tw-scale-x: .97;\n --tw-scale-y: .97;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .active\\:bg-accent-10:active {\n background-color: var(--i-color-a-10);\n}\n\n #ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n @keyframes slideUpAndFade {\n\n from {\n opacity: 0;\n transform: translateY(2px);\n }\n\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open] {\n animation: slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes slideRightAndFade {\n\n from {\n opacity: 0;\n transform: translateX(-2px);\n }\n\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open] {\n animation: slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes slideLeftAndFade {\n\n from {\n opacity: 0;\n transform: translateX(2px);\n }\n\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open] {\n animation: slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes slideDownAndFade {\n\n from {\n opacity: 0;\n transform: translateY(-2px);\n }\n\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n #ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open] {\n animation: slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {\n opacity: 0;\n}\n\n #ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {\n opacity: 1;\n}\n\n #ija .dark .theme-dark\\:text-highest {\n color: var(--i-color-highest);\n}\n\n #ija .dark .theme-dark\\:active\\:bg-accent-8:active {\n background-color: var(--i-color-a-8);\n}\n\n #ija .fill .theme-fill\\:bg-accent-2 {\n background-color: var(--i-color-a-2);\n}\n\n #ija .fill .theme-fill\\:hover\\:bg-accent-3:hover {\n background-color: var(--i-color-a-3);\n}\n\n #ija .fill .theme-fill\\:active\\:bg-accent-4:active {\n background-color: var(--i-color-a-4);\n}\n\n #ija .stroke .theme-stroke\\:ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ija .stroke .theme-stroke\\:ring-accent-4 {\n --tw-ring-color: var(--i-color-a-4);\n}\n\n #ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {\n --tw-ring-color: var(--i-color-a-9);\n}\n";
|
|
5939
5987
|
const createJobAlertsDomManager = () => {
|
|
5940
5988
|
return {
|
|
5941
5989
|
getRenderTargetElement: () => {
|
|
@@ -5946,27 +5994,17 @@ const createJobAlertsDomManager = () => {
|
|
|
5946
5994
|
};
|
|
5947
5995
|
};
|
|
5948
5996
|
const dom = createJobAlertsDomManager();
|
|
5949
|
-
const jobAlertsPlugin = () => createPlugin(({
|
|
5950
|
-
apiClient,
|
|
5951
|
-
logger,
|
|
5952
|
-
analytics
|
|
5953
|
-
}) => {
|
|
5997
|
+
const jobAlertsPlugin = () => createPlugin(({ apiClient, logger, analytics }) => {
|
|
5954
5998
|
let prerendered = false;
|
|
5955
|
-
const App = ({
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
}), y$3(JobAlerts, {
|
|
5965
|
-
theme: params.theme,
|
|
5966
|
-
apiClient,
|
|
5967
|
-
logger,
|
|
5968
|
-
analytics
|
|
5969
|
-
})]);
|
|
5999
|
+
const App = ({ params }) => {
|
|
6000
|
+
return _$3(k$3, {}, [
|
|
6001
|
+
[
|
|
6002
|
+
_$3("style", { id: "inploi-job-alerts-styles" }, tailwind),
|
|
6003
|
+
_$3("style", { id: "inploi-job-search-theme" }, generateColorThemeCss(params.theme))
|
|
6004
|
+
],
|
|
6005
|
+
_$3(IconSpritesheet, { theme: params.theme }),
|
|
6006
|
+
_$3(JobAlerts, { theme: params.theme, apiClient, logger, analytics })
|
|
6007
|
+
]);
|
|
5970
6008
|
};
|
|
5971
6009
|
const setFilters = (newFilters) => store.filters$.value = newFilters;
|
|
5972
6010
|
const setConfig = (newConfig) => store.config$.value = typeof newConfig === "function" ? newConfig(store.config$.peek()) : newConfig;
|
|
@@ -5978,20 +6016,19 @@ const jobAlertsPlugin = () => createPlugin(({
|
|
|
5978
6016
|
prerendered = true;
|
|
5979
6017
|
setFilters(params.initialFilters);
|
|
5980
6018
|
return {
|
|
5981
|
-
html:
|
|
5982
|
-
params
|
|
5983
|
-
})))
|
|
6019
|
+
html: S(_$3(k$3, {}, _$3(App, { params })))
|
|
5984
6020
|
};
|
|
5985
6021
|
},
|
|
5986
6022
|
/** Renders the Job Alerts Plugin inside the container element. */
|
|
5987
6023
|
render: async (params) => {
|
|
5988
|
-
const fn2 = prerendered ?
|
|
5989
|
-
invariant(
|
|
6024
|
+
const fn2 = prerendered ? D$3 : B$2;
|
|
6025
|
+
invariant(
|
|
6026
|
+
typeof window !== "undefined",
|
|
6027
|
+
"the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."
|
|
6028
|
+
);
|
|
5990
6029
|
setFilters(params.initialFilters);
|
|
5991
6030
|
setConfig(params.config);
|
|
5992
|
-
fn2(
|
|
5993
|
-
params
|
|
5994
|
-
}), dom.getRenderTargetElement());
|
|
6031
|
+
fn2(_$3(App, { params }), dom.getRenderTargetElement());
|
|
5995
6032
|
},
|
|
5996
6033
|
setFilters,
|
|
5997
6034
|
setConfig
|