@fkn/lib 0.4.8 → 0.5.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/account.cjs +1 -0
- package/account.d.ts +17 -0
- package/account.js +28 -0
- package/api-ByfayMm1.js +67 -0
- package/api-CDb2pv7C.cjs +1 -0
- package/background-Dk_vaVP1.cjs +1 -0
- package/{background-CTsVv_a0.js → background-TtzKw6g0.js} +5 -4
- package/chunk-B6C_zzib.cjs +1 -0
- package/chunk-CPXzm0be.js +11 -0
- package/cloud/dgram.cjs +1 -0
- package/cloud/dgram.d.ts +537 -0
- package/cloud/dgram.js +4 -0
- package/cloud/dns.cjs +1 -0
- package/cloud/dns.d.ts +12 -0
- package/cloud/dns.js +3 -0
- package/cloud/fs/promises.cjs +1 -0
- package/cloud/fs/promises.d.ts +45 -0
- package/cloud/fs/promises.js +8 -0
- package/cloud/fs.cjs +1 -0
- package/cloud/fs.d.ts +75 -0
- package/cloud/fs.js +20 -0
- package/cloud/http.cjs +1 -0
- package/cloud/http.d.ts +767 -0
- package/cloud/http.js +5 -0
- package/cloud/net.cjs +1 -0
- package/cloud/net.d.ts +606 -0
- package/cloud/net.js +4 -0
- package/cloud-BVnscun4.js +33 -0
- package/cloud-DTL2B5pW.cjs +1 -0
- package/cloud.cjs +1 -0
- package/cloud.d.ts +1048 -0
- package/cloud.js +12 -0
- package/desktop.cjs +1 -0
- package/desktop.d.ts +49 -0
- package/desktop.js +51 -0
- package/dgram-5YUb70O2.js +326 -0
- package/dgram-Cdi6Y7zJ.cjs +1 -0
- package/dgram.cjs +1 -0
- package/dgram.d.ts +537 -0
- package/dgram.js +4 -0
- package/dns.cjs +1 -0
- package/dns.d.ts +12 -0
- package/dns.js +6 -0
- package/extension-9Uv_0HdS.cjs +1 -0
- package/extension-Dgz0UTy0.js +245 -0
- package/extension.cjs +1 -0
- package/extension.d.ts +853 -0
- package/extension.js +5 -0
- package/fs/promises.cjs +1 -0
- package/fs/promises.d.ts +46 -0
- package/fs/promises.js +8 -0
- package/fs-B7JumDCn.js +78 -0
- package/fs-DrwvwtqC.cjs +1 -0
- package/fs.cjs +1 -0
- package/fs.d.ts +84 -0
- package/fs.js +5 -0
- package/http.cjs +9 -0
- package/http.d.ts +767 -0
- package/http.js +541 -0
- package/index.cjs +1 -9
- package/index.d.ts +495 -268
- package/index.js +27 -1569
- package/locator-Cf7M3QKN.cjs +53 -0
- package/{locator-Q5m8i40Z.js → locator-DxAsGV_o.js} +331 -337
- package/net-Bl6_W3bd.js +275 -0
- package/net-C5kWnI4C.cjs +1 -0
- package/net.cjs +1 -0
- package/net.d.ts +606 -0
- package/net.js +4 -0
- package/node-fs-Bd_UUx1m.js +361 -0
- package/node-fs-lrlD_zqB.cjs +1 -0
- package/opfs/promises.cjs +1 -0
- package/opfs/promises.d.ts +46 -0
- package/opfs/promises.js +6 -0
- package/opfs-BfcYLPGb.js +55 -0
- package/opfs-Dsi4FkJU.cjs +1 -0
- package/opfs.cjs +1 -0
- package/opfs.d.ts +83 -0
- package/opfs.js +35 -0
- package/package.json +91 -1
- package/proxy-A9UvWUaF.cjs +1 -0
- package/proxy-wiZN4eTR.js +14 -0
- package/storage-BadvHtv0.cjs +1 -0
- package/storage-z0q3iena.js +13 -0
- package/utils-BsNRWMfl.cjs +1 -0
- package/utils-CNydj3OT.js +52 -0
- package/background-BqRFQggD.cjs +0 -1
- package/locator-Cjl21Nkt.cjs +0 -53
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
for (var i in e) r(n, i, {
|
|
6
|
-
get: e[i],
|
|
7
|
-
enumerable: !0
|
|
8
|
-
});
|
|
9
|
-
return t || r(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
10
|
-
}, o = (e, t) => {
|
|
1
|
+
import { n as e } from "./chunk-CPXzm0be.js";
|
|
2
|
+
import { BoxBase as t, recursiveBox as n, recursiveRevive as r } from "osra";
|
|
3
|
+
//#region node_modules/@mfkn/web-extension/lib/lib/revivables/event-proxy.js
|
|
4
|
+
var i = (e, t) => {
|
|
11
5
|
let n = new EventTarget(), r = /* @__PURE__ */ new Map(), i = EventTarget.prototype.addEventListener.bind(n), a = EventTarget.prototype.removeEventListener.bind(n);
|
|
12
6
|
return Object.defineProperty(n, "addEventListener", {
|
|
13
7
|
configurable: !0,
|
|
@@ -36,34 +30,34 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
36
30
|
o && (e.removeEventListener(t, o), r.delete(t));
|
|
37
31
|
}
|
|
38
32
|
}), n;
|
|
39
|
-
},
|
|
33
|
+
}, a = (e) => typeof e == "boolean" ? e ? 1 : 0 : e?.capture ? 1 : 0, o = (e) => {
|
|
40
34
|
let t = /* @__PURE__ */ new WeakMap();
|
|
41
35
|
return {
|
|
42
36
|
addEventListener: (n, r, i) => {
|
|
43
37
|
if (r === null) return;
|
|
44
|
-
let
|
|
45
|
-
if (
|
|
38
|
+
let o = `${n}|${a(i)}`, s = t.get(r);
|
|
39
|
+
if (s || (s = /* @__PURE__ */ new Map(), t.set(r, s)), s.has(o)) return;
|
|
46
40
|
let c = typeof i == "object" && !!i && !!i.once, l = (t) => {
|
|
47
|
-
c &&
|
|
41
|
+
c && s.delete(o);
|
|
48
42
|
let i = e.unenrich(t, n);
|
|
49
43
|
typeof r == "function" ? r.call(e.target, i) : r.handleEvent(i);
|
|
50
44
|
};
|
|
51
|
-
|
|
45
|
+
s.set(o, l), e.remoteEvents.addEventListener(n, l, i);
|
|
52
46
|
},
|
|
53
47
|
removeEventListener: (n, r, i) => {
|
|
54
48
|
if (r === null) return;
|
|
55
|
-
let
|
|
56
|
-
c && (e.remoteEvents.removeEventListener(n, c, i),
|
|
49
|
+
let o = `${n}|${a(i)}`, s = t.get(r), c = s?.get(o);
|
|
50
|
+
c && (e.remoteEvents.removeEventListener(n, c, i), s.delete(o));
|
|
57
51
|
},
|
|
58
52
|
dispatchEvent: (t) => e.remoteEvents.dispatchEvent(t)
|
|
59
53
|
};
|
|
60
|
-
},
|
|
61
|
-
box: () =>
|
|
62
|
-
createVideoElementHandle: () =>
|
|
63
|
-
isType: () =>
|
|
64
|
-
revive: () =>
|
|
65
|
-
type: () =>
|
|
66
|
-
}),
|
|
54
|
+
}, s = /* @__PURE__ */ e({
|
|
55
|
+
box: () => T,
|
|
56
|
+
createVideoElementHandle: () => C,
|
|
57
|
+
isType: () => w,
|
|
58
|
+
revive: () => E,
|
|
59
|
+
type: () => c
|
|
60
|
+
}), c = "videoElement", l = [
|
|
67
61
|
"currentTime",
|
|
68
62
|
"volume",
|
|
69
63
|
"muted",
|
|
@@ -74,22 +68,22 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
74
68
|
"preload",
|
|
75
69
|
"poster",
|
|
76
70
|
"disableRemotePlayback"
|
|
77
|
-
],
|
|
71
|
+
], u = [
|
|
78
72
|
"duration",
|
|
79
73
|
"paused",
|
|
80
74
|
"ended",
|
|
81
75
|
"seeking",
|
|
82
76
|
"readyState",
|
|
83
77
|
"currentSrc"
|
|
84
|
-
],
|
|
78
|
+
], d = ["buffered", "seekable"], f = Symbol.for("fkn.remoteVideoElement"), p = Symbol.for("fkn.remoteVideoElement.state"), m = Symbol.for("fkn.remoteVideoElement.controller"), h = (e) => e ? Array.from({ length: e.length }, (t, n) => [e.start(n), e.end(n)]) : [], g = (e) => {
|
|
85
79
|
let t = {};
|
|
86
|
-
for (let n of [...
|
|
87
|
-
for (let n of
|
|
80
|
+
for (let n of [...l, ...u]) t[n] = e[n];
|
|
81
|
+
for (let n of d) t[n] = h(e[n]);
|
|
88
82
|
return t.error = e.error ? {
|
|
89
83
|
code: e.error.code,
|
|
90
84
|
message: e.error.message
|
|
91
85
|
} : null, t;
|
|
92
|
-
},
|
|
86
|
+
}, _ = (e) => {
|
|
93
87
|
let t = (t) => {
|
|
94
88
|
if (!Number.isInteger(t) || t < 0 || t >= e.length) throw new DOMException("Index or size is negative or greater than the allowed amount", "IndexSizeError");
|
|
95
89
|
};
|
|
@@ -104,17 +98,17 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
104
98
|
return t(n), e[n][1];
|
|
105
99
|
}
|
|
106
100
|
};
|
|
107
|
-
},
|
|
101
|
+
}, v = (e) => e ? {
|
|
108
102
|
code: e.code,
|
|
109
103
|
message: e.message,
|
|
110
104
|
MEDIA_ERR_ABORTED: 1,
|
|
111
105
|
MEDIA_ERR_NETWORK: 2,
|
|
112
106
|
MEDIA_ERR_DECODE: 3,
|
|
113
107
|
MEDIA_ERR_SRC_NOT_SUPPORTED: 4
|
|
114
|
-
} : null,
|
|
108
|
+
} : null, y = (e) => i(e, (e, t) => ({
|
|
115
109
|
originalDetail: e instanceof CustomEvent ? e.detail : null,
|
|
116
|
-
snapshot:
|
|
117
|
-
})),
|
|
110
|
+
snapshot: g(t)
|
|
111
|
+
})), b = async (e, t) => {
|
|
118
112
|
switch (t) {
|
|
119
113
|
case "play": return await e.play(), null;
|
|
120
114
|
case "pause": return e.pause(), null;
|
|
@@ -129,19 +123,19 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
129
123
|
}
|
|
130
124
|
default: throw Error(`videoElement: unknown method "${t}"`);
|
|
131
125
|
}
|
|
132
|
-
},
|
|
133
|
-
call: async (t) =>
|
|
126
|
+
}, x = (e) => ({
|
|
127
|
+
call: async (t) => b(e, t),
|
|
134
128
|
set: async (t, n) => {
|
|
135
129
|
try {
|
|
136
130
|
e[t] = n;
|
|
137
131
|
} catch {}
|
|
138
|
-
return
|
|
132
|
+
return g(e);
|
|
139
133
|
},
|
|
140
|
-
events:
|
|
141
|
-
}),
|
|
134
|
+
events: y(e)
|
|
135
|
+
}), S = (e, t) => {
|
|
142
136
|
let n = new EventTarget();
|
|
143
|
-
Object.defineProperty(n,
|
|
144
|
-
let r =
|
|
137
|
+
Object.defineProperty(n, f, { value: !0 }), Object.defineProperty(n, p, { value: e }), Object.defineProperty(n, m, { value: t });
|
|
138
|
+
let r = o({
|
|
145
139
|
target: n,
|
|
146
140
|
remoteEvents: t.events,
|
|
147
141
|
unenrich: (t, n) => {
|
|
@@ -176,7 +170,7 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
176
170
|
configurable: !0,
|
|
177
171
|
enumerable: !0,
|
|
178
172
|
get() {
|
|
179
|
-
return
|
|
173
|
+
return v(e.error);
|
|
180
174
|
}
|
|
181
175
|
},
|
|
182
176
|
play: {
|
|
@@ -212,7 +206,7 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
212
206
|
value: 4
|
|
213
207
|
}
|
|
214
208
|
};
|
|
215
|
-
for (let n of
|
|
209
|
+
for (let n of l) i[n] = {
|
|
216
210
|
configurable: !0,
|
|
217
211
|
enumerable: !0,
|
|
218
212
|
get() {
|
|
@@ -224,33 +218,33 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
224
218
|
}, () => {});
|
|
225
219
|
}
|
|
226
220
|
};
|
|
227
|
-
for (let t of
|
|
221
|
+
for (let t of u) i[t] = {
|
|
228
222
|
configurable: !0,
|
|
229
223
|
enumerable: !0,
|
|
230
224
|
get() {
|
|
231
225
|
return e[t];
|
|
232
226
|
}
|
|
233
227
|
};
|
|
234
|
-
for (let t of
|
|
228
|
+
for (let t of d) i[t] = {
|
|
235
229
|
configurable: !0,
|
|
236
230
|
enumerable: !0,
|
|
237
231
|
get() {
|
|
238
|
-
return
|
|
232
|
+
return _(e[t]);
|
|
239
233
|
}
|
|
240
234
|
};
|
|
241
235
|
return Object.defineProperties(n, i), n;
|
|
242
|
-
},
|
|
243
|
-
let i =
|
|
236
|
+
}, C = (e) => S(g(e), x(e)), w = (e) => typeof e == "object" && !!e && e[f] === !0, T = (e, r) => {
|
|
237
|
+
let i = e;
|
|
244
238
|
return {
|
|
245
|
-
...
|
|
246
|
-
type:
|
|
247
|
-
initialState: i[
|
|
248
|
-
controller:
|
|
239
|
+
...t,
|
|
240
|
+
type: c,
|
|
241
|
+
initialState: i[p],
|
|
242
|
+
controller: n(i[m], r)
|
|
249
243
|
};
|
|
250
|
-
},
|
|
251
|
-
let
|
|
252
|
-
return
|
|
253
|
-
}, ee = (e) => [
|
|
244
|
+
}, E = (e, t) => {
|
|
245
|
+
let n = r(e.controller, t);
|
|
246
|
+
return S({ ...e.initialState }, n);
|
|
247
|
+
}, ee = (e) => [s, ...e], D = (e) => typeof e == "object" && !!e, te = "PermissionDeniedError", ne = (e) => e instanceof Error ? e.name === te : D(e) && e.name === "PermissionDeniedError", re = 3e4, ie = 50, ae = (e) => {
|
|
254
248
|
let t = e[e.length - 1];
|
|
255
249
|
return typeof t == "object" && t ? t : void 0;
|
|
256
250
|
}, oe = (e) => {
|
|
@@ -274,63 +268,63 @@ var r = Object.defineProperty, i = (e, t) => () => (t || e((t = { exports: {} })
|
|
|
274
268
|
clearTimeout(d);
|
|
275
269
|
}
|
|
276
270
|
throw f;
|
|
277
|
-
},
|
|
278
|
-
render: () =>
|
|
279
|
-
resolve: () =>
|
|
280
|
-
type: () =>
|
|
281
|
-
}),
|
|
271
|
+
}, ce = /* @__PURE__ */ e({
|
|
272
|
+
render: () => de,
|
|
273
|
+
resolve: () => ue,
|
|
274
|
+
type: () => le
|
|
275
|
+
}), le = "locator", ue = (e, t) => e.elements.flatMap((e) => [...e.querySelectorAll(t)]), de = (e) => ({
|
|
282
276
|
fragment: typeof e == "string" ? e : "?",
|
|
283
277
|
separator: "descend"
|
|
284
|
-
}),
|
|
285
|
-
typeof window < "u" &&
|
|
286
|
-
if (!
|
|
278
|
+
}), fe = "FKN_WEB_EXTENSION_FRAME_ANNOUNCE_REQUEST_KEY", pe = typeof chrome < "u" && !!chrome.runtime?.id, me = (e) => D(e) && e.FKN_WEB_EXTENSION_FRAME_ANNOUNCE_KEY === !0 && typeof e.frameId == "string", O = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new Set(), he = (e) => (A.add(e), () => A.delete(e));
|
|
279
|
+
typeof window < "u" && pe && window.addEventListener("message", (e) => {
|
|
280
|
+
if (!me(e.data)) return;
|
|
287
281
|
e.stopImmediatePropagation();
|
|
288
282
|
let t = e.source;
|
|
289
283
|
if (!t || typeof t != "object") return;
|
|
290
|
-
let n = t, r =
|
|
291
|
-
if (
|
|
292
|
-
let a =
|
|
284
|
+
let n = t, r = O.get(n), i = e.data.frameId;
|
|
285
|
+
if (O.set(n, i), r) for (let e of A) e(r);
|
|
286
|
+
let a = k.get(n);
|
|
293
287
|
if (a) {
|
|
294
|
-
|
|
288
|
+
k.delete(n);
|
|
295
289
|
for (let e of a) e(i);
|
|
296
290
|
}
|
|
297
291
|
}, { capture: !0 });
|
|
298
|
-
var
|
|
292
|
+
var ge = (e) => {
|
|
299
293
|
let t = e.contentWindow;
|
|
300
294
|
if (!t) return Promise.reject(/* @__PURE__ */ Error("frameLocator: <iframe> has no contentWindow"));
|
|
301
|
-
let n =
|
|
295
|
+
let n = O.get(t);
|
|
302
296
|
return n ? Promise.resolve(n) : new Promise((e) => {
|
|
303
|
-
let n =
|
|
304
|
-
n.push(e),
|
|
297
|
+
let n = k.get(t) ?? [];
|
|
298
|
+
n.push(e), k.set(t, n), t.postMessage({ [fe]: !0 }, "*");
|
|
305
299
|
});
|
|
306
|
-
},
|
|
307
|
-
render: () =>
|
|
308
|
-
resolve: () =>
|
|
309
|
-
resolvePeer: () =>
|
|
310
|
-
type: () =>
|
|
311
|
-
}),
|
|
300
|
+
}, j = /* @__PURE__ */ e({
|
|
301
|
+
render: () => be,
|
|
302
|
+
resolve: () => ve,
|
|
303
|
+
resolvePeer: () => ye,
|
|
304
|
+
type: () => _e
|
|
305
|
+
}), _e = "frameLocator", ve = (e, t) => e.elements.flatMap((e) => [...e.querySelectorAll(t)]).filter((e) => e instanceof HTMLIFrameElement), ye = async ({ parts: e, selfIndex: t, resolveLocal: n }) => {
|
|
312
306
|
let r = n(e.slice(0, t + 1))[0];
|
|
313
307
|
if (!r) throw Error("frameLocator: no <iframe> matched");
|
|
314
308
|
if (!(r instanceof HTMLIFrameElement)) throw Error(`frameLocator: expected <iframe>, got <${r.tagName.toLowerCase()}>`);
|
|
315
|
-
return
|
|
316
|
-
},
|
|
309
|
+
return ge(r);
|
|
310
|
+
}, be = (e) => ({
|
|
317
311
|
fragment: typeof e == "string" ? e : "?",
|
|
318
312
|
separator: "frame-down"
|
|
319
|
-
}),
|
|
320
|
-
render: () =>
|
|
321
|
-
resolve: () =>
|
|
322
|
-
resolvePeer: () =>
|
|
323
|
-
type: () =>
|
|
324
|
-
}),
|
|
313
|
+
}), xe = /* @__PURE__ */ e({
|
|
314
|
+
render: () => Te,
|
|
315
|
+
resolve: () => Ce,
|
|
316
|
+
resolvePeer: () => we,
|
|
317
|
+
type: () => Se
|
|
318
|
+
}), Se = "owner", Ce = (e) => {
|
|
325
319
|
throw Error("owner: must be processed by the executor as an upward pivot");
|
|
326
|
-
},
|
|
327
|
-
let { backgroundResolvers: e } = await import("./background-
|
|
320
|
+
}, we = async () => {
|
|
321
|
+
let { backgroundResolvers: e } = await import("./background-TtzKw6g0.js"), t = await (await e).getParentFrameId();
|
|
328
322
|
if (!t) throw Error("owner: already at top frame");
|
|
329
323
|
return t;
|
|
330
|
-
},
|
|
324
|
+
}, Te = () => ({
|
|
331
325
|
fragment: "",
|
|
332
326
|
separator: "frame-up"
|
|
333
|
-
}),
|
|
327
|
+
}), Ee = class extends Error {
|
|
334
328
|
reason;
|
|
335
329
|
filename;
|
|
336
330
|
line;
|
|
@@ -339,18 +333,18 @@ var he = (e) => {
|
|
|
339
333
|
constructor(e, t, n, r, i) {
|
|
340
334
|
super(`${e}:${n}:${r}: ${t}`), this.reason = t, this.filename = e, this.line = n, this.column = r, this.source = i;
|
|
341
335
|
}
|
|
342
|
-
},
|
|
336
|
+
}, De = class {
|
|
343
337
|
start;
|
|
344
338
|
end;
|
|
345
339
|
source;
|
|
346
340
|
constructor(e, t, n) {
|
|
347
341
|
this.start = e, this.end = t, this.source = n;
|
|
348
342
|
}
|
|
349
|
-
},
|
|
343
|
+
}, M;
|
|
350
344
|
(function(e) {
|
|
351
345
|
e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.atRule = "at-rule", e.container = "container", e.charset = "charset", e.counterStyle = "counter-style", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.fontFeatureValues = "font-feature-values", e.host = "host", e.import = "import", e.keyframes = "keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.pageMarginBox = "page-margin-box", e.positionTry = "position-try", e.property = "property", e.scope = "scope", e.startingStyle = "starting-style", e.supports = "supports", e.viewTransition = "view-transition";
|
|
352
|
-
})(
|
|
353
|
-
var
|
|
346
|
+
})(M ||= {});
|
|
347
|
+
var N = (e, t, n) => {
|
|
354
348
|
let r = n, i = 1e4;
|
|
355
349
|
do {
|
|
356
350
|
let n = t.map((t) => e.indexOf(t, r));
|
|
@@ -362,7 +356,7 @@ var I = (e, t, n) => {
|
|
|
362
356
|
r = o + 2, i--;
|
|
363
357
|
} while (i > 0);
|
|
364
358
|
throw Error("Too many escaping");
|
|
365
|
-
},
|
|
359
|
+
}, P = (e, t, n) => {
|
|
366
360
|
let r = n, i = 1e4;
|
|
367
361
|
do {
|
|
368
362
|
let n = t.map((t) => e.indexOf(t, r));
|
|
@@ -376,21 +370,21 @@ var I = (e, t, n) => {
|
|
|
376
370
|
break;
|
|
377
371
|
case "(":
|
|
378
372
|
{
|
|
379
|
-
let t =
|
|
373
|
+
let t = P(e, [")"], o + 1);
|
|
380
374
|
if (t === -1) return -1;
|
|
381
375
|
r = t + 1;
|
|
382
376
|
}
|
|
383
377
|
break;
|
|
384
378
|
case "\"":
|
|
385
379
|
{
|
|
386
|
-
let t =
|
|
380
|
+
let t = N(e, ["\""], o + 1);
|
|
387
381
|
if (t === -1) return -1;
|
|
388
382
|
r = t + 1;
|
|
389
383
|
}
|
|
390
384
|
break;
|
|
391
385
|
case "'":
|
|
392
386
|
{
|
|
393
|
-
let t =
|
|
387
|
+
let t = N(e, ["'"], o + 1);
|
|
394
388
|
if (t === -1) return -1;
|
|
395
389
|
r = t + 1;
|
|
396
390
|
}
|
|
@@ -400,17 +394,17 @@ var I = (e, t, n) => {
|
|
|
400
394
|
i--;
|
|
401
395
|
} while (i > 0);
|
|
402
396
|
throw Error("Too many escaping");
|
|
403
|
-
},
|
|
404
|
-
function
|
|
397
|
+
}, F = /\/\*[^]*?(?:\*\/|$)/g;
|
|
398
|
+
function I(e) {
|
|
405
399
|
return e ? e.trim() : "";
|
|
406
400
|
}
|
|
407
|
-
function
|
|
401
|
+
function L(e, t) {
|
|
408
402
|
let n = e && typeof e.type == "string", r = n ? e : t;
|
|
409
403
|
for (let t in e) {
|
|
410
404
|
let n = e[t];
|
|
411
405
|
Array.isArray(n) ? n.forEach((e) => {
|
|
412
|
-
|
|
413
|
-
}) : n && typeof n == "object" &&
|
|
406
|
+
L(e, r);
|
|
407
|
+
}) : n && typeof n == "object" && L(n, r);
|
|
414
408
|
}
|
|
415
409
|
return n && Object.defineProperty(e, "parent", {
|
|
416
410
|
configurable: !0,
|
|
@@ -419,7 +413,7 @@ function B(e, t) {
|
|
|
419
413
|
value: t || null
|
|
420
414
|
}), e;
|
|
421
415
|
}
|
|
422
|
-
var
|
|
416
|
+
var Oe = class {
|
|
423
417
|
level = 0;
|
|
424
418
|
indentation = " ";
|
|
425
419
|
compress = !1;
|
|
@@ -434,33 +428,33 @@ var De = class {
|
|
|
434
428
|
}
|
|
435
429
|
visit(e) {
|
|
436
430
|
switch (e.type) {
|
|
437
|
-
case
|
|
438
|
-
case
|
|
439
|
-
case
|
|
440
|
-
case
|
|
441
|
-
case
|
|
442
|
-
case
|
|
443
|
-
case
|
|
444
|
-
case
|
|
445
|
-
case
|
|
446
|
-
case
|
|
447
|
-
case
|
|
448
|
-
case
|
|
449
|
-
case
|
|
450
|
-
case
|
|
451
|
-
case
|
|
452
|
-
case
|
|
453
|
-
case
|
|
454
|
-
case
|
|
455
|
-
case
|
|
456
|
-
case
|
|
457
|
-
case
|
|
458
|
-
case
|
|
459
|
-
case
|
|
460
|
-
case
|
|
461
|
-
case
|
|
462
|
-
case
|
|
463
|
-
case
|
|
431
|
+
case M.stylesheet: return this.stylesheet(e);
|
|
432
|
+
case M.rule: return this.rule(e);
|
|
433
|
+
case M.declaration: return this.declaration(e);
|
|
434
|
+
case M.comment: return this.comment(e);
|
|
435
|
+
case M.container: return this.container(e);
|
|
436
|
+
case M.charset: return this.charset(e);
|
|
437
|
+
case M.counterStyle: return this.counterStyle(e);
|
|
438
|
+
case M.document: return this.document(e);
|
|
439
|
+
case M.customMedia: return this.customMedia(e);
|
|
440
|
+
case M.fontFace: return this.fontFace(e);
|
|
441
|
+
case M.fontFeatureValues: return this.fontFeatureValues(e);
|
|
442
|
+
case M.host: return this.host(e);
|
|
443
|
+
case M.import: return this.import(e);
|
|
444
|
+
case M.keyframes: return this.keyframes(e);
|
|
445
|
+
case M.keyframe: return this.keyframe(e);
|
|
446
|
+
case M.layer: return this.layer(e);
|
|
447
|
+
case M.media: return this.media(e);
|
|
448
|
+
case M.namespace: return this.namespace(e);
|
|
449
|
+
case M.page: return this.page(e);
|
|
450
|
+
case M.pageMarginBox: return this.pageMarginBox(e);
|
|
451
|
+
case M.positionTry: return this.positionTry(e);
|
|
452
|
+
case M.property: return this.property(e);
|
|
453
|
+
case M.scope: return this.scope(e);
|
|
454
|
+
case M.startingStyle: return this.startingStyle(e);
|
|
455
|
+
case M.supports: return this.supports(e);
|
|
456
|
+
case M.viewTransition: return this.viewTransition(e);
|
|
457
|
+
case M.atRule: return this.genericAtRule(e);
|
|
464
458
|
}
|
|
465
459
|
}
|
|
466
460
|
mapVisit(e, t) {
|
|
@@ -556,7 +550,7 @@ var De = class {
|
|
|
556
550
|
let t = e.prelude ? ` ${e.prelude}` : "";
|
|
557
551
|
if (this.compress) return this.emit(`@${e.name}${t}`, e.position) + (e.rules ? this.emit("{") + this.mapVisit(e.rules) + this.emit("}") : ";");
|
|
558
552
|
if (!e.rules) return this.emit(`${this.indent()}@${e.name}${t};`, e.position);
|
|
559
|
-
let n = e.rules.some((e) => e.type !==
|
|
553
|
+
let n = e.rules.some((e) => e.type !== M.declaration && e.type !== M.comment), r = n ? "\n\n" : "\n";
|
|
560
554
|
return this.emit(`${this.indent()}@${e.name}${t}`, e.position) + this.emit(n ? ` {\n${this.indent(1)}` : " {\n") + this.emit(n ? "" : this.indent(1)) + this.mapVisit(e.rules, r) + this.emit(n ? `\n${this.indent(-1)}${this.indent()}}` : `${this.indent(-1)}\n${this.indent()}}`);
|
|
561
555
|
}
|
|
562
556
|
rule(e) {
|
|
@@ -569,7 +563,7 @@ var De = class {
|
|
|
569
563
|
declaration(e) {
|
|
570
564
|
return this.compress ? this.emit(`${e.property}:${e.value}`, e.position) + this.emit(";") : e.property === "grid-template-areas" ? this.emit(this.indent()) + this.emit(e.property + ": " + e.value.split("\n").join("\n".padEnd(22) + this.indent()), e.position) + this.emit(";") : this.emit(this.indent()) + this.emit(`${e.property}: ${e.value}`, e.position) + this.emit(";");
|
|
571
565
|
}
|
|
572
|
-
},
|
|
566
|
+
}, ke = (e, t) => {
|
|
573
567
|
t ||= {};
|
|
574
568
|
let n = 1, r = 1;
|
|
575
569
|
function i() {
|
|
@@ -577,14 +571,14 @@ var De = class {
|
|
|
577
571
|
line: n,
|
|
578
572
|
column: r
|
|
579
573
|
};
|
|
580
|
-
return (i) => (i.position = new
|
|
574
|
+
return (i) => (i.position = new De(e, {
|
|
581
575
|
line: n,
|
|
582
576
|
column: r
|
|
583
577
|
}, t?.source || ""), u(), i);
|
|
584
578
|
}
|
|
585
579
|
let a = [];
|
|
586
580
|
function o(i) {
|
|
587
|
-
let o = new
|
|
581
|
+
let o = new Ee(t?.source || "", i, n, r, e);
|
|
588
582
|
if (!t?.silent) throw o;
|
|
589
583
|
a.push(o);
|
|
590
584
|
}
|
|
@@ -620,36 +614,36 @@ var De = class {
|
|
|
620
614
|
if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return;
|
|
621
615
|
let n = /^\/\*[^]*?\*\//.exec(e);
|
|
622
616
|
return n ? (l(n), t({
|
|
623
|
-
type:
|
|
617
|
+
type: M.comment,
|
|
624
618
|
comment: n[0].slice(2, -2)
|
|
625
619
|
})) : o("End of comment missing");
|
|
626
620
|
}
|
|
627
621
|
function p() {
|
|
628
|
-
let t =
|
|
622
|
+
let t = P(e, ["{"]);
|
|
629
623
|
if (t === -1 || t === 0) return;
|
|
630
624
|
let n = e.substring(0, t);
|
|
631
625
|
return l([n]), ((e, t) => {
|
|
632
626
|
let n = [], r = 0;
|
|
633
627
|
for (; r < e.length;) {
|
|
634
|
-
let i =
|
|
628
|
+
let i = P(e, t, r);
|
|
635
629
|
if (i === -1) return n.push(e.substring(r)), n;
|
|
636
630
|
n.push(e.substring(r, i)), r = i + 1;
|
|
637
631
|
}
|
|
638
632
|
return n;
|
|
639
|
-
})(
|
|
633
|
+
})(I(n).replace(F, ""), [","]).map((e) => I(e));
|
|
640
634
|
}
|
|
641
635
|
function m() {
|
|
642
636
|
let t = i(), n = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(e);
|
|
643
637
|
if (!n) return;
|
|
644
638
|
l(n);
|
|
645
|
-
let r =
|
|
639
|
+
let r = I(n[0]), a = /^:\s*/.exec(e);
|
|
646
640
|
if (!a) return o("property missing ':'");
|
|
647
641
|
l(a);
|
|
648
|
-
let s = "", c =
|
|
649
|
-
c !== -1 && (s = e.substring(0, c), l([s]), s =
|
|
642
|
+
let s = "", c = P(e, [";", "}"]);
|
|
643
|
+
c !== -1 && (s = e.substring(0, c), l([s]), s = I(s).replace(F, ""));
|
|
650
644
|
let u = t({
|
|
651
|
-
type:
|
|
652
|
-
property: r.replace(
|
|
645
|
+
type: M.declaration,
|
|
646
|
+
property: r.replace(F, ""),
|
|
653
647
|
value: s
|
|
654
648
|
}), d = /^[;\s]*/.exec(e);
|
|
655
649
|
return d && l(d), u;
|
|
@@ -668,9 +662,9 @@ var De = class {
|
|
|
668
662
|
return c() ? n : o("missing '}'");
|
|
669
663
|
}
|
|
670
664
|
function g() {
|
|
671
|
-
let t =
|
|
665
|
+
let t = P(e, ["{"]);
|
|
672
666
|
if (t === -1) return !1;
|
|
673
|
-
let n =
|
|
667
|
+
let n = P(e, [";"]), r = P(e, ["}"]);
|
|
674
668
|
return !(n !== -1 && n < t) && !(r !== -1 && r < t);
|
|
675
669
|
}
|
|
676
670
|
function _() {
|
|
@@ -747,7 +741,7 @@ var De = class {
|
|
|
747
741
|
i && l(i), r = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);
|
|
748
742
|
}
|
|
749
743
|
if (t.length) return n({
|
|
750
|
-
type:
|
|
744
|
+
type: M.keyframe,
|
|
751
745
|
values: t,
|
|
752
746
|
declarations: h() || []
|
|
753
747
|
});
|
|
@@ -790,7 +784,7 @@ var De = class {
|
|
|
790
784
|
let f = d(), p = y();
|
|
791
785
|
for (; p;) f.push(p), f = f.concat(d()), p = y();
|
|
792
786
|
return c() ? t({
|
|
793
|
-
type:
|
|
787
|
+
type: M.keyframes,
|
|
794
788
|
name: u,
|
|
795
789
|
vendor: r,
|
|
796
790
|
keyframes: f
|
|
@@ -798,11 +792,11 @@ var De = class {
|
|
|
798
792
|
}() || function() {
|
|
799
793
|
let t = i(), n = /^@media *([^{]+)/.exec(e);
|
|
800
794
|
if (!n) return;
|
|
801
|
-
let r =
|
|
795
|
+
let r = I(l(n)[1]);
|
|
802
796
|
if (!s()) return o("@media missing '{'");
|
|
803
797
|
let a = v();
|
|
804
798
|
return c() ? t({
|
|
805
|
-
type:
|
|
799
|
+
type: M.media,
|
|
806
800
|
media: r,
|
|
807
801
|
rules: a
|
|
808
802
|
}) : o("@media missing '}'");
|
|
@@ -811,29 +805,29 @@ var De = class {
|
|
|
811
805
|
if (!n) return;
|
|
812
806
|
let r = l(n);
|
|
813
807
|
return t({
|
|
814
|
-
type:
|
|
815
|
-
name:
|
|
816
|
-
media:
|
|
808
|
+
type: M.customMedia,
|
|
809
|
+
name: I(r[1]),
|
|
810
|
+
media: I(r[2])
|
|
817
811
|
});
|
|
818
812
|
}() || function() {
|
|
819
813
|
let t = i(), n = /^@supports *([^{]+)/.exec(e);
|
|
820
814
|
if (!n) return;
|
|
821
|
-
let r =
|
|
815
|
+
let r = I(l(n)[1]);
|
|
822
816
|
if (!s()) return o("@supports missing '{'");
|
|
823
817
|
let a = v();
|
|
824
818
|
return c() ? t({
|
|
825
|
-
type:
|
|
819
|
+
type: M.supports,
|
|
826
820
|
supports: r,
|
|
827
821
|
rules: a
|
|
828
822
|
}) : o("@supports missing '}'");
|
|
829
823
|
}() || x() || S() || C() || function() {
|
|
830
824
|
let t = i(), n = /^@([-\w]+)?document *([^{]+)/.exec(e);
|
|
831
825
|
if (!n) return;
|
|
832
|
-
let r = l(n), a =
|
|
826
|
+
let r = l(n), a = I(r[1]), u = I(r[2]);
|
|
833
827
|
if (!s()) return o("@document missing '{'");
|
|
834
828
|
let d = v();
|
|
835
829
|
return c() ? t({
|
|
836
|
-
type:
|
|
830
|
+
type: M.document,
|
|
837
831
|
document: u,
|
|
838
832
|
vendor: a,
|
|
839
833
|
rules: d
|
|
@@ -858,7 +852,7 @@ var De = class {
|
|
|
858
852
|
a.push(t), d(a);
|
|
859
853
|
}
|
|
860
854
|
return c() ? t({
|
|
861
|
-
type:
|
|
855
|
+
type: M.page,
|
|
862
856
|
selectors: r,
|
|
863
857
|
declarations: a
|
|
864
858
|
}) : o("@page missing '}'");
|
|
@@ -868,7 +862,7 @@ var De = class {
|
|
|
868
862
|
if (l(n), !s()) return o("@host missing '{'");
|
|
869
863
|
let r = v();
|
|
870
864
|
return c() ? t({
|
|
871
|
-
type:
|
|
865
|
+
type: M.host,
|
|
872
866
|
rules: r
|
|
873
867
|
}) : o("@host missing '}'");
|
|
874
868
|
}() || function() {
|
|
@@ -878,28 +872,28 @@ var De = class {
|
|
|
878
872
|
let r = d(), a = m();
|
|
879
873
|
for (; a;) r.push(a), r = r.concat(d()), a = m();
|
|
880
874
|
return c() ? t({
|
|
881
|
-
type:
|
|
875
|
+
type: M.fontFace,
|
|
882
876
|
declarations: r
|
|
883
877
|
}) : o("@font-face missing '}'");
|
|
884
878
|
}() || function() {
|
|
885
879
|
let t = i(), n = /^@font-feature-values\s+([^{]+)/.exec(e);
|
|
886
880
|
if (!n) return;
|
|
887
|
-
let r =
|
|
881
|
+
let r = I(l(n)[1]);
|
|
888
882
|
if (!s()) return o("@font-feature-values missing '{'");
|
|
889
883
|
let a = v();
|
|
890
884
|
return c() ? t({
|
|
891
|
-
type:
|
|
885
|
+
type: M.fontFeatureValues,
|
|
892
886
|
fontFamily: r,
|
|
893
887
|
rules: a
|
|
894
888
|
}) : o("@font-feature-values missing '}'");
|
|
895
889
|
}() || function() {
|
|
896
890
|
let t = i(), n = /^@container *([^{]+)/.exec(e);
|
|
897
891
|
if (!n) return;
|
|
898
|
-
let r =
|
|
892
|
+
let r = I(l(n)[1]);
|
|
899
893
|
if (!s()) return o("@container missing '{'");
|
|
900
894
|
let a = v();
|
|
901
895
|
return c() ? t({
|
|
902
|
-
type:
|
|
896
|
+
type: M.container,
|
|
903
897
|
container: r,
|
|
904
898
|
rules: a
|
|
905
899
|
}) : o("@container missing '}'");
|
|
@@ -909,23 +903,23 @@ var De = class {
|
|
|
909
903
|
if (l(n), !s()) return o("@starting-style missing '{'");
|
|
910
904
|
let r = v();
|
|
911
905
|
return c() ? t({
|
|
912
|
-
type:
|
|
906
|
+
type: M.startingStyle,
|
|
913
907
|
rules: r
|
|
914
908
|
}) : o("@starting-style missing '}'");
|
|
915
909
|
}() || function() {
|
|
916
910
|
let t = i(), n = /^@layer *([^{;@]+)/.exec(e);
|
|
917
911
|
if (!n) return;
|
|
918
|
-
let r =
|
|
912
|
+
let r = I(l(n)[1]);
|
|
919
913
|
if (!s()) {
|
|
920
914
|
let n = /^[;\s]*/.exec(e);
|
|
921
915
|
return n && l(n), t({
|
|
922
|
-
type:
|
|
916
|
+
type: M.layer,
|
|
923
917
|
layer: r
|
|
924
918
|
});
|
|
925
919
|
}
|
|
926
920
|
let a = v();
|
|
927
921
|
return c() ? t({
|
|
928
|
-
type:
|
|
922
|
+
type: M.layer,
|
|
929
923
|
layer: r,
|
|
930
924
|
rules: a
|
|
931
925
|
}) : o("@layer missing '}'");
|
|
@@ -937,7 +931,7 @@ var De = class {
|
|
|
937
931
|
let a = d(), u = m();
|
|
938
932
|
for (; u;) a.push(u), a = a.concat(d()), u = m();
|
|
939
933
|
return c() ? t({
|
|
940
|
-
type:
|
|
934
|
+
type: M.property,
|
|
941
935
|
name: r,
|
|
942
936
|
declarations: a
|
|
943
937
|
}) : o("@property missing '}'");
|
|
@@ -949,18 +943,18 @@ var De = class {
|
|
|
949
943
|
let a = d(), u = m();
|
|
950
944
|
for (; u;) a.push(u), a = a.concat(d()), u = m();
|
|
951
945
|
return c() ? t({
|
|
952
|
-
type:
|
|
946
|
+
type: M.counterStyle,
|
|
953
947
|
name: r,
|
|
954
948
|
declarations: a
|
|
955
949
|
}) : o("@counter-style missing '}'");
|
|
956
950
|
}() || function() {
|
|
957
951
|
let t = i(), n = /^@scope\s*([^{]*)/.exec(e);
|
|
958
952
|
if (!n) return;
|
|
959
|
-
let r =
|
|
953
|
+
let r = I(l(n)[1]);
|
|
960
954
|
if (!s()) return o("@scope missing '{'");
|
|
961
955
|
let a = v();
|
|
962
956
|
return c() ? t({
|
|
963
|
-
type:
|
|
957
|
+
type: M.scope,
|
|
964
958
|
scope: r,
|
|
965
959
|
rules: a
|
|
966
960
|
}) : o("@scope missing '}'");
|
|
@@ -971,7 +965,7 @@ var De = class {
|
|
|
971
965
|
let r = d(), a = m();
|
|
972
966
|
for (; a;) r.push(a), r = r.concat(d()), a = m();
|
|
973
967
|
return c() ? t({
|
|
974
|
-
type:
|
|
968
|
+
type: M.viewTransition,
|
|
975
969
|
declarations: r
|
|
976
970
|
}) : o("@view-transition missing '}'");
|
|
977
971
|
}() || function() {
|
|
@@ -982,7 +976,7 @@ var De = class {
|
|
|
982
976
|
let a = d(), u = m();
|
|
983
977
|
for (; u;) a.push(u), a = a.concat(d()), u = m();
|
|
984
978
|
return c() ? t({
|
|
985
|
-
type:
|
|
979
|
+
type: M.positionTry,
|
|
986
980
|
name: r,
|
|
987
981
|
declarations: a
|
|
988
982
|
}) : o("@position-try missing '}'");
|
|
@@ -994,18 +988,18 @@ var De = class {
|
|
|
994
988
|
let a = d(), u = m();
|
|
995
989
|
for (; u;) a.push(u), a = a.concat(d()), u = m();
|
|
996
990
|
return c() ? t({
|
|
997
|
-
type:
|
|
991
|
+
type: M.pageMarginBox,
|
|
998
992
|
name: r,
|
|
999
993
|
declarations: a
|
|
1000
994
|
}) : o(`@${r} missing '}'`);
|
|
1001
995
|
}() || function() {
|
|
1002
996
|
let t = i(), n = /^@([-\w]+)\s*/.exec(e);
|
|
1003
997
|
if (!n) return;
|
|
1004
|
-
let r = l(n)[1], a = "", u =
|
|
1005
|
-
if (u !== -1 && u > 0 && (a =
|
|
998
|
+
let r = l(n)[1], a = "", u = P(e, ["{", ";"]);
|
|
999
|
+
if (u !== -1 && u > 0 && (a = I(e.substring(0, u)), l([e.substring(0, u)])), s()) {
|
|
1006
1000
|
let e = v();
|
|
1007
1001
|
return c() ? t({
|
|
1008
|
-
type:
|
|
1002
|
+
type: M.atRule,
|
|
1009
1003
|
name: r,
|
|
1010
1004
|
prelude: a,
|
|
1011
1005
|
rules: e
|
|
@@ -1013,7 +1007,7 @@ var De = class {
|
|
|
1013
1007
|
}
|
|
1014
1008
|
let d = /^[;\s]*/.exec(e);
|
|
1015
1009
|
return d && l(d), t({
|
|
1016
|
-
type:
|
|
1010
|
+
type: M.atRule,
|
|
1017
1011
|
name: r,
|
|
1018
1012
|
prelude: a
|
|
1019
1013
|
});
|
|
@@ -1022,12 +1016,12 @@ var De = class {
|
|
|
1022
1016
|
function E() {
|
|
1023
1017
|
let e = i(), t = p();
|
|
1024
1018
|
return t ? (d(), e({
|
|
1025
|
-
type:
|
|
1019
|
+
type: M.rule,
|
|
1026
1020
|
selectors: t,
|
|
1027
1021
|
declarations: _() || []
|
|
1028
1022
|
})) : o("selector missing");
|
|
1029
1023
|
}
|
|
1030
|
-
return
|
|
1024
|
+
return L(function() {
|
|
1031
1025
|
let n = function() {
|
|
1032
1026
|
let n, r = [];
|
|
1033
1027
|
for (u(), d(r); e.length;) {
|
|
@@ -1050,7 +1044,7 @@ var De = class {
|
|
|
1050
1044
|
return r;
|
|
1051
1045
|
}();
|
|
1052
1046
|
return {
|
|
1053
|
-
type:
|
|
1047
|
+
type: M.stylesheet,
|
|
1054
1048
|
stylesheet: {
|
|
1055
1049
|
source: t?.source,
|
|
1056
1050
|
rules: n,
|
|
@@ -1058,79 +1052,79 @@ var De = class {
|
|
|
1058
1052
|
}
|
|
1059
1053
|
};
|
|
1060
1054
|
}());
|
|
1061
|
-
},
|
|
1062
|
-
appearPermission: () =>
|
|
1063
|
-
appearUnsafePermission: () =>
|
|
1064
|
-
permission: () =>
|
|
1065
|
-
resolve: () =>
|
|
1066
|
-
setInjectedStylesDisabled: () =>
|
|
1067
|
-
type: () =>
|
|
1068
|
-
}),
|
|
1055
|
+
}, Ae = (e, t) => new Oe(t || {}).compile(e), je = /* @__PURE__ */ e({
|
|
1056
|
+
appearPermission: () => R,
|
|
1057
|
+
appearUnsafePermission: () => z,
|
|
1058
|
+
permission: () => Ne,
|
|
1059
|
+
resolve: () => Re,
|
|
1060
|
+
setInjectedStylesDisabled: () => W,
|
|
1061
|
+
type: () => Me
|
|
1062
|
+
}), Me = "addStyleTag", R = {
|
|
1069
1063
|
scope: "media.appear",
|
|
1070
1064
|
category: "media",
|
|
1071
1065
|
severity: 0,
|
|
1072
1066
|
title: "Change page appearance",
|
|
1073
1067
|
description: "Lets the app restyle parts of the page (safely filtered)."
|
|
1074
|
-
},
|
|
1068
|
+
}, z = {
|
|
1075
1069
|
scope: "media.appearU",
|
|
1076
1070
|
category: "media",
|
|
1077
1071
|
severity: 2,
|
|
1078
1072
|
unsafe: !0,
|
|
1079
1073
|
title: "Change page appearance (unsafe)",
|
|
1080
1074
|
description: "Lets the app restyle the page WITHOUT safety filtering. Could be used to leak data over the network."
|
|
1081
|
-
},
|
|
1075
|
+
}, Ne = (e) => e?.noSanitize ? z : R, Pe = /(?:^|[^\w-])(?:url|image|image-set|cross-fade|paint|element|expression)\s*\(/i, Fe = (e) => e.replace(/\\([0-9a-fA-F]{1,6})\s?/g, (e, t) => String.fromCodePoint(Number.parseInt(t, 16))).replace(/\\(.)/g, "$1"), B = (e) => !Pe.test(Fe(e.value)), V = (e) => {
|
|
1082
1076
|
let t = [];
|
|
1083
1077
|
for (let n of e) switch (n.type) {
|
|
1084
|
-
case
|
|
1085
|
-
case
|
|
1086
|
-
case
|
|
1087
|
-
case
|
|
1088
|
-
case
|
|
1089
|
-
case
|
|
1090
|
-
case
|
|
1091
|
-
case
|
|
1078
|
+
case M.import:
|
|
1079
|
+
case M.fontFace:
|
|
1080
|
+
case M.namespace:
|
|
1081
|
+
case M.charset:
|
|
1082
|
+
case M.document:
|
|
1083
|
+
case M.comment: continue;
|
|
1084
|
+
case M.rule:
|
|
1085
|
+
case M.page:
|
|
1092
1086
|
t.push({
|
|
1093
1087
|
...n,
|
|
1094
|
-
declarations: n.declarations.filter((e) => e.type !==
|
|
1088
|
+
declarations: n.declarations.filter((e) => e.type !== M.declaration || B(e))
|
|
1095
1089
|
});
|
|
1096
1090
|
continue;
|
|
1097
|
-
case
|
|
1098
|
-
case
|
|
1099
|
-
case
|
|
1100
|
-
case
|
|
1101
|
-
case
|
|
1091
|
+
case M.media:
|
|
1092
|
+
case M.supports:
|
|
1093
|
+
case M.container:
|
|
1094
|
+
case M.host:
|
|
1095
|
+
case M.startingStyle:
|
|
1102
1096
|
t.push({
|
|
1103
1097
|
...n,
|
|
1104
|
-
rules:
|
|
1098
|
+
rules: V(n.rules)
|
|
1105
1099
|
});
|
|
1106
1100
|
continue;
|
|
1107
|
-
case
|
|
1101
|
+
case M.layer:
|
|
1108
1102
|
t.push({
|
|
1109
1103
|
...n,
|
|
1110
|
-
rules: n.rules ?
|
|
1104
|
+
rules: n.rules ? V(n.rules) : void 0
|
|
1111
1105
|
});
|
|
1112
1106
|
continue;
|
|
1113
|
-
case
|
|
1107
|
+
case M.keyframes:
|
|
1114
1108
|
t.push({
|
|
1115
1109
|
...n,
|
|
1116
|
-
keyframes: n.keyframes.map((e) => e.type ===
|
|
1110
|
+
keyframes: n.keyframes.map((e) => e.type === M.keyframe ? {
|
|
1117
1111
|
...e,
|
|
1118
|
-
declarations: e.declarations.filter((e) => e.type !==
|
|
1112
|
+
declarations: e.declarations.filter((e) => e.type !== M.declaration || B(e))
|
|
1119
1113
|
} : e)
|
|
1120
1114
|
});
|
|
1121
1115
|
continue;
|
|
1122
1116
|
default: continue;
|
|
1123
1117
|
}
|
|
1124
1118
|
return t;
|
|
1125
|
-
},
|
|
1119
|
+
}, Ie = (e) => {
|
|
1126
1120
|
let t;
|
|
1127
1121
|
try {
|
|
1128
|
-
t =
|
|
1122
|
+
t = ke(e, { silent: !0 });
|
|
1129
1123
|
} catch {
|
|
1130
1124
|
return "";
|
|
1131
1125
|
}
|
|
1132
|
-
return t.stylesheet.rules =
|
|
1133
|
-
},
|
|
1126
|
+
return t.stylesheet.rules = V(t.stylesheet.rules), Ae(t);
|
|
1127
|
+
}, Le = (e) => {
|
|
1134
1128
|
let t = () => {
|
|
1135
1129
|
e.parentNode || (document.head ?? document.documentElement).appendChild(e);
|
|
1136
1130
|
};
|
|
@@ -1145,37 +1139,37 @@ var De = class {
|
|
|
1145
1139
|
childList: !0,
|
|
1146
1140
|
subtree: !0
|
|
1147
1141
|
}), window.addEventListener("load", () => n.disconnect(), { once: !0 });
|
|
1148
|
-
},
|
|
1149
|
-
|
|
1150
|
-
for (let t of
|
|
1151
|
-
},
|
|
1142
|
+
}, H = /* @__PURE__ */ new Set(), U = !1, W = (e) => {
|
|
1143
|
+
U = e;
|
|
1144
|
+
for (let t of H) t.disabled = e;
|
|
1145
|
+
}, Re = async (e, t) => {
|
|
1152
1146
|
let n = document.createElement("style");
|
|
1153
|
-
n.textContent = t.noSanitize ? t.content :
|
|
1147
|
+
n.textContent = t.noSanitize ? t.content : Ie(t.content);
|
|
1154
1148
|
try {
|
|
1155
|
-
|
|
1149
|
+
Le(n);
|
|
1156
1150
|
} catch (e) {
|
|
1157
1151
|
console.error(e);
|
|
1158
1152
|
}
|
|
1159
|
-
|
|
1160
|
-
},
|
|
1153
|
+
H.add(n), U && (n.disabled = !0);
|
|
1154
|
+
}, G = "frameLocator", K = [
|
|
1161
1155
|
{
|
|
1162
|
-
...
|
|
1156
|
+
...ce,
|
|
1163
1157
|
nextLocatorType: "locator"
|
|
1164
1158
|
},
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
],
|
|
1168
|
-
type:
|
|
1169
|
-
selectorModules:
|
|
1170
|
-
operationModules:
|
|
1171
|
-
},
|
|
1172
|
-
ownType:
|
|
1173
|
-
selectorModules:
|
|
1174
|
-
operationModules:
|
|
1159
|
+
j,
|
|
1160
|
+
xe
|
|
1161
|
+
], q = [je], ze = {
|
|
1162
|
+
type: G,
|
|
1163
|
+
selectorModules: K,
|
|
1164
|
+
operationModules: q
|
|
1165
|
+
}, J = Y({
|
|
1166
|
+
ownType: G,
|
|
1167
|
+
selectorModules: K,
|
|
1168
|
+
operationModules: q
|
|
1175
1169
|
});
|
|
1176
1170
|
//#endregion
|
|
1177
1171
|
//#region node_modules/@mfkn/web-extension/lib/content-script/resolvers/locators/factory.js
|
|
1178
|
-
function
|
|
1172
|
+
function Y(e) {
|
|
1179
1173
|
return (t, n, r = []) => ({
|
|
1180
1174
|
...Object.fromEntries(e.selectorModules.map((i) => [i.type, (...a) => {
|
|
1181
1175
|
let o = [...r, {
|
|
@@ -1183,7 +1177,7 @@ function Be(e) {
|
|
|
1183
1177
|
type: i.type,
|
|
1184
1178
|
args: a
|
|
1185
1179
|
}];
|
|
1186
|
-
return (i.nextLocatorType ?? e.ownType) === "locator" ?
|
|
1180
|
+
return (i.nextLocatorType ?? e.ownType) === "locator" ? Gt(t, n, o) : J(t, n, o);
|
|
1187
1181
|
}])),
|
|
1188
1182
|
...Object.fromEntries(e.operationModules.map(({ type: e }) => [e, (...i) => se(t, r, e, i, n)])),
|
|
1189
1183
|
ensure: (e, t = {}) => n ? n(r, e, [t]) : Promise.resolve()
|
|
@@ -1191,47 +1185,47 @@ function Be(e) {
|
|
|
1191
1185
|
}
|
|
1192
1186
|
//#endregion
|
|
1193
1187
|
//#region node_modules/@mfkn/web-extension/lib/content-script/resolvers/locators/selectors/get-by-role.js
|
|
1194
|
-
var
|
|
1195
|
-
render: () =>
|
|
1196
|
-
resolve: () =>
|
|
1197
|
-
type: () =>
|
|
1198
|
-
}),
|
|
1199
|
-
render: () =>
|
|
1200
|
-
resolve: () =>
|
|
1201
|
-
type: () =>
|
|
1202
|
-
}),
|
|
1203
|
-
render: () =>
|
|
1204
|
-
resolve: () =>
|
|
1205
|
-
type: () =>
|
|
1206
|
-
}),
|
|
1207
|
-
render: () =>
|
|
1208
|
-
resolve: () =>
|
|
1209
|
-
type: () =>
|
|
1210
|
-
}),
|
|
1211
|
-
render: () =>
|
|
1212
|
-
resolve: () =>
|
|
1188
|
+
var Be = /* @__PURE__ */ e({
|
|
1189
|
+
render: () => Ue,
|
|
1190
|
+
resolve: () => He,
|
|
1191
|
+
type: () => Ve
|
|
1192
|
+
}), Ve = "getByRole", He = (e, t) => e.elements.flatMap((e) => [...e.querySelectorAll(`[role="${CSS.escape(t)}"]`)]), Ue = (e) => ({ fragment: typeof e == "string" ? `[role="${e.replaceAll("\"", "\\\"")}"]` : "[role]" }), We = /* @__PURE__ */ e({
|
|
1193
|
+
render: () => qe,
|
|
1194
|
+
resolve: () => Ke,
|
|
1195
|
+
type: () => Ge
|
|
1196
|
+
}), Ge = "getByText", Ke = (e, t) => e.elements.flatMap((e) => [e, ...e.querySelectorAll("*")]).filter((e) => e.textContent?.includes(t)), qe = (e) => ({ fragment: typeof e == "string" ? `:has-text("${e.replaceAll("\"", "\\\"")}")` : ":has-text(...)" }), Je = /* @__PURE__ */ e({
|
|
1197
|
+
render: () => Ze,
|
|
1198
|
+
resolve: () => Xe,
|
|
1199
|
+
type: () => Ye
|
|
1200
|
+
}), Ye = "getByTestId", Xe = (e, t) => e.elements.flatMap((e) => [...e.querySelectorAll(`[data-testid="${CSS.escape(t)}"]`)]), Ze = (e) => ({ fragment: typeof e == "string" ? `[data-testid="${e.replaceAll("\"", "\\\"")}"]` : "[data-testid]" }), Qe = /* @__PURE__ */ e({
|
|
1201
|
+
render: () => tt,
|
|
1202
|
+
resolve: () => et,
|
|
1203
|
+
type: () => $e
|
|
1204
|
+
}), $e = "first", et = (e) => e.elements.slice(0, 1), tt = () => ({ fragment: ":first" }), nt = /* @__PURE__ */ e({
|
|
1205
|
+
render: () => it,
|
|
1206
|
+
resolve: () => rt,
|
|
1213
1207
|
type: () => "nth"
|
|
1214
|
-
}),
|
|
1208
|
+
}), rt = (e, t) => {
|
|
1215
1209
|
let n = e.elements.at(t);
|
|
1216
1210
|
return n ? [n] : [];
|
|
1217
|
-
},
|
|
1211
|
+
}, it = (e) => ({ fragment: typeof e == "number" ? `:nth(${e})` : ":nth(?)" }), X = (e) => {
|
|
1218
1212
|
let t = Error(e);
|
|
1219
1213
|
return t.name = "LocatorError", t;
|
|
1220
1214
|
}, Z = (e) => {
|
|
1221
|
-
if (e.length === 0) throw
|
|
1222
|
-
if (e.length > 1) throw
|
|
1215
|
+
if (e.length === 0) throw X("No elements found");
|
|
1216
|
+
if (e.length > 1) throw X(`Strict mode violation: locator resolved to ${e.length} elements`);
|
|
1223
1217
|
return e[0];
|
|
1224
|
-
},
|
|
1225
|
-
permission: () =>
|
|
1226
|
-
resolve: () =>
|
|
1227
|
-
type: () =>
|
|
1228
|
-
}),
|
|
1218
|
+
}, at = /* @__PURE__ */ e({
|
|
1219
|
+
permission: () => st,
|
|
1220
|
+
resolve: () => ct,
|
|
1221
|
+
type: () => ot
|
|
1222
|
+
}), ot = "click", st = {
|
|
1229
1223
|
scope: "act.click",
|
|
1230
1224
|
category: "act",
|
|
1231
1225
|
severity: 3,
|
|
1232
1226
|
title: "Click on the page",
|
|
1233
1227
|
description: "Lets the app press buttons or links for you."
|
|
1234
|
-
},
|
|
1228
|
+
}, ct = (e, t = {}) => {
|
|
1235
1229
|
let n = Z(e.elements), r = n.getBoundingClientRect(), i = t.position?.x ?? .5, a = t.position?.y ?? .5, o = {
|
|
1236
1230
|
bubbles: !0,
|
|
1237
1231
|
cancelable: !0,
|
|
@@ -1256,21 +1250,21 @@ var Ve = /* @__PURE__ */ a({
|
|
|
1256
1250
|
...s,
|
|
1257
1251
|
buttons: 0
|
|
1258
1252
|
})), n.dispatchEvent(new MouseEvent("mouseup", l)), n.dispatchEvent(new MouseEvent("click", l));
|
|
1259
|
-
},
|
|
1260
|
-
permission: () =>
|
|
1261
|
-
resolve: () =>
|
|
1262
|
-
type: () =>
|
|
1263
|
-
}),
|
|
1253
|
+
}, lt = /* @__PURE__ */ e({
|
|
1254
|
+
permission: () => dt,
|
|
1255
|
+
resolve: () => mt,
|
|
1256
|
+
type: () => ut
|
|
1257
|
+
}), ut = "fill", dt = {
|
|
1264
1258
|
scope: "act.type",
|
|
1265
1259
|
category: "act",
|
|
1266
1260
|
severity: 1,
|
|
1267
1261
|
title: "Type into a text field",
|
|
1268
1262
|
description: "Lets the app fill in form fields on your behalf."
|
|
1269
|
-
},
|
|
1263
|
+
}, ft = (e, t) => {
|
|
1270
1264
|
e._valueTracker?.setValue("");
|
|
1271
1265
|
let n = e instanceof HTMLTextAreaElement ? HTMLTextAreaElement.prototype : HTMLInputElement.prototype, r = Object.getOwnPropertyDescriptor(n, "value")?.set;
|
|
1272
1266
|
r ? r.call(e, t) : e.value = t;
|
|
1273
|
-
},
|
|
1267
|
+
}, pt = (e, t) => {
|
|
1274
1268
|
if (e.type !== "range") return null;
|
|
1275
1269
|
let n = Number(e.min || 0), r = Number(e.max || 100);
|
|
1276
1270
|
if (!Number.isFinite(n) || !Number.isFinite(r) || r <= n) return null;
|
|
@@ -1308,15 +1302,15 @@ var Ve = /* @__PURE__ */ a({
|
|
|
1308
1302
|
buttons: 0
|
|
1309
1303
|
}
|
|
1310
1304
|
};
|
|
1311
|
-
},
|
|
1305
|
+
}, mt = (e, t, n = {}) => {
|
|
1312
1306
|
let r = Z(e.elements);
|
|
1313
1307
|
if (r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement) {
|
|
1314
|
-
let e = r instanceof HTMLInputElement ?
|
|
1308
|
+
let e = r instanceof HTMLInputElement ? pt(r, t) : null;
|
|
1315
1309
|
if (e) {
|
|
1316
|
-
r.dispatchEvent(new PointerEvent("pointerdown", e.pointerDown)), r.dispatchEvent(new MouseEvent("mousedown", e.mouseDown)),
|
|
1310
|
+
r.dispatchEvent(new PointerEvent("pointerdown", e.pointerDown)), r.dispatchEvent(new MouseEvent("mousedown", e.mouseDown)), ft(r, t), r.dispatchEvent(new Event("input", { bubbles: !0 })), r.dispatchEvent(new PointerEvent("pointerup", e.pointerUp)), r.dispatchEvent(new MouseEvent("mouseup", e.mouseUp)), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1317
1311
|
return;
|
|
1318
1312
|
}
|
|
1319
|
-
|
|
1313
|
+
ft(r, t), r.dispatchEvent(new Event("input", { bubbles: !0 })), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1320
1314
|
return;
|
|
1321
1315
|
}
|
|
1322
1316
|
if (r instanceof HTMLElement && r.isContentEditable) {
|
|
@@ -1324,17 +1318,17 @@ var Ve = /* @__PURE__ */ a({
|
|
|
1324
1318
|
return;
|
|
1325
1319
|
}
|
|
1326
1320
|
throw Error(`fill: element <${r.tagName.toLowerCase()}> is not fillable`);
|
|
1327
|
-
},
|
|
1328
|
-
permission: () =>
|
|
1329
|
-
resolve: () =>
|
|
1330
|
-
type: () =>
|
|
1331
|
-
}),
|
|
1321
|
+
}, ht = /* @__PURE__ */ e({
|
|
1322
|
+
permission: () => _t,
|
|
1323
|
+
resolve: () => vt,
|
|
1324
|
+
type: () => gt
|
|
1325
|
+
}), gt = "hover", _t = {
|
|
1332
1326
|
scope: "act.hover",
|
|
1333
1327
|
category: "act",
|
|
1334
1328
|
severity: 1,
|
|
1335
1329
|
title: "Hover over the page",
|
|
1336
1330
|
description: "Lets the app point at things to reveal menus or tooltips."
|
|
1337
|
-
},
|
|
1331
|
+
}, vt = (e, t = {}) => {
|
|
1338
1332
|
let n = Z(e.elements), r = n.getBoundingClientRect(), i = {
|
|
1339
1333
|
bubbles: !0,
|
|
1340
1334
|
cancelable: !0,
|
|
@@ -1354,106 +1348,106 @@ var Ve = /* @__PURE__ */ a({
|
|
|
1354
1348
|
...i,
|
|
1355
1349
|
bubbles: !1
|
|
1356
1350
|
})), n.dispatchEvent(new MouseEvent("mouseover", i)), n.dispatchEvent(new PointerEvent("pointermove", a)), n.dispatchEvent(new MouseEvent("mousemove", i));
|
|
1357
|
-
},
|
|
1358
|
-
permission: () =>
|
|
1359
|
-
resolve: () =>
|
|
1360
|
-
type: () =>
|
|
1361
|
-
}),
|
|
1351
|
+
}, yt = /* @__PURE__ */ e({
|
|
1352
|
+
permission: () => xt,
|
|
1353
|
+
resolve: () => St,
|
|
1354
|
+
type: () => bt
|
|
1355
|
+
}), bt = "textContent", xt = {
|
|
1362
1356
|
scope: "read.text",
|
|
1363
1357
|
category: "read",
|
|
1364
1358
|
severity: 1,
|
|
1365
1359
|
title: "Read text from the page",
|
|
1366
1360
|
description: "Lets the app see the text shown on this page."
|
|
1367
|
-
},
|
|
1368
|
-
permission: () =>
|
|
1369
|
-
resolve: () =>
|
|
1370
|
-
type: () =>
|
|
1371
|
-
}),
|
|
1361
|
+
}, St = (e, t = {}) => Z(e.elements).textContent, Ct = /* @__PURE__ */ e({
|
|
1362
|
+
permission: () => Tt,
|
|
1363
|
+
resolve: () => Et,
|
|
1364
|
+
type: () => wt
|
|
1365
|
+
}), wt = "isVisible", Tt = {
|
|
1372
1366
|
scope: "read.visible",
|
|
1373
1367
|
category: "read",
|
|
1374
1368
|
severity: 0,
|
|
1375
1369
|
title: "See what’s visible on the page",
|
|
1376
1370
|
description: "Lets the app check which elements are currently on screen."
|
|
1377
|
-
},
|
|
1371
|
+
}, Et = (e, t = {}) => {
|
|
1378
1372
|
let n = Z(e.elements);
|
|
1379
1373
|
if (!(n instanceof HTMLElement)) return !0;
|
|
1380
1374
|
let r = n.ownerDocument.defaultView?.getComputedStyle(n);
|
|
1381
1375
|
if (r?.display === "none" || r?.visibility === "hidden") return !1;
|
|
1382
1376
|
let i = n.getBoundingClientRect();
|
|
1383
1377
|
return i.width > 0 && i.height > 0;
|
|
1384
|
-
},
|
|
1385
|
-
permission: () =>
|
|
1386
|
-
resolve: () =>
|
|
1387
|
-
type: () =>
|
|
1388
|
-
}),
|
|
1378
|
+
}, Dt = /* @__PURE__ */ e({
|
|
1379
|
+
permission: () => kt,
|
|
1380
|
+
resolve: () => At,
|
|
1381
|
+
type: () => Ot
|
|
1382
|
+
}), Ot = "count", kt = {
|
|
1389
1383
|
scope: "read.count",
|
|
1390
1384
|
category: "read",
|
|
1391
1385
|
severity: 0,
|
|
1392
1386
|
title: "Count items on the page",
|
|
1393
1387
|
description: "Lets the app count how many matching elements are present."
|
|
1394
|
-
},
|
|
1395
|
-
permission: () =>
|
|
1396
|
-
resolve: () =>
|
|
1397
|
-
type: () =>
|
|
1398
|
-
}),
|
|
1388
|
+
}, At = (e, t = {}) => e.elements.length, jt = /* @__PURE__ */ e({
|
|
1389
|
+
permission: () => Nt,
|
|
1390
|
+
resolve: () => Pt,
|
|
1391
|
+
type: () => Mt
|
|
1392
|
+
}), Mt = "exists", Nt = {
|
|
1399
1393
|
scope: "read.check",
|
|
1400
1394
|
category: "read",
|
|
1401
1395
|
severity: 0,
|
|
1402
1396
|
title: "Check if something is on the page",
|
|
1403
1397
|
description: "Lets the app test whether a specific element exists."
|
|
1404
|
-
},
|
|
1405
|
-
permission: () =>
|
|
1406
|
-
resolve: () =>
|
|
1407
|
-
type: () =>
|
|
1408
|
-
}),
|
|
1398
|
+
}, Pt = (e, t = {}) => e.elements.length > 0, Ft = /* @__PURE__ */ e({
|
|
1399
|
+
permission: () => Lt,
|
|
1400
|
+
resolve: () => Rt,
|
|
1401
|
+
type: () => It
|
|
1402
|
+
}), It = "getAttribute", Lt = {
|
|
1409
1403
|
scope: "read.info",
|
|
1410
1404
|
category: "read",
|
|
1411
1405
|
severity: 1,
|
|
1412
1406
|
title: "Read info from the page",
|
|
1413
1407
|
description: "Lets the app read the href value from a part of the page."
|
|
1414
|
-
},
|
|
1415
|
-
permission: () =>
|
|
1416
|
-
resolve: () =>
|
|
1417
|
-
type: () =>
|
|
1418
|
-
}),
|
|
1408
|
+
}, Rt = (e, t, n = {}) => Z(e.elements).getAttribute(t), zt = /* @__PURE__ */ e({
|
|
1409
|
+
permission: () => Vt,
|
|
1410
|
+
resolve: () => Ht,
|
|
1411
|
+
type: () => Bt
|
|
1412
|
+
}), Bt = "videoElement", Vt = {
|
|
1419
1413
|
scope: "media.video",
|
|
1420
1414
|
category: "media",
|
|
1421
1415
|
severity: 0,
|
|
1422
1416
|
title: "Control video playback",
|
|
1423
1417
|
description: "Lets the app play, pause, seek, and read the video on the page."
|
|
1424
|
-
},
|
|
1418
|
+
}, Ht = (e, t = {}) => {
|
|
1425
1419
|
let n = Z(e.elements);
|
|
1426
1420
|
if (!(n instanceof HTMLVideoElement)) throw Error(`videoElement: expected <video>, got <${n.tagName.toLowerCase()}>`);
|
|
1427
|
-
return
|
|
1428
|
-
}, Q = "locator",
|
|
1429
|
-
|
|
1421
|
+
return C(n);
|
|
1422
|
+
}, Q = "locator", Ut = [
|
|
1423
|
+
ce,
|
|
1430
1424
|
{
|
|
1431
|
-
...
|
|
1425
|
+
...j,
|
|
1432
1426
|
nextLocatorType: "frameLocator"
|
|
1433
1427
|
},
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1428
|
+
Be,
|
|
1429
|
+
We,
|
|
1430
|
+
Je,
|
|
1431
|
+
Qe,
|
|
1432
|
+
nt
|
|
1439
1433
|
], $ = [
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
],
|
|
1434
|
+
at,
|
|
1435
|
+
lt,
|
|
1436
|
+
ht,
|
|
1437
|
+
yt,
|
|
1438
|
+
Ct,
|
|
1439
|
+
Dt,
|
|
1440
|
+
jt,
|
|
1441
|
+
Ft,
|
|
1442
|
+
zt
|
|
1443
|
+
], Wt = {
|
|
1450
1444
|
type: Q,
|
|
1451
|
-
selectorModules:
|
|
1445
|
+
selectorModules: Ut,
|
|
1452
1446
|
operationModules: $
|
|
1453
|
-
},
|
|
1447
|
+
}, Gt = Y({
|
|
1454
1448
|
ownType: Q,
|
|
1455
|
-
selectorModules:
|
|
1449
|
+
selectorModules: Ut,
|
|
1456
1450
|
operationModules: $
|
|
1457
1451
|
});
|
|
1458
1452
|
//#endregion
|
|
1459
|
-
export {
|
|
1453
|
+
export { G as a, D as c, C as d, w as f, ze as i, ee as l, c as m, Q as n, W as o, E as p, J as r, he as s, Wt as t, T as u };
|