@ianicdev/datatables2 0.12.4 → 0.12.5

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 (44) hide show
  1. package/dist/{Comparison-CkfJ5icH.js → Comparison-BlfHiw2Y.js} +1 -1
  2. package/dist/{Comparison-BENb-uJ3.cjs → Comparison-RcGzCD7r.cjs} +1 -1
  3. package/dist/{Datepicker-BBDpZ2Ug.cjs → Datepicker-0BJE3OX_.cjs} +1 -1
  4. package/dist/{Datepicker-CTyeodki.js → Datepicker-CAquATKE.js} +52 -52
  5. package/dist/{Options-D8zfAuOx.cjs → Options-BhUy--q_.cjs} +1 -1
  6. package/dist/{Options-B-D0T3Gk.js → Options-DE0dhSAr.js} +30 -30
  7. package/dist/{RefreshTable-BVL9SwnI.js → RefreshTable-Bo1hhsMZ.js} +1 -1
  8. package/dist/{RefreshTable-DRsnuM9T.cjs → RefreshTable-XmffqJPB.cjs} +1 -1
  9. package/dist/{Search-BJxva4d6.js → Search-J0WJ85wF.js} +3 -3
  10. package/dist/{Search-fBi-Au7U.cjs → Search-XFnSdwn-.cjs} +1 -1
  11. package/dist/{Table-2wX7Tfqq.cjs → Table-BS3clvEY.cjs} +1 -1
  12. package/dist/{Table-Ojm6jON0.js → Table-DFtQtFcJ.js} +7 -7
  13. package/dist/TableServer-D0ZJ6VUE.cjs +20 -0
  14. package/dist/TableServer-IjLcUL_g.js +3944 -0
  15. package/dist/{cellRender-BuZe95It.cjs → cellRender-6nihEq3L.cjs} +1 -1
  16. package/dist/{cellRender-4CCd97WJ.js → cellRender-uMptaar0.js} +51 -51
  17. package/dist/{dataTables-DyvnKrlV.js → dataTables-C7H3Cult.js} +52 -51
  18. package/dist/{dataTables-Bw5aMiJa.cjs → dataTables-C8NYn9Ot.cjs} +3 -3
  19. package/dist/datatables.cjs +1 -1
  20. package/dist/datatables.js +1 -1
  21. package/dist/{index-CHGKfvm9.cjs → index-BDwrihkv.cjs} +1 -1
  22. package/dist/{index-IPPX7zoe.js → index-BKTw5JWB.js} +10 -10
  23. package/dist/index-BKb3NFNY.cjs +1 -0
  24. package/dist/{index-DIDGYVDN.cjs → index-C2K8yzqR.cjs} +1 -1
  25. package/dist/{index-C3h89vBB.cjs → index-C48GHooD.cjs} +1 -1
  26. package/dist/{index-CbxPol6H.js → index-C_kbqeia.js} +181 -181
  27. package/dist/{index-AVaBHSnQ.js → index-DSFlXL5k.js} +5 -5
  28. package/dist/{index-CkVynD5f.js → index-qYB25tH8.js} +2 -2
  29. package/dist/{index.es-CK9mjb_K.cjs → index.es-2MQhREvK.cjs} +1 -1
  30. package/dist/{index.es-BISbMM3V.js → index.es-BFlnZJ5-.js} +1 -1
  31. package/dist/{jspdf-CEG2zMqe.js → jspdf--k_BCiS7.js} +2 -2
  32. package/dist/{jspdf-DZiw2wns.cjs → jspdf-Hm0oHFrh.cjs} +2 -2
  33. package/dist/purify.es-B_jmwKeU.cjs +2 -0
  34. package/dist/{purify.es-DIxY135m.js → purify.es-CMwH3CPX.js} +114 -114
  35. package/dist/{useColumns-DQbX0PuE.cjs → useColumns-BiB-zJy_.cjs} +1 -1
  36. package/dist/{useColumns-BLSMvLMG.js → useColumns-tiuZofah.js} +2 -2
  37. package/dist/{useDownload-DpS1G0qa.js → useDownload-BbiPuiZP.js} +77 -76
  38. package/dist/useDownload-mYZxXe0l.cjs +1 -0
  39. package/package.json +11 -11
  40. package/dist/TableServer-Blacuprb.js +0 -3946
  41. package/dist/TableServer-D2MEpid4.cjs +0 -20
  42. package/dist/index-Cp5mbqY9.cjs +0 -1
  43. package/dist/purify.es-DSa7RKfV.cjs +0 -2
  44. package/dist/useDownload-tCiK460H.cjs +0 -1
@@ -7,21 +7,21 @@ const {
7
7
  } = Object;
8
8
  let {
9
9
  freeze: S,
10
- seal: L,
11
- create: ve
10
+ seal: b,
11
+ create: me
12
12
  } = Object, {
13
- apply: ke,
13
+ apply: ve,
14
14
  construct: Ue
15
15
  } = typeof Reflect < "u" && Reflect;
16
16
  S || (S = function(o) {
17
17
  return o;
18
18
  });
19
- L || (L = function(o) {
19
+ b || (b = function(o) {
20
20
  return o;
21
21
  });
22
- ke || (ke = function(o, l) {
23
- for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), O = 2; O < a; O++)
24
- c[O - 2] = arguments[O];
22
+ ve || (ve = function(o, l) {
23
+ for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), D = 2; D < a; D++)
24
+ c[D - 2] = arguments[D];
25
25
  return o.apply(l, c);
26
26
  });
27
27
  Ue || (Ue = function(o) {
@@ -29,13 +29,13 @@ Ue || (Ue = function(o) {
29
29
  a[c - 1] = arguments[c];
30
30
  return new o(...a);
31
31
  });
32
- const ce = R(Array.prototype.forEach), Vt = R(Array.prototype.lastIndexOf), ft = R(Array.prototype.pop), q = R(Array.prototype.push), $t = R(Array.prototype.splice), ue = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), Ce = R(String.prototype.match), K = R(String.prototype.replace), qt = R(String.prototype.indexOf), Kt = R(String.prototype.trim), y = R(Object.prototype.hasOwnProperty), h = R(RegExp.prototype.test), Z = Zt(TypeError);
32
+ const fe = R(Array.prototype.forEach), Vt = R(Array.prototype.lastIndexOf), ft = R(Array.prototype.pop), q = R(Array.prototype.push), $t = R(Array.prototype.splice), pe = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), Me = R(String.prototype.match), K = R(String.prototype.replace), qt = R(String.prototype.indexOf), Kt = R(String.prototype.trim), L = R(Object.prototype.hasOwnProperty), h = R(RegExp.prototype.test), Z = Zt(TypeError);
33
33
  function R(s) {
34
34
  return function(o) {
35
35
  o instanceof RegExp && (o.lastIndex = 0);
36
36
  for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
37
37
  a[c - 1] = arguments[c];
38
- return ke(s, o, a);
38
+ return ve(s, o, a);
39
39
  };
40
40
  }
41
41
  function Zt(s) {
@@ -46,14 +46,14 @@ function Zt(s) {
46
46
  };
47
47
  }
48
48
  function r(s, o) {
49
- let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ue;
49
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : pe;
50
50
  ct && ct(s, null);
51
51
  let a = o.length;
52
52
  for (; a--; ) {
53
53
  let c = o[a];
54
54
  if (typeof c == "string") {
55
- const O = l(c);
56
- O !== c && (Yt(o) || (o[a] = O), c = O);
55
+ const D = l(c);
56
+ D !== c && (Yt(o) || (o[a] = D), c = D);
57
57
  }
58
58
  s[c] = !0;
59
59
  }
@@ -61,13 +61,13 @@ function r(s, o) {
61
61
  }
62
62
  function Jt(s) {
63
63
  for (let o = 0; o < s.length; o++)
64
- y(s, o) || (s[o] = null);
64
+ L(s, o) || (s[o] = null);
65
65
  return s;
66
66
  }
67
- function I(s) {
68
- const o = ve(null);
67
+ function C(s) {
68
+ const o = me(null);
69
69
  for (const [l, a] of _t(s))
70
- y(s, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = I(a) : o[l] = a);
70
+ L(s, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = C(a) : o[l] = a);
71
71
  return o;
72
72
  }
73
73
  function J(s, o) {
@@ -86,13 +86,13 @@ function J(s, o) {
86
86
  }
87
87
  return l;
88
88
  }
89
- const ut = S(["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"]), Me = S(["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"]), we = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Qt = S(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), xe = S(["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"]), en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mt = S(["#text"]), pt = S(["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", "slot"]), Pe = S(["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"]), Tt = S(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "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"]), fe = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), tn = L(/\{\{[\w\W]*|[\w\W]*\}\}/gm), nn = L(/<%[\w\W]*|[\w\W]*%>/gm), on = L(/\$\{[\w\W]*/gm), an = L(/^data-[\-\w.\u00B7-\uFFFF]+$/), rn = L(/^aria-[\-\w]+$/), gt = L(
89
+ const ut = S(["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"]), we = S(["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"]), xe = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Qt = S(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Pe = S(["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"]), en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mt = S(["#text"]), pt = S(["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", "slot"]), ke = S(["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"]), Tt = S(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "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"]), ue = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), tn = b(/\{\{[\w\W]*|[\w\W]*\}\}/gm), nn = b(/<%[\w\W]*|[\w\W]*%>/gm), on = b(/\$\{[\w\W]*/gm), an = b(/^data-[\-\w.\u00B7-\uFFFF]+$/), rn = b(/^aria-[\-\w]+$/), gt = b(
90
90
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
91
91
  // eslint-disable-line no-useless-escape
92
- ), sn = L(/^(?:\w+script|data):/i), ln = L(
92
+ ), sn = b(/^(?:\w+script|data):/i), ln = b(
93
93
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
94
94
  // eslint-disable-line no-control-regex
95
- ), At = L(/^html$/i), cn = L(/^[a-z][.\w]*(-[.\w]+)+$/i);
95
+ ), At = b(/^html$/i), cn = b(/^[a-z][.\w]*(-[.\w]+)+$/i);
96
96
  var dt = /* @__PURE__ */ Object.freeze({
97
97
  __proto__: null,
98
98
  ARIA_ATTR: rn,
@@ -121,9 +121,9 @@ const Q = {
121
121
  let a = null;
122
122
  const c = "data-tt-policy-suffix";
123
123
  l && l.hasAttribute(c) && (a = l.getAttribute(c));
124
- const O = "dompurify" + (a ? "#" + a : "");
124
+ const D = "dompurify" + (a ? "#" + a : "");
125
125
  try {
126
- return o.createPolicy(O, {
126
+ return o.createPolicy(D, {
127
127
  createHTML(v) {
128
128
  return v;
129
129
  },
@@ -132,7 +132,7 @@ const Q = {
132
132
  }
133
133
  });
134
134
  } catch {
135
- return console.warn("TrustedTypes policy " + O + " could not be created."), null;
135
+ return console.warn("TrustedTypes policy " + D + " could not be created."), null;
136
136
  }
137
137
  }, Et = function() {
138
138
  return {
@@ -150,54 +150,54 @@ const Q = {
150
150
  function ht() {
151
151
  let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn();
152
152
  const o = (i) => ht(i);
153
- if (o.version = "3.3.1", o.removed = [], !s || !s.document || s.document.nodeType !== Q.document || !s.Element)
153
+ if (o.version = "3.3.3", o.removed = [], !s || !s.document || s.document.nodeType !== Q.document || !s.Element)
154
154
  return o.isSupported = !1, o;
155
155
  let {
156
156
  document: l
157
157
  } = s;
158
158
  const a = l, c = a.currentScript, {
159
- DocumentFragment: O,
159
+ DocumentFragment: D,
160
160
  HTMLTemplateElement: v,
161
- Node: me,
161
+ Node: Te,
162
162
  Element: Fe,
163
163
  NodeFilter: B,
164
164
  NamedNodeMap: St = s.NamedNodeMap || s.MozNamedAttrMap,
165
165
  HTMLFormElement: Rt,
166
- DOMParser: Ot,
166
+ DOMParser: Dt,
167
167
  trustedTypes: ee
168
- } = s, Y = Fe.prototype, Dt = J(Y, "cloneNode"), Lt = J(Y, "remove"), yt = J(Y, "nextSibling"), bt = J(Y, "childNodes"), te = J(Y, "parentNode");
168
+ } = s, Y = Fe.prototype, Ot = J(Y, "cloneNode"), Lt = J(Y, "remove"), bt = J(Y, "nextSibling"), yt = J(Y, "childNodes"), te = J(Y, "parentNode");
169
169
  if (typeof v == "function") {
170
170
  const i = l.createElement("template");
171
171
  i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
172
172
  }
173
173
  let g, X = "";
174
174
  const {
175
- implementation: pe,
175
+ implementation: de,
176
176
  createNodeIterator: Nt,
177
- createDocumentFragment: It,
178
- getElementsByTagName: Ct
177
+ createDocumentFragment: Ct,
178
+ getElementsByTagName: It
179
179
  } = l, {
180
180
  importNode: Mt
181
181
  } = a;
182
182
  let A = Et();
183
- o.isSupported = typeof _t == "function" && typeof te == "function" && pe && pe.createHTMLDocument !== void 0;
183
+ o.isSupported = typeof _t == "function" && typeof te == "function" && de && de.createHTMLDocument !== void 0;
184
184
  const {
185
- MUSTACHE_EXPR: Te,
186
- ERB_EXPR: de,
187
- TMPLIT_EXPR: Ee,
185
+ MUSTACHE_EXPR: Ee,
186
+ ERB_EXPR: _e,
187
+ TMPLIT_EXPR: ge,
188
188
  DATA_ATTR: wt,
189
189
  ARIA_ATTR: xt,
190
190
  IS_SCRIPT_OR_DATA: Pt,
191
191
  ATTR_WHITESPACE: He,
192
- CUSTOM_ELEMENT: vt
192
+ CUSTOM_ELEMENT: kt
193
193
  } = dt;
194
194
  let {
195
195
  IS_ALLOWED_URI: ze
196
196
  } = dt, T = null;
197
- const Ge = r({}, [...ut, ...Me, ...we, ...xe, ...mt]);
197
+ const Ge = r({}, [...ut, ...we, ...xe, ...Pe, ...mt]);
198
198
  let d = null;
199
- const We = r({}, [...pt, ...Pe, ...Tt, ...fe]);
200
- let u = Object.seal(ve(null, {
199
+ const We = r({}, [...pt, ...ke, ...Tt, ...ue]);
200
+ let u = Object.seal(me(null, {
201
201
  tagNameCheck: {
202
202
  writable: !0,
203
203
  configurable: !1,
@@ -216,8 +216,8 @@ function ht() {
216
216
  enumerable: !0,
217
217
  value: !1
218
218
  }
219
- })), j = null, _e = null;
220
- const k = Object.seal(ve(null, {
219
+ })), j = null, ne = null;
220
+ const x = Object.seal(me(null, {
221
221
  tagCheck: {
222
222
  writable: !0,
223
223
  configurable: !1,
@@ -231,17 +231,17 @@ function ht() {
231
231
  value: null
232
232
  }
233
233
  }));
234
- let Be = !0, ge = !0, Ye = !1, Xe = !0, U = !1, ne = !0, x = !1, Ae = !1, he = !1, F = !1, oe = !1, ie = !1, je = !0, Ve = !1;
235
- const kt = "user-content-";
236
- let Se = !0, V = !1, H = {}, b = null;
237
- const Re = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
234
+ let Be = !0, Ae = !0, Ye = !1, Xe = !0, U = !1, oe = !0, P = !1, he = !1, Se = !1, F = !1, ie = !1, ae = !1, je = !0, Ve = !1;
235
+ const vt = "user-content-";
236
+ let Re = !0, V = !1, H = {}, y = null;
237
+ const De = r({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
238
238
  let $e = null;
239
239
  const qe = r({}, ["audio", "video", "img", "source", "image", "track"]);
240
240
  let Oe = null;
241
- const Ke = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ae = "http://www.w3.org/1998/Math/MathML", re = "http://www.w3.org/2000/svg", C = "http://www.w3.org/1999/xhtml";
242
- let z = C, De = !1, Le = null;
243
- const Ut = r({}, [ae, re, C], Ie);
244
- let se = r({}, ["mi", "mo", "mn", "ms", "mtext"]), le = r({}, ["annotation-xml"]);
241
+ const Ke = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), re = "http://www.w3.org/1998/Math/MathML", se = "http://www.w3.org/2000/svg", I = "http://www.w3.org/1999/xhtml";
242
+ let z = I, Le = !1, be = null;
243
+ const Ut = r({}, [re, se, I], Ie);
244
+ let le = r({}, ["mi", "mo", "mn", "ms", "mtext"]), ce = r({}, ["annotation-xml"]);
245
245
  const Ft = r({}, ["title", "style", "font", "a", "script"]);
246
246
  let $ = null;
247
247
  const Ht = ["application/xhtml+xml", "text/html"], zt = "text/html";
@@ -251,8 +251,8 @@ function ht() {
251
251
  }, ye = function() {
252
252
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
253
253
  if (!(G && G === e)) {
254
- if ((!e || typeof e != "object") && (e = {}), e = I(e), $ = // eslint-disable-next-line unicorn/prefer-includes
255
- Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, p = $ === "application/xhtml+xml" ? Ie : ue, T = y(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ge, d = y(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : We, Le = y(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Ie) : Ut, Oe = y(e, "ADD_URI_SAFE_ATTR") ? r(I(Ke), e.ADD_URI_SAFE_ATTR, p) : Ke, $e = y(e, "ADD_DATA_URI_TAGS") ? r(I(qe), e.ADD_DATA_URI_TAGS, p) : qe, b = y(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : Re, j = y(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : I({}), _e = y(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : I({}), H = y(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, ge = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, ne = e.SAFE_FOR_XML !== !1, x = e.WHOLE_DOCUMENT || !1, F = e.RETURN_DOM || !1, oe = e.RETURN_DOM_FRAGMENT || !1, ie = e.RETURN_TRUSTED_TYPE || !1, he = e.FORCE_BODY || !1, je = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, Se = e.KEEP_CONTENT !== !1, V = e.IN_PLACE || !1, ze = e.ALLOWED_URI_REGEXP || gt, z = e.NAMESPACE || C, se = e.MATHML_TEXT_INTEGRATION_POINTS || se, le = e.HTML_INTEGRATION_POINTS || le, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (ge = !1), oe && (F = !0), H && (T = r({}, mt), d = [], H.html === !0 && (r(T, ut), r(d, pt)), H.svg === !0 && (r(T, Me), r(d, Pe), r(d, fe)), H.svgFilters === !0 && (r(T, we), r(d, Pe), r(d, fe)), H.mathMl === !0 && (r(T, xe), r(d, Tt), r(d, fe))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? k.tagCheck = e.ADD_TAGS : (T === Ge && (T = I(T)), r(T, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? k.attributeCheck = e.ADD_ATTR : (d === We && (d = I(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(Oe, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (b === Re && (b = I(b)), r(b, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (b === Re && (b = I(b)), r(b, e.ADD_FORBID_CONTENTS, p)), Se && (T["#text"] = !0), x && r(T, ["html", "head", "body"]), T.table && (r(T, ["tbody"]), delete j.tbody), e.TRUSTED_TYPES_POLICY) {
254
+ if ((!e || typeof e != "object") && (e = {}), e = C(e), $ = // eslint-disable-next-line unicorn/prefer-includes
255
+ Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, p = $ === "application/xhtml+xml" ? Ie : pe, T = L(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ge, d = L(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : We, be = L(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Ie) : Ut, Oe = L(e, "ADD_URI_SAFE_ATTR") ? r(C(Ke), e.ADD_URI_SAFE_ATTR, p) : Ke, $e = L(e, "ADD_DATA_URI_TAGS") ? r(C(qe), e.ADD_DATA_URI_TAGS, p) : qe, y = L(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : De, j = L(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : C({}), ne = L(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : C({}), H = L(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, Ae = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, oe = e.SAFE_FOR_XML !== !1, P = e.WHOLE_DOCUMENT || !1, F = e.RETURN_DOM || !1, ie = e.RETURN_DOM_FRAGMENT || !1, ae = e.RETURN_TRUSTED_TYPE || !1, Se = e.FORCE_BODY || !1, je = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, Re = e.KEEP_CONTENT !== !1, V = e.IN_PLACE || !1, ze = e.ALLOWED_URI_REGEXP || gt, z = e.NAMESPACE || I, le = e.MATHML_TEXT_INTEGRATION_POINTS || le, ce = e.HTML_INTEGRATION_POINTS || ce, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (Ae = !1), ie && (F = !0), H && (T = r({}, mt), d = me(null), H.html === !0 && (r(T, ut), r(d, pt)), H.svg === !0 && (r(T, we), r(d, ke), r(d, ue)), H.svgFilters === !0 && (r(T, xe), r(d, ke), r(d, ue)), H.mathMl === !0 && (r(T, Pe), r(d, Tt), r(d, ue))), L(e, "ADD_TAGS") || (x.tagCheck = null), L(e, "ADD_ATTR") || (x.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? x.tagCheck = e.ADD_TAGS : (T === Ge && (T = C(T)), r(T, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? x.attributeCheck = e.ADD_ATTR : (d === We && (d = C(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(Oe, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (y === De && (y = C(y)), r(y, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (y === De && (y = C(y)), r(y, e.ADD_FORBID_CONTENTS, p)), Re && (T["#text"] = !0), P && r(T, ["html", "head", "body"]), T.table && (r(T, ["tbody"]), delete j.tbody), e.TRUSTED_TYPES_POLICY) {
256
256
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
257
257
  throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
258
258
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -262,14 +262,14 @@ function ht() {
262
262
  g === void 0 && (g = un(ee, c)), g !== null && typeof X == "string" && (X = g.createHTML(""));
263
263
  S && S(e), G = e;
264
264
  }
265
- }, Je = r({}, [...Me, ...we, ...Qt]), Qe = r({}, [...xe, ...en]), Wt = function(e) {
265
+ }, Je = r({}, [...we, ...xe, ...Qt]), Qe = r({}, [...Pe, ...en]), Wt = function(e) {
266
266
  let t = te(e);
267
267
  (!t || !t.tagName) && (t = {
268
268
  namespaceURI: z,
269
269
  tagName: "template"
270
270
  });
271
- const n = ue(e.tagName), f = ue(t.tagName);
272
- return Le[e.namespaceURI] ? e.namespaceURI === re ? t.namespaceURI === C ? n === "svg" : t.namespaceURI === ae ? n === "svg" && (f === "annotation-xml" || se[f]) : !!Je[n] : e.namespaceURI === ae ? t.namespaceURI === C ? n === "math" : t.namespaceURI === re ? n === "math" && le[f] : !!Qe[n] : e.namespaceURI === C ? t.namespaceURI === re && !le[f] || t.namespaceURI === ae && !se[f] ? !1 : !Qe[n] && (Ft[n] || !Je[n]) : !!($ === "application/xhtml+xml" && Le[e.namespaceURI]) : !1;
271
+ const n = pe(e.tagName), f = pe(t.tagName);
272
+ return be[e.namespaceURI] ? e.namespaceURI === se ? t.namespaceURI === I ? n === "svg" : t.namespaceURI === re ? n === "svg" && (f === "annotation-xml" || le[f]) : !!Je[n] : e.namespaceURI === re ? t.namespaceURI === I ? n === "math" : t.namespaceURI === se ? n === "math" && ce[f] : !!Qe[n] : e.namespaceURI === I ? t.namespaceURI === se && !ce[f] || t.namespaceURI === re && !le[f] ? !1 : !Qe[n] && (Ft[n] || !Je[n]) : !!($ === "application/xhtml+xml" && be[e.namespaceURI]) : !1;
273
273
  }, N = function(e) {
274
274
  q(o.removed, {
275
275
  element: e
@@ -279,7 +279,7 @@ function ht() {
279
279
  } catch {
280
280
  Lt(e);
281
281
  }
282
- }, P = function(e, t) {
282
+ }, k = function(e, t) {
283
283
  try {
284
284
  q(o.removed, {
285
285
  attribute: t.getAttributeNode(e),
@@ -292,7 +292,7 @@ function ht() {
292
292
  });
293
293
  }
294
294
  if (t.removeAttribute(e), e === "is")
295
- if (F || oe)
295
+ if (F || ie)
296
296
  try {
297
297
  N(t);
298
298
  } catch {
@@ -304,28 +304,28 @@ function ht() {
304
304
  }
305
305
  }, et = function(e) {
306
306
  let t = null, n = null;
307
- if (he)
307
+ if (Se)
308
308
  e = "<remove></remove>" + e;
309
309
  else {
310
- const m = Ce(e, /^[\r\n\t ]+/);
310
+ const m = Me(e, /^[\r\n\t ]+/);
311
311
  n = m && m[0];
312
312
  }
313
- $ === "application/xhtml+xml" && z === C && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
313
+ $ === "application/xhtml+xml" && z === I && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
314
314
  const f = g ? g.createHTML(e) : e;
315
- if (z === C)
315
+ if (z === I)
316
316
  try {
317
- t = new Ot().parseFromString(f, $);
317
+ t = new Dt().parseFromString(f, $);
318
318
  } catch {
319
319
  }
320
320
  if (!t || !t.documentElement) {
321
- t = pe.createDocument(z, "template", null);
321
+ t = de.createDocument(z, "template", null);
322
322
  try {
323
- t.documentElement.innerHTML = De ? X : f;
323
+ t.documentElement.innerHTML = Le ? X : f;
324
324
  } catch {
325
325
  }
326
326
  }
327
327
  const _ = t.body || t.documentElement;
328
- return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), z === C ? Ct.call(t, x ? "html" : "body")[0] : x ? t.documentElement : _;
328
+ return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), z === I ? It.call(t, P ? "html" : "body")[0] : P ? t.documentElement : _;
329
329
  }, tt = function(e) {
330
330
  return Nt.call(
331
331
  e.ownerDocument || e,
@@ -334,53 +334,53 @@ function ht() {
334
334
  B.SHOW_ELEMENT | B.SHOW_COMMENT | B.SHOW_TEXT | B.SHOW_PROCESSING_INSTRUCTION | B.SHOW_CDATA_SECTION,
335
335
  null
336
336
  );
337
- }, be = function(e) {
337
+ }, Ne = function(e) {
338
338
  return e instanceof Rt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof St) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
339
339
  }, nt = function(e) {
340
- return typeof me == "function" && e instanceof me;
340
+ return typeof Te == "function" && e instanceof Te;
341
341
  };
342
342
  function M(i, e, t) {
343
- ce(i, (n) => {
343
+ fe(i, (n) => {
344
344
  n.call(o, e, t, G);
345
345
  });
346
346
  }
347
347
  const ot = function(e) {
348
348
  let t = null;
349
- if (M(A.beforeSanitizeElements, e, null), be(e))
349
+ if (M(A.beforeSanitizeElements, e, null), Ne(e))
350
350
  return N(e), !0;
351
351
  const n = p(e.nodeName);
352
352
  if (M(A.uponSanitizeElement, e, {
353
353
  tagName: n,
354
354
  allowedTags: T
355
- }), ne && e.hasChildNodes() && !nt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Q.progressingInstruction || ne && e.nodeType === Q.comment && h(/<[/\w]/g, e.data))
355
+ }), oe && e.hasChildNodes() && !nt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Q.progressingInstruction || oe && e.nodeType === Q.comment && h(/<[/\w]/g, e.data))
356
356
  return N(e), !0;
357
- if (!(k.tagCheck instanceof Function && k.tagCheck(n)) && (!T[n] || j[n])) {
357
+ if (!(x.tagCheck instanceof Function && x.tagCheck(n)) && (!T[n] || j[n])) {
358
358
  if (!j[n] && at(n) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
359
359
  return !1;
360
- if (Se && !b[n]) {
361
- const f = te(e) || e.parentNode, _ = bt(e) || e.childNodes;
360
+ if (Re && !y[n]) {
361
+ const f = te(e) || e.parentNode, _ = yt(e) || e.childNodes;
362
362
  if (_ && f) {
363
363
  const m = _.length;
364
- for (let D = m - 1; D >= 0; --D) {
365
- const w = Dt(_[D], !0);
366
- w.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(w, yt(e));
364
+ for (let O = m - 1; O >= 0; --O) {
365
+ const w = Ot(_[O], !0);
366
+ w.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(w, bt(e));
367
367
  }
368
368
  }
369
369
  }
370
370
  return N(e), !0;
371
371
  }
372
- return e instanceof Fe && !Wt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N(e), !0) : (U && e.nodeType === Q.text && (t = e.textContent, ce([Te, de, Ee], (f) => {
372
+ return e instanceof Fe && !Wt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N(e), !0) : (U && e.nodeType === Q.text && (t = e.textContent, fe([Ee, _e, ge], (f) => {
373
373
  t = K(t, f, " ");
374
374
  }), e.textContent !== t && (q(o.removed, {
375
375
  element: e.cloneNode()
376
376
  }), e.textContent = t)), M(A.afterSanitizeElements, e, null), !1);
377
377
  }, it = function(e, t, n) {
378
- if (je && (t === "id" || t === "name") && (n in l || n in Gt))
378
+ if (ne[t] || je && (t === "id" || t === "name") && (n in l || n in Gt))
379
379
  return !1;
380
- if (!(ge && !_e[t] && h(wt, t))) {
380
+ if (!(Ae && !ne[t] && h(wt, t))) {
381
381
  if (!(Be && h(xt, t))) {
382
- if (!(k.attributeCheck instanceof Function && k.attributeCheck(t, e))) {
383
- if (!d[t] || _e[t]) {
382
+ if (!(x.attributeCheck instanceof Function && x.attributeCheck(t, e))) {
383
+ if (!d[t] || ne[t]) {
384
384
  if (
385
385
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
386
386
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -404,13 +404,13 @@ function ht() {
404
404
  }
405
405
  return !0;
406
406
  }, at = function(e) {
407
- return e !== "annotation-xml" && Ce(e, vt);
407
+ return e !== "annotation-xml" && Me(e, kt);
408
408
  }, rt = function(e) {
409
409
  M(A.beforeSanitizeAttributes, e, null);
410
410
  const {
411
411
  attributes: t
412
412
  } = e;
413
- if (!t || be(e))
413
+ if (!t || Ne(e))
414
414
  return;
415
415
  const n = {
416
416
  attrName: "",
@@ -423,37 +423,37 @@ function ht() {
423
423
  for (; f--; ) {
424
424
  const _ = t[f], {
425
425
  name: m,
426
- namespaceURI: D,
426
+ namespaceURI: O,
427
427
  value: w
428
- } = _, W = p(m), Ne = w;
429
- let E = m === "value" ? Ne : Kt(Ne);
430
- if (n.attrName = W, n.attrValue = E, n.keepAttr = !0, n.forceKeepAttr = void 0, M(A.uponSanitizeAttribute, e, n), E = n.attrValue, Ve && (W === "id" || W === "name") && (P(m, e), E = kt + E), ne && h(/((--!?|])>)|<\/(style|title|textarea)/i, E)) {
431
- P(m, e);
428
+ } = _, W = p(m), Ce = w;
429
+ let E = m === "value" ? Ce : Kt(Ce);
430
+ if (n.attrName = W, n.attrValue = E, n.keepAttr = !0, n.forceKeepAttr = void 0, M(A.uponSanitizeAttribute, e, n), E = n.attrValue, Ve && (W === "id" || W === "name") && (k(m, e), E = vt + E), oe && h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, E)) {
431
+ k(m, e);
432
432
  continue;
433
433
  }
434
- if (W === "attributename" && Ce(E, "href")) {
435
- P(m, e);
434
+ if (W === "attributename" && Me(E, "href")) {
435
+ k(m, e);
436
436
  continue;
437
437
  }
438
438
  if (n.forceKeepAttr)
439
439
  continue;
440
440
  if (!n.keepAttr) {
441
- P(m, e);
441
+ k(m, e);
442
442
  continue;
443
443
  }
444
444
  if (!Xe && h(/\/>/i, E)) {
445
- P(m, e);
445
+ k(m, e);
446
446
  continue;
447
447
  }
448
- U && ce([Te, de, Ee], (lt) => {
448
+ U && fe([Ee, _e, ge], (lt) => {
449
449
  E = K(E, lt, " ");
450
450
  });
451
451
  const st = p(e.nodeName);
452
452
  if (!it(st, W, E)) {
453
- P(m, e);
453
+ k(m, e);
454
454
  continue;
455
455
  }
456
- if (g && typeof ee == "object" && typeof ee.getAttributeType == "function" && !D)
456
+ if (g && typeof ee == "object" && typeof ee.getAttributeType == "function" && !O)
457
457
  switch (ee.getAttributeType(st, W)) {
458
458
  case "TrustedHTML": {
459
459
  E = g.createHTML(E);
@@ -464,11 +464,11 @@ function ht() {
464
464
  break;
465
465
  }
466
466
  }
467
- if (E !== Ne)
467
+ if (E !== Ce)
468
468
  try {
469
- D ? e.setAttributeNS(D, m, E) : e.setAttribute(m, E), be(e) ? N(e) : ft(o.removed);
469
+ O ? e.setAttributeNS(O, m, E) : e.setAttribute(m, E), Ne(e) ? N(e) : ft(o.removed);
470
470
  } catch {
471
- P(m, e);
471
+ k(m, e);
472
472
  }
473
473
  }
474
474
  M(A.afterSanitizeAttributes, e, null);
@@ -476,12 +476,12 @@ function ht() {
476
476
  let t = null;
477
477
  const n = tt(e);
478
478
  for (M(A.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
479
- M(A.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof O && i(t.content);
479
+ M(A.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof D && i(t.content);
480
480
  M(A.afterSanitizeShadowDOM, e, null);
481
481
  };
482
482
  return o.sanitize = function(i) {
483
483
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, f = null, _ = null;
484
- if (De = !i, De && (i = "<!-->"), typeof i != "string" && !nt(i))
484
+ if (Le = !i, Le && (i = "<!-->"), typeof i != "string" && !nt(i))
485
485
  if (typeof i.toString == "function") {
486
486
  if (i = i.toString(), typeof i != "string")
487
487
  throw Z("dirty is not a string, aborting");
@@ -489,45 +489,45 @@ function ht() {
489
489
  throw Z("toString is not a function");
490
490
  if (!o.isSupported)
491
491
  return i;
492
- if (Ae || ye(e), o.removed = [], typeof i == "string" && (V = !1), V) {
492
+ if (he || ye(e), o.removed = [], typeof i == "string" && (V = !1), V) {
493
493
  if (i.nodeName) {
494
494
  const w = p(i.nodeName);
495
495
  if (!T[w] || j[w])
496
496
  throw Z("root node is forbidden and cannot be sanitized in-place");
497
497
  }
498
- } else if (i instanceof me)
498
+ } else if (i instanceof Te)
499
499
  t = et("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Q.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
500
500
  else {
501
- if (!F && !U && !x && // eslint-disable-next-line unicorn/prefer-includes
501
+ if (!F && !U && !P && // eslint-disable-next-line unicorn/prefer-includes
502
502
  i.indexOf("<") === -1)
503
- return g && ie ? g.createHTML(i) : i;
503
+ return g && ae ? g.createHTML(i) : i;
504
504
  if (t = et(i), !t)
505
- return F ? null : ie ? X : "";
505
+ return F ? null : ae ? X : "";
506
506
  }
507
- t && he && N(t.firstChild);
507
+ t && Se && N(t.firstChild);
508
508
  const m = tt(V ? i : t);
509
509
  for (; f = m.nextNode(); )
510
- ot(f), rt(f), f.content instanceof O && Bt(f.content);
510
+ ot(f), rt(f), f.content instanceof D && Bt(f.content);
511
511
  if (V)
512
512
  return i;
513
513
  if (F) {
514
- if (oe)
515
- for (_ = It.call(t.ownerDocument); t.firstChild; )
514
+ if (ie)
515
+ for (_ = Ct.call(t.ownerDocument); t.firstChild; )
516
516
  _.appendChild(t.firstChild);
517
517
  else
518
518
  _ = t;
519
519
  return (d.shadowroot || d.shadowrootmode) && (_ = Mt.call(a, _, !0)), _;
520
520
  }
521
- let D = x ? t.outerHTML : t.innerHTML;
522
- return x && T["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(At, t.ownerDocument.doctype.name) && (D = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
523
- ` + D), U && ce([Te, de, Ee], (w) => {
524
- D = K(D, w, " ");
525
- }), g && ie ? g.createHTML(D) : D;
521
+ let O = P ? t.outerHTML : t.innerHTML;
522
+ return P && T["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(At, t.ownerDocument.doctype.name) && (O = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
523
+ ` + O), U && fe([Ee, _e, ge], (w) => {
524
+ O = K(O, w, " ");
525
+ }), g && ae ? g.createHTML(O) : O;
526
526
  }, o.setConfig = function() {
527
527
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
528
- ye(i), Ae = !0;
528
+ ye(i), he = !0;
529
529
  }, o.clearConfig = function() {
530
- G = null, Ae = !1;
530
+ G = null, he = !1;
531
531
  }, o.isValidAttribute = function(i, e, t) {
532
532
  G || ye({});
533
533
  const n = p(i), f = p(e);