@leaflink/stash 48.10.0 → 48.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/Accordion.js +1 -1
  2. package/dist/ActionsDropdown.js +1 -1
  3. package/dist/AddressSelect.js +1 -1
  4. package/dist/AddressSelect.js.map +1 -1
  5. package/dist/Alert.js +1 -1
  6. package/dist/Alert.js.map +1 -1
  7. package/dist/AppNavigationItem.js +1 -1
  8. package/dist/AppTopbar.js +1 -1
  9. package/dist/Avatar.vue.d.ts +1 -1
  10. package/dist/Badge.js.map +1 -1
  11. package/dist/Button.vue.d.ts +3 -1
  12. package/dist/CardMedia.js +1 -1
  13. package/dist/Carousel.js.map +1 -1
  14. package/dist/ChevronToggle.js +1 -1
  15. package/dist/ChevronToggle.vue_vue_type_script_setup_true_lang-1591294c.js.map +1 -1
  16. package/dist/Chip.js +1 -1
  17. package/dist/Chip.js.map +1 -1
  18. package/dist/Chip.vue.d.ts +1 -1
  19. package/dist/ConfirmationCodeInput.js.map +1 -1
  20. package/dist/ContextSwitcher.js.map +1 -1
  21. package/dist/Copy.js +1 -1
  22. package/dist/CurrencyInput.js +39 -34
  23. package/dist/CurrencyInput.js.map +1 -1
  24. package/dist/DataView.js +1 -1
  25. package/dist/DataView.js.map +1 -1
  26. package/dist/DataViewFilters.js +1 -1
  27. package/dist/DataViewFilters.js.map +1 -1
  28. package/dist/DataViewSortButton.js +1 -1
  29. package/dist/DataViewToolbar.js +1 -1
  30. package/dist/DatePicker.js +3355 -3368
  31. package/dist/DatePicker.js.map +1 -1
  32. package/dist/Dialog.js +75 -69
  33. package/dist/Dialog.js.map +1 -1
  34. package/dist/Dropdown.js +1 -1
  35. package/dist/Dropdown.js.map +1 -1
  36. package/dist/EmptyState.js +2 -2
  37. package/dist/Expand.vue_vue_type_script_setup_true_lang-1751f4a6.js.map +1 -1
  38. package/dist/FileUpload.js +1 -1
  39. package/dist/FileUpload.js.map +1 -1
  40. package/dist/FilterChip.js +1 -1
  41. package/dist/FilterDrawerItem.js +1 -1
  42. package/dist/FilterDropdown.js +1 -1
  43. package/dist/FilterSelect.js +1 -1
  44. package/dist/FilterSelect.js.map +1 -1
  45. package/dist/Filters.js +1 -1
  46. package/dist/Filters.js.map +1 -1
  47. package/dist/HttpError.js +2 -2
  48. package/dist/Icon.js +1 -1
  49. package/dist/Icon.js.map +1 -1
  50. package/dist/IconLabel.js +1 -1
  51. package/dist/IconLabel.vue.d.ts +1 -1
  52. package/dist/Illustration.js +3 -3
  53. package/dist/{Illustration.vue_vue_type_script_setup_true_lang-4b8944da.js → Illustration.vue_vue_type_script_setup_true_lang-e26c3841.js} +2 -2
  54. package/dist/{Illustration.vue_vue_type_script_setup_true_lang-4b8944da.js.map → Illustration.vue_vue_type_script_setup_true_lang-e26c3841.js.map} +1 -1
  55. package/dist/Image.js.map +1 -1
  56. package/dist/InlineEdit.js +1 -1
  57. package/dist/Input.js +1 -1
  58. package/dist/Input.js.map +1 -1
  59. package/dist/InputOptions.js +1 -1
  60. package/dist/LicenseChip.js +1 -1
  61. package/dist/ListView.js +2 -2
  62. package/dist/ListView.js.map +1 -1
  63. package/dist/Logo.vue_vue_type_script_setup_true_lang-d7da48a0.js.map +1 -1
  64. package/dist/Metric.vue.d.ts +1 -1
  65. package/dist/Modal.js +1 -1
  66. package/dist/Modals.js +6 -6
  67. package/dist/Modals.js.map +1 -1
  68. package/dist/ObfuscateText.js +1 -1
  69. package/dist/PageNavigation.js +1 -1
  70. package/dist/PageNavigation.js.map +1 -1
  71. package/dist/Paginate.js +1 -1
  72. package/dist/PlaidLink.js.map +1 -1
  73. package/dist/QuickAction.js +1 -1
  74. package/dist/RadioNew.js.map +1 -1
  75. package/dist/RangeInput.js +1 -1
  76. package/dist/SearchBar.js +1 -1
  77. package/dist/Select.js +709 -653
  78. package/dist/Select.js.map +1 -1
  79. package/dist/SelectStatus.js +1 -1
  80. package/dist/SelectStatus.js.map +1 -1
  81. package/dist/SelectStatus.vue.d.ts +1 -1
  82. package/dist/Skeleton.js.map +1 -1
  83. package/dist/Step.js +1 -1
  84. package/dist/Stepper.js +1 -1
  85. package/dist/Tab.js +1 -1
  86. package/dist/Tab.vue_vue_type_script_setup_true_lang-69d1b046.js.map +1 -1
  87. package/dist/Table.js +2 -2
  88. package/dist/TableCell.js +2 -2
  89. package/dist/TableHeaderCell.js +2 -2
  90. package/dist/TableHeaderRow.js +2 -2
  91. package/dist/TableRow.js +2 -2
  92. package/dist/TableRow.vue.d.ts +1 -1
  93. package/dist/Tabs.js +1 -1
  94. package/dist/TextEditor.js +991 -991
  95. package/dist/TextEditor.js.map +1 -1
  96. package/dist/Textarea.js.map +1 -1
  97. package/dist/Toast.js +274 -252
  98. package/dist/Toast.js.map +1 -1
  99. package/dist/Toasts.js +1 -1
  100. package/dist/ToastsPlugin.js +1 -1
  101. package/dist/components.css +2 -2
  102. package/dist/index-5e5945a9.js.map +1 -1
  103. package/dist/{index-79ce320f.js → index-9e1095ef.js} +6 -4
  104. package/dist/index-9e1095ef.js.map +1 -0
  105. package/dist/index.d.ts +1 -1
  106. package/dist/index.js +1 -1
  107. package/dist/index.js.map +1 -1
  108. package/dist/isDefined-2ce6cde4.js.map +1 -1
  109. package/dist/observe.js.map +1 -1
  110. package/dist/searchFuzzy-74a7de1c.js.map +1 -1
  111. package/dist/sticky.js.map +1 -1
  112. package/dist/tailwind-base.js.map +1 -1
  113. package/dist/toTimeZone-e6e9ab75.js.map +1 -1
  114. package/dist/tooltip.js.map +1 -1
  115. package/dist/useGoogleMaps.js +109 -119
  116. package/dist/useGoogleMaps.js.map +1 -1
  117. package/dist/useModals.d.ts +6 -363
  118. package/dist/useModals.js.map +1 -1
  119. package/dist/useScriptTag.js.map +1 -1
  120. package/dist/useStepper.js.map +1 -1
  121. package/dist/useValidation.js.map +1 -1
  122. package/dist/utils/colorScheme.js.map +1 -1
  123. package/dist/utils/createQueryString.js.map +1 -1
  124. package/dist/utils/formatDateTime.js.map +1 -1
  125. package/dist/utils/helpers.js.map +1 -1
  126. package/dist/utils/i18n.js.map +1 -1
  127. package/dist/utils/storage.js.map +1 -1
  128. package/dist/viewable.js.map +1 -1
  129. package/package.json +30 -46
  130. package/dist/index-79ce320f.js.map +0 -1
package/dist/Toast.js CHANGED
@@ -1,30 +1,30 @@
1
- import { defineComponent as Vt, useCssModule as jt, computed as at, openBlock as Se, createElementBlock as Re, normalizeClass as $t, unref as ye, createVNode as st, isVNode as qt } from "vue";
2
- import lt from "@leaflink/snitch";
3
- import Kt from "lodash-es/capitalize";
4
- import { S as ct, b as Zt } from "./statusLevels-a8b041f4.js";
5
- import Jt from "./CustomRender.js";
6
- import Qt from "./Icon.js";
7
- import { _ as en } from "./_plugin-vue_export-helper-dad06003.js";
1
+ import { defineComponent as $t, useCssModule as qt, computed as lt, openBlock as ye, createElementBlock as Le, normalizeClass as Kt, unref as Oe, createVNode as ct, isVNode as Zt } from "vue";
2
+ import ut from "@leaflink/snitch";
3
+ import Jt from "lodash-es/capitalize";
4
+ import { S as ft, b as Qt } from "./statusLevels-a8b041f4.js";
5
+ import en from "./CustomRender.js";
6
+ import tn from "./Icon.js";
7
+ import { _ as nn } from "./_plugin-vue_export-helper-dad06003.js";
8
8
  import "lodash-es/uniqueId";
9
- import "./index-79ce320f.js";
9
+ import "./index-9e1095ef.js";
10
10
  import "./Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js";
11
- /*! @license DOMPurify 3.1.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.0/LICENSE */
11
+ /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
12
12
  const {
13
- entries: ht,
14
- setPrototypeOf: ut,
15
- isFrozen: tn,
16
- getPrototypeOf: nn,
17
- getOwnPropertyDescriptor: on
13
+ entries: At,
14
+ setPrototypeOf: mt,
15
+ isFrozen: on,
16
+ getPrototypeOf: rn,
17
+ getOwnPropertyDescriptor: an
18
18
  } = Object;
19
19
  let {
20
- freeze: h,
20
+ freeze: A,
21
21
  seal: y,
22
- create: gt
22
+ create: St
23
23
  } = Object, {
24
24
  apply: Me,
25
- construct: Ie
25
+ construct: we
26
26
  } = typeof Reflect < "u" && Reflect;
27
- h || (h = function(n) {
27
+ A || (A = function(n) {
28
28
  return n;
29
29
  });
30
30
  y || (y = function(n) {
@@ -33,10 +33,10 @@ y || (y = function(n) {
33
33
  Me || (Me = function(n, l, r) {
34
34
  return n.apply(l, r);
35
35
  });
36
- Ie || (Ie = function(n, l) {
36
+ we || (we = function(n, l) {
37
37
  return new n(...l);
38
38
  });
39
- const ne = R(Array.prototype.forEach), ft = R(Array.prototype.pop), V = R(Array.prototype.push), re = R(String.prototype.toLowerCase), Le = R(String.prototype.toString), mt = R(String.prototype.match), j = R(String.prototype.replace), rn = R(String.prototype.indexOf), an = R(String.prototype.trim), N = R(Object.prototype.hasOwnProperty), S = R(RegExp.prototype.test), $ = sn(TypeError);
39
+ const ae = R(Array.prototype.forEach), pt = R(Array.prototype.pop), j = R(Array.prototype.push), le = R(String.prototype.toLowerCase), Ne = R(String.prototype.toString), dt = R(String.prototype.match), $ = R(String.prototype.replace), sn = R(String.prototype.indexOf), ln = R(String.prototype.trim), N = R(Object.prototype.hasOwnProperty), h = R(RegExp.prototype.test), q = cn(TypeError);
40
40
  function R(s) {
41
41
  return function(n) {
42
42
  for (var l = arguments.length, r = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
@@ -44,77 +44,93 @@ function R(s) {
44
44
  return Me(s, n, r);
45
45
  };
46
46
  }
47
- function sn(s) {
47
+ function cn(s) {
48
48
  return function() {
49
49
  for (var n = arguments.length, l = new Array(n), r = 0; r < n; r++)
50
50
  l[r] = arguments[r];
51
- return Ie(s, l);
51
+ return we(s, l);
52
52
  };
53
53
  }
54
54
  function a(s, n) {
55
- let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : re;
56
- ut && ut(s, null);
55
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : le;
56
+ mt && mt(s, null);
57
57
  let r = n.length;
58
58
  for (; r--; ) {
59
59
  let f = n[r];
60
60
  if (typeof f == "string") {
61
61
  const L = l(f);
62
- L !== f && (tn(n) || (n[r] = L), f = L);
62
+ L !== f && (on(n) || (n[r] = L), f = L);
63
63
  }
64
64
  s[f] = !0;
65
65
  }
66
66
  return s;
67
67
  }
68
- function ln(s) {
68
+ function un(s) {
69
69
  for (let n = 0; n < s.length; n++)
70
70
  N(s, n) || (s[n] = null);
71
71
  return s;
72
72
  }
73
73
  function x(s) {
74
- const n = gt(null);
75
- for (const [l, r] of ht(s))
76
- N(s, l) && (Array.isArray(r) ? n[l] = ln(r) : r && typeof r == "object" && r.constructor === Object ? n[l] = x(r) : n[l] = r);
74
+ const n = St(null);
75
+ for (const [l, r] of At(s))
76
+ N(s, l) && (Array.isArray(r) ? n[l] = un(r) : r && typeof r == "object" && r.constructor === Object ? n[l] = x(r) : n[l] = r);
77
77
  return n;
78
78
  }
79
- function oe(s, n) {
79
+ function K(s, n) {
80
80
  for (; s !== null; ) {
81
- const r = on(s, n);
81
+ const r = an(s, n);
82
82
  if (r) {
83
83
  if (r.get)
84
84
  return R(r.get);
85
85
  if (typeof r.value == "function")
86
86
  return R(r.value);
87
87
  }
88
- s = nn(s);
88
+ s = rn(s);
89
89
  }
90
90
  function l() {
91
91
  return null;
92
92
  }
93
93
  return l;
94
94
  }
95
- const pt = h(["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"]), Oe = h(["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"]), Ne = h(["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"]), cn = h(["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"]), De = h(["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"]), un = h(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), dt = h(["#text"]), _t = h(["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", "wrap", "xmlns", "slot"]), be = h(["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 = h(["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"]), ie = h(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), fn = y(/\{\{[\w\W]*|[\w\W]*\}\}/gm), mn = y(/<%[\w\W]*|[\w\W]*%>/gm), pn = y(/\${[\w\W]*}/gm), dn = y(/^data-[\-\w.\u00B7-\uFFFF]/), _n = y(/^aria-[\-\w]+$/), At = y(
95
+ const _t = A(["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"]), De = A(["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"]), be = A(["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"]), fn = A(["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"]), Ce = A(["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"]), mn = A(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Tt = A(["#text"]), Et = A(["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"]), Ie = A(["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"]), gt = A(["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"]), se = A(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), pn = y(/\{\{[\w\W]*|[\w\W]*\}\}/gm), dn = y(/<%[\w\W]*|[\w\W]*%>/gm), _n = y(/\${[\w\W]*}/gm), Tn = y(/^data-[\-\w.\u00B7-\uFFFF]/), En = y(/^aria-[\-\w]+$/), Rt = y(
96
96
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
97
97
  // eslint-disable-line no-useless-escape
98
- ), Tn = y(/^(?:\w+script|data):/i), En = y(
98
+ ), gn = y(/^(?:\w+script|data):/i), hn = y(
99
99
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
100
100
  // eslint-disable-line no-control-regex
101
- ), St = y(/^html$/i), hn = y(/^[a-z][.\w]*(-[.\w]+)+$/i);
102
- var Et = /* @__PURE__ */ Object.freeze({
101
+ ), yt = y(/^html$/i), An = y(/^[a-z][.\w]*(-[.\w]+)+$/i);
102
+ var ht = /* @__PURE__ */ Object.freeze({
103
103
  __proto__: null,
104
- MUSTACHE_EXPR: fn,
105
- ERB_EXPR: mn,
106
- TMPLIT_EXPR: pn,
107
- DATA_ATTR: dn,
108
- ARIA_ATTR: _n,
109
- IS_ALLOWED_URI: At,
110
- IS_SCRIPT_OR_DATA: Tn,
111
- ATTR_WHITESPACE: En,
112
- DOCTYPE_NAME: St,
113
- CUSTOM_ELEMENT: hn
104
+ MUSTACHE_EXPR: pn,
105
+ ERB_EXPR: dn,
106
+ TMPLIT_EXPR: _n,
107
+ DATA_ATTR: Tn,
108
+ ARIA_ATTR: En,
109
+ IS_ALLOWED_URI: Rt,
110
+ IS_SCRIPT_OR_DATA: gn,
111
+ ATTR_WHITESPACE: hn,
112
+ DOCTYPE_NAME: yt,
113
+ CUSTOM_ELEMENT: An
114
114
  });
115
- const gn = function() {
115
+ const Z = {
116
+ element: 1,
117
+ attribute: 2,
118
+ text: 3,
119
+ cdataSection: 4,
120
+ entityReference: 5,
121
+ // Deprecated
122
+ entityNode: 6,
123
+ // Deprecated
124
+ progressingInstruction: 7,
125
+ comment: 8,
126
+ document: 9,
127
+ documentType: 10,
128
+ documentFragment: 11,
129
+ notation: 12
130
+ // Deprecated
131
+ }, Sn = function() {
116
132
  return typeof window > "u" ? null : window;
117
- }, An = function(n, l) {
133
+ }, Rn = function(n, l) {
118
134
  if (typeof n != "object" || typeof n.createPolicy != "function")
119
135
  return null;
120
136
  let r = null;
@@ -134,10 +150,10 @@ const gn = function() {
134
150
  return console.warn("TrustedTypes policy " + L + " could not be created."), null;
135
151
  }
136
152
  };
137
- function Rt() {
138
- let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : gn();
139
- const n = (i) => Rt(i);
140
- if (n.version = "3.1.0", n.removed = [], !s || !s.document || s.document.nodeType !== 9)
153
+ function Lt() {
154
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Sn();
155
+ const n = (i) => Lt(i);
156
+ if (n.version = "3.1.6", n.removed = [], !s || !s.document || s.document.nodeType !== Z.document)
141
157
  return n.isSupported = !1, n;
142
158
  let {
143
159
  document: l
@@ -145,46 +161,46 @@ function Rt() {
145
161
  const r = l, f = r.currentScript, {
146
162
  DocumentFragment: L,
147
163
  HTMLTemplateElement: O,
148
- Node: q,
149
- Element: Ce,
164
+ Node: J,
165
+ Element: xe,
150
166
  NodeFilter: z,
151
- NamedNodeMap: yt = s.NamedNodeMap || s.MozNamedAttrMap,
152
- HTMLFormElement: Lt,
153
- DOMParser: Ot,
154
- trustedTypes: K
155
- } = s, Z = Ce.prototype, Nt = oe(Z, "cloneNode"), Dt = oe(Z, "nextSibling"), bt = oe(Z, "childNodes"), ae = oe(Z, "parentNode");
167
+ NamedNodeMap: Ot = s.NamedNodeMap || s.MozNamedAttrMap,
168
+ HTMLFormElement: Nt,
169
+ DOMParser: Dt,
170
+ trustedTypes: Q
171
+ } = s, W = xe.prototype, bt = K(W, "cloneNode"), Ct = K(W, "remove"), It = K(W, "nextSibling"), Mt = K(W, "childNodes"), ee = K(W, "parentNode");
156
172
  if (typeof O == "function") {
157
173
  const i = l.createElement("template");
158
174
  i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
159
175
  }
160
- let E, W = "";
176
+ let E, G = "";
161
177
  const {
162
- implementation: se,
163
- createNodeIterator: Mt,
164
- createDocumentFragment: It,
165
- getElementsByTagName: Ct
178
+ implementation: ce,
179
+ createNodeIterator: wt,
180
+ createDocumentFragment: xt,
181
+ getElementsByTagName: Pt
166
182
  } = l, {
167
- importNode: wt
183
+ importNode: vt
168
184
  } = r;
169
185
  let D = {};
170
- n.isSupported = typeof ht == "function" && typeof ae == "function" && se && se.createHTMLDocument !== void 0;
186
+ n.isSupported = typeof At == "function" && typeof ee == "function" && ce && ce.createHTMLDocument !== void 0;
171
187
  const {
172
- MUSTACHE_EXPR: le,
173
- ERB_EXPR: ce,
174
- TMPLIT_EXPR: ue,
175
- DATA_ATTR: xt,
176
- ARIA_ATTR: Pt,
177
- IS_SCRIPT_OR_DATA: kt,
178
- ATTR_WHITESPACE: we,
179
- CUSTOM_ELEMENT: vt
180
- } = Et;
188
+ MUSTACHE_EXPR: ue,
189
+ ERB_EXPR: fe,
190
+ TMPLIT_EXPR: me,
191
+ DATA_ATTR: kt,
192
+ ARIA_ATTR: Ut,
193
+ IS_SCRIPT_OR_DATA: Ft,
194
+ ATTR_WHITESPACE: Pe,
195
+ CUSTOM_ELEMENT: Ht
196
+ } = ht;
181
197
  let {
182
- IS_ALLOWED_URI: xe
183
- } = Et, m = null;
184
- const Pe = a({}, [...pt, ...Oe, ...Ne, ...De, ...dt]);
198
+ IS_ALLOWED_URI: ve
199
+ } = ht, m = null;
200
+ const ke = a({}, [..._t, ...De, ...be, ...Ce, ...Tt]);
185
201
  let p = null;
186
- const ke = a({}, [..._t, ...be, ...Tt, ...ie]);
187
- let u = Object.seal(gt(null, {
202
+ const Ue = a({}, [...Et, ...Ie, ...gt, ...se]);
203
+ let u = Object.seal(St(null, {
188
204
  tagNameCheck: {
189
205
  writable: !0,
190
206
  configurable: !1,
@@ -203,82 +219,82 @@ function Rt() {
203
219
  enumerable: !0,
204
220
  value: !1
205
221
  }
206
- })), G = null, fe = null, ve = !0, me = !0, Ue = !1, Fe = !0, P = !1, He = !0, C = !1, pe = !1, de = !1, k = !1, J = !1, Q = !1, ze = !0, We = !1;
207
- const Ut = "user-content-";
208
- let _e = !0, B = !1, v = {}, U = null;
209
- const Ge = 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"]);
210
- let Be = null;
211
- const Ye = a({}, ["audio", "video", "img", "source", "image", "track"]);
212
- let Te = null;
213
- const Xe = a({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ee = "http://www.w3.org/1998/Math/MathML", te = "http://www.w3.org/2000/svg", b = "http://www.w3.org/1999/xhtml";
214
- let F = b, Ee = !1, he = null;
215
- const Ft = a({}, [ee, te, b], Le);
216
- let Y = null;
217
- const Ht = ["application/xhtml+xml", "text/html"], zt = "text/html";
222
+ })), B = null, pe = null, Fe = !0, de = !0, He = !1, ze = !0, P = !1, _e = !0, w = !1, Te = !1, Ee = !1, v = !1, te = !1, ne = !1, We = !0, Ge = !1;
223
+ const zt = "user-content-";
224
+ let ge = !0, Y = !1, k = {}, U = null;
225
+ const Be = 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"]);
226
+ let Ye = null;
227
+ const Xe = a({}, ["audio", "video", "img", "source", "image", "track"]);
228
+ let he = null;
229
+ const Ve = a({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), oe = "http://www.w3.org/1998/Math/MathML", ie = "http://www.w3.org/2000/svg", I = "http://www.w3.org/1999/xhtml";
230
+ let F = I, Ae = !1, Se = null;
231
+ const Wt = a({}, [oe, ie, I], Ne);
232
+ let X = null;
233
+ const Gt = ["application/xhtml+xml", "text/html"], Bt = "text/html";
218
234
  let d = null, H = null;
219
- const Wt = l.createElement("form"), Ve = function(e) {
235
+ const Yt = l.createElement("form"), je = function(e) {
220
236
  return e instanceof RegExp || e instanceof Function;
221
- }, ge = function() {
237
+ }, Re = function() {
222
238
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
223
239
  if (!(H && H === e)) {
224
- if ((!e || typeof e != "object") && (e = {}), e = x(e), Y = // eslint-disable-next-line unicorn/prefer-includes
225
- Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, d = Y === "application/xhtml+xml" ? Le : re, m = N(e, "ALLOWED_TAGS") ? a({}, e.ALLOWED_TAGS, d) : Pe, p = N(e, "ALLOWED_ATTR") ? a({}, e.ALLOWED_ATTR, d) : ke, he = N(e, "ALLOWED_NAMESPACES") ? a({}, e.ALLOWED_NAMESPACES, Le) : Ft, Te = N(e, "ADD_URI_SAFE_ATTR") ? a(
226
- x(Xe),
240
+ if ((!e || typeof e != "object") && (e = {}), e = x(e), X = // eslint-disable-next-line unicorn/prefer-includes
241
+ Gt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? Bt : e.PARSER_MEDIA_TYPE, d = X === "application/xhtml+xml" ? Ne : le, m = N(e, "ALLOWED_TAGS") ? a({}, e.ALLOWED_TAGS, d) : ke, p = N(e, "ALLOWED_ATTR") ? a({}, e.ALLOWED_ATTR, d) : Ue, Se = N(e, "ALLOWED_NAMESPACES") ? a({}, e.ALLOWED_NAMESPACES, Ne) : Wt, he = N(e, "ADD_URI_SAFE_ATTR") ? a(
242
+ x(Ve),
227
243
  // eslint-disable-line indent
228
244
  e.ADD_URI_SAFE_ATTR,
229
245
  // eslint-disable-line indent
230
246
  d
231
247
  // eslint-disable-line indent
232
- ) : Xe, Be = N(e, "ADD_DATA_URI_TAGS") ? a(
233
- x(Ye),
248
+ ) : Ve, Ye = N(e, "ADD_DATA_URI_TAGS") ? a(
249
+ x(Xe),
234
250
  // eslint-disable-line indent
235
251
  e.ADD_DATA_URI_TAGS,
236
252
  // eslint-disable-line indent
237
253
  d
238
254
  // eslint-disable-line indent
239
- ) : Ye, U = N(e, "FORBID_CONTENTS") ? a({}, e.FORBID_CONTENTS, d) : Ge, G = N(e, "FORBID_TAGS") ? a({}, e.FORBID_TAGS, d) : {}, fe = N(e, "FORBID_ATTR") ? a({}, e.FORBID_ATTR, d) : {}, v = N(e, "USE_PROFILES") ? e.USE_PROFILES : !1, ve = e.ALLOW_ARIA_ATTR !== !1, me = e.ALLOW_DATA_ATTR !== !1, Ue = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Fe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, He = e.SAFE_FOR_XML !== !1, C = e.WHOLE_DOCUMENT || !1, k = e.RETURN_DOM || !1, J = e.RETURN_DOM_FRAGMENT || !1, Q = e.RETURN_TRUSTED_TYPE || !1, de = e.FORCE_BODY || !1, ze = e.SANITIZE_DOM !== !1, We = e.SANITIZE_NAMED_PROPS || !1, _e = e.KEEP_CONTENT !== !1, B = e.IN_PLACE || !1, xe = e.ALLOWED_URI_REGEXP || At, F = e.NAMESPACE || b, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ve(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ve(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), P && (me = !1), J && (k = !0), v && (m = a({}, dt), p = [], v.html === !0 && (a(m, pt), a(p, _t)), v.svg === !0 && (a(m, Oe), a(p, be), a(p, ie)), v.svgFilters === !0 && (a(m, Ne), a(p, be), a(p, ie)), v.mathMl === !0 && (a(m, De), a(p, Tt), a(p, ie))), e.ADD_TAGS && (m === Pe && (m = x(m)), a(m, e.ADD_TAGS, d)), e.ADD_ATTR && (p === ke && (p = x(p)), a(p, e.ADD_ATTR, d)), e.ADD_URI_SAFE_ATTR && a(Te, e.ADD_URI_SAFE_ATTR, d), e.FORBID_CONTENTS && (U === Ge && (U = x(U)), a(U, e.FORBID_CONTENTS, d)), _e && (m["#text"] = !0), C && a(m, ["html", "head", "body"]), m.table && (a(m, ["tbody"]), delete G.tbody), e.TRUSTED_TYPES_POLICY) {
255
+ ) : Xe, U = N(e, "FORBID_CONTENTS") ? a({}, e.FORBID_CONTENTS, d) : Be, B = N(e, "FORBID_TAGS") ? a({}, e.FORBID_TAGS, d) : {}, pe = N(e, "FORBID_ATTR") ? a({}, e.FORBID_ATTR, d) : {}, k = N(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Fe = e.ALLOW_ARIA_ATTR !== !1, de = e.ALLOW_DATA_ATTR !== !1, He = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ze = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, _e = e.SAFE_FOR_XML !== !1, w = e.WHOLE_DOCUMENT || !1, v = e.RETURN_DOM || !1, te = e.RETURN_DOM_FRAGMENT || !1, ne = e.RETURN_TRUSTED_TYPE || !1, Ee = e.FORCE_BODY || !1, We = e.SANITIZE_DOM !== !1, Ge = e.SANITIZE_NAMED_PROPS || !1, ge = e.KEEP_CONTENT !== !1, Y = e.IN_PLACE || !1, ve = e.ALLOWED_URI_REGEXP || Rt, F = e.NAMESPACE || I, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && je(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && je(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), P && (de = !1), te && (v = !0), k && (m = a({}, Tt), p = [], k.html === !0 && (a(m, _t), a(p, Et)), k.svg === !0 && (a(m, De), a(p, Ie), a(p, se)), k.svgFilters === !0 && (a(m, be), a(p, Ie), a(p, se)), k.mathMl === !0 && (a(m, Ce), a(p, gt), a(p, se))), e.ADD_TAGS && (m === ke && (m = x(m)), a(m, e.ADD_TAGS, d)), e.ADD_ATTR && (p === Ue && (p = x(p)), a(p, e.ADD_ATTR, d)), e.ADD_URI_SAFE_ATTR && a(he, e.ADD_URI_SAFE_ATTR, d), e.FORBID_CONTENTS && (U === Be && (U = x(U)), a(U, e.FORBID_CONTENTS, d)), ge && (m["#text"] = !0), w && a(m, ["html", "head", "body"]), m.table && (a(m, ["tbody"]), delete B.tbody), e.TRUSTED_TYPES_POLICY) {
240
256
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
241
- throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
257
+ throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
242
258
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
243
- throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
244
- E = e.TRUSTED_TYPES_POLICY, W = E.createHTML("");
259
+ throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
260
+ E = e.TRUSTED_TYPES_POLICY, G = E.createHTML("");
245
261
  } else
246
- E === void 0 && (E = An(K, f)), E !== null && typeof W == "string" && (W = E.createHTML(""));
247
- h && h(e), H = e;
262
+ E === void 0 && (E = Rn(Q, f)), E !== null && typeof G == "string" && (G = E.createHTML(""));
263
+ A && A(e), H = e;
248
264
  }
249
- }, je = a({}, ["mi", "mo", "mn", "ms", "mtext"]), $e = a({}, ["foreignobject", "desc", "title", "annotation-xml"]), Gt = a({}, ["title", "style", "font", "a", "script"]), qe = a({}, [...Oe, ...Ne, ...cn]), Ke = a({}, [...De, ...un]), Bt = function(e) {
250
- let t = ae(e);
265
+ }, $e = a({}, ["mi", "mo", "mn", "ms", "mtext"]), qe = a({}, ["foreignobject", "annotation-xml"]), Xt = a({}, ["title", "style", "font", "a", "script"]), Ke = a({}, [...De, ...be, ...fn]), Ze = a({}, [...Ce, ...mn]), Vt = function(e) {
266
+ let t = ee(e);
251
267
  (!t || !t.tagName) && (t = {
252
268
  namespaceURI: F,
253
269
  tagName: "template"
254
270
  });
255
- const o = re(e.tagName), c = re(t.tagName);
256
- return he[e.namespaceURI] ? e.namespaceURI === te ? t.namespaceURI === b ? o === "svg" : t.namespaceURI === ee ? o === "svg" && (c === "annotation-xml" || je[c]) : !!qe[o] : e.namespaceURI === ee ? t.namespaceURI === b ? o === "math" : t.namespaceURI === te ? o === "math" && $e[c] : !!Ke[o] : e.namespaceURI === b ? t.namespaceURI === te && !$e[c] || t.namespaceURI === ee && !je[c] ? !1 : !Ke[o] && (Gt[o] || !qe[o]) : !!(Y === "application/xhtml+xml" && he[e.namespaceURI]) : !1;
257
- }, M = function(e) {
258
- V(n.removed, {
271
+ const o = le(e.tagName), c = le(t.tagName);
272
+ return Se[e.namespaceURI] ? e.namespaceURI === ie ? t.namespaceURI === I ? o === "svg" : t.namespaceURI === oe ? o === "svg" && (c === "annotation-xml" || $e[c]) : !!Ke[o] : e.namespaceURI === oe ? t.namespaceURI === I ? o === "math" : t.namespaceURI === ie ? o === "math" && qe[c] : !!Ze[o] : e.namespaceURI === I ? t.namespaceURI === ie && !qe[c] || t.namespaceURI === oe && !$e[c] ? !1 : !Ze[o] && (Xt[o] || !Ke[o]) : !!(X === "application/xhtml+xml" && Se[e.namespaceURI]) : !1;
273
+ }, b = function(e) {
274
+ j(n.removed, {
259
275
  element: e
260
276
  });
261
277
  try {
262
- e.parentNode.removeChild(e);
278
+ ee(e).removeChild(e);
263
279
  } catch {
264
- e.remove();
280
+ Ct(e);
265
281
  }
266
- }, Ae = function(e, t) {
282
+ }, re = function(e, t) {
267
283
  try {
268
- V(n.removed, {
284
+ j(n.removed, {
269
285
  attribute: t.getAttributeNode(e),
270
286
  from: t
271
287
  });
272
288
  } catch {
273
- V(n.removed, {
289
+ j(n.removed, {
274
290
  attribute: null,
275
291
  from: t
276
292
  });
277
293
  }
278
294
  if (t.removeAttribute(e), e === "is" && !p[e])
279
- if (k || J)
295
+ if (v || te)
280
296
  try {
281
- M(t);
297
+ b(t);
282
298
  } catch {
283
299
  }
284
300
  else
@@ -286,93 +302,95 @@ function Rt() {
286
302
  t.setAttribute(e, "");
287
303
  } catch {
288
304
  }
289
- }, Ze = function(e) {
305
+ }, Je = function(e) {
290
306
  let t = null, o = null;
291
- if (de)
307
+ if (Ee)
292
308
  e = "<remove></remove>" + e;
293
309
  else {
294
- const T = mt(e, /^[\r\n\t ]+/);
295
- o = T && T[0];
310
+ const _ = dt(e, /^[\r\n\t ]+/);
311
+ o = _ && _[0];
296
312
  }
297
- Y === "application/xhtml+xml" && F === b && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
313
+ X === "application/xhtml+xml" && F === I && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
298
314
  const c = E ? E.createHTML(e) : e;
299
- if (F === b)
315
+ if (F === I)
300
316
  try {
301
- t = new Ot().parseFromString(c, Y);
317
+ t = new Dt().parseFromString(c, X);
302
318
  } catch {
303
319
  }
304
320
  if (!t || !t.documentElement) {
305
- t = se.createDocument(F, "template", null);
321
+ t = ce.createDocument(F, "template", null);
306
322
  try {
307
- t.documentElement.innerHTML = Ee ? W : c;
323
+ t.documentElement.innerHTML = Ae ? G : c;
308
324
  } catch {
309
325
  }
310
326
  }
311
- const _ = t.body || t.documentElement;
312
- return e && o && _.insertBefore(l.createTextNode(o), _.childNodes[0] || null), F === b ? Ct.call(t, C ? "html" : "body")[0] : C ? t.documentElement : _;
313
- }, Je = function(e) {
314
- return Mt.call(
327
+ const T = t.body || t.documentElement;
328
+ return e && o && T.insertBefore(l.createTextNode(o), T.childNodes[0] || null), F === I ? Pt.call(t, w ? "html" : "body")[0] : w ? t.documentElement : T;
329
+ }, Qe = function(e) {
330
+ return wt.call(
315
331
  e.ownerDocument || e,
316
332
  e,
317
333
  // eslint-disable-next-line no-bitwise
318
334
  z.SHOW_ELEMENT | z.SHOW_COMMENT | z.SHOW_TEXT | z.SHOW_PROCESSING_INSTRUCTION | z.SHOW_CDATA_SECTION,
319
335
  null
320
336
  );
321
- }, Yt = function(e) {
322
- return e instanceof Lt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof yt) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
323
- }, Qe = function(e) {
324
- return typeof q == "function" && e instanceof q;
325
- }, I = function(e, t, o) {
326
- D[e] && ne(D[e], (c) => {
337
+ }, et = function(e) {
338
+ return e instanceof Nt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Ot) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
339
+ }, tt = function(e) {
340
+ return typeof J == "function" && e instanceof J;
341
+ }, M = function(e, t, o) {
342
+ D[e] && ae(D[e], (c) => {
327
343
  c.call(n, t, o, H);
328
344
  });
329
- }, et = function(e) {
345
+ }, nt = function(e) {
330
346
  let t = null;
331
- if (I("beforeSanitizeElements", e, null), Yt(e))
332
- return M(e), !0;
347
+ if (M("beforeSanitizeElements", e, null), et(e))
348
+ return b(e), !0;
333
349
  const o = d(e.nodeName);
334
- if (I("uponSanitizeElement", e, {
350
+ if (M("uponSanitizeElement", e, {
335
351
  tagName: o,
336
352
  allowedTags: m
337
- }), e.hasChildNodes() && !Qe(e.firstElementChild) && S(/<[/\w]/g, e.innerHTML) && S(/<[/\w]/g, e.textContent) || e.nodeType === 7 || He && e.nodeType === 8 && S(/<[/\w]/g, e.data))
338
- return M(e), !0;
339
- if (!m[o] || G[o]) {
340
- if (!G[o] && nt(o) && (u.tagNameCheck instanceof RegExp && S(u.tagNameCheck, o) || u.tagNameCheck instanceof Function && u.tagNameCheck(o)))
353
+ }), e.hasChildNodes() && !tt(e.firstElementChild) && h(/<[/\w]/g, e.innerHTML) && h(/<[/\w]/g, e.textContent) || e.nodeType === Z.progressingInstruction || _e && e.nodeType === Z.comment && h(/<[/\w]/g, e.data))
354
+ return b(e), !0;
355
+ if (!m[o] || B[o]) {
356
+ if (!B[o] && it(o) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, o) || u.tagNameCheck instanceof Function && u.tagNameCheck(o)))
341
357
  return !1;
342
- if (_e && !U[o]) {
343
- const c = ae(e) || e.parentNode, _ = bt(e) || e.childNodes;
344
- if (_ && c) {
345
- const T = _.length;
346
- for (let g = T - 1; g >= 0; --g)
347
- c.insertBefore(Nt(_[g], !0), Dt(e));
358
+ if (ge && !U[o]) {
359
+ const c = ee(e) || e.parentNode, T = Mt(e) || e.childNodes;
360
+ if (T && c) {
361
+ const _ = T.length;
362
+ for (let S = _ - 1; S >= 0; --S) {
363
+ const C = bt(T[S], !0);
364
+ C.__removalCount = (e.__removalCount || 0) + 1, c.insertBefore(C, It(e));
365
+ }
348
366
  }
349
367
  }
350
- return M(e), !0;
368
+ return b(e), !0;
351
369
  }
352
- return e instanceof Ce && !Bt(e) || (o === "noscript" || o === "noembed" || o === "noframes") && S(/<\/no(script|embed|frames)/i, e.innerHTML) ? (M(e), !0) : (P && e.nodeType === 3 && (t = e.textContent, ne([le, ce, ue], (c) => {
353
- t = j(t, c, " ");
354
- }), e.textContent !== t && (V(n.removed, {
370
+ return e instanceof xe && !Vt(e) || (o === "noscript" || o === "noembed" || o === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (b(e), !0) : (P && e.nodeType === Z.text && (t = e.textContent, ae([ue, fe, me], (c) => {
371
+ t = $(t, c, " ");
372
+ }), e.textContent !== t && (j(n.removed, {
355
373
  element: e.cloneNode()
356
- }), e.textContent = t)), I("afterSanitizeElements", e, null), !1);
357
- }, tt = function(e, t, o) {
358
- if (ze && (t === "id" || t === "name") && (o in l || o in Wt))
374
+ }), e.textContent = t)), M("afterSanitizeElements", e, null), !1);
375
+ }, ot = function(e, t, o) {
376
+ if (We && (t === "id" || t === "name") && (o in l || o in Yt))
359
377
  return !1;
360
- if (!(me && !fe[t] && S(xt, t))) {
361
- if (!(ve && S(Pt, t))) {
362
- if (!p[t] || fe[t]) {
378
+ if (!(de && !pe[t] && h(kt, t))) {
379
+ if (!(Fe && h(Ut, t))) {
380
+ if (!p[t] || pe[t]) {
363
381
  if (
364
382
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
365
383
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
366
384
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
367
- !(nt(e) && (u.tagNameCheck instanceof RegExp && S(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && S(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
385
+ !(it(e) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && h(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
368
386
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
369
- t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && S(u.tagNameCheck, o) || u.tagNameCheck instanceof Function && u.tagNameCheck(o)))
387
+ t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, o) || u.tagNameCheck instanceof Function && u.tagNameCheck(o)))
370
388
  )
371
389
  return !1;
372
- } else if (!Te[t]) {
373
- if (!S(xe, j(o, we, ""))) {
374
- if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && rn(o, "data:") === 0 && Be[e])) {
375
- if (!(Ue && !S(kt, j(o, we, "")))) {
390
+ } else if (!he[t]) {
391
+ if (!h(ve, $(o, Pe, ""))) {
392
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && sn(o, "data:") === 0 && Ye[e])) {
393
+ if (!(He && !h(Ft, $(o, Pe, "")))) {
376
394
  if (o)
377
395
  return !1;
378
396
  }
@@ -382,10 +400,10 @@ function Rt() {
382
400
  }
383
401
  }
384
402
  return !0;
385
- }, nt = function(e) {
386
- return e !== "annotation-xml" && mt(e, vt);
387
- }, ot = function(e) {
388
- I("beforeSanitizeAttributes", e, null);
403
+ }, it = function(e) {
404
+ return e !== "annotation-xml" && dt(e, Ht);
405
+ }, rt = function(e) {
406
+ M("beforeSanitizeAttributes", e, null);
389
407
  const {
390
408
  attributes: t
391
409
  } = e;
@@ -399,154 +417,158 @@ function Rt() {
399
417
  };
400
418
  let c = t.length;
401
419
  for (; c--; ) {
402
- const _ = t[c], {
403
- name: T,
404
- namespaceURI: g,
405
- value: w
406
- } = _, X = d(T);
407
- let A = T === "value" ? w : an(w);
408
- if (o.attrName = X, o.attrValue = A, o.keepAttr = !0, o.forceKeepAttr = void 0, I("uponSanitizeAttribute", e, o), A = o.attrValue, o.forceKeepAttr || (Ae(T, e), !o.keepAttr))
420
+ const T = t[c], {
421
+ name: _,
422
+ namespaceURI: S,
423
+ value: C
424
+ } = T, V = d(_);
425
+ let g = _ === "value" ? C : ln(C);
426
+ if (o.attrName = V, o.attrValue = g, o.keepAttr = !0, o.forceKeepAttr = void 0, M("uponSanitizeAttribute", e, o), g = o.attrValue, _e && h(/((--!?|])>)|<\/(style|title)/i, g)) {
427
+ re(_, e);
428
+ continue;
429
+ }
430
+ if (o.forceKeepAttr || (re(_, e), !o.keepAttr))
409
431
  continue;
410
- if (!Fe && S(/\/>/i, A)) {
411
- Ae(T, e);
432
+ if (!ze && h(/\/>/i, g)) {
433
+ re(_, e);
412
434
  continue;
413
435
  }
414
- P && ne([le, ce, ue], (rt) => {
415
- A = j(A, rt, " ");
436
+ P && ae([ue, fe, me], (st) => {
437
+ g = $(g, st, " ");
416
438
  });
417
- const it = d(e.nodeName);
418
- if (tt(it, X, A)) {
419
- if (We && (X === "id" || X === "name") && (Ae(T, e), A = Ut + A), E && typeof K == "object" && typeof K.getAttributeType == "function" && !g)
420
- switch (K.getAttributeType(it, X)) {
439
+ const at = d(e.nodeName);
440
+ if (ot(at, V, g)) {
441
+ if (Ge && (V === "id" || V === "name") && (re(_, e), g = zt + g), E && typeof Q == "object" && typeof Q.getAttributeType == "function" && !S)
442
+ switch (Q.getAttributeType(at, V)) {
421
443
  case "TrustedHTML": {
422
- A = E.createHTML(A);
444
+ g = E.createHTML(g);
423
445
  break;
424
446
  }
425
447
  case "TrustedScriptURL": {
426
- A = E.createScriptURL(A);
448
+ g = E.createScriptURL(g);
427
449
  break;
428
450
  }
429
451
  }
430
452
  try {
431
- g ? e.setAttributeNS(g, T, A) : e.setAttribute(T, A), ft(n.removed);
453
+ S ? e.setAttributeNS(S, _, g) : e.setAttribute(_, g), et(e) ? b(e) : pt(n.removed);
432
454
  } catch {
433
455
  }
434
456
  }
435
457
  }
436
- I("afterSanitizeAttributes", e, null);
437
- }, Xt = function i(e) {
458
+ M("afterSanitizeAttributes", e, null);
459
+ }, jt = function i(e) {
438
460
  let t = null;
439
- const o = Je(e);
440
- for (I("beforeSanitizeShadowDOM", e, null); t = o.nextNode(); )
441
- I("uponSanitizeShadowNode", t, null), !et(t) && (t.content instanceof L && i(t.content), ot(t));
442
- I("afterSanitizeShadowDOM", e, null);
461
+ const o = Qe(e);
462
+ for (M("beforeSanitizeShadowDOM", e, null); t = o.nextNode(); )
463
+ M("uponSanitizeShadowNode", t, null), !nt(t) && (t.content instanceof L && i(t.content), rt(t));
464
+ M("afterSanitizeShadowDOM", e, null);
443
465
  };
444
466
  return n.sanitize = function(i) {
445
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, o = null, c = null, _ = null;
446
- if (Ee = !i, Ee && (i = "<!-->"), typeof i != "string" && !Qe(i))
467
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, o = null, c = null, T = null;
468
+ if (Ae = !i, Ae && (i = "<!-->"), typeof i != "string" && !tt(i))
447
469
  if (typeof i.toString == "function") {
448
470
  if (i = i.toString(), typeof i != "string")
449
- throw $("dirty is not a string, aborting");
471
+ throw q("dirty is not a string, aborting");
450
472
  } else
451
- throw $("toString is not a function");
473
+ throw q("toString is not a function");
452
474
  if (!n.isSupported)
453
475
  return i;
454
- if (pe || ge(e), n.removed = [], typeof i == "string" && (B = !1), B) {
476
+ if (Te || Re(e), n.removed = [], typeof i == "string" && (Y = !1), Y) {
455
477
  if (i.nodeName) {
456
- const w = d(i.nodeName);
457
- if (!m[w] || G[w])
458
- throw $("root node is forbidden and cannot be sanitized in-place");
478
+ const C = d(i.nodeName);
479
+ if (!m[C] || B[C])
480
+ throw q("root node is forbidden and cannot be sanitized in-place");
459
481
  }
460
- } else if (i instanceof q)
461
- t = Ze("<!---->"), o = t.ownerDocument.importNode(i, !0), o.nodeType === 1 && o.nodeName === "BODY" || o.nodeName === "HTML" ? t = o : t.appendChild(o);
482
+ } else if (i instanceof J)
483
+ t = Je("<!---->"), o = t.ownerDocument.importNode(i, !0), o.nodeType === Z.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? t = o : t.appendChild(o);
462
484
  else {
463
- if (!k && !P && !C && // eslint-disable-next-line unicorn/prefer-includes
485
+ if (!v && !P && !w && // eslint-disable-next-line unicorn/prefer-includes
464
486
  i.indexOf("<") === -1)
465
- return E && Q ? E.createHTML(i) : i;
466
- if (t = Ze(i), !t)
467
- return k ? null : Q ? W : "";
487
+ return E && ne ? E.createHTML(i) : i;
488
+ if (t = Je(i), !t)
489
+ return v ? null : ne ? G : "";
468
490
  }
469
- t && de && M(t.firstChild);
470
- const T = Je(B ? i : t);
471
- for (; c = T.nextNode(); )
472
- et(c) || (c.content instanceof L && Xt(c.content), ot(c));
473
- if (B)
491
+ t && Ee && b(t.firstChild);
492
+ const _ = Qe(Y ? i : t);
493
+ for (; c = _.nextNode(); )
494
+ nt(c) || (c.content instanceof L && jt(c.content), rt(c));
495
+ if (Y)
474
496
  return i;
475
- if (k) {
476
- if (J)
477
- for (_ = It.call(t.ownerDocument); t.firstChild; )
478
- _.appendChild(t.firstChild);
497
+ if (v) {
498
+ if (te)
499
+ for (T = xt.call(t.ownerDocument); t.firstChild; )
500
+ T.appendChild(t.firstChild);
479
501
  else
480
- _ = t;
481
- return (p.shadowroot || p.shadowrootmode) && (_ = wt.call(r, _, !0)), _;
502
+ T = t;
503
+ return (p.shadowroot || p.shadowrootmode) && (T = vt.call(r, T, !0)), T;
482
504
  }
483
- let g = C ? t.outerHTML : t.innerHTML;
484
- return C && m["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && S(St, t.ownerDocument.doctype.name) && (g = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
485
- ` + g), P && ne([le, ce, ue], (w) => {
486
- g = j(g, w, " ");
487
- }), E && Q ? E.createHTML(g) : g;
505
+ let S = w ? t.outerHTML : t.innerHTML;
506
+ return w && m["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(yt, t.ownerDocument.doctype.name) && (S = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
507
+ ` + S), P && ae([ue, fe, me], (C) => {
508
+ S = $(S, C, " ");
509
+ }), E && ne ? E.createHTML(S) : S;
488
510
  }, n.setConfig = function() {
489
511
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
490
- ge(i), pe = !0;
512
+ Re(i), Te = !0;
491
513
  }, n.clearConfig = function() {
492
- H = null, pe = !1;
514
+ H = null, Te = !1;
493
515
  }, n.isValidAttribute = function(i, e, t) {
494
- H || ge({});
516
+ H || Re({});
495
517
  const o = d(i), c = d(e);
496
- return tt(o, c, t);
518
+ return ot(o, c, t);
497
519
  }, n.addHook = function(i, e) {
498
- typeof e == "function" && (D[i] = D[i] || [], V(D[i], e));
520
+ typeof e == "function" && (D[i] = D[i] || [], j(D[i], e));
499
521
  }, n.removeHook = function(i) {
500
522
  if (D[i])
501
- return ft(D[i]);
523
+ return pt(D[i]);
502
524
  }, n.removeHooks = function(i) {
503
525
  D[i] && (D[i] = []);
504
526
  }, n.removeAllHooks = function() {
505
527
  D = {};
506
528
  }, n;
507
529
  }
508
- var Sn = Rt();
509
- const Rn = ["role"], yn = ["innerHTML"], Ln = { key: 1 }, On = /* @__PURE__ */ Vt({
530
+ var yn = Lt();
531
+ const Ln = ["role"], On = ["innerHTML"], Nn = { key: 1 }, Dn = /* @__PURE__ */ $t({
510
532
  __name: "Toast",
511
533
  props: {
512
534
  text: {},
513
535
  status: { default: "info" }
514
536
  },
515
537
  setup(s) {
516
- const n = s, l = jt(), r = at(
517
- () => n.status ? ct[Kt(n.status)] : ct.Info
518
- ), f = at(() => n.status === Zt.Error ? "alert" : "status"), L = () => {
538
+ const n = s, l = qt(), r = lt(
539
+ () => n.status ? ft[Jt(n.status)] : ft.Info
540
+ ), f = lt(() => n.status === Qt.Error ? "alert" : "status"), L = () => {
519
541
  if (typeof n.text != "function")
520
- return lt.error(
542
+ return ut.error(
521
543
  `Toast: ${n.text} is not a valid text prop value. Must be either a render function or a string.`
522
544
  ), null;
523
545
  const O = n.text();
524
- return qt(O) ? O : (lt.error("Toast: The text prop must return a VNode."), null);
546
+ return Zt(O) ? O : (ut.error("Toast: The text prop must return a VNode."), null);
525
547
  };
526
- return (O, q) => (Se(), Re("li", {
548
+ return (O, J) => (ye(), Le("li", {
527
549
  role: f.value,
528
- class: $t([[ye(l).root, ye(l)[`status--${n.status}`]], "stash-toast"]),
550
+ class: Kt([[Oe(l).root, Oe(l)[`status--${n.status}`]], "stash-toast"]),
529
551
  "data-test": "stash-toast"
530
552
  }, [
531
- st(Qt, { name: r.value }, null, 8, ["name"]),
532
- typeof n.text == "string" ? (Se(), Re("div", {
553
+ ct(tn, { name: r.value }, null, 8, ["name"]),
554
+ typeof n.text == "string" ? (ye(), Le("div", {
533
555
  key: 0,
534
- innerHTML: ye(Sn).sanitize(O.text)
535
- }, null, 8, yn)) : (Se(), Re("div", Ln, [
536
- st(Jt, { render: L })
556
+ innerHTML: Oe(yn).sanitize(O.text)
557
+ }, null, 8, On)) : (ye(), Le("div", Nn, [
558
+ ct(en, { render: L })
537
559
  ]))
538
- ], 10, Rn));
560
+ ], 10, Ln));
539
561
  }
540
- }), Nn = "_root_p3yhd_2", Dn = {
541
- root: Nn,
562
+ }), bn = "_root_p3yhd_2", Cn = {
563
+ root: bn,
542
564
  "status--success": "_status--success_p3yhd_22",
543
565
  "status--error": "_status--error_p3yhd_31",
544
566
  "status--info": "_status--info_p3yhd_40",
545
567
  "status--warning": "_status--warning_p3yhd_49"
546
- }, bn = {
547
- $style: Dn
548
- }, Hn = /* @__PURE__ */ en(On, [["__cssModules", bn]]);
568
+ }, In = {
569
+ $style: Cn
570
+ }, Wn = /* @__PURE__ */ nn(Dn, [["__cssModules", In]]);
549
571
  export {
550
- Hn as default
572
+ Wn as default
551
573
  };
552
574
  //# sourceMappingURL=Toast.js.map