novelaid-markdown 0.2.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.
@@ -0,0 +1,1293 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
3
+ let r = {};
4
+ for (var i in e) t(r, i, {
5
+ get: e[i],
6
+ enumerable: !0
7
+ });
8
+ return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, c = (e, i, o, s) => {
10
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
11
+ get: ((e) => i[e]).bind(null, d),
12
+ enumerable: !(s = n(i, d)) || s.enumerable
13
+ });
14
+ return e;
15
+ }, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
16
+ value: n,
17
+ enumerable: !0
18
+ }) : a, n));
19
+ //#endregion
20
+ //#region node_modules/comma-separated-tokens/index.js
21
+ function u(e) {
22
+ let t = [], n = String(e || ""), r = n.indexOf(","), i = 0, a = !1;
23
+ for (; !a;) {
24
+ r === -1 && (r = n.length, a = !0);
25
+ let e = n.slice(i, r).trim();
26
+ (e || !a) && t.push(e), i = r + 1, r = n.indexOf(",", i);
27
+ }
28
+ return t;
29
+ }
30
+ function d(e, t) {
31
+ let n = t || {};
32
+ return (e[e.length - 1] === "" ? [...e, ""] : e).join((n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")).trim();
33
+ }
34
+ //#endregion
35
+ //#region node_modules/property-information/lib/util/schema.js
36
+ var f = class {
37
+ constructor(e, t, n) {
38
+ this.normal = t, this.property = e, n && (this.space = n);
39
+ }
40
+ };
41
+ f.prototype.normal = {}, f.prototype.property = {}, f.prototype.space = void 0;
42
+ //#endregion
43
+ //#region node_modules/property-information/lib/util/merge.js
44
+ function p(e, t) {
45
+ let n = {}, r = {};
46
+ for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
47
+ return new f(n, r, t);
48
+ }
49
+ //#endregion
50
+ //#region node_modules/property-information/lib/normalize.js
51
+ function m(e) {
52
+ return e.toLowerCase();
53
+ }
54
+ //#endregion
55
+ //#region node_modules/property-information/lib/util/info.js
56
+ var h = class {
57
+ constructor(e, t) {
58
+ this.attribute = t, this.property = e;
59
+ }
60
+ };
61
+ h.prototype.attribute = "", h.prototype.booleanish = !1, h.prototype.boolean = !1, h.prototype.commaOrSpaceSeparated = !1, h.prototype.commaSeparated = !1, h.prototype.defined = !1, h.prototype.mustUseProperty = !1, h.prototype.number = !1, h.prototype.overloadedBoolean = !1, h.prototype.property = "", h.prototype.spaceSeparated = !1, h.prototype.space = void 0;
62
+ //#endregion
63
+ //#region node_modules/property-information/lib/util/types.js
64
+ var g = /* @__PURE__ */ s({
65
+ boolean: () => v,
66
+ booleanish: () => y,
67
+ commaOrSpaceSeparated: () => w,
68
+ commaSeparated: () => C,
69
+ number: () => x,
70
+ overloadedBoolean: () => b,
71
+ spaceSeparated: () => S
72
+ }), _ = 0, v = T(), y = T(), b = T(), x = T(), S = T(), C = T(), w = T();
73
+ function T() {
74
+ return 2 ** ++_;
75
+ }
76
+ //#endregion
77
+ //#region node_modules/property-information/lib/util/defined-info.js
78
+ var E = Object.keys(g), D = class extends h {
79
+ constructor(e, t, n, r) {
80
+ let i = -1;
81
+ if (super(e, t), O(this, "space", r), typeof n == "number") for (; ++i < E.length;) {
82
+ let e = E[i];
83
+ O(this, E[i], (n & g[e]) === g[e]);
84
+ }
85
+ }
86
+ };
87
+ D.prototype.defined = !0;
88
+ function O(e, t, n) {
89
+ n && (e[t] = n);
90
+ }
91
+ //#endregion
92
+ //#region node_modules/property-information/lib/util/create.js
93
+ function k(e) {
94
+ let t = {}, n = {};
95
+ for (let [r, i] of Object.entries(e.properties)) {
96
+ let a = new D(r, e.transform(e.attributes || {}, r), i, e.space);
97
+ e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[m(r)] = r, n[m(a.attribute)] = r;
98
+ }
99
+ return new f(t, n, e.space);
100
+ }
101
+ //#endregion
102
+ //#region node_modules/property-information/lib/aria.js
103
+ var A = k({
104
+ properties: {
105
+ ariaActiveDescendant: null,
106
+ ariaAtomic: y,
107
+ ariaAutoComplete: null,
108
+ ariaBusy: y,
109
+ ariaChecked: y,
110
+ ariaColCount: x,
111
+ ariaColIndex: x,
112
+ ariaColSpan: x,
113
+ ariaControls: S,
114
+ ariaCurrent: null,
115
+ ariaDescribedBy: S,
116
+ ariaDetails: null,
117
+ ariaDisabled: y,
118
+ ariaDropEffect: S,
119
+ ariaErrorMessage: null,
120
+ ariaExpanded: y,
121
+ ariaFlowTo: S,
122
+ ariaGrabbed: y,
123
+ ariaHasPopup: null,
124
+ ariaHidden: y,
125
+ ariaInvalid: null,
126
+ ariaKeyShortcuts: null,
127
+ ariaLabel: null,
128
+ ariaLabelledBy: S,
129
+ ariaLevel: x,
130
+ ariaLive: null,
131
+ ariaModal: y,
132
+ ariaMultiLine: y,
133
+ ariaMultiSelectable: y,
134
+ ariaOrientation: null,
135
+ ariaOwns: S,
136
+ ariaPlaceholder: null,
137
+ ariaPosInSet: x,
138
+ ariaPressed: y,
139
+ ariaReadOnly: y,
140
+ ariaRelevant: null,
141
+ ariaRequired: y,
142
+ ariaRoleDescription: S,
143
+ ariaRowCount: x,
144
+ ariaRowIndex: x,
145
+ ariaRowSpan: x,
146
+ ariaSelected: y,
147
+ ariaSetSize: x,
148
+ ariaSort: null,
149
+ ariaValueMax: x,
150
+ ariaValueMin: x,
151
+ ariaValueNow: x,
152
+ ariaValueText: null,
153
+ role: null
154
+ },
155
+ transform(e, t) {
156
+ return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
157
+ }
158
+ });
159
+ //#endregion
160
+ //#region node_modules/property-information/lib/util/case-sensitive-transform.js
161
+ function j(e, t) {
162
+ return t in e ? e[t] : t;
163
+ }
164
+ //#endregion
165
+ //#region node_modules/property-information/lib/util/case-insensitive-transform.js
166
+ function M(e, t) {
167
+ return j(e, t.toLowerCase());
168
+ }
169
+ //#endregion
170
+ //#region node_modules/property-information/lib/html.js
171
+ var N = k({
172
+ attributes: {
173
+ acceptcharset: "accept-charset",
174
+ classname: "class",
175
+ htmlfor: "for",
176
+ httpequiv: "http-equiv"
177
+ },
178
+ mustUseProperty: [
179
+ "checked",
180
+ "multiple",
181
+ "muted",
182
+ "selected"
183
+ ],
184
+ properties: {
185
+ abbr: null,
186
+ accept: C,
187
+ acceptCharset: S,
188
+ accessKey: S,
189
+ action: null,
190
+ allow: null,
191
+ allowFullScreen: v,
192
+ allowPaymentRequest: v,
193
+ allowUserMedia: v,
194
+ alt: null,
195
+ as: null,
196
+ async: v,
197
+ autoCapitalize: null,
198
+ autoComplete: S,
199
+ autoFocus: v,
200
+ autoPlay: v,
201
+ blocking: S,
202
+ capture: null,
203
+ charSet: null,
204
+ checked: v,
205
+ cite: null,
206
+ className: S,
207
+ cols: x,
208
+ colSpan: null,
209
+ content: null,
210
+ contentEditable: y,
211
+ controls: v,
212
+ controlsList: S,
213
+ coords: x | C,
214
+ crossOrigin: null,
215
+ data: null,
216
+ dateTime: null,
217
+ decoding: null,
218
+ default: v,
219
+ defer: v,
220
+ dir: null,
221
+ dirName: null,
222
+ disabled: v,
223
+ download: b,
224
+ draggable: y,
225
+ encType: null,
226
+ enterKeyHint: null,
227
+ fetchPriority: null,
228
+ form: null,
229
+ formAction: null,
230
+ formEncType: null,
231
+ formMethod: null,
232
+ formNoValidate: v,
233
+ formTarget: null,
234
+ headers: S,
235
+ height: x,
236
+ hidden: b,
237
+ high: x,
238
+ href: null,
239
+ hrefLang: null,
240
+ htmlFor: S,
241
+ httpEquiv: S,
242
+ id: null,
243
+ imageSizes: null,
244
+ imageSrcSet: null,
245
+ inert: v,
246
+ inputMode: null,
247
+ integrity: null,
248
+ is: null,
249
+ isMap: v,
250
+ itemId: null,
251
+ itemProp: S,
252
+ itemRef: S,
253
+ itemScope: v,
254
+ itemType: S,
255
+ kind: null,
256
+ label: null,
257
+ lang: null,
258
+ language: null,
259
+ list: null,
260
+ loading: null,
261
+ loop: v,
262
+ low: x,
263
+ manifest: null,
264
+ max: null,
265
+ maxLength: x,
266
+ media: null,
267
+ method: null,
268
+ min: null,
269
+ minLength: x,
270
+ multiple: v,
271
+ muted: v,
272
+ name: null,
273
+ nonce: null,
274
+ noModule: v,
275
+ noValidate: v,
276
+ onAbort: null,
277
+ onAfterPrint: null,
278
+ onAuxClick: null,
279
+ onBeforeMatch: null,
280
+ onBeforePrint: null,
281
+ onBeforeToggle: null,
282
+ onBeforeUnload: null,
283
+ onBlur: null,
284
+ onCancel: null,
285
+ onCanPlay: null,
286
+ onCanPlayThrough: null,
287
+ onChange: null,
288
+ onClick: null,
289
+ onClose: null,
290
+ onContextLost: null,
291
+ onContextMenu: null,
292
+ onContextRestored: null,
293
+ onCopy: null,
294
+ onCueChange: null,
295
+ onCut: null,
296
+ onDblClick: null,
297
+ onDrag: null,
298
+ onDragEnd: null,
299
+ onDragEnter: null,
300
+ onDragExit: null,
301
+ onDragLeave: null,
302
+ onDragOver: null,
303
+ onDragStart: null,
304
+ onDrop: null,
305
+ onDurationChange: null,
306
+ onEmptied: null,
307
+ onEnded: null,
308
+ onError: null,
309
+ onFocus: null,
310
+ onFormData: null,
311
+ onHashChange: null,
312
+ onInput: null,
313
+ onInvalid: null,
314
+ onKeyDown: null,
315
+ onKeyPress: null,
316
+ onKeyUp: null,
317
+ onLanguageChange: null,
318
+ onLoad: null,
319
+ onLoadedData: null,
320
+ onLoadedMetadata: null,
321
+ onLoadEnd: null,
322
+ onLoadStart: null,
323
+ onMessage: null,
324
+ onMessageError: null,
325
+ onMouseDown: null,
326
+ onMouseEnter: null,
327
+ onMouseLeave: null,
328
+ onMouseMove: null,
329
+ onMouseOut: null,
330
+ onMouseOver: null,
331
+ onMouseUp: null,
332
+ onOffline: null,
333
+ onOnline: null,
334
+ onPageHide: null,
335
+ onPageShow: null,
336
+ onPaste: null,
337
+ onPause: null,
338
+ onPlay: null,
339
+ onPlaying: null,
340
+ onPopState: null,
341
+ onProgress: null,
342
+ onRateChange: null,
343
+ onRejectionHandled: null,
344
+ onReset: null,
345
+ onResize: null,
346
+ onScroll: null,
347
+ onScrollEnd: null,
348
+ onSecurityPolicyViolation: null,
349
+ onSeeked: null,
350
+ onSeeking: null,
351
+ onSelect: null,
352
+ onSlotChange: null,
353
+ onStalled: null,
354
+ onStorage: null,
355
+ onSubmit: null,
356
+ onSuspend: null,
357
+ onTimeUpdate: null,
358
+ onToggle: null,
359
+ onUnhandledRejection: null,
360
+ onUnload: null,
361
+ onVolumeChange: null,
362
+ onWaiting: null,
363
+ onWheel: null,
364
+ open: v,
365
+ optimum: x,
366
+ pattern: null,
367
+ ping: S,
368
+ placeholder: null,
369
+ playsInline: v,
370
+ popover: null,
371
+ popoverTarget: null,
372
+ popoverTargetAction: null,
373
+ poster: null,
374
+ preload: null,
375
+ readOnly: v,
376
+ referrerPolicy: null,
377
+ rel: S,
378
+ required: v,
379
+ reversed: v,
380
+ rows: x,
381
+ rowSpan: x,
382
+ sandbox: S,
383
+ scope: null,
384
+ scoped: v,
385
+ seamless: v,
386
+ selected: v,
387
+ shadowRootClonable: v,
388
+ shadowRootDelegatesFocus: v,
389
+ shadowRootMode: null,
390
+ shape: null,
391
+ size: x,
392
+ sizes: null,
393
+ slot: null,
394
+ span: x,
395
+ spellCheck: y,
396
+ src: null,
397
+ srcDoc: null,
398
+ srcLang: null,
399
+ srcSet: null,
400
+ start: x,
401
+ step: null,
402
+ style: null,
403
+ tabIndex: x,
404
+ target: null,
405
+ title: null,
406
+ translate: null,
407
+ type: null,
408
+ typeMustMatch: v,
409
+ useMap: null,
410
+ value: y,
411
+ width: x,
412
+ wrap: null,
413
+ writingSuggestions: null,
414
+ align: null,
415
+ aLink: null,
416
+ archive: S,
417
+ axis: null,
418
+ background: null,
419
+ bgColor: null,
420
+ border: x,
421
+ borderColor: null,
422
+ bottomMargin: x,
423
+ cellPadding: null,
424
+ cellSpacing: null,
425
+ char: null,
426
+ charOff: null,
427
+ classId: null,
428
+ clear: null,
429
+ code: null,
430
+ codeBase: null,
431
+ codeType: null,
432
+ color: null,
433
+ compact: v,
434
+ declare: v,
435
+ event: null,
436
+ face: null,
437
+ frame: null,
438
+ frameBorder: null,
439
+ hSpace: x,
440
+ leftMargin: x,
441
+ link: null,
442
+ longDesc: null,
443
+ lowSrc: null,
444
+ marginHeight: x,
445
+ marginWidth: x,
446
+ noResize: v,
447
+ noHref: v,
448
+ noShade: v,
449
+ noWrap: v,
450
+ object: null,
451
+ profile: null,
452
+ prompt: null,
453
+ rev: null,
454
+ rightMargin: x,
455
+ rules: null,
456
+ scheme: null,
457
+ scrolling: y,
458
+ standby: null,
459
+ summary: null,
460
+ text: null,
461
+ topMargin: x,
462
+ valueType: null,
463
+ version: null,
464
+ vAlign: null,
465
+ vLink: null,
466
+ vSpace: x,
467
+ allowTransparency: null,
468
+ autoCorrect: null,
469
+ autoSave: null,
470
+ disablePictureInPicture: v,
471
+ disableRemotePlayback: v,
472
+ prefix: null,
473
+ property: null,
474
+ results: x,
475
+ security: null,
476
+ unselectable: null
477
+ },
478
+ space: "html",
479
+ transform: M
480
+ }), P = k({
481
+ attributes: {
482
+ accentHeight: "accent-height",
483
+ alignmentBaseline: "alignment-baseline",
484
+ arabicForm: "arabic-form",
485
+ baselineShift: "baseline-shift",
486
+ capHeight: "cap-height",
487
+ className: "class",
488
+ clipPath: "clip-path",
489
+ clipRule: "clip-rule",
490
+ colorInterpolation: "color-interpolation",
491
+ colorInterpolationFilters: "color-interpolation-filters",
492
+ colorProfile: "color-profile",
493
+ colorRendering: "color-rendering",
494
+ crossOrigin: "crossorigin",
495
+ dataType: "datatype",
496
+ dominantBaseline: "dominant-baseline",
497
+ enableBackground: "enable-background",
498
+ fillOpacity: "fill-opacity",
499
+ fillRule: "fill-rule",
500
+ floodColor: "flood-color",
501
+ floodOpacity: "flood-opacity",
502
+ fontFamily: "font-family",
503
+ fontSize: "font-size",
504
+ fontSizeAdjust: "font-size-adjust",
505
+ fontStretch: "font-stretch",
506
+ fontStyle: "font-style",
507
+ fontVariant: "font-variant",
508
+ fontWeight: "font-weight",
509
+ glyphName: "glyph-name",
510
+ glyphOrientationHorizontal: "glyph-orientation-horizontal",
511
+ glyphOrientationVertical: "glyph-orientation-vertical",
512
+ hrefLang: "hreflang",
513
+ horizAdvX: "horiz-adv-x",
514
+ horizOriginX: "horiz-origin-x",
515
+ horizOriginY: "horiz-origin-y",
516
+ imageRendering: "image-rendering",
517
+ letterSpacing: "letter-spacing",
518
+ lightingColor: "lighting-color",
519
+ markerEnd: "marker-end",
520
+ markerMid: "marker-mid",
521
+ markerStart: "marker-start",
522
+ navDown: "nav-down",
523
+ navDownLeft: "nav-down-left",
524
+ navDownRight: "nav-down-right",
525
+ navLeft: "nav-left",
526
+ navNext: "nav-next",
527
+ navPrev: "nav-prev",
528
+ navRight: "nav-right",
529
+ navUp: "nav-up",
530
+ navUpLeft: "nav-up-left",
531
+ navUpRight: "nav-up-right",
532
+ onAbort: "onabort",
533
+ onActivate: "onactivate",
534
+ onAfterPrint: "onafterprint",
535
+ onBeforePrint: "onbeforeprint",
536
+ onBegin: "onbegin",
537
+ onCancel: "oncancel",
538
+ onCanPlay: "oncanplay",
539
+ onCanPlayThrough: "oncanplaythrough",
540
+ onChange: "onchange",
541
+ onClick: "onclick",
542
+ onClose: "onclose",
543
+ onCopy: "oncopy",
544
+ onCueChange: "oncuechange",
545
+ onCut: "oncut",
546
+ onDblClick: "ondblclick",
547
+ onDrag: "ondrag",
548
+ onDragEnd: "ondragend",
549
+ onDragEnter: "ondragenter",
550
+ onDragExit: "ondragexit",
551
+ onDragLeave: "ondragleave",
552
+ onDragOver: "ondragover",
553
+ onDragStart: "ondragstart",
554
+ onDrop: "ondrop",
555
+ onDurationChange: "ondurationchange",
556
+ onEmptied: "onemptied",
557
+ onEnd: "onend",
558
+ onEnded: "onended",
559
+ onError: "onerror",
560
+ onFocus: "onfocus",
561
+ onFocusIn: "onfocusin",
562
+ onFocusOut: "onfocusout",
563
+ onHashChange: "onhashchange",
564
+ onInput: "oninput",
565
+ onInvalid: "oninvalid",
566
+ onKeyDown: "onkeydown",
567
+ onKeyPress: "onkeypress",
568
+ onKeyUp: "onkeyup",
569
+ onLoad: "onload",
570
+ onLoadedData: "onloadeddata",
571
+ onLoadedMetadata: "onloadedmetadata",
572
+ onLoadStart: "onloadstart",
573
+ onMessage: "onmessage",
574
+ onMouseDown: "onmousedown",
575
+ onMouseEnter: "onmouseenter",
576
+ onMouseLeave: "onmouseleave",
577
+ onMouseMove: "onmousemove",
578
+ onMouseOut: "onmouseout",
579
+ onMouseOver: "onmouseover",
580
+ onMouseUp: "onmouseup",
581
+ onMouseWheel: "onmousewheel",
582
+ onOffline: "onoffline",
583
+ onOnline: "ononline",
584
+ onPageHide: "onpagehide",
585
+ onPageShow: "onpageshow",
586
+ onPaste: "onpaste",
587
+ onPause: "onpause",
588
+ onPlay: "onplay",
589
+ onPlaying: "onplaying",
590
+ onPopState: "onpopstate",
591
+ onProgress: "onprogress",
592
+ onRateChange: "onratechange",
593
+ onRepeat: "onrepeat",
594
+ onReset: "onreset",
595
+ onResize: "onresize",
596
+ onScroll: "onscroll",
597
+ onSeeked: "onseeked",
598
+ onSeeking: "onseeking",
599
+ onSelect: "onselect",
600
+ onShow: "onshow",
601
+ onStalled: "onstalled",
602
+ onStorage: "onstorage",
603
+ onSubmit: "onsubmit",
604
+ onSuspend: "onsuspend",
605
+ onTimeUpdate: "ontimeupdate",
606
+ onToggle: "ontoggle",
607
+ onUnload: "onunload",
608
+ onVolumeChange: "onvolumechange",
609
+ onWaiting: "onwaiting",
610
+ onZoom: "onzoom",
611
+ overlinePosition: "overline-position",
612
+ overlineThickness: "overline-thickness",
613
+ paintOrder: "paint-order",
614
+ panose1: "panose-1",
615
+ pointerEvents: "pointer-events",
616
+ referrerPolicy: "referrerpolicy",
617
+ renderingIntent: "rendering-intent",
618
+ shapeRendering: "shape-rendering",
619
+ stopColor: "stop-color",
620
+ stopOpacity: "stop-opacity",
621
+ strikethroughPosition: "strikethrough-position",
622
+ strikethroughThickness: "strikethrough-thickness",
623
+ strokeDashArray: "stroke-dasharray",
624
+ strokeDashOffset: "stroke-dashoffset",
625
+ strokeLineCap: "stroke-linecap",
626
+ strokeLineJoin: "stroke-linejoin",
627
+ strokeMiterLimit: "stroke-miterlimit",
628
+ strokeOpacity: "stroke-opacity",
629
+ strokeWidth: "stroke-width",
630
+ tabIndex: "tabindex",
631
+ textAnchor: "text-anchor",
632
+ textDecoration: "text-decoration",
633
+ textRendering: "text-rendering",
634
+ transformOrigin: "transform-origin",
635
+ typeOf: "typeof",
636
+ underlinePosition: "underline-position",
637
+ underlineThickness: "underline-thickness",
638
+ unicodeBidi: "unicode-bidi",
639
+ unicodeRange: "unicode-range",
640
+ unitsPerEm: "units-per-em",
641
+ vAlphabetic: "v-alphabetic",
642
+ vHanging: "v-hanging",
643
+ vIdeographic: "v-ideographic",
644
+ vMathematical: "v-mathematical",
645
+ vectorEffect: "vector-effect",
646
+ vertAdvY: "vert-adv-y",
647
+ vertOriginX: "vert-origin-x",
648
+ vertOriginY: "vert-origin-y",
649
+ wordSpacing: "word-spacing",
650
+ writingMode: "writing-mode",
651
+ xHeight: "x-height",
652
+ playbackOrder: "playbackorder",
653
+ timelineBegin: "timelinebegin"
654
+ },
655
+ properties: {
656
+ about: w,
657
+ accentHeight: x,
658
+ accumulate: null,
659
+ additive: null,
660
+ alignmentBaseline: null,
661
+ alphabetic: x,
662
+ amplitude: x,
663
+ arabicForm: null,
664
+ ascent: x,
665
+ attributeName: null,
666
+ attributeType: null,
667
+ azimuth: x,
668
+ bandwidth: null,
669
+ baselineShift: null,
670
+ baseFrequency: null,
671
+ baseProfile: null,
672
+ bbox: null,
673
+ begin: null,
674
+ bias: x,
675
+ by: null,
676
+ calcMode: null,
677
+ capHeight: x,
678
+ className: S,
679
+ clip: null,
680
+ clipPath: null,
681
+ clipPathUnits: null,
682
+ clipRule: null,
683
+ color: null,
684
+ colorInterpolation: null,
685
+ colorInterpolationFilters: null,
686
+ colorProfile: null,
687
+ colorRendering: null,
688
+ content: null,
689
+ contentScriptType: null,
690
+ contentStyleType: null,
691
+ crossOrigin: null,
692
+ cursor: null,
693
+ cx: null,
694
+ cy: null,
695
+ d: null,
696
+ dataType: null,
697
+ defaultAction: null,
698
+ descent: x,
699
+ diffuseConstant: x,
700
+ direction: null,
701
+ display: null,
702
+ dur: null,
703
+ divisor: x,
704
+ dominantBaseline: null,
705
+ download: v,
706
+ dx: null,
707
+ dy: null,
708
+ edgeMode: null,
709
+ editable: null,
710
+ elevation: x,
711
+ enableBackground: null,
712
+ end: null,
713
+ event: null,
714
+ exponent: x,
715
+ externalResourcesRequired: null,
716
+ fill: null,
717
+ fillOpacity: x,
718
+ fillRule: null,
719
+ filter: null,
720
+ filterRes: null,
721
+ filterUnits: null,
722
+ floodColor: null,
723
+ floodOpacity: null,
724
+ focusable: null,
725
+ focusHighlight: null,
726
+ fontFamily: null,
727
+ fontSize: null,
728
+ fontSizeAdjust: null,
729
+ fontStretch: null,
730
+ fontStyle: null,
731
+ fontVariant: null,
732
+ fontWeight: null,
733
+ format: null,
734
+ fr: null,
735
+ from: null,
736
+ fx: null,
737
+ fy: null,
738
+ g1: C,
739
+ g2: C,
740
+ glyphName: C,
741
+ glyphOrientationHorizontal: null,
742
+ glyphOrientationVertical: null,
743
+ glyphRef: null,
744
+ gradientTransform: null,
745
+ gradientUnits: null,
746
+ handler: null,
747
+ hanging: x,
748
+ hatchContentUnits: null,
749
+ hatchUnits: null,
750
+ height: null,
751
+ href: null,
752
+ hrefLang: null,
753
+ horizAdvX: x,
754
+ horizOriginX: x,
755
+ horizOriginY: x,
756
+ id: null,
757
+ ideographic: x,
758
+ imageRendering: null,
759
+ initialVisibility: null,
760
+ in: null,
761
+ in2: null,
762
+ intercept: x,
763
+ k: x,
764
+ k1: x,
765
+ k2: x,
766
+ k3: x,
767
+ k4: x,
768
+ kernelMatrix: w,
769
+ kernelUnitLength: null,
770
+ keyPoints: null,
771
+ keySplines: null,
772
+ keyTimes: null,
773
+ kerning: null,
774
+ lang: null,
775
+ lengthAdjust: null,
776
+ letterSpacing: null,
777
+ lightingColor: null,
778
+ limitingConeAngle: x,
779
+ local: null,
780
+ markerEnd: null,
781
+ markerMid: null,
782
+ markerStart: null,
783
+ markerHeight: null,
784
+ markerUnits: null,
785
+ markerWidth: null,
786
+ mask: null,
787
+ maskContentUnits: null,
788
+ maskUnits: null,
789
+ mathematical: null,
790
+ max: null,
791
+ media: null,
792
+ mediaCharacterEncoding: null,
793
+ mediaContentEncodings: null,
794
+ mediaSize: x,
795
+ mediaTime: null,
796
+ method: null,
797
+ min: null,
798
+ mode: null,
799
+ name: null,
800
+ navDown: null,
801
+ navDownLeft: null,
802
+ navDownRight: null,
803
+ navLeft: null,
804
+ navNext: null,
805
+ navPrev: null,
806
+ navRight: null,
807
+ navUp: null,
808
+ navUpLeft: null,
809
+ navUpRight: null,
810
+ numOctaves: null,
811
+ observer: null,
812
+ offset: null,
813
+ onAbort: null,
814
+ onActivate: null,
815
+ onAfterPrint: null,
816
+ onBeforePrint: null,
817
+ onBegin: null,
818
+ onCancel: null,
819
+ onCanPlay: null,
820
+ onCanPlayThrough: null,
821
+ onChange: null,
822
+ onClick: null,
823
+ onClose: null,
824
+ onCopy: null,
825
+ onCueChange: null,
826
+ onCut: null,
827
+ onDblClick: null,
828
+ onDrag: null,
829
+ onDragEnd: null,
830
+ onDragEnter: null,
831
+ onDragExit: null,
832
+ onDragLeave: null,
833
+ onDragOver: null,
834
+ onDragStart: null,
835
+ onDrop: null,
836
+ onDurationChange: null,
837
+ onEmptied: null,
838
+ onEnd: null,
839
+ onEnded: null,
840
+ onError: null,
841
+ onFocus: null,
842
+ onFocusIn: null,
843
+ onFocusOut: null,
844
+ onHashChange: null,
845
+ onInput: null,
846
+ onInvalid: null,
847
+ onKeyDown: null,
848
+ onKeyPress: null,
849
+ onKeyUp: null,
850
+ onLoad: null,
851
+ onLoadedData: null,
852
+ onLoadedMetadata: null,
853
+ onLoadStart: null,
854
+ onMessage: null,
855
+ onMouseDown: null,
856
+ onMouseEnter: null,
857
+ onMouseLeave: null,
858
+ onMouseMove: null,
859
+ onMouseOut: null,
860
+ onMouseOver: null,
861
+ onMouseUp: null,
862
+ onMouseWheel: null,
863
+ onOffline: null,
864
+ onOnline: null,
865
+ onPageHide: null,
866
+ onPageShow: null,
867
+ onPaste: null,
868
+ onPause: null,
869
+ onPlay: null,
870
+ onPlaying: null,
871
+ onPopState: null,
872
+ onProgress: null,
873
+ onRateChange: null,
874
+ onRepeat: null,
875
+ onReset: null,
876
+ onResize: null,
877
+ onScroll: null,
878
+ onSeeked: null,
879
+ onSeeking: null,
880
+ onSelect: null,
881
+ onShow: null,
882
+ onStalled: null,
883
+ onStorage: null,
884
+ onSubmit: null,
885
+ onSuspend: null,
886
+ onTimeUpdate: null,
887
+ onToggle: null,
888
+ onUnload: null,
889
+ onVolumeChange: null,
890
+ onWaiting: null,
891
+ onZoom: null,
892
+ opacity: null,
893
+ operator: null,
894
+ order: null,
895
+ orient: null,
896
+ orientation: null,
897
+ origin: null,
898
+ overflow: null,
899
+ overlay: null,
900
+ overlinePosition: x,
901
+ overlineThickness: x,
902
+ paintOrder: null,
903
+ panose1: null,
904
+ path: null,
905
+ pathLength: x,
906
+ patternContentUnits: null,
907
+ patternTransform: null,
908
+ patternUnits: null,
909
+ phase: null,
910
+ ping: S,
911
+ pitch: null,
912
+ playbackOrder: null,
913
+ pointerEvents: null,
914
+ points: null,
915
+ pointsAtX: x,
916
+ pointsAtY: x,
917
+ pointsAtZ: x,
918
+ preserveAlpha: null,
919
+ preserveAspectRatio: null,
920
+ primitiveUnits: null,
921
+ propagate: null,
922
+ property: w,
923
+ r: null,
924
+ radius: null,
925
+ referrerPolicy: null,
926
+ refX: null,
927
+ refY: null,
928
+ rel: w,
929
+ rev: w,
930
+ renderingIntent: null,
931
+ repeatCount: null,
932
+ repeatDur: null,
933
+ requiredExtensions: w,
934
+ requiredFeatures: w,
935
+ requiredFonts: w,
936
+ requiredFormats: w,
937
+ resource: null,
938
+ restart: null,
939
+ result: null,
940
+ rotate: null,
941
+ rx: null,
942
+ ry: null,
943
+ scale: null,
944
+ seed: null,
945
+ shapeRendering: null,
946
+ side: null,
947
+ slope: null,
948
+ snapshotTime: null,
949
+ specularConstant: x,
950
+ specularExponent: x,
951
+ spreadMethod: null,
952
+ spacing: null,
953
+ startOffset: null,
954
+ stdDeviation: null,
955
+ stemh: null,
956
+ stemv: null,
957
+ stitchTiles: null,
958
+ stopColor: null,
959
+ stopOpacity: null,
960
+ strikethroughPosition: x,
961
+ strikethroughThickness: x,
962
+ string: null,
963
+ stroke: null,
964
+ strokeDashArray: w,
965
+ strokeDashOffset: null,
966
+ strokeLineCap: null,
967
+ strokeLineJoin: null,
968
+ strokeMiterLimit: x,
969
+ strokeOpacity: x,
970
+ strokeWidth: null,
971
+ style: null,
972
+ surfaceScale: x,
973
+ syncBehavior: null,
974
+ syncBehaviorDefault: null,
975
+ syncMaster: null,
976
+ syncTolerance: null,
977
+ syncToleranceDefault: null,
978
+ systemLanguage: w,
979
+ tabIndex: x,
980
+ tableValues: null,
981
+ target: null,
982
+ targetX: x,
983
+ targetY: x,
984
+ textAnchor: null,
985
+ textDecoration: null,
986
+ textRendering: null,
987
+ textLength: null,
988
+ timelineBegin: null,
989
+ title: null,
990
+ transformBehavior: null,
991
+ type: null,
992
+ typeOf: w,
993
+ to: null,
994
+ transform: null,
995
+ transformOrigin: null,
996
+ u1: null,
997
+ u2: null,
998
+ underlinePosition: x,
999
+ underlineThickness: x,
1000
+ unicode: null,
1001
+ unicodeBidi: null,
1002
+ unicodeRange: null,
1003
+ unitsPerEm: x,
1004
+ values: null,
1005
+ vAlphabetic: x,
1006
+ vMathematical: x,
1007
+ vectorEffect: null,
1008
+ vHanging: x,
1009
+ vIdeographic: x,
1010
+ version: null,
1011
+ vertAdvY: x,
1012
+ vertOriginX: x,
1013
+ vertOriginY: x,
1014
+ viewBox: null,
1015
+ viewTarget: null,
1016
+ visibility: null,
1017
+ width: null,
1018
+ widths: null,
1019
+ wordSpacing: null,
1020
+ writingMode: null,
1021
+ x: null,
1022
+ x1: null,
1023
+ x2: null,
1024
+ xChannelSelector: null,
1025
+ xHeight: x,
1026
+ y: null,
1027
+ y1: null,
1028
+ y2: null,
1029
+ yChannelSelector: null,
1030
+ z: null,
1031
+ zoomAndPan: null
1032
+ },
1033
+ space: "svg",
1034
+ transform: j
1035
+ }), F = k({
1036
+ properties: {
1037
+ xLinkActuate: null,
1038
+ xLinkArcRole: null,
1039
+ xLinkHref: null,
1040
+ xLinkRole: null,
1041
+ xLinkShow: null,
1042
+ xLinkTitle: null,
1043
+ xLinkType: null
1044
+ },
1045
+ space: "xlink",
1046
+ transform(e, t) {
1047
+ return "xlink:" + t.slice(5).toLowerCase();
1048
+ }
1049
+ }), I = k({
1050
+ attributes: { xmlnsxlink: "xmlns:xlink" },
1051
+ properties: {
1052
+ xmlnsXLink: null,
1053
+ xmlns: null
1054
+ },
1055
+ space: "xmlns",
1056
+ transform: M
1057
+ }), L = k({
1058
+ properties: {
1059
+ xmlBase: null,
1060
+ xmlLang: null,
1061
+ xmlSpace: null
1062
+ },
1063
+ space: "xml",
1064
+ transform(e, t) {
1065
+ return "xml:" + t.slice(3).toLowerCase();
1066
+ }
1067
+ }), R = {
1068
+ classId: "classID",
1069
+ dataType: "datatype",
1070
+ itemId: "itemID",
1071
+ strokeDashArray: "strokeDasharray",
1072
+ strokeDashOffset: "strokeDashoffset",
1073
+ strokeLineCap: "strokeLinecap",
1074
+ strokeLineJoin: "strokeLinejoin",
1075
+ strokeMiterLimit: "strokeMiterlimit",
1076
+ typeOf: "typeof",
1077
+ xLinkActuate: "xlinkActuate",
1078
+ xLinkArcRole: "xlinkArcrole",
1079
+ xLinkHref: "xlinkHref",
1080
+ xLinkRole: "xlinkRole",
1081
+ xLinkShow: "xlinkShow",
1082
+ xLinkTitle: "xlinkTitle",
1083
+ xLinkType: "xlinkType",
1084
+ xmlnsXLink: "xmlnsXlink"
1085
+ }, z = /[A-Z]/g, B = /-[a-z]/g, ee = /^data[-\w.:]+$/i;
1086
+ function te(e, t) {
1087
+ let n = m(t), r = t, i = h;
1088
+ if (n in e.normal) return e.property[e.normal[n]];
1089
+ if (n.length > 4 && n.slice(0, 4) === "data" && ee.test(t)) {
1090
+ if (t.charAt(4) === "-") {
1091
+ let e = t.slice(5).replace(B, re);
1092
+ r = "data" + e.charAt(0).toUpperCase() + e.slice(1);
1093
+ } else {
1094
+ let e = t.slice(4);
1095
+ if (!B.test(e)) {
1096
+ let n = e.replace(z, ne);
1097
+ n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
1098
+ }
1099
+ }
1100
+ i = D;
1101
+ }
1102
+ return new i(r, t);
1103
+ }
1104
+ function ne(e) {
1105
+ return "-" + e.toLowerCase();
1106
+ }
1107
+ function re(e) {
1108
+ return e.charAt(1).toUpperCase();
1109
+ }
1110
+ //#endregion
1111
+ //#region node_modules/property-information/index.js
1112
+ var ie = p([
1113
+ A,
1114
+ N,
1115
+ F,
1116
+ I,
1117
+ L
1118
+ ], "html"), ae = p([
1119
+ A,
1120
+ P,
1121
+ F,
1122
+ I,
1123
+ L
1124
+ ], "svg");
1125
+ //#endregion
1126
+ //#region node_modules/space-separated-tokens/index.js
1127
+ function V(e) {
1128
+ let t = String(e || "").trim();
1129
+ return t ? t.split(/[ \t\n\r\f]+/g) : [];
1130
+ }
1131
+ function H(e) {
1132
+ return e.join(" ").trim();
1133
+ }
1134
+ //#endregion
1135
+ //#region node_modules/unist-util-position/lib/index.js
1136
+ var U = G("end"), W = G("start");
1137
+ function G(e) {
1138
+ return t;
1139
+ function t(t) {
1140
+ let n = t && t.position && t.position[e] || {};
1141
+ if (typeof n.line == "number" && n.line > 0 && typeof n.column == "number" && n.column > 0) return {
1142
+ line: n.line,
1143
+ column: n.column,
1144
+ offset: typeof n.offset == "number" && n.offset > -1 ? n.offset : void 0
1145
+ };
1146
+ }
1147
+ }
1148
+ function K(e) {
1149
+ let t = W(e), n = U(e);
1150
+ if (t && n) return {
1151
+ start: t,
1152
+ end: n
1153
+ };
1154
+ }
1155
+ //#endregion
1156
+ //#region node_modules/@ungap/structured-clone/esm/deserialize.js
1157
+ var q = typeof self == "object" ? self : globalThis, oe = (e, t) => {
1158
+ let n = (t, n) => (e.set(n, t), t), r = (i) => {
1159
+ if (e.has(i)) return e.get(i);
1160
+ let [a, o] = t[i];
1161
+ switch (a) {
1162
+ case 0:
1163
+ case -1: return n(o, i);
1164
+ case 1: {
1165
+ let e = n([], i);
1166
+ for (let t of o) e.push(r(t));
1167
+ return e;
1168
+ }
1169
+ case 2: {
1170
+ let e = n({}, i);
1171
+ for (let [t, n] of o) e[r(t)] = r(n);
1172
+ return e;
1173
+ }
1174
+ case 3: return n(new Date(o), i);
1175
+ case 4: {
1176
+ let { source: e, flags: t } = o;
1177
+ return n(new RegExp(e, t), i);
1178
+ }
1179
+ case 5: {
1180
+ let e = n(/* @__PURE__ */ new Map(), i);
1181
+ for (let [t, n] of o) e.set(r(t), r(n));
1182
+ return e;
1183
+ }
1184
+ case 6: {
1185
+ let e = n(/* @__PURE__ */ new Set(), i);
1186
+ for (let t of o) e.add(r(t));
1187
+ return e;
1188
+ }
1189
+ case 7: {
1190
+ let { name: e, message: t } = o;
1191
+ return n(new q[e](t), i);
1192
+ }
1193
+ case 8: return n(BigInt(o), i);
1194
+ case "BigInt": return n(Object(BigInt(o)), i);
1195
+ case "ArrayBuffer": return n(new Uint8Array(o).buffer, o);
1196
+ case "DataView": {
1197
+ let { buffer: e } = new Uint8Array(o);
1198
+ return n(new DataView(e), o);
1199
+ }
1200
+ }
1201
+ return n(new q[a](o), i);
1202
+ };
1203
+ return r;
1204
+ }, J = (e) => oe(/* @__PURE__ */ new Map(), e)(0), Y = "", { toString: se } = {}, { keys: X } = Object, Z = (e) => {
1205
+ let t = typeof e;
1206
+ if (t !== "object" || !e) return [0, t];
1207
+ let n = se.call(e).slice(8, -1);
1208
+ switch (n) {
1209
+ case "Array": return [1, Y];
1210
+ case "Object": return [2, Y];
1211
+ case "Date": return [3, Y];
1212
+ case "RegExp": return [4, Y];
1213
+ case "Map": return [5, Y];
1214
+ case "Set": return [6, Y];
1215
+ case "DataView": return [1, n];
1216
+ }
1217
+ return n.includes("Array") ? [1, n] : n.includes("Error") ? [7, n] : [2, n];
1218
+ }, Q = ([e, t]) => e === 0 && (t === "function" || t === "symbol"), ce = (e, t, n, r) => {
1219
+ let i = (e, t) => {
1220
+ let i = r.push(e) - 1;
1221
+ return n.set(t, i), i;
1222
+ }, a = (r) => {
1223
+ if (n.has(r)) return n.get(r);
1224
+ let [o, s] = Z(r);
1225
+ switch (o) {
1226
+ case 0: {
1227
+ let t = r;
1228
+ switch (s) {
1229
+ case "bigint":
1230
+ o = 8, t = r.toString();
1231
+ break;
1232
+ case "function":
1233
+ case "symbol":
1234
+ if (e) throw TypeError("unable to serialize " + s);
1235
+ t = null;
1236
+ break;
1237
+ case "undefined": return i([-1], r);
1238
+ }
1239
+ return i([o, t], r);
1240
+ }
1241
+ case 1: {
1242
+ if (s) {
1243
+ let e = r;
1244
+ return s === "DataView" ? e = new Uint8Array(r.buffer) : s === "ArrayBuffer" && (e = new Uint8Array(r)), i([s, [...e]], r);
1245
+ }
1246
+ let e = [], t = i([o, e], r);
1247
+ for (let t of r) e.push(a(t));
1248
+ return t;
1249
+ }
1250
+ case 2: {
1251
+ if (s) switch (s) {
1252
+ case "BigInt": return i([s, r.toString()], r);
1253
+ case "Boolean":
1254
+ case "Number":
1255
+ case "String": return i([s, r.valueOf()], r);
1256
+ }
1257
+ if (t && "toJSON" in r) return a(r.toJSON());
1258
+ let n = [], c = i([o, n], r);
1259
+ for (let t of X(r)) (e || !Q(Z(r[t]))) && n.push([a(t), a(r[t])]);
1260
+ return c;
1261
+ }
1262
+ case 3: return i([o, r.toISOString()], r);
1263
+ case 4: {
1264
+ let { source: e, flags: t } = r;
1265
+ return i([o, {
1266
+ source: e,
1267
+ flags: t
1268
+ }], r);
1269
+ }
1270
+ case 5: {
1271
+ let t = [], n = i([o, t], r);
1272
+ for (let [n, i] of r) (e || !(Q(Z(n)) || Q(Z(i)))) && t.push([a(n), a(i)]);
1273
+ return n;
1274
+ }
1275
+ case 6: {
1276
+ let t = [], n = i([o, t], r);
1277
+ for (let n of r) (e || !Q(Z(n))) && t.push(a(n));
1278
+ return n;
1279
+ }
1280
+ }
1281
+ let { message: c } = r;
1282
+ return i([o, {
1283
+ name: s,
1284
+ message: c
1285
+ }], r);
1286
+ };
1287
+ return a;
1288
+ }, $ = (e, { json: t, lossy: n } = {}) => {
1289
+ let r = [];
1290
+ return ce(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
1291
+ }, le = typeof structuredClone == "function" ? (e, t) => t && ("json" in t || "lossy" in t) ? J($(e, t)) : structuredClone(e) : (e, t) => J($(e, t));
1292
+ //#endregion
1293
+ export { V as a, ae as c, m as d, u as f, l as g, s as h, K as i, te as l, o as m, U as n, H as o, d as p, W as r, ie as s, le as t, R as u };