@ohbug/extension-feedback 0.6.0 → 0.6.2
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/dist/Box.d.ts.map +1 -1
- package/dist/Selector.d.ts.map +1 -1
- package/dist/assets.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -486
- package/dist/index.mjs +474 -952
- package/dist/store.d.ts.map +1 -1
- package/package.json +8 -7
- package/dist/env.d.ts +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,293 +1,282 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
S.context = e;
|
|
4
|
-
}
|
|
5
|
-
const ze = (e, t) => e === t, z = Symbol("solid-proxy"), He = Symbol("solid-track"), W = {
|
|
6
|
-
equals: ze
|
|
1
|
+
const Te = (e, t) => e === t, C = Symbol("solid-proxy"), fe = Symbol("solid-track"), K = {
|
|
2
|
+
equals: Te
|
|
7
3
|
};
|
|
8
|
-
let
|
|
9
|
-
const
|
|
4
|
+
let ge = me;
|
|
5
|
+
const k = 1, W = 2, be = {
|
|
10
6
|
owned: null,
|
|
11
7
|
cleanups: null,
|
|
12
8
|
context: null,
|
|
13
9
|
owner: null
|
|
14
10
|
};
|
|
15
|
-
var
|
|
16
|
-
let
|
|
17
|
-
function
|
|
18
|
-
const n = b,
|
|
11
|
+
var w = null;
|
|
12
|
+
let ne = null, b = null, $ = null, S = null, ee = 0;
|
|
13
|
+
function Pe(e, t) {
|
|
14
|
+
const n = b, l = w, s = e.length === 0, o = s ? be : {
|
|
19
15
|
owned: null,
|
|
20
16
|
cleanups: null,
|
|
21
17
|
context: null,
|
|
22
|
-
owner: t
|
|
23
|
-
}, i =
|
|
24
|
-
|
|
18
|
+
owner: t === void 0 ? l : t
|
|
19
|
+
}, i = s ? e : () => e(() => N(() => te(o)));
|
|
20
|
+
w = o, b = null;
|
|
25
21
|
try {
|
|
26
|
-
return
|
|
22
|
+
return H(i, !0);
|
|
27
23
|
} finally {
|
|
28
|
-
b = n,
|
|
24
|
+
b = n, w = l;
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
27
|
function F(e, t) {
|
|
32
|
-
t = t ? Object.assign({},
|
|
28
|
+
t = t ? Object.assign({}, K, t) : K;
|
|
33
29
|
const n = {
|
|
34
30
|
value: e,
|
|
35
31
|
observers: null,
|
|
36
32
|
observerSlots: null,
|
|
37
|
-
pending: H,
|
|
38
33
|
comparator: t.equals || void 0
|
|
39
|
-
},
|
|
40
|
-
return [
|
|
34
|
+
}, l = (s) => (typeof s == "function" && (s = s(n.value)), $e(n, s));
|
|
35
|
+
return [ye.bind(n), l];
|
|
41
36
|
}
|
|
42
37
|
function j(e, t, n) {
|
|
43
|
-
const
|
|
44
|
-
|
|
38
|
+
const l = re(e, t, !1, k);
|
|
39
|
+
G(l);
|
|
45
40
|
}
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
|
|
41
|
+
function pe(e, t, n) {
|
|
42
|
+
ge = Me;
|
|
43
|
+
const l = re(e, t, !1, k);
|
|
44
|
+
(!n || !n.render) && (l.user = !0), S ? S.push(l) : G(l);
|
|
50
45
|
}
|
|
51
|
-
function
|
|
52
|
-
n = n ? Object.assign({},
|
|
53
|
-
const
|
|
54
|
-
return
|
|
46
|
+
function ae(e, t, n) {
|
|
47
|
+
n = n ? Object.assign({}, K, n) : K;
|
|
48
|
+
const l = re(e, t, !0, 0);
|
|
49
|
+
return l.observers = null, l.observerSlots = null, l.comparator = n.equals || void 0, G(l), ye.bind(l);
|
|
55
50
|
}
|
|
56
|
-
function
|
|
57
|
-
|
|
51
|
+
function Le(e) {
|
|
52
|
+
return H(e, !1);
|
|
53
|
+
}
|
|
54
|
+
function N(e) {
|
|
55
|
+
if (b === null)
|
|
58
56
|
return e();
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
const t = b;
|
|
58
|
+
b = null;
|
|
61
59
|
try {
|
|
62
|
-
|
|
60
|
+
return e();
|
|
63
61
|
} finally {
|
|
64
|
-
|
|
62
|
+
b = t;
|
|
65
63
|
}
|
|
66
|
-
return ce(() => {
|
|
67
|
-
for (let o = 0; o < n.length; o += 1) {
|
|
68
|
-
const l = n[o];
|
|
69
|
-
if (l.pending !== H) {
|
|
70
|
-
const s = l.pending;
|
|
71
|
-
l.pending = H, ie(l, s);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}, !1), t;
|
|
75
|
-
}
|
|
76
|
-
function se(e) {
|
|
77
|
-
let t, n = b;
|
|
78
|
-
return b = null, t = e(), b = n, t;
|
|
79
64
|
}
|
|
80
|
-
function
|
|
81
|
-
return
|
|
65
|
+
function ze(e) {
|
|
66
|
+
return w === null || (w.cleanups === null ? w.cleanups = [e] : w.cleanups.push(e)), e;
|
|
82
67
|
}
|
|
83
|
-
function
|
|
68
|
+
function we() {
|
|
84
69
|
return b;
|
|
85
70
|
}
|
|
86
|
-
function
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
71
|
+
function ye() {
|
|
72
|
+
if (this.sources && this.state)
|
|
73
|
+
if (this.state === k)
|
|
74
|
+
G(this);
|
|
75
|
+
else {
|
|
76
|
+
const e = $;
|
|
77
|
+
$ = null, H(() => Y(this), !1), $ = e;
|
|
78
|
+
}
|
|
92
79
|
if (b) {
|
|
93
|
-
const
|
|
94
|
-
b.sources ? (b.sources.push(this), b.sourceSlots.push(
|
|
80
|
+
const e = this.observers ? this.observers.length : 0;
|
|
81
|
+
b.sources ? (b.sources.push(this), b.sourceSlots.push(e)) : (b.sources = [this], b.sourceSlots = [e]), this.observers ? (this.observers.push(b), this.observerSlots.push(b.sources.length - 1)) : (this.observers = [b], this.observerSlots = [b.sources.length - 1]);
|
|
95
82
|
}
|
|
96
83
|
return this.value;
|
|
97
84
|
}
|
|
98
|
-
function
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
return e.value = t, e.observers && e.observers.length && ce(() => {
|
|
105
|
-
for (let l = 0; l < e.observers.length; l += 1) {
|
|
106
|
-
const s = e.observers[l];
|
|
107
|
-
o && G.disposed.has(s), (o && !s.tState || !o && !s.state) && (s.pure ? $.push(s) : E.push(s), s.observers && xe(s)), o || (s.state = O);
|
|
85
|
+
function $e(e, t, n) {
|
|
86
|
+
let l = e.value;
|
|
87
|
+
return (!e.comparator || !e.comparator(l, t)) && (e.value = t, e.observers && e.observers.length && H(() => {
|
|
88
|
+
for (let s = 0; s < e.observers.length; s += 1) {
|
|
89
|
+
const o = e.observers[s], i = ne && ne.running;
|
|
90
|
+
i && ne.disposed.has(o), (i ? !o.tState : !o.state) && (o.pure ? $.push(o) : S.push(o), o.observers && ve(o)), i || (o.state = k);
|
|
108
91
|
}
|
|
109
92
|
if ($.length > 1e6)
|
|
110
93
|
throw $ = [], new Error();
|
|
111
|
-
}, !1), t;
|
|
94
|
+
}, !1)), t;
|
|
112
95
|
}
|
|
113
|
-
function
|
|
96
|
+
function G(e) {
|
|
114
97
|
if (!e.fn)
|
|
115
98
|
return;
|
|
116
|
-
|
|
117
|
-
const t =
|
|
118
|
-
b =
|
|
99
|
+
te(e);
|
|
100
|
+
const t = w, n = b, l = ee;
|
|
101
|
+
b = w = e, je(e, e.value, l), b = n, w = t;
|
|
119
102
|
}
|
|
120
|
-
function
|
|
121
|
-
let
|
|
103
|
+
function je(e, t, n) {
|
|
104
|
+
let l;
|
|
122
105
|
try {
|
|
123
|
-
|
|
124
|
-
} catch (
|
|
125
|
-
|
|
106
|
+
l = e.fn(t);
|
|
107
|
+
} catch (s) {
|
|
108
|
+
return e.pure && (e.state = k, e.owned && e.owned.forEach(te), e.owned = null), e.updatedAt = n + 1, xe(s);
|
|
126
109
|
}
|
|
127
|
-
(!e.updatedAt || e.updatedAt <= n) && (e.
|
|
110
|
+
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? $e(e, l) : e.value = l, e.updatedAt = n);
|
|
128
111
|
}
|
|
129
|
-
function re(e, t, n,
|
|
130
|
-
const
|
|
112
|
+
function re(e, t, n, l = k, s) {
|
|
113
|
+
const o = {
|
|
131
114
|
fn: e,
|
|
132
|
-
state:
|
|
115
|
+
state: l,
|
|
133
116
|
updatedAt: null,
|
|
134
117
|
owned: null,
|
|
135
118
|
sources: null,
|
|
136
119
|
sourceSlots: null,
|
|
137
120
|
cleanups: null,
|
|
138
121
|
value: t,
|
|
139
|
-
owner:
|
|
122
|
+
owner: w,
|
|
140
123
|
context: null,
|
|
141
124
|
pure: n
|
|
142
125
|
};
|
|
143
|
-
return
|
|
126
|
+
return w === null || w !== be && (w.owned ? w.owned.push(o) : w.owned = [o]), o;
|
|
144
127
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
147
|
-
if (e.state === 0 || t)
|
|
128
|
+
function X(e) {
|
|
129
|
+
if (e.state === 0)
|
|
148
130
|
return;
|
|
149
|
-
if (e.state ===
|
|
131
|
+
if (e.state === W)
|
|
150
132
|
return Y(e);
|
|
151
|
-
if (e.suspense &&
|
|
133
|
+
if (e.suspense && N(e.suspense.inFallback))
|
|
152
134
|
return e.suspense.effects.push(e);
|
|
153
|
-
const
|
|
154
|
-
for (; (e = e.owner) && (!e.updatedAt || e.updatedAt <
|
|
155
|
-
|
|
156
|
-
for (let
|
|
157
|
-
if (e = n
|
|
158
|
-
|
|
159
|
-
else if (e.state ===
|
|
135
|
+
const t = [e];
|
|
136
|
+
for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < ee); )
|
|
137
|
+
e.state && t.push(e);
|
|
138
|
+
for (let n = t.length - 1; n >= 0; n--)
|
|
139
|
+
if (e = t[n], e.state === k)
|
|
140
|
+
G(e);
|
|
141
|
+
else if (e.state === W) {
|
|
160
142
|
const l = $;
|
|
161
|
-
$ = null, Y(e,
|
|
143
|
+
$ = null, H(() => Y(e, t[0]), !1), $ = l;
|
|
162
144
|
}
|
|
163
145
|
}
|
|
164
|
-
function
|
|
146
|
+
function H(e, t) {
|
|
165
147
|
if ($)
|
|
166
148
|
return e();
|
|
167
149
|
let n = !1;
|
|
168
|
-
t || ($ = []),
|
|
150
|
+
t || ($ = []), S ? n = !0 : S = [], ee++;
|
|
169
151
|
try {
|
|
170
|
-
const
|
|
171
|
-
return
|
|
172
|
-
} catch (
|
|
173
|
-
|
|
152
|
+
const l = e();
|
|
153
|
+
return He(n), l;
|
|
154
|
+
} catch (l) {
|
|
155
|
+
n || (S = null), $ = null, xe(l);
|
|
174
156
|
}
|
|
175
157
|
}
|
|
176
|
-
function
|
|
177
|
-
$ && (me($), $ = null),
|
|
178
|
-
|
|
179
|
-
|
|
158
|
+
function He(e) {
|
|
159
|
+
if ($ && (me($), $ = null), e)
|
|
160
|
+
return;
|
|
161
|
+
const t = S;
|
|
162
|
+
S = null, t.length && H(() => ge(t), !1);
|
|
180
163
|
}
|
|
181
164
|
function me(e) {
|
|
182
165
|
for (let t = 0; t < e.length; t++)
|
|
183
|
-
|
|
166
|
+
X(e[t]);
|
|
184
167
|
}
|
|
185
|
-
function
|
|
168
|
+
function Me(e) {
|
|
186
169
|
let t, n = 0;
|
|
187
170
|
for (t = 0; t < e.length; t++) {
|
|
188
171
|
const l = e[t];
|
|
189
|
-
l.user ? e[n++] = l :
|
|
172
|
+
l.user ? e[n++] = l : X(l);
|
|
190
173
|
}
|
|
191
|
-
S.context && Le();
|
|
192
|
-
const o = e.length;
|
|
193
174
|
for (t = 0; t < n; t++)
|
|
194
|
-
|
|
195
|
-
for (t = o; t < e.length; t++)
|
|
196
|
-
R(e[t]);
|
|
175
|
+
X(e[t]);
|
|
197
176
|
}
|
|
198
177
|
function Y(e, t) {
|
|
199
|
-
const n = G;
|
|
200
178
|
e.state = 0;
|
|
201
|
-
for (let
|
|
202
|
-
const l = e.sources[
|
|
203
|
-
|
|
179
|
+
for (let n = 0; n < e.sources.length; n += 1) {
|
|
180
|
+
const l = e.sources[n];
|
|
181
|
+
if (l.sources) {
|
|
182
|
+
const s = l.state;
|
|
183
|
+
s === k ? l !== t && (!l.updatedAt || l.updatedAt < ee) && X(l) : s === W && Y(l, t);
|
|
184
|
+
}
|
|
204
185
|
}
|
|
205
186
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
(!o.state || t) && (o.state = X, o.pure ? $.push(o) : E.push(o), o.observers && xe(o));
|
|
187
|
+
function ve(e) {
|
|
188
|
+
for (let t = 0; t < e.observers.length; t += 1) {
|
|
189
|
+
const n = e.observers[t];
|
|
190
|
+
n.state || (n.state = W, n.pure ? $.push(n) : S.push(n), n.observers && ve(n));
|
|
211
191
|
}
|
|
212
192
|
}
|
|
213
|
-
function
|
|
193
|
+
function te(e) {
|
|
214
194
|
let t;
|
|
215
195
|
if (e.sources)
|
|
216
196
|
for (; e.sources.length; ) {
|
|
217
|
-
const n = e.sources.pop(),
|
|
218
|
-
if (
|
|
219
|
-
const
|
|
220
|
-
|
|
197
|
+
const n = e.sources.pop(), l = e.sourceSlots.pop(), s = n.observers;
|
|
198
|
+
if (s && s.length) {
|
|
199
|
+
const o = s.pop(), i = n.observerSlots.pop();
|
|
200
|
+
l < s.length && (o.sourceSlots[i] = l, s[l] = o, n.observerSlots[l] = i);
|
|
221
201
|
}
|
|
222
202
|
}
|
|
223
203
|
if (e.owned) {
|
|
224
|
-
for (t =
|
|
225
|
-
|
|
204
|
+
for (t = e.owned.length - 1; t >= 0; t--)
|
|
205
|
+
te(e.owned[t]);
|
|
226
206
|
e.owned = null;
|
|
227
207
|
}
|
|
228
208
|
if (e.cleanups) {
|
|
229
|
-
for (t =
|
|
209
|
+
for (t = e.cleanups.length - 1; t >= 0; t--)
|
|
230
210
|
e.cleanups[t]();
|
|
231
211
|
e.cleanups = null;
|
|
232
212
|
}
|
|
233
213
|
e.state = 0, e.context = null;
|
|
234
214
|
}
|
|
235
|
-
function
|
|
236
|
-
|
|
215
|
+
function De(e) {
|
|
216
|
+
return e instanceof Error ? e : new Error(typeof e == "string" ? e : "Unknown error", {
|
|
217
|
+
cause: e
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
function xe(e, t = w) {
|
|
221
|
+
throw De(e);
|
|
237
222
|
}
|
|
238
223
|
function x(e, t) {
|
|
239
|
-
return
|
|
224
|
+
return N(() => e(t || {}));
|
|
240
225
|
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
const n =
|
|
244
|
-
equals: (
|
|
226
|
+
const Be = (e) => `Stale read from <${e}>.`;
|
|
227
|
+
function U(e) {
|
|
228
|
+
const t = e.keyed, n = ae(() => e.when, void 0, {
|
|
229
|
+
equals: (l, s) => t ? l === s : !l == !s
|
|
245
230
|
});
|
|
246
|
-
return
|
|
247
|
-
const
|
|
248
|
-
if (
|
|
249
|
-
const
|
|
250
|
-
return
|
|
231
|
+
return ae(() => {
|
|
232
|
+
const l = n();
|
|
233
|
+
if (l) {
|
|
234
|
+
const s = e.children;
|
|
235
|
+
return typeof s == "function" && s.length > 0 ? N(() => s(t ? l : () => {
|
|
236
|
+
if (!N(n))
|
|
237
|
+
throw Be("Show");
|
|
238
|
+
return e.when;
|
|
239
|
+
})) : s;
|
|
251
240
|
}
|
|
252
241
|
return e.fallback;
|
|
253
|
-
});
|
|
242
|
+
}, void 0, void 0);
|
|
254
243
|
}
|
|
255
|
-
function
|
|
256
|
-
let
|
|
257
|
-
for (; i <
|
|
244
|
+
function Fe(e, t, n) {
|
|
245
|
+
let l = n.length, s = t.length, o = l, i = 0, r = 0, c = t[s - 1].nextSibling, h = null;
|
|
246
|
+
for (; i < s || r < o; ) {
|
|
258
247
|
if (t[i] === n[r]) {
|
|
259
248
|
i++, r++;
|
|
260
249
|
continue;
|
|
261
250
|
}
|
|
262
|
-
for (; t[
|
|
263
|
-
|
|
264
|
-
if (
|
|
265
|
-
const
|
|
266
|
-
for (; r <
|
|
267
|
-
e.insertBefore(n[r++],
|
|
268
|
-
} else if (
|
|
269
|
-
for (; i <
|
|
270
|
-
(!
|
|
271
|
-
else if (t[i] === n[
|
|
272
|
-
const
|
|
273
|
-
e.insertBefore(n[r++], t[i++].nextSibling), e.insertBefore(n[--
|
|
251
|
+
for (; t[s - 1] === n[o - 1]; )
|
|
252
|
+
s--, o--;
|
|
253
|
+
if (s === i) {
|
|
254
|
+
const u = o < l ? r ? n[r - 1].nextSibling : n[o - r] : c;
|
|
255
|
+
for (; r < o; )
|
|
256
|
+
e.insertBefore(n[r++], u);
|
|
257
|
+
} else if (o === r)
|
|
258
|
+
for (; i < s; )
|
|
259
|
+
(!h || !h.has(t[i])) && t[i].remove(), i++;
|
|
260
|
+
else if (t[i] === n[o - 1] && n[r] === t[s - 1]) {
|
|
261
|
+
const u = t[--s].nextSibling;
|
|
262
|
+
e.insertBefore(n[r++], t[i++].nextSibling), e.insertBefore(n[--o], u), t[s] = n[o];
|
|
274
263
|
} else {
|
|
275
|
-
if (!
|
|
276
|
-
|
|
277
|
-
let
|
|
278
|
-
for (;
|
|
279
|
-
|
|
264
|
+
if (!h) {
|
|
265
|
+
h = /* @__PURE__ */ new Map();
|
|
266
|
+
let g = r;
|
|
267
|
+
for (; g < o; )
|
|
268
|
+
h.set(n[g], g++);
|
|
280
269
|
}
|
|
281
|
-
const
|
|
282
|
-
if (
|
|
283
|
-
if (r <
|
|
284
|
-
let
|
|
285
|
-
for (; ++
|
|
286
|
-
|
|
287
|
-
if (
|
|
288
|
-
const
|
|
289
|
-
for (; r <
|
|
290
|
-
e.insertBefore(n[r++],
|
|
270
|
+
const u = h.get(t[i]);
|
|
271
|
+
if (u != null)
|
|
272
|
+
if (r < u && u < o) {
|
|
273
|
+
let g = i, m = 1, _;
|
|
274
|
+
for (; ++g < s && g < o && !((_ = h.get(t[g])) == null || _ !== u + m); )
|
|
275
|
+
m++;
|
|
276
|
+
if (m > u - r) {
|
|
277
|
+
const T = t[i];
|
|
278
|
+
for (; r < u; )
|
|
279
|
+
e.insertBefore(n[r++], T);
|
|
291
280
|
} else
|
|
292
281
|
e.replaceChild(n[r++], t[i++]);
|
|
293
282
|
} else
|
|
@@ -297,34 +286,42 @@ function Re(e, t, n) {
|
|
|
297
286
|
}
|
|
298
287
|
}
|
|
299
288
|
}
|
|
300
|
-
const
|
|
301
|
-
function
|
|
302
|
-
let
|
|
303
|
-
return
|
|
304
|
-
|
|
305
|
-
}), () => {
|
|
306
|
-
|
|
289
|
+
const de = "_$DX_DELEGATE";
|
|
290
|
+
function Ue(e, t, n, l = {}) {
|
|
291
|
+
let s;
|
|
292
|
+
return Pe((o) => {
|
|
293
|
+
s = o, t === document ? e() : v(t, e(), t.firstChild ? null : void 0, n);
|
|
294
|
+
}, l.owner), () => {
|
|
295
|
+
s(), t.textContent = "";
|
|
307
296
|
};
|
|
308
297
|
}
|
|
309
|
-
function
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
298
|
+
function A(e, t, n) {
|
|
299
|
+
let l;
|
|
300
|
+
const s = () => {
|
|
301
|
+
const i = document.createElement("template");
|
|
302
|
+
return i.innerHTML = e, n ? i.content.firstChild.firstChild : i.content.firstChild;
|
|
303
|
+
}, o = t ? () => N(() => document.importNode(l || (l = s()), !0)) : () => (l || (l = s())).cloneNode(!0);
|
|
304
|
+
return o.cloneNode = o, o;
|
|
314
305
|
}
|
|
315
|
-
function
|
|
316
|
-
const n = t[
|
|
317
|
-
for (let
|
|
318
|
-
const
|
|
319
|
-
n.has(
|
|
306
|
+
function _e(e, t = window.document) {
|
|
307
|
+
const n = t[de] || (t[de] = /* @__PURE__ */ new Set());
|
|
308
|
+
for (let l = 0, s = e.length; l < s; l++) {
|
|
309
|
+
const o = e[l];
|
|
310
|
+
n.has(o) || (n.add(o), t.addEventListener(o, Ve));
|
|
320
311
|
}
|
|
321
312
|
}
|
|
322
|
-
function
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
313
|
+
function Re(e, t) {
|
|
314
|
+
t == null ? e.removeAttribute("class") : e.className = t;
|
|
315
|
+
}
|
|
316
|
+
function D(e, t, n) {
|
|
317
|
+
return N(() => e(t, n));
|
|
326
318
|
}
|
|
327
|
-
function
|
|
319
|
+
function v(e, t, n, l) {
|
|
320
|
+
if (n !== void 0 && !l && (l = []), typeof t != "function")
|
|
321
|
+
return J(e, t, l, n);
|
|
322
|
+
j((s) => J(e, t(), s, n), l);
|
|
323
|
+
}
|
|
324
|
+
function Ve(e) {
|
|
328
325
|
const t = `$$${e.type}`;
|
|
329
326
|
let n = e.composedPath && e.composedPath()[0] || e.target;
|
|
330
327
|
for (e.target !== n && Object.defineProperty(e, "target", {
|
|
@@ -335,123 +332,113 @@ function Ue(e) {
|
|
|
335
332
|
get() {
|
|
336
333
|
return n || document;
|
|
337
334
|
}
|
|
338
|
-
})
|
|
339
|
-
const
|
|
340
|
-
if (
|
|
341
|
-
const
|
|
342
|
-
if (
|
|
335
|
+
}); n; ) {
|
|
336
|
+
const l = n[t];
|
|
337
|
+
if (l && !n.disabled) {
|
|
338
|
+
const s = n[`${t}Data`];
|
|
339
|
+
if (s !== void 0 ? l.call(n, s, e) : l.call(n, e), e.cancelBubble)
|
|
343
340
|
return;
|
|
344
341
|
}
|
|
345
|
-
n = n.host
|
|
342
|
+
n = n._$host || n.parentNode || n.host;
|
|
346
343
|
}
|
|
347
344
|
}
|
|
348
|
-
function J(e, t, n,
|
|
349
|
-
for (
|
|
345
|
+
function J(e, t, n, l, s) {
|
|
346
|
+
for (; typeof n == "function"; )
|
|
350
347
|
n = n();
|
|
351
348
|
if (t === n)
|
|
352
349
|
return n;
|
|
353
|
-
const
|
|
354
|
-
if (e = i && n[0] && n[0].parentNode || e,
|
|
355
|
-
if (
|
|
356
|
-
return n;
|
|
357
|
-
if (s === "number" && (t = t.toString()), i) {
|
|
350
|
+
const o = typeof t, i = l !== void 0;
|
|
351
|
+
if (e = i && n[0] && n[0].parentNode || e, o === "string" || o === "number")
|
|
352
|
+
if (o === "number" && (t = t.toString()), i) {
|
|
358
353
|
let r = n[0];
|
|
359
|
-
r && r.nodeType === 3 ? r.data = t : r = document.createTextNode(t), n =
|
|
354
|
+
r && r.nodeType === 3 ? r.data = t : r = document.createTextNode(t), n = L(e, n, l, r);
|
|
360
355
|
} else
|
|
361
356
|
n !== "" && typeof n == "string" ? n = e.firstChild.data = t : n = e.textContent = t;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
} else {
|
|
367
|
-
if (s === "function")
|
|
357
|
+
else if (t == null || o === "boolean")
|
|
358
|
+
n = L(e, n, l);
|
|
359
|
+
else {
|
|
360
|
+
if (o === "function")
|
|
368
361
|
return j(() => {
|
|
369
362
|
let r = t();
|
|
370
363
|
for (; typeof r == "function"; )
|
|
371
364
|
r = r();
|
|
372
|
-
n = J(e, r, n,
|
|
365
|
+
n = J(e, r, n, l);
|
|
373
366
|
}), () => n;
|
|
374
367
|
if (Array.isArray(t)) {
|
|
375
368
|
const r = [], c = n && Array.isArray(n);
|
|
376
|
-
if (
|
|
377
|
-
return j(() => n = J(e, r, n,
|
|
378
|
-
if (S.context) {
|
|
379
|
-
for (let f = 0; f < r.length; f++)
|
|
380
|
-
if (r[f].parentNode)
|
|
381
|
-
return n = r;
|
|
382
|
-
}
|
|
369
|
+
if (le(r, t, n, s))
|
|
370
|
+
return j(() => n = J(e, r, n, l, !0)), () => n;
|
|
383
371
|
if (r.length === 0) {
|
|
384
|
-
if (n =
|
|
372
|
+
if (n = L(e, n, l), i)
|
|
385
373
|
return n;
|
|
386
374
|
} else
|
|
387
|
-
c ? n.length === 0 ?
|
|
375
|
+
c ? n.length === 0 ? he(e, r, l) : Fe(e, n, r) : (n && L(e), he(e, r));
|
|
388
376
|
n = r;
|
|
389
|
-
} else if (t
|
|
390
|
-
if (S.context && t.parentNode)
|
|
391
|
-
return n = i ? [t] : t;
|
|
377
|
+
} else if (t.nodeType) {
|
|
392
378
|
if (Array.isArray(n)) {
|
|
393
379
|
if (i)
|
|
394
|
-
return n =
|
|
395
|
-
|
|
380
|
+
return n = L(e, n, l, t);
|
|
381
|
+
L(e, n, null, t);
|
|
396
382
|
} else
|
|
397
383
|
n == null || n === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
|
|
398
384
|
n = t;
|
|
399
|
-
}
|
|
385
|
+
} else
|
|
386
|
+
console.warn("Unrecognized value. Skipped inserting", t);
|
|
400
387
|
}
|
|
401
388
|
return n;
|
|
402
389
|
}
|
|
403
|
-
function
|
|
404
|
-
let
|
|
405
|
-
for (let
|
|
406
|
-
let r = t[
|
|
407
|
-
if (r
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
if (Array.isArray(r))
|
|
411
|
-
|
|
412
|
-
else if (
|
|
413
|
-
if (
|
|
390
|
+
function le(e, t, n, l) {
|
|
391
|
+
let s = !1;
|
|
392
|
+
for (let o = 0, i = t.length; o < i; o++) {
|
|
393
|
+
let r = t[o], c = n && n[o], h;
|
|
394
|
+
if (!(r == null || r === !0 || r === !1))
|
|
395
|
+
if ((h = typeof r) == "object" && r.nodeType)
|
|
396
|
+
e.push(r);
|
|
397
|
+
else if (Array.isArray(r))
|
|
398
|
+
s = le(e, r, c) || s;
|
|
399
|
+
else if (h === "function")
|
|
400
|
+
if (l) {
|
|
414
401
|
for (; typeof r == "function"; )
|
|
415
402
|
r = r();
|
|
416
|
-
|
|
403
|
+
s = le(e, Array.isArray(r) ? r : [r], Array.isArray(c) ? c : [c]) || s;
|
|
417
404
|
} else
|
|
418
|
-
e.push(r),
|
|
405
|
+
e.push(r), s = !0;
|
|
419
406
|
else {
|
|
420
|
-
const
|
|
421
|
-
c && c.nodeType === 3 && c.data ===
|
|
407
|
+
const u = String(r);
|
|
408
|
+
c && c.nodeType === 3 && c.data === u ? e.push(c) : e.push(document.createTextNode(u));
|
|
422
409
|
}
|
|
423
410
|
}
|
|
424
|
-
return
|
|
411
|
+
return s;
|
|
425
412
|
}
|
|
426
|
-
function
|
|
427
|
-
for (let
|
|
428
|
-
e.insertBefore(t[
|
|
413
|
+
function he(e, t, n = null) {
|
|
414
|
+
for (let l = 0, s = t.length; l < s; l++)
|
|
415
|
+
e.insertBefore(t[l], n);
|
|
429
416
|
}
|
|
430
|
-
function
|
|
417
|
+
function L(e, t, n, l) {
|
|
431
418
|
if (n === void 0)
|
|
432
419
|
return e.textContent = "";
|
|
433
|
-
const
|
|
420
|
+
const s = l || document.createTextNode("");
|
|
434
421
|
if (t.length) {
|
|
435
|
-
let
|
|
422
|
+
let o = !1;
|
|
436
423
|
for (let i = t.length - 1; i >= 0; i--) {
|
|
437
424
|
const r = t[i];
|
|
438
|
-
if (
|
|
425
|
+
if (s !== r) {
|
|
439
426
|
const c = r.parentNode === e;
|
|
440
|
-
!
|
|
427
|
+
!o && !i ? c ? e.replaceChild(s, r) : e.insertBefore(s, n) : c && r.remove();
|
|
441
428
|
} else
|
|
442
|
-
|
|
429
|
+
o = !0;
|
|
443
430
|
}
|
|
444
431
|
} else
|
|
445
|
-
e.insertBefore(
|
|
446
|
-
return [
|
|
432
|
+
e.insertBefore(s, n);
|
|
433
|
+
return [s];
|
|
447
434
|
}
|
|
448
435
|
function Ge(e, t, ...n) {
|
|
449
436
|
if (t === void 0)
|
|
450
437
|
throw new Error("`Ohbug warning(condition, format, ...args)` requires a warning message argument");
|
|
451
438
|
if (!e) {
|
|
452
|
-
let
|
|
453
|
-
const
|
|
454
|
-
throw new Error(`Ohbug ${
|
|
439
|
+
let l = 0;
|
|
440
|
+
const s = t.replace(/%s/g, () => n[l++]);
|
|
441
|
+
throw new Error(`Ohbug ${s}`);
|
|
455
442
|
}
|
|
456
443
|
}
|
|
457
444
|
var Ie = {};
|
|
@@ -461,116 +448,114 @@ function qe() {
|
|
|
461
448
|
function Ke() {
|
|
462
449
|
const e = qe();
|
|
463
450
|
return Ge(
|
|
464
|
-
|
|
451
|
+
!!e.__OHBUG__,
|
|
465
452
|
"Failed to get `OhbugObject`, please confirm if `Ohbug.setup`"
|
|
466
453
|
), e.__OHBUG__;
|
|
467
454
|
}
|
|
468
|
-
function
|
|
469
|
-
e.parentNode && (t.push(e.parentNode),
|
|
455
|
+
function Ee(e, t) {
|
|
456
|
+
e.parentNode && (t.push(e.parentNode), Ee(e.parentNode, t));
|
|
470
457
|
}
|
|
471
458
|
function We(e) {
|
|
472
459
|
const t = [];
|
|
473
|
-
return t.push(e),
|
|
460
|
+
return t.push(e), Ee(e, t), t;
|
|
474
461
|
}
|
|
475
462
|
var Xe = (e) => {
|
|
476
463
|
const t = e.target || e.srcElement;
|
|
477
464
|
let n = e.target || e.srcElement;
|
|
478
|
-
const
|
|
465
|
+
const l = [];
|
|
479
466
|
for (let i = 0; n && n.nodeType === Node.ELEMENT_NODE && n.nodeType !== Node.DOCUMENT_TYPE_NODE; n = n.previousSibling)
|
|
480
|
-
i &&
|
|
481
|
-
const
|
|
482
|
-
return
|
|
467
|
+
i && l.push(n), i += 1;
|
|
468
|
+
const s = typeof e.path > "u" ? We(e.target) : e.path, { outerHTML: o } = t;
|
|
469
|
+
return s.reverse().map((i) => (i.localName || "") + (i.id ? `#${i.id}` : "") + (i.className ? `.${i.className}` : "") + (i.outerHTML === o ? `:nth-child(${l.length})` : "")).filter((i) => !!i).join(" > ");
|
|
483
470
|
};
|
|
484
|
-
const
|
|
485
|
-
function
|
|
486
|
-
let
|
|
487
|
-
if (!
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
get: c
|
|
498
|
-
});
|
|
499
|
-
}
|
|
471
|
+
const se = Symbol("store-raw"), R = Symbol("store-node");
|
|
472
|
+
function Se(e) {
|
|
473
|
+
let t = e[C];
|
|
474
|
+
if (!t && (Object.defineProperty(e, C, {
|
|
475
|
+
value: t = new Proxy(e, Qe)
|
|
476
|
+
}), !Array.isArray(e))) {
|
|
477
|
+
const n = Object.keys(e), l = Object.getOwnPropertyDescriptors(e);
|
|
478
|
+
for (let s = 0, o = n.length; s < o; s++) {
|
|
479
|
+
const i = n[s];
|
|
480
|
+
l[i].get && Object.defineProperty(e, i, {
|
|
481
|
+
enumerable: l[i].enumerable,
|
|
482
|
+
get: l[i].get.bind(t)
|
|
483
|
+
});
|
|
500
484
|
}
|
|
501
485
|
}
|
|
502
|
-
return
|
|
486
|
+
return t;
|
|
503
487
|
}
|
|
504
|
-
function
|
|
488
|
+
function Q(e) {
|
|
505
489
|
let t;
|
|
506
|
-
return e != null && typeof e == "object" && (e[
|
|
490
|
+
return e != null && typeof e == "object" && (e[C] || !(t = Object.getPrototypeOf(e)) || t === Object.prototype || Array.isArray(e));
|
|
507
491
|
}
|
|
508
|
-
function
|
|
509
|
-
let n,
|
|
510
|
-
if (n = e != null && e[
|
|
492
|
+
function V(e, t = /* @__PURE__ */ new Set()) {
|
|
493
|
+
let n, l, s, o;
|
|
494
|
+
if (n = e != null && e[se])
|
|
511
495
|
return n;
|
|
512
|
-
if (!
|
|
496
|
+
if (!Q(e) || t.has(e))
|
|
513
497
|
return e;
|
|
514
498
|
if (Array.isArray(e)) {
|
|
515
499
|
Object.isFrozen(e) ? e = e.slice(0) : t.add(e);
|
|
516
500
|
for (let i = 0, r = e.length; i < r; i++)
|
|
517
|
-
|
|
501
|
+
s = e[i], (l = V(s, t)) !== s && (e[i] = l);
|
|
518
502
|
} else {
|
|
519
503
|
Object.isFrozen(e) ? e = Object.assign({}, e) : t.add(e);
|
|
520
504
|
const i = Object.keys(e), r = Object.getOwnPropertyDescriptors(e);
|
|
521
|
-
for (let c = 0,
|
|
522
|
-
|
|
505
|
+
for (let c = 0, h = i.length; c < h; c++)
|
|
506
|
+
o = i[c], !r[o].get && (s = e[o], (l = V(s, t)) !== s && (e[o] = l));
|
|
523
507
|
}
|
|
524
508
|
return e;
|
|
525
509
|
}
|
|
526
|
-
function
|
|
527
|
-
let t = e[
|
|
528
|
-
return t || Object.defineProperty(e,
|
|
529
|
-
value: t =
|
|
510
|
+
function ce(e) {
|
|
511
|
+
let t = e[R];
|
|
512
|
+
return t || Object.defineProperty(e, R, {
|
|
513
|
+
value: t = /* @__PURE__ */ Object.create(null)
|
|
530
514
|
}), t;
|
|
531
515
|
}
|
|
532
|
-
function
|
|
533
|
-
return e[t] || (e[t] =
|
|
516
|
+
function oe(e, t, n) {
|
|
517
|
+
return e[t] || (e[t] = ke(n));
|
|
534
518
|
}
|
|
535
|
-
function
|
|
519
|
+
function Ye(e, t) {
|
|
536
520
|
const n = Reflect.getOwnPropertyDescriptor(e, t);
|
|
537
|
-
return !n || n.get || !n.configurable || t ===
|
|
521
|
+
return !n || n.get || !n.configurable || t === C || t === R || (delete n.value, delete n.writable, n.get = () => e[C][t]), n;
|
|
538
522
|
}
|
|
539
|
-
function
|
|
540
|
-
if (
|
|
541
|
-
const t =
|
|
542
|
-
(t._ || (t._ =
|
|
523
|
+
function Ae(e) {
|
|
524
|
+
if (we()) {
|
|
525
|
+
const t = ce(e);
|
|
526
|
+
(t._ || (t._ = ke()))();
|
|
543
527
|
}
|
|
544
528
|
}
|
|
545
|
-
function
|
|
546
|
-
return
|
|
529
|
+
function Je(e) {
|
|
530
|
+
return Ae(e), Reflect.ownKeys(e);
|
|
547
531
|
}
|
|
548
|
-
function
|
|
549
|
-
const [
|
|
550
|
-
internal: !0
|
|
551
|
-
} : {
|
|
532
|
+
function ke(e) {
|
|
533
|
+
const [t, n] = F(e, {
|
|
552
534
|
equals: !1,
|
|
553
535
|
internal: !0
|
|
554
536
|
});
|
|
555
|
-
return
|
|
537
|
+
return t.$ = n, t;
|
|
556
538
|
}
|
|
557
|
-
const
|
|
539
|
+
const Qe = {
|
|
558
540
|
get(e, t, n) {
|
|
559
|
-
if (t ===
|
|
541
|
+
if (t === se)
|
|
560
542
|
return e;
|
|
561
|
-
if (t ===
|
|
543
|
+
if (t === C)
|
|
562
544
|
return n;
|
|
563
|
-
if (t ===
|
|
564
|
-
return
|
|
565
|
-
const
|
|
566
|
-
let
|
|
567
|
-
if (t ===
|
|
568
|
-
return
|
|
569
|
-
if (!
|
|
545
|
+
if (t === fe)
|
|
546
|
+
return Ae(e), n;
|
|
547
|
+
const l = ce(e), s = l[t];
|
|
548
|
+
let o = s ? s() : e[t];
|
|
549
|
+
if (t === R || t === "__proto__")
|
|
550
|
+
return o;
|
|
551
|
+
if (!s) {
|
|
570
552
|
const i = Object.getOwnPropertyDescriptor(e, t);
|
|
571
|
-
|
|
553
|
+
we() && (typeof o != "function" || e.hasOwnProperty(t)) && !(i && i.get) && (o = oe(l, t, o)());
|
|
572
554
|
}
|
|
573
|
-
return
|
|
555
|
+
return Q(o) ? Se(o) : o;
|
|
556
|
+
},
|
|
557
|
+
has(e, t) {
|
|
558
|
+
return t === se || t === C || t === fe || t === R || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
|
|
574
559
|
},
|
|
575
560
|
set() {
|
|
576
561
|
return !0;
|
|
@@ -578,775 +563,312 @@ const Ze = {
|
|
|
578
563
|
deleteProperty() {
|
|
579
564
|
return !0;
|
|
580
565
|
},
|
|
581
|
-
ownKeys:
|
|
582
|
-
getOwnPropertyDescriptor:
|
|
566
|
+
ownKeys: Je,
|
|
567
|
+
getOwnPropertyDescriptor: Ye
|
|
583
568
|
};
|
|
584
|
-
function
|
|
585
|
-
if (e[t] === n)
|
|
569
|
+
function Z(e, t, n, l = !1) {
|
|
570
|
+
if (!l && e[t] === n)
|
|
586
571
|
return;
|
|
587
|
-
const
|
|
572
|
+
const s = e[t], o = e.length;
|
|
588
573
|
n === void 0 ? delete e[t] : e[t] = n;
|
|
589
|
-
let
|
|
590
|
-
(
|
|
574
|
+
let i = ce(e), r;
|
|
575
|
+
if ((r = oe(i, t, s)) && r.$(() => n), Array.isArray(e) && e.length !== o) {
|
|
576
|
+
for (let c = e.length; c < o; c++)
|
|
577
|
+
(r = i[c]) && r.$();
|
|
578
|
+
(r = oe(i, "length", o)) && r.$(e.length);
|
|
579
|
+
}
|
|
580
|
+
(r = i._) && r.$();
|
|
591
581
|
}
|
|
592
|
-
function
|
|
582
|
+
function Oe(e, t) {
|
|
593
583
|
const n = Object.keys(t);
|
|
594
|
-
for (let
|
|
595
|
-
const
|
|
596
|
-
|
|
584
|
+
for (let l = 0; l < n.length; l += 1) {
|
|
585
|
+
const s = n[l];
|
|
586
|
+
Z(e, s, t[s]);
|
|
597
587
|
}
|
|
598
588
|
}
|
|
599
|
-
function
|
|
600
|
-
if (typeof t == "function" && (t = t(e)), t =
|
|
589
|
+
function Ze(e, t) {
|
|
590
|
+
if (typeof t == "function" && (t = t(e)), t = V(t), Array.isArray(t)) {
|
|
601
591
|
if (e === t)
|
|
602
592
|
return;
|
|
603
|
-
let n = 0,
|
|
604
|
-
for (; n <
|
|
605
|
-
const
|
|
606
|
-
e[n] !==
|
|
593
|
+
let n = 0, l = t.length;
|
|
594
|
+
for (; n < l; n++) {
|
|
595
|
+
const s = t[n];
|
|
596
|
+
e[n] !== s && Z(e, n, s);
|
|
607
597
|
}
|
|
608
|
-
|
|
598
|
+
Z(e, "length", l);
|
|
609
599
|
} else
|
|
610
|
-
|
|
600
|
+
Oe(e, t);
|
|
611
601
|
}
|
|
612
|
-
function
|
|
613
|
-
let
|
|
602
|
+
function B(e, t, n = []) {
|
|
603
|
+
let l, s = e;
|
|
614
604
|
if (t.length > 1) {
|
|
615
|
-
|
|
616
|
-
const i = typeof
|
|
617
|
-
if (Array.isArray(
|
|
618
|
-
for (let c = 0; c <
|
|
619
|
-
|
|
605
|
+
l = t.shift();
|
|
606
|
+
const i = typeof l, r = Array.isArray(e);
|
|
607
|
+
if (Array.isArray(l)) {
|
|
608
|
+
for (let c = 0; c < l.length; c++)
|
|
609
|
+
B(e, [l[c]].concat(t), n);
|
|
620
610
|
return;
|
|
621
611
|
} else if (r && i === "function") {
|
|
622
612
|
for (let c = 0; c < e.length; c++)
|
|
623
|
-
|
|
613
|
+
l(e[c], c) && B(e, [c].concat(t), n);
|
|
624
614
|
return;
|
|
625
615
|
} else if (r && i === "object") {
|
|
626
616
|
const {
|
|
627
617
|
from: c = 0,
|
|
628
|
-
to:
|
|
629
|
-
by:
|
|
630
|
-
} =
|
|
631
|
-
for (let
|
|
632
|
-
|
|
618
|
+
to: h = e.length - 1,
|
|
619
|
+
by: u = 1
|
|
620
|
+
} = l;
|
|
621
|
+
for (let g = c; g <= h; g += u)
|
|
622
|
+
B(e, [g].concat(t), n);
|
|
633
623
|
return;
|
|
634
624
|
} else if (t.length > 1) {
|
|
635
|
-
|
|
625
|
+
B(e[l], t, [l].concat(n));
|
|
636
626
|
return;
|
|
637
627
|
}
|
|
638
|
-
|
|
628
|
+
s = e[l], n = [l].concat(n);
|
|
639
629
|
}
|
|
640
|
-
let
|
|
641
|
-
typeof
|
|
630
|
+
let o = t[0];
|
|
631
|
+
typeof o == "function" && (o = o(s, n), o === s) || l === void 0 && o == null || (o = V(o), l === void 0 || Q(s) && Q(o) && !Array.isArray(o) ? Oe(s, o) : Z(e, l, o));
|
|
642
632
|
}
|
|
643
|
-
function
|
|
644
|
-
const n =
|
|
645
|
-
function
|
|
646
|
-
|
|
647
|
-
|
|
633
|
+
function et(...[e, t]) {
|
|
634
|
+
const n = V(e || {}), l = Array.isArray(n), s = Se(n);
|
|
635
|
+
function o(...i) {
|
|
636
|
+
Le(() => {
|
|
637
|
+
l && i.length === 1 ? Ze(n, i[0]) : B(n, i);
|
|
648
638
|
});
|
|
649
639
|
}
|
|
650
|
-
return [
|
|
640
|
+
return [s, o];
|
|
651
641
|
}
|
|
652
|
-
const [p,
|
|
653
|
-
const e =
|
|
642
|
+
const [p, z] = et({ working: !1, selectedElement: null }), tt = /* @__PURE__ */ A('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z" data-ohbug-selector fill="rgba(255,255,255,1)">'), nt = /* @__PURE__ */ A('<svg data-ohbug-selector height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" data-ohbug-selector fill="none"></path><path d="M3 3h2v2H3V3zm4 0h2v2H7V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm4 0h2v2h-2V3zm0 4h2v2h-2V7zM3 19h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3v-2zm0-4h2v2H3V7zm7.667 4l1.036-1.555A1 1 0 0 1 12.535 9h2.93a1 1 0 0 1 .832.445L17.333 11H20a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h2.667zM9 19h10v-6h-2.737l-1.333-2h-1.86l-1.333 2H9v6zm5-1a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" data-ohbug-selector>'), ie = () => tt(), lt = () => (() => {
|
|
643
|
+
const e = nt();
|
|
654
644
|
return e.firstChild.nextSibling.style.setProperty("fill", "var(--color)"), e;
|
|
655
|
-
})()
|
|
656
|
-
const st = /* @__PURE__ */ N('<div class="bg-none border-solid border-4 border-blue-500 transition top-0 right-0 bottom-0 left-0 z-10 fixed pointer-events-none" data-ohbug-selector><div class="tips" data-ohbug-selector>Select element on the page<button class="stop-btn" type="button"></button></div></div>'), it = /* @__PURE__ */ N('<button class="rounded-full cursor-pointer flex bg-red-500 h-6 -top-3 -right-3 w-6 z-10 items-center justify-center absolute pointer-events-auto" data-ohbug-selector type="button"></button>'), rt = /* @__PURE__ */ N('<button class="border-solid cursor-pointer font-semibold bg-red-500 border-4 border-red-500 -bottom-full text-white right-0 absolute pointer-events-auto" data-ohbug-selector type="button">Change</button>'), ct = /* @__PURE__ */ N('<div class="-z-1 fixed" data-ohbug-selector><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div data-ohbug-selector></div></div>'), ut = () => {
|
|
645
|
+
})(), st = /* @__PURE__ */ A('<div class="bg-none border-solid border-4 border-blue-500 transition top-0 right-0 bottom-0 left-0 z-10 fixed pointer-events-none" data-ohbug-selector><div class="tips" data-ohbug-selector>Select element on the page<button class="stop-btn" type="button">'), ot = /* @__PURE__ */ A('<button class="rounded-full cursor-pointer flex bg-red-500 h-6 -top-3 -right-3 w-6 z-10 items-center justify-center absolute pointer-events-auto" data-ohbug-selector type="button">'), it = /* @__PURE__ */ A('<button class="border-solid cursor-pointer font-semibold bg-red-500 border-4 border-red-500 -bottom-full text-white right-0 absolute pointer-events-auto" data-ohbug-selector type="button">Change'), rt = /* @__PURE__ */ A('<div class="-z-1 fixed" data-ohbug-selector><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div class="bg-black bg-opacity-40 transition -z-1 fixed pointer-events-none" data-ohbug-selector></div><div data-ohbug-selector>'), ct = () => {
|
|
657
646
|
const [e, t] = F();
|
|
658
|
-
let n,
|
|
647
|
+
let n, l, s, o, i;
|
|
659
648
|
const r = 2;
|
|
660
|
-
function c(
|
|
661
|
-
if (!
|
|
649
|
+
function c(f) {
|
|
650
|
+
if (!f || f.tagName === "HTML")
|
|
662
651
|
return;
|
|
663
652
|
const {
|
|
664
|
-
width:
|
|
665
|
-
height:
|
|
666
|
-
top:
|
|
667
|
-
right:
|
|
653
|
+
width: a,
|
|
654
|
+
height: y,
|
|
655
|
+
top: E,
|
|
656
|
+
right: P,
|
|
668
657
|
bottom: M,
|
|
669
658
|
left: d
|
|
670
|
-
} =
|
|
659
|
+
} = f.getBoundingClientRect();
|
|
671
660
|
i == null || i.setAttribute("style", `
|
|
672
|
-
width: ${
|
|
673
|
-
height: ${
|
|
674
|
-
top: ${
|
|
661
|
+
width: ${a + r * 2}px;
|
|
662
|
+
height: ${y + r * 2}px;
|
|
663
|
+
top: ${E - r}px;
|
|
675
664
|
left: ${d - r}px;
|
|
676
665
|
`), n == null || n.setAttribute("style", `
|
|
677
|
-
height: ${
|
|
666
|
+
height: ${E}px;
|
|
678
667
|
top: 0;
|
|
679
668
|
right: 0;
|
|
680
669
|
left: 0;
|
|
681
|
-
`),
|
|
682
|
-
top: ${
|
|
670
|
+
`), l == null || l.setAttribute("style", `
|
|
671
|
+
top: ${E}px;
|
|
683
672
|
right: 0;
|
|
684
673
|
bottom: 0;
|
|
685
|
-
left: ${
|
|
686
|
-
`),
|
|
687
|
-
width: ${
|
|
674
|
+
left: ${P}px;
|
|
675
|
+
`), s == null || s.setAttribute("style", `
|
|
676
|
+
width: ${a + d}px;
|
|
688
677
|
top: ${M}px;
|
|
689
678
|
bottom: 0;
|
|
690
679
|
left: 0;
|
|
691
|
-
`),
|
|
680
|
+
`), o == null || o.setAttribute("style", `
|
|
692
681
|
width: ${d}px;
|
|
693
|
-
height: ${
|
|
694
|
-
top: ${
|
|
682
|
+
height: ${y}px;
|
|
683
|
+
top: ${E}px;
|
|
695
684
|
left: 0;
|
|
696
685
|
`);
|
|
697
686
|
}
|
|
698
|
-
function f
|
|
699
|
-
if (!
|
|
687
|
+
function h(f) {
|
|
688
|
+
if (!f || f.tagName === "HTML")
|
|
700
689
|
return;
|
|
701
690
|
const {
|
|
702
|
-
width:
|
|
703
|
-
height:
|
|
704
|
-
top:
|
|
705
|
-
left:
|
|
706
|
-
} =
|
|
707
|
-
|
|
708
|
-
selectedElement:
|
|
691
|
+
width: a,
|
|
692
|
+
height: y,
|
|
693
|
+
top: E,
|
|
694
|
+
left: P
|
|
695
|
+
} = f.getBoundingClientRect();
|
|
696
|
+
z({
|
|
697
|
+
selectedElement: f
|
|
709
698
|
}), i == null || i.setAttribute("style", `
|
|
710
|
-
width: ${
|
|
711
|
-
height: ${
|
|
712
|
-
top: ${
|
|
713
|
-
left: ${
|
|
699
|
+
width: ${a + r * 2}px;
|
|
700
|
+
height: ${y + r * 2}px;
|
|
701
|
+
top: ${E - r}px;
|
|
702
|
+
left: ${P - r}px;
|
|
714
703
|
`);
|
|
715
704
|
}
|
|
716
|
-
function
|
|
717
|
-
var
|
|
718
|
-
|
|
705
|
+
function u(f) {
|
|
706
|
+
var y;
|
|
707
|
+
z({
|
|
719
708
|
working: !0
|
|
720
709
|
});
|
|
721
|
-
const
|
|
722
|
-
if (((
|
|
710
|
+
const a = document.elementFromPoint(f.clientX, f.clientY);
|
|
711
|
+
if (((y = a == null ? void 0 : a.dataset) == null ? void 0 : y.ohbugSelector) !== void 0 || a.tagName === "HTML")
|
|
723
712
|
return !1;
|
|
724
|
-
c(
|
|
713
|
+
c(a);
|
|
725
714
|
}
|
|
726
|
-
function
|
|
727
|
-
document.addEventListener("mousemove",
|
|
715
|
+
function g() {
|
|
716
|
+
document.addEventListener("mousemove", u);
|
|
728
717
|
}
|
|
729
|
-
function
|
|
730
|
-
document.removeEventListener("mousemove",
|
|
718
|
+
function m() {
|
|
719
|
+
document.removeEventListener("mousemove", u);
|
|
731
720
|
}
|
|
732
|
-
function _(
|
|
733
|
-
var
|
|
734
|
-
const
|
|
735
|
-
if (((
|
|
721
|
+
function _(f) {
|
|
722
|
+
var y;
|
|
723
|
+
const a = document.elementFromPoint(f.clientX, f.clientY);
|
|
724
|
+
if (((y = a == null ? void 0 : a.dataset) == null ? void 0 : y.ohbugSelector) !== void 0 || a.tagName === "HTML" || p.selectedElement && p.working)
|
|
736
725
|
return !1;
|
|
737
|
-
t(
|
|
726
|
+
t(a), h(e()), m();
|
|
738
727
|
}
|
|
739
|
-
function
|
|
728
|
+
function T() {
|
|
740
729
|
document.addEventListener("mousedown", _);
|
|
741
730
|
}
|
|
742
|
-
function
|
|
731
|
+
function I() {
|
|
743
732
|
document.removeEventListener("mousedown", _);
|
|
744
733
|
}
|
|
745
|
-
function
|
|
746
|
-
t(null),
|
|
734
|
+
function O() {
|
|
735
|
+
t(null), m(), I(), z({
|
|
747
736
|
working: !1,
|
|
748
737
|
selectedElement: null
|
|
749
738
|
});
|
|
750
739
|
}
|
|
751
|
-
function
|
|
752
|
-
|
|
740
|
+
function q() {
|
|
741
|
+
z({
|
|
753
742
|
working: !0,
|
|
754
743
|
selectedElement: null
|
|
755
|
-
}), t(null),
|
|
744
|
+
}), t(null), g();
|
|
756
745
|
}
|
|
757
|
-
return
|
|
758
|
-
p.working ? (
|
|
759
|
-
}),
|
|
760
|
-
const
|
|
761
|
-
return
|
|
746
|
+
return pe(() => {
|
|
747
|
+
p.working ? (g(), T()) : (m(), I());
|
|
748
|
+
}), ze(O), (() => {
|
|
749
|
+
const f = rt(), a = f.firstChild, y = a.nextSibling, E = y.nextSibling, P = E.nextSibling, M = P.nextSibling;
|
|
750
|
+
return v(f, x(U, {
|
|
762
751
|
get when() {
|
|
763
752
|
return !p.selectedElement && p.working;
|
|
764
753
|
},
|
|
765
754
|
get children() {
|
|
766
|
-
const d = st
|
|
767
|
-
return
|
|
755
|
+
const d = st(), Ce = d.firstChild, Ne = Ce.firstChild, ue = Ne.nextSibling;
|
|
756
|
+
return ue.$$click = O, v(ue, x(ie, {})), d;
|
|
768
757
|
}
|
|
769
|
-
}),
|
|
758
|
+
}), a), D((d) => {
|
|
770
759
|
n = d;
|
|
771
|
-
})
|
|
772
|
-
o = d;
|
|
773
|
-
})(w), ((d) => {
|
|
760
|
+
}, a), D((d) => {
|
|
774
761
|
l = d;
|
|
775
|
-
})
|
|
762
|
+
}, y), D((d) => {
|
|
776
763
|
s = d;
|
|
777
|
-
})
|
|
764
|
+
}, E), D((d) => {
|
|
765
|
+
o = d;
|
|
766
|
+
}, P), D((d) => {
|
|
778
767
|
i = d;
|
|
779
|
-
}
|
|
768
|
+
}, M), v(M, x(U, {
|
|
780
769
|
get when() {
|
|
781
770
|
return p.selectedElement && p.working;
|
|
782
771
|
},
|
|
783
772
|
get children() {
|
|
784
773
|
return [(() => {
|
|
785
|
-
const d =
|
|
786
|
-
return d.$$click =
|
|
774
|
+
const d = ot();
|
|
775
|
+
return d.$$click = O, v(d, x(ie, {})), d;
|
|
787
776
|
})(), (() => {
|
|
788
|
-
const d =
|
|
789
|
-
return d.$$click =
|
|
777
|
+
const d = it();
|
|
778
|
+
return d.$$click = q, d.style.setProperty("transform", "translate(4px, -8px)"), d;
|
|
790
779
|
})()];
|
|
791
780
|
}
|
|
792
|
-
})), j(() => M
|
|
781
|
+
})), j(() => Re(M, `fixed -z-1 bg-black bg-opacity-20 border-4 rounded-sm transition cursor-pointer box-border pointer-events-none ${e() ? "border-red-500 border-solid" : "border-blue-500 border-dashed"}`)), f;
|
|
793
782
|
})();
|
|
794
783
|
};
|
|
795
|
-
|
|
796
|
-
const
|
|
797
|
-
const [e, t] = F(!1), [n,
|
|
798
|
-
function
|
|
799
|
-
|
|
784
|
+
_e(["click"]);
|
|
785
|
+
const ut = /* @__PURE__ */ A('<button class="btn-main" data-ohbug-selector type="button">'), ft = /* @__PURE__ */ A('<div class="bg-white flex flex-col h-60 shadow z-max right-8 bottom-20 w-80 fixed" data-ohbug-selector><div class="bg-gray-300 p-4" data-ohbug-selector><textarea autofocus class="bg-transparent outline-none w-full resize-none" data-ohbug-selector maxlength="1000" placeholder="Tell me how you feel..." rows="4"></textarea><button class="cursor-pointer" data-ohbug-selector type="button"></button></div><div class="flex flex-1 p-4 justify-between items-center" data-ohbug-selector><span class="text-sm" data-ohbug-selector>Try<a class="ml-1 underline" data-ohbug-selector href="https://ohbug.net" rel="noreferrer" target="_blank">Ohbug</a>?</span><button class="btn-send" data-ohbug-selector type="button"></button></div><button class="rounded-full cursor-pointer flex bg-blue-500 h-6 -top-2 -right-2 w-6 z-10 items-center justify-center absolute" data-ohbug-selector type="button">'), at = /* @__PURE__ */ A('<div class="z-max relative" data-ohbug-selector><div>'), dt = () => {
|
|
786
|
+
const [e, t] = F(!1), [n, l] = F("");
|
|
787
|
+
function s() {
|
|
788
|
+
z({
|
|
800
789
|
working: !0
|
|
801
790
|
});
|
|
802
791
|
}
|
|
803
|
-
const [
|
|
792
|
+
const [o, i] = F(!1);
|
|
804
793
|
async function r() {
|
|
805
794
|
i(!0);
|
|
806
|
-
let c,
|
|
807
|
-
const
|
|
795
|
+
let c, h;
|
|
796
|
+
const u = Ke().client;
|
|
808
797
|
if (p.selectedElement) {
|
|
809
|
-
const
|
|
798
|
+
const g = {
|
|
810
799
|
target: p.selectedElement
|
|
811
800
|
};
|
|
812
|
-
c = Xe(
|
|
813
|
-
const
|
|
801
|
+
c = Xe(g), h = p.selectedElement.outerHTML;
|
|
802
|
+
const m = u.createEvent({
|
|
814
803
|
category: "feedback",
|
|
815
804
|
type: "feedback",
|
|
816
805
|
detail: {
|
|
817
806
|
selector: c,
|
|
818
|
-
outerHTML:
|
|
807
|
+
outerHTML: h,
|
|
819
808
|
feedback: n()
|
|
820
809
|
}
|
|
821
810
|
});
|
|
822
|
-
await
|
|
811
|
+
await u.notify(m);
|
|
823
812
|
} else {
|
|
824
|
-
const
|
|
813
|
+
const g = u.createEvent({
|
|
825
814
|
category: "feedback",
|
|
826
815
|
type: "feedback",
|
|
827
816
|
detail: {
|
|
828
817
|
feedback: n()
|
|
829
818
|
}
|
|
830
819
|
});
|
|
831
|
-
await
|
|
820
|
+
await u.notify(g);
|
|
832
821
|
}
|
|
833
|
-
t(!1),
|
|
822
|
+
t(!1), l(""), z({
|
|
834
823
|
working: !1,
|
|
835
824
|
selectedElement: null
|
|
836
825
|
}), i(!1);
|
|
837
826
|
}
|
|
838
|
-
return
|
|
827
|
+
return pe(() => {
|
|
839
828
|
p.working === !1 && p.selectedElement === null || p.working && !p.selectedElement ? t(!1) : t(!0);
|
|
840
829
|
}), (() => {
|
|
841
|
-
const c =
|
|
842
|
-
return
|
|
830
|
+
const c = at(), h = c.firstChild;
|
|
831
|
+
return v(c, x(U, {
|
|
843
832
|
get when() {
|
|
844
833
|
return p.working;
|
|
845
834
|
},
|
|
846
835
|
get children() {
|
|
847
|
-
return x(
|
|
836
|
+
return x(ct, {});
|
|
848
837
|
}
|
|
849
|
-
}),
|
|
838
|
+
}), h), v(h, x(U, {
|
|
850
839
|
get when() {
|
|
851
840
|
return !(p.working && !p.selectedElement);
|
|
852
841
|
},
|
|
853
842
|
get children() {
|
|
854
|
-
const
|
|
855
|
-
return
|
|
843
|
+
const u = ut();
|
|
844
|
+
return u.$$click = () => t((g) => !g), v(u, () => e() ? "😆" : "🙂"), u;
|
|
856
845
|
}
|
|
857
|
-
}), null),
|
|
846
|
+
}), null), v(h, x(U, {
|
|
858
847
|
get when() {
|
|
859
848
|
return e();
|
|
860
849
|
},
|
|
861
850
|
get children() {
|
|
862
|
-
const
|
|
863
|
-
return
|
|
864
|
-
const
|
|
865
|
-
return
|
|
851
|
+
const u = ft(), g = u.firstChild, m = g.firstChild, _ = m.nextSibling, T = g.nextSibling, I = T.firstChild, O = I.nextSibling, q = T.nextSibling;
|
|
852
|
+
return m.$$input = (f) => l(f.currentTarget.value), _.$$click = s, v(_, x(lt, {})), O.$$click = r, v(O, () => o() ? "Sending..." : "Send"), q.$$click = () => t((f) => !f), v(q, x(ie, {})), j((f) => {
|
|
853
|
+
const a = p.selectedElement ? "blue" : "gray", y = !n() || o();
|
|
854
|
+
return a !== f._v$ && ((f._v$ = a) != null ? _.style.setProperty("--color", a) : _.style.removeProperty("--color")), y !== f._v$2 && (O.disabled = f._v$2 = y), f;
|
|
866
855
|
}, {
|
|
867
856
|
_v$: void 0,
|
|
868
857
|
_v$2: void 0
|
|
869
|
-
}), j(() =>
|
|
858
|
+
}), j(() => m.value = n()), u;
|
|
870
859
|
}
|
|
871
860
|
}), null), c;
|
|
872
861
|
})();
|
|
873
862
|
};
|
|
874
|
-
|
|
875
|
-
const
|
|
863
|
+
_e(["click", "input"]);
|
|
864
|
+
const ht = {
|
|
876
865
|
name: "OhbugExtensionFeedback",
|
|
877
866
|
onSetup: () => {
|
|
878
867
|
const e = document.createElement("div");
|
|
879
|
-
e.id = "OhbugExtensionFeedback-ROOT", document.body.appendChild(e),
|
|
868
|
+
e.id = "OhbugExtensionFeedback-ROOT", document.body.appendChild(e), Ue(() => x(dt, {}), e);
|
|
880
869
|
}
|
|
881
870
|
};
|
|
882
|
-
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`.main-btn {
|
|
883
|
-
--tw-bg-opacity: 1;
|
|
884
|
-
background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
|
|
885
|
-
border-radius: 0.25rem;
|
|
886
|
-
cursor: pointer;
|
|
887
|
-
display: -webkit-box;
|
|
888
|
-
display: -ms-flexbox;
|
|
889
|
-
display: -webkit-flex;
|
|
890
|
-
display: flex;
|
|
891
|
-
-webkit-box-align: center;
|
|
892
|
-
-ms-flex-align: center;
|
|
893
|
-
-webkit-align-items: center;
|
|
894
|
-
align-items: center;
|
|
895
|
-
-webkit-box-pack: center;
|
|
896
|
-
-ms-flex-pack: center;
|
|
897
|
-
-webkit-justify-content: center;
|
|
898
|
-
justify-content: center;
|
|
899
|
-
height: 2rem;
|
|
900
|
-
position: fixed;
|
|
901
|
-
right: 2rem;
|
|
902
|
-
bottom: 2rem;
|
|
903
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);
|
|
904
|
-
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);
|
|
905
|
-
-webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
|
|
906
|
-
box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
|
|
907
|
-
--tw-text-opacity: 1;
|
|
908
|
-
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
909
|
-
-webkit-user-select: none;
|
|
910
|
-
-moz-user-select: none;
|
|
911
|
-
-ms-user-select: none;
|
|
912
|
-
user-select: none;
|
|
913
|
-
width: 2.5rem;
|
|
914
|
-
z-index: 9999999;
|
|
915
|
-
-webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
|
|
916
|
-
-o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
917
|
-
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
|
|
918
|
-
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
919
|
-
-o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
920
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
921
|
-
-webkit-transition-duration: 150ms;
|
|
922
|
-
-o-transition-duration: 150ms;
|
|
923
|
-
transition-duration: 150ms;
|
|
924
|
-
}
|
|
925
|
-
.main-btn:hover {
|
|
926
|
-
--tw-bg-opacity: 1;
|
|
927
|
-
background-color: rgba(37, 99, 235, var(--tw-bg-opacity));
|
|
928
|
-
--tw-shadow: 0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1);
|
|
929
|
-
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);
|
|
930
|
-
-webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
|
|
931
|
-
box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
|
|
932
|
-
}
|
|
933
|
-
.send-btn {
|
|
934
|
-
--tw-bg-opacity: 1;
|
|
935
|
-
background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
|
|
936
|
-
border-radius: 0.125rem;
|
|
937
|
-
font-size: 0.875rem;
|
|
938
|
-
line-height: 1.25rem;
|
|
939
|
-
padding-left: 0.75rem;
|
|
940
|
-
padding-right: 0.75rem;
|
|
941
|
-
padding-top: 0.25rem;
|
|
942
|
-
padding-bottom: 0.25rem;
|
|
943
|
-
--tw-text-opacity: 1;
|
|
944
|
-
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
945
|
-
-webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
|
|
946
|
-
-o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
947
|
-
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
|
|
948
|
-
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
949
|
-
-o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
950
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
951
|
-
-webkit-transition-duration: 150ms;
|
|
952
|
-
-o-transition-duration: 150ms;
|
|
953
|
-
transition-duration: 150ms;
|
|
954
|
-
}
|
|
955
|
-
.send-btn:disabled {
|
|
956
|
-
cursor: not-allowed;
|
|
957
|
-
opacity: 0.5;
|
|
958
|
-
}
|
|
959
|
-
/* windicss layer base */
|
|
960
|
-
*, ::before, ::after {
|
|
961
|
-
-webkit-box-sizing: border-box;
|
|
962
|
-
box-sizing: border-box;
|
|
963
|
-
border-width: 0;
|
|
964
|
-
border-style: solid;
|
|
965
|
-
border-color: #e5e7eb;
|
|
966
|
-
}
|
|
967
|
-
* {
|
|
968
|
-
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
|
|
969
|
-
--tw-ring-offset-width: 0px;
|
|
970
|
-
--tw-ring-offset-color: #fff;
|
|
971
|
-
--tw-ring-color: rgba(59, 130, 246, 0.5);
|
|
972
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
973
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
974
|
-
--tw-shadow: 0 0 #0000;
|
|
975
|
-
}
|
|
976
|
-
:root {
|
|
977
|
-
-moz-tab-size: 4;
|
|
978
|
-
-o-tab-size: 4;
|
|
979
|
-
tab-size: 4;
|
|
980
|
-
}
|
|
981
|
-
:-moz-focusring {
|
|
982
|
-
outline: 1px dotted ButtonText;
|
|
983
|
-
}
|
|
984
|
-
:-moz-ui-invalid {
|
|
985
|
-
box-shadow: none;
|
|
986
|
-
}
|
|
987
|
-
::moz-focus-inner {
|
|
988
|
-
border-style: none;
|
|
989
|
-
padding: 0;
|
|
990
|
-
}
|
|
991
|
-
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
992
|
-
height: auto;
|
|
993
|
-
}
|
|
994
|
-
::-webkit-search-decoration {
|
|
995
|
-
-webkit-appearance: none;
|
|
996
|
-
}
|
|
997
|
-
::-webkit-file-upload-button {
|
|
998
|
-
-webkit-appearance: button;
|
|
999
|
-
font: inherit;
|
|
1000
|
-
}
|
|
1001
|
-
[type='search'] {
|
|
1002
|
-
-webkit-appearance: textfield;
|
|
1003
|
-
outline-offset: -2px;
|
|
1004
|
-
}
|
|
1005
|
-
abbr[title] {
|
|
1006
|
-
-webkit-text-decoration: underline dotted;
|
|
1007
|
-
text-decoration: underline dotted;
|
|
1008
|
-
}
|
|
1009
|
-
a {
|
|
1010
|
-
color: inherit;
|
|
1011
|
-
text-decoration: inherit;
|
|
1012
|
-
}
|
|
1013
|
-
body {
|
|
1014
|
-
margin: 0;
|
|
1015
|
-
font-family: inherit;
|
|
1016
|
-
line-height: inherit;
|
|
1017
|
-
}
|
|
1018
|
-
button, textarea {
|
|
1019
|
-
font-family: inherit;
|
|
1020
|
-
font-size: 100%;
|
|
1021
|
-
line-height: 1.15;
|
|
1022
|
-
margin: 0;
|
|
1023
|
-
padding: 0;
|
|
1024
|
-
line-height: inherit;
|
|
1025
|
-
color: inherit;
|
|
1026
|
-
}
|
|
1027
|
-
button {
|
|
1028
|
-
text-transform: none;
|
|
1029
|
-
background-color: transparent;
|
|
1030
|
-
background-image: none;
|
|
1031
|
-
}
|
|
1032
|
-
button, [type='button'], [type='reset'], [type='submit'] {
|
|
1033
|
-
-webkit-appearance: button;
|
|
1034
|
-
}
|
|
1035
|
-
button, [role="button"] {
|
|
1036
|
-
cursor: pointer;
|
|
1037
|
-
}
|
|
1038
|
-
html {
|
|
1039
|
-
-webkit-text-size-adjust: 100%;
|
|
1040
|
-
font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
|
1041
|
-
line-height: 1.5;
|
|
1042
|
-
}
|
|
1043
|
-
svg {
|
|
1044
|
-
display: block;
|
|
1045
|
-
vertical-align: middle;
|
|
1046
|
-
}
|
|
1047
|
-
textarea {
|
|
1048
|
-
resize: vertical;
|
|
1049
|
-
}
|
|
1050
|
-
textarea::placeholder {
|
|
1051
|
-
opacity: 1;
|
|
1052
|
-
color: #9ca3af;
|
|
1053
|
-
}
|
|
1054
|
-
textarea::webkit-input-placeholder {
|
|
1055
|
-
opacity: 1;
|
|
1056
|
-
color: #9ca3af;
|
|
1057
|
-
}
|
|
1058
|
-
textarea::-moz-placeholder {
|
|
1059
|
-
opacity: 1;
|
|
1060
|
-
color: #9ca3af;
|
|
1061
|
-
}
|
|
1062
|
-
textarea:-ms-input-placeholder {
|
|
1063
|
-
opacity: 1;
|
|
1064
|
-
color: #9ca3af;
|
|
1065
|
-
}
|
|
1066
|
-
textarea::-ms-input-placeholder {
|
|
1067
|
-
opacity: 1;
|
|
1068
|
-
color: #9ca3af;
|
|
1069
|
-
}
|
|
1070
|
-
/* windicss layer components */
|
|
1071
|
-
|
|
1072
|
-
/* windicss layer utilities */
|
|
1073
|
-
.bg-white {
|
|
1074
|
-
--tw-bg-opacity: 1;
|
|
1075
|
-
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
1076
|
-
}
|
|
1077
|
-
.bg-gray-300 {
|
|
1078
|
-
--tw-bg-opacity: 1;
|
|
1079
|
-
background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
|
|
1080
|
-
}
|
|
1081
|
-
.bg-transparent {
|
|
1082
|
-
background-color: transparent;
|
|
1083
|
-
}
|
|
1084
|
-
.bg-blue-500 {
|
|
1085
|
-
--tw-bg-opacity: 1;
|
|
1086
|
-
background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
|
|
1087
|
-
}
|
|
1088
|
-
.bg-black {
|
|
1089
|
-
--tw-bg-opacity: 1;
|
|
1090
|
-
background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
|
|
1091
|
-
}
|
|
1092
|
-
.bg-red-500 {
|
|
1093
|
-
--tw-bg-opacity: 1;
|
|
1094
|
-
background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
|
|
1095
|
-
}
|
|
1096
|
-
.bg-none {
|
|
1097
|
-
background-image: none;
|
|
1098
|
-
}
|
|
1099
|
-
.bg-opacity-40 {
|
|
1100
|
-
--tw-bg-opacity: 0.4;
|
|
1101
|
-
}
|
|
1102
|
-
.bg-opacity-20 {
|
|
1103
|
-
--tw-bg-opacity: 0.2;
|
|
1104
|
-
}
|
|
1105
|
-
.border-blue-500 {
|
|
1106
|
-
--tw-border-opacity: 1;
|
|
1107
|
-
border-color: rgba(59, 130, 246, var(--tw-border-opacity));
|
|
1108
|
-
}
|
|
1109
|
-
.border-red-500 {
|
|
1110
|
-
--tw-border-opacity: 1;
|
|
1111
|
-
border-color: rgba(239, 68, 68, var(--tw-border-opacity));
|
|
1112
|
-
}
|
|
1113
|
-
.rounded-full {
|
|
1114
|
-
border-radius: 9999px;
|
|
1115
|
-
}
|
|
1116
|
-
.rounded-sm {
|
|
1117
|
-
border-radius: 0.125rem;
|
|
1118
|
-
}
|
|
1119
|
-
.border-solid {
|
|
1120
|
-
border-style: solid;
|
|
1121
|
-
}
|
|
1122
|
-
.border-dashed {
|
|
1123
|
-
border-style: dashed;
|
|
1124
|
-
}
|
|
1125
|
-
.border-4 {
|
|
1126
|
-
border-width: 4px;
|
|
1127
|
-
}
|
|
1128
|
-
.box-border {
|
|
1129
|
-
-webkit-box-sizing: border-box;
|
|
1130
|
-
box-sizing: border-box;
|
|
1131
|
-
}
|
|
1132
|
-
.cursor-pointer {
|
|
1133
|
-
cursor: pointer;
|
|
1134
|
-
}
|
|
1135
|
-
.flex {
|
|
1136
|
-
display: -webkit-box;
|
|
1137
|
-
display: -ms-flexbox;
|
|
1138
|
-
display: -webkit-flex;
|
|
1139
|
-
display: flex;
|
|
1140
|
-
}
|
|
1141
|
-
.flex-col {
|
|
1142
|
-
-webkit-box-orient: vertical;
|
|
1143
|
-
-webkit-box-direction: normal;
|
|
1144
|
-
-ms-flex-direction: column;
|
|
1145
|
-
-webkit-flex-direction: column;
|
|
1146
|
-
flex-direction: column;
|
|
1147
|
-
}
|
|
1148
|
-
.items-center {
|
|
1149
|
-
-webkit-box-align: center;
|
|
1150
|
-
-ms-flex-align: center;
|
|
1151
|
-
-webkit-align-items: center;
|
|
1152
|
-
align-items: center;
|
|
1153
|
-
}
|
|
1154
|
-
.justify-center {
|
|
1155
|
-
-webkit-box-pack: center;
|
|
1156
|
-
-ms-flex-pack: center;
|
|
1157
|
-
-webkit-justify-content: center;
|
|
1158
|
-
justify-content: center;
|
|
1159
|
-
}
|
|
1160
|
-
.justify-between {
|
|
1161
|
-
-webkit-box-pack: justify;
|
|
1162
|
-
-ms-flex-pack: justify;
|
|
1163
|
-
-webkit-justify-content: space-between;
|
|
1164
|
-
justify-content: space-between;
|
|
1165
|
-
}
|
|
1166
|
-
.flex-1 {
|
|
1167
|
-
-webkit-box-flex: 1;
|
|
1168
|
-
-ms-flex: 1 1 0%;
|
|
1169
|
-
-webkit-flex: 1 1 0%;
|
|
1170
|
-
flex: 1 1 0%;
|
|
1171
|
-
}
|
|
1172
|
-
.font-semibold {
|
|
1173
|
-
font-weight: 600;
|
|
1174
|
-
}
|
|
1175
|
-
.h-60 {
|
|
1176
|
-
height: 15rem;
|
|
1177
|
-
}
|
|
1178
|
-
.h-6 {
|
|
1179
|
-
height: 1.5rem;
|
|
1180
|
-
}
|
|
1181
|
-
.text-sm {
|
|
1182
|
-
font-size: 0.875rem;
|
|
1183
|
-
line-height: 1.25rem;
|
|
1184
|
-
}
|
|
1185
|
-
.ml-1 {
|
|
1186
|
-
margin-left: 0.25rem;
|
|
1187
|
-
}
|
|
1188
|
-
.outline-none {
|
|
1189
|
-
outline: 2px solid transparent;
|
|
1190
|
-
outline-offset: 2px;
|
|
1191
|
-
}
|
|
1192
|
-
.p-4 {
|
|
1193
|
-
padding: 1rem;
|
|
1194
|
-
}
|
|
1195
|
-
.pointer-events-none {
|
|
1196
|
-
pointer-events: none;
|
|
1197
|
-
}
|
|
1198
|
-
.pointer-events-auto {
|
|
1199
|
-
pointer-events: auto;
|
|
1200
|
-
}
|
|
1201
|
-
.fixed {
|
|
1202
|
-
position: fixed;
|
|
1203
|
-
}
|
|
1204
|
-
.absolute {
|
|
1205
|
-
position: absolute;
|
|
1206
|
-
}
|
|
1207
|
-
.relative {
|
|
1208
|
-
position: relative;
|
|
1209
|
-
}
|
|
1210
|
-
.right-8 {
|
|
1211
|
-
right: 2rem;
|
|
1212
|
-
}
|
|
1213
|
-
.bottom-20 {
|
|
1214
|
-
bottom: 5rem;
|
|
1215
|
-
}
|
|
1216
|
-
.-top-2 {
|
|
1217
|
-
top: -0.5rem;
|
|
1218
|
-
}
|
|
1219
|
-
.-right-2 {
|
|
1220
|
-
right: -0.5rem;
|
|
1221
|
-
}
|
|
1222
|
-
.top-0 {
|
|
1223
|
-
top: 0px;
|
|
1224
|
-
}
|
|
1225
|
-
.right-0 {
|
|
1226
|
-
right: 0px;
|
|
1227
|
-
}
|
|
1228
|
-
.bottom-0 {
|
|
1229
|
-
bottom: 0px;
|
|
1230
|
-
}
|
|
1231
|
-
.left-0 {
|
|
1232
|
-
left: 0px;
|
|
1233
|
-
}
|
|
1234
|
-
.-top-3 {
|
|
1235
|
-
top: -0.75rem;
|
|
1236
|
-
}
|
|
1237
|
-
.-right-3 {
|
|
1238
|
-
right: -0.75rem;
|
|
1239
|
-
}
|
|
1240
|
-
.-bottom-full {
|
|
1241
|
-
bottom: -100%;
|
|
1242
|
-
}
|
|
1243
|
-
.resize-none {
|
|
1244
|
-
resize: none;
|
|
1245
|
-
}
|
|
1246
|
-
.shadow {
|
|
1247
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1);
|
|
1248
|
-
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);
|
|
1249
|
-
-webkit-box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
|
|
1250
|
-
box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
|
|
1251
|
-
}
|
|
1252
|
-
.text-white {
|
|
1253
|
-
--tw-text-opacity: 1;
|
|
1254
|
-
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
1255
|
-
}
|
|
1256
|
-
.underline {
|
|
1257
|
-
-webkit-text-decoration-line: underline;
|
|
1258
|
-
text-decoration-line: underline;
|
|
1259
|
-
}
|
|
1260
|
-
.w-80 {
|
|
1261
|
-
width: 20rem;
|
|
1262
|
-
}
|
|
1263
|
-
.w-full {
|
|
1264
|
-
width: 100%;
|
|
1265
|
-
}
|
|
1266
|
-
.w-6 {
|
|
1267
|
-
width: 1.5rem;
|
|
1268
|
-
}
|
|
1269
|
-
.z-max {
|
|
1270
|
-
z-index: 9999999;
|
|
1271
|
-
}
|
|
1272
|
-
.z-10 {
|
|
1273
|
-
z-index: 10;
|
|
1274
|
-
}
|
|
1275
|
-
.-z-1 {
|
|
1276
|
-
z-index: -1;
|
|
1277
|
-
}
|
|
1278
|
-
.transition {
|
|
1279
|
-
-webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
|
|
1280
|
-
-o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
1281
|
-
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
|
|
1282
|
-
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1283
|
-
-o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1284
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1285
|
-
-webkit-transition-duration: 150ms;
|
|
1286
|
-
-o-transition-duration: 150ms;
|
|
1287
|
-
transition-duration: 150ms;
|
|
1288
|
-
}
|
|
1289
|
-
.tips {
|
|
1290
|
-
--tw-bg-opacity: 1;
|
|
1291
|
-
background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
|
|
1292
|
-
border-bottom-right-radius: 0.5rem;
|
|
1293
|
-
border-bottom-left-radius: 0.5rem;
|
|
1294
|
-
display: -webkit-box;
|
|
1295
|
-
display: -ms-flexbox;
|
|
1296
|
-
display: -webkit-flex;
|
|
1297
|
-
display: flex;
|
|
1298
|
-
-webkit-box-align: center;
|
|
1299
|
-
-ms-flex-align: center;
|
|
1300
|
-
-webkit-align-items: center;
|
|
1301
|
-
align-items: center;
|
|
1302
|
-
font-size: 0.875rem;
|
|
1303
|
-
line-height: 1.25rem;
|
|
1304
|
-
padding: 0.75rem;
|
|
1305
|
-
position: fixed;
|
|
1306
|
-
top: 0px;
|
|
1307
|
-
left: 50%;
|
|
1308
|
-
--tw-text-opacity: 1;
|
|
1309
|
-
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
1310
|
-
-webkit-user-select: none;
|
|
1311
|
-
-moz-user-select: none;
|
|
1312
|
-
-ms-user-select: none;
|
|
1313
|
-
user-select: none;
|
|
1314
|
-
z-index: 9999999;
|
|
1315
|
-
--tw-translate-x: 0;
|
|
1316
|
-
--tw-translate-y: 0;
|
|
1317
|
-
--tw-translate-z: 0;
|
|
1318
|
-
--tw-rotate: 0;
|
|
1319
|
-
--tw-rotate-x: 0;
|
|
1320
|
-
--tw-rotate-y: 0;
|
|
1321
|
-
--tw-rotate-z: 0;
|
|
1322
|
-
--tw-skew-x: 0;
|
|
1323
|
-
--tw-skew-y: 0;
|
|
1324
|
-
--tw-scale-x: 1;
|
|
1325
|
-
--tw-scale-y: 1;
|
|
1326
|
-
--tw-scale-z: 1;
|
|
1327
|
-
-webkit-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
|
|
1328
|
-
-ms-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
|
|
1329
|
-
transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));
|
|
1330
|
-
--tw-translate-x: -50%;
|
|
1331
|
-
}
|
|
1332
|
-
.stop-btn:hover {
|
|
1333
|
-
--tw-bg-opacity: 1;
|
|
1334
|
-
background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
|
|
1335
|
-
--tw-bg-opacity: 0.3;
|
|
1336
|
-
}
|
|
1337
|
-
.stop-btn {
|
|
1338
|
-
margin-left: 0.25rem;
|
|
1339
|
-
pointer-events: auto;
|
|
1340
|
-
-webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, filter, backdrop-filter;
|
|
1341
|
-
-o-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
1342
|
-
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, -webkit-box-shadow, transform, -webkit-transform, filter, backdrop-filter;
|
|
1343
|
-
-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1344
|
-
-o-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1345
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1346
|
-
-webkit-transition-duration: 150ms;
|
|
1347
|
-
-o-transition-duration: 150ms;
|
|
1348
|
-
transition-duration: 150ms;
|
|
1349
|
-
}`);
|
|
871
|
+
function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject("/*\n! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n*/\n\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n*, ::before, ::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::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.btn-main {\n z-index: 99999;\n position: fixed;\n right: 2rem;\n bottom: 2rem;\n display: flex;\n height: 2rem;\n width: 2.5rem;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n align-items: center;\n justify-content: center;\n border-radius: 0.25rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\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 transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.btn-main:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(37 99 235 / var(--tw-bg-opacity));\n --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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.btn-send {\n border-radius: 0.125rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.btn-send:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.tips {\n z-index: 99999;\n position: fixed;\n top: 0px;\n left: 50%;\n display: flex;\n --tw-translate-x: -50%;\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 -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n align-items: center;\n border-bottom-right-radius: 0.5rem;\n border-bottom-left-radius: 0.5rem;\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n padding: 0.75rem;\n font-size: 0.875rem;\n line-height: 1.25rem;\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.z-max {\n z-index: 99999;\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.pointer-events-auto {\n pointer-events: auto;\n}\n.visible {\n visibility: visible;\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.-bottom-full {\n bottom: -100%;\n}\n.-right-2 {\n right: -0.5rem;\n}\n.-right-3 {\n right: -0.75rem;\n}\n.-top-2 {\n top: -0.5rem;\n}\n.-top-3 {\n top: -0.75rem;\n}\n.bottom-0 {\n bottom: 0px;\n}\n.bottom-20 {\n bottom: 5rem;\n}\n.left-0 {\n left: 0px;\n}\n.right-0 {\n right: 0px;\n}\n.right-8 {\n right: 2rem;\n}\n.top-0 {\n top: 0px;\n}\n.z-10 {\n z-index: 10;\n}\n.ml-1 {\n margin-left: 0.25rem;\n}\n.box-border {\n box-sizing: border-box;\n}\n.flex {\n display: flex;\n}\n.h-6 {\n height: 1.5rem;\n}\n.h-60 {\n height: 15rem;\n}\n.w-6 {\n width: 1.5rem;\n}\n.w-80 {\n width: 20rem;\n}\n.w-full {\n width: 100%;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.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.cursor-pointer {\n cursor: pointer;\n}\n.resize-none {\n resize: none;\n}\n.flex-col {\n flex-direction: column;\n}\n.items-center {\n align-items: center;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-sm {\n border-radius: 0.125rem;\n}\n.border-4 {\n border-width: 4px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-dashed {\n border-style: dashed;\n}\n.border-blue-500 {\n --tw-border-opacity: 1;\n border-color: rgb(59 130 246 / var(--tw-border-opacity));\n}\n.border-red-500 {\n --tw-border-opacity: 1;\n border-color: rgb(239 68 68 / var(--tw-border-opacity));\n}\n.bg-black {\n --tw-bg-opacity: 1;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity));\n}\n.bg-blue-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity));\n}\n.bg-gray-300 {\n --tw-bg-opacity: 1;\n background-color: rgb(209 213 219 / var(--tw-bg-opacity));\n}\n.bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity));\n}\n.bg-transparent {\n background-color: transparent;\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n.bg-opacity-20 {\n --tw-bg-opacity: 0.2;\n}\n.bg-opacity-40 {\n --tw-bg-opacity: 0.4;\n}\n.bg-none {\n background-image: none;\n}\n.p-4 {\n padding: 1rem;\n}\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.font-semibold {\n font-weight: 600;\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.underline {\n text-decoration-line: underline;\n}\n.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.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}");
|
|
1350
872
|
export {
|
|
1351
|
-
|
|
873
|
+
ht as default
|
|
1352
874
|
};
|