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