@burdenoff/microfe-support 2026.528.1 → 2026.529.1

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.
@@ -1,94 +1,137 @@
1
1
  //#region node_modules/dompurify/dist/purify.es.mjs
2
- var { entries: e, setPrototypeOf: t, isFrozen: n, getPrototypeOf: r, getOwnPropertyDescriptor: i } = Object, { freeze: a, seal: o, create: s } = Object, { apply: c, construct: l } = typeof Reflect < "u" && Reflect;
3
- a ||= function(e) {
2
+ function e(e, t) {
3
+ (t == null || t > e.length) && (t = e.length);
4
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
5
+ return r;
6
+ }
7
+ function t(e) {
8
+ if (Array.isArray(e)) return e;
9
+ }
10
+ function n(e, t) {
11
+ var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
12
+ if (n != null) {
13
+ var r, i, a, o, s = [], c = !0, l = !1;
14
+ try {
15
+ if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
16
+ } catch (e) {
17
+ l = !0, i = e;
18
+ } finally {
19
+ try {
20
+ if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
21
+ } finally {
22
+ if (l) throw i;
23
+ }
24
+ }
25
+ return s;
26
+ }
27
+ }
28
+ function r() {
29
+ throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
30
+ }
31
+ function i(e, i) {
32
+ return t(e) || n(e, i) || a(e, i) || r();
33
+ }
34
+ function a(t, n) {
35
+ if (t) {
36
+ if (typeof t == "string") return e(t, n);
37
+ var r = {}.toString.call(t).slice(8, -1);
38
+ return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? e(t, n) : void 0;
39
+ }
40
+ }
41
+ var o = Object.entries, s = Object.setPrototypeOf, c = Object.isFrozen, l = Object.getPrototypeOf, u = Object.getOwnPropertyDescriptor, d = Object.freeze, f = Object.seal, p = Object.create, m = typeof Reflect < "u" && Reflect, ee = m.apply, te = m.construct;
42
+ d ||= function(e) {
4
43
  return e;
5
- }, o ||= function(e) {
44
+ }, f ||= function(e) {
6
45
  return e;
7
- }, c ||= function(e, t) {
46
+ }, ee ||= function(e, t) {
8
47
  var n = [...arguments].slice(2);
9
48
  return e.apply(t, n);
10
- }, l ||= function(e) {
49
+ }, te ||= function(e) {
11
50
  return new e(...[...arguments].slice(1));
12
51
  };
13
- var u = x(Array.prototype.forEach), d = x(Array.prototype.lastIndexOf), ee = x(Array.prototype.pop), f = x(Array.prototype.push), te = x(Array.prototype.splice), p = Array.isArray, m = x(String.prototype.toLowerCase), ne = x(String.prototype.toString), re = x(String.prototype.match), h = x(String.prototype.replace), ie = x(String.prototype.indexOf), ae = x(String.prototype.trim), oe = x(Number.prototype.toString), se = x(Boolean.prototype.toString), g = typeof BigInt > "u" ? null : x(BigInt.prototype.toString), ce = typeof Symbol > "u" ? null : x(Symbol.prototype.toString), _ = x(Object.prototype.hasOwnProperty), v = x(Object.prototype.toString), y = x(RegExp.prototype.test), b = S(TypeError);
14
- function x(e) {
52
+ var h = E(Array.prototype.forEach), ne = E(Array.prototype.lastIndexOf), re = E(Array.prototype.pop), g = E(Array.prototype.push), ie = E(Array.prototype.splice), _ = Array.isArray, v = E(String.prototype.toLowerCase), ae = E(String.prototype.toString), oe = E(String.prototype.match), y = E(String.prototype.replace), se = E(String.prototype.indexOf), ce = E(String.prototype.trim), le = E(Number.prototype.toString), b = E(Boolean.prototype.toString), x = typeof BigInt > "u" ? null : E(BigInt.prototype.toString), S = typeof Symbol > "u" ? null : E(Symbol.prototype.toString), C = E(Object.prototype.hasOwnProperty), w = E(Object.prototype.toString), T = E(RegExp.prototype.test), ue = D(TypeError);
53
+ function E(e) {
15
54
  return function(t) {
16
55
  t instanceof RegExp && (t.lastIndex = 0);
17
56
  var n = [...arguments].slice(1);
18
- return c(e, t, n);
57
+ return ee(e, t, n);
19
58
  };
20
59
  }
21
- function S(e) {
60
+ function D(e) {
22
61
  return function() {
23
- return l(e, [...arguments]);
62
+ return te(e, [...arguments]);
24
63
  };
25
64
  }
26
- function C(e, r) {
27
- let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : m;
28
- if (t && t(e, null), !p(r)) return e;
29
- let a = r.length;
30
- for (; a--;) {
31
- let t = r[a];
32
- if (typeof t == "string") {
33
- let e = i(t);
34
- e !== t && (n(r) || (r[a] = e), t = e);
65
+ function O(e, t) {
66
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : v;
67
+ if (s && s(e, null), !_(t)) return e;
68
+ let r = t.length;
69
+ for (; r--;) {
70
+ let i = t[r];
71
+ if (typeof i == "string") {
72
+ let e = n(i);
73
+ e !== i && (c(t) || (t[r] = e), i = e);
35
74
  }
36
- e[t] = !0;
75
+ e[i] = !0;
37
76
  }
38
77
  return e;
39
78
  }
40
- function w(e) {
41
- for (let t = 0; t < e.length; t++) _(e, t) || (e[t] = null);
79
+ function k(e) {
80
+ for (let t = 0; t < e.length; t++) C(e, t) || (e[t] = null);
42
81
  return e;
43
82
  }
44
- function T(t) {
45
- let n = s(null);
46
- for (let [r, i] of e(t)) _(t, r) && (p(i) ? n[r] = w(i) : i && typeof i == "object" && i.constructor === Object ? n[r] = T(i) : n[r] = i);
47
- return n;
83
+ function A(e) {
84
+ let t = p(null);
85
+ for (let r of o(e)) {
86
+ var n = i(r, 2);
87
+ let a = n[0], o = n[1];
88
+ C(e, a) && (_(o) ? t[a] = k(o) : o && typeof o == "object" && o.constructor === Object ? t[a] = A(o) : t[a] = o);
89
+ }
90
+ return t;
48
91
  }
49
- function le(e) {
92
+ function de(e) {
50
93
  switch (typeof e) {
51
94
  case "string": return e;
52
- case "number": return oe(e);
53
- case "boolean": return se(e);
54
- case "bigint": return g ? g(e) : "0";
55
- case "symbol": return ce ? ce(e) : "Symbol()";
56
- case "undefined": return v(e);
95
+ case "number": return le(e);
96
+ case "boolean": return b(e);
97
+ case "bigint": return x ? x(e) : "0";
98
+ case "symbol": return S ? S(e) : "Symbol()";
99
+ case "undefined": return w(e);
57
100
  case "function":
58
101
  case "object": {
59
- if (e === null) return v(e);
60
- let t = e, n = E(t, "toString");
102
+ if (e === null) return w(e);
103
+ let t = e, n = j(t, "toString");
61
104
  if (typeof n == "function") {
62
105
  let e = n(t);
63
- return typeof e == "string" ? e : v(e);
106
+ return typeof e == "string" ? e : w(e);
64
107
  }
65
- return v(e);
108
+ return w(e);
66
109
  }
67
- default: return v(e);
110
+ default: return w(e);
68
111
  }
69
112
  }
70
- function E(e, t) {
113
+ function j(e, t) {
71
114
  for (; e !== null;) {
72
- let n = i(e, t);
115
+ let n = u(e, t);
73
116
  if (n) {
74
- if (n.get) return x(n.get);
75
- if (typeof n.value == "function") return x(n.value);
117
+ if (n.get) return E(n.get);
118
+ if (typeof n.value == "function") return E(n.value);
76
119
  }
77
- e = r(e);
120
+ e = l(e);
78
121
  }
79
122
  function n() {
80
123
  return null;
81
124
  }
82
125
  return n;
83
126
  }
84
- function ue(e) {
127
+ function fe(e) {
85
128
  try {
86
- return y(e, ""), !0;
129
+ return T(e, ""), !0;
87
130
  } catch {
88
131
  return !1;
89
132
  }
90
133
  }
91
- var de = a(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), fe = a(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), pe = a([
134
+ var pe = d(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), me = d(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), he = d([
92
135
  "feBlend",
93
136
  "feColorMatrix",
94
137
  "feComponentTransfer",
@@ -114,7 +157,7 @@ var de = a(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
114
157
  "feSpotLight",
115
158
  "feTile",
116
159
  "feTurbulence"
117
- ]), me = a([
160
+ ]), ge = d([
118
161
  "animate",
119
162
  "color-profile",
120
163
  "cursor",
@@ -137,7 +180,7 @@ var de = a(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
137
180
  "solidcolor",
138
181
  "unknown",
139
182
  "use"
140
- ]), he = a(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), ge = a([
183
+ ]), _e = d(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), ve = d([
141
184
  "maction",
142
185
  "maligngroup",
143
186
  "malignmark",
@@ -153,33 +196,28 @@ var de = a(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
153
196
  "annotation-xml",
154
197
  "mprescripts",
155
198
  "none"
156
- ]), _e = a(["#text"]), ve = a(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), ye = a(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), be = a(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), xe = a([
199
+ ]), ye = d(["#text"]), be = d(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), xe = d(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), Se = d(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Ce = d([
157
200
  "xlink:href",
158
201
  "xml:id",
159
202
  "xlink:title",
160
203
  "xml:space",
161
204
  "xmlns:xlink"
162
- ]), Se = o(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ce = o(/<%[\w\W]*|[\w\W]*%>/gm), we = o(/\$\{[\w\W]*/gm), Te = o(/^data-[\-\w.\u00B7-\uFFFF]+$/), D = o(/^aria-[\-\w]+$/), Ee = o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), O = o(/^(?:\w+script|data):/i), k = o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), De = o(/^html$/i), A = o(/^[a-z][.\w]*(-[.\w]+)+$/i), Oe = /* @__PURE__ */ Object.freeze({
163
- __proto__: null,
164
- ARIA_ATTR: D,
165
- ATTR_WHITESPACE: k,
166
- CUSTOM_ELEMENT: A,
167
- DATA_ATTR: Te,
168
- DOCTYPE_NAME: De,
169
- ERB_EXPR: Ce,
170
- IS_ALLOWED_URI: Ee,
171
- IS_SCRIPT_OR_DATA: O,
172
- MUSTACHE_EXPR: Se,
173
- TMPLIT_EXPR: we
174
- }), j = {
205
+ ]), we = f(/{{[\w\W]*|^[\w\W]*}}/g), Te = f(/<%[\w\W]*|^[\w\W]*%>/g), Ee = f(/\${[\w\W]*/g), De = f(/^data-[\-\w.\u00B7-\uFFFF]+$/), Oe = f(/^aria-[\-\w]+$/), ke = f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ae = f(/^(?:\w+script|data):/i), je = f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Me = f(/^html$/i), Ne = f(/^[a-z][.\w]*(-[.\w]+)+$/i), M = {
175
206
  element: 1,
207
+ attribute: 2,
176
208
  text: 3,
209
+ cdataSection: 4,
210
+ entityReference: 5,
211
+ entityNode: 6,
177
212
  progressingInstruction: 7,
178
213
  comment: 8,
179
- document: 9
180
- }, ke = function() {
214
+ document: 9,
215
+ documentType: 10,
216
+ documentFragment: 11,
217
+ notation: 12
218
+ }, Pe = function() {
181
219
  return typeof window > "u" ? null : window;
182
- }, Ae = function(e, t) {
220
+ }, Fe = function(e, t) {
183
221
  if (typeof e != "object" || typeof e.createPolicy != "function") return null;
184
222
  let n = null, r = "data-tt-policy-suffix";
185
223
  t && t.hasAttribute(r) && (n = t.getAttribute(r));
@@ -196,7 +234,7 @@ var de = a(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
196
234
  } catch {
197
235
  return console.warn("TrustedTypes policy " + i + " could not be created."), null;
198
236
  }
199
- }, je = function() {
237
+ }, Ie = function() {
200
238
  return {
201
239
  afterSanitizeAttributes: [],
202
240
  afterSanitizeElements: [],
@@ -209,28 +247,32 @@ var de = a(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
209
247
  uponSanitizeShadowNode: []
210
248
  };
211
249
  };
212
- function Me() {
213
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ke(), n = (e) => Me(e);
214
- if (n.version = "3.4.2", n.removed = [], !t || !t.document || t.document.nodeType !== j.document || !t.Element) return n.isSupported = !1, n;
215
- let { document: r } = t, i = r, o = i.currentScript, { DocumentFragment: c, HTMLTemplateElement: l, Node: oe, Element: se, NodeFilter: g, NamedNodeMap: ce = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: v, DOMParser: x, trustedTypes: S } = t, w = se.prototype, Se = E(w, "cloneNode"), Ce = E(w, "remove"), we = E(w, "nextSibling"), Te = E(w, "childNodes"), D = E(w, "parentNode");
216
- if (typeof l == "function") {
217
- let e = r.createElement("template");
218
- e.content && e.content.ownerDocument && (r = e.content.ownerDocument);
250
+ function Le() {
251
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Pe(), t = (e) => Le(e);
252
+ if (t.version = "3.4.7", t.removed = [], !e || !e.document || e.document.nodeType !== M.document || !e.Element) return t.isSupported = !1, t;
253
+ let n = e.document, r = n, i = r.currentScript;
254
+ e.DocumentFragment;
255
+ let a = e.HTMLTemplateElement, s = e.Node, c = e.Element, l = e.NodeFilter;
256
+ e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
257
+ let u = e.DOMParser, f = e.trustedTypes, m = c.prototype, ee = j(m, "cloneNode"), te = j(m, "remove"), le = j(m, "nextSibling"), b = j(m, "childNodes"), x = j(m, "parentNode"), S = j(m, "shadowRoot"), w = j(m, "attributes"), E = s && s.prototype ? j(s.prototype, "nodeType") : null, D = s && s.prototype ? j(s.prototype, "nodeName") : null;
258
+ if (typeof a == "function") {
259
+ let e = n.createElement("template");
260
+ e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
219
261
  }
220
- let O, k = "", { implementation: A, createNodeIterator: Ne, createDocumentFragment: Pe, getElementsByTagName: Fe } = r, { importNode: Ie } = i, M = je();
221
- n.isSupported = typeof e == "function" && typeof D == "function" && A && A.createHTMLDocument !== void 0;
222
- let { MUSTACHE_EXPR: Le, ERB_EXPR: Re, TMPLIT_EXPR: N, DATA_ATTR: ze, ARIA_ATTR: Be, IS_SCRIPT_OR_DATA: Ve, ATTR_WHITESPACE: He, CUSTOM_ELEMENT: Ue } = Oe, { IS_ALLOWED_URI: We } = Oe, P = null, Ge = C({}, [
223
- ...de,
224
- ...fe,
262
+ let k, N = "", Re = n, ze = Re.implementation, Be = Re.createNodeIterator, Ve = Re.createDocumentFragment, He = Re.getElementsByTagName, Ue = r.importNode, P = Ie();
263
+ t.isSupported = typeof o == "function" && typeof x == "function" && ze && ze.createHTMLDocument !== void 0;
264
+ let We = we, Ge = Te, Ke = Ee, qe = De, Je = Oe, Ye = Ae, Xe = je, Ze = Ne, Qe = ke, F = null, $e = O({}, [
225
265
  ...pe,
266
+ ...me,
226
267
  ...he,
227
- ..._e
228
- ]), F = null, Ke = C({}, [
229
- ...ve,
230
- ...ye,
268
+ ..._e,
269
+ ...ye
270
+ ]), I = null, et = O({}, [
231
271
  ...be,
232
- ...xe
233
- ]), I = Object.seal(s(null, {
272
+ ...xe,
273
+ ...Se,
274
+ ...Ce
275
+ ]), L = Object.seal(p(null, {
234
276
  tagNameCheck: {
235
277
  writable: !0,
236
278
  configurable: !1,
@@ -249,7 +291,7 @@ function Me() {
249
291
  enumerable: !0,
250
292
  value: !1
251
293
  }
252
- })), L = null, qe = null, R = Object.seal(s(null, {
294
+ })), R = null, tt = null, z = Object.seal(p(null, {
253
295
  tagCheck: {
254
296
  writable: !0,
255
297
  configurable: !1,
@@ -262,7 +304,7 @@ function Me() {
262
304
  enumerable: !0,
263
305
  value: null
264
306
  }
265
- })), Je = !0, Ye = !0, Xe = !1, Ze = !0, z = !1, B = !0, V = !1, Qe = !1, $e = !1, H = !1, et = !1, tt = !1, nt = !0, rt = !1, it = "user-content-", at = !0, U = !1, W = {}, G = null, ot = C({}, [
307
+ })), nt = !0, rt = !0, it = !1, at = !0, B = !1, V = !0, H = !1, ot = !1, st = !1, U = !1, ct = !1, lt = !1, ut = !0, dt = !1, ft = "user-content-", pt = !0, mt = !1, W = {}, G = null, ht = O({}, [
266
308
  "annotation-xml",
267
309
  "audio",
268
310
  "colgroup",
@@ -288,14 +330,14 @@ function Me() {
288
330
  "title",
289
331
  "video",
290
332
  "xmp"
291
- ]), st = null, ct = C({}, [
333
+ ]), gt = null, _t = O({}, [
292
334
  "audio",
293
335
  "video",
294
336
  "img",
295
337
  "source",
296
338
  "image",
297
339
  "track"
298
- ]), lt = null, ut = C({}, [
340
+ ]), vt = null, yt = O({}, [
299
341
  "alt",
300
342
  "class",
301
343
  "for",
@@ -310,153 +352,179 @@ function Me() {
310
352
  "value",
311
353
  "style",
312
354
  "xmlns"
313
- ]), dt = "http://www.w3.org/1998/Math/MathML", ft = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, pt = !1, mt = null, ht = C({}, [
314
- dt,
315
- ft,
355
+ ]), bt = "http://www.w3.org/1998/Math/MathML", xt = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, St = !1, Ct = null, wt = O({}, [
356
+ bt,
357
+ xt,
316
358
  K
317
- ], ne), gt = C({}, [
359
+ ], ae), Tt = O({}, [
318
360
  "mi",
319
361
  "mo",
320
362
  "mn",
321
363
  "ms",
322
364
  "mtext"
323
- ]), _t = C({}, ["annotation-xml"]), vt = C({}, [
365
+ ]), Et = O({}, ["annotation-xml"]), Dt = O({}, [
324
366
  "title",
325
367
  "style",
326
368
  "font",
327
369
  "a",
328
370
  "script"
329
- ]), J = null, yt = ["application/xhtml+xml", "text/html"], Y = null, X = null, bt = r.createElement("form"), xt = function(e) {
371
+ ]), Ot = null, kt = ["application/xhtml+xml", "text/html"], J = null, Y = null, At = n.createElement("form"), jt = function(e) {
330
372
  return e instanceof RegExp || e instanceof Function;
331
- }, St = function() {
373
+ }, Mt = function() {
332
374
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
333
- if (X && X === e) return;
334
- (!e || typeof e != "object") && (e = {}), e = T(e), J = yt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = J === "application/xhtml+xml" ? ne : m, P = _(e, "ALLOWED_TAGS") && p(e.ALLOWED_TAGS) ? C({}, e.ALLOWED_TAGS, Y) : Ge, F = _(e, "ALLOWED_ATTR") && p(e.ALLOWED_ATTR) ? C({}, e.ALLOWED_ATTR, Y) : Ke, mt = _(e, "ALLOWED_NAMESPACES") && p(e.ALLOWED_NAMESPACES) ? C({}, e.ALLOWED_NAMESPACES, ne) : ht, lt = _(e, "ADD_URI_SAFE_ATTR") && p(e.ADD_URI_SAFE_ATTR) ? C(T(ut), e.ADD_URI_SAFE_ATTR, Y) : ut, st = _(e, "ADD_DATA_URI_TAGS") && p(e.ADD_DATA_URI_TAGS) ? C(T(ct), e.ADD_DATA_URI_TAGS, Y) : ct, G = _(e, "FORBID_CONTENTS") && p(e.FORBID_CONTENTS) ? C({}, e.FORBID_CONTENTS, Y) : ot, L = _(e, "FORBID_TAGS") && p(e.FORBID_TAGS) ? C({}, e.FORBID_TAGS, Y) : T({}), qe = _(e, "FORBID_ATTR") && p(e.FORBID_ATTR) ? C({}, e.FORBID_ATTR, Y) : T({}), W = _(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? T(e.USE_PROFILES) : e.USE_PROFILES : !1, Je = e.ALLOW_ARIA_ATTR !== !1, Ye = e.ALLOW_DATA_ATTR !== !1, Xe = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ze = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, z = e.SAFE_FOR_TEMPLATES || !1, B = e.SAFE_FOR_XML !== !1, V = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, et = e.RETURN_DOM_FRAGMENT || !1, tt = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, nt = e.SANITIZE_DOM !== !1, rt = e.SANITIZE_NAMED_PROPS || !1, at = e.KEEP_CONTENT !== !1, U = e.IN_PLACE || !1, We = ue(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Ee, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, gt = _(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? T(e.MATHML_TEXT_INTEGRATION_POINTS) : C({}, [
375
+ if (Y && Y === e) return;
376
+ (!e || typeof e != "object") && (e = {}), e = A(e), Ot = kt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = Ot === "application/xhtml+xml" ? ae : v, F = C(e, "ALLOWED_TAGS") && _(e.ALLOWED_TAGS) ? O({}, e.ALLOWED_TAGS, J) : $e, I = C(e, "ALLOWED_ATTR") && _(e.ALLOWED_ATTR) ? O({}, e.ALLOWED_ATTR, J) : et, Ct = C(e, "ALLOWED_NAMESPACES") && _(e.ALLOWED_NAMESPACES) ? O({}, e.ALLOWED_NAMESPACES, ae) : wt, vt = C(e, "ADD_URI_SAFE_ATTR") && _(e.ADD_URI_SAFE_ATTR) ? O(A(yt), e.ADD_URI_SAFE_ATTR, J) : yt, gt = C(e, "ADD_DATA_URI_TAGS") && _(e.ADD_DATA_URI_TAGS) ? O(A(_t), e.ADD_DATA_URI_TAGS, J) : _t, G = C(e, "FORBID_CONTENTS") && _(e.FORBID_CONTENTS) ? O({}, e.FORBID_CONTENTS, J) : ht, R = C(e, "FORBID_TAGS") && _(e.FORBID_TAGS) ? O({}, e.FORBID_TAGS, J) : A({}), tt = C(e, "FORBID_ATTR") && _(e.FORBID_ATTR) ? O({}, e.FORBID_ATTR, J) : A({}), W = C(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? A(e.USE_PROFILES) : e.USE_PROFILES : !1, nt = e.ALLOW_ARIA_ATTR !== !1, rt = e.ALLOW_DATA_ATTR !== !1, it = e.ALLOW_UNKNOWN_PROTOCOLS || !1, at = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, V = e.SAFE_FOR_XML !== !1, H = e.WHOLE_DOCUMENT || !1, U = e.RETURN_DOM || !1, ct = e.RETURN_DOM_FRAGMENT || !1, lt = e.RETURN_TRUSTED_TYPE || !1, st = e.FORCE_BODY || !1, ut = e.SANITIZE_DOM !== !1, dt = e.SANITIZE_NAMED_PROPS || !1, pt = e.KEEP_CONTENT !== !1, mt = e.IN_PLACE || !1, Qe = fe(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : ke, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, Tt = C(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? A(e.MATHML_TEXT_INTEGRATION_POINTS) : O({}, [
335
377
  "mi",
336
378
  "mo",
337
379
  "mn",
338
380
  "ms",
339
381
  "mtext"
340
- ]), _t = _(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? T(e.HTML_INTEGRATION_POINTS) : C({}, ["annotation-xml"]);
341
- let t = _(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? T(e.CUSTOM_ELEMENT_HANDLING) : s(null);
342
- if (I = s(null), _(t, "tagNameCheck") && xt(t.tagNameCheck) && (I.tagNameCheck = t.tagNameCheck), _(t, "attributeNameCheck") && xt(t.attributeNameCheck) && (I.attributeNameCheck = t.attributeNameCheck), _(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), z && (Ye = !1), et && (H = !0), W && (P = C({}, _e), F = s(null), W.html === !0 && (C(P, de), C(F, ve)), W.svg === !0 && (C(P, fe), C(F, ye), C(F, xe)), W.svgFilters === !0 && (C(P, pe), C(F, ye), C(F, xe)), W.mathMl === !0 && (C(P, he), C(F, be), C(F, xe))), R.tagCheck = null, R.attributeCheck = null, _(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? R.tagCheck = e.ADD_TAGS : p(e.ADD_TAGS) && (P === Ge && (P = T(P)), C(P, e.ADD_TAGS, Y))), _(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? R.attributeCheck = e.ADD_ATTR : p(e.ADD_ATTR) && (F === Ke && (F = T(F)), C(F, e.ADD_ATTR, Y))), _(e, "ADD_URI_SAFE_ATTR") && p(e.ADD_URI_SAFE_ATTR) && C(lt, e.ADD_URI_SAFE_ATTR, Y), _(e, "FORBID_CONTENTS") && p(e.FORBID_CONTENTS) && (G === ot && (G = T(G)), C(G, e.FORBID_CONTENTS, Y)), _(e, "ADD_FORBID_CONTENTS") && p(e.ADD_FORBID_CONTENTS) && (G === ot && (G = T(G)), C(G, e.ADD_FORBID_CONTENTS, Y)), at && (P["#text"] = !0), V && C(P, [
382
+ ]), Et = C(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? A(e.HTML_INTEGRATION_POINTS) : O({}, ["annotation-xml"]);
383
+ let t = C(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? A(e.CUSTOM_ELEMENT_HANDLING) : p(null);
384
+ if (L = p(null), C(t, "tagNameCheck") && jt(t.tagNameCheck) && (L.tagNameCheck = t.tagNameCheck), C(t, "attributeNameCheck") && jt(t.attributeNameCheck) && (L.attributeNameCheck = t.attributeNameCheck), C(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), B && (rt = !1), ct && (U = !0), W && (F = O({}, ye), I = p(null), W.html === !0 && (O(F, pe), O(I, be)), W.svg === !0 && (O(F, me), O(I, xe), O(I, Ce)), W.svgFilters === !0 && (O(F, he), O(I, xe), O(I, Ce)), W.mathMl === !0 && (O(F, _e), O(I, Se), O(I, Ce))), z.tagCheck = null, z.attributeCheck = null, C(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (F === $e && (F = A(F)), O(F, e.ADD_TAGS, J))), C(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (I === et && (I = A(I)), O(I, e.ADD_ATTR, J))), C(e, "ADD_URI_SAFE_ATTR") && _(e.ADD_URI_SAFE_ATTR) && O(vt, e.ADD_URI_SAFE_ATTR, J), C(e, "FORBID_CONTENTS") && _(e.FORBID_CONTENTS) && (G === ht && (G = A(G)), O(G, e.FORBID_CONTENTS, J)), C(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (G === ht && (G = A(G)), O(G, e.ADD_FORBID_CONTENTS, J)), pt && (F["#text"] = !0), H && O(F, [
343
385
  "html",
344
386
  "head",
345
387
  "body"
346
- ]), P.table && (C(P, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
347
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw b("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
348
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw b("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
349
- O = e.TRUSTED_TYPES_POLICY, k = O.createHTML("");
350
- } else O === void 0 && (O = Ae(S, o)), O !== null && typeof k == "string" && (k = O.createHTML(""));
351
- a && a(e), X = e;
352
- }, Ct = C({}, [
353
- ...fe,
354
- ...pe,
355
- ...me
356
- ]), wt = C({}, [...he, ...ge]), Tt = function(e) {
357
- let t = D(e);
388
+ ]), F.table && (O(F, ["tbody"]), delete R.tbody), e.TRUSTED_TYPES_POLICY) {
389
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw ue("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
390
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw ue("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
391
+ k = e.TRUSTED_TYPES_POLICY, N = k.createHTML("");
392
+ } else k === void 0 && (k = Fe(f, i)), k !== null && typeof N == "string" && (N = k.createHTML(""));
393
+ (P.uponSanitizeElement.length > 0 || P.uponSanitizeAttribute.length > 0) && F === $e && (F = A(F)), P.uponSanitizeAttribute.length > 0 && I === et && (I = A(I)), d && d(e), Y = e;
394
+ }, Nt = O({}, [
395
+ ...me,
396
+ ...he,
397
+ ...ge
398
+ ]), Pt = O({}, [..._e, ...ve]), Ft = function(e) {
399
+ let t = x(e);
358
400
  (!t || !t.tagName) && (t = {
359
401
  namespaceURI: q,
360
402
  tagName: "template"
361
403
  });
362
- let n = m(e.tagName), r = m(t.tagName);
363
- return mt[e.namespaceURI] ? e.namespaceURI === ft ? t.namespaceURI === K ? n === "svg" : t.namespaceURI === dt ? n === "svg" && (r === "annotation-xml" || gt[r]) : !!Ct[n] : e.namespaceURI === dt ? t.namespaceURI === K ? n === "math" : t.namespaceURI === ft ? n === "math" && _t[r] : !!wt[n] : e.namespaceURI === K ? t.namespaceURI === ft && !_t[r] || t.namespaceURI === dt && !gt[r] ? !1 : !wt[n] && (vt[n] || !Ct[n]) : !!(J === "application/xhtml+xml" && mt[e.namespaceURI]) : !1;
364
- }, Z = function(e) {
365
- f(n.removed, { element: e });
404
+ let n = v(e.tagName), r = v(t.tagName);
405
+ return Ct[e.namespaceURI] ? e.namespaceURI === xt ? t.namespaceURI === K ? n === "svg" : t.namespaceURI === bt ? n === "svg" && (r === "annotation-xml" || Tt[r]) : !!Nt[n] : e.namespaceURI === bt ? t.namespaceURI === K ? n === "math" : t.namespaceURI === xt ? n === "math" && Et[r] : !!Pt[n] : e.namespaceURI === K ? t.namespaceURI === xt && !Et[r] || t.namespaceURI === bt && !Tt[r] ? !1 : !Pt[n] && (Dt[n] || !Nt[n]) : !!(Ot === "application/xhtml+xml" && Ct[e.namespaceURI]) : !1;
406
+ }, X = function(e) {
407
+ g(t.removed, { element: e });
366
408
  try {
367
- D(e).removeChild(e);
409
+ x(e).removeChild(e);
368
410
  } catch {
369
- Ce(e);
411
+ te(e);
370
412
  }
371
- }, Q = function(e, t) {
413
+ }, Z = function(e, n) {
372
414
  try {
373
- f(n.removed, {
374
- attribute: t.getAttributeNode(e),
375
- from: t
415
+ g(t.removed, {
416
+ attribute: n.getAttributeNode(e),
417
+ from: n
376
418
  });
377
419
  } catch {
378
- f(n.removed, {
420
+ g(t.removed, {
379
421
  attribute: null,
380
- from: t
422
+ from: n
381
423
  });
382
424
  }
383
- if (t.removeAttribute(e), e === "is") if (H || et) try {
384
- Z(t);
425
+ if (n.removeAttribute(e), e === "is") if (U || ct) try {
426
+ X(n);
385
427
  } catch {}
386
428
  else try {
387
- t.setAttribute(e, "");
429
+ n.setAttribute(e, "");
388
430
  } catch {}
389
- }, Et = function(e) {
390
- let t = null, n = null;
391
- if ($e) e = "<remove></remove>" + e;
431
+ }, It = function(e) {
432
+ let t = null, r = null;
433
+ if (st) e = "<remove></remove>" + e;
392
434
  else {
393
- let t = re(e, /^[\r\n\t ]+/);
394
- n = t && t[0];
435
+ let t = oe(e, /^[\r\n\t ]+/);
436
+ r = t && t[0];
395
437
  }
396
- J === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
397
- let i = O ? O.createHTML(e) : e;
438
+ Ot === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
439
+ let i = k ? k.createHTML(e) : e;
398
440
  if (q === K) try {
399
- t = new x().parseFromString(i, J);
441
+ t = new u().parseFromString(i, Ot);
400
442
  } catch {}
401
443
  if (!t || !t.documentElement) {
402
- t = A.createDocument(q, "template", null);
444
+ t = ze.createDocument(q, "template", null);
403
445
  try {
404
- t.documentElement.innerHTML = pt ? k : i;
446
+ t.documentElement.innerHTML = St ? N : i;
405
447
  } catch {}
406
448
  }
407
449
  let a = t.body || t.documentElement;
408
- return e && n && a.insertBefore(r.createTextNode(n), a.childNodes[0] || null), q === K ? Fe.call(t, V ? "html" : "body")[0] : V ? t.documentElement : a;
409
- }, Dt = function(e) {
410
- return Ne.call(e.ownerDocument || e, e, g.SHOW_ELEMENT | g.SHOW_COMMENT | g.SHOW_TEXT | g.SHOW_PROCESSING_INSTRUCTION | g.SHOW_CDATA_SECTION, null);
411
- }, Ot = function(e) {
412
- return e instanceof v && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof ce) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
413
- }, kt = function(e) {
414
- return typeof oe == "function" && e instanceof oe;
450
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ? He.call(t, H ? "html" : "body")[0] : H ? t.documentElement : a;
451
+ }, Lt = function(e) {
452
+ return Be.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
453
+ }, Rt = function(e) {
454
+ e.normalize();
455
+ let t = Be.call(e.ownerDocument || e, e, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
456
+ for (; n;) {
457
+ let e = n.data;
458
+ h([
459
+ We,
460
+ Ge,
461
+ Ke
462
+ ], (t) => {
463
+ e = y(e, t, " ");
464
+ }), n.data = e, n = t.nextNode();
465
+ }
466
+ }, zt = function(e) {
467
+ let t = D ? D(e) : null;
468
+ return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== w(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== E(e) || e.childNodes !== b(e);
469
+ }, Bt = function(e) {
470
+ if (!E || typeof e != "object" || !e) return !1;
471
+ try {
472
+ return E(e) === M.documentFragment;
473
+ } catch {
474
+ return !1;
475
+ }
476
+ }, Vt = function(e) {
477
+ if (!E || typeof e != "object" || !e) return !1;
478
+ try {
479
+ return typeof E(e) == "number";
480
+ } catch {
481
+ return !1;
482
+ }
415
483
  };
416
- function $(e, t, r) {
417
- u(e, (e) => {
418
- e.call(n, t, r, X);
484
+ function Q(e, n, r) {
485
+ h(e, (e) => {
486
+ e.call(t, n, r, Y);
419
487
  });
420
488
  }
421
- let At = function(e) {
422
- let t = null;
423
- if ($(M.beforeSanitizeElements, e, null), Ot(e)) return Z(e), !0;
424
- let r = Y(e.nodeName);
425
- if ($(M.uponSanitizeElement, e, {
489
+ let Ht = function(e) {
490
+ let n = null;
491
+ if (Q(P.beforeSanitizeElements, e, null), zt(e)) return X(e), !0;
492
+ let r = J(e.nodeName);
493
+ if (Q(P.uponSanitizeElement, e, {
426
494
  tagName: r,
427
- allowedTags: P
428
- }), B && e.hasChildNodes() && !kt(e.firstElementChild) && y(/<[/\w!]/g, e.innerHTML) && y(/<[/\w!]/g, e.textContent) || B && e.namespaceURI === K && r === "style" && kt(e.firstElementChild) || e.nodeType === j.progressingInstruction || B && e.nodeType === j.comment && y(/<[/\w]/g, e.data)) return Z(e), !0;
429
- if (L[r] || !(R.tagCheck instanceof Function && R.tagCheck(r)) && !P[r]) {
430
- if (!L[r] && Nt(r) && (I.tagNameCheck instanceof RegExp && y(I.tagNameCheck, r) || I.tagNameCheck instanceof Function && I.tagNameCheck(r))) return !1;
431
- if (at && !G[r]) {
432
- let t = D(e) || e.parentNode, n = Te(e) || e.childNodes;
495
+ allowedTags: F
496
+ }), V && e.hasChildNodes() && !Vt(e.firstElementChild) && T(/<[/\w!]/g, e.innerHTML) && T(/<[/\w!]/g, e.textContent) || V && e.namespaceURI === K && r === "style" && Vt(e.firstElementChild) || e.nodeType === M.progressingInstruction || V && e.nodeType === M.comment && T(/<[/\w]/g, e.data)) return X(e), !0;
497
+ if (R[r] || !(z.tagCheck instanceof Function && z.tagCheck(r)) && !F[r]) {
498
+ if (!R[r] && Gt(r) && (L.tagNameCheck instanceof RegExp && T(L.tagNameCheck, r) || L.tagNameCheck instanceof Function && L.tagNameCheck(r))) return !1;
499
+ if (pt && !G[r]) {
500
+ let t = x(e), n = b(e);
433
501
  if (n && t) {
434
502
  let r = n.length;
435
503
  for (let i = r - 1; i >= 0; --i) {
436
- let r = Se(n[i], !0);
437
- t.insertBefore(r, we(e));
504
+ let r = ee(n[i], !0);
505
+ t.insertBefore(r, le(e));
438
506
  }
439
507
  }
440
508
  }
441
- return Z(e), !0;
509
+ return X(e), !0;
442
510
  }
443
- return e instanceof se && !Tt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && y(/<\/no(script|embed|frames)/i, e.innerHTML) ? (Z(e), !0) : (z && e.nodeType === j.text && (t = e.textContent, u([
444
- Le,
445
- Re,
446
- N
511
+ return (E ? E(e) : e.nodeType) === M.element && !Ft(e) || (r === "noscript" || r === "noembed" || r === "noframes") && T(/<\/no(script|embed|frames)/i, e.innerHTML) ? (X(e), !0) : (B && e.nodeType === M.text && (n = e.textContent, h([
512
+ We,
513
+ Ge,
514
+ Ke
447
515
  ], (e) => {
448
- t = h(t, e, " ");
449
- }), e.textContent !== t && (f(n.removed, { element: e.cloneNode() }), e.textContent = t)), $(M.afterSanitizeElements, e, null), !1);
450
- }, jt = function(e, t, n) {
451
- if (qe[t] || nt && (t === "id" || t === "name") && (n in r || n in bt)) return !1;
452
- let i = F[t] || R.attributeCheck instanceof Function && R.attributeCheck(t, e);
453
- if (!(Ye && !qe[t] && y(ze, t)) && !(Je && y(Be, t))) {
454
- if (!i || qe[t]) {
455
- if (!(Nt(e) && (I.tagNameCheck instanceof RegExp && y(I.tagNameCheck, e) || I.tagNameCheck instanceof Function && I.tagNameCheck(e)) && (I.attributeNameCheck instanceof RegExp && y(I.attributeNameCheck, t) || I.attributeNameCheck instanceof Function && I.attributeNameCheck(t, e)) || t === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && y(I.tagNameCheck, n) || I.tagNameCheck instanceof Function && I.tagNameCheck(n)))) return !1;
456
- } else if (!lt[t] && !y(We, h(n, He, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && ie(n, "data:") === 0 && st[e]) && !(Xe && !y(Ve, h(n, He, ""))) && n) return !1;
516
+ n = y(n, e, " ");
517
+ }), e.textContent !== n && (g(t.removed, { element: e.cloneNode() }), e.textContent = n)), Q(P.afterSanitizeElements, e, null), !1);
518
+ }, Ut = function(e, t, r) {
519
+ if (tt[t] || ut && (t === "id" || t === "name") && (r in n || r in At)) return !1;
520
+ let i = I[t] || z.attributeCheck instanceof Function && z.attributeCheck(t, e);
521
+ if (!(rt && !tt[t] && T(qe, t)) && !(nt && T(Je, t))) {
522
+ if (!i || tt[t]) {
523
+ if (!(Gt(e) && (L.tagNameCheck instanceof RegExp && T(L.tagNameCheck, e) || L.tagNameCheck instanceof Function && L.tagNameCheck(e)) && (L.attributeNameCheck instanceof RegExp && T(L.attributeNameCheck, t) || L.attributeNameCheck instanceof Function && L.attributeNameCheck(t, e)) || t === "is" && L.allowCustomizedBuiltInElements && (L.tagNameCheck instanceof RegExp && T(L.tagNameCheck, r) || L.tagNameCheck instanceof Function && L.tagNameCheck(r)))) return !1;
524
+ } else if (!vt[t] && !T(Qe, y(r, Xe, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && se(r, "data:") === 0 && gt[e]) && !(it && !T(Ye, y(r, Xe, ""))) && r) return !1;
457
525
  }
458
526
  return !0;
459
- }, Mt = C({}, [
527
+ }, Wt = O({}, [
460
528
  "annotation-xml",
461
529
  "color-profile",
462
530
  "font-face",
@@ -465,135 +533,149 @@ function Me() {
465
533
  "font-face-src",
466
534
  "font-face-uri",
467
535
  "missing-glyph"
468
- ]), Nt = function(e) {
469
- return !Mt[m(e)] && y(Ue, e);
470
- }, Pt = function(e) {
471
- $(M.beforeSanitizeAttributes, e, null);
472
- let { attributes: t } = e;
473
- if (!t || Ot(e)) return;
536
+ ]), Gt = function(e) {
537
+ return !Wt[v(e)] && T(Ze, e);
538
+ }, Kt = function(e) {
539
+ Q(P.beforeSanitizeAttributes, e, null);
540
+ let n = e.attributes;
541
+ if (!n || zt(e)) return;
474
542
  let r = {
475
543
  attrName: "",
476
544
  attrValue: "",
477
545
  keepAttr: !0,
478
- allowedAttributes: F,
546
+ allowedAttributes: I,
479
547
  forceKeepAttr: void 0
480
- }, i = t.length;
548
+ }, i = n.length;
481
549
  for (; i--;) {
482
- let { name: a, namespaceURI: o, value: s } = t[i], c = Y(a), l = s, d = a === "value" ? l : ae(l);
483
- if (r.attrName = c, r.attrValue = d, r.keepAttr = !0, r.forceKeepAttr = void 0, $(M.uponSanitizeAttribute, e, r), d = r.attrValue, rt && (c === "id" || c === "name") && ie(d, it) !== 0 && (Q(a, e), d = it + d), B && y(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
484
- Q(a, e);
550
+ let a = n[i], o = a.name, s = a.namespaceURI, c = a.value, l = J(o), u = c, d = o === "value" ? u : ce(u);
551
+ if (r.attrName = l, r.attrValue = d, r.keepAttr = !0, r.forceKeepAttr = void 0, Q(P.uponSanitizeAttribute, e, r), d = r.attrValue, dt && (l === "id" || l === "name") && se(d, ft) !== 0 && (Z(o, e), d = ft + d), V && T(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
552
+ Z(o, e);
485
553
  continue;
486
554
  }
487
- if (c === "attributename" && re(d, "href")) {
488
- Q(a, e);
555
+ if (l === "attributename" && oe(d, "href")) {
556
+ Z(o, e);
489
557
  continue;
490
558
  }
491
559
  if (r.forceKeepAttr) continue;
492
560
  if (!r.keepAttr) {
493
- Q(a, e);
561
+ Z(o, e);
494
562
  continue;
495
563
  }
496
- if (!Ze && y(/\/>/i, d)) {
497
- Q(a, e);
564
+ if (!at && T(/\/>/i, d)) {
565
+ Z(o, e);
498
566
  continue;
499
567
  }
500
- z && u([
501
- Le,
502
- Re,
503
- N
568
+ B && h([
569
+ We,
570
+ Ge,
571
+ Ke
504
572
  ], (e) => {
505
- d = h(d, e, " ");
573
+ d = y(d, e, " ");
506
574
  });
507
- let f = Y(e.nodeName);
508
- if (!jt(f, c, d)) {
509
- Q(a, e);
575
+ let p = J(e.nodeName);
576
+ if (!Ut(p, l, d)) {
577
+ Z(o, e);
510
578
  continue;
511
579
  }
512
- if (O && typeof S == "object" && typeof S.getAttributeType == "function" && !o) switch (S.getAttributeType(f, c)) {
580
+ if (k && typeof f == "object" && typeof f.getAttributeType == "function" && !s) switch (f.getAttributeType(p, l)) {
513
581
  case "TrustedHTML":
514
- d = O.createHTML(d);
582
+ d = k.createHTML(d);
515
583
  break;
516
584
  case "TrustedScriptURL":
517
- d = O.createScriptURL(d);
585
+ d = k.createScriptURL(d);
518
586
  break;
519
587
  }
520
- if (d !== l) try {
521
- o ? e.setAttributeNS(o, a, d) : e.setAttribute(a, d), Ot(e) ? Z(e) : ee(n.removed);
588
+ if (d !== u) try {
589
+ s ? e.setAttributeNS(s, o, d) : e.setAttribute(o, d), zt(e) ? X(e) : re(t.removed);
522
590
  } catch {
523
- Q(a, e);
591
+ Z(o, e);
592
+ }
593
+ }
594
+ Q(P.afterSanitizeAttributes, e, null);
595
+ }, qt = function(e) {
596
+ let t = null, n = Lt(e);
597
+ for (Q(P.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Q(P.uponSanitizeShadowNode, t, null), Ht(t), Kt(t), Bt(t.content) && qt(t.content), (E ? E(t) : t.nodeType) === M.element) {
598
+ let e = S ? S(t) : t.shadowRoot;
599
+ Bt(e) && ($(e), qt(e));
600
+ }
601
+ Q(P.afterSanitizeShadowDOM, e, null);
602
+ }, $ = function(e) {
603
+ let t = E ? E(e) : e.nodeType;
604
+ if (t === M.element) {
605
+ let t = S ? S(e) : e.shadowRoot;
606
+ Bt(t) && ($(t), qt(t));
607
+ }
608
+ let n = b ? b(e) : e.childNodes;
609
+ if (!n) return;
610
+ let r = [];
611
+ h(n, (e) => {
612
+ g(r, e);
613
+ });
614
+ for (let e of r) $(e);
615
+ if (t === M.element) {
616
+ let t = D ? D(e) : null;
617
+ if (typeof t == "string" && J(t) === "template") {
618
+ let t = e.content;
619
+ Bt(t) && $(t);
524
620
  }
525
621
  }
526
- $(M.afterSanitizeAttributes, e, null);
527
- }, Ft = function(e) {
528
- let t = null, n = Dt(e);
529
- for ($(M.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) $(M.uponSanitizeShadowNode, t, null), At(t), Pt(t), t.content instanceof c && Ft(t.content);
530
- $(M.afterSanitizeShadowDOM, e, null);
531
622
  };
532
- return n.sanitize = function(e) {
533
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = null, a = null, o = null, s = null;
534
- if (pt = !e, pt && (e = "<!-->"), typeof e != "string" && !kt(e) && (e = le(e), typeof e != "string")) throw b("dirty is not a string, aborting");
535
- if (!n.isSupported) return e;
536
- if (Qe || St(t), n.removed = [], typeof e == "string" && (U = !1), U) {
537
- let t = e.nodeName;
623
+ return t.sanitize = function(e) {
624
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
625
+ if (St = !e, St && (e = "<!-->"), typeof e != "string" && !Vt(e) && (e = de(e), typeof e != "string")) throw ue("dirty is not a string, aborting");
626
+ if (!t.isSupported) return e;
627
+ if (ot || Mt(n), t.removed = [], typeof e == "string" && (mt = !1), mt) {
628
+ let t = D ? D(e) : e.nodeName;
538
629
  if (typeof t == "string") {
539
- let e = Y(t);
540
- if (!P[e] || L[e]) throw b("root node is forbidden and cannot be sanitized in-place");
630
+ let e = J(t);
631
+ if (!F[e] || R[e]) throw ue("root node is forbidden and cannot be sanitized in-place");
541
632
  }
542
- } else if (e instanceof oe) r = Et("<!---->"), a = r.ownerDocument.importNode(e, !0), a.nodeType === j.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? r = a : r.appendChild(a);
633
+ if (zt(e)) throw ue("root node is clobbered and cannot be sanitized in-place");
634
+ $(e);
635
+ } else if (Vt(e)) i = It("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === M.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), $(a);
543
636
  else {
544
- if (!H && !z && !V && e.indexOf("<") === -1) return O && tt ? O.createHTML(e) : e;
545
- if (r = Et(e), !r) return H ? null : tt ? k : "";
637
+ if (!U && !B && !H && e.indexOf("<") === -1) return k && lt ? k.createHTML(e) : e;
638
+ if (i = It(e), !i) return U ? null : lt ? N : "";
546
639
  }
547
- r && $e && Z(r.firstChild);
548
- let l = Dt(U ? e : r);
549
- for (; o = l.nextNode();) At(o), Pt(o), o.content instanceof c && Ft(o.content);
550
- if (U) return e;
551
- if (H) {
552
- if (z) {
553
- r.normalize();
554
- let e = r.innerHTML;
555
- u([
556
- Le,
557
- Re,
558
- N
559
- ], (t) => {
560
- e = h(e, t, " ");
561
- }), r.innerHTML = e;
562
- }
563
- if (et) for (s = Pe.call(r.ownerDocument); r.firstChild;) s.appendChild(r.firstChild);
564
- else s = r;
565
- return (F.shadowroot || F.shadowrootmode) && (s = Ie.call(i, s, !0)), s;
640
+ i && st && X(i.firstChild);
641
+ let c = Lt(mt ? e : i);
642
+ for (; o = c.nextNode();) Ht(o), Kt(o), Bt(o.content) && qt(o.content);
643
+ if (mt) return B && Rt(e), e;
644
+ if (U) {
645
+ if (B && Rt(i), ct) for (s = Ve.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
646
+ else s = i;
647
+ return (I.shadowroot || I.shadowrootmode) && (s = Ue.call(r, s, !0)), s;
566
648
  }
567
- let d = V ? r.outerHTML : r.innerHTML;
568
- return V && P["!doctype"] && r.ownerDocument && r.ownerDocument.doctype && r.ownerDocument.doctype.name && y(De, r.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + r.ownerDocument.doctype.name + ">\n" + d), z && u([
569
- Le,
570
- Re,
571
- N
649
+ let l = H ? i.outerHTML : i.innerHTML;
650
+ return H && F["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && T(Me, i.ownerDocument.doctype.name) && (l = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + l), B && h([
651
+ We,
652
+ Ge,
653
+ Ke
572
654
  ], (e) => {
573
- d = h(d, e, " ");
574
- }), O && tt ? O.createHTML(d) : d;
575
- }, n.setConfig = function() {
576
- St(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Qe = !0;
577
- }, n.clearConfig = function() {
578
- X = null, Qe = !1;
579
- }, n.isValidAttribute = function(e, t, n) {
580
- return X || St({}), jt(Y(e), Y(t), n);
581
- }, n.addHook = function(e, t) {
582
- typeof t == "function" && f(M[e], t);
583
- }, n.removeHook = function(e, t) {
655
+ l = y(l, e, " ");
656
+ }), k && lt ? k.createHTML(l) : l;
657
+ }, t.setConfig = function() {
658
+ Mt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), ot = !0;
659
+ }, t.clearConfig = function() {
660
+ Y = null, ot = !1;
661
+ }, t.isValidAttribute = function(e, t, n) {
662
+ return Y || Mt({}), Ut(J(e), J(t), n);
663
+ }, t.addHook = function(e, t) {
664
+ typeof t == "function" && g(P[e], t);
665
+ }, t.removeHook = function(e, t) {
584
666
  if (t !== void 0) {
585
- let n = d(M[e], t);
586
- return n === -1 ? void 0 : te(M[e], n, 1)[0];
667
+ let n = ne(P[e], t);
668
+ return n === -1 ? void 0 : ie(P[e], n, 1)[0];
587
669
  }
588
- return ee(M[e]);
589
- }, n.removeHooks = function(e) {
590
- M[e] = [];
591
- }, n.removeAllHooks = function() {
592
- M = je();
593
- }, n;
670
+ return re(P[e]);
671
+ }, t.removeHooks = function(e) {
672
+ P[e] = [];
673
+ }, t.removeAllHooks = function() {
674
+ P = Ie();
675
+ }, t;
594
676
  }
595
- var Ne = Me();
677
+ var N = Le();
596
678
  //#endregion
597
- export { Ne as purify };
679
+ export { N as purify };
598
680
 
599
681
  //# sourceMappingURL=purify.es.js.map