@anoki/fse-ui 1.0.0-beta1.38.13 → 1.0.0-beta1.38.14

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 (213) hide show
  1. package/dist/components/ui/Tags/Tags.css +1 -1
  2. package/dist/index.cjs257.js +1 -1
  3. package/dist/index.cjs262.js +1 -1
  4. package/dist/index.cjs270.js +1 -1
  5. package/dist/index.cjs287.js +1 -1
  6. package/dist/index.cjs294.js +1 -1
  7. package/dist/index.cjs299.js +1 -1
  8. package/dist/index.cjs310.js +1 -1
  9. package/dist/index.cjs318.js +1 -1
  10. package/dist/index.cjs360.js +1 -1
  11. package/dist/index.cjs366.js +1 -1
  12. package/dist/index.cjs395.js +1 -1
  13. package/dist/index.cjs396.js +1 -1
  14. package/dist/index.cjs406.js +1 -1
  15. package/dist/index.cjs431.js +1 -1
  16. package/dist/index.cjs436.js +1 -1
  17. package/dist/index.cjs450.js +1 -1
  18. package/dist/index.cjs450.js.map +1 -1
  19. package/dist/index.cjs451.js +2 -0
  20. package/dist/index.cjs451.js.map +1 -0
  21. package/dist/index.cjs452.js +2 -0
  22. package/dist/index.cjs452.js.map +1 -0
  23. package/dist/index.cjs453.js +1 -1
  24. package/dist/index.cjs453.js.map +1 -1
  25. package/dist/index.cjs454.js +1 -1
  26. package/dist/index.cjs454.js.map +1 -1
  27. package/dist/index.cjs455.js +1 -1
  28. package/dist/index.cjs455.js.map +1 -1
  29. package/dist/index.cjs456.js +1 -1
  30. package/dist/index.cjs456.js.map +1 -1
  31. package/dist/index.cjs457.js +1 -1
  32. package/dist/index.cjs457.js.map +1 -1
  33. package/dist/index.cjs461.js +1 -1
  34. package/dist/index.cjs462.js +1 -1
  35. package/dist/index.cjs464.js +1 -1
  36. package/dist/index.cjs466.js +1 -1
  37. package/dist/index.cjs467.js +1 -1
  38. package/dist/index.cjs468.js +1 -1
  39. package/dist/index.cjs469.js +1 -1
  40. package/dist/index.cjs470.js +1 -1
  41. package/dist/index.cjs478.js +1 -1
  42. package/dist/index.cjs484.js +1 -1
  43. package/dist/index.cjs486.js +1 -1
  44. package/dist/index.cjs501.js +1 -1
  45. package/dist/index.cjs501.js.map +1 -1
  46. package/dist/{index.cjs498.js → index.cjs502.js} +2 -2
  47. package/dist/{index.cjs498.js.map → index.cjs502.js.map} +1 -1
  48. package/dist/{index.cjs499.js → index.cjs503.js} +1 -1
  49. package/dist/{index.cjs499.js.map → index.cjs503.js.map} +1 -1
  50. package/dist/{index.cjs500.js → index.cjs504.js} +1 -1
  51. package/dist/{index.cjs500.js.map → index.cjs504.js.map} +1 -1
  52. package/dist/index.cjs505.js +2 -0
  53. package/dist/index.cjs505.js.map +1 -0
  54. package/dist/index.cjs527.js +1 -1
  55. package/dist/index.cjs529.js +1 -1
  56. package/dist/index.cjs531.js +1 -1
  57. package/dist/index.cjs532.js +1 -1
  58. package/dist/index.cjs535.js +1 -1
  59. package/dist/index.cjs538.js +1 -1
  60. package/dist/index.cjs543.js +1 -1
  61. package/dist/index.cjs545.js +1 -1
  62. package/dist/index.cjs548.js +1 -1
  63. package/dist/index.cjs549.js +1 -1
  64. package/dist/index.cjs554.js +2 -0
  65. package/dist/index.cjs554.js.map +1 -0
  66. package/dist/index.cjs555.js +1 -1
  67. package/dist/index.cjs555.js.map +1 -1
  68. package/dist/index.cjs556.js +1 -1
  69. package/dist/index.cjs556.js.map +1 -1
  70. package/dist/{index.cjs564.js → index.cjs557.js} +1 -1
  71. package/dist/{index.cjs564.js.map → index.cjs557.js.map} +1 -1
  72. package/dist/{index.cjs565.js → index.cjs558.js} +1 -1
  73. package/dist/{index.cjs565.js.map → index.cjs558.js.map} +1 -1
  74. package/dist/index.cjs560.js +2 -0
  75. package/dist/index.cjs560.js.map +1 -0
  76. package/dist/index.cjs561.js +1 -1
  77. package/dist/index.cjs561.js.map +1 -1
  78. package/dist/index.cjs562.js +1 -1
  79. package/dist/index.cjs562.js.map +1 -1
  80. package/dist/index.cjs567.js +1 -1
  81. package/dist/index.cjs567.js.map +1 -1
  82. package/dist/index.cjs568.js +1 -1
  83. package/dist/index.cjs568.js.map +1 -1
  84. package/dist/index.cjs569.js +1 -1
  85. package/dist/index.cjs580.js +1 -1
  86. package/dist/index.cjs580.js.map +1 -1
  87. package/dist/index.cjs581.js +1 -2
  88. package/dist/index.cjs581.js.map +1 -1
  89. package/dist/index.cjs582.js +1 -1
  90. package/dist/index.cjs582.js.map +1 -1
  91. package/dist/index.cjs583.js +1 -1
  92. package/dist/index.cjs583.js.map +1 -1
  93. package/dist/index.cjs584.js +1 -1
  94. package/dist/index.cjs584.js.map +1 -1
  95. package/dist/index.cjs585.js +2 -1
  96. package/dist/index.cjs585.js.map +1 -1
  97. package/dist/index.es257.js +7 -7
  98. package/dist/index.es262.js +1 -1
  99. package/dist/index.es270.js +5 -5
  100. package/dist/index.es287.js +6 -6
  101. package/dist/index.es294.js +1 -1
  102. package/dist/index.es299.js +1 -1
  103. package/dist/index.es310.js +1 -1
  104. package/dist/index.es318.js +5 -5
  105. package/dist/index.es360.js +3 -3
  106. package/dist/index.es366.js +1 -1
  107. package/dist/index.es395.js +2 -2
  108. package/dist/index.es396.js +3 -3
  109. package/dist/index.es406.js +1 -1
  110. package/dist/index.es431.js +1 -1
  111. package/dist/index.es436.js +3 -3
  112. package/dist/index.es450.js +7 -15
  113. package/dist/index.es450.js.map +1 -1
  114. package/dist/index.es451.js +30 -0
  115. package/dist/index.es451.js.map +1 -0
  116. package/dist/index.es452.js +71 -0
  117. package/dist/index.es452.js.map +1 -0
  118. package/dist/index.es453.js +29 -6
  119. package/dist/index.es453.js.map +1 -1
  120. package/dist/index.es454.js +32 -26
  121. package/dist/index.es454.js.map +1 -1
  122. package/dist/index.es455.js +617 -63
  123. package/dist/index.es455.js.map +1 -1
  124. package/dist/index.es456.js +10 -29
  125. package/dist/index.es456.js.map +1 -1
  126. package/dist/index.es457.js +15 -33
  127. package/dist/index.es457.js.map +1 -1
  128. package/dist/index.es461.js +1 -1
  129. package/dist/index.es462.js +2 -2
  130. package/dist/index.es464.js +3 -3
  131. package/dist/index.es466.js +2 -2
  132. package/dist/index.es467.js +3 -3
  133. package/dist/index.es468.js +1 -1
  134. package/dist/index.es469.js +1 -1
  135. package/dist/index.es470.js +6 -6
  136. package/dist/index.es478.js +1 -1
  137. package/dist/index.es484.js +1 -1
  138. package/dist/index.es486.js +4 -4
  139. package/dist/index.es501.js +64 -61
  140. package/dist/index.es501.js.map +1 -1
  141. package/dist/{index.es498.js → index.es502.js} +2 -2
  142. package/dist/{index.es498.js.map → index.es502.js.map} +1 -1
  143. package/dist/{index.es499.js → index.es503.js} +1 -1
  144. package/dist/{index.es499.js.map → index.es503.js.map} +1 -1
  145. package/dist/{index.es500.js → index.es504.js} +1 -1
  146. package/dist/{index.es500.js.map → index.es504.js.map} +1 -1
  147. package/dist/index.es505.js +65 -0
  148. package/dist/index.es505.js.map +1 -0
  149. package/dist/index.es527.js +2 -2
  150. package/dist/index.es529.js +1 -1
  151. package/dist/index.es531.js +6 -6
  152. package/dist/index.es532.js +2 -2
  153. package/dist/index.es535.js +2 -2
  154. package/dist/index.es538.js +5 -5
  155. package/dist/index.es543.js +4 -4
  156. package/dist/index.es545.js +1 -1
  157. package/dist/index.es548.js +1 -1
  158. package/dist/index.es549.js +4 -4
  159. package/dist/index.es554.js +5 -0
  160. package/dist/index.es554.js.map +1 -0
  161. package/dist/index.es555.js +2 -74
  162. package/dist/index.es555.js.map +1 -1
  163. package/dist/index.es556.js +3 -2
  164. package/dist/index.es556.js.map +1 -1
  165. package/dist/{index.es564.js → index.es557.js} +1 -1
  166. package/dist/{index.es564.js.map → index.es557.js.map} +1 -1
  167. package/dist/{index.es565.js → index.es558.js} +1 -1
  168. package/dist/{index.es565.js.map → index.es558.js.map} +1 -1
  169. package/dist/index.es560.js +7 -0
  170. package/dist/index.es560.js.map +1 -0
  171. package/dist/index.es561.js +3 -2
  172. package/dist/index.es561.js.map +1 -1
  173. package/dist/index.es562.js +2 -2
  174. package/dist/index.es562.js.map +1 -1
  175. package/dist/index.es567.js +74 -2
  176. package/dist/index.es567.js.map +1 -1
  177. package/dist/index.es568.js +2 -4
  178. package/dist/index.es568.js.map +1 -1
  179. package/dist/index.es569.js +2 -2
  180. package/dist/index.es580.js +9 -5
  181. package/dist/index.es580.js.map +1 -1
  182. package/dist/index.es581.js +168 -511
  183. package/dist/index.es581.js.map +1 -1
  184. package/dist/index.es582.js +3 -9
  185. package/dist/index.es582.js.map +1 -1
  186. package/dist/index.es583.js +126 -171
  187. package/dist/index.es583.js.map +1 -1
  188. package/dist/index.es584.js +5 -3
  189. package/dist/index.es584.js.map +1 -1
  190. package/dist/index.es585.js +510 -122
  191. package/dist/index.es585.js.map +1 -1
  192. package/package.json +1 -1
  193. package/dist/index.cjs458.js +0 -2
  194. package/dist/index.cjs458.js.map +0 -1
  195. package/dist/index.cjs459.js +0 -2
  196. package/dist/index.cjs459.js.map +0 -1
  197. package/dist/index.cjs497.js +0 -2
  198. package/dist/index.cjs497.js.map +0 -1
  199. package/dist/index.cjs563.js +0 -2
  200. package/dist/index.cjs563.js.map +0 -1
  201. package/dist/index.cjs566.js +0 -2
  202. package/dist/index.cjs566.js.map +0 -1
  203. package/dist/index.es458.js +0 -625
  204. package/dist/index.es458.js.map +0 -1
  205. package/dist/index.es459.js +0 -14
  206. package/dist/index.es459.js.map +0 -1
  207. package/dist/index.es497.js +0 -68
  208. package/dist/index.es497.js.map +0 -1
  209. package/dist/index.es563.js +0 -6
  210. package/dist/index.es563.js.map +0 -1
  211. package/dist/index.es566.js +0 -6
  212. package/dist/index.es566.js.map +0 -1
  213. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1,524 +1,181 @@
1
- /*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
2
- var xe, At;
3
- function pn() {
4
- if (At) return xe;
5
- At = 1;
6
- const {
7
- entries: Pe,
8
- setPrototypeOf: ve,
9
- isFrozen: St,
10
- getPrototypeOf: Rt,
11
- getOwnPropertyDescriptor: yt
12
- } = Object;
13
- let {
14
- freeze: E,
15
- seal: O,
16
- create: ke
17
- } = Object, {
18
- apply: fe,
19
- construct: ue
20
- } = typeof Reflect < "u" && Reflect;
21
- E || (E = function(o) {
22
- return o;
23
- }), O || (O = function(o) {
24
- return o;
25
- }), fe || (fe = function(o, l, s) {
26
- return o.apply(l, s);
27
- }), ue || (ue = function(o, l) {
28
- return new o(...l);
29
- });
30
- const J = h(Array.prototype.forEach), Ot = h(Array.prototype.lastIndexOf), Ue = h(Array.prototype.pop), z = h(Array.prototype.push), Lt = h(Array.prototype.splice), Q = h(String.prototype.toLowerCase), me = h(String.prototype.toString), Fe = h(String.prototype.match), G = h(String.prototype.replace), Nt = h(String.prototype.indexOf), Dt = h(String.prototype.trim), L = h(Object.prototype.hasOwnProperty), g = h(RegExp.prototype.test), W = bt(TypeError);
31
- function h(r) {
32
- return function(o) {
33
- o instanceof RegExp && (o.lastIndex = 0);
34
- for (var l = arguments.length, s = new Array(l > 1 ? l - 1 : 0), T = 1; T < l; T++)
35
- s[T - 1] = arguments[T];
36
- return fe(r, o, s);
37
- };
38
- }
39
- function bt(r) {
40
- return function() {
41
- for (var o = arguments.length, l = new Array(o), s = 0; s < o; s++)
42
- l[s] = arguments[s];
43
- return ue(r, l);
44
- };
45
- }
46
- function a(r, o) {
47
- let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Q;
48
- ve && ve(r, null);
49
- let s = o.length;
50
- for (; s--; ) {
51
- let T = o[s];
52
- if (typeof T == "string") {
53
- const b = l(T);
54
- b !== T && (St(o) || (o[s] = b), T = b);
55
- }
56
- r[T] = !0;
57
- }
58
- return r;
59
- }
60
- function It(r) {
61
- for (let o = 0; o < r.length; o++)
62
- L(r, o) || (r[o] = null);
63
- return r;
64
- }
65
- function C(r) {
66
- const o = ke(null);
67
- for (const [l, s] of Pe(r))
68
- L(r, l) && (Array.isArray(s) ? o[l] = It(s) : s && typeof s == "object" && s.constructor === Object ? o[l] = C(s) : o[l] = s);
69
- return o;
70
- }
71
- function B(r, o) {
72
- for (; r !== null; ) {
73
- const s = yt(r, o);
74
- if (s) {
75
- if (s.get)
76
- return h(s.get);
77
- if (typeof s.value == "function")
78
- return h(s.value);
79
- }
80
- r = Rt(r);
81
- }
82
- function l() {
83
- return null;
84
- }
85
- return l;
86
- }
87
- const He = 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"]), pe = 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"]), de = E(["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"]), Mt = E(["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"]), Te = 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", "mprescripts"]), Ct = E(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ze = E(["#text"]), Ge = 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", "popover", "popovertarget", "popovertargetaction", "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", "wrap", "xmlns", "slot"]), _e = E(["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", "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"]), We = 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"]), ee = E(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), wt = O(/\{\{[\w\W]*|[\w\W]*\}\}/gm), xt = O(/<%[\w\W]*|[\w\W]*%>/gm), Pt = O(/\$\{[\w\W]*/gm), vt = O(/^data-[\-\w.\u00B7-\uFFFF]+$/), kt = O(/^aria-[\-\w]+$/), Be = O(
88
- /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
89
- // eslint-disable-line no-useless-escape
90
- ), Ut = O(/^(?:\w+script|data):/i), Ft = O(
91
- /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
92
- // eslint-disable-line no-control-regex
93
- ), Ye = O(/^html$/i), Ht = O(/^[a-z][.\w]*(-[.\w]+)+$/i);
94
- var Xe = /* @__PURE__ */ Object.freeze({
95
- __proto__: null,
96
- ARIA_ATTR: kt,
97
- ATTR_WHITESPACE: Ft,
98
- CUSTOM_ELEMENT: Ht,
99
- DATA_ATTR: vt,
100
- DOCTYPE_NAME: Ye,
101
- ERB_EXPR: xt,
102
- IS_ALLOWED_URI: Be,
103
- IS_SCRIPT_OR_DATA: Ut,
104
- MUSTACHE_EXPR: wt,
105
- TMPLIT_EXPR: Pt
106
- });
107
- const Y = {
108
- element: 1,
109
- text: 3,
110
- // Deprecated
111
- progressingInstruction: 7,
112
- comment: 8,
113
- document: 9
114
- }, zt = function() {
115
- return typeof window > "u" ? null : window;
116
- }, Gt = function(o, l) {
117
- if (typeof o != "object" || typeof o.createPolicy != "function")
118
- return null;
119
- let s = null;
120
- const T = "data-tt-policy-suffix";
121
- l && l.hasAttribute(T) && (s = l.getAttribute(T));
122
- const b = "dompurify" + (s ? "#" + s : "");
1
+ import { a } from "./index.es583.js";
2
+ function y(e) {
3
+ return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
4
+ }
5
+ function b(e) {
6
+ const t = e;
7
+ Object.keys(t).forEach((r) => {
123
8
  try {
124
- return o.createPolicy(b, {
125
- createHTML(x) {
126
- return x;
127
- },
128
- createScriptURL(x) {
129
- return x;
130
- }
131
- });
9
+ t[r] = null;
132
10
  } catch {
133
- return console.warn("TrustedTypes policy " + b + " could not be created."), null;
134
11
  }
135
- }, je = function() {
136
- return {
137
- afterSanitizeAttributes: [],
138
- afterSanitizeElements: [],
139
- afterSanitizeShadowDOM: [],
140
- beforeSanitizeAttributes: [],
141
- beforeSanitizeElements: [],
142
- beforeSanitizeShadowDOM: [],
143
- uponSanitizeAttribute: [],
144
- uponSanitizeElement: [],
145
- uponSanitizeShadowNode: []
146
- };
147
- };
148
- function Ve() {
149
- let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : zt();
150
- const o = (i) => Ve(i);
151
- if (o.version = "3.2.5", o.removed = [], !r || !r.document || r.document.nodeType !== Y.document || !r.Element)
152
- return o.isSupported = !1, o;
153
- let {
154
- document: l
155
- } = r;
156
- const s = l, T = s.currentScript, {
157
- DocumentFragment: b,
158
- HTMLTemplateElement: x,
159
- Node: Ee,
160
- Element: qe,
161
- NodeFilter: X,
162
- NamedNodeMap: Bt = r.NamedNodeMap || r.MozNamedAttrMap,
163
- HTMLFormElement: Yt,
164
- DOMParser: Xt,
165
- trustedTypes: te
166
- } = r, j = qe.prototype, jt = B(j, "cloneNode"), Vt = B(j, "remove"), qt = B(j, "nextSibling"), $t = B(j, "childNodes"), ne = B(j, "parentNode");
167
- if (typeof x == "function") {
168
- const i = l.createElement("template");
169
- i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
12
+ try {
13
+ delete t[r];
14
+ } catch {
170
15
  }
171
- let A, V = "";
172
- const {
173
- implementation: ge,
174
- createNodeIterator: Kt,
175
- createDocumentFragment: Zt,
176
- getElementsByTagName: Jt
177
- } = l, {
178
- importNode: Qt
179
- } = s;
180
- let S = je();
181
- o.isSupported = typeof Pe == "function" && typeof ne == "function" && ge && ge.createHTMLDocument !== void 0;
182
- const {
183
- MUSTACHE_EXPR: he,
184
- ERB_EXPR: Ae,
185
- TMPLIT_EXPR: Se,
186
- DATA_ATTR: en,
187
- ARIA_ATTR: tn,
188
- IS_SCRIPT_OR_DATA: nn,
189
- ATTR_WHITESPACE: $e,
190
- CUSTOM_ELEMENT: on
191
- } = Xe;
192
- let {
193
- IS_ALLOWED_URI: Ke
194
- } = Xe, u = null;
195
- const Ze = a({}, [...He, ...pe, ...de, ...Te, ...ze]);
196
- let p = null;
197
- const Je = a({}, [...Ge, ..._e, ...We, ...ee]);
198
- let f = Object.seal(ke(null, {
199
- tagNameCheck: {
200
- writable: !0,
201
- configurable: !1,
202
- enumerable: !0,
203
- value: null
204
- },
205
- attributeNameCheck: {
206
- writable: !0,
207
- configurable: !1,
208
- enumerable: !0,
209
- value: null
210
- },
211
- allowCustomizedBuiltInElements: {
212
- writable: !0,
213
- configurable: !1,
214
- enumerable: !0,
215
- value: !1
216
- }
217
- })), q = null, Re = null, Qe = !0, ye = !0, et = !1, tt = !0, P = !1, Oe = !0, w = !1, Le = !1, Ne = !1, v = !1, oe = !1, ie = !1, nt = !0, ot = !1;
218
- const an = "user-content-";
219
- let De = !0, $ = !1, k = {}, U = null;
220
- const it = a({}, ["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"]);
221
- let at = null;
222
- const rt = a({}, ["audio", "video", "img", "source", "image", "track"]);
223
- let be = null;
224
- const st = a({}, ["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", I = "http://www.w3.org/1999/xhtml";
225
- let F = I, Ie = !1, Me = null;
226
- const rn = a({}, [ae, re, I], me);
227
- let se = a({}, ["mi", "mo", "mn", "ms", "mtext"]), le = a({}, ["annotation-xml"]);
228
- const sn = a({}, ["title", "style", "font", "a", "script"]);
229
- let K = null;
230
- const ln = ["application/xhtml+xml", "text/html"], cn = "text/html";
231
- let m = null, H = null;
232
- const fn = l.createElement("form"), lt = function(e) {
233
- return e instanceof RegExp || e instanceof Function;
234
- }, Ce = function() {
235
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
236
- if (!(H && H === e)) {
237
- if ((!e || typeof e != "object") && (e = {}), e = C(e), K = // eslint-disable-next-line unicorn/prefer-includes
238
- ln.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? cn : e.PARSER_MEDIA_TYPE, m = K === "application/xhtml+xml" ? me : Q, u = L(e, "ALLOWED_TAGS") ? a({}, e.ALLOWED_TAGS, m) : Ze, p = L(e, "ALLOWED_ATTR") ? a({}, e.ALLOWED_ATTR, m) : Je, Me = L(e, "ALLOWED_NAMESPACES") ? a({}, e.ALLOWED_NAMESPACES, me) : rn, be = L(e, "ADD_URI_SAFE_ATTR") ? a(C(st), e.ADD_URI_SAFE_ATTR, m) : st, at = L(e, "ADD_DATA_URI_TAGS") ? a(C(rt), e.ADD_DATA_URI_TAGS, m) : rt, U = L(e, "FORBID_CONTENTS") ? a({}, e.FORBID_CONTENTS, m) : it, q = L(e, "FORBID_TAGS") ? a({}, e.FORBID_TAGS, m) : {}, Re = L(e, "FORBID_ATTR") ? a({}, e.FORBID_ATTR, m) : {}, k = L(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Qe = e.ALLOW_ARIA_ATTR !== !1, ye = e.ALLOW_DATA_ATTR !== !1, et = e.ALLOW_UNKNOWN_PROTOCOLS || !1, tt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, Oe = e.SAFE_FOR_XML !== !1, w = e.WHOLE_DOCUMENT || !1, v = e.RETURN_DOM || !1, oe = e.RETURN_DOM_FRAGMENT || !1, ie = e.RETURN_TRUSTED_TYPE || !1, Ne = e.FORCE_BODY || !1, nt = e.SANITIZE_DOM !== !1, ot = e.SANITIZE_NAMED_PROPS || !1, De = e.KEEP_CONTENT !== !1, $ = e.IN_PLACE || !1, Ke = e.ALLOWED_URI_REGEXP || Be, F = e.NAMESPACE || I, se = e.MATHML_TEXT_INTEGRATION_POINTS || se, le = e.HTML_INTEGRATION_POINTS || le, f = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && lt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (f.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && lt(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), P && (ye = !1), oe && (v = !0), k && (u = a({}, ze), p = [], k.html === !0 && (a(u, He), a(p, Ge)), k.svg === !0 && (a(u, pe), a(p, _e), a(p, ee)), k.svgFilters === !0 && (a(u, de), a(p, _e), a(p, ee)), k.mathMl === !0 && (a(u, Te), a(p, We), a(p, ee))), e.ADD_TAGS && (u === Ze && (u = C(u)), a(u, e.ADD_TAGS, m)), e.ADD_ATTR && (p === Je && (p = C(p)), a(p, e.ADD_ATTR, m)), e.ADD_URI_SAFE_ATTR && a(be, e.ADD_URI_SAFE_ATTR, m), e.FORBID_CONTENTS && (U === it && (U = C(U)), a(U, e.FORBID_CONTENTS, m)), De && (u["#text"] = !0), w && a(u, ["html", "head", "body"]), u.table && (a(u, ["tbody"]), delete q.tbody), e.TRUSTED_TYPES_POLICY) {
239
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
240
- throw W('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
241
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
242
- throw W('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
243
- A = e.TRUSTED_TYPES_POLICY, V = A.createHTML("");
244
- } else
245
- A === void 0 && (A = Gt(te, T)), A !== null && typeof V == "string" && (V = A.createHTML(""));
246
- E && E(e), H = e;
247
- }
248
- }, ct = a({}, [...pe, ...de, ...Mt]), ft = a({}, [...Te, ...Ct]), un = function(e) {
249
- let t = ne(e);
250
- (!t || !t.tagName) && (t = {
251
- namespaceURI: F,
252
- tagName: "template"
253
- });
254
- const n = Q(e.tagName), c = Q(t.tagName);
255
- return Me[e.namespaceURI] ? e.namespaceURI === re ? t.namespaceURI === I ? n === "svg" : t.namespaceURI === ae ? n === "svg" && (c === "annotation-xml" || se[c]) : !!ct[n] : e.namespaceURI === ae ? t.namespaceURI === I ? n === "math" : t.namespaceURI === re ? n === "math" && le[c] : !!ft[n] : e.namespaceURI === I ? t.namespaceURI === re && !le[c] || t.namespaceURI === ae && !se[c] ? !1 : !ft[n] && (sn[n] || !ct[n]) : !!(K === "application/xhtml+xml" && Me[e.namespaceURI]) : !1;
256
- }, N = function(e) {
257
- z(o.removed, {
258
- element: e
259
- });
260
- try {
261
- ne(e).removeChild(e);
262
- } catch {
263
- Vt(e);
16
+ });
17
+ }
18
+ function M(e, t) {
19
+ return t === void 0 && (t = 0), setTimeout(e, t);
20
+ }
21
+ function C() {
22
+ return Date.now();
23
+ }
24
+ function S(e) {
25
+ const t = a();
26
+ let r;
27
+ return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
28
+ }
29
+ function v(e, t) {
30
+ t === void 0 && (t = "x");
31
+ const r = a();
32
+ let n, o, s;
33
+ const l = S(e);
34
+ return r.WebKitCSSMatrix ? (o = l.transform || l.webkitTransform, o.split(",").length > 6 && (o = o.split(", ").map((i) => i.replace(",", ".")).join(", ")), s = new r.WebKitCSSMatrix(o === "none" ? "" : o)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), t === "x" && (r.WebKitCSSMatrix ? o = s.m41 : n.length === 16 ? o = parseFloat(n[12]) : o = parseFloat(n[4])), t === "y" && (r.WebKitCSSMatrix ? o = s.m42 : n.length === 16 ? o = parseFloat(n[13]) : o = parseFloat(n[5])), o || 0;
35
+ }
36
+ function d(e) {
37
+ return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
38
+ }
39
+ function E(e) {
40
+ return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
41
+ }
42
+ function g() {
43
+ const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
44
+ for (let r = 1; r < arguments.length; r += 1) {
45
+ const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
46
+ if (n != null && !E(n)) {
47
+ const o = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
48
+ for (let s = 0, l = o.length; s < l; s += 1) {
49
+ const i = o[s], u = Object.getOwnPropertyDescriptor(n, i);
50
+ u !== void 0 && u.enumerable && (d(e[i]) && d(n[i]) ? n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i]) : !d(e[i]) && d(n[i]) ? (e[i] = {}, n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i])) : e[i] = n[i]);
264
51
  }
265
- }, ce = function(e, t) {
266
- try {
267
- z(o.removed, {
268
- attribute: t.getAttributeNode(e),
269
- from: t
270
- });
271
- } catch {
272
- z(o.removed, {
273
- attribute: null,
274
- from: t
52
+ }
53
+ }
54
+ return e;
55
+ }
56
+ function O(e, t, r) {
57
+ e.style.setProperty(t, r);
58
+ }
59
+ function P(e) {
60
+ let {
61
+ swiper: t,
62
+ targetPosition: r,
63
+ side: n
64
+ } = e;
65
+ const o = a(), s = -t.translate;
66
+ let l = null, i;
67
+ const u = t.params.speed;
68
+ t.wrapperEl.style.scrollSnapType = "none", o.cancelAnimationFrame(t.cssModeFrameID);
69
+ const p = r > s ? "next" : "prev", h = (f, m) => p === "next" && f >= m || p === "prev" && f <= m, w = () => {
70
+ i = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = i);
71
+ const f = Math.max(Math.min((i - l) / u, 1), 0), m = 0.5 - Math.cos(f * Math.PI) / 2;
72
+ let c = s + m * (r - s);
73
+ if (h(c, r) && (c = r), t.wrapperEl.scrollTo({
74
+ [n]: c
75
+ }), h(c, r)) {
76
+ t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
77
+ t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({
78
+ [n]: c
275
79
  });
276
- }
277
- if (t.removeAttribute(e), e === "is")
278
- if (v || oe)
279
- try {
280
- N(t);
281
- } catch {
282
- }
283
- else
284
- try {
285
- t.setAttribute(e, "");
286
- } catch {
287
- }
288
- }, ut = function(e) {
289
- let t = null, n = null;
290
- if (Ne)
291
- e = "<remove></remove>" + e;
292
- else {
293
- const d = Fe(e, /^[\r\n\t ]+/);
294
- n = d && d[0];
295
- }
296
- K === "application/xhtml+xml" && F === I && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
297
- const c = A ? A.createHTML(e) : e;
298
- if (F === I)
299
- try {
300
- t = new Xt().parseFromString(c, K);
301
- } catch {
302
- }
303
- if (!t || !t.documentElement) {
304
- t = ge.createDocument(F, "template", null);
305
- try {
306
- t.documentElement.innerHTML = Ie ? V : c;
307
- } catch {
308
- }
309
- }
310
- const _ = t.body || t.documentElement;
311
- return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), F === I ? Jt.call(t, w ? "html" : "body")[0] : w ? t.documentElement : _;
312
- }, mt = function(e) {
313
- return Kt.call(
314
- e.ownerDocument || e,
315
- e,
316
- // eslint-disable-next-line no-bitwise
317
- X.SHOW_ELEMENT | X.SHOW_COMMENT | X.SHOW_TEXT | X.SHOW_PROCESSING_INSTRUCTION | X.SHOW_CDATA_SECTION,
318
- null
319
- );
320
- }, we = function(e) {
321
- return e instanceof Yt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Bt) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
322
- }, pt = function(e) {
323
- return typeof Ee == "function" && e instanceof Ee;
324
- };
325
- function M(i, e, t) {
326
- J(i, (n) => {
327
- n.call(o, e, t, H);
328
- });
80
+ }), o.cancelAnimationFrame(t.cssModeFrameID);
81
+ return;
329
82
  }
330
- const dt = function(e) {
331
- let t = null;
332
- if (M(S.beforeSanitizeElements, e, null), we(e))
333
- return N(e), !0;
334
- const n = m(e.nodeName);
335
- if (M(S.uponSanitizeElement, e, {
336
- tagName: n,
337
- allowedTags: u
338
- }), e.hasChildNodes() && !pt(e.firstElementChild) && g(/<[/\w!]/g, e.innerHTML) && g(/<[/\w!]/g, e.textContent) || e.nodeType === Y.progressingInstruction || Oe && e.nodeType === Y.comment && g(/<[/\w]/g, e.data))
339
- return N(e), !0;
340
- if (!u[n] || q[n]) {
341
- if (!q[n] && _t(n) && (f.tagNameCheck instanceof RegExp && g(f.tagNameCheck, n) || f.tagNameCheck instanceof Function && f.tagNameCheck(n)))
342
- return !1;
343
- if (De && !U[n]) {
344
- const c = ne(e) || e.parentNode, _ = $t(e) || e.childNodes;
345
- if (_ && c) {
346
- const d = _.length;
347
- for (let y = d - 1; y >= 0; --y) {
348
- const D = jt(_[y], !0);
349
- D.__removalCount = (e.__removalCount || 0) + 1, c.insertBefore(D, qt(e));
350
- }
351
- }
352
- }
353
- return N(e), !0;
354
- }
355
- return e instanceof qe && !un(e) || (n === "noscript" || n === "noembed" || n === "noframes") && g(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N(e), !0) : (P && e.nodeType === Y.text && (t = e.textContent, J([he, Ae, Se], (c) => {
356
- t = G(t, c, " ");
357
- }), e.textContent !== t && (z(o.removed, {
358
- element: e.cloneNode()
359
- }), e.textContent = t)), M(S.afterSanitizeElements, e, null), !1);
360
- }, Tt = function(e, t, n) {
361
- if (nt && (t === "id" || t === "name") && (n in l || n in fn))
362
- return !1;
363
- if (!(ye && !Re[t] && g(en, t))) {
364
- if (!(Qe && g(tn, t))) {
365
- if (!p[t] || Re[t]) {
366
- if (
367
- // First condition does a very basic check if a) it's basically a valid custom element tagname AND
368
- // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
369
- // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
370
- !(_t(e) && (f.tagNameCheck instanceof RegExp && g(f.tagNameCheck, e) || f.tagNameCheck instanceof Function && f.tagNameCheck(e)) && (f.attributeNameCheck instanceof RegExp && g(f.attributeNameCheck, t) || f.attributeNameCheck instanceof Function && f.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
371
- // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
372
- t === "is" && f.allowCustomizedBuiltInElements && (f.tagNameCheck instanceof RegExp && g(f.tagNameCheck, n) || f.tagNameCheck instanceof Function && f.tagNameCheck(n)))
373
- ) return !1;
374
- } else if (!be[t]) {
375
- if (!g(Ke, G(n, $e, ""))) {
376
- if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Nt(n, "data:") === 0 && at[e])) {
377
- if (!(et && !g(nn, G(n, $e, "")))) {
378
- if (n)
379
- return !1;
380
- }
381
- }
382
- }
383
- }
384
- }
385
- }
83
+ t.cssModeFrameID = o.requestAnimationFrame(w);
84
+ };
85
+ w();
86
+ }
87
+ function j(e, t) {
88
+ t === void 0 && (t = "");
89
+ const r = a(), n = [...e.children];
90
+ return r.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((o) => o.matches(t)) : n;
91
+ }
92
+ function T(e, t) {
93
+ const r = [t];
94
+ for (; r.length > 0; ) {
95
+ const n = r.shift();
96
+ if (e === n)
386
97
  return !0;
387
- }, _t = function(e) {
388
- return e !== "annotation-xml" && Fe(e, on);
389
- }, Et = function(e) {
390
- M(S.beforeSanitizeAttributes, e, null);
391
- const {
392
- attributes: t
393
- } = e;
394
- if (!t || we(e))
395
- return;
396
- const n = {
397
- attrName: "",
398
- attrValue: "",
399
- keepAttr: !0,
400
- allowedAttributes: p,
401
- forceKeepAttr: void 0
402
- };
403
- let c = t.length;
404
- for (; c--; ) {
405
- const _ = t[c], {
406
- name: d,
407
- namespaceURI: y,
408
- value: D
409
- } = _, Z = m(d);
410
- let R = d === "value" ? D : Dt(D);
411
- if (n.attrName = Z, n.attrValue = R, n.keepAttr = !0, n.forceKeepAttr = void 0, M(S.uponSanitizeAttribute, e, n), R = n.attrValue, ot && (Z === "id" || Z === "name") && (ce(d, e), R = an + R), Oe && g(/((--!?|])>)|<\/(style|title)/i, R)) {
412
- ce(d, e);
413
- continue;
414
- }
415
- if (n.forceKeepAttr || (ce(d, e), !n.keepAttr))
416
- continue;
417
- if (!tt && g(/\/>/i, R)) {
418
- ce(d, e);
419
- continue;
420
- }
421
- P && J([he, Ae, Se], (ht) => {
422
- R = G(R, ht, " ");
423
- });
424
- const gt = m(e.nodeName);
425
- if (Tt(gt, Z, R)) {
426
- if (A && typeof te == "object" && typeof te.getAttributeType == "function" && !y)
427
- switch (te.getAttributeType(gt, Z)) {
428
- case "TrustedHTML": {
429
- R = A.createHTML(R);
430
- break;
431
- }
432
- case "TrustedScriptURL": {
433
- R = A.createScriptURL(R);
434
- break;
435
- }
436
- }
437
- try {
438
- y ? e.setAttributeNS(y, d, R) : e.setAttribute(d, R), we(e) ? N(e) : Ue(o.removed);
439
- } catch {
440
- }
441
- }
442
- }
443
- M(S.afterSanitizeAttributes, e, null);
444
- }, mn = function i(e) {
445
- let t = null;
446
- const n = mt(e);
447
- for (M(S.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
448
- M(S.uponSanitizeShadowNode, t, null), dt(t), Et(t), t.content instanceof b && i(t.content);
449
- M(S.afterSanitizeShadowDOM, e, null);
450
- };
451
- return o.sanitize = function(i) {
452
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, c = null, _ = null;
453
- if (Ie = !i, Ie && (i = "<!-->"), typeof i != "string" && !pt(i))
454
- if (typeof i.toString == "function") {
455
- if (i = i.toString(), typeof i != "string")
456
- throw W("dirty is not a string, aborting");
457
- } else
458
- throw W("toString is not a function");
459
- if (!o.isSupported)
460
- return i;
461
- if (Le || Ce(e), o.removed = [], typeof i == "string" && ($ = !1), $) {
462
- if (i.nodeName) {
463
- const D = m(i.nodeName);
464
- if (!u[D] || q[D])
465
- throw W("root node is forbidden and cannot be sanitized in-place");
466
- }
467
- } else if (i instanceof Ee)
468
- t = ut("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Y.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
469
- else {
470
- if (!v && !P && !w && // eslint-disable-next-line unicorn/prefer-includes
471
- i.indexOf("<") === -1)
472
- return A && ie ? A.createHTML(i) : i;
473
- if (t = ut(i), !t)
474
- return v ? null : ie ? V : "";
475
- }
476
- t && Ne && N(t.firstChild);
477
- const d = mt($ ? i : t);
478
- for (; c = d.nextNode(); )
479
- dt(c), Et(c), c.content instanceof b && mn(c.content);
480
- if ($)
481
- return i;
482
- if (v) {
483
- if (oe)
484
- for (_ = Zt.call(t.ownerDocument); t.firstChild; )
485
- _.appendChild(t.firstChild);
486
- else
487
- _ = t;
488
- return (p.shadowroot || p.shadowrootmode) && (_ = Qt.call(s, _, !0)), _;
489
- }
490
- let y = w ? t.outerHTML : t.innerHTML;
491
- return w && u["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && g(Ye, t.ownerDocument.doctype.name) && (y = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
492
- ` + y), P && J([he, Ae, Se], (D) => {
493
- y = G(y, D, " ");
494
- }), A && ie ? A.createHTML(y) : y;
495
- }, o.setConfig = function() {
496
- let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
497
- Ce(i), Le = !0;
498
- }, o.clearConfig = function() {
499
- H = null, Le = !1;
500
- }, o.isValidAttribute = function(i, e, t) {
501
- H || Ce({});
502
- const n = m(i), c = m(e);
503
- return Tt(n, c, t);
504
- }, o.addHook = function(i, e) {
505
- typeof e == "function" && z(S[i], e);
506
- }, o.removeHook = function(i, e) {
507
- if (e !== void 0) {
508
- const t = Ot(S[i], e);
509
- return t === -1 ? void 0 : Lt(S[i], t, 1)[0];
510
- }
511
- return Ue(S[i]);
512
- }, o.removeHooks = function(i) {
513
- S[i] = [];
514
- }, o.removeAllHooks = function() {
515
- S = je();
516
- }, o;
98
+ r.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
99
+ }
100
+ }
101
+ function F(e, t) {
102
+ const r = a();
103
+ let n = t.contains(e);
104
+ return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = T(e, t))), n;
105
+ }
106
+ function _(e) {
107
+ try {
108
+ console.warn(e);
109
+ return;
110
+ } catch {
111
+ }
112
+ }
113
+ function A(e, t) {
114
+ t === void 0 && (t = []);
115
+ const r = document.createElement(e);
116
+ return r.classList.add(...Array.isArray(t) ? t : y(t)), r;
117
+ }
118
+ function I(e, t) {
119
+ const r = [];
120
+ for (; e.previousElementSibling; ) {
121
+ const n = e.previousElementSibling;
122
+ t ? n.matches(t) && r.push(n) : r.push(n), e = n;
123
+ }
124
+ return r;
125
+ }
126
+ function k(e, t) {
127
+ const r = [];
128
+ for (; e.nextElementSibling; ) {
129
+ const n = e.nextElementSibling;
130
+ t ? n.matches(t) && r.push(n) : r.push(n), e = n;
131
+ }
132
+ return r;
133
+ }
134
+ function H(e, t) {
135
+ return a().getComputedStyle(e, null).getPropertyValue(t);
136
+ }
137
+ function L(e) {
138
+ let t = e, r;
139
+ if (t) {
140
+ for (r = 0; (t = t.previousSibling) !== null; )
141
+ t.nodeType === 1 && (r += 1);
142
+ return r;
517
143
  }
518
- var Wt = Ve();
519
- return xe = Wt, xe;
144
+ }
145
+ function W(e, t) {
146
+ const r = [];
147
+ let n = e.parentElement;
148
+ for (; n; )
149
+ t ? n.matches(t) && r.push(n) : r.push(n), n = n.parentElement;
150
+ return r;
151
+ }
152
+ function D(e, t, r) {
153
+ const n = a();
154
+ return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
155
+ }
156
+ function K(e) {
157
+ return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
520
158
  }
521
159
  export {
522
- pn as __require
160
+ W as a,
161
+ A as c,
162
+ C as d,
163
+ j as e,
164
+ D as f,
165
+ L as h,
166
+ y as i,
167
+ v as j,
168
+ d as l,
169
+ K as m,
170
+ M as n,
171
+ H as p,
172
+ k as q,
173
+ I as r,
174
+ O as s,
175
+ P as t,
176
+ _ as u,
177
+ F as v,
178
+ g as w,
179
+ b as x
523
180
  };
524
181
  //# sourceMappingURL=index.es581.js.map