@ranty/ranty-sdk 3.0.6-beta.0 → 3.0.6-beta.2

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,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-fb67b24f.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-6ed2a4d0.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as n, am as o, ai as t, al as e, ab as r, ap as C, an as p, ao as A, ac as m, a9 as i, ah as l, ag as u, aa as d, l as c, ak as P, aj as F, ad as S, ae as y, af as I, R as M, B as O, a8 as k, X as H, U as L, a1 as f, T as g, a2 as D, a3 as v, a4 as b, h as x, f as E, a7 as h, a6 as B, V as Q, W as j, Y as w, Z as N, $ as q, C as z, k as G, x as J, a as K, d as R, a5 as T, D as U, a0 as V, E as W, e as X, m as Y, b as Z, F as $, I as _, M as aa, L as sa, N as na, P as oa, n as ta, z as ea, G as ra, y as Ca, O as pa, H as Aa, J as ma, K as ia, Q as la, S as ua, o as da, j as ca, p as Pa, q as Fa, r as Sa, i as ya, v as Ia, s as Ma, t as Oa, u as ka, w as Ha } from "./index-fb67b24f.js";
1
+ import { A as n, am as o, ai as t, al as e, ab as r, ap as C, an as p, ao as A, ac as m, a9 as i, ah as l, ag as u, aa as d, l as c, ak as P, aj as F, ad as S, ae as y, af as I, R as M, B as O, a8 as k, X as H, U as L, a1 as f, T as g, a2 as D, a3 as v, a4 as b, h as x, f as E, a7 as h, a6 as B, V as Q, W as j, Y as w, Z as N, $ as q, C as z, k as G, x as J, a as K, d as R, a5 as T, D as U, a0 as V, E as W, e as X, m as Y, b as Z, F as $, I as _, M as aa, L as sa, N as na, P as oa, n as ta, z as ea, G as ra, y as Ca, O as pa, H as Aa, J as ma, K as ia, Q as la, S as ua, o as da, j as ca, p as Pa, q as Fa, r as Sa, i as ya, v as Ia, s as Ma, t as Oa, u as ka, w as Ha } from "./index-6ed2a4d0.js";
2
2
  export {
3
3
  n as A2AAccountComponent,
4
4
  o as A2AAccountDetails,
@@ -1,4 +1,4 @@
1
- /*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */
1
+ /*! @license DOMPurify 2.5.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.7/LICENSE */
2
2
  function I(a) {
3
3
  "@babel/helpers - typeof";
4
4
  return I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
@@ -7,10 +7,10 @@ function I(a) {
7
7
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
8
8
  }, I(a);
9
9
  }
10
- function Fe(a, n) {
11
- return Fe = Object.setPrototypeOf || function(s, c) {
10
+ function Pe(a, n) {
11
+ return Pe = Object.setPrototypeOf || function(s, c) {
12
12
  return s.__proto__ = c, s;
13
- }, Fe(a, n);
13
+ }, Pe(a, n);
14
14
  }
15
15
  function zt() {
16
16
  if (typeof Reflect == "undefined" || !Reflect.construct || Reflect.construct.sham)
@@ -26,10 +26,10 @@ function zt() {
26
26
  }
27
27
  function le(a, n, o) {
28
28
  return zt() ? le = Reflect.construct : le = function(c, g, y) {
29
- var D = [null];
30
- D.push.apply(D, g);
31
- var x = Function.bind.apply(c, D), j = new x();
32
- return y && Fe(j, y.prototype), j;
29
+ var N = [null];
30
+ N.push.apply(N, g);
31
+ var x = Function.bind.apply(c, N), j = new x();
32
+ return y && Pe(j, y.prototype), j;
33
33
  }, le.apply(null, arguments);
34
34
  }
35
35
  function M(a) {
@@ -37,7 +37,7 @@ function M(a) {
37
37
  }
38
38
  function Gt(a) {
39
39
  if (Array.isArray(a))
40
- return Ue(a);
40
+ return Fe(a);
41
41
  }
42
42
  function Wt(a) {
43
43
  if (typeof Symbol != "undefined" && a[Symbol.iterator] != null || a["@@iterator"] != null)
@@ -46,15 +46,15 @@ function Wt(a) {
46
46
  function Bt(a, n) {
47
47
  if (a) {
48
48
  if (typeof a == "string")
49
- return Ue(a, n);
49
+ return Fe(a, n);
50
50
  var o = Object.prototype.toString.call(a).slice(8, -1);
51
51
  if (o === "Object" && a.constructor && (o = a.constructor.name), o === "Map" || o === "Set")
52
52
  return Array.from(a);
53
53
  if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))
54
- return Ue(a, n);
54
+ return Fe(a, n);
55
55
  }
56
56
  }
57
- function Ue(a, n) {
57
+ function Fe(a, n) {
58
58
  (n == null || n > a.length) && (n = a.length);
59
59
  for (var o = 0, s = new Array(n); o < n; o++)
60
60
  s[o] = a[o];
@@ -64,7 +64,7 @@ function $t() {
64
64
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
65
65
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
66
66
  }
67
- var jt = Object.hasOwnProperty, ut = Object.setPrototypeOf, Yt = Object.isFrozen, Xt = Object.getPrototypeOf, Vt = Object.getOwnPropertyDescriptor, E = Object.freeze, b = Object.seal, qt = Object.create, vt = typeof Reflect != "undefined" && Reflect, ue = vt.apply, He = vt.construct;
67
+ var jt = Object.hasOwnProperty, ut = Object.setPrototypeOf, Yt = Object.isFrozen, Xt = Object.getPrototypeOf, Vt = Object.getOwnPropertyDescriptor, E = Object.freeze, b = Object.seal, qt = Object.create, vt = typeof Reflect != "undefined" && Reflect, ue = vt.apply, Ue = vt.construct;
68
68
  ue || (ue = function(n, o, s) {
69
69
  return n.apply(o, s);
70
70
  });
@@ -74,10 +74,10 @@ E || (E = function(n) {
74
74
  b || (b = function(n) {
75
75
  return n;
76
76
  });
77
- He || (He = function(n, o) {
77
+ Ue || (Ue = function(n, o) {
78
78
  return le(n, M(o));
79
79
  });
80
- var Kt = O(Array.prototype.forEach), ft = O(Array.prototype.pop), q = O(Array.prototype.push), se = O(String.prototype.toLowerCase), we = O(String.prototype.toString), ct = O(String.prototype.match), L = O(String.prototype.replace), Zt = O(String.prototype.indexOf), Jt = O(String.prototype.trim), _ = O(RegExp.prototype.test), Ce = Qt(TypeError);
80
+ var Kt = O(Array.prototype.forEach), ft = O(Array.prototype.pop), q = O(Array.prototype.push), se = O(String.prototype.toLowerCase), De = O(String.prototype.toString), ct = O(String.prototype.match), L = O(String.prototype.replace), Zt = O(String.prototype.indexOf), Jt = O(String.prototype.trim), _ = O(RegExp.prototype.test), we = Qt(TypeError);
81
81
  function O(a) {
82
82
  return function(n) {
83
83
  for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), c = 1; c < o; c++)
@@ -89,7 +89,7 @@ function Qt(a) {
89
89
  return function() {
90
90
  for (var n = arguments.length, o = new Array(n), s = 0; s < n; s++)
91
91
  o[s] = arguments[s];
92
- return He(a, o);
92
+ return Ue(a, o);
93
93
  };
94
94
  }
95
95
  function l(a, n, o) {
@@ -127,7 +127,7 @@ function ie(a, n) {
127
127
  }
128
128
  return s;
129
129
  }
130
- var mt = E(["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", "section", "select", "shadow", "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"]), Ie = E(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), xe = E(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), er = E(["animate", "color-profile", "cursor", "discard", "fedropshadow", "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"]), ke = E(["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"]), tr = E(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pt = E(["#text"]), dt = E(["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", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "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", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), Pe = E(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "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", "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", "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", "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", "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 = E(["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"]), oe = E(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), rr = b(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ar = b(/<%[\w\W]*|[\w\W]*%>/gm), nr = b(/\${[\w\W]*}/gm), ir = b(/^data-[\-\w.\u00B7-\uFFFF]+$/), or = b(/^aria-[\-\w]+$/), lr = b(
130
+ var mt = E(["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", "section", "select", "shadow", "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"]), Ce = E(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ie = E(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), er = E(["animate", "color-profile", "cursor", "discard", "fedropshadow", "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 = E(["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"]), tr = E(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), pt = E(["#text"]), dt = E(["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", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "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", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), ke = E(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "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", "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", "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", "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", "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 = E(["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"]), oe = E(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), rr = b(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ar = b(/<%[\w\W]*|[\w\W]*%>/gm), nr = b(/\${[\w\W]*}/gm), ir = b(/^data-[\-\w.\u00B7-\uFFFF]/), or = b(/^aria-[\-\w]+$/), lr = b(
131
131
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
132
132
  // eslint-disable-line no-useless-escape
133
133
  ), sr = b(/^(?:\w+script|data):/i), ur = b(
@@ -143,11 +143,11 @@ var mt = E(["a", "abbr", "acronym", "address", "area", "article", "aside", "audi
143
143
  var g = "dompurify" + (s ? "#" + s : "");
144
144
  try {
145
145
  return n.createPolicy(g, {
146
- createHTML: function(D) {
147
- return D;
146
+ createHTML: function(N) {
147
+ return N;
148
148
  },
149
- createScriptURL: function(D) {
150
- return D;
149
+ createScriptURL: function(N) {
150
+ return N;
151
151
  }
152
152
  });
153
153
  } catch (y) {
@@ -158,21 +158,21 @@ function _t() {
158
158
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : mr(), n = function(e) {
159
159
  return _t(e);
160
160
  };
161
- if (n.version = "2.5.8", n.removed = [], !a || !a.document || a.document.nodeType !== 9)
161
+ if (n.version = "2.5.7", n.removed = [], !a || !a.document || a.document.nodeType !== 9)
162
162
  return n.isSupported = !1, n;
163
- var o = a.document, s = a.document, c = a.DocumentFragment, g = a.HTMLTemplateElement, y = a.Node, D = a.Element, x = a.NodeFilter, j = a.NamedNodeMap, ht = j === void 0 ? a.NamedNodeMap || a.MozNamedAttrMap : j, Et = a.HTMLFormElement, At = a.DOMParser, K = a.trustedTypes, Z = D.prototype, yt = ie(Z, "cloneNode"), gt = ie(Z, "nextSibling"), St = ie(Z, "childNodes"), fe = ie(Z, "parentNode");
163
+ var o = a.document, s = a.document, c = a.DocumentFragment, g = a.HTMLTemplateElement, y = a.Node, N = a.Element, x = a.NodeFilter, j = a.NamedNodeMap, ht = j === void 0 ? a.NamedNodeMap || a.MozNamedAttrMap : j, Et = a.HTMLFormElement, At = a.DOMParser, K = a.trustedTypes, Z = N.prototype, yt = ie(Z, "cloneNode"), gt = ie(Z, "nextSibling"), St = ie(Z, "childNodes"), fe = ie(Z, "parentNode");
164
164
  if (typeof g == "function") {
165
165
  var ce = s.createElement("template");
166
166
  ce.content && ce.content.ownerDocument && (s = ce.content.ownerDocument);
167
167
  }
168
- var R = pr(K, o), me = R ? R.createHTML("") : "", J = s, pe = J.implementation, bt = J.createNodeIterator, Ot = J.createDocumentFragment, Rt = J.getElementsByTagName, Lt = o.importNode, ze = {};
168
+ var R = pr(K, o), me = R ? R.createHTML("") : "", J = s, pe = J.implementation, bt = J.createNodeIterator, Ot = J.createDocumentFragment, Rt = J.getElementsByTagName, Lt = o.importNode, He = {};
169
169
  try {
170
- ze = U(s).documentMode ? s.documentMode : {};
170
+ He = U(s).documentMode ? s.documentMode : {};
171
171
  } catch (i) {
172
172
  }
173
- var N = {};
174
- n.isSupported = typeof fe == "function" && pe && pe.createHTMLDocument !== void 0 && ze !== 9;
175
- var de = rr, Te = ar, ve = nr, Mt = ir, Dt = or, Nt = sr, Ge = ur, wt = cr, _e = lr, p = null, We = l({}, [].concat(M(mt), M(Ie), M(xe), M(ke), M(pt))), d = null, Be = l({}, [].concat(M(dt), M(Pe), M(Tt), M(oe))), f = Object.seal(Object.create(null, {
173
+ var D = {};
174
+ n.isSupported = typeof fe == "function" && pe && pe.createHTMLDocument !== void 0 && He !== 9;
175
+ var de = rr, Te = ar, ve = nr, Mt = ir, Nt = or, Dt = sr, ze = ur, wt = cr, _e = lr, p = null, Ge = l({}, [].concat(M(mt), M(Ce), M(Ie), M(xe), M(pt))), d = null, We = l({}, [].concat(M(dt), M(ke), M(Tt), M(oe))), f = Object.seal(Object.create(null, {
176
176
  tagNameCheck: {
177
177
  writable: !0,
178
178
  configurable: !1,
@@ -191,28 +191,28 @@ function _t() {
191
191
  enumerable: !0,
192
192
  value: !1
193
193
  }
194
- })), Y = null, he = null, $e = !0, Ee = !0, je = !1, Ye = !0, H = !1, Ae = !0, k = !1, ye = !1, ge = !1, z = !1, Q = !1, ee = !1, Xe = !0, Ve = !1, Ct = "user-content-", Se = !0, X = !1, G = {}, W = null, qe = l({}, ["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"]), Ke = null, Ze = l({}, ["audio", "video", "img", "source", "image", "track"]), be = null, Je = l({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), te = "http://www.w3.org/1998/Math/MathML", re = "http://www.w3.org/2000/svg", w = "http://www.w3.org/1999/xhtml", B = w, Oe = !1, Re = null, It = l({}, [te, re, w], we), P, xt = ["application/xhtml+xml", "text/html"], kt = "text/html", T, $ = null, Pt = s.createElement("form"), Qe = function(e) {
194
+ })), Y = null, he = null, Be = !0, Ee = !0, $e = !1, je = !0, H = !1, Ae = !0, k = !1, ye = !1, ge = !1, z = !1, Q = !1, ee = !1, Ye = !0, Xe = !1, Ct = "user-content-", Se = !0, X = !1, G = {}, W = null, Ve = l({}, ["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"]), qe = null, Ke = l({}, ["audio", "video", "img", "source", "image", "track"]), be = null, Ze = l({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), te = "http://www.w3.org/1998/Math/MathML", re = "http://www.w3.org/2000/svg", w = "http://www.w3.org/1999/xhtml", B = w, Oe = !1, Re = null, It = l({}, [te, re, w], De), P, xt = ["application/xhtml+xml", "text/html"], kt = "text/html", T, $ = null, Pt = s.createElement("form"), Je = function(e) {
195
195
  return e instanceof RegExp || e instanceof Function;
196
196
  }, Le = function(e) {
197
197
  $ && $ === e || ((!e || I(e) !== "object") && (e = {}), e = U(e), P = // eslint-disable-next-line unicorn/prefer-includes
198
- xt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? P = kt : P = e.PARSER_MEDIA_TYPE, T = P === "application/xhtml+xml" ? we : se, p = "ALLOWED_TAGS" in e ? l({}, e.ALLOWED_TAGS, T) : We, d = "ALLOWED_ATTR" in e ? l({}, e.ALLOWED_ATTR, T) : Be, Re = "ALLOWED_NAMESPACES" in e ? l({}, e.ALLOWED_NAMESPACES, we) : It, be = "ADD_URI_SAFE_ATTR" in e ? l(
199
- U(Je),
198
+ xt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? P = kt : P = e.PARSER_MEDIA_TYPE, T = P === "application/xhtml+xml" ? De : se, p = "ALLOWED_TAGS" in e ? l({}, e.ALLOWED_TAGS, T) : Ge, d = "ALLOWED_ATTR" in e ? l({}, e.ALLOWED_ATTR, T) : We, Re = "ALLOWED_NAMESPACES" in e ? l({}, e.ALLOWED_NAMESPACES, De) : It, be = "ADD_URI_SAFE_ATTR" in e ? l(
199
+ U(Ze),
200
200
  // eslint-disable-line indent
201
201
  e.ADD_URI_SAFE_ATTR,
202
202
  // eslint-disable-line indent
203
203
  T
204
204
  // eslint-disable-line indent
205
- ) : Je, Ke = "ADD_DATA_URI_TAGS" in e ? l(
206
- U(Ze),
205
+ ) : Ze, qe = "ADD_DATA_URI_TAGS" in e ? l(
206
+ U(Ke),
207
207
  // eslint-disable-line indent
208
208
  e.ADD_DATA_URI_TAGS,
209
209
  // eslint-disable-line indent
210
210
  T
211
211
  // eslint-disable-line indent
212
- ) : Ze, W = "FORBID_CONTENTS" in e ? l({}, e.FORBID_CONTENTS, T) : qe, Y = "FORBID_TAGS" in e ? l({}, e.FORBID_TAGS, T) : {}, he = "FORBID_ATTR" in e ? l({}, e.FORBID_ATTR, T) : {}, G = "USE_PROFILES" in e ? e.USE_PROFILES : !1, $e = e.ALLOW_ARIA_ATTR !== !1, Ee = e.ALLOW_DATA_ATTR !== !1, je = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ye = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = e.SAFE_FOR_TEMPLATES || !1, Ae = e.SAFE_FOR_XML !== !1, k = e.WHOLE_DOCUMENT || !1, z = e.RETURN_DOM || !1, Q = e.RETURN_DOM_FRAGMENT || !1, ee = e.RETURN_TRUSTED_TYPE || !1, ge = e.FORCE_BODY || !1, Xe = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, Se = e.KEEP_CONTENT !== !1, X = e.IN_PLACE || !1, _e = e.ALLOWED_URI_REGEXP || _e, B = e.NAMESPACE || w, f = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Qe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (f.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Qe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (f.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (f.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), H && (Ee = !1), Q && (z = !0), G && (p = l({}, M(pt)), d = [], G.html === !0 && (l(p, mt), l(d, dt)), G.svg === !0 && (l(p, Ie), l(d, Pe), l(d, oe)), G.svgFilters === !0 && (l(p, xe), l(d, Pe), l(d, oe)), G.mathMl === !0 && (l(p, ke), l(d, Tt), l(d, oe))), e.ADD_TAGS && (p === We && (p = U(p)), l(p, e.ADD_TAGS, T)), e.ADD_ATTR && (d === Be && (d = U(d)), l(d, e.ADD_ATTR, T)), e.ADD_URI_SAFE_ATTR && l(be, e.ADD_URI_SAFE_ATTR, T), e.FORBID_CONTENTS && (W === qe && (W = U(W)), l(W, e.FORBID_CONTENTS, T)), Se && (p["#text"] = !0), k && l(p, ["html", "head", "body"]), p.table && (l(p, ["tbody"]), delete Y.tbody), E && E(e), $ = e);
213
- }, et = l({}, ["mi", "mo", "mn", "ms", "mtext"]), tt = l({}, ["annotation-xml"]), Ft = l({}, ["title", "style", "font", "a", "script"]), ae = l({}, Ie);
214
- l(ae, xe), l(ae, er);
215
- var Me = l({}, ke);
212
+ ) : Ke, W = "FORBID_CONTENTS" in e ? l({}, e.FORBID_CONTENTS, T) : Ve, Y = "FORBID_TAGS" in e ? l({}, e.FORBID_TAGS, T) : {}, he = "FORBID_ATTR" in e ? l({}, e.FORBID_ATTR, T) : {}, G = "USE_PROFILES" in e ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, Ee = e.ALLOW_DATA_ATTR !== !1, $e = e.ALLOW_UNKNOWN_PROTOCOLS || !1, je = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = e.SAFE_FOR_TEMPLATES || !1, Ae = e.SAFE_FOR_XML !== !1, k = e.WHOLE_DOCUMENT || !1, z = e.RETURN_DOM || !1, Q = e.RETURN_DOM_FRAGMENT || !1, ee = e.RETURN_TRUSTED_TYPE || !1, ge = e.FORCE_BODY || !1, Ye = e.SANITIZE_DOM !== !1, Xe = e.SANITIZE_NAMED_PROPS || !1, Se = e.KEEP_CONTENT !== !1, X = e.IN_PLACE || !1, _e = e.ALLOWED_URI_REGEXP || _e, B = e.NAMESPACE || w, f = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Je(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (f.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Je(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (f.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (f.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), H && (Ee = !1), Q && (z = !0), G && (p = l({}, M(pt)), d = [], G.html === !0 && (l(p, mt), l(d, dt)), G.svg === !0 && (l(p, Ce), l(d, ke), l(d, oe)), G.svgFilters === !0 && (l(p, Ie), l(d, ke), l(d, oe)), G.mathMl === !0 && (l(p, xe), l(d, Tt), l(d, oe))), e.ADD_TAGS && (p === Ge && (p = U(p)), l(p, e.ADD_TAGS, T)), e.ADD_ATTR && (d === We && (d = U(d)), l(d, e.ADD_ATTR, T)), e.ADD_URI_SAFE_ATTR && l(be, e.ADD_URI_SAFE_ATTR, T), e.FORBID_CONTENTS && (W === Ve && (W = U(W)), l(W, e.FORBID_CONTENTS, T)), Se && (p["#text"] = !0), k && l(p, ["html", "head", "body"]), p.table && (l(p, ["tbody"]), delete Y.tbody), E && E(e), $ = e);
213
+ }, Qe = l({}, ["mi", "mo", "mn", "ms", "mtext"]), et = l({}, ["annotation-xml"]), Ft = l({}, ["title", "style", "font", "a", "script"]), ae = l({}, Ce);
214
+ l(ae, Ie), l(ae, er);
215
+ var Me = l({}, xe);
216
216
  l(Me, tr);
217
217
  var Ut = function(e) {
218
218
  var t = fe(e);
@@ -221,7 +221,7 @@ function _t() {
221
221
  tagName: "template"
222
222
  });
223
223
  var r = se(e.tagName), u = se(t.tagName);
224
- return Re[e.namespaceURI] ? e.namespaceURI === re ? t.namespaceURI === w ? r === "svg" : t.namespaceURI === te ? r === "svg" && (u === "annotation-xml" || et[u]) : !!ae[r] : e.namespaceURI === te ? t.namespaceURI === w ? r === "math" : t.namespaceURI === re ? r === "math" && tt[u] : !!Me[r] : e.namespaceURI === w ? t.namespaceURI === re && !tt[u] || t.namespaceURI === te && !et[u] ? !1 : !Me[r] && (Ft[r] || !ae[r]) : !!(P === "application/xhtml+xml" && Re[e.namespaceURI]) : !1;
224
+ return Re[e.namespaceURI] ? e.namespaceURI === re ? t.namespaceURI === w ? r === "svg" : t.namespaceURI === te ? r === "svg" && (u === "annotation-xml" || Qe[u]) : !!ae[r] : e.namespaceURI === te ? t.namespaceURI === w ? r === "math" : t.namespaceURI === re ? r === "math" && et[u] : !!Me[r] : e.namespaceURI === w ? t.namespaceURI === re && !et[u] || t.namespaceURI === te && !Qe[u] ? !1 : !Me[r] && (Ft[r] || !ae[r]) : !!(P === "application/xhtml+xml" && Re[e.namespaceURI]) : !1;
225
225
  }, S = function(e) {
226
226
  q(n.removed, {
227
227
  element: e
@@ -258,7 +258,7 @@ function _t() {
258
258
  t.setAttribute(e, "");
259
259
  } catch (r) {
260
260
  }
261
- }, rt = function(e) {
261
+ }, tt = function(e) {
262
262
  var t, r;
263
263
  if (ge)
264
264
  e = "<remove></remove>" + e;
@@ -282,7 +282,7 @@ function _t() {
282
282
  }
283
283
  var h = t.body || t.documentElement;
284
284
  return e && r && h.insertBefore(s.createTextNode(r), h.childNodes[0] || null), B === w ? Rt.call(t, k ? "html" : "body")[0] : k ? t.documentElement : h;
285
- }, at = function(e) {
285
+ }, rt = function(e) {
286
286
  return bt.call(
287
287
  e.ownerDocument || e,
288
288
  e,
@@ -291,17 +291,17 @@ function _t() {
291
291
  null,
292
292
  !1
293
293
  );
294
- }, De = function(e) {
294
+ }, at = function(e) {
295
295
  return e instanceof Et && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof ht) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
296
296
  }, V = function(e) {
297
297
  return I(y) === "object" ? e instanceof y : e && I(e) === "object" && typeof e.nodeType == "number" && typeof e.nodeName == "string";
298
298
  }, C = function(e, t, r) {
299
- N[e] && Kt(N[e], function(u) {
299
+ D[e] && Kt(D[e], function(u) {
300
300
  u.call(n, t, r, $);
301
301
  });
302
302
  }, nt = function(e) {
303
303
  var t;
304
- if (C("beforeSanitizeElements", e, null), De(e) || _(/[\u0080-\uFFFF]/, e.nodeName))
304
+ if (C("beforeSanitizeElements", e, null), at(e) || _(/[\u0080-\uFFFF]/, e.nodeName))
305
305
  return S(e), !0;
306
306
  var r = T(e.nodeName);
307
307
  if (C("uponSanitizeElement", e, {
@@ -322,14 +322,14 @@ function _t() {
322
322
  }
323
323
  return S(e), !0;
324
324
  }
325
- return e instanceof D && !Ut(e) || (r === "noscript" || r === "noembed" || r === "noframes") && _(/<\/no(script|embed|frames)/i, e.innerHTML) ? (S(e), !0) : (H && e.nodeType === 3 && (t = e.textContent, t = L(t, de, " "), t = L(t, Te, " "), t = L(t, ve, " "), e.textContent !== t && (q(n.removed, {
325
+ return e instanceof N && !Ut(e) || (r === "noscript" || r === "noembed" || r === "noframes") && _(/<\/no(script|embed|frames)/i, e.innerHTML) ? (S(e), !0) : (H && e.nodeType === 3 && (t = e.textContent, t = L(t, de, " "), t = L(t, Te, " "), t = L(t, ve, " "), e.textContent !== t && (q(n.removed, {
326
326
  element: e.cloneNode()
327
327
  }), e.textContent = t)), C("afterSanitizeElements", e, null), !1);
328
328
  }, it = function(e, t, r) {
329
- if (Xe && (t === "id" || t === "name") && (r in s || r in Pt))
329
+ if (Ye && (t === "id" || t === "name") && (r in s || r in Pt))
330
330
  return !1;
331
331
  if (!(Ee && !he[t] && _(Mt, t))) {
332
- if (!($e && _(Dt, t))) {
332
+ if (!(Be && _(Nt, t))) {
333
333
  if (!d[t] || he[t]) {
334
334
  if (
335
335
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -341,9 +341,9 @@ function _t() {
341
341
  )
342
342
  return !1;
343
343
  } else if (!be[t]) {
344
- if (!_(_e, L(r, Ge, ""))) {
345
- if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Zt(r, "data:") === 0 && Ke[e])) {
346
- if (!(je && !_(Nt, L(r, Ge, "")))) {
344
+ if (!_(_e, L(r, ze, ""))) {
345
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Zt(r, "data:") === 0 && qe[e])) {
346
+ if (!($e && !_(Dt, L(r, ze, "")))) {
347
347
  if (r)
348
348
  return !1;
349
349
  }
@@ -359,7 +359,7 @@ function _t() {
359
359
  var t, r, u, A;
360
360
  C("beforeSanitizeAttributes", e, null);
361
361
  var h = e.attributes;
362
- if (!(!h || De(e))) {
362
+ if (h) {
363
363
  var v = {
364
364
  attrName: "",
365
365
  attrValue: "",
@@ -370,14 +370,14 @@ function _t() {
370
370
  t = h[A];
371
371
  var F = t, m = F.name, Ne = F.namespaceURI;
372
372
  if (r = m === "value" ? t.value : Jt(t.value), u = T(m), v.attrName = u, v.attrValue = r, v.keepAttr = !0, v.forceKeepAttr = void 0, C("uponSanitizeAttribute", e, v), r = v.attrValue, !v.forceKeepAttr && (ne(m, e), !!v.keepAttr)) {
373
- if (!Ye && _(/\/>/i, r)) {
373
+ if (!je && _(/\/>/i, r)) {
374
374
  ne(m, e);
375
375
  continue;
376
376
  }
377
377
  H && (r = L(r, de, " "), r = L(r, Te, " "), r = L(r, ve, " "));
378
378
  var st = T(e.nodeName);
379
379
  if (it(st, u, r)) {
380
- if (Ve && (u === "id" || u === "name") && (ne(m, e), r = Ct + r), Ae && _(/((--!?|])>)|<\/(style|title)/i, r)) {
380
+ if (Xe && (u === "id" || u === "name") && (ne(m, e), r = Ct + r), Ae && _(/((--!?|])>)|<\/(style|title)/i, r)) {
381
381
  ne(m, e);
382
382
  continue;
383
383
  }
@@ -393,7 +393,7 @@ function _t() {
393
393
  }
394
394
  }
395
395
  try {
396
- Ne ? e.setAttributeNS(Ne, m, r) : e.setAttribute(m, r), De(e) ? S(e) : ft(n.removed);
396
+ Ne ? e.setAttributeNS(Ne, m, r) : e.setAttribute(m, r), at(e) ? S(e) : ft(n.removed);
397
397
  } catch (dr) {
398
398
  }
399
399
  }
@@ -402,9 +402,9 @@ function _t() {
402
402
  C("afterSanitizeAttributes", e, null);
403
403
  }
404
404
  }, Ht = function i(e) {
405
- var t, r = at(e);
405
+ var t, r = rt(e);
406
406
  for (C("beforeSanitizeShadowDOM", e, null); t = r.nextNode(); )
407
- C("uponSanitizeShadowNode", t, null), nt(t), lt(t), t.content instanceof c && i(t.content);
407
+ C("uponSanitizeShadowNode", t, null), !nt(t) && (t.content instanceof c && i(t.content), lt(t));
408
408
  C("afterSanitizeShadowDOM", e, null);
409
409
  };
410
410
  return n.sanitize = function(i) {
@@ -412,9 +412,9 @@ function _t() {
412
412
  if (Oe = !i, Oe && (i = "<!-->"), typeof i != "string" && !V(i))
413
413
  if (typeof i.toString == "function") {
414
414
  if (i = i.toString(), typeof i != "string")
415
- throw Ce("dirty is not a string, aborting");
415
+ throw we("dirty is not a string, aborting");
416
416
  } else
417
- throw Ce("toString is not a function");
417
+ throw we("toString is not a function");
418
418
  if (!n.isSupported) {
419
419
  if (I(a.toStaticHTML) === "object" || typeof a.toStaticHTML == "function") {
420
420
  if (typeof i == "string")
@@ -428,20 +428,20 @@ function _t() {
428
428
  if (i.nodeName) {
429
429
  var v = T(i.nodeName);
430
430
  if (!p[v] || Y[v])
431
- throw Ce("root node is forbidden and cannot be sanitized in-place");
431
+ throw we("root node is forbidden and cannot be sanitized in-place");
432
432
  }
433
433
  } else if (i instanceof y)
434
- t = rt("<!---->"), r = t.ownerDocument.importNode(i, !0), r.nodeType === 1 && r.nodeName === "BODY" || r.nodeName === "HTML" ? t = r : t.appendChild(r);
434
+ t = tt("<!---->"), r = t.ownerDocument.importNode(i, !0), r.nodeType === 1 && r.nodeName === "BODY" || r.nodeName === "HTML" ? t = r : t.appendChild(r);
435
435
  else {
436
436
  if (!z && !H && !k && // eslint-disable-next-line unicorn/prefer-includes
437
437
  i.indexOf("<") === -1)
438
438
  return R && ee ? R.createHTML(i) : i;
439
- if (t = rt(i), !t)
439
+ if (t = tt(i), !t)
440
440
  return z ? null : ee ? me : "";
441
441
  }
442
442
  t && ge && S(t.firstChild);
443
- for (var F = at(X ? i : t); u = F.nextNode(); )
444
- u.nodeType === 3 && u === A || (nt(u), lt(u), u.content instanceof c && Ht(u.content), A = u);
443
+ for (var F = rt(X ? i : t); u = F.nextNode(); )
444
+ u.nodeType === 3 && u === A || nt(u) || (u.content instanceof c && Ht(u.content), lt(u), A = u);
445
445
  if (A = null, X)
446
446
  return i;
447
447
  if (z) {
@@ -464,14 +464,14 @@ function _t() {
464
464
  var r = T(i), u = T(e);
465
465
  return it(r, u, t);
466
466
  }, n.addHook = function(i, e) {
467
- typeof e == "function" && (N[i] = N[i] || [], q(N[i], e));
467
+ typeof e == "function" && (D[i] = D[i] || [], q(D[i], e));
468
468
  }, n.removeHook = function(i) {
469
- if (N[i])
470
- return ft(N[i]);
469
+ if (D[i])
470
+ return ft(D[i]);
471
471
  }, n.removeHooks = function(i) {
472
- N[i] && (N[i] = []);
472
+ D[i] && (D[i] = []);
473
473
  }, n.removeAllHooks = function() {
474
- N = {};
474
+ D = {};
475
475
  }, n;
476
476
  }
477
477
  var Tr = _t();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "3.0.6-beta.0",
3
+ "version": "3.0.6-beta.2",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {