@tobyt/expo-pdf-markup 1.1.3 → 1.1.4
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/CHANGELOG.md +8 -0
- package/android/src/main/java/dev/terhoeven/expopdfmarkup/AnnotationSerializer.kt +7 -1
- package/ios/AnnotationSerializer.swift +36 -7
- package/ios/ExpoPdfMarkupView+Ink.swift +10 -2
- package/ios/ExpoPdfMarkupView+Move.swift +3 -4
- package/ios/ExpoPdfMarkupView.swift +3 -4
- package/ios/Tests/AnnotationSerializerTests.swift +0 -22
- package/metro.js +32 -14
- package/package.json +2 -2
- package/docs/.nojekyll +0 -1
- package/docs/assets/hierarchy.js +0 -1
- package/docs/assets/highlight.css +0 -113
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1648
- package/docs/functions/ExpoPdfMarkupView.html +0 -42
- package/docs/functions/setPdfJsWorkerSrc.html +0 -42
- package/docs/hierarchy.html +0 -29
- package/docs/index.html +0 -148
- package/docs/modules.html +0 -40
- package/docs/types/Annotation.html +0 -33
- package/docs/types/AnnotationBounds.html +0 -73
- package/docs/types/AnnotationMode.html +0 -33
- package/docs/types/AnnotationPoint.html +0 -61
- package/docs/types/AnnotationsData.html +0 -61
- package/docs/types/ExpoPdfMarkupViewProps.html +0 -184
- package/docs/types/HighlightAnnotation.html +0 -91
- package/docs/types/InkAnnotation.html +0 -91
- package/docs/types/StampAnnotation.html +0 -95
- package/docs/types/StampDefinition.html +0 -72
- package/docs/types/TextAnnotation.html +0 -110
- package/docs/types/TextInputRequest.html +0 -73
- package/docs/types/UnderlineAnnotation.html +0 -85
- package/ios/InkPDFAnnotation.swift +0 -45
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @tobyt/expo-pdf-markup
|
|
2
2
|
|
|
3
|
+
## 1.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 63fdb1c: Always serialise `paths` on ink annotations, even when the platform returns no stroke geometry. The `Annotation` type declares `paths` as non-optional, but iOS and Android both omitted the key when geometry was missing, so consumers dereferencing `annotation.paths` crashed with a `TypeError` instead of seeing an empty stroke list.
|
|
8
|
+
- 2463b24: Fix `withPdfMarkup` leaving a stale pdfjs worker in `public/` after a pdfjs-dist upgrade. The Metro plugin copied `pdf.worker.min.mjs` and the `wasm/` assets only when they were absent, so once a project had them the copies were pinned to whichever pdfjs-dist version was installed first. Upgrading pdfjs-dist then broke web rendering with `The API version "x" does not match the Worker version "y"`, and silently stale wasm assets could mis-decode JBIG2/CCITT fax, JPEG2000 and ICC colour data. The plugin now compares each file against the installed pdfjs-dist and re-copies whenever it differs, so upgrades and downgrades both self-correct while unchanged files stay a no-op on Metro restart.
|
|
9
|
+
- 3aeeae8: Revert the iOS 27 beta workaround for the PDFKit ink annotation regression. Ink annotations use PDFKit's built-in ink storage again now that `PDFAnnotation.add(_:)`/`.paths` behaves correctly, restoring the standard rendering and serialisation behaviour.
|
|
10
|
+
|
|
3
11
|
## 1.1.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -120,7 +120,13 @@ object AnnotationSerializer {
|
|
|
120
120
|
obj.put("color", model.color)
|
|
121
121
|
model.lineWidth?.let { obj.put("lineWidth", it.toDouble()) }
|
|
122
122
|
model.alpha?.let { obj.put("alpha", it.toDouble()) }
|
|
123
|
-
|
|
123
|
+
// Ink annotations always carry `paths`, even when empty: the JS `Annotation` type
|
|
124
|
+
// declares it non-optional, so omitting the key crashes consumers that dereference it.
|
|
125
|
+
if (model.type == "ink") {
|
|
126
|
+
obj.put("paths", pathsToJson(model.paths ?: emptyList()))
|
|
127
|
+
} else {
|
|
128
|
+
model.paths?.let { obj.put("paths", pathsToJson(it)) }
|
|
129
|
+
}
|
|
124
130
|
model.bounds?.let { obj.put("bounds", boundsToJson(it)) }
|
|
125
131
|
model.contents?.let { obj.put("contents", it) }
|
|
126
132
|
model.fontSize?.let { obj.put("fontSize", it.toDouble()) }
|
|
@@ -97,10 +97,11 @@ enum AnnotationSerializer {
|
|
|
97
97
|
switch model.type {
|
|
98
98
|
case "ink":
|
|
99
99
|
model.lineWidth = annotation.border?.lineWidth ?? 2.0
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
// Always emit `paths`, even when PDFKit hands back nothing. The JS `Annotation`
|
|
101
|
+
// type declares it non-optional, and `JSONEncoder` drops nil keys entirely, so a
|
|
102
|
+
// nil here reaches consumers as a missing property rather than an empty stroke list.
|
|
103
|
+
model.paths = (annotation.paths ?? []).map { path in
|
|
104
|
+
pointsFromBezierPath(path).map { ["x": $0.x, "y": $0.y] }
|
|
104
105
|
}
|
|
105
106
|
case "highlight", "underline":
|
|
106
107
|
model.bounds = AnnotationBounds(annotation.bounds)
|
|
@@ -209,15 +210,23 @@ enum AnnotationSerializer {
|
|
|
209
210
|
annotationBounds = combinedRect.insetBy(dx: -padding, dy: -padding)
|
|
210
211
|
}
|
|
211
212
|
|
|
212
|
-
let annotation =
|
|
213
|
+
let annotation = PDFAnnotation(bounds: annotationBounds, forType: .ink, withProperties: nil)
|
|
213
214
|
annotation.color = color
|
|
214
215
|
|
|
215
216
|
let border = PDFBorder()
|
|
216
217
|
border.lineWidth = lineWidth
|
|
217
218
|
annotation.border = border
|
|
218
219
|
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
for path in paths {
|
|
221
|
+
let bezierPath = UIBezierPath()
|
|
222
|
+
for (index, point) in path.enumerated() {
|
|
223
|
+
if index == 0 {
|
|
224
|
+
bezierPath.move(to: CGPoint(x: point.x, y: point.y))
|
|
225
|
+
} else {
|
|
226
|
+
bezierPath.addLine(to: CGPoint(x: point.x, y: point.y))
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
annotation.add(bezierPath)
|
|
221
230
|
}
|
|
222
231
|
|
|
223
232
|
let createdAt = model.createdAt ?? Date().timeIntervalSince1970
|
|
@@ -286,4 +295,24 @@ enum AnnotationSerializer {
|
|
|
286
295
|
height: height
|
|
287
296
|
)
|
|
288
297
|
}
|
|
298
|
+
|
|
299
|
+
private static func pointsFromBezierPath(_ path: UIBezierPath) -> [CGPoint] {
|
|
300
|
+
var points: [CGPoint] = []
|
|
301
|
+
let cgPath = path.cgPath
|
|
302
|
+
cgPath.applyWithBlock { element in
|
|
303
|
+
switch element.pointee.type {
|
|
304
|
+
case .moveToPoint, .addLineToPoint:
|
|
305
|
+
points.append(element.pointee.points[0])
|
|
306
|
+
case .addQuadCurveToPoint:
|
|
307
|
+
points.append(element.pointee.points[1])
|
|
308
|
+
case .addCurveToPoint:
|
|
309
|
+
points.append(element.pointee.points[2])
|
|
310
|
+
case .closeSubpath:
|
|
311
|
+
break
|
|
312
|
+
@unknown default:
|
|
313
|
+
break
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
return points
|
|
317
|
+
}
|
|
289
318
|
}
|
|
@@ -94,14 +94,22 @@ extension ExpoPdfMarkupView {
|
|
|
94
94
|
// and tight bounds calculations are fragile with coordinate transforms.
|
|
95
95
|
let annotationBounds = page.bounds(for: pdfView.displayBox)
|
|
96
96
|
|
|
97
|
-
let annotation =
|
|
97
|
+
let annotation = PDFAnnotation(bounds: annotationBounds, forType: .ink, withProperties: nil)
|
|
98
98
|
annotation.color = AnnotationSerializer.colorFromHex(annotationColor) ?? .red
|
|
99
99
|
|
|
100
100
|
let border = PDFBorder()
|
|
101
101
|
border.lineWidth = annotationLineWidth
|
|
102
102
|
annotation.border = border
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
let bezierPath = UIBezierPath()
|
|
105
|
+
for (index, point) in pdfPoints.enumerated() {
|
|
106
|
+
if index == 0 {
|
|
107
|
+
bezierPath.move(to: point)
|
|
108
|
+
} else {
|
|
109
|
+
bezierPath.addLine(to: point)
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
annotation.add(bezierPath)
|
|
105
113
|
|
|
106
114
|
let id = UUID().uuidString
|
|
107
115
|
AnnotationSerializer.tagAsModuleManaged(annotation, id: id, createdAt: Date().timeIntervalSince1970)
|
|
@@ -166,11 +166,10 @@ extension ExpoPdfMarkupView {
|
|
|
166
166
|
in documentView: UIView
|
|
167
167
|
) -> CGRect? {
|
|
168
168
|
let pdfRect: CGRect
|
|
169
|
-
if let
|
|
169
|
+
if let paths = annotation.paths, !paths.isEmpty {
|
|
170
170
|
var combinedBounds = CGRect.null
|
|
171
|
-
for
|
|
172
|
-
|
|
173
|
-
combinedBounds = combinedBounds.union(cgPath.boundingBoxOfPath)
|
|
171
|
+
for path in paths {
|
|
172
|
+
combinedBounds = combinedBounds.union(path.cgPath.boundingBoxOfPath)
|
|
174
173
|
}
|
|
175
174
|
guard !combinedBounds.isNull else { return nil }
|
|
176
175
|
let padding = max(annotation.border?.lineWidth ?? 2.0, 10.0)
|
|
@@ -272,11 +272,10 @@ class ExpoPdfMarkupView: ExpoView, UIGestureRecognizerDelegate {
|
|
|
272
272
|
for annotation in page.annotations.reversed() {
|
|
273
273
|
guard AnnotationSerializer.isModuleManaged(annotation) else { continue }
|
|
274
274
|
|
|
275
|
-
if let
|
|
275
|
+
if let paths = annotation.paths {
|
|
276
276
|
let tolerance = max(annotation.border?.lineWidth ?? 2.0, 10.0)
|
|
277
|
-
for
|
|
278
|
-
|
|
279
|
-
let hitPath = cgPath.copy(
|
|
277
|
+
for path in paths {
|
|
278
|
+
let hitPath = path.cgPath.copy(
|
|
280
279
|
strokingWithWidth: tolerance,
|
|
281
280
|
lineCap: .round,
|
|
282
281
|
lineJoin: .round,
|
|
@@ -174,28 +174,6 @@ final class AnnotationSerializerTests: XCTestCase {
|
|
|
174
174
|
)
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
func testInkAnnotationStoresStrokesOnCustomSubclass() throws {
|
|
178
|
-
let model = AnnotationModel(
|
|
179
|
-
id: "ink-strokes-1",
|
|
180
|
-
type: "ink",
|
|
181
|
-
page: 0,
|
|
182
|
-
color: "#00FF00",
|
|
183
|
-
lineWidth: 4.0,
|
|
184
|
-
paths: [[["x": 1, "y": 2], ["x": 3, "y": 4]], [["x": 5, "y": 6]]],
|
|
185
|
-
createdAt: 1_741_340_000
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
let annotation = try XCTUnwrap(AnnotationSerializer.toPDFAnnotation(model))
|
|
189
|
-
let inkAnnotation = try XCTUnwrap(annotation as? InkPDFAnnotation)
|
|
190
|
-
|
|
191
|
-
// Regression coverage: on iOS 27 beta, PDFAnnotation.paths silently drops stroke
|
|
192
|
-
// geometry added via .add(_:), so ink annotations must not depend on it (report/).
|
|
193
|
-
XCTAssertEqual(
|
|
194
|
-
inkAnnotation.strokes,
|
|
195
|
-
[[CGPoint(x: 1, y: 2), CGPoint(x: 3, y: 4)], [CGPoint(x: 5, y: 6)]]
|
|
196
|
-
)
|
|
197
|
-
}
|
|
198
|
-
|
|
199
177
|
func testFreeTextColorRoundTrip() throws {
|
|
200
178
|
let model = AnnotationModel(
|
|
201
179
|
id: "ft-color-1",
|
package/metro.js
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
* browser's JS engine refuses to parse the bundle).
|
|
16
16
|
* 2. Copies the pdfjs worker file to <projectRoot>/public/pdf.worker.min.mjs
|
|
17
17
|
* so it is served at /pdf.worker.min.mjs (same-origin, no CORS issues).
|
|
18
|
+
* Copies are refreshed whenever the installed pdfjs-dist differs from the
|
|
19
|
+
* copy in public/, so upgrading pdfjs-dist cannot leave a stale worker
|
|
20
|
+
* behind (pdfjs throws if the API and worker versions disagree).
|
|
18
21
|
*/
|
|
19
22
|
|
|
20
23
|
'use strict';
|
|
@@ -56,6 +59,30 @@ module.exports.transform = function transform({ filename, src, options, plugins
|
|
|
56
59
|
// Metro config helper
|
|
57
60
|
// ---------------------------------------------------------------------------
|
|
58
61
|
|
|
62
|
+
// Copy `src` to `dest` when they differ. pdfjs refuses to run when the API and
|
|
63
|
+
// worker versions disagree ("The API version does not match the Worker
|
|
64
|
+
// version"), and the wasm assets are equally version-locked, so an
|
|
65
|
+
// exists-only check would pin a consumer to whichever pdfjs version they first
|
|
66
|
+
// installed. Comparing content keeps upgrades and downgrades both correct while
|
|
67
|
+
// staying a no-op on the common path, so repeated Metro restarts remain fast.
|
|
68
|
+
function copyIfDifferent(src, dest) {
|
|
69
|
+
let destStat;
|
|
70
|
+
try {
|
|
71
|
+
destStat = fs.statSync(dest);
|
|
72
|
+
} catch {
|
|
73
|
+
destStat = null;
|
|
74
|
+
}
|
|
75
|
+
if (destStat) {
|
|
76
|
+
const srcStat = fs.statSync(src);
|
|
77
|
+
if (srcStat.size === destStat.size && fs.readFileSync(src).equals(fs.readFileSync(dest))) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
fs.mkdirSync(path.dirname(dest), { recursive: true });
|
|
82
|
+
fs.copyFileSync(src, dest);
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
|
|
59
86
|
module.exports.withPdfMarkup = function withPdfMarkup(config) {
|
|
60
87
|
// 1. Swap in this file as the babel transformer so import.meta is patched.
|
|
61
88
|
config.transformer.babelTransformerPath = require.resolve('./metro.js');
|
|
@@ -76,14 +103,10 @@ module.exports.withPdfMarkup = function withPdfMarkup(config) {
|
|
|
76
103
|
}
|
|
77
104
|
|
|
78
105
|
// 2. Copy the pdfjs worker to <projectRoot>/public/ so it is served at
|
|
79
|
-
// /pdf.worker.min.mjs (same-origin).
|
|
80
|
-
// so
|
|
106
|
+
// /pdf.worker.min.mjs (same-origin). Re-copied whenever it differs from
|
|
107
|
+
// the installed pdfjs-dist, so an upgrade cannot leave a stale worker.
|
|
81
108
|
const workerDest = path.join(publicDir, 'pdf.worker.min.mjs');
|
|
82
|
-
if (
|
|
83
|
-
if (!fs.existsSync(publicDir)) {
|
|
84
|
-
fs.mkdirSync(publicDir, { recursive: true });
|
|
85
|
-
}
|
|
86
|
-
fs.copyFileSync(path.join(pdfjsDir, 'build', 'pdf.worker.min.mjs'), workerDest);
|
|
109
|
+
if (copyIfDifferent(path.join(pdfjsDir, 'build', 'pdf.worker.min.mjs'), workerDest)) {
|
|
87
110
|
console.log('[expo-pdf-markup] Copied pdfjs worker → ' + workerDest);
|
|
88
111
|
}
|
|
89
112
|
|
|
@@ -91,18 +114,13 @@ module.exports.withPdfMarkup = function withPdfMarkup(config) {
|
|
|
91
114
|
// are served at /wasm/ (same-origin). pdfjs-dist v6 decodes JBIG2/CCITT
|
|
92
115
|
// fax, JPEG2000 and ICC data in WebAssembly and fetches these files at
|
|
93
116
|
// runtime; without them such image data (e.g. scanned pages, some music
|
|
94
|
-
// notation) renders blank.
|
|
117
|
+
// notation) renders blank. Refreshed on change, like the worker above.
|
|
95
118
|
const wasmSrcDir = path.join(pdfjsDir, 'wasm');
|
|
96
119
|
const wasmDestDir = path.join(publicDir, 'wasm');
|
|
97
120
|
if (fs.existsSync(wasmSrcDir)) {
|
|
98
121
|
let copied = 0;
|
|
99
122
|
for (const file of fs.readdirSync(wasmSrcDir)) {
|
|
100
|
-
|
|
101
|
-
if (!fs.existsSync(dest)) {
|
|
102
|
-
if (!fs.existsSync(wasmDestDir)) {
|
|
103
|
-
fs.mkdirSync(wasmDestDir, { recursive: true });
|
|
104
|
-
}
|
|
105
|
-
fs.copyFileSync(path.join(wasmSrcDir, file), dest);
|
|
123
|
+
if (copyIfDifferent(path.join(wasmSrcDir, file), path.join(wasmDestDir, file))) {
|
|
106
124
|
copied++;
|
|
107
125
|
}
|
|
108
126
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tobyt/expo-pdf-markup",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "An Expo module for displaying and annotating PDFs",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@changesets/cli": "^
|
|
55
|
+
"@changesets/cli": "^3.0.1",
|
|
56
56
|
"@types/react": "~19.2.17",
|
|
57
57
|
"@types/react-test-renderer": "^19.1.0",
|
|
58
58
|
"expo": "~56.0.16",
|
package/docs/.nojekyll
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
package/docs/assets/hierarchy.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg=="
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--light-hl-0: #795E26;
|
|
3
|
-
--dark-hl-0: #DCDCAA;
|
|
4
|
-
--light-hl-1: #000000;
|
|
5
|
-
--dark-hl-1: #D4D4D4;
|
|
6
|
-
--light-hl-2: #A31515;
|
|
7
|
-
--dark-hl-2: #CE9178;
|
|
8
|
-
--light-hl-3: #0000FF;
|
|
9
|
-
--dark-hl-3: #569CD6;
|
|
10
|
-
--light-hl-4: #0070C1;
|
|
11
|
-
--dark-hl-4: #4FC1FF;
|
|
12
|
-
--light-hl-5: #001080;
|
|
13
|
-
--dark-hl-5: #9CDCFE;
|
|
14
|
-
--light-hl-6: #267F99;
|
|
15
|
-
--dark-hl-6: #4EC9B0;
|
|
16
|
-
--light-hl-7: #AF00DB;
|
|
17
|
-
--dark-hl-7: #C586C0;
|
|
18
|
-
--light-hl-8: #008000;
|
|
19
|
-
--dark-hl-8: #6A9955;
|
|
20
|
-
--light-hl-9: #098658;
|
|
21
|
-
--dark-hl-9: #B5CEA8;
|
|
22
|
-
--light-hl-10: #800000;
|
|
23
|
-
--dark-hl-10: #808080;
|
|
24
|
-
--light-hl-11: #E50000;
|
|
25
|
-
--dark-hl-11: #9CDCFE;
|
|
26
|
-
--light-hl-12: #000000FF;
|
|
27
|
-
--dark-hl-12: #D4D4D4;
|
|
28
|
-
--light-code-background: #FFFFFF;
|
|
29
|
-
--dark-code-background: #1E1E1E;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@media (prefers-color-scheme: light) { :root {
|
|
33
|
-
--hl-0: var(--light-hl-0);
|
|
34
|
-
--hl-1: var(--light-hl-1);
|
|
35
|
-
--hl-2: var(--light-hl-2);
|
|
36
|
-
--hl-3: var(--light-hl-3);
|
|
37
|
-
--hl-4: var(--light-hl-4);
|
|
38
|
-
--hl-5: var(--light-hl-5);
|
|
39
|
-
--hl-6: var(--light-hl-6);
|
|
40
|
-
--hl-7: var(--light-hl-7);
|
|
41
|
-
--hl-8: var(--light-hl-8);
|
|
42
|
-
--hl-9: var(--light-hl-9);
|
|
43
|
-
--hl-10: var(--light-hl-10);
|
|
44
|
-
--hl-11: var(--light-hl-11);
|
|
45
|
-
--hl-12: var(--light-hl-12);
|
|
46
|
-
--code-background: var(--light-code-background);
|
|
47
|
-
} }
|
|
48
|
-
|
|
49
|
-
@media (prefers-color-scheme: dark) { :root {
|
|
50
|
-
--hl-0: var(--dark-hl-0);
|
|
51
|
-
--hl-1: var(--dark-hl-1);
|
|
52
|
-
--hl-2: var(--dark-hl-2);
|
|
53
|
-
--hl-3: var(--dark-hl-3);
|
|
54
|
-
--hl-4: var(--dark-hl-4);
|
|
55
|
-
--hl-5: var(--dark-hl-5);
|
|
56
|
-
--hl-6: var(--dark-hl-6);
|
|
57
|
-
--hl-7: var(--dark-hl-7);
|
|
58
|
-
--hl-8: var(--dark-hl-8);
|
|
59
|
-
--hl-9: var(--dark-hl-9);
|
|
60
|
-
--hl-10: var(--dark-hl-10);
|
|
61
|
-
--hl-11: var(--dark-hl-11);
|
|
62
|
-
--hl-12: var(--dark-hl-12);
|
|
63
|
-
--code-background: var(--dark-code-background);
|
|
64
|
-
} }
|
|
65
|
-
|
|
66
|
-
:root[data-theme='light'] {
|
|
67
|
-
--hl-0: var(--light-hl-0);
|
|
68
|
-
--hl-1: var(--light-hl-1);
|
|
69
|
-
--hl-2: var(--light-hl-2);
|
|
70
|
-
--hl-3: var(--light-hl-3);
|
|
71
|
-
--hl-4: var(--light-hl-4);
|
|
72
|
-
--hl-5: var(--light-hl-5);
|
|
73
|
-
--hl-6: var(--light-hl-6);
|
|
74
|
-
--hl-7: var(--light-hl-7);
|
|
75
|
-
--hl-8: var(--light-hl-8);
|
|
76
|
-
--hl-9: var(--light-hl-9);
|
|
77
|
-
--hl-10: var(--light-hl-10);
|
|
78
|
-
--hl-11: var(--light-hl-11);
|
|
79
|
-
--hl-12: var(--light-hl-12);
|
|
80
|
-
--code-background: var(--light-code-background);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
:root[data-theme='dark'] {
|
|
84
|
-
--hl-0: var(--dark-hl-0);
|
|
85
|
-
--hl-1: var(--dark-hl-1);
|
|
86
|
-
--hl-2: var(--dark-hl-2);
|
|
87
|
-
--hl-3: var(--dark-hl-3);
|
|
88
|
-
--hl-4: var(--dark-hl-4);
|
|
89
|
-
--hl-5: var(--dark-hl-5);
|
|
90
|
-
--hl-6: var(--dark-hl-6);
|
|
91
|
-
--hl-7: var(--dark-hl-7);
|
|
92
|
-
--hl-8: var(--dark-hl-8);
|
|
93
|
-
--hl-9: var(--dark-hl-9);
|
|
94
|
-
--hl-10: var(--dark-hl-10);
|
|
95
|
-
--hl-11: var(--dark-hl-11);
|
|
96
|
-
--hl-12: var(--dark-hl-12);
|
|
97
|
-
--code-background: var(--dark-code-background);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.hl-0 { color: var(--hl-0); }
|
|
101
|
-
.hl-1 { color: var(--hl-1); }
|
|
102
|
-
.hl-2 { color: var(--hl-2); }
|
|
103
|
-
.hl-3 { color: var(--hl-3); }
|
|
104
|
-
.hl-4 { color: var(--hl-4); }
|
|
105
|
-
.hl-5 { color: var(--hl-5); }
|
|
106
|
-
.hl-6 { color: var(--hl-6); }
|
|
107
|
-
.hl-7 { color: var(--hl-7); }
|
|
108
|
-
.hl-8 { color: var(--hl-8); }
|
|
109
|
-
.hl-9 { color: var(--hl-9); }
|
|
110
|
-
.hl-10 { color: var(--hl-10); }
|
|
111
|
-
.hl-11 { color: var(--hl-11); }
|
|
112
|
-
.hl-12 { color: var(--hl-12); }
|
|
113
|
-
pre, code, math[display='block'] { background: var(--code-background); }
|
package/docs/assets/icons.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
addIcons();
|
|
3
|
-
function addIcons() {
|
|
4
|
-
if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons);
|
|
5
|
-
const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg"));
|
|
6
|
-
svg.innerHTML = `<symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Module" id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">M</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Module" id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">M</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Namespace" id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">N</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Enumeration" id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">E</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Enumeration Member" id="icon-16"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Variable" id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">V</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Function" id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">F</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Class" id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">C</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Interface" id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">I</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Constructor" id="icon-512"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">C</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Property" id="icon-1024"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Method" id="icon-2048"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">M</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Function" id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">F</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Index Signature" id="icon-8192"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Constructor" id="icon-16384"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">C</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Property" id="icon-32768"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Type Alias" id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">T</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Type Alias" id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">T</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Accessor" id="icon-262144"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">A</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Accessor" id="icon-524288"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">A</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Accessor" id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">A</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Type Alias" id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">T</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Reference" id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">R</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Document" id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Folder" id="icon-folder"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></symbol><symbol width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true" id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></symbol><symbol width="32" height="32" viewBox="0 0 32 32" aria-hidden="true" id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></symbol><symbol width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></symbol><symbol viewBox="0 0 24 24" aria-hidden="true" id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertNote" class="tsd-no-select"><path fill="var(--color-alert-note)" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertTip" class="tsd-no-select"><path fill="var(--color-alert-tip)" d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertImportant" class="tsd-no-select"><path fill="var(--color-alert-important)" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertWarning" class="tsd-no-select"><path fill="var(--color-alert-warning)" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertCaution" class="tsd-no-select"><path fill="var(--color-alert-caution)" d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></symbol>`;
|
|
7
|
-
svg.style.display = "none";
|
|
8
|
-
if (location.protocol === "file:") updateUseElements();
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function updateUseElements() {
|
|
12
|
-
document.querySelectorAll("use").forEach(el => {
|
|
13
|
-
if (el.getAttribute("href").includes("#icon-")) {
|
|
14
|
-
el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#"));
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
})()
|
package/docs/assets/icons.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Module" id="icon-1"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">M</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Module" id="icon-2"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">M</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Namespace" id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">N</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Enumeration" id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">E</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Enumeration Member" id="icon-16"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Variable" id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">V</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Function" id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">F</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Class" id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">C</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Interface" id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">I</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Constructor" id="icon-512"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">C</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Property" id="icon-1024"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Method" id="icon-2048"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">M</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Function" id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">F</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Index Signature" id="icon-8192"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Constructor" id="icon-16384"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">C</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Property" id="icon-32768"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">P</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Type Alias" id="icon-65536"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">T</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Type Alias" id="icon-131072"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">T</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Accessor" id="icon-262144"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">A</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Accessor" id="icon-524288"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">A</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Accessor" id="icon-1048576"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">A</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Type Alias" id="icon-2097152"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">T</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Reference" id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dy="0.35em" text-anchor="middle">R</text></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Document" id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></symbol><symbol class="tsd-kind-icon tsd-no-select" viewBox="0 0 24 24" aria-label="Folder" id="icon-folder"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></symbol><symbol width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true" id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></symbol><symbol width="32" height="32" viewBox="0 0 32 32" aria-hidden="true" id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></symbol><symbol width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></symbol><symbol viewBox="0 0 24 24" aria-hidden="true" id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertNote" class="tsd-no-select"><path fill="var(--color-alert-note)" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertTip" class="tsd-no-select"><path fill="var(--color-alert-tip)" d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertImportant" class="tsd-no-select"><path fill="var(--color-alert-important)" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertWarning" class="tsd-no-select"><path fill="var(--color-alert-warning)" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></symbol><symbol width="16" height="16" viewBox="0 0 16 16" aria-hidden="true" id="icon-alertCaution" class="tsd-no-select"><path fill="var(--color-alert-caution)" d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></symbol></svg>
|