@epam/ai-dial-chat-shared 1.1.0-dev.39 → 1.1.0-dev.391

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