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