@alfadocs/ui-kit-debug 1.89.0 → 1.90.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.
Files changed (36) hide show
  1. package/dist/_chunks/{anamnesis-summary-rows-DjM_HkCS.js → anamnesis-summary-rows-DUMERHK3.js} +2 -2
  2. package/dist/_chunks/{anamnesis-summary-rows-DjM_HkCS.js.map → anamnesis-summary-rows-DUMERHK3.js.map} +1 -1
  3. package/dist/_chunks/{balance-badge-cell-BHXJS8Ga.js → balance-badge-cell-C9-hyfxy.js} +2 -2
  4. package/dist/_chunks/{balance-badge-cell-BHXJS8Ga.js.map → balance-badge-cell-C9-hyfxy.js.map} +1 -1
  5. package/dist/_chunks/{calendar-appointment-editor-dialog-BuumJbcv.js → calendar-appointment-editor-dialog-D8Wkbm8_.js} +2 -2
  6. package/dist/_chunks/{calendar-appointment-editor-dialog-BuumJbcv.js.map → calendar-appointment-editor-dialog-D8Wkbm8_.js.map} +1 -1
  7. package/dist/_chunks/{data-table-BlONA1rP.js → data-table-D7EGpqOn.js} +2 -2
  8. package/dist/_chunks/{data-table-BlONA1rP.js.map → data-table-D7EGpqOn.js.map} +1 -1
  9. package/dist/_chunks/{file-manager-C9iJjDZt.js → file-manager-DQbWBTfk.js} +2 -2
  10. package/dist/_chunks/{file-manager-C9iJjDZt.js.map → file-manager-DQbWBTfk.js.map} +1 -1
  11. package/dist/_chunks/{heatmap-C2Rg-SV_.js → heatmap-BJB6V9yJ.js} +2 -2
  12. package/dist/_chunks/{heatmap-C2Rg-SV_.js.map → heatmap-BJB6V9yJ.js.map} +1 -1
  13. package/dist/_chunks/{index.es-B8zMZ1wV.js → index.es-Bpb8_NrX.js} +2 -2
  14. package/dist/_chunks/{index.es-B8zMZ1wV.js.map → index.es-Bpb8_NrX.js.map} +1 -1
  15. package/dist/_chunks/{jspdf.es.min-DaapWjR1.js → jspdf.es.min-Cal6Nuw_.js} +3 -3
  16. package/dist/_chunks/{jspdf.es.min-DaapWjR1.js.map → jspdf.es.min-Cal6Nuw_.js.map} +1 -1
  17. package/dist/_chunks/{patient-search-BPjP2__L.js → patient-search-CCOUZABE.js} +415 -406
  18. package/dist/_chunks/patient-search-CCOUZABE.js.map +1 -0
  19. package/dist/_chunks/purify.es-Lo4sC_pz.js +1483 -0
  20. package/dist/_chunks/purify.es-Lo4sC_pz.js.map +1 -0
  21. package/dist/agent-catalog.json +1 -1
  22. package/dist/components/data-table/index.js +1 -1
  23. package/dist/components/file-manager/index.js +1 -1
  24. package/dist/components/heatmap/index.js +1 -1
  25. package/dist/components/patient-search/index.js +1 -1
  26. package/dist/components/patient-search/patient-search.d.ts +8 -0
  27. package/dist/components/patient-search/patient-search.d.ts.map +1 -1
  28. package/dist/components/patient-table/index.js +1 -1
  29. package/dist/index.js +7 -7
  30. package/dist/patterns/anamnesis/index.js +1 -1
  31. package/dist/patterns/calendar/index.js +1 -1
  32. package/dist/safe-html/index.js +6 -6
  33. package/package.json +8 -3
  34. package/dist/_chunks/patient-search-BPjP2__L.js.map +0 -1
  35. package/dist/_chunks/purify.es-Cm3utOpm.js +0 -561
  36. package/dist/_chunks/purify.es-Cm3utOpm.js.map +0 -1
@@ -0,0 +1,1483 @@
1
+ /*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */
2
+ function Ye(r, i) {
3
+ (i == null || i > r.length) && (i = r.length);
4
+ for (var s = 0, c = Array(i); s < i; s++) c[s] = r[s];
5
+ return c;
6
+ }
7
+ function Hn(r) {
8
+ if (Array.isArray(r)) return r;
9
+ }
10
+ function Gn(r, i) {
11
+ var s = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
12
+ if (s != null) {
13
+ var c, u, d, S, ut = [], w = !0, At = !1;
14
+ try {
15
+ if (d = (s = s.call(r)).next, i !== 0) for (; !(w = (c = d.call(s)).done) && (ut.push(c.value), ut.length !== i); w = !0) ;
16
+ } catch (q) {
17
+ At = !0, u = q;
18
+ } finally {
19
+ try {
20
+ if (!w && s.return != null && (S = s.return(), Object(S) !== S)) return;
21
+ } finally {
22
+ if (At) throw u;
23
+ }
24
+ }
25
+ return ut;
26
+ }
27
+ }
28
+ function Wn() {
29
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
30
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
31
+ }
32
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
33
+ function Bn(r, i) {
34
+ return Hn(r) || Gn(r, i) || Yn(r, i) || Wn();
35
+ }
36
+ function Yn(r, i) {
37
+ if (r) {
38
+ if (typeof r == "string") return Ye(r, i);
39
+ var s = {}.toString.call(r).slice(8, -1);
40
+ return s === "Object" && r.constructor && (s = r.constructor.name), s === "Map" || s === "Set" ? Array.from(r) : s === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s) ? Ye(r, i) : void 0;
41
+ }
42
+ }
43
+ const an = Object.entries, je = Object.setPrototypeOf, jn = Object.isFrozen, Xn = Object.getPrototypeOf, $n = Object.getOwnPropertyDescriptor;
44
+ let y = Object.freeze, b = Object.seal, lt = Object.create, sn = typeof Reflect < "u" && Reflect, le = sn.apply, ce = sn.construct;
45
+ y || (y = function(i) {
46
+ return i;
47
+ });
48
+ b || (b = function(i) {
49
+ return i;
50
+ });
51
+ le || (le = function(i, s) {
52
+ for (var c = arguments.length, u = new Array(c > 2 ? c - 2 : 0), d = 2; d < c; d++) u[d - 2] = arguments[d];
53
+ return i.apply(s, u);
54
+ });
55
+ ce || (ce = function(i) {
56
+ for (var s = arguments.length, c = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++) c[u - 1] = arguments[u];
57
+ return new i(...c);
58
+ });
59
+ const V = A(Array.prototype.forEach), Vn = A(Array.prototype.lastIndexOf), Xe = A(Array.prototype.pop), ht = A(Array.prototype.push), qn = A(Array.prototype.splice), ct = Array.isArray, Et = A(String.prototype.toLowerCase), ne = A(String.prototype.toString), $e = A(String.prototype.match), _t = A(String.prototype.replace), Ve = A(String.prototype.indexOf), Kn = A(String.prototype.trim), Zn = A(Number.prototype.toString), Jn = A(Boolean.prototype.toString), qe = typeof BigInt > "u" ? null : A(BigInt.prototype.toString), Ke = typeof Symbol > "u" ? null : A(Symbol.prototype.toString), D = A(Object.prototype.hasOwnProperty), gt = A(Object.prototype.toString), O = A(RegExp.prototype.test), G = Qn(TypeError);
60
+ function A(r) {
61
+ return function(i) {
62
+ i instanceof RegExp && (i.lastIndex = 0);
63
+ for (var s = arguments.length, c = new Array(s > 1 ? s - 1 : 0), u = 1; u < s; u++) c[u - 1] = arguments[u];
64
+ return le(r, i, c);
65
+ };
66
+ }
67
+ function Qn(r) {
68
+ return function() {
69
+ for (var i = arguments.length, s = new Array(i), c = 0; c < i; c++) s[c] = arguments[c];
70
+ return ce(r, s);
71
+ };
72
+ }
73
+ function m(r, i) {
74
+ let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Et;
75
+ if (je && je(r, null), !ct(i)) return r;
76
+ let c = i.length;
77
+ for (; c--; ) {
78
+ let u = i[c];
79
+ if (typeof u == "string") {
80
+ const d = s(u);
81
+ d !== u && (jn(i) || (i[c] = d), u = d);
82
+ }
83
+ r[u] = !0;
84
+ }
85
+ return r;
86
+ }
87
+ function to(r) {
88
+ for (let i = 0; i < r.length; i++) D(r, i) || (r[i] = null);
89
+ return r;
90
+ }
91
+ function C(r) {
92
+ const i = lt(null);
93
+ for (const c of an(r)) {
94
+ var s = Bn(c, 2);
95
+ const u = s[0], d = s[1];
96
+ D(r, u) && (ct(d) ? i[u] = to(d) : d && typeof d == "object" && d.constructor === Object ? i[u] = C(d) : i[u] = d);
97
+ }
98
+ return i;
99
+ }
100
+ function eo(r) {
101
+ switch (typeof r) {
102
+ case "string":
103
+ return r;
104
+ case "number":
105
+ return Zn(r);
106
+ case "boolean":
107
+ return Jn(r);
108
+ case "bigint":
109
+ return qe ? qe(r) : "0";
110
+ case "symbol":
111
+ return Ke ? Ke(r) : "Symbol()";
112
+ case "undefined":
113
+ return gt(r);
114
+ case "function":
115
+ case "object": {
116
+ if (r === null) return gt(r);
117
+ const i = r, s = P(i, "toString");
118
+ if (typeof s == "function") {
119
+ const c = s(i);
120
+ return typeof c == "string" ? c : gt(c);
121
+ }
122
+ return gt(r);
123
+ }
124
+ default:
125
+ return gt(r);
126
+ }
127
+ }
128
+ function P(r, i) {
129
+ for (; r !== null; ) {
130
+ const c = $n(r, i);
131
+ if (c) {
132
+ if (c.get) return A(c.get);
133
+ if (typeof c.value == "function") return A(c.value);
134
+ }
135
+ r = Xn(r);
136
+ }
137
+ function s() {
138
+ return null;
139
+ }
140
+ return s;
141
+ }
142
+ function no(r) {
143
+ try {
144
+ return O(r, ""), !0;
145
+ } catch {
146
+ return !1;
147
+ }
148
+ }
149
+ const Ze = y([
150
+ "a",
151
+ "abbr",
152
+ "acronym",
153
+ "address",
154
+ "area",
155
+ "article",
156
+ "aside",
157
+ "audio",
158
+ "b",
159
+ "bdi",
160
+ "bdo",
161
+ "big",
162
+ "blink",
163
+ "blockquote",
164
+ "body",
165
+ "br",
166
+ "button",
167
+ "canvas",
168
+ "caption",
169
+ "center",
170
+ "cite",
171
+ "code",
172
+ "col",
173
+ "colgroup",
174
+ "content",
175
+ "data",
176
+ "datalist",
177
+ "dd",
178
+ "decorator",
179
+ "del",
180
+ "details",
181
+ "dfn",
182
+ "dialog",
183
+ "dir",
184
+ "div",
185
+ "dl",
186
+ "dt",
187
+ "element",
188
+ "em",
189
+ "fieldset",
190
+ "figcaption",
191
+ "figure",
192
+ "font",
193
+ "footer",
194
+ "form",
195
+ "h1",
196
+ "h2",
197
+ "h3",
198
+ "h4",
199
+ "h5",
200
+ "h6",
201
+ "head",
202
+ "header",
203
+ "hgroup",
204
+ "hr",
205
+ "html",
206
+ "i",
207
+ "img",
208
+ "input",
209
+ "ins",
210
+ "kbd",
211
+ "label",
212
+ "legend",
213
+ "li",
214
+ "main",
215
+ "map",
216
+ "mark",
217
+ "marquee",
218
+ "menu",
219
+ "menuitem",
220
+ "meter",
221
+ "nav",
222
+ "nobr",
223
+ "ol",
224
+ "optgroup",
225
+ "option",
226
+ "output",
227
+ "p",
228
+ "picture",
229
+ "pre",
230
+ "progress",
231
+ "q",
232
+ "rp",
233
+ "rt",
234
+ "ruby",
235
+ "s",
236
+ "samp",
237
+ "search",
238
+ "section",
239
+ "select",
240
+ "shadow",
241
+ "slot",
242
+ "small",
243
+ "source",
244
+ "spacer",
245
+ "span",
246
+ "strike",
247
+ "strong",
248
+ "style",
249
+ "sub",
250
+ "summary",
251
+ "sup",
252
+ "table",
253
+ "tbody",
254
+ "td",
255
+ "template",
256
+ "textarea",
257
+ "tfoot",
258
+ "th",
259
+ "thead",
260
+ "time",
261
+ "tr",
262
+ "track",
263
+ "tt",
264
+ "u",
265
+ "ul",
266
+ "var",
267
+ "video",
268
+ "wbr"
269
+ ]), oe = y([
270
+ "svg",
271
+ "a",
272
+ "altglyph",
273
+ "altglyphdef",
274
+ "altglyphitem",
275
+ "animatecolor",
276
+ "animatemotion",
277
+ "animatetransform",
278
+ "circle",
279
+ "clippath",
280
+ "defs",
281
+ "desc",
282
+ "ellipse",
283
+ "enterkeyhint",
284
+ "exportparts",
285
+ "filter",
286
+ "font",
287
+ "g",
288
+ "glyph",
289
+ "glyphref",
290
+ "hkern",
291
+ "image",
292
+ "inputmode",
293
+ "line",
294
+ "lineargradient",
295
+ "marker",
296
+ "mask",
297
+ "metadata",
298
+ "mpath",
299
+ "part",
300
+ "path",
301
+ "pattern",
302
+ "polygon",
303
+ "polyline",
304
+ "radialgradient",
305
+ "rect",
306
+ "stop",
307
+ "style",
308
+ "switch",
309
+ "symbol",
310
+ "text",
311
+ "textpath",
312
+ "title",
313
+ "tref",
314
+ "tspan",
315
+ "view",
316
+ "vkern"
317
+ ]), re = y([
318
+ "feBlend",
319
+ "feColorMatrix",
320
+ "feComponentTransfer",
321
+ "feComposite",
322
+ "feConvolveMatrix",
323
+ "feDiffuseLighting",
324
+ "feDisplacementMap",
325
+ "feDistantLight",
326
+ "feDropShadow",
327
+ "feFlood",
328
+ "feFuncA",
329
+ "feFuncB",
330
+ "feFuncG",
331
+ "feFuncR",
332
+ "feGaussianBlur",
333
+ "feImage",
334
+ "feMerge",
335
+ "feMergeNode",
336
+ "feMorphology",
337
+ "feOffset",
338
+ "fePointLight",
339
+ "feSpecularLighting",
340
+ "feSpotLight",
341
+ "feTile",
342
+ "feTurbulence"
343
+ ]), oo = y([
344
+ "animate",
345
+ "color-profile",
346
+ "cursor",
347
+ "discard",
348
+ "font-face",
349
+ "font-face-format",
350
+ "font-face-name",
351
+ "font-face-src",
352
+ "font-face-uri",
353
+ "foreignobject",
354
+ "hatch",
355
+ "hatchpath",
356
+ "mesh",
357
+ "meshgradient",
358
+ "meshpatch",
359
+ "meshrow",
360
+ "missing-glyph",
361
+ "script",
362
+ "set",
363
+ "solidcolor",
364
+ "unknown",
365
+ "use"
366
+ ]), ie = y([
367
+ "math",
368
+ "menclose",
369
+ "merror",
370
+ "mfenced",
371
+ "mfrac",
372
+ "mglyph",
373
+ "mi",
374
+ "mlabeledtr",
375
+ "mmultiscripts",
376
+ "mn",
377
+ "mo",
378
+ "mover",
379
+ "mpadded",
380
+ "mphantom",
381
+ "mroot",
382
+ "mrow",
383
+ "ms",
384
+ "mspace",
385
+ "msqrt",
386
+ "mstyle",
387
+ "msub",
388
+ "msup",
389
+ "msubsup",
390
+ "mtable",
391
+ "mtd",
392
+ "mtext",
393
+ "mtr",
394
+ "munder",
395
+ "munderover",
396
+ "mprescripts"
397
+ ]), ro = y([
398
+ "maction",
399
+ "maligngroup",
400
+ "malignmark",
401
+ "mlongdiv",
402
+ "mscarries",
403
+ "mscarry",
404
+ "msgroup",
405
+ "mstack",
406
+ "msline",
407
+ "msrow",
408
+ "semantics",
409
+ "annotation",
410
+ "annotation-xml",
411
+ "mprescripts",
412
+ "none"
413
+ ]), Je = y(["#text"]), Qe = y([
414
+ "accept",
415
+ "action",
416
+ "align",
417
+ "alt",
418
+ "autocapitalize",
419
+ "autocomplete",
420
+ "autopictureinpicture",
421
+ "autoplay",
422
+ "background",
423
+ "bgcolor",
424
+ "border",
425
+ "capture",
426
+ "cellpadding",
427
+ "cellspacing",
428
+ "checked",
429
+ "cite",
430
+ "class",
431
+ "clear",
432
+ "color",
433
+ "cols",
434
+ "colspan",
435
+ "command",
436
+ "commandfor",
437
+ "controls",
438
+ "controlslist",
439
+ "coords",
440
+ "crossorigin",
441
+ "datetime",
442
+ "decoding",
443
+ "default",
444
+ "dir",
445
+ "disabled",
446
+ "disablepictureinpicture",
447
+ "disableremoteplayback",
448
+ "download",
449
+ "draggable",
450
+ "enctype",
451
+ "enterkeyhint",
452
+ "exportparts",
453
+ "face",
454
+ "for",
455
+ "headers",
456
+ "height",
457
+ "hidden",
458
+ "high",
459
+ "href",
460
+ "hreflang",
461
+ "id",
462
+ "inert",
463
+ "inputmode",
464
+ "integrity",
465
+ "ismap",
466
+ "kind",
467
+ "label",
468
+ "lang",
469
+ "list",
470
+ "loading",
471
+ "loop",
472
+ "low",
473
+ "max",
474
+ "maxlength",
475
+ "media",
476
+ "method",
477
+ "min",
478
+ "minlength",
479
+ "multiple",
480
+ "muted",
481
+ "name",
482
+ "nonce",
483
+ "noshade",
484
+ "novalidate",
485
+ "nowrap",
486
+ "open",
487
+ "optimum",
488
+ "part",
489
+ "pattern",
490
+ "placeholder",
491
+ "playsinline",
492
+ "popover",
493
+ "popovertarget",
494
+ "popovertargetaction",
495
+ "poster",
496
+ "preload",
497
+ "pubdate",
498
+ "radiogroup",
499
+ "readonly",
500
+ "rel",
501
+ "required",
502
+ "rev",
503
+ "reversed",
504
+ "role",
505
+ "rows",
506
+ "rowspan",
507
+ "spellcheck",
508
+ "scope",
509
+ "selected",
510
+ "shape",
511
+ "size",
512
+ "sizes",
513
+ "slot",
514
+ "span",
515
+ "srclang",
516
+ "start",
517
+ "src",
518
+ "srcset",
519
+ "step",
520
+ "style",
521
+ "summary",
522
+ "tabindex",
523
+ "title",
524
+ "translate",
525
+ "type",
526
+ "usemap",
527
+ "valign",
528
+ "value",
529
+ "width",
530
+ "wrap",
531
+ "xmlns"
532
+ ]), ae = y([
533
+ "accent-height",
534
+ "accumulate",
535
+ "additive",
536
+ "alignment-baseline",
537
+ "amplitude",
538
+ "ascent",
539
+ "attributename",
540
+ "attributetype",
541
+ "azimuth",
542
+ "basefrequency",
543
+ "baseline-shift",
544
+ "begin",
545
+ "bias",
546
+ "by",
547
+ "class",
548
+ "clip",
549
+ "clippathunits",
550
+ "clip-path",
551
+ "clip-rule",
552
+ "color",
553
+ "color-interpolation",
554
+ "color-interpolation-filters",
555
+ "color-profile",
556
+ "color-rendering",
557
+ "cx",
558
+ "cy",
559
+ "d",
560
+ "dx",
561
+ "dy",
562
+ "diffuseconstant",
563
+ "direction",
564
+ "display",
565
+ "divisor",
566
+ "dominant-baseline",
567
+ "dur",
568
+ "edgemode",
569
+ "elevation",
570
+ "end",
571
+ "exponent",
572
+ "fill",
573
+ "fill-opacity",
574
+ "fill-rule",
575
+ "filter",
576
+ "filterunits",
577
+ "flood-color",
578
+ "flood-opacity",
579
+ "font-family",
580
+ "font-size",
581
+ "font-size-adjust",
582
+ "font-stretch",
583
+ "font-style",
584
+ "font-variant",
585
+ "font-weight",
586
+ "fx",
587
+ "fy",
588
+ "g1",
589
+ "g2",
590
+ "glyph-name",
591
+ "glyphref",
592
+ "gradientunits",
593
+ "gradienttransform",
594
+ "height",
595
+ "href",
596
+ "id",
597
+ "image-rendering",
598
+ "in",
599
+ "in2",
600
+ "intercept",
601
+ "k",
602
+ "k1",
603
+ "k2",
604
+ "k3",
605
+ "k4",
606
+ "kerning",
607
+ "keypoints",
608
+ "keysplines",
609
+ "keytimes",
610
+ "lang",
611
+ "lengthadjust",
612
+ "letter-spacing",
613
+ "kernelmatrix",
614
+ "kernelunitlength",
615
+ "lighting-color",
616
+ "local",
617
+ "marker-end",
618
+ "marker-mid",
619
+ "marker-start",
620
+ "markerheight",
621
+ "markerunits",
622
+ "markerwidth",
623
+ "maskcontentunits",
624
+ "maskunits",
625
+ "max",
626
+ "mask",
627
+ "mask-type",
628
+ "media",
629
+ "method",
630
+ "mode",
631
+ "min",
632
+ "name",
633
+ "numoctaves",
634
+ "offset",
635
+ "operator",
636
+ "opacity",
637
+ "order",
638
+ "orient",
639
+ "orientation",
640
+ "origin",
641
+ "overflow",
642
+ "paint-order",
643
+ "path",
644
+ "pathlength",
645
+ "patterncontentunits",
646
+ "patterntransform",
647
+ "patternunits",
648
+ "pointer-events",
649
+ "points",
650
+ "preservealpha",
651
+ "preserveaspectratio",
652
+ "primitiveunits",
653
+ "r",
654
+ "rx",
655
+ "ry",
656
+ "radius",
657
+ "refx",
658
+ "refy",
659
+ "repeatcount",
660
+ "repeatdur",
661
+ "restart",
662
+ "result",
663
+ "rotate",
664
+ "scale",
665
+ "seed",
666
+ "shape-rendering",
667
+ "slope",
668
+ "specularconstant",
669
+ "specularexponent",
670
+ "spreadmethod",
671
+ "startoffset",
672
+ "stddeviation",
673
+ "stitchtiles",
674
+ "stop-color",
675
+ "stop-opacity",
676
+ "stroke-dasharray",
677
+ "stroke-dashoffset",
678
+ "stroke-linecap",
679
+ "stroke-linejoin",
680
+ "stroke-miterlimit",
681
+ "stroke-opacity",
682
+ "stroke",
683
+ "stroke-width",
684
+ "style",
685
+ "surfacescale",
686
+ "systemlanguage",
687
+ "tabindex",
688
+ "tablevalues",
689
+ "targetx",
690
+ "targety",
691
+ "transform",
692
+ "transform-origin",
693
+ "text-anchor",
694
+ "text-decoration",
695
+ "text-orientation",
696
+ "text-rendering",
697
+ "textlength",
698
+ "type",
699
+ "u1",
700
+ "u2",
701
+ "unicode",
702
+ "values",
703
+ "vector-effect",
704
+ "viewbox",
705
+ "visibility",
706
+ "version",
707
+ "vert-adv-y",
708
+ "vert-origin-x",
709
+ "vert-origin-y",
710
+ "width",
711
+ "word-spacing",
712
+ "wrap",
713
+ "writing-mode",
714
+ "xchannelselector",
715
+ "ychannelselector",
716
+ "x",
717
+ "x1",
718
+ "x2",
719
+ "xmlns",
720
+ "y",
721
+ "y1",
722
+ "y2",
723
+ "z",
724
+ "zoomandpan"
725
+ ]), tn = y([
726
+ "accent",
727
+ "accentunder",
728
+ "align",
729
+ "bevelled",
730
+ "close",
731
+ "columnalign",
732
+ "columnlines",
733
+ "columnspacing",
734
+ "columnspan",
735
+ "denomalign",
736
+ "depth",
737
+ "dir",
738
+ "display",
739
+ "displaystyle",
740
+ "encoding",
741
+ "fence",
742
+ "frame",
743
+ "height",
744
+ "href",
745
+ "id",
746
+ "largeop",
747
+ "length",
748
+ "linethickness",
749
+ "lquote",
750
+ "lspace",
751
+ "mathbackground",
752
+ "mathcolor",
753
+ "mathsize",
754
+ "mathvariant",
755
+ "maxsize",
756
+ "minsize",
757
+ "movablelimits",
758
+ "notation",
759
+ "numalign",
760
+ "open",
761
+ "rowalign",
762
+ "rowlines",
763
+ "rowspacing",
764
+ "rowspan",
765
+ "rspace",
766
+ "rquote",
767
+ "scriptlevel",
768
+ "scriptminsize",
769
+ "scriptsizemultiplier",
770
+ "selection",
771
+ "separator",
772
+ "separators",
773
+ "stretchy",
774
+ "subscriptshift",
775
+ "supscriptshift",
776
+ "symmetric",
777
+ "voffset",
778
+ "width",
779
+ "xmlns"
780
+ ]), xt = y([
781
+ "xlink:href",
782
+ "xml:id",
783
+ "xlink:title",
784
+ "xml:space",
785
+ "xmlns:xlink"
786
+ ]), io = b(/{{[\w\W]*|^[\w\W]*}}/g), ao = b(/<%[\w\W]*|^[\w\W]*%>/g), so = b(/\${[\w\W]*/g), lo = b(/^data-[\-\w.\u00B7-\uFFFF]+$/), co = b(/^aria-[\-\w]+$/), en = b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), uo = b(/^(?:\w+script|data):/i), fo = b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), po = b(/^html$/i), mo = b(/^[a-z][.\w]*(-[.\w]+)+$/i), nn = b(/<[/\w!]/g), on = b(/<[/\w]/g), To = b(/<\/no(script|embed|frames)/i), ho = b(/\/>/i), N = {
787
+ element: 1,
788
+ attribute: 2,
789
+ text: 3,
790
+ cdataSection: 4,
791
+ entityReference: 5,
792
+ entityNode: 6,
793
+ processingInstruction: 7,
794
+ comment: 8,
795
+ document: 9,
796
+ documentType: 10,
797
+ documentFragment: 11,
798
+ notation: 12
799
+ }, ln = [
800
+ "style",
801
+ "script",
802
+ "xmp",
803
+ "iframe",
804
+ "noembed",
805
+ "noframes",
806
+ "plaintext",
807
+ "noscript"
808
+ ], _o = y(m({}, ln)), go = (function() {
809
+ const r = {};
810
+ return V(ln, (i) => {
811
+ r[i] = b(new RegExp("</" + i + "(?=[\\t\\n\\f\\r />])", "i"));
812
+ }), y(r);
813
+ })(), Eo = function() {
814
+ return typeof window > "u" ? null : window;
815
+ }, Ao = function(i, s) {
816
+ if (typeof i != "object" || typeof i.createPolicy != "function") return null;
817
+ let c = null;
818
+ const u = "data-tt-policy-suffix";
819
+ s && s.hasAttribute(u) && (c = s.getAttribute(u));
820
+ const d = "dompurify" + (c ? "#" + c : "");
821
+ try {
822
+ return i.createPolicy(d, {
823
+ createHTML(S) {
824
+ return S;
825
+ },
826
+ createScriptURL(S) {
827
+ return S;
828
+ }
829
+ });
830
+ } catch {
831
+ return console.warn("TrustedTypes policy " + d + " could not be created."), null;
832
+ }
833
+ }, rn = function() {
834
+ return {
835
+ afterSanitizeAttributes: [],
836
+ afterSanitizeElements: [],
837
+ afterSanitizeShadowDOM: [],
838
+ beforeSanitizeAttributes: [],
839
+ beforeSanitizeElements: [],
840
+ beforeSanitizeShadowDOM: [],
841
+ uponSanitizeAttribute: [],
842
+ uponSanitizeElement: [],
843
+ uponSanitizeShadowNode: []
844
+ };
845
+ }, W = function(i, s, c, u) {
846
+ return D(i, s) && ct(i[s]) ? m(u.base ? C(u.base) : {}, i[s], u.transform) : c;
847
+ }, se = function(i, s, c) {
848
+ const u = D(i, s) ? i[s] : void 0;
849
+ return u && typeof u == "object" ? C(u) : c();
850
+ };
851
+ function cn() {
852
+ let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Eo();
853
+ const i = (o) => cn(o);
854
+ if (i.version = "3.4.16", i.removed = [], !r || !r.document || r.document.nodeType !== N.document || !r.Element)
855
+ return i.isSupported = !1, i;
856
+ let s = r.document;
857
+ const c = s, u = c.currentScript;
858
+ r.DocumentFragment;
859
+ const d = r.HTMLTemplateElement, S = r.Node, ut = r.Element, w = r.NodeFilter;
860
+ r.NamedNodeMap === void 0 && (r.NamedNodeMap || r.MozNamedAttrMap), r.HTMLFormElement;
861
+ const At = r.DOMParser, q = r.trustedTypes, U = ut.prototype, un = P(U, "cloneNode"), kt = P(U, "remove"), ue = P(U, "removeAttributeNode"), fn = P(U, "nextSibling"), K = P(U, "childNodes"), Z = P(U, "parentNode"), fe = P(U, "shadowRoot"), Ut = P(U, "attributes"), B = S && S.prototype ? P(S.prototype, "nodeType") : null, J = S && S.prototype ? P(S.prototype, "nodeName") : null, yt = S && S.prototype ? P(S.prototype, "ownerDocument") : null, ft = function(t) {
862
+ return B ? B(t) : t.nodeType;
863
+ }, Ft = function(t) {
864
+ return J ? J(t) : t.nodeName;
865
+ };
866
+ if (typeof d == "function") {
867
+ const o = s.createElement("template");
868
+ o.content && o.content.ownerDocument && (s = o.content.ownerDocument);
869
+ }
870
+ let L, Y = "", zt, pe = !1, pt = 0;
871
+ const me = function() {
872
+ if (pt > 0) throw G('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
873
+ }, Q = function(t) {
874
+ me(), pt++;
875
+ try {
876
+ return L.createHTML(t);
877
+ } finally {
878
+ pt--;
879
+ }
880
+ }, pn = function(t) {
881
+ me(), pt++;
882
+ try {
883
+ return L.createScriptURL(t);
884
+ } finally {
885
+ pt--;
886
+ }
887
+ }, mn = function() {
888
+ return pe || (zt = Ao(q, u), pe = !0), zt;
889
+ }, St = s, Ht = St.implementation, de = St.createNodeIterator, dn = St.createDocumentFragment, Tn = St.getElementsByTagName, hn = c.importNode;
890
+ let T = rn();
891
+ i.isSupported = typeof an == "function" && typeof Z == "function" && Ht && Ht.createHTMLDocument !== void 0;
892
+ const _n = io, gn = ao, En = so, An = lo, yn = co, Sn = uo, Te = fo, bn = mo;
893
+ let he = en, h = null;
894
+ const Gt = m({}, [
895
+ ...Ze,
896
+ ...oe,
897
+ ...re,
898
+ ...ie,
899
+ ...Je
900
+ ]);
901
+ let _ = null;
902
+ const Wt = m({}, [
903
+ ...Qe,
904
+ ...ae,
905
+ ...tn,
906
+ ...xt
907
+ ]);
908
+ let v = Object.seal(lt(null, {
909
+ tagNameCheck: {
910
+ writable: !0,
911
+ configurable: !1,
912
+ enumerable: !0,
913
+ value: null
914
+ },
915
+ attributeNameCheck: {
916
+ writable: !0,
917
+ configurable: !1,
918
+ enumerable: !0,
919
+ value: null
920
+ },
921
+ allowCustomizedBuiltInElements: {
922
+ writable: !0,
923
+ configurable: !1,
924
+ enumerable: !0,
925
+ value: !1
926
+ }
927
+ })), mt = null, _e = null;
928
+ const F = Object.seal(lt(null, {
929
+ tagCheck: {
930
+ writable: !0,
931
+ configurable: !1,
932
+ enumerable: !0,
933
+ value: null
934
+ },
935
+ attributeCheck: {
936
+ writable: !0,
937
+ configurable: !1,
938
+ enumerable: !0,
939
+ value: null
940
+ }
941
+ }));
942
+ let ge = !0, Bt = !0, Ee = !1, Ae = !0, z = !1, j = !0, X = !1, Yt = !1, bt = null, Ot = null, jt = !1, tt = !1, Rt = !1, Lt = !1, ye = !0, Se = !1;
943
+ const be = "user-content-";
944
+ let Xt = !0, $t = !1, et = {}, nt = null;
945
+ const Oe = m({}, [
946
+ "annotation-xml",
947
+ "audio",
948
+ "colgroup",
949
+ "desc",
950
+ "foreignobject",
951
+ "head",
952
+ "iframe",
953
+ "math",
954
+ "mi",
955
+ "mn",
956
+ "mo",
957
+ "ms",
958
+ "mtext",
959
+ "noembed",
960
+ "noframes",
961
+ "noscript",
962
+ "plaintext",
963
+ "script",
964
+ "selectedcontent",
965
+ "style",
966
+ "svg",
967
+ "template",
968
+ "thead",
969
+ "title",
970
+ "video",
971
+ "xmp"
972
+ ]);
973
+ let Re = null;
974
+ const Le = m({}, [
975
+ "audio",
976
+ "video",
977
+ "img",
978
+ "source",
979
+ "image",
980
+ "track"
981
+ ]);
982
+ let De = null;
983
+ const we = m({}, [
984
+ "alt",
985
+ "class",
986
+ "for",
987
+ "id",
988
+ "label",
989
+ "name",
990
+ "pattern",
991
+ "placeholder",
992
+ "role",
993
+ "summary",
994
+ "title",
995
+ "value",
996
+ "style",
997
+ "xmlns"
998
+ ]), Dt = "http://www.w3.org/1998/Math/MathML", wt = "http://www.w3.org/2000/svg", x = "http://www.w3.org/1999/xhtml";
999
+ let ot = x, Vt = !1, qt = null;
1000
+ const On = m({}, [
1001
+ Dt,
1002
+ wt,
1003
+ x
1004
+ ], ne), Ie = y([
1005
+ "mi",
1006
+ "mo",
1007
+ "mn",
1008
+ "ms",
1009
+ "mtext"
1010
+ ]);
1011
+ let Kt = m({}, Ie);
1012
+ const Ne = y(["annotation-xml"]);
1013
+ let Zt = m({}, Ne);
1014
+ const Rn = m({}, [
1015
+ "title",
1016
+ "style",
1017
+ "font",
1018
+ "a",
1019
+ "script"
1020
+ ]);
1021
+ let dt = null;
1022
+ const Ln = ["application/xhtml+xml", "text/html"], Dn = "text/html";
1023
+ let E = null, rt = null;
1024
+ const wn = s.createElement("form"), Ce = function(t) {
1025
+ return t instanceof RegExp || t instanceof Function;
1026
+ }, Jt = function() {
1027
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1028
+ if (rt && rt === t) return;
1029
+ (!t || typeof t != "object") && (t = {}), t = C(t), dt = Ln.indexOf(t.PARSER_MEDIA_TYPE) === -1 ? Dn : t.PARSER_MEDIA_TYPE, E = dt === "application/xhtml+xml" ? ne : Et, h = W(t, "ALLOWED_TAGS", Gt, { transform: E }), _ = W(t, "ALLOWED_ATTR", Wt, { transform: E }), qt = W(t, "ALLOWED_NAMESPACES", On, { transform: ne }), De = W(t, "ADD_URI_SAFE_ATTR", we, {
1030
+ transform: E,
1031
+ base: we
1032
+ }), Re = W(t, "ADD_DATA_URI_TAGS", Le, {
1033
+ transform: E,
1034
+ base: Le
1035
+ }), nt = W(t, "FORBID_CONTENTS", Oe, { transform: E }), mt = W(t, "FORBID_TAGS", C({}), { transform: E }), _e = W(t, "FORBID_ATTR", C({}), { transform: E }), et = D(t, "USE_PROFILES") ? t.USE_PROFILES && typeof t.USE_PROFILES == "object" ? C(t.USE_PROFILES) : t.USE_PROFILES : !1, ge = t.ALLOW_ARIA_ATTR !== !1, Bt = t.ALLOW_DATA_ATTR !== !1, Ee = t.ALLOW_UNKNOWN_PROTOCOLS || !1, Ae = t.ALLOW_SELF_CLOSE_IN_ATTR !== !1, z = t.SAFE_FOR_TEMPLATES || !1, j = t.SAFE_FOR_XML !== !1, X = t.WHOLE_DOCUMENT || !1, tt = t.RETURN_DOM || !1, Rt = t.RETURN_DOM_FRAGMENT || !1, Lt = t.RETURN_TRUSTED_TYPE || !1, jt = t.FORCE_BODY || !1, ye = t.SANITIZE_DOM !== !1, Se = t.SANITIZE_NAMED_PROPS || !1, Xt = t.KEEP_CONTENT !== !1, $t = t.IN_PLACE || !1, he = no(t.ALLOWED_URI_REGEXP) ? t.ALLOWED_URI_REGEXP : en, ot = typeof t.NAMESPACE == "string" ? t.NAMESPACE : x, Kt = se(t, "MATHML_TEXT_INTEGRATION_POINTS", () => m({}, Ie)), Zt = se(t, "HTML_INTEGRATION_POINTS", () => m({}, Ne));
1036
+ const e = se(t, "CUSTOM_ELEMENT_HANDLING", () => lt(null));
1037
+ if (v = lt(null), D(e, "tagNameCheck") && Ce(e.tagNameCheck) && (v.tagNameCheck = e.tagNameCheck), D(e, "attributeNameCheck") && Ce(e.attributeNameCheck) && (v.attributeNameCheck = e.attributeNameCheck), D(e, "allowCustomizedBuiltInElements") && typeof e.allowCustomizedBuiltInElements == "boolean" && (v.allowCustomizedBuiltInElements = e.allowCustomizedBuiltInElements), b(v), z && (Bt = !1), Rt && (tt = !0), et && (h = m({}, Je), _ = lt(null), et.html === !0 && (m(h, Ze), m(_, Qe)), et.svg === !0 && (m(h, oe), m(_, ae), m(_, xt)), et.svgFilters === !0 && (m(h, re), m(_, ae), m(_, xt)), et.mathMl === !0 && (m(h, ie), m(_, tn), m(_, xt))), F.tagCheck = null, F.attributeCheck = null, D(t, "ADD_TAGS") && (typeof t.ADD_TAGS == "function" ? F.tagCheck = t.ADD_TAGS : ct(t.ADD_TAGS) && (h === Gt && (h = C(h)), m(h, t.ADD_TAGS, E))), D(t, "ADD_ATTR") && (typeof t.ADD_ATTR == "function" ? F.attributeCheck = t.ADD_ATTR : ct(t.ADD_ATTR) && (_ === Wt && (_ = C(_)), m(_, t.ADD_ATTR, E))), D(t, "ADD_FORBID_CONTENTS") && ct(t.ADD_FORBID_CONTENTS) && (nt === Oe && (nt = C(nt)), m(nt, t.ADD_FORBID_CONTENTS, E)), Xt && (h["#text"] = !0), X && m(h, [
1038
+ "html",
1039
+ "head",
1040
+ "body"
1041
+ ]), h.table && (m(h, ["tbody"]), delete mt.tbody), t.TRUSTED_TYPES_POLICY) {
1042
+ if (typeof t.TRUSTED_TYPES_POLICY.createHTML != "function") throw G('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1043
+ if (typeof t.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw G('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
1044
+ const n = L;
1045
+ L = t.TRUSTED_TYPES_POLICY;
1046
+ try {
1047
+ Y = Q("");
1048
+ } catch (a) {
1049
+ throw L = n, a;
1050
+ }
1051
+ } else t.TRUSTED_TYPES_POLICY === null ? (L = void 0, Y = "") : (L === void 0 && (L = mn()), L && typeof Y == "string" && (Y = Q("")));
1052
+ y && y(t), rt = t;
1053
+ }, Me = m({}, [
1054
+ ...oe,
1055
+ ...re,
1056
+ ...oo
1057
+ ]), Pe = m({}, [...ie, ...ro]), In = function(t, e, n) {
1058
+ return e.namespaceURI === x ? t === "svg" : e.namespaceURI === Dt ? t === "svg" && (n === "annotation-xml" || Kt[n]) : !!Me[t];
1059
+ }, Nn = function(t, e, n) {
1060
+ return e.namespaceURI === x ? t === "math" : e.namespaceURI === wt ? t === "math" && Zt[n] : !!Pe[t];
1061
+ }, Cn = function(t, e, n) {
1062
+ return e.namespaceURI === wt && !Zt[n] || e.namespaceURI === Dt && !Kt[n] ? !1 : !Pe[t] && (Rn[t] || !Me[t]);
1063
+ }, Mn = function(t) {
1064
+ let e = Z(t);
1065
+ (!e || !e.tagName) && (e = {
1066
+ namespaceURI: ot,
1067
+ tagName: "template"
1068
+ });
1069
+ const n = Et(t.tagName), a = Et(e.tagName);
1070
+ return qt[t.namespaceURI] ? t.namespaceURI === wt ? In(n, e, a) : t.namespaceURI === Dt ? Nn(n, e, a) : t.namespaceURI === x ? Cn(n, e, a) : !!(dt === "application/xhtml+xml" && qt[t.namespaceURI]) : !1;
1071
+ }, H = function(t) {
1072
+ ht(i.removed, { element: t });
1073
+ try {
1074
+ Z(t).removeChild(t);
1075
+ } catch {
1076
+ if (kt(t), !Z(t)) throw G("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
1077
+ }
1078
+ }, ve = function(t, e, n) {
1079
+ try {
1080
+ ue(t, e);
1081
+ } catch {
1082
+ try {
1083
+ t.removeAttribute(n);
1084
+ } catch {
1085
+ }
1086
+ }
1087
+ }, It = function(t) {
1088
+ Nt(t);
1089
+ const e = K(t);
1090
+ if (e) {
1091
+ const a = [];
1092
+ V(e, (l) => {
1093
+ ht(a, l);
1094
+ }), V(a, (l) => {
1095
+ try {
1096
+ kt(l);
1097
+ } catch {
1098
+ }
1099
+ });
1100
+ }
1101
+ const n = Ut(t);
1102
+ if (n) for (let a = n.length - 1; a >= 0; --a) {
1103
+ const l = n[a], f = l && l.name;
1104
+ typeof f == "string" && ve(t, l, f);
1105
+ }
1106
+ }, $ = function(t, e, n) {
1107
+ if (!n) try {
1108
+ n = e.getAttributeNode(t);
1109
+ } catch {
1110
+ n = null;
1111
+ }
1112
+ ht(i.removed, {
1113
+ attribute: n || null,
1114
+ from: e
1115
+ });
1116
+ try {
1117
+ n ? ue(e, n) : e.removeAttribute(t);
1118
+ } catch {
1119
+ try {
1120
+ e.removeAttribute(t);
1121
+ } catch {
1122
+ }
1123
+ }
1124
+ if (t === "is")
1125
+ if (tt || Rt) try {
1126
+ H(e);
1127
+ } catch {
1128
+ }
1129
+ else try {
1130
+ e.setAttribute(t, "");
1131
+ } catch {
1132
+ }
1133
+ }, Pn = function(t) {
1134
+ const e = Ut(t);
1135
+ if (e)
1136
+ for (let n = e.length - 1; n >= 0; --n) {
1137
+ const a = e[n], l = a && a.name;
1138
+ typeof l != "string" || _[E(l)] || ve(t, a, l);
1139
+ }
1140
+ }, Nt = function(t) {
1141
+ const e = [t];
1142
+ for (; e.length > 0; ) {
1143
+ const n = e.pop();
1144
+ ft(n) === N.element && Pn(n);
1145
+ const a = K(n);
1146
+ if (a) for (let l = a.length - 1; l >= 0; --l) e.push(a[l]);
1147
+ }
1148
+ }, xe = function(t, e) {
1149
+ return j ? t === "patchsrc" ? !0 : t === "for" && e !== "label" && e !== "output" : !1;
1150
+ }, vn = function(t) {
1151
+ if (!j) return;
1152
+ const e = [t];
1153
+ for (; e.length > 0; ) {
1154
+ const n = e.pop(), a = ft(n);
1155
+ if (a === N.processingInstruction || a === N.comment && O(on, n.data)) {
1156
+ try {
1157
+ kt(n);
1158
+ } catch {
1159
+ }
1160
+ continue;
1161
+ }
1162
+ if (a === N.element) {
1163
+ const f = n, p = E(Ft(n));
1164
+ try {
1165
+ f.hasAttribute && f.hasAttribute("patchsrc") && f.removeAttribute("patchsrc"), f.hasAttribute && f.hasAttribute("for") && xe("for", p) && f.removeAttribute("for");
1166
+ } catch {
1167
+ }
1168
+ }
1169
+ const l = K(n);
1170
+ if (l) for (let f = l.length - 1; f >= 0; --f) e.push(l[f]);
1171
+ }
1172
+ }, ke = function(t) {
1173
+ let e = null, n = null;
1174
+ if (jt) t = "<remove></remove>" + t;
1175
+ else {
1176
+ const f = $e(t, /^[\r\n\t ]+/);
1177
+ n = f && f[0];
1178
+ }
1179
+ dt === "application/xhtml+xml" && ot === x && (t = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + t + "</body></html>");
1180
+ const a = L ? Q(t) : t;
1181
+ if (ot === x) try {
1182
+ e = new At().parseFromString(a, dt);
1183
+ } catch {
1184
+ }
1185
+ if (!e || !e.documentElement) {
1186
+ e = Ht.createDocument(ot, "template", null);
1187
+ try {
1188
+ e.documentElement.innerHTML = Vt ? Y : a;
1189
+ } catch {
1190
+ }
1191
+ }
1192
+ const l = e.body || e.documentElement;
1193
+ return t && n && l.insertBefore(s.createTextNode(n), l.childNodes[0] || null), ot === x ? Tn.call(e, X ? "html" : "body")[0] : X ? e.documentElement : l;
1194
+ }, Ue = function(t) {
1195
+ const e = yt ? yt(t) : t.ownerDocument;
1196
+ return de.call(e || t, t, w.SHOW_ELEMENT | w.SHOW_COMMENT | w.SHOW_TEXT | w.SHOW_PROCESSING_INSTRUCTION | w.SHOW_CDATA_SECTION, null);
1197
+ }, Ct = function(t) {
1198
+ return t = _t(t, _n, " "), t = _t(t, gn, " "), t = _t(t, En, " "), t;
1199
+ }, Qt = function(t) {
1200
+ var e;
1201
+ t.normalize();
1202
+ const n = yt ? yt(t) : t.ownerDocument, a = de.call(n || t, t, w.SHOW_TEXT | w.SHOW_COMMENT | w.SHOW_CDATA_SECTION | w.SHOW_PROCESSING_INSTRUCTION, null);
1203
+ let l = a.nextNode();
1204
+ for (; l; )
1205
+ l.data = Ct(l.data), l = a.nextNode();
1206
+ const f = (e = t.querySelectorAll) === null || e === void 0 ? void 0 : e.call(t, "template");
1207
+ f && V(f, (p) => {
1208
+ it(p.content) && Qt(p.content);
1209
+ });
1210
+ }, Mt = function(t) {
1211
+ const e = J ? J(t) : null;
1212
+ return typeof e != "string" || E(e) !== "form" ? !1 : typeof t.nodeName != "string" || typeof t.textContent != "string" || typeof t.removeChild != "function" || t.attributes !== Ut(t) || typeof t.removeAttribute != "function" || typeof t.removeAttributeNode != "function" || typeof t.getAttributeNode != "function" || typeof t.setAttribute != "function" || typeof t.namespaceURI != "string" || typeof t.insertBefore != "function" || typeof t.hasChildNodes != "function" || t.nodeType !== B(t) || t.childNodes !== K(t);
1213
+ }, it = function(t) {
1214
+ if (!B || typeof t != "object" || t === null) return !1;
1215
+ try {
1216
+ return B(t) === N.documentFragment;
1217
+ } catch {
1218
+ return !1;
1219
+ }
1220
+ }, Tt = function(t) {
1221
+ if (!B || typeof t != "object" || t === null) return !1;
1222
+ try {
1223
+ return typeof B(t) == "number";
1224
+ } catch {
1225
+ return !1;
1226
+ }
1227
+ };
1228
+ function k(o, t, e) {
1229
+ o.length !== 0 && V(o, (n) => {
1230
+ n.call(i, t, e, rt);
1231
+ });
1232
+ }
1233
+ const xn = function(t, e) {
1234
+ return !!(j && t.hasChildNodes() && !Tt(t.firstElementChild) && O(nn, t.textContent) && O(nn, t.innerHTML) || j && t.namespaceURI === x && _o[e] && (Tt(t.firstElementChild) || typeof t.textContent == "string" && O(go[e], t.textContent)) || t.nodeType === N.processingInstruction || j && t.nodeType === N.comment && O(on, t.data));
1235
+ }, Pt = function(t, e) {
1236
+ if (t instanceof RegExp) return O(t, e);
1237
+ if (t instanceof Function) {
1238
+ for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), l = 2; l < n; l++) a[l - 2] = arguments[l];
1239
+ return !!t(e, ...a);
1240
+ }
1241
+ return !1;
1242
+ }, kn = function(t, e, n) {
1243
+ if (!mt[e] && Ge(e) && Pt(v.tagNameCheck, e)) return !1;
1244
+ if (Xt && !nt[e]) {
1245
+ const a = Z(t), l = K(t);
1246
+ if (l && a) {
1247
+ const f = l.length;
1248
+ for (let p = f - 1; p >= 0; --p) {
1249
+ const g = t === n ? un(l[p], !0) : l[p];
1250
+ a.insertBefore(g, fn(t));
1251
+ }
1252
+ }
1253
+ }
1254
+ return H(t), !0;
1255
+ }, Fe = function(t, e, n, a) {
1256
+ return t.length === 0 ? e : e === n || e === a ? C(e) : e;
1257
+ }, at = function(t, e) {
1258
+ return t === e || Z(t) !== null ? !1 : ($t && Nt(t), !0);
1259
+ }, ze = function(t, e) {
1260
+ if (k(T.beforeSanitizeElements, t, null), at(t, e)) return !0;
1261
+ if (Mt(t))
1262
+ return H(t), !0;
1263
+ const n = E(Ft(t));
1264
+ if (h = Fe(T.uponSanitizeElement, h, Gt, bt), k(T.uponSanitizeElement, t, {
1265
+ tagName: n,
1266
+ allowedTags: h
1267
+ }), at(t, e)) return !0;
1268
+ if (xn(t, n))
1269
+ return H(t), !0;
1270
+ if (mt[n] || !(F.tagCheck instanceof Function && F.tagCheck(n)) && !h[n]) {
1271
+ const a = kn(t, n, e);
1272
+ return a === !1 && (k(T.afterSanitizeElements, t, null), at(t, e)) ? !0 : a;
1273
+ }
1274
+ if (ft(t) === N.element && !Mn(t) || (n === "noscript" || n === "noembed" || n === "noframes") && O(To, t.innerHTML))
1275
+ return H(t), !0;
1276
+ if (z && t.nodeType === N.text) {
1277
+ const a = Ct(t.textContent);
1278
+ t.textContent !== a && (ht(i.removed, { element: t.cloneNode() }), t.textContent = a);
1279
+ }
1280
+ return k(T.afterSanitizeElements, t, null), at(t, e);
1281
+ }, He = function(t, e, n) {
1282
+ if (_e[e] || xe(e, t) || ye && (e === "id" || e === "name") && (n in s || n in wn)) return !1;
1283
+ const a = _[e] || F.attributeCheck instanceof Function && F.attributeCheck(e, t);
1284
+ return Bt && O(An, e) || ge && O(yn, e) ? !0 : a ? De[e] || O(he, _t(n, Te, "")) || (e === "src" || e === "xlink:href" || e === "href") && t !== "script" && Ve(n, "data:") === 0 && Re[t] || Ee && !O(Sn, _t(n, Te, "")) ? !0 : !n : Ge(t) && Pt(v.tagNameCheck, t) && Pt(v.attributeNameCheck, e, t) || e === "is" && v.allowCustomizedBuiltInElements && Pt(v.tagNameCheck, n);
1285
+ }, Un = m({}, [
1286
+ "annotation-xml",
1287
+ "color-profile",
1288
+ "font-face",
1289
+ "font-face-format",
1290
+ "font-face-name",
1291
+ "font-face-src",
1292
+ "font-face-uri",
1293
+ "missing-glyph"
1294
+ ]), Ge = function(t) {
1295
+ return !Un[Et(t)] && O(bn, t);
1296
+ }, Fn = function(t, e, n, a) {
1297
+ if (L && typeof q == "object" && typeof q.getAttributeType == "function" && !n) switch (q.getAttributeType(t, e)) {
1298
+ case "TrustedHTML":
1299
+ return Q(a);
1300
+ case "TrustedScriptURL":
1301
+ return pn(a);
1302
+ }
1303
+ return a;
1304
+ }, zn = function(t, e, n, a) {
1305
+ try {
1306
+ return n ? t.setAttributeNS(n, e, a) : t.setAttribute(e, a), Mt(t) ? (H(t), !1) : !0;
1307
+ } catch {
1308
+ return $(e, t), !1;
1309
+ }
1310
+ }, We = function(t, e) {
1311
+ if (k(T.beforeSanitizeAttributes, t, null), at(t, e)) return;
1312
+ const n = t.attributes;
1313
+ if (!n || Mt(t)) return;
1314
+ _ = Fe(T.uponSanitizeAttribute, _, Wt, Ot);
1315
+ const a = {
1316
+ attrName: "",
1317
+ attrValue: "",
1318
+ keepAttr: !0,
1319
+ allowedAttributes: _,
1320
+ forceKeepAttr: void 0
1321
+ };
1322
+ let l = n.length;
1323
+ const f = E(t.nodeName);
1324
+ for (; l--; ) {
1325
+ const p = n[l], g = p.name, M = p.namespaceURI, I = p.value, st = E(g), ee = I;
1326
+ let R = g === "value" ? ee : Kn(ee), Be = !1;
1327
+ if (a.attrName = st, a.attrValue = R, a.keepAttr = !0, a.forceKeepAttr = void 0, k(T.uponSanitizeAttribute, t, a), R = a.attrValue, Se && (st === "id" || st === "name") && Ve(R, be) !== 0 && ($(g, t, p), R = be + R, Be = !0), j && O(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, R)) {
1328
+ $(g, t, p);
1329
+ continue;
1330
+ }
1331
+ if (st === "attributename" && $e(R, "href")) {
1332
+ $(g, t, p);
1333
+ continue;
1334
+ }
1335
+ if (!a.forceKeepAttr) {
1336
+ if (!a.keepAttr) {
1337
+ $(g, t, p);
1338
+ continue;
1339
+ }
1340
+ if (!Ae && O(ho, R)) {
1341
+ $(g, t, p);
1342
+ continue;
1343
+ }
1344
+ if (z && (R = Ct(R)), !He(f, st, R)) {
1345
+ $(g, t, p);
1346
+ continue;
1347
+ }
1348
+ R = Fn(f, st, M, R), R !== ee && zn(t, g, M, R) && Be && Xe(i.removed);
1349
+ }
1350
+ }
1351
+ k(T.afterSanitizeAttributes, t, null), at(t, e);
1352
+ }, vt = function(t) {
1353
+ let e = null;
1354
+ const n = Ue(t);
1355
+ for (k(T.beforeSanitizeShadowDOM, t, null); e = n.nextNode(); )
1356
+ if (k(T.uponSanitizeShadowNode, e, null), ze(e, t), We(e, t), it(e.content) && vt(e.content), ft(e) === N.element) {
1357
+ const a = fe(e);
1358
+ it(a) && (te(a), vt(a));
1359
+ }
1360
+ k(T.afterSanitizeShadowDOM, t, null);
1361
+ }, te = function(t) {
1362
+ const e = [{
1363
+ node: t,
1364
+ shadow: null
1365
+ }];
1366
+ for (; e.length > 0; ) {
1367
+ const n = e.pop();
1368
+ if (n.shadow) {
1369
+ vt(n.shadow);
1370
+ continue;
1371
+ }
1372
+ const a = n.node, l = ft(a) === N.element, f = K(a);
1373
+ if (f) for (let p = f.length - 1; p >= 0; --p) e.push({
1374
+ node: f[p],
1375
+ shadow: null
1376
+ });
1377
+ if (l) {
1378
+ const p = J ? J(a) : null;
1379
+ if (typeof p == "string" && E(p) === "template") {
1380
+ const g = a.content;
1381
+ it(g) && e.push({
1382
+ node: g,
1383
+ shadow: null
1384
+ });
1385
+ }
1386
+ }
1387
+ if (l) {
1388
+ const p = fe(a);
1389
+ it(p) && e.push({
1390
+ node: null,
1391
+ shadow: p
1392
+ }, {
1393
+ node: p,
1394
+ shadow: null
1395
+ });
1396
+ }
1397
+ }
1398
+ };
1399
+ return i.sanitize = function(o) {
1400
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = null, n = null, a = null, l = null;
1401
+ if (Vt = !o, Vt && (o = "<!-->"), typeof o != "string" && !Tt(o) && (o = eo(o), typeof o != "string"))
1402
+ throw G("dirty is not a string, aborting");
1403
+ if (!i.isSupported) return o;
1404
+ Yt ? (h = bt, _ = Ot) : Jt(t), (T.uponSanitizeElement.length > 0 || T.uponSanitizeAttribute.length > 0) && (h = C(h)), T.uponSanitizeAttribute.length > 0 && (_ = C(_)), i.removed = [];
1405
+ const f = $t && typeof o != "string" && Tt(o);
1406
+ if (f) {
1407
+ vn(o);
1408
+ const M = Ft(o);
1409
+ if (typeof M == "string") {
1410
+ const I = E(M);
1411
+ if (!h[I] || mt[I])
1412
+ throw It(o), G("root node is forbidden and cannot be sanitized in-place");
1413
+ }
1414
+ if (Mt(o))
1415
+ throw It(o), G("root node is clobbered and cannot be sanitized in-place");
1416
+ try {
1417
+ te(o);
1418
+ } catch (I) {
1419
+ throw It(o), I;
1420
+ }
1421
+ } else if (Tt(o))
1422
+ e = ke("<!---->"), n = e.ownerDocument.importNode(o, !0), n.nodeType === N.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? e = n : e.appendChild(n), te(e);
1423
+ else {
1424
+ if (!tt && !z && !X && o.indexOf("<") === -1) return L && Lt ? Q(o) : o;
1425
+ if (e = ke(o), !e) return tt ? null : Lt ? Y : "";
1426
+ }
1427
+ e && jt && H(e.firstChild);
1428
+ const p = f ? o : e;
1429
+ try {
1430
+ const M = Ue(p);
1431
+ for (; a = M.nextNode(); )
1432
+ ze(a, p), We(a, p), it(a.content) && vt(a.content);
1433
+ } catch (M) {
1434
+ throw f && (It(o), V(i.removed, (I) => {
1435
+ I.element && Nt(I.element);
1436
+ })), M;
1437
+ }
1438
+ if (f) {
1439
+ let M = !1;
1440
+ if (V(i.removed, (I) => {
1441
+ I.element && (I.element === o && (M = !0), Nt(I.element));
1442
+ }), M) throw G("a node selected for removal could not be safely returned; refusing to sanitize in place");
1443
+ return z && Qt(o), o;
1444
+ }
1445
+ if (tt) {
1446
+ if (z && Qt(e), Rt)
1447
+ for (l = dn.call(e.ownerDocument); e.firstChild; ) l.appendChild(e.firstChild);
1448
+ else l = e;
1449
+ return (_.shadowroot || _.shadowrootmode) && (l = hn.call(c, l, !0)), l;
1450
+ }
1451
+ let g = X ? e.outerHTML : e.innerHTML;
1452
+ return X && h["!doctype"] && e.ownerDocument && e.ownerDocument.doctype && e.ownerDocument.doctype.name && O(po, e.ownerDocument.doctype.name) && (g = "<!DOCTYPE " + e.ownerDocument.doctype.name + `>
1453
+ ` + g), z && (g = Ct(g)), L && Lt ? Q(g) : g;
1454
+ }, i.setConfig = function() {
1455
+ let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1456
+ Jt(o), Yt = !0, bt = h, Ot = _;
1457
+ }, i.clearConfig = function() {
1458
+ rt = null, Yt = !1, bt = null, Ot = null, L = zt, Y = "";
1459
+ }, i.isValidAttribute = function(o, t, e) {
1460
+ rt || Jt({});
1461
+ const n = E(o), a = E(t);
1462
+ return He(n, a, e);
1463
+ }, i.addHook = function(o, t) {
1464
+ typeof t == "function" && D(T, o) && ht(T[o], t);
1465
+ }, i.removeHook = function(o, t) {
1466
+ if (D(T, o)) {
1467
+ if (t !== void 0) {
1468
+ const e = Vn(T[o], t);
1469
+ return e === -1 ? void 0 : qn(T[o], e, 1)[0];
1470
+ }
1471
+ return Xe(T[o]);
1472
+ }
1473
+ }, i.removeHooks = function(o) {
1474
+ D(T, o) && (T[o] = []);
1475
+ }, i.removeAllHooks = function() {
1476
+ T = rn();
1477
+ }, i;
1478
+ }
1479
+ var yo = cn();
1480
+ export {
1481
+ yo as default
1482
+ };
1483
+ //# sourceMappingURL=purify.es-Lo4sC_pz.js.map