@happeouikit/content-renderer 3.2.4 → 3.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,21 +1,21 @@
1
- import { jsxs as Xt, Fragment as Zt, jsx as yr } from "react/jsx-runtime";
2
- import { useRef as Jt, useState as ea, useCallback as ra, useEffect as ta, useMemo as aa } from "react";
3
- import na from "react-dom";
4
- import _t, { css as ia } from "styled-components";
5
- import { CopyToClipboardButton as ua } from "@happeouikit/copy-to-clipboard-button";
6
- import { BodyUI as sa, sansFamily as da } from "@happeouikit/typography";
1
+ import { jsxs as Yt, Fragment as Xt, jsx as yr } from "react/jsx-runtime";
2
+ import { useRef as Zt, useState as Jt, useCallback as ea, useEffect as ra, useMemo as ta } from "react";
3
+ import aa from "react-dom";
4
+ import _t, { css as na } from "styled-components";
5
+ import { CopyToClipboardButton as ia } from "@happeouikit/copy-to-clipboard-button";
6
+ import { BodyUI as ua, sansFamily as sa } from "@happeouikit/typography";
7
7
  import { media as me } from "@happeouikit/layout";
8
- import { shortToUnicode as oa, fixEmojioneBug as ca } from "@happeouikit/emojis";
8
+ import { shortToUnicode as da, fixEmojioneBug as oa } from "@happeouikit/emojis";
9
9
  var je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function Ur(e) {
11
11
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
12
12
  }
13
13
  var kt = { exports: {} };
14
- (function(e, u) {
15
- (function(i, t) {
14
+ (function(e, i) {
15
+ (function(u, t) {
16
16
  e.exports = t();
17
17
  })(je, function() {
18
- var i = function() {
18
+ var u = function() {
19
19
  }, t = {}, s = {}, p = {};
20
20
  function g(w, D) {
21
21
  w = w.push ? w : [w];
@@ -39,10 +39,10 @@ var kt = { exports: {} };
39
39
  }
40
40
  }
41
41
  function b(w, D) {
42
- w.call && (w = { success: w }), D.length ? (w.error || i)(D) : (w.success || i)(w);
42
+ w.call && (w = { success: w }), D.length ? (w.error || u)(D) : (w.success || u)(w);
43
43
  }
44
44
  function S(w, D, C, R) {
45
- var j = document, H = C.async, I = (C.numRetries || 0) + 1, N = C.before || i, r = w.replace(/[\?|#].*$/, ""), n = w.replace(/^(css|img|module|nomodule)!/, ""), a, d, o;
45
+ var j = document, H = C.async, I = (C.numRetries || 0) + 1, N = C.before || u, r = w.replace(/[\?|#].*$/, ""), n = w.replace(/^(css|img|module|nomodule)!/, ""), a, d, o;
46
46
  if (R = R || 0, /(^css!|\.css$)/.test(r))
47
47
  o = j.createElement("link"), o.rel = "stylesheet", o.href = n, a = "hideFocus" in o, a && o.relList && (a = 0, o.rel = "preload", o.as = "style");
48
48
  else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(r))
@@ -111,42 +111,42 @@ var kt = { exports: {} };
111
111
  }, E;
112
112
  });
113
113
  })(kt);
114
- var la = kt.exports;
115
- const _r = /* @__PURE__ */ Ur(la);
114
+ var ca = kt.exports;
115
+ const _r = /* @__PURE__ */ Ur(ca);
116
116
  var qr = { exports: {} }, x = {}, Dr = { exports: {} }, ce = {};
117
117
  function Et() {
118
118
  var e = {};
119
119
  return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e["alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e["animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e["animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e["background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e["background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = !0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e["border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e["border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = !0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e["border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = !0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e["border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e["border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e["box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = !1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e["column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e["column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e["counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e["cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e["display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e["empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e["flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e["float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e["flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e["font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e["font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e["font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e["grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e["grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e["grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e["grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e.hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e["initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e["justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e["line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e["line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e["list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e["margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = !1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e["mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e["mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e["mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e["nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e["object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e["outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e.overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e["padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e.pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e.pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e.quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = !1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e["ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e["shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e["speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e["string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e["text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e["text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e["text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e["text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e["text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = !1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e["transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e["unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e["voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e["voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e.widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e["word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e;
120
120
  }
121
- function fa(e, u, i) {
121
+ function la(e, i, u) {
122
122
  }
123
- function pa(e, u, i) {
123
+ function fa(e, i, u) {
124
124
  }
125
- var ha = /javascript\s*\:/img;
126
- function ga(e, u) {
127
- return ha.test(u) ? "" : u;
125
+ var pa = /javascript\s*\:/img;
126
+ function ha(e, i) {
127
+ return pa.test(i) ? "" : i;
128
128
  }
129
129
  ce.whiteList = Et();
130
130
  ce.getDefaultWhiteList = Et;
131
- ce.onAttr = fa;
132
- ce.onIgnoreAttr = pa;
133
- ce.safeAttrValue = ga;
134
- var ma = {
135
- indexOf: function(e, u) {
136
- var i, t;
131
+ ce.onAttr = la;
132
+ ce.onIgnoreAttr = fa;
133
+ ce.safeAttrValue = ha;
134
+ var ga = {
135
+ indexOf: function(e, i) {
136
+ var u, t;
137
137
  if (Array.prototype.indexOf)
138
- return e.indexOf(u);
139
- for (i = 0, t = e.length; i < t; i++)
140
- if (e[i] === u)
141
- return i;
138
+ return e.indexOf(i);
139
+ for (u = 0, t = e.length; u < t; u++)
140
+ if (e[u] === i)
141
+ return u;
142
142
  return -1;
143
143
  },
144
- forEach: function(e, u, i) {
144
+ forEach: function(e, i, u) {
145
145
  var t, s;
146
146
  if (Array.prototype.forEach)
147
- return e.forEach(u, i);
147
+ return e.forEach(i, u);
148
148
  for (t = 0, s = e.length; t < s; t++)
149
- u.call(i, e[t], t, e);
149
+ i.call(u, e[t], t, e);
150
150
  },
151
151
  trim: function(e) {
152
152
  return String.prototype.trim ? e.trim() : e.replace(/(^\s*)|(\s*$)/g, "");
@@ -154,24 +154,24 @@ var ma = {
154
154
  trimRight: function(e) {
155
155
  return String.prototype.trimRight ? e.trimRight() : e.replace(/(\s*$)/g, "");
156
156
  }
157
- }, be = ma;
158
- function ba(e, u) {
157
+ }, be = ga;
158
+ function ma(e, i) {
159
159
  e = be.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
160
- var i = e.length, t = !1, s = 0, p = 0, g = "";
160
+ var u = e.length, t = !1, s = 0, p = 0, g = "";
161
161
  function m() {
162
162
  if (!t) {
163
163
  var q = be.trim(e.slice(s, p)), E = q.indexOf(":");
164
164
  if (E !== -1) {
165
165
  var w = be.trim(q.slice(0, E)), D = be.trim(q.slice(E + 1));
166
166
  if (w) {
167
- var C = u(s, g.length, w, D, q);
167
+ var C = i(s, g.length, w, D, q);
168
168
  C && (g += C + "; ");
169
169
  }
170
170
  }
171
171
  }
172
172
  s = p + 1;
173
173
  }
174
- for (; p < i; p++) {
174
+ for (; p < u; p++) {
175
175
  var b = e[p];
176
176
  if (b === "/" && e[p + 1] === "*") {
177
177
  var S = e.indexOf("*/", p + 2);
@@ -184,23 +184,23 @@ function ba(e, u) {
184
184
  }
185
185
  return be.trim(g);
186
186
  }
187
- var va = ba, Te = ce, wa = va;
187
+ var ba = ma, Te = ce, va = ba;
188
188
  function nt(e) {
189
189
  return e == null;
190
190
  }
191
- function ya(e) {
192
- var u = {};
193
- for (var i in e)
194
- u[i] = e[i];
195
- return u;
191
+ function wa(e) {
192
+ var i = {};
193
+ for (var u in e)
194
+ i[u] = e[u];
195
+ return i;
196
196
  }
197
197
  function Tt(e) {
198
- e = ya(e || {}), e.whiteList = e.whiteList || Te.whiteList, e.onAttr = e.onAttr || Te.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || Te.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || Te.safeAttrValue, this.options = e;
198
+ e = wa(e || {}), e.whiteList = e.whiteList || Te.whiteList, e.onAttr = e.onAttr || Te.onAttr, e.onIgnoreAttr = e.onIgnoreAttr || Te.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || Te.safeAttrValue, this.options = e;
199
199
  }
200
200
  Tt.prototype.process = function(e) {
201
201
  if (e = e || "", e = e.toString(), !e)
202
202
  return "";
203
- var u = this, i = u.options, t = i.whiteList, s = i.onAttr, p = i.onIgnoreAttr, g = i.safeAttrValue, m = wa(e, function(b, S, q, E, w) {
203
+ var i = this, u = i.options, t = u.whiteList, s = u.onAttr, p = u.onIgnoreAttr, g = u.safeAttrValue, m = va(e, function(b, S, q, E, w) {
204
204
  var D = t[q], C = !1;
205
205
  if (D === !0 ? C = D : typeof D == "function" ? C = D(E) : D instanceof RegExp && (C = D.test(E)), C !== !0 && (C = !1), E = g(q, E), !!E) {
206
206
  var R = {
@@ -221,43 +221,43 @@ Tt.prototype.process = function(e) {
221
221
  });
222
222
  return m;
223
223
  };
224
- var _a = Tt;
225
- (function(e, u) {
226
- var i = ce, t = _a;
224
+ var ya = Tt;
225
+ (function(e, i) {
226
+ var u = ce, t = ya;
227
227
  function s(g, m) {
228
228
  var b = new t(m);
229
229
  return b.process(g);
230
230
  }
231
- u = e.exports = s, u.FilterCSS = t;
232
- for (var p in i)
233
- u[p] = i[p];
231
+ i = e.exports = s, i.FilterCSS = t;
232
+ for (var p in u)
233
+ i[p] = u[p];
234
234
  typeof window < "u" && (window.filterCSS = e.exports);
235
235
  })(Dr, Dr.exports);
236
236
  var Br = Dr.exports, Vr = {
237
- indexOf: function(e, u) {
238
- var i, t;
237
+ indexOf: function(e, i) {
238
+ var u, t;
239
239
  if (Array.prototype.indexOf)
240
- return e.indexOf(u);
241
- for (i = 0, t = e.length; i < t; i++)
242
- if (e[i] === u)
243
- return i;
240
+ return e.indexOf(i);
241
+ for (u = 0, t = e.length; u < t; u++)
242
+ if (e[u] === i)
243
+ return u;
244
244
  return -1;
245
245
  },
246
- forEach: function(e, u, i) {
246
+ forEach: function(e, i, u) {
247
247
  var t, s;
248
248
  if (Array.prototype.forEach)
249
- return e.forEach(u, i);
249
+ return e.forEach(i, u);
250
250
  for (t = 0, s = e.length; t < s; t++)
251
- u.call(i, e[t], t, e);
251
+ i.call(u, e[t], t, e);
252
252
  },
253
253
  trim: function(e) {
254
254
  return String.prototype.trim ? e.trim() : e.replace(/(^\s*)|(\s*$)/g, "");
255
255
  },
256
256
  spaceIndex: function(e) {
257
- var u = /\s|\n|\t/, i = u.exec(e);
258
- return i ? i.index : -1;
257
+ var i = /\s|\n|\t/, u = i.exec(e);
258
+ return u ? u.index : -1;
259
259
  }
260
- }, ka = Br.FilterCSS, Ea = Br.getDefaultWhiteList, Ie = Vr;
260
+ }, _a = Br.FilterCSS, ka = Br.getDefaultWhiteList, Ie = Vr;
261
261
  function At() {
262
262
  return {
263
263
  a: ["target", "href", "title"],
@@ -350,53 +350,53 @@ function At() {
350
350
  ]
351
351
  };
352
352
  }
353
- var Ct = new ka();
354
- function Ta(e, u, i) {
353
+ var Ct = new _a();
354
+ function Ea(e, i, u) {
355
355
  }
356
- function Aa(e, u, i) {
356
+ function Ta(e, i, u) {
357
357
  }
358
- function Ca(e, u, i) {
358
+ function Aa(e, i, u) {
359
359
  }
360
- function Sa(e, u, i) {
360
+ function Ca(e, i, u) {
361
361
  }
362
362
  function St(e) {
363
- return e.replace(qa, "&lt;").replace(Da, "&gt;");
363
+ return e.replace(La, "&lt;").replace(qa, "&gt;");
364
364
  }
365
- function La(e, u, i, t) {
366
- if (i = zt(i), u === "href" || u === "src") {
367
- if (i = Ie.trim(i), i === "#")
365
+ function Sa(e, i, u, t) {
366
+ if (u = zt(u), i === "href" || i === "src") {
367
+ if (u = Ie.trim(u), u === "#")
368
368
  return "#";
369
- if (!(i.substr(0, 7) === "http://" || i.substr(0, 8) === "https://" || i.substr(0, 7) === "mailto:" || i.substr(0, 4) === "tel:" || i.substr(0, 11) === "data:image/" || i.substr(0, 6) === "ftp://" || i.substr(0, 2) === "./" || i.substr(0, 3) === "../" || i[0] === "#" || i[0] === "/"))
369
+ if (!(u.substr(0, 7) === "http://" || u.substr(0, 8) === "https://" || u.substr(0, 7) === "mailto:" || u.substr(0, 4) === "tel:" || u.substr(0, 11) === "data:image/" || u.substr(0, 6) === "ftp://" || u.substr(0, 2) === "./" || u.substr(0, 3) === "../" || u[0] === "#" || u[0] === "/"))
370
370
  return "";
371
- } else if (u === "background") {
372
- if (Ae.lastIndex = 0, Ae.test(i))
371
+ } else if (i === "background") {
372
+ if (Ae.lastIndex = 0, Ae.test(u))
373
373
  return "";
374
- } else if (u === "style") {
375
- if (it.lastIndex = 0, it.test(i) || (ut.lastIndex = 0, ut.test(i) && (Ae.lastIndex = 0, Ae.test(i))))
374
+ } else if (i === "style") {
375
+ if (it.lastIndex = 0, it.test(u) || (ut.lastIndex = 0, ut.test(u) && (Ae.lastIndex = 0, Ae.test(u))))
376
376
  return "";
377
- t !== !1 && (t = t || Ct, i = t.process(i));
377
+ t !== !1 && (t = t || Ct, u = t.process(u));
378
378
  }
379
- return i = Nt(i), i;
379
+ return u = Nt(u), u;
380
380
  }
381
- var qa = /</g, Da = />/g, Pa = /"/g, Ra = /&quot;/g, za = /&#([a-zA-Z0-9]*);?/gim, Na = /&colon;?/gim, ja = /&newline;?/gim, Ae = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, it = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, ut = /u\s*r\s*l\s*\(.*/gi;
381
+ var La = /</g, qa = />/g, Da = /"/g, Pa = /&quot;/g, Ra = /&#([a-zA-Z0-9]*);?/gim, za = /&colon;?/gim, Na = /&newline;?/gim, Ae = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, it = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, ut = /u\s*r\s*l\s*\(.*/gi;
382
382
  function Lt(e) {
383
- return e.replace(Pa, "&quot;");
383
+ return e.replace(Da, "&quot;");
384
384
  }
385
385
  function qt(e) {
386
- return e.replace(Ra, '"');
386
+ return e.replace(Pa, '"');
387
387
  }
388
388
  function Dt(e) {
389
- return e.replace(za, function(i, t) {
389
+ return e.replace(Ra, function(u, t) {
390
390
  return t[0] === "x" || t[0] === "X" ? String.fromCharCode(parseInt(t.substr(1), 16)) : String.fromCharCode(parseInt(t, 10));
391
391
  });
392
392
  }
393
393
  function Pt(e) {
394
- return e.replace(Na, ":").replace(ja, " ");
394
+ return e.replace(za, ":").replace(Na, " ");
395
395
  }
396
396
  function Rt(e) {
397
- for (var u = "", i = 0, t = e.length; i < t; i++)
398
- u += e.charCodeAt(i) < 32 ? " " : e.charAt(i);
399
- return Ie.trim(u);
397
+ for (var i = "", u = 0, t = e.length; u < t; u++)
398
+ i += e.charCodeAt(u) < 32 ? " " : e.charAt(u);
399
+ return Ie.trim(i);
400
400
  }
401
401
  function zt(e) {
402
402
  return e = qt(e), e = Dt(e), e = Pt(e), e = Rt(e), e;
@@ -404,15 +404,15 @@ function zt(e) {
404
404
  function Nt(e) {
405
405
  return e = Lt(e), e = St(e), e;
406
406
  }
407
- function Ia() {
407
+ function ja() {
408
408
  return "";
409
409
  }
410
- function Oa(e, u) {
411
- typeof u != "function" && (u = function() {
410
+ function Ia(e, i) {
411
+ typeof i != "function" && (i = function() {
412
412
  });
413
- var i = !Array.isArray(e);
413
+ var u = !Array.isArray(e);
414
414
  function t(g) {
415
- return i ? !0 : Ie.indexOf(e, g) !== -1;
415
+ return u ? !0 : Ie.indexOf(e, g) !== -1;
416
416
  }
417
417
  var s = [], p = !1;
418
418
  return {
@@ -427,7 +427,7 @@ function Oa(e, u) {
427
427
  } else
428
428
  return p || (p = b.position), "[removed]";
429
429
  else
430
- return u(g, m, b);
430
+ return i(g, m, b);
431
431
  },
432
432
  remove: function(g) {
433
433
  var m = "", b = 0;
@@ -437,35 +437,35 @@ function Oa(e, u) {
437
437
  }
438
438
  };
439
439
  }
440
- function Ha(e) {
441
- for (var u = "", i = 0; i < e.length; ) {
442
- var t = e.indexOf("<!--", i);
440
+ function Oa(e) {
441
+ for (var i = "", u = 0; u < e.length; ) {
442
+ var t = e.indexOf("<!--", u);
443
443
  if (t === -1) {
444
- u += e.slice(i);
444
+ i += e.slice(u);
445
445
  break;
446
446
  }
447
- u += e.slice(i, t);
447
+ i += e.slice(u, t);
448
448
  var s = e.indexOf("-->", t);
449
449
  if (s === -1)
450
450
  break;
451
- i = s + 3;
451
+ u = s + 3;
452
452
  }
453
- return u;
453
+ return i;
454
454
  }
455
- function Ma(e) {
456
- var u = e.split("");
457
- return u = u.filter(function(i) {
458
- var t = i.charCodeAt(0);
455
+ function Ha(e) {
456
+ var i = e.split("");
457
+ return i = i.filter(function(u) {
458
+ var t = u.charCodeAt(0);
459
459
  return t === 127 ? !1 : t <= 31 ? t === 10 || t === 13 : !0;
460
- }), u.join("");
460
+ }), i.join("");
461
461
  }
462
462
  x.whiteList = At();
463
463
  x.getDefaultWhiteList = At;
464
- x.onTag = Ta;
465
- x.onIgnoreTag = Aa;
466
- x.onTagAttr = Ca;
467
- x.onIgnoreTagAttr = Sa;
468
- x.safeAttrValue = La;
464
+ x.onTag = Ea;
465
+ x.onIgnoreTag = Ta;
466
+ x.onTagAttr = Aa;
467
+ x.onIgnoreTagAttr = Ca;
468
+ x.safeAttrValue = Sa;
469
469
  x.escapeHtml = St;
470
470
  x.escapeQuote = Lt;
471
471
  x.unescapeQuote = qt;
@@ -474,22 +474,22 @@ x.escapeDangerHtml5Entities = Pt;
474
474
  x.clearNonPrintableCharacter = Rt;
475
475
  x.friendlyAttrValue = zt;
476
476
  x.escapeAttrValue = Nt;
477
- x.onIgnoreTagStripAll = Ia;
478
- x.StripTagBody = Oa;
479
- x.stripCommentTag = Ha;
480
- x.stripBlankChar = Ma;
477
+ x.onIgnoreTagStripAll = ja;
478
+ x.StripTagBody = Ia;
479
+ x.stripCommentTag = Oa;
480
+ x.stripBlankChar = Ha;
481
481
  x.attributeWrapSign = '"';
482
482
  x.cssFilter = Ct;
483
- x.getDefaultCSSWhiteList = Ea;
483
+ x.getDefaultCSSWhiteList = ka;
484
484
  var pr = {}, ue = Vr;
485
- function xa(e) {
486
- var u = ue.spaceIndex(e), i;
487
- return u === -1 ? i = e.slice(1, -1) : i = e.slice(1, u + 1), i = ue.trim(i).toLowerCase(), i.slice(0, 1) === "/" && (i = i.slice(1)), i.slice(-1) === "/" && (i = i.slice(0, -1)), i;
485
+ function Ma(e) {
486
+ var i = ue.spaceIndex(e), u;
487
+ return i === -1 ? u = e.slice(1, -1) : u = e.slice(1, i + 1), u = ue.trim(u).toLowerCase(), u.slice(0, 1) === "/" && (u = u.slice(1)), u.slice(-1) === "/" && (u = u.slice(0, -1)), u;
488
488
  }
489
- function Ua(e) {
489
+ function xa(e) {
490
490
  return e.slice(0, 2) === "</";
491
491
  }
492
- function Ba(e, u, i) {
492
+ function Ua(e, i, u) {
493
493
  var t = "", s = 0, p = !1, g = !1, m = 0, b = e.length, S = "", q = "";
494
494
  e:
495
495
  for (m = 0; m < b; m++) {
@@ -501,16 +501,16 @@ function Ba(e, u, i) {
501
501
  }
502
502
  } else if (g === !1) {
503
503
  if (E === "<") {
504
- t += i(e.slice(s, m)), p = m, s = m;
504
+ t += u(e.slice(s, m)), p = m, s = m;
505
505
  continue;
506
506
  }
507
507
  if (E === ">" || m === b - 1) {
508
- t += i(e.slice(s, p)), q = e.slice(p, m + 1), S = xa(q), t += u(
508
+ t += u(e.slice(s, p)), q = e.slice(p, m + 1), S = Ma(q), t += i(
509
509
  p,
510
510
  t.length,
511
511
  S,
512
512
  q,
513
- Ua(q)
513
+ xa(q)
514
514
  ), s = m + 1, p = !1;
515
515
  continue;
516
516
  }
@@ -527,123 +527,123 @@ function Ba(e, u, i) {
527
527
  continue;
528
528
  }
529
529
  }
530
- return s < b && (t += i(e.substr(s))), t;
530
+ return s < b && (t += u(e.substr(s))), t;
531
531
  }
532
- var Va = /[^a-zA-Z0-9\\_:.-]/gim;
533
- function Fa(e, u) {
534
- var i = 0, t = 0, s = [], p = !1, g = e.length;
532
+ var Ba = /[^a-zA-Z0-9\\_:.-]/gim;
533
+ function Va(e, i) {
534
+ var u = 0, t = 0, s = [], p = !1, g = e.length;
535
535
  function m(w, D) {
536
- if (w = ue.trim(w), w = w.replace(Va, "").toLowerCase(), !(w.length < 1)) {
537
- var C = u(w, D || "");
536
+ if (w = ue.trim(w), w = w.replace(Ba, "").toLowerCase(), !(w.length < 1)) {
537
+ var C = i(w, D || "");
538
538
  C && s.push(C);
539
539
  }
540
540
  }
541
541
  for (var b = 0; b < g; b++) {
542
542
  var S = e.charAt(b), q, E;
543
543
  if (p === !1 && S === "=") {
544
- p = e.slice(i, b), i = b + 1, t = e.charAt(i) === '"' || e.charAt(i) === "'" ? i : Ga(e, b + 1);
544
+ p = e.slice(u, b), u = b + 1, t = e.charAt(u) === '"' || e.charAt(u) === "'" ? u : $a(e, b + 1);
545
545
  continue;
546
546
  }
547
547
  if (p !== !1 && b === t) {
548
548
  if (E = e.indexOf(S, b + 1), E === -1)
549
549
  break;
550
- q = ue.trim(e.slice(t + 1, E)), m(p, q), p = !1, b = E, i = b + 1;
550
+ q = ue.trim(e.slice(t + 1, E)), m(p, q), p = !1, b = E, u = b + 1;
551
551
  continue;
552
552
  }
553
553
  if (/\s|\n|\t/.test(S))
554
554
  if (e = e.replace(/\s|\n|\t/g, " "), p === !1)
555
- if (E = $a(e, b), E === -1) {
556
- q = ue.trim(e.slice(i, b)), m(q), p = !1, i = b + 1;
555
+ if (E = Fa(e, b), E === -1) {
556
+ q = ue.trim(e.slice(u, b)), m(q), p = !1, u = b + 1;
557
557
  continue;
558
558
  } else {
559
559
  b = E - 1;
560
560
  continue;
561
561
  }
562
- else if (E = Wa(e, b - 1), E === -1) {
563
- q = ue.trim(e.slice(i, b)), q = st(q), m(p, q), p = !1, i = b + 1;
562
+ else if (E = Ga(e, b - 1), E === -1) {
563
+ q = ue.trim(e.slice(u, b)), q = st(q), m(p, q), p = !1, u = b + 1;
564
564
  continue;
565
565
  } else
566
566
  continue;
567
567
  }
568
- return i < e.length && (p === !1 ? m(e.slice(i)) : m(p, st(ue.trim(e.slice(i))))), ue.trim(s.join(" "));
568
+ return u < e.length && (p === !1 ? m(e.slice(u)) : m(p, st(ue.trim(e.slice(u))))), ue.trim(s.join(" "));
569
569
  }
570
- function $a(e, u) {
571
- for (; u < e.length; u++) {
572
- var i = e[u];
573
- if (i !== " ")
574
- return i === "=" ? u : -1;
570
+ function Fa(e, i) {
571
+ for (; i < e.length; i++) {
572
+ var u = e[i];
573
+ if (u !== " ")
574
+ return u === "=" ? i : -1;
575
575
  }
576
576
  }
577
- function Ga(e, u) {
578
- for (; u < e.length; u++) {
579
- var i = e[u];
580
- if (i !== " ")
581
- return i === "'" || i === '"' ? u : -1;
577
+ function $a(e, i) {
578
+ for (; i < e.length; i++) {
579
+ var u = e[i];
580
+ if (u !== " ")
581
+ return u === "'" || u === '"' ? i : -1;
582
582
  }
583
583
  }
584
- function Wa(e, u) {
585
- for (; u > 0; u--) {
586
- var i = e[u];
587
- if (i !== " ")
588
- return i === "=" ? u : -1;
584
+ function Ga(e, i) {
585
+ for (; i > 0; i--) {
586
+ var u = e[i];
587
+ if (u !== " ")
588
+ return u === "=" ? i : -1;
589
589
  }
590
590
  }
591
- function Ka(e) {
591
+ function Wa(e) {
592
592
  return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'";
593
593
  }
594
594
  function st(e) {
595
- return Ka(e) ? e.substr(1, e.length - 2) : e;
595
+ return Wa(e) ? e.substr(1, e.length - 2) : e;
596
596
  }
597
- pr.parseTag = Ba;
598
- pr.parseAttr = Fa;
599
- var Qa = Br.FilterCSS, Z = x, jt = pr, Ya = jt.parseTag, Xa = jt.parseAttr, Re = Vr;
597
+ pr.parseTag = Ua;
598
+ pr.parseAttr = Va;
599
+ var Ka = Br.FilterCSS, Z = x, jt = pr, Qa = jt.parseTag, Ya = jt.parseAttr, Re = Vr;
600
600
  function Ce(e) {
601
601
  return e == null;
602
602
  }
603
- function Za(e) {
604
- var u = Re.spaceIndex(e);
605
- if (u === -1)
603
+ function Xa(e) {
604
+ var i = Re.spaceIndex(e);
605
+ if (i === -1)
606
606
  return {
607
607
  html: "",
608
608
  closing: e[e.length - 2] === "/"
609
609
  };
610
- e = Re.trim(e.slice(u + 1, -1));
611
- var i = e[e.length - 1] === "/";
612
- return i && (e = Re.trim(e.slice(0, -1))), {
610
+ e = Re.trim(e.slice(i + 1, -1));
611
+ var u = e[e.length - 1] === "/";
612
+ return u && (e = Re.trim(e.slice(0, -1))), {
613
613
  html: e,
614
- closing: i
614
+ closing: u
615
615
  };
616
616
  }
617
- function Ja(e) {
618
- var u = {};
619
- for (var i in e)
620
- u[i] = e[i];
621
- return u;
617
+ function Za(e) {
618
+ var i = {};
619
+ for (var u in e)
620
+ i[u] = e[u];
621
+ return i;
622
622
  }
623
- function en(e) {
624
- var u = {};
625
- for (var i in e)
626
- Array.isArray(e[i]) ? u[i.toLowerCase()] = e[i].map(function(t) {
623
+ function Ja(e) {
624
+ var i = {};
625
+ for (var u in e)
626
+ Array.isArray(e[u]) ? i[u.toLowerCase()] = e[u].map(function(t) {
627
627
  return t.toLowerCase();
628
- }) : u[i.toLowerCase()] = e[i];
629
- return u;
628
+ }) : i[u.toLowerCase()] = e[u];
629
+ return i;
630
630
  }
631
631
  function It(e) {
632
- e = Ja(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error(
632
+ e = Za(e || {}), e.stripIgnoreTag && (e.onIgnoreTag && console.error(
633
633
  'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
634
- ), e.onIgnoreTag = Z.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = en(e.whiteList || e.allowList) : e.whiteList = Z.whiteList, this.attributeWrapSign = e.singleQuotedAttributeValue === !0 ? "'" : Z.attributeWrapSign, e.onTag = e.onTag || Z.onTag, e.onTagAttr = e.onTagAttr || Z.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || Z.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || Z.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || Z.safeAttrValue, e.escapeHtml = e.escapeHtml || Z.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new Qa(e.css));
634
+ ), e.onIgnoreTag = Z.onIgnoreTagStripAll), e.whiteList || e.allowList ? e.whiteList = Ja(e.whiteList || e.allowList) : e.whiteList = Z.whiteList, this.attributeWrapSign = e.singleQuotedAttributeValue === !0 ? "'" : Z.attributeWrapSign, e.onTag = e.onTag || Z.onTag, e.onTagAttr = e.onTagAttr || Z.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || Z.onIgnoreTag, e.onIgnoreTagAttr = e.onIgnoreTagAttr || Z.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || Z.safeAttrValue, e.escapeHtml = e.escapeHtml || Z.escapeHtml, this.options = e, e.css === !1 ? this.cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new Ka(e.css));
635
635
  }
636
636
  It.prototype.process = function(e) {
637
637
  if (e = e || "", e = e.toString(), !e)
638
638
  return "";
639
- var u = this, i = u.options, t = i.whiteList, s = i.onTag, p = i.onIgnoreTag, g = i.onTagAttr, m = i.onIgnoreTagAttr, b = i.safeAttrValue, S = i.escapeHtml, q = u.attributeWrapSign, E = u.cssFilter;
640
- i.stripBlankChar && (e = Z.stripBlankChar(e)), i.allowCommentTag || (e = Z.stripCommentTag(e));
639
+ var i = this, u = i.options, t = u.whiteList, s = u.onTag, p = u.onIgnoreTag, g = u.onTagAttr, m = u.onIgnoreTagAttr, b = u.safeAttrValue, S = u.escapeHtml, q = i.attributeWrapSign, E = i.cssFilter;
640
+ u.stripBlankChar && (e = Z.stripBlankChar(e)), u.allowCommentTag || (e = Z.stripCommentTag(e));
641
641
  var w = !1;
642
- i.stripIgnoreTagBody && (w = Z.StripTagBody(
643
- i.stripIgnoreTagBody,
642
+ u.stripIgnoreTagBody && (w = Z.StripTagBody(
643
+ u.stripIgnoreTagBody,
644
644
  p
645
645
  ), p = w.onIgnoreTag);
646
- var D = Ya(
646
+ var D = Qa(
647
647
  e,
648
648
  function(C, R, j, H, I) {
649
649
  var N = {
@@ -657,7 +657,7 @@ It.prototype.process = function(e) {
657
657
  if (N.isWhite) {
658
658
  if (N.isClosing)
659
659
  return "</" + j + ">";
660
- var n = Za(H), a = t[j], d = Xa(n.html, function(o, f) {
660
+ var n = Xa(H), a = t[j], d = Ya(n.html, function(o, f) {
661
661
  var l = Re.indexOf(a, o) !== -1, h = g(j, o, f, l);
662
662
  return Ce(h) ? l ? (f = b(j, o, f, E), f ? o + "=" + q + f + q : o) : (h = m(j, o, f, l), Ce(h) ? void 0 : h) : h;
663
663
  });
@@ -669,45 +669,45 @@ It.prototype.process = function(e) {
669
669
  );
670
670
  return w && (D = w.remove(D)), D;
671
671
  };
672
- var rn = It;
673
- (function(e, u) {
674
- var i = x, t = pr, s = rn;
672
+ var en = It;
673
+ (function(e, i) {
674
+ var u = x, t = pr, s = en;
675
675
  function p(m, b) {
676
676
  var S = new s(b);
677
677
  return S.process(m);
678
678
  }
679
- u = e.exports = p, u.filterXSS = p, u.FilterXSS = s, function() {
680
- for (var m in i)
681
- u[m] = i[m];
679
+ i = e.exports = p, i.filterXSS = p, i.FilterXSS = s, function() {
680
+ for (var m in u)
681
+ i[m] = u[m];
682
682
  for (var b in t)
683
- u[b] = t[b];
683
+ i[b] = t[b];
684
684
  }(), typeof window < "u" && (window.filterXSS = e.exports);
685
685
  function g() {
686
686
  return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
687
687
  }
688
688
  g() && (self.filterXSS = e.exports);
689
689
  })(qr, qr.exports);
690
- var tn = qr.exports;
691
- const Pr = /* @__PURE__ */ Ur(tn), an = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", nn = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", pe = (e, u) => {
692
- for (const i in u)
693
- e[i] = u[i];
690
+ var rn = qr.exports;
691
+ const Pr = /* @__PURE__ */ Ur(rn), tn = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", an = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", pe = (e, i) => {
692
+ for (const u in i)
693
+ e[u] = i[u];
694
694
  return e;
695
- }, Rr = "numeric", zr = "ascii", Nr = "alpha", ze = "asciinumeric", Se = "alphanumeric", jr = "domain", Ot = "emoji", un = "scheme", sn = "slashscheme", dt = "whitespace";
696
- function dn(e, u) {
697
- return e in u || (u[e] = []), u[e];
695
+ }, Rr = "numeric", zr = "ascii", Nr = "alpha", ze = "asciinumeric", Se = "alphanumeric", jr = "domain", Ot = "emoji", nn = "scheme", un = "slashscheme", dt = "whitespace";
696
+ function sn(e, i) {
697
+ return e in i || (i[e] = []), i[e];
698
698
  }
699
- function oe(e, u, i) {
700
- u[Rr] && (u[ze] = !0, u[Se] = !0), u[zr] && (u[ze] = !0, u[Nr] = !0), u[ze] && (u[Se] = !0), u[Nr] && (u[Se] = !0), u[Se] && (u[jr] = !0), u[Ot] && (u[jr] = !0);
701
- for (const t in u) {
702
- const s = dn(t, i);
699
+ function oe(e, i, u) {
700
+ i[Rr] && (i[ze] = !0, i[Se] = !0), i[zr] && (i[ze] = !0, i[Nr] = !0), i[ze] && (i[Se] = !0), i[Nr] && (i[Se] = !0), i[Se] && (i[jr] = !0), i[Ot] && (i[jr] = !0);
701
+ for (const t in i) {
702
+ const s = sn(t, u);
703
703
  s.indexOf(e) < 0 && s.push(e);
704
704
  }
705
705
  }
706
- function on(e, u) {
707
- const i = {};
708
- for (const t in u)
709
- u[t].indexOf(e) >= 0 && (i[t] = !0);
710
- return i;
706
+ function dn(e, i) {
707
+ const u = {};
708
+ for (const t in i)
709
+ i[t].indexOf(e) >= 0 && (u[t] = !0);
710
+ return u;
711
711
  }
712
712
  function Q(e) {
713
713
  e === void 0 && (e = null), this.j = {}, this.jr = [], this.jd = null, this.t = e;
@@ -724,15 +724,15 @@ Q.prototype = {
724
724
  * @returns {?State<T>} the next state, if any
725
725
  */
726
726
  go(e) {
727
- const u = this, i = u.j[e];
728
- if (i)
729
- return i;
730
- for (let t = 0; t < u.jr.length; t++) {
731
- const s = u.jr[t][0], p = u.jr[t][1];
727
+ const i = this, u = i.j[e];
728
+ if (u)
729
+ return u;
730
+ for (let t = 0; t < i.jr.length; t++) {
731
+ const s = i.jr[t][0], p = i.jr[t][1];
732
732
  if (p && s.test(e))
733
733
  return p;
734
734
  }
735
- return u.jd;
735
+ return i.jd;
736
736
  },
737
737
  /**
738
738
  * Whether the state has a transition for the given input. Set the second
@@ -741,8 +741,8 @@ Q.prototype = {
741
741
  * @param {string} input
742
742
  * @param {boolean} exactOnly
743
743
  */
744
- has(e, u) {
745
- return u === void 0 && (u = !1), u ? e in this.j : !!this.go(e);
744
+ has(e, i) {
745
+ return i === void 0 && (i = !1), i ? e in this.j : !!this.go(e);
746
746
  },
747
747
  /**
748
748
  * Short for "transition all"; create a transition from the array of items
@@ -752,9 +752,9 @@ Q.prototype = {
752
752
  * @param {Flags} [flags] Collections flags to add token to
753
753
  * @param {Collections<T>} [groups] Master list of token groups
754
754
  */
755
- ta(e, u, i, t) {
755
+ ta(e, i, u, t) {
756
756
  for (let s = 0; s < e.length; s++)
757
- this.tt(e[s], u, i, t);
757
+ this.tt(e[s], i, u, t);
758
758
  },
759
759
  /**
760
760
  * Short for "take regexp transition"; defines a transition for this state
@@ -765,10 +765,10 @@ Q.prototype = {
765
765
  * @param {Collections<T>} [groups] Master list of token groups
766
766
  * @returns {State<T>} taken after the given input
767
767
  */
768
- tr(e, u, i, t) {
768
+ tr(e, i, u, t) {
769
769
  t = t || Q.groups;
770
770
  let s;
771
- return u && u.j ? s = u : (s = new Q(u), i && t && oe(u, i, t)), this.jr.push([e, s]), s;
771
+ return i && i.j ? s = i : (s = new Q(i), u && t && oe(i, u, t)), this.jr.push([e, s]), s;
772
772
  },
773
773
  /**
774
774
  * Short for "take transitions", will take as many sequential transitions as
@@ -780,14 +780,14 @@ Q.prototype = {
780
780
  * @param {Collections<T>} [groups] Master list of token groups
781
781
  * @returns {State<T>} taken after the given input
782
782
  */
783
- ts(e, u, i, t) {
783
+ ts(e, i, u, t) {
784
784
  let s = this;
785
785
  const p = e.length;
786
786
  if (!p)
787
787
  return s;
788
788
  for (let g = 0; g < p - 1; g++)
789
789
  s = s.tt(e[g]);
790
- return s.tt(e[p - 1], u, i, t);
790
+ return s.tt(e[p - 1], i, u, t);
791
791
  },
792
792
  /**
793
793
  * Short for "take transition", this is a method for building/working with
@@ -815,26 +815,26 @@ Q.prototype = {
815
815
  * @param {Collections<T>} [groups] Master list of groups
816
816
  * @returns {State<T>} taken after the given input
817
817
  */
818
- tt(e, u, i, t) {
818
+ tt(e, i, u, t) {
819
819
  t = t || Q.groups;
820
820
  const s = this;
821
- if (u && u.j)
822
- return s.j[e] = u, u;
823
- const p = u;
821
+ if (i && i.j)
822
+ return s.j[e] = i, i;
823
+ const p = i;
824
824
  let g, m = s.go(e);
825
825
  if (m ? (g = new Q(), pe(g.j, m.j), g.jr.push.apply(g.jr, m.jr), g.jd = m.jd, g.t = m.t) : g = new Q(), p) {
826
826
  if (t)
827
827
  if (g.t && typeof g.t == "string") {
828
- const b = pe(on(g.t, t), i);
828
+ const b = pe(dn(g.t, t), u);
829
829
  oe(p, b, t);
830
830
  } else
831
- i && oe(p, i, t);
831
+ u && oe(p, u, t);
832
832
  g.t = p;
833
833
  }
834
834
  return s.j[e] = g, g;
835
835
  }
836
836
  };
837
- const O = (e, u, i, t, s) => e.ta(u, i, t, s), Y = (e, u, i, t, s) => e.tr(u, i, t, s), ot = (e, u, i, t, s) => e.ts(u, i, t, s), A = (e, u, i, t, s) => e.tt(u, i, t, s), ae = "WORD", Ir = "UWORD", ke = "LOCALHOST", Or = "TLD", Hr = "UTLD", Ne = "SCHEME", fe = "SLASH_SCHEME", Fr = "NUM", Ht = "WS", $r = "NL", ve = "OPENBRACE", we = "CLOSEBRACE", Oe = "OPENBRACKET", He = "CLOSEBRACKET", Me = "OPENPAREN", xe = "CLOSEPAREN", Ue = "OPENANGLEBRACKET", Be = "CLOSEANGLEBRACKET", Ve = "FULLWIDTHLEFTPAREN", Fe = "FULLWIDTHRIGHTPAREN", $e = "LEFTCORNERBRACKET", Ge = "RIGHTCORNERBRACKET", We = "LEFTWHITECORNERBRACKET", Ke = "RIGHTWHITECORNERBRACKET", Qe = "FULLWIDTHLESSTHAN", Ye = "FULLWIDTHGREATERTHAN", Xe = "AMPERSAND", Ze = "APOSTROPHE", Je = "ASTERISK", se = "AT", er = "BACKSLASH", rr = "BACKTICK", tr = "CARET", de = "COLON", Gr = "COMMA", ar = "DOLLAR", ee = "DOT", nr = "EQUALS", Wr = "EXCLAMATION", re = "HYPHEN", ir = "PERCENT", ur = "PIPE", sr = "PLUS", dr = "POUND", or = "QUERY", Kr = "QUOTE", Qr = "SEMI", te = "SLASH", ye = "TILDE", cr = "UNDERSCORE", Mt = "EMOJI", lr = "SYM";
837
+ const O = (e, i, u, t, s) => e.ta(i, u, t, s), Y = (e, i, u, t, s) => e.tr(i, u, t, s), ot = (e, i, u, t, s) => e.ts(i, u, t, s), A = (e, i, u, t, s) => e.tt(i, u, t, s), ae = "WORD", Ir = "UWORD", ke = "LOCALHOST", Or = "TLD", Hr = "UTLD", Ne = "SCHEME", fe = "SLASH_SCHEME", Fr = "NUM", Ht = "WS", $r = "NL", ve = "OPENBRACE", we = "CLOSEBRACE", Oe = "OPENBRACKET", He = "CLOSEBRACKET", Me = "OPENPAREN", xe = "CLOSEPAREN", Ue = "OPENANGLEBRACKET", Be = "CLOSEANGLEBRACKET", Ve = "FULLWIDTHLEFTPAREN", Fe = "FULLWIDTHRIGHTPAREN", $e = "LEFTCORNERBRACKET", Ge = "RIGHTCORNERBRACKET", We = "LEFTWHITECORNERBRACKET", Ke = "RIGHTWHITECORNERBRACKET", Qe = "FULLWIDTHLESSTHAN", Ye = "FULLWIDTHGREATERTHAN", Xe = "AMPERSAND", Ze = "APOSTROPHE", Je = "ASTERISK", se = "AT", er = "BACKSLASH", rr = "BACKTICK", tr = "CARET", de = "COLON", Gr = "COMMA", ar = "DOLLAR", ee = "DOT", nr = "EQUALS", Wr = "EXCLAMATION", re = "HYPHEN", ir = "PERCENT", ur = "PIPE", sr = "PLUS", dr = "POUND", or = "QUERY", Kr = "QUOTE", Qr = "SEMI", te = "SLASH", ye = "TILDE", cr = "UNDERSCORE", Mt = "EMOJI", lr = "SYM";
838
838
  var xt = /* @__PURE__ */ Object.freeze({
839
839
  __proto__: null,
840
840
  WORD: ae,
@@ -891,84 +891,84 @@ var xt = /* @__PURE__ */ Object.freeze({
891
891
  SYM: lr
892
892
  });
893
893
  const le = /[a-z]/, kr = new RegExp("\\p{L}", "u"), Er = new RegExp("\\p{Emoji}", "u"), Tr = /\d/, ct = /\s/, lt = `
894
- `, cn = "️", ln = "‍";
894
+ `, on = "️", cn = "‍";
895
895
  let Le = null, qe = null;
896
- function fn(e) {
896
+ function ln(e) {
897
897
  e === void 0 && (e = []);
898
- const u = {};
899
- Q.groups = u;
900
- const i = new Q();
901
- Le == null && (Le = ft(an)), qe == null && (qe = ft(nn)), A(i, "'", Ze), A(i, "{", ve), A(i, "}", we), A(i, "[", Oe), A(i, "]", He), A(i, "(", Me), A(i, ")", xe), A(i, "<", Ue), A(i, ">", Be), A(i, "(", Ve), A(i, ")", Fe), A(i, "「", $e), A(i, "」", Ge), A(i, "『", We), A(i, "』", Ke), A(i, "<", Qe), A(i, ">", Ye), A(i, "&", Xe), A(i, "*", Je), A(i, "@", se), A(i, "`", rr), A(i, "^", tr), A(i, ":", de), A(i, ",", Gr), A(i, "$", ar), A(i, ".", ee), A(i, "=", nr), A(i, "!", Wr), A(i, "-", re), A(i, "%", ir), A(i, "|", ur), A(i, "+", sr), A(i, "#", dr), A(i, "?", or), A(i, '"', Kr), A(i, "/", te), A(i, ";", Qr), A(i, "~", ye), A(i, "_", cr), A(i, "\\", er);
902
- const t = Y(i, Tr, Fr, {
898
+ const i = {};
899
+ Q.groups = i;
900
+ const u = new Q();
901
+ Le == null && (Le = ft(tn)), qe == null && (qe = ft(an)), A(u, "'", Ze), A(u, "{", ve), A(u, "}", we), A(u, "[", Oe), A(u, "]", He), A(u, "(", Me), A(u, ")", xe), A(u, "<", Ue), A(u, ">", Be), A(u, "(", Ve), A(u, ")", Fe), A(u, "「", $e), A(u, "」", Ge), A(u, "『", We), A(u, "』", Ke), A(u, "<", Qe), A(u, ">", Ye), A(u, "&", Xe), A(u, "*", Je), A(u, "@", se), A(u, "`", rr), A(u, "^", tr), A(u, ":", de), A(u, ",", Gr), A(u, "$", ar), A(u, ".", ee), A(u, "=", nr), A(u, "!", Wr), A(u, "-", re), A(u, "%", ir), A(u, "|", ur), A(u, "+", sr), A(u, "#", dr), A(u, "?", or), A(u, '"', Kr), A(u, "/", te), A(u, ";", Qr), A(u, "~", ye), A(u, "_", cr), A(u, "\\", er);
902
+ const t = Y(u, Tr, Fr, {
903
903
  [Rr]: !0
904
904
  });
905
905
  Y(t, Tr, t);
906
- const s = Y(i, le, ae, {
906
+ const s = Y(u, le, ae, {
907
907
  [zr]: !0
908
908
  });
909
909
  Y(s, le, s);
910
- const p = Y(i, kr, Ir, {
910
+ const p = Y(u, kr, Ir, {
911
911
  [Nr]: !0
912
912
  });
913
913
  Y(p, le), Y(p, kr, p);
914
- const g = Y(i, ct, Ht, {
914
+ const g = Y(u, ct, Ht, {
915
915
  [dt]: !0
916
916
  });
917
- A(i, lt, $r, {
917
+ A(u, lt, $r, {
918
918
  [dt]: !0
919
919
  }), A(g, lt), Y(g, ct, g);
920
- const m = Y(i, Er, Mt, {
920
+ const m = Y(u, Er, Mt, {
921
921
  [Ot]: !0
922
922
  });
923
- Y(m, Er, m), A(m, cn, m);
924
- const b = A(m, ln);
923
+ Y(m, Er, m), A(m, on, m);
924
+ const b = A(m, cn);
925
925
  Y(b, Er, m);
926
926
  const S = [[le, s]], q = [[le, null], [kr, p]];
927
927
  for (let E = 0; E < Le.length; E++)
928
- ne(i, Le[E], Or, ae, S);
928
+ ne(u, Le[E], Or, ae, S);
929
929
  for (let E = 0; E < qe.length; E++)
930
- ne(i, qe[E], Hr, Ir, q);
930
+ ne(u, qe[E], Hr, Ir, q);
931
931
  oe(Or, {
932
932
  tld: !0,
933
933
  ascii: !0
934
- }, u), oe(Hr, {
934
+ }, i), oe(Hr, {
935
935
  utld: !0,
936
936
  alpha: !0
937
- }, u), ne(i, "file", Ne, ae, S), ne(i, "mailto", Ne, ae, S), ne(i, "http", fe, ae, S), ne(i, "https", fe, ae, S), ne(i, "ftp", fe, ae, S), ne(i, "ftps", fe, ae, S), oe(Ne, {
937
+ }, i), ne(u, "file", Ne, ae, S), ne(u, "mailto", Ne, ae, S), ne(u, "http", fe, ae, S), ne(u, "https", fe, ae, S), ne(u, "ftp", fe, ae, S), ne(u, "ftps", fe, ae, S), oe(Ne, {
938
938
  scheme: !0,
939
939
  ascii: !0
940
- }, u), oe(fe, {
940
+ }, i), oe(fe, {
941
941
  slashscheme: !0,
942
942
  ascii: !0
943
- }, u), e = e.sort((E, w) => E[0] > w[0] ? 1 : -1);
943
+ }, i), e = e.sort((E, w) => E[0] > w[0] ? 1 : -1);
944
944
  for (let E = 0; E < e.length; E++) {
945
945
  const w = e[E][0], C = e[E][1] ? {
946
- [un]: !0
946
+ [nn]: !0
947
947
  } : {
948
- [sn]: !0
948
+ [un]: !0
949
949
  };
950
- w.indexOf("-") >= 0 ? C[jr] = !0 : le.test(w) ? Tr.test(w) ? C[ze] = !0 : C[zr] = !0 : C[Rr] = !0, ot(i, w, w, C);
950
+ w.indexOf("-") >= 0 ? C[jr] = !0 : le.test(w) ? Tr.test(w) ? C[ze] = !0 : C[zr] = !0 : C[Rr] = !0, ot(u, w, w, C);
951
951
  }
952
- return ot(i, "localhost", ke, {
952
+ return ot(u, "localhost", ke, {
953
953
  ascii: !0
954
- }), i.jd = new Q(lr), {
955
- start: i,
954
+ }), u.jd = new Q(lr), {
955
+ start: u,
956
956
  tokens: pe({
957
- groups: u
957
+ groups: i
958
958
  }, xt)
959
959
  };
960
960
  }
961
- function pn(e, u) {
962
- const i = hn(u.replace(/[A-Z]/g, (m) => m.toLowerCase())), t = i.length, s = [];
961
+ function fn(e, i) {
962
+ const u = pn(i.replace(/[A-Z]/g, (m) => m.toLowerCase())), t = u.length, s = [];
963
963
  let p = 0, g = 0;
964
964
  for (; g < t; ) {
965
965
  let m = e, b = null, S = 0, q = null, E = -1, w = -1;
966
- for (; g < t && (b = m.go(i[g])); )
967
- m = b, m.accepts() ? (E = 0, w = 0, q = m) : E >= 0 && (E += i[g].length, w++), S += i[g].length, p += i[g].length, g++;
966
+ for (; g < t && (b = m.go(u[g])); )
967
+ m = b, m.accepts() ? (E = 0, w = 0, q = m) : E >= 0 && (E += u[g].length, w++), S += u[g].length, p += u[g].length, g++;
968
968
  p -= E, g -= w, S -= E, s.push({
969
969
  t: q.t,
970
970
  // token type/name
971
- v: u.slice(p - S, p),
971
+ v: i.slice(p - S, p),
972
972
  // string value
973
973
  s: p - S,
974
974
  // start index
@@ -978,40 +978,40 @@ function pn(e, u) {
978
978
  }
979
979
  return s;
980
980
  }
981
- function hn(e) {
982
- const u = [], i = e.length;
981
+ function pn(e) {
982
+ const i = [], u = e.length;
983
983
  let t = 0;
984
- for (; t < i; ) {
985
- let s = e.charCodeAt(t), p, g = s < 55296 || s > 56319 || t + 1 === i || (p = e.charCodeAt(t + 1)) < 56320 || p > 57343 ? e[t] : e.slice(t, t + 2);
986
- u.push(g), t += g.length;
984
+ for (; t < u; ) {
985
+ let s = e.charCodeAt(t), p, g = s < 55296 || s > 56319 || t + 1 === u || (p = e.charCodeAt(t + 1)) < 56320 || p > 57343 ? e[t] : e.slice(t, t + 2);
986
+ i.push(g), t += g.length;
987
987
  }
988
- return u;
988
+ return i;
989
989
  }
990
- function ne(e, u, i, t, s) {
990
+ function ne(e, i, u, t, s) {
991
991
  let p;
992
- const g = u.length;
992
+ const g = i.length;
993
993
  for (let m = 0; m < g - 1; m++) {
994
- const b = u[m];
994
+ const b = i[m];
995
995
  e.j[b] ? p = e.j[b] : (p = new Q(t), p.jr = s.slice(), e.j[b] = p), e = p;
996
996
  }
997
- return p = new Q(i), p.jr = s.slice(), e.j[u[g - 1]] = p, p;
997
+ return p = new Q(u), p.jr = s.slice(), e.j[i[g - 1]] = p, p;
998
998
  }
999
999
  function ft(e) {
1000
- const u = [], i = [];
1000
+ const i = [], u = [];
1001
1001
  let t = 0, s = "0123456789";
1002
1002
  for (; t < e.length; ) {
1003
1003
  let p = 0;
1004
1004
  for (; s.indexOf(e[t + p]) >= 0; )
1005
1005
  p++;
1006
1006
  if (p > 0) {
1007
- u.push(i.join(""));
1007
+ i.push(u.join(""));
1008
1008
  for (let g = parseInt(e.substring(t, t + p), 10); g > 0; g--)
1009
- i.pop();
1009
+ u.pop();
1010
1010
  t += p;
1011
1011
  } else
1012
- i.push(e[t]), t++;
1012
+ u.push(e[t]), t++;
1013
1013
  }
1014
- return u;
1014
+ return i;
1015
1015
  }
1016
1016
  const Ee = {
1017
1017
  defaultProtocol: "http",
@@ -1029,14 +1029,14 @@ const Ee = {
1029
1029
  ignoreTags: [],
1030
1030
  render: null
1031
1031
  };
1032
- function Yr(e, u) {
1033
- u === void 0 && (u = null);
1034
- let i = pe({}, Ee);
1035
- e && (i = pe(i, e instanceof Yr ? e.o : e));
1036
- const t = i.ignoreTags, s = [];
1032
+ function Yr(e, i) {
1033
+ i === void 0 && (i = null);
1034
+ let u = pe({}, Ee);
1035
+ e && (u = pe(u, e instanceof Yr ? e.o : e));
1036
+ const t = u.ignoreTags, s = [];
1037
1037
  for (let p = 0; p < t.length; p++)
1038
1038
  s.push(t[p].toUpperCase());
1039
- this.o = i, u && (this.defaultRender = u), this.ignoreTags = s;
1039
+ this.o = u, i && (this.defaultRender = i), this.ignoreTags = s;
1040
1040
  }
1041
1041
  Yr.prototype = {
1042
1042
  o: Ee,
@@ -1072,10 +1072,10 @@ Yr.prototype = {
1072
1072
  * @param {MultiToken} [token] The token from linkify.tokenize
1073
1073
  * @returns {Opts[K] | any}
1074
1074
  */
1075
- get(e, u, i) {
1076
- const t = u != null;
1075
+ get(e, i, u) {
1076
+ const t = i != null;
1077
1077
  let s = this.o[e];
1078
- return s && (typeof s == "object" ? (s = i.t in s ? s[i.t] : Ee[e], typeof s == "function" && t && (s = s(u, i))) : typeof s == "function" && t && (s = s(u, i.t, i)), s);
1078
+ return s && (typeof s == "object" ? (s = u.t in s ? s[u.t] : Ee[e], typeof s == "function" && t && (s = s(i, u))) : typeof s == "function" && t && (s = s(i, u.t, u)), s);
1079
1079
  },
1080
1080
  /**
1081
1081
  * @template {keyof Opts} L
@@ -1084,9 +1084,9 @@ Yr.prototype = {
1084
1084
  * @param {MultiToken} [token]
1085
1085
  * @returns {Opts[L] | any}
1086
1086
  */
1087
- getObj(e, u, i) {
1087
+ getObj(e, i, u) {
1088
1088
  let t = this.o[e];
1089
- return typeof t == "function" && u != null && (t = t(u, i.t, i)), t;
1089
+ return typeof t == "function" && i != null && (t = t(i, u.t, u)), t;
1090
1090
  },
1091
1091
  /**
1092
1092
  * Convert the given token to a rendered element that may be added to the
@@ -1096,15 +1096,15 @@ Yr.prototype = {
1096
1096
  * Component, etc.
1097
1097
  */
1098
1098
  render(e) {
1099
- const u = e.render(this);
1100
- return (this.get("render", null, e) || this.defaultRender)(u, e.t, e);
1099
+ const i = e.render(this);
1100
+ return (this.get("render", null, e) || this.defaultRender)(i, e.t, e);
1101
1101
  }
1102
1102
  };
1103
1103
  function pt(e) {
1104
1104
  return e;
1105
1105
  }
1106
- function Ut(e, u) {
1107
- this.t = "token", this.v = e, this.tk = u;
1106
+ function Ut(e, i) {
1107
+ this.t = "token", this.v = e, this.tk = i;
1108
1108
  }
1109
1109
  Ut.prototype = {
1110
1110
  isLink: !1,
@@ -1129,8 +1129,8 @@ Ut.prototype = {
1129
1129
  * @returns {string}
1130
1130
  */
1131
1131
  toFormattedString(e) {
1132
- const u = this.toString(), i = e.get("truncate", u, this), t = e.get("format", u, this);
1133
- return i && t.length > i ? t.substring(0, i) + "…" : t;
1132
+ const i = this.toString(), u = e.get("truncate", i, this), t = e.get("format", i, this);
1133
+ return u && t.length > u ? t.substring(0, u) + "…" : t;
1134
1134
  },
1135
1135
  /**
1136
1136
  *
@@ -1201,7 +1201,7 @@ Ut.prototype = {
1201
1201
  * @param {Options} options Formattinng options
1202
1202
  */
1203
1203
  render(e) {
1204
- const u = this, i = this.toHref(e.get("defaultProtocol")), t = e.get("formatHref", i, this), s = e.get("tagName", i, u), p = this.toFormattedString(e), g = {}, m = e.get("className", i, u), b = e.get("target", i, u), S = e.get("rel", i, u), q = e.getObj("attributes", i, u), E = e.getObj("events", i, u);
1204
+ const i = this, u = this.toHref(e.get("defaultProtocol")), t = e.get("formatHref", u, this), s = e.get("tagName", u, i), p = this.toFormattedString(e), g = {}, m = e.get("className", u, i), b = e.get("target", u, i), S = e.get("rel", u, i), q = e.getObj("attributes", u, i), E = e.getObj("events", u, i);
1205
1205
  return g.href = t, m && (g.class = m), b && (g.target = b), S && (g.rel = S), q && pe(g, q), {
1206
1206
  tagName: s,
1207
1207
  attributes: g,
@@ -1210,22 +1210,22 @@ Ut.prototype = {
1210
1210
  };
1211
1211
  }
1212
1212
  };
1213
- function hr(e, u) {
1214
- class i extends Ut {
1213
+ function hr(e, i) {
1214
+ class u extends Ut {
1215
1215
  constructor(s, p) {
1216
1216
  super(s, p), this.t = e;
1217
1217
  }
1218
1218
  }
1219
- for (const t in u)
1220
- i.prototype[t] = u[t];
1221
- return i.t = e, i;
1219
+ for (const t in i)
1220
+ u.prototype[t] = i[t];
1221
+ return u.t = e, u;
1222
1222
  }
1223
1223
  const ht = hr("email", {
1224
1224
  isLink: !0,
1225
1225
  toHref() {
1226
1226
  return "mailto:" + this.toString();
1227
1227
  }
1228
- }), gt = hr("text"), gn = hr("nl"), De = hr("url", {
1228
+ }), gt = hr("text"), hn = hr("nl"), De = hr("url", {
1229
1229
  isLink: !0,
1230
1230
  /**
1231
1231
  Lowercases relevant parts of the domain and adds the protocol if
@@ -1246,38 +1246,38 @@ const ht = hr("email", {
1246
1246
  return e.length >= 2 && e[0].t !== ke && e[1].t === de;
1247
1247
  }
1248
1248
  }), X = (e) => new Q(e);
1249
- function mn(e) {
1249
+ function gn(e) {
1250
1250
  let {
1251
- groups: u
1251
+ groups: i
1252
1252
  } = e;
1253
- const i = u.domain.concat([Xe, Je, se, er, rr, tr, ar, nr, re, Fr, ir, ur, sr, dr, te, lr, ye, cr]), t = [Ze, de, Gr, ee, Wr, or, Kr, Qr, Ue, Be, ve, we, He, Oe, Me, xe, Ve, Fe, $e, Ge, We, Ke, Qe, Ye], s = [Xe, Ze, Je, er, rr, tr, ar, nr, re, ve, we, ir, ur, sr, dr, or, te, lr, ye, cr], p = X(), g = A(p, ye);
1254
- O(g, s, g), O(g, u.domain, g);
1253
+ const u = i.domain.concat([Xe, Je, se, er, rr, tr, ar, nr, re, Fr, ir, ur, sr, dr, te, lr, ye, cr]), t = [Ze, de, Gr, ee, Wr, or, Kr, Qr, Ue, Be, ve, we, He, Oe, Me, xe, Ve, Fe, $e, Ge, We, Ke, Qe, Ye], s = [Xe, Ze, Je, er, rr, tr, ar, nr, re, ve, we, ir, ur, sr, dr, or, te, lr, ye, cr], p = X(), g = A(p, ye);
1254
+ O(g, s, g), O(g, i.domain, g);
1255
1255
  const m = X(), b = X(), S = X();
1256
- O(p, u.domain, m), O(p, u.scheme, b), O(p, u.slashscheme, S), O(m, s, g), O(m, u.domain, m);
1256
+ O(p, i.domain, m), O(p, i.scheme, b), O(p, i.slashscheme, S), O(m, s, g), O(m, i.domain, m);
1257
1257
  const q = A(m, se);
1258
1258
  A(g, se, q), A(b, se, q), A(S, se, q);
1259
1259
  const E = A(g, ee);
1260
- O(E, s, g), O(E, u.domain, g);
1260
+ O(E, s, g), O(E, i.domain, g);
1261
1261
  const w = X();
1262
- O(q, u.domain, w), O(w, u.domain, w);
1262
+ O(q, i.domain, w), O(w, i.domain, w);
1263
1263
  const D = A(w, ee);
1264
- O(D, u.domain, w);
1264
+ O(D, i.domain, w);
1265
1265
  const C = X(ht);
1266
- O(D, u.tld, C), O(D, u.utld, C), A(q, ke, C);
1266
+ O(D, i.tld, C), O(D, i.utld, C), A(q, ke, C);
1267
1267
  const R = A(w, re);
1268
- O(R, u.domain, w), O(C, u.domain, w), A(C, ee, D), A(C, re, R);
1268
+ O(R, i.domain, w), O(C, i.domain, w), A(C, ee, D), A(C, re, R);
1269
1269
  const j = A(C, de);
1270
- O(j, u.numeric, ht);
1270
+ O(j, i.numeric, ht);
1271
1271
  const H = A(m, re), I = A(m, ee);
1272
- O(H, u.domain, m), O(I, s, g), O(I, u.domain, m);
1272
+ O(H, i.domain, m), O(I, s, g), O(I, i.domain, m);
1273
1273
  const N = X(De);
1274
- O(I, u.tld, N), O(I, u.utld, N), O(N, u.domain, m), O(N, s, g), A(N, ee, I), A(N, re, H), A(N, se, q);
1274
+ O(I, i.tld, N), O(I, i.utld, N), O(N, i.domain, m), O(N, s, g), A(N, ee, I), A(N, re, H), A(N, se, q);
1275
1275
  const r = A(N, de), n = X(De);
1276
- O(r, u.numeric, n);
1276
+ O(r, i.numeric, n);
1277
1277
  const a = X(De), d = X();
1278
- O(a, i, a), O(a, t, d), O(d, i, a), O(d, t, d), A(N, te, a), A(n, te, a);
1278
+ O(a, u, a), O(a, t, d), O(d, u, a), O(d, t, d), A(N, te, a), A(n, te, a);
1279
1279
  const o = A(b, de), f = A(S, de), l = A(f, te), h = A(l, te);
1280
- O(b, u.domain, m), A(b, ee, I), A(b, re, H), O(S, u.domain, m), A(S, ee, I), A(S, re, H), O(o, u.domain, a), A(o, te, a), O(h, u.domain, a), O(h, i, a), A(h, te, a);
1280
+ O(b, i.domain, m), A(b, ee, I), A(b, re, H), O(S, i.domain, m), A(S, ee, I), A(S, re, H), O(o, i.domain, a), A(o, te, a), O(h, i.domain, a), O(h, u, a), A(h, te, a);
1281
1281
  const T = [
1282
1282
  [ve, we],
1283
1283
  // {}
@@ -1300,36 +1300,36 @@ function mn(e) {
1300
1300
  const [y, k] = T[_], c = A(a, y);
1301
1301
  A(d, y, c), A(c, k, a);
1302
1302
  const v = X(De);
1303
- O(c, i, v);
1303
+ O(c, u, v);
1304
1304
  const L = X();
1305
- O(c, t), O(v, i, v), O(v, t, L), O(L, i, v), O(L, t, L), A(v, k, a), A(L, k, a);
1305
+ O(c, t), O(v, u, v), O(v, t, L), O(L, u, v), O(L, t, L), A(v, k, a), A(L, k, a);
1306
1306
  }
1307
- return A(p, ke, N), A(p, $r, gn), {
1307
+ return A(p, ke, N), A(p, $r, hn), {
1308
1308
  start: p,
1309
1309
  tokens: xt
1310
1310
  };
1311
1311
  }
1312
- function bn(e, u, i) {
1313
- let t = i.length, s = 0, p = [], g = [];
1312
+ function mn(e, i, u) {
1313
+ let t = u.length, s = 0, p = [], g = [];
1314
1314
  for (; s < t; ) {
1315
1315
  let m = e, b = null, S = null, q = 0, E = null, w = -1;
1316
- for (; s < t && !(b = m.go(i[s].t)); )
1317
- g.push(i[s++]);
1318
- for (; s < t && (S = b || m.go(i[s].t)); )
1316
+ for (; s < t && !(b = m.go(u[s].t)); )
1317
+ g.push(u[s++]);
1318
+ for (; s < t && (S = b || m.go(u[s].t)); )
1319
1319
  b = null, m = S, m.accepts() ? (w = 0, E = m) : w >= 0 && w++, s++, q++;
1320
1320
  if (w < 0)
1321
- s -= q, s < t && (g.push(i[s]), s++);
1321
+ s -= q, s < t && (g.push(u[s]), s++);
1322
1322
  else {
1323
- g.length > 0 && (p.push(Ar(gt, u, g)), g = []), s -= w, q -= w;
1324
- const D = E.t, C = i.slice(s - q, s);
1325
- p.push(Ar(D, u, C));
1323
+ g.length > 0 && (p.push(Ar(gt, i, g)), g = []), s -= w, q -= w;
1324
+ const D = E.t, C = u.slice(s - q, s);
1325
+ p.push(Ar(D, i, C));
1326
1326
  }
1327
1327
  }
1328
- return g.length > 0 && p.push(Ar(gt, u, g)), p;
1328
+ return g.length > 0 && p.push(Ar(gt, i, g)), p;
1329
1329
  }
1330
- function Ar(e, u, i) {
1331
- const t = i[0].s, s = i[i.length - 1].e, p = u.slice(t, s);
1332
- return new e(p, i);
1330
+ function Ar(e, i, u) {
1331
+ const t = u[0].s, s = u[u.length - 1].e, p = i.slice(t, s);
1332
+ return new e(p, u);
1333
1333
  }
1334
1334
  const $ = {
1335
1335
  scanner: null,
@@ -1339,13 +1339,13 @@ const $ = {
1339
1339
  customSchemes: [],
1340
1340
  initialized: !1
1341
1341
  };
1342
- function vn() {
1343
- $.scanner = fn($.customSchemes);
1342
+ function bn() {
1343
+ $.scanner = ln($.customSchemes);
1344
1344
  for (let e = 0; e < $.tokenQueue.length; e++)
1345
1345
  $.tokenQueue[e][1]({
1346
1346
  scanner: $.scanner
1347
1347
  });
1348
- $.parser = mn($.scanner.tokens);
1348
+ $.parser = gn($.scanner.tokens);
1349
1349
  for (let e = 0; e < $.pluginQueue.length; e++)
1350
1350
  $.pluginQueue[e][1]({
1351
1351
  scanner: $.scanner,
@@ -1353,10 +1353,10 @@ function vn() {
1353
1353
  });
1354
1354
  $.initialized = !0;
1355
1355
  }
1356
- function wn(e) {
1357
- return $.initialized || vn(), bn($.parser.start, e, pn($.scanner.start, e));
1356
+ function vn(e) {
1357
+ return $.initialized || bn(), mn($.parser.start, e, fn($.scanner.start, e));
1358
1358
  }
1359
- var yn = {
1359
+ var wn = {
1360
1360
  // We don't need the complete named character reference because linkifyHtml
1361
1361
  // does not modify the escape sequences. We do need &nbsp; so that
1362
1362
  // whitespace is parsed properly. Other types of whitespace should already
@@ -1366,40 +1366,40 @@ var yn = {
1366
1366
  lt: "<",
1367
1367
  nbsp: " ",
1368
1368
  quot: '"'
1369
- }, _n = /^#[xX]([A-Fa-f0-9]+)$/, kn = /^#([0-9]+)$/, En = /^([A-Za-z0-9]+)$/, Tn = (
1369
+ }, yn = /^#[xX]([A-Fa-f0-9]+)$/, _n = /^#([0-9]+)$/, kn = /^([A-Za-z0-9]+)$/, En = (
1370
1370
  /** @class */
1371
1371
  function() {
1372
- function e(u) {
1373
- this.named = u;
1372
+ function e(i) {
1373
+ this.named = i;
1374
1374
  }
1375
- return e.prototype.parse = function(u) {
1376
- if (u) {
1377
- var i = u.match(_n);
1378
- if (i)
1379
- return String.fromCharCode(parseInt(i[1], 16));
1380
- if (i = u.match(kn), i)
1381
- return String.fromCharCode(parseInt(i[1], 10));
1382
- if (i = u.match(En), i)
1383
- return this.named[i[1]] || "&" + i[1] + ";";
1375
+ return e.prototype.parse = function(i) {
1376
+ if (i) {
1377
+ var u = i.match(yn);
1378
+ if (u)
1379
+ return String.fromCharCode(parseInt(u[1], 16));
1380
+ if (u = i.match(_n), u)
1381
+ return String.fromCharCode(parseInt(u[1], 10));
1382
+ if (u = i.match(kn), u)
1383
+ return this.named[u[1]] || "&" + u[1] + ";";
1384
1384
  }
1385
1385
  }, e;
1386
1386
  }()
1387
- ), An = /[\t\n\f ]/, Cn = /[A-Za-z]/, Sn = /\r\n?/g;
1387
+ ), Tn = /[\t\n\f ]/, An = /[A-Za-z]/, Cn = /\r\n?/g;
1388
1388
  function V(e) {
1389
- return An.test(e);
1389
+ return Tn.test(e);
1390
1390
  }
1391
1391
  function mt(e) {
1392
- return Cn.test(e);
1392
+ return An.test(e);
1393
1393
  }
1394
- function Ln(e) {
1395
- return e.replace(Sn, `
1394
+ function Sn(e) {
1395
+ return e.replace(Cn, `
1396
1396
  `);
1397
1397
  }
1398
- var qn = (
1398
+ var Ln = (
1399
1399
  /** @class */
1400
1400
  function() {
1401
- function e(u, i, t) {
1402
- t === void 0 && (t = "precompile"), this.delegate = u, this.entityParser = i, this.mode = t, this.state = "beforeData", this.line = -1, this.column = -1, this.input = "", this.index = -1, this.tagNameBuffer = "", this.states = {
1401
+ function e(i, u, t) {
1402
+ t === void 0 && (t = "precompile"), this.delegate = i, this.entityParser = u, this.mode = t, this.state = "beforeData", this.line = -1, this.column = -1, this.input = "", this.index = -1, this.tagNameBuffer = "", this.states = {
1403
1403
  beforeData: function() {
1404
1404
  var s = this.peek();
1405
1405
  if (s === "<" && !this.isIgnoredEndTag())
@@ -1807,15 +1807,15 @@ var qn = (
1807
1807
  "beforeData"
1808
1808
  /* beforeData */
1809
1809
  ), this.input = "", this.tagNameBuffer = "", this.index = 0, this.line = 1, this.column = 0, this.delegate.reset();
1810
- }, e.prototype.transitionTo = function(u) {
1811
- this.state = u;
1812
- }, e.prototype.tokenize = function(u) {
1813
- this.reset(), this.tokenizePart(u), this.tokenizeEOF();
1814
- }, e.prototype.tokenizePart = function(u) {
1815
- for (this.input += Ln(u); this.index < this.input.length; ) {
1816
- var i = this.states[this.state];
1817
- if (i !== void 0)
1818
- i.call(this);
1810
+ }, e.prototype.transitionTo = function(i) {
1811
+ this.state = i;
1812
+ }, e.prototype.tokenize = function(i) {
1813
+ this.reset(), this.tokenizePart(i), this.tokenizeEOF();
1814
+ }, e.prototype.tokenizePart = function(i) {
1815
+ for (this.input += Sn(i); this.index < this.input.length; ) {
1816
+ var u = this.states[this.state];
1817
+ if (u !== void 0)
1818
+ u.call(this);
1819
1819
  else
1820
1820
  throw new Error("unhandled state " + this.state);
1821
1821
  }
@@ -1829,54 +1829,54 @@ var qn = (
1829
1829
  }, e.prototype.peek = function() {
1830
1830
  return this.input.charAt(this.index);
1831
1831
  }, e.prototype.consume = function() {
1832
- var u = this.peek();
1833
- return this.index++, u === `
1834
- ` ? (this.line++, this.column = 0) : this.column++, u;
1832
+ var i = this.peek();
1833
+ return this.index++, i === `
1834
+ ` ? (this.line++, this.column = 0) : this.column++, i;
1835
1835
  }, e.prototype.consumeCharRef = function() {
1836
- var u = this.input.indexOf(";", this.index);
1837
- if (u !== -1) {
1838
- var i = this.input.slice(this.index, u), t = this.entityParser.parse(i);
1836
+ var i = this.input.indexOf(";", this.index);
1837
+ if (i !== -1) {
1838
+ var u = this.input.slice(this.index, i), t = this.entityParser.parse(u);
1839
1839
  if (t) {
1840
- for (var s = i.length; s; )
1840
+ for (var s = u.length; s; )
1841
1841
  this.consume(), s--;
1842
1842
  return this.consume(), t;
1843
1843
  }
1844
1844
  }
1845
1845
  }, e.prototype.markTagStart = function() {
1846
1846
  this.delegate.tagOpen();
1847
- }, e.prototype.appendToTagName = function(u) {
1848
- this.tagNameBuffer += u, this.delegate.appendToTagName(u);
1847
+ }, e.prototype.appendToTagName = function(i) {
1848
+ this.tagNameBuffer += i, this.delegate.appendToTagName(i);
1849
1849
  }, e.prototype.isIgnoredEndTag = function() {
1850
- var u = this.tagNameBuffer;
1851
- return u === "title" && this.input.substring(this.index, this.index + 8) !== "</title>" || u === "style" && this.input.substring(this.index, this.index + 8) !== "</style>" || u === "script" && this.input.substring(this.index, this.index + 9) !== "<\/script>";
1850
+ var i = this.tagNameBuffer;
1851
+ return i === "title" && this.input.substring(this.index, this.index + 8) !== "</title>" || i === "style" && this.input.substring(this.index, this.index + 8) !== "</style>" || i === "script" && this.input.substring(this.index, this.index + 9) !== "<\/script>";
1852
1852
  }, e;
1853
1853
  }()
1854
- ), Dn = (
1854
+ ), qn = (
1855
1855
  /** @class */
1856
1856
  function() {
1857
- function e(u, i) {
1858
- i === void 0 && (i = {}), this.options = i, this.token = null, this.startLine = 1, this.startColumn = 0, this.tokens = [], this.tokenizer = new qn(this, u, i.mode), this._currentAttribute = void 0;
1857
+ function e(i, u) {
1858
+ u === void 0 && (u = {}), this.options = u, this.token = null, this.startLine = 1, this.startColumn = 0, this.tokens = [], this.tokenizer = new Ln(this, i, u.mode), this._currentAttribute = void 0;
1859
1859
  }
1860
- return e.prototype.tokenize = function(u) {
1861
- return this.tokens = [], this.tokenizer.tokenize(u), this.tokens;
1862
- }, e.prototype.tokenizePart = function(u) {
1863
- return this.tokens = [], this.tokenizer.tokenizePart(u), this.tokens;
1860
+ return e.prototype.tokenize = function(i) {
1861
+ return this.tokens = [], this.tokenizer.tokenize(i), this.tokens;
1862
+ }, e.prototype.tokenizePart = function(i) {
1863
+ return this.tokens = [], this.tokenizer.tokenizePart(i), this.tokens;
1864
1864
  }, e.prototype.tokenizeEOF = function() {
1865
1865
  return this.tokens = [], this.tokenizer.tokenizeEOF(), this.tokens[0];
1866
1866
  }, e.prototype.reset = function() {
1867
1867
  this.token = null, this.startLine = 1, this.startColumn = 0;
1868
1868
  }, e.prototype.current = function() {
1869
- var u = this.token;
1870
- if (u === null)
1869
+ var i = this.token;
1870
+ if (i === null)
1871
1871
  throw new Error("token was unexpectedly null");
1872
1872
  if (arguments.length === 0)
1873
- return u;
1874
- for (var i = 0; i < arguments.length; i++)
1875
- if (u.type === arguments[i])
1876
- return u;
1877
- throw new Error("token type was unexpectedly " + u.type);
1878
- }, e.prototype.push = function(u) {
1879
- this.token = u, this.tokens.push(u);
1873
+ return i;
1874
+ for (var u = 0; u < arguments.length; u++)
1875
+ if (i.type === arguments[u])
1876
+ return i;
1877
+ throw new Error("token type was unexpectedly " + i.type);
1878
+ }, e.prototype.push = function(i) {
1879
+ this.token = i, this.tokens.push(i);
1880
1880
  }, e.prototype.currentAttribute = function() {
1881
1881
  return this._currentAttribute;
1882
1882
  }, e.prototype.addLocInfo = function() {
@@ -1895,23 +1895,23 @@ var qn = (
1895
1895
  type: "Doctype",
1896
1896
  name: ""
1897
1897
  });
1898
- }, e.prototype.appendToDoctypeName = function(u) {
1898
+ }, e.prototype.appendToDoctypeName = function(i) {
1899
1899
  this.current(
1900
1900
  "Doctype"
1901
1901
  /* Doctype */
1902
- ).name += u;
1903
- }, e.prototype.appendToDoctypePublicIdentifier = function(u) {
1904
- var i = this.current(
1902
+ ).name += i;
1903
+ }, e.prototype.appendToDoctypePublicIdentifier = function(i) {
1904
+ var u = this.current(
1905
1905
  "Doctype"
1906
1906
  /* Doctype */
1907
1907
  );
1908
- i.publicIdentifier === void 0 ? i.publicIdentifier = u : i.publicIdentifier += u;
1909
- }, e.prototype.appendToDoctypeSystemIdentifier = function(u) {
1910
- var i = this.current(
1908
+ u.publicIdentifier === void 0 ? u.publicIdentifier = i : u.publicIdentifier += i;
1909
+ }, e.prototype.appendToDoctypeSystemIdentifier = function(i) {
1910
+ var u = this.current(
1911
1911
  "Doctype"
1912
1912
  /* Doctype */
1913
1913
  );
1914
- i.systemIdentifier === void 0 ? i.systemIdentifier = u : i.systemIdentifier += u;
1914
+ u.systemIdentifier === void 0 ? u.systemIdentifier = i : u.systemIdentifier += i;
1915
1915
  }, e.prototype.endDoctype = function() {
1916
1916
  this.addLocInfo();
1917
1917
  }, e.prototype.beginData = function() {
@@ -1919,11 +1919,11 @@ var qn = (
1919
1919
  type: "Chars",
1920
1920
  chars: ""
1921
1921
  });
1922
- }, e.prototype.appendToData = function(u) {
1922
+ }, e.prototype.appendToData = function(i) {
1923
1923
  this.current(
1924
1924
  "Chars"
1925
1925
  /* Chars */
1926
- ).chars += u;
1926
+ ).chars += i;
1927
1927
  }, e.prototype.finishData = function() {
1928
1928
  this.addLocInfo();
1929
1929
  }, e.prototype.beginComment = function() {
@@ -1931,11 +1931,11 @@ var qn = (
1931
1931
  type: "Comment",
1932
1932
  chars: ""
1933
1933
  });
1934
- }, e.prototype.appendToCommentData = function(u) {
1934
+ }, e.prototype.appendToCommentData = function(i) {
1935
1935
  this.current(
1936
1936
  "Comment"
1937
1937
  /* Comment */
1938
- ).chars += u;
1938
+ ).chars += i;
1939
1939
  }, e.prototype.finishComment = function() {
1940
1940
  this.addLocInfo();
1941
1941
  }, e.prototype.tagOpen = function() {
@@ -1958,51 +1958,51 @@ var qn = (
1958
1958
  "StartTag"
1959
1959
  /* StartTag */
1960
1960
  ).selfClosing = !0;
1961
- }, e.prototype.appendToTagName = function(u) {
1961
+ }, e.prototype.appendToTagName = function(i) {
1962
1962
  this.current(
1963
1963
  "StartTag",
1964
1964
  "EndTag"
1965
1965
  /* EndTag */
1966
- ).tagName += u;
1966
+ ).tagName += i;
1967
1967
  }, e.prototype.beginAttribute = function() {
1968
1968
  this._currentAttribute = ["", "", !1];
1969
- }, e.prototype.appendToAttributeName = function(u) {
1970
- this.currentAttribute()[0] += u;
1971
- }, e.prototype.beginAttributeValue = function(u) {
1972
- this.currentAttribute()[2] = u;
1973
- }, e.prototype.appendToAttributeValue = function(u) {
1974
- this.currentAttribute()[1] += u;
1969
+ }, e.prototype.appendToAttributeName = function(i) {
1970
+ this.currentAttribute()[0] += i;
1971
+ }, e.prototype.beginAttributeValue = function(i) {
1972
+ this.currentAttribute()[2] = i;
1973
+ }, e.prototype.appendToAttributeValue = function(i) {
1974
+ this.currentAttribute()[1] += i;
1975
1975
  }, e.prototype.finishAttributeValue = function() {
1976
1976
  this.current(
1977
1977
  "StartTag"
1978
1978
  /* StartTag */
1979
1979
  ).attributes.push(this._currentAttribute);
1980
- }, e.prototype.reportSyntaxError = function(u) {
1981
- this.current().syntaxError = u;
1980
+ }, e.prototype.reportSyntaxError = function(i) {
1981
+ this.current().syntaxError = i;
1982
1982
  }, e;
1983
1983
  }()
1984
1984
  );
1985
- function Pn(e, u) {
1986
- var i = new Dn(new Tn(yn), u);
1987
- return i.tokenize(e);
1985
+ function Dn(e, i) {
1986
+ var u = new qn(new En(wn), i);
1987
+ return u.tokenize(e);
1988
1988
  }
1989
- const Bt = "LinkifyResult", fr = "StartTag", Vt = "EndTag", Mr = "Chars", Rn = "Comment", zn = "Doctype";
1990
- function Nn(e, u) {
1991
- u === void 0 && (u = {});
1992
- const i = Pn(e), t = [], s = [], p = new Yr(u, On);
1993
- for (let g = 0; g < i.length; g++) {
1994
- const m = i[g];
1989
+ const Bt = "LinkifyResult", fr = "StartTag", Vt = "EndTag", Mr = "Chars", Pn = "Comment", Rn = "Doctype";
1990
+ function zn(e, i) {
1991
+ i === void 0 && (i = {});
1992
+ const u = Dn(e), t = [], s = [], p = new Yr(i, In);
1993
+ for (let g = 0; g < u.length; g++) {
1994
+ const m = u[g];
1995
1995
  if (m.type === fr) {
1996
1996
  t.push(m);
1997
1997
  const b = m.tagName.toUpperCase();
1998
1998
  if (!(b === "A" || p.ignoreTags.indexOf(b) >= 0))
1999
1999
  continue;
2000
2000
  let q = t.length;
2001
- In(b, i, ++g, t), g += t.length - q - 1;
2001
+ jn(b, u, ++g, t), g += t.length - q - 1;
2002
2002
  } else if (m.type !== Mr)
2003
2003
  t.push(m);
2004
2004
  else {
2005
- const b = jn(m.chars, p);
2005
+ const b = Nn(m.chars, p);
2006
2006
  t.push.apply(t, b);
2007
2007
  }
2008
2008
  }
@@ -2014,7 +2014,7 @@ function Nn(e, u) {
2014
2014
  break;
2015
2015
  case fr: {
2016
2016
  let b = "<" + m.tagName;
2017
- m.attributes.length > 0 && (b += " " + Mn(m.attributes).join(" ")), m.selfClosing && (b += " /"), b += ">", s.push(b);
2017
+ m.attributes.length > 0 && (b += " " + Hn(m.attributes).join(" ")), m.selfClosing && (b += " /"), b += ">", s.push(b);
2018
2018
  break;
2019
2019
  }
2020
2020
  case Vt:
@@ -2023,10 +2023,10 @@ function Nn(e, u) {
2023
2023
  case Mr:
2024
2024
  s.push(xr(m.chars));
2025
2025
  break;
2026
- case Rn:
2026
+ case Pn:
2027
2027
  s.push(`<!--${xr(m.chars)}-->`);
2028
2028
  break;
2029
- case zn: {
2029
+ case Rn: {
2030
2030
  let b = `<!DOCTYPE ${m.name}`;
2031
2031
  m.publicIdentifier && (b += ` PUBLIC "${m.publicIdentifier}"`), m.systemIdentifier && (b += ` "${m.systemIdentifier}"`), b += ">", s.push(b);
2032
2032
  break;
@@ -2035,40 +2035,40 @@ function Nn(e, u) {
2035
2035
  }
2036
2036
  return s.join("");
2037
2037
  }
2038
- function jn(e, u) {
2039
- const i = wn(e), t = [];
2040
- for (let s = 0; s < i.length; s++) {
2041
- const p = i[s];
2042
- p.t === "nl" && u.get("nl2br") ? t.push({
2038
+ function Nn(e, i) {
2039
+ const u = vn(e), t = [];
2040
+ for (let s = 0; s < u.length; s++) {
2041
+ const p = u[s];
2042
+ p.t === "nl" && i.get("nl2br") ? t.push({
2043
2043
  type: fr,
2044
2044
  tagName: "br",
2045
2045
  attributes: [],
2046
2046
  selfClosing: !0
2047
- }) : !p.isLink || !u.check(p) ? t.push({
2047
+ }) : !p.isLink || !i.check(p) ? t.push({
2048
2048
  type: Mr,
2049
2049
  chars: p.toString()
2050
2050
  }) : t.push({
2051
2051
  type: Bt,
2052
- rendered: u.render(p)
2052
+ rendered: i.render(p)
2053
2053
  });
2054
2054
  }
2055
2055
  return t;
2056
2056
  }
2057
- function In(e, u, i, t) {
2057
+ function jn(e, i, u, t) {
2058
2058
  let s = 1;
2059
- for (; i < u.length && s > 0; ) {
2060
- let p = u[i];
2061
- p.type === fr && p.tagName.toUpperCase() === e ? s++ : p.type === Vt && p.tagName.toUpperCase() === e && s--, t.push(p), i++;
2059
+ for (; u < i.length && s > 0; ) {
2060
+ let p = i[u];
2061
+ p.type === fr && p.tagName.toUpperCase() === e ? s++ : p.type === Vt && p.tagName.toUpperCase() === e && s--, t.push(p), u++;
2062
2062
  }
2063
2063
  return t;
2064
2064
  }
2065
- function On(e) {
2065
+ function In(e) {
2066
2066
  let {
2067
- tagName: u,
2068
- attributes: i,
2067
+ tagName: i,
2068
+ attributes: u,
2069
2069
  content: t
2070
2070
  } = e;
2071
- return `<${u} ${Hn(i)}>${xr(t)}</${u}>`;
2071
+ return `<${i} ${On(u)}>${xr(t)}</${i}>`;
2072
2072
  }
2073
2073
  function xr(e) {
2074
2074
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
@@ -2076,21 +2076,21 @@ function xr(e) {
2076
2076
  function Ft(e) {
2077
2077
  return e.replace(/"/g, "&quot;");
2078
2078
  }
2079
- function Hn(e) {
2080
- const u = [];
2081
- for (const i in e) {
2082
- const t = e[i] + "";
2083
- u.push(`${i}="${Ft(t)}"`);
2079
+ function On(e) {
2080
+ const i = [];
2081
+ for (const u in e) {
2082
+ const t = e[u] + "";
2083
+ i.push(`${u}="${Ft(t)}"`);
2084
2084
  }
2085
- return u.join(" ");
2085
+ return i.join(" ");
2086
2086
  }
2087
- function Mn(e) {
2088
- const u = [];
2089
- for (let i = 0; i < e.length; i++) {
2090
- const t = e[i][0], s = e[i][1] + "";
2091
- u.push(`${t}="${Ft(s)}"`);
2087
+ function Hn(e) {
2088
+ const i = [];
2089
+ for (let u = 0; u < e.length; u++) {
2090
+ const t = e[u][0], s = e[u][1] + "";
2091
+ i.push(`${t}="${Ft(s)}"`);
2092
2092
  }
2093
- return u;
2093
+ return i;
2094
2094
  }
2095
2095
  var gr = {}, mr = {};
2096
2096
  Object.defineProperty(mr, "__esModule", { value: !0 });
@@ -2105,39 +2105,39 @@ Object.defineProperty(ge, "__esModule", { value: !0 });
2105
2105
  ge.fromCodePoint = String.fromCodePoint || function(e) {
2106
2106
  return String.fromCharCode(Math.floor((e - 65536) / 1024) + 55296, (e - 65536) % 1024 + 56320);
2107
2107
  };
2108
- ge.getCodePoint = String.prototype.codePointAt ? function(e, u) {
2109
- return e.codePointAt(u);
2110
- } : function(e, u) {
2111
- return (e.charCodeAt(u) - 55296) * 1024 + e.charCodeAt(u + 1) - 56320 + 65536;
2108
+ ge.getCodePoint = String.prototype.codePointAt ? function(e, i) {
2109
+ return e.codePointAt(i);
2110
+ } : function(e, i) {
2111
+ return (e.charCodeAt(i) - 55296) * 1024 + e.charCodeAt(i + 1) - 56320 + 65536;
2112
2112
  };
2113
2113
  ge.highSurrogateFrom = 55296;
2114
2114
  ge.highSurrogateTo = 56319;
2115
2115
  var he = je && je.__assign || function() {
2116
2116
  return he = Object.assign || function(e) {
2117
- for (var u, i = 1, t = arguments.length; i < t; i++) {
2118
- u = arguments[i];
2119
- for (var s in u)
2120
- Object.prototype.hasOwnProperty.call(u, s) && (e[s] = u[s]);
2117
+ for (var i, u = 1, t = arguments.length; u < t; u++) {
2118
+ i = arguments[u];
2119
+ for (var s in i)
2120
+ Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
2121
2121
  }
2122
2122
  return e;
2123
2123
  }, he.apply(this, arguments);
2124
2124
  };
2125
2125
  Object.defineProperty(gr, "__esModule", { value: !0 });
2126
- var _e = mr, $t = Xr, Zr = ge, Jr = he(he({}, _e.namedReferences), { all: _e.namedReferences.html5 }), xn = {
2126
+ var _e = mr, $t = Xr, Zr = ge, Jr = he(he({}, _e.namedReferences), { all: _e.namedReferences.html5 }), Mn = {
2127
2127
  specialChars: /[<>'"&]/g,
2128
2128
  nonAscii: /(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,
2129
2129
  nonAsciiPrintable: /(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,
2130
2130
  extensive: /(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g
2131
- }, Un = {
2131
+ }, xn = {
2132
2132
  mode: "specialChars",
2133
2133
  level: "all",
2134
2134
  numeric: "decimal"
2135
2135
  };
2136
- function Bn(e, u) {
2137
- var q = u === void 0 ? Un : u, E = q.mode, i = E === void 0 ? "specialChars" : E, t = q.numeric, s = t === void 0 ? "decimal" : t, p = q.level, g = p === void 0 ? "all" : p;
2136
+ function Un(e, i) {
2137
+ var q = i === void 0 ? xn : i, E = q.mode, u = E === void 0 ? "specialChars" : E, t = q.numeric, s = t === void 0 ? "decimal" : t, p = q.level, g = p === void 0 ? "all" : p;
2138
2138
  if (!e)
2139
2139
  return "";
2140
- var m = xn[i], b = Jr[g].characters, S = s === "hexadecimal";
2140
+ var m = Mn[u], b = Jr[g].characters, S = s === "hexadecimal";
2141
2141
  m.lastIndex = 0;
2142
2142
  var q = m.exec(e), E;
2143
2143
  if (q) {
@@ -2157,8 +2157,8 @@ function Bn(e, u) {
2157
2157
  E = e;
2158
2158
  return E;
2159
2159
  }
2160
- gr.encode = Bn;
2161
- var Vn = {
2160
+ gr.encode = Un;
2161
+ var Bn = {
2162
2162
  scope: "body",
2163
2163
  level: "all"
2164
2164
  }, Cr = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g, Sr = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g, bt = {
@@ -2177,17 +2177,17 @@ var Vn = {
2177
2177
  attribute: Sr,
2178
2178
  body: _e.bodyRegExps.html5
2179
2179
  }
2180
- }, Fn = he(he({}, bt), { all: bt.html5 }), et = String.fromCharCode, Gt = et(65533), $n = {
2180
+ }, Vn = he(he({}, bt), { all: bt.html5 }), et = String.fromCharCode, Gt = et(65533), Fn = {
2181
2181
  level: "all"
2182
2182
  };
2183
- function Gn(e, u) {
2184
- var t = (u === void 0 ? $n : u).level, i = t === void 0 ? "all" : t;
2183
+ function $n(e, i) {
2184
+ var t = (i === void 0 ? Fn : i).level, u = t === void 0 ? "all" : t;
2185
2185
  if (!e)
2186
2186
  return "";
2187
2187
  var t = e;
2188
2188
  e[e.length - 1];
2189
2189
  {
2190
- var s = Jr[i].entities[e];
2190
+ var s = Jr[u].entities[e];
2191
2191
  if (s)
2192
2192
  t = s;
2193
2193
  else if (e[0] === "&" && e[1] === "#") {
@@ -2197,12 +2197,12 @@ function Gn(e, u) {
2197
2197
  }
2198
2198
  return t;
2199
2199
  }
2200
- gr.decodeEntity = Gn;
2201
- function Wn(e, u) {
2202
- var i = u === void 0 ? Vn : u, t = i.level, s = t === void 0 ? "all" : t, p = i.scope, g = p === void 0 ? s === "xml" ? "strict" : "body" : p;
2200
+ gr.decodeEntity = $n;
2201
+ function Gn(e, i) {
2202
+ var u = i === void 0 ? Bn : i, t = u.level, s = t === void 0 ? "all" : t, p = u.scope, g = p === void 0 ? s === "xml" ? "strict" : "body" : p;
2203
2203
  if (!e)
2204
2204
  return "";
2205
- var m = Fn[s][g], b = Jr[s].entities, S = g === "attribute", q = g === "strict";
2205
+ var m = Vn[s][g], b = Jr[s].entities, S = g === "attribute", q = g === "strict";
2206
2206
  m.lastIndex = 0;
2207
2207
  var E = m.exec(e), w;
2208
2208
  if (E) {
@@ -2231,8 +2231,8 @@ function Wn(e, u) {
2231
2231
  w = e;
2232
2232
  return w;
2233
2233
  }
2234
- var Wt = gr.decode = Wn;
2235
- const Kn = {
2234
+ var Wt = gr.decode = Gn;
2235
+ const Wn = {
2236
2236
  a: [
2237
2237
  "class",
2238
2238
  "target",
@@ -2325,12 +2325,12 @@ const Kn = {
2325
2325
  "style",
2326
2326
  "class"
2327
2327
  ]
2328
- }, Qn = "a11y-light", Yn = "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap", Xn = [
2328
+ }, Kn = "a11y-light", Qn = "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap", Yn = [
2329
2329
  "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/highlight.min.js"
2330
- ], Zn = [
2330
+ ], Xn = [
2331
2331
  "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/default.min.css",
2332
- `https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/${Qn}.min.css`
2333
- ], vt = "PRE", Jn = "CODE", ei = [
2332
+ `https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/${Kn}.min.css`
2333
+ ], vt = "PRE", Zn = "CODE", Jn = [
2334
2334
  "javascript",
2335
2335
  "html",
2336
2336
  "css",
@@ -2343,7 +2343,7 @@ const Kn = {
2343
2343
  var Kt = { exports: {} };
2344
2344
  (function(e) {
2345
2345
  (function() {
2346
- function u(r) {
2346
+ function i(r) {
2347
2347
  var n = {
2348
2348
  omitExtraWLInCodeBlocks: {
2349
2349
  defaultValue: !1,
@@ -2518,13 +2518,13 @@ var Kt = { exports: {} };
2518
2518
  n.hasOwnProperty(d) && (a[d] = n[d].defaultValue);
2519
2519
  return a;
2520
2520
  }
2521
- function i() {
2522
- var r = u(!0), n = {};
2521
+ function u() {
2522
+ var r = i(!0), n = {};
2523
2523
  for (var a in r)
2524
2524
  r.hasOwnProperty(a) && (n[a] = !0);
2525
2525
  return n;
2526
2526
  }
2527
- var t = {}, s = {}, p = {}, g = u(!0), m = "vanilla", b = {
2527
+ var t = {}, s = {}, p = {}, g = i(!0), m = "vanilla", b = {
2528
2528
  github: {
2529
2529
  omitExtraWLInCodeBlocks: !0,
2530
2530
  simplifiedAutoLink: !0,
@@ -2565,8 +2565,8 @@ var Kt = { exports: {} };
2565
2565
  ghMentions: !1,
2566
2566
  encodeEmails: !0
2567
2567
  },
2568
- vanilla: u(!0),
2569
- allOn: i()
2568
+ vanilla: i(!0),
2569
+ allOn: u()
2570
2570
  };
2571
2571
  t.helper = {}, t.extensions = {}, t.setOption = function(r, n) {
2572
2572
  return g[r] = n, this;
@@ -2575,7 +2575,7 @@ var Kt = { exports: {} };
2575
2575
  }, t.getOptions = function() {
2576
2576
  return g;
2577
2577
  }, t.resetOptions = function() {
2578
- g = u(!0);
2578
+ g = i(!0);
2579
2579
  }, t.setFlavor = function(r) {
2580
2580
  if (!b.hasOwnProperty(r))
2581
2581
  throw Error(r + " flavor was not found");
@@ -2590,7 +2590,7 @@ var Kt = { exports: {} };
2590
2590
  if (b.hasOwnProperty(r))
2591
2591
  return b[r];
2592
2592
  }, t.getDefaultOptions = function(r) {
2593
- return u(r);
2593
+ return i(r);
2594
2594
  }, t.subParser = function(r, n) {
2595
2595
  if (t.helper.isString(r))
2596
2596
  if (typeof n < "u")
@@ -5012,48 +5012,48 @@ var Kt = { exports: {} };
5012
5012
  e.exports ? e.exports = t : N.showdown = t;
5013
5013
  }).call(je);
5014
5014
  })(Kt);
5015
- var ri = Kt.exports;
5016
- const Pe = /* @__PURE__ */ Ur(ri), rt = /@(\d*|channel|editors):\((.*?)\)/, Qt = ["channel", "editors"], ti = new RegExp(rt, "i"), ai = new RegExp(rt, "gi");
5015
+ var ei = Kt.exports;
5016
+ const Pe = /* @__PURE__ */ Ur(ei), rt = /@(\d*|channel|editors):\((.*?)\)/, Qt = ["channel", "editors"], ri = new RegExp(rt, "i"), ti = new RegExp(rt, "gi");
5017
5017
  let ie;
5018
5018
  const Lr = {
5019
5019
  color: {
5020
5020
  type: "lang",
5021
5021
  regex: /\((.*?)\)\[(rgb\((?:([0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]), ?)(?:([0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]), ?)(?:([0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]))\))\]/gi,
5022
- replace: (e, u) => `<span style="color:${e.match(
5022
+ replace: (e, i) => `<span style="color:${e.match(
5023
5023
  /\[(rgb\((?:([0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]), ?)(?:([0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]), ?)(?:([0-9]{1,2}|1[0-9]{1,2}|2[0-4][0-9]|25[0-5]))\))\]/gi
5024
- )[0].replace("[", "").replace("]", "")}">${u}</span>`
5024
+ )[0].replace("[", "").replace("]", "")}">${i}</span>`
5025
5025
  },
5026
5026
  mention: {
5027
5027
  type: "lang",
5028
- regex: ai,
5028
+ regex: ti,
5029
5029
  replace: (e) => {
5030
- const u = e.match(ti), i = u && u.length > 1 && u[1], t = u && u.length > 2 && u[2];
5030
+ const i = e.match(ri), u = i && i.length > 1 && i[1], t = i && i.length > 2 && i[2];
5031
5031
  return Qt.find(
5032
- (s) => s.toLowerCase() === String(i).toLowerCase()
5033
- ) ? `<a class="mention extraMention" data-user-id="${i}">@${t}</a>` : `<a class="mention" data-user-id="${i}">@${t}</a>`;
5032
+ (s) => s.toLowerCase() === String(u).toLowerCase()
5033
+ ) ? `<a class="mention extraMention" data-user-id="${u}">@${t}</a>` : `<a class="mention" data-user-id="${u}">@${t}</a>`;
5034
5034
  }
5035
5035
  },
5036
5036
  userMentioTag: {
5037
5037
  type: "lang",
5038
5038
  regex: /<user-mentio[^>]*>(.+?)<\/user-mentio>/gi,
5039
5039
  replace: (e) => {
5040
- const u = e.match(/<user-mentio[^>]*>(.+?)<\/user-mentio>/), i = e.match(/data-user-id=["']([^"]+)["']/), t = u && u.length > 1 && u[1];
5041
- return `<a class="mention" data-user-id="${i && i.length > 1 && i[1]}">${t}</a>`;
5040
+ const i = e.match(/<user-mentio[^>]*>(.+?)<\/user-mentio>/), u = e.match(/data-user-id=["']([^"]+)["']/), t = i && i.length > 1 && i[1];
5041
+ return `<a class="mention" data-user-id="${u && u.length > 1 && u[1]}">${t}</a>`;
5042
5042
  }
5043
5043
  }
5044
5044
  };
5045
- function ni() {
5045
+ function ai() {
5046
5046
  return ie || (Pe.extension("color", Lr.color), Pe.extension("mention", Lr.mention), Pe.extension("usermentiotag", Lr.userMentioTag), ie = new Pe.Converter({
5047
5047
  extensions: ["color", "mention", "usermentiotag"]
5048
5048
  }), ie.setOption("strikethrough", !0), ie.setOption("tables", !0), ie.setOption("openLinksInNewWindow", !0), ie.setOption("disableForced4SpacesIndentedSublists", !0), ie);
5049
5049
  }
5050
- const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5050
+ const ni = ai(), ii = new RegExp(rt, "gi"), ui = new RegExp(
5051
5051
  /<user-mentio[^>]*data-user-id=["']([^"]+)["'][^>]*>(?:@|(?:&#64;))(.+?)<\/user-mentio>/,
5052
5052
  "gi"
5053
- ), wt = (e, u, i) => Qt.find(
5054
- (t) => t.toLowerCase() === String(u).toLowerCase()
5055
- ) ? `<a class="mention extraMention" data-user-id="${u}">@${i}</a>` : `<a class="mention" data-user-id="${u}">@${i}</a>`, di = (e = "") => e.replace(ui, wt).replace(si, wt), Yt = (e = "") => Pr(e, {
5056
- whiteList: Kn,
5053
+ ), wt = (e, i, u) => Qt.find(
5054
+ (t) => t.toLowerCase() === String(i).toLowerCase()
5055
+ ) ? `<a class="mention extraMention" data-user-id="${i}">@${u}</a>` : `<a class="mention" data-user-id="${i}">@${u}</a>`, si = (e = "") => e.replace(ii, wt).replace(ui, wt), di = (e = "") => Pr(e, {
5056
+ whiteList: Wn,
5057
5057
  css: {
5058
5058
  whiteList: {
5059
5059
  // @ts-ignore method not found
@@ -5063,28 +5063,27 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5063
5063
  },
5064
5064
  stripIgnoreTag: !0
5065
5065
  }).replace(/&nbsp;/g, " ").replace(/\u2060/g, ""), oi = (e = "") => {
5066
- const u = /#(?:[0-9a-fA-F]{3}){1,2}|\brgb\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*\)|\brgba\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d*(?:\.\d+)?\s*\)/gi;
5066
+ const i = /#(?:[0-9a-fA-F]{3}){1,2}|\brgb\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*\)|\brgba\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d*(?:\.\d+)?\s*\)/gi;
5067
5067
  return e.replace(
5068
- u,
5069
- (i) => `${i}<span class="color-block" style="background-color: ${i};"></span>`
5068
+ i,
5069
+ (u) => `${u}<span class="color-block" style="background-color: ${u};"></span>`
5070
5070
  );
5071
5071
  }, ci = (e = "") => {
5072
5072
  try {
5073
- const u = Wt(e);
5074
- return Nn(u, {
5073
+ return zn(e, {
5075
5074
  target: "_blank",
5076
5075
  ignoreTags: ["pre", "code", "script", "style"],
5077
- render: ({ tagName: i, attributes: t, content: s }) => {
5078
- let p = s;
5079
- if (p.length > 85) {
5080
- const m = p.slice(0, 40), b = p.slice(-40);
5081
- p = `${m}[...]${b}`;
5076
+ render: ({ tagName: i, attributes: u, content: t }) => {
5077
+ let s = t;
5078
+ if (s.length > 85) {
5079
+ const g = s.slice(0, 40), m = s.slice(-40);
5080
+ s = `${g}[...]${m}`;
5082
5081
  }
5083
- const g = Object.keys(t).reduce((m, b) => {
5084
- const S = t[b];
5085
- return `${m} ${b}="${S}"`;
5082
+ const p = Object.keys(u).reduce((g, m) => {
5083
+ const b = u[m];
5084
+ return `${g} ${m}="${b}"`;
5086
5085
  });
5087
- return `<${i} ${g}>${p}</${i}>`;
5086
+ return `<${i} ${p}>${s}</${i}>`;
5088
5087
  },
5089
5088
  validate: {
5090
5089
  url(i) {
@@ -5095,24 +5094,24 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5095
5094
  } catch {
5096
5095
  return e;
5097
5096
  }
5098
- }, li = (e = "", u = "html") => {
5099
- let i = oa(e);
5100
- return i = ca(i), u === "markdown" ? i = ii.makeHtml(i) : i = di(i), i = Yt(i), i = ci(i), i;
5097
+ }, li = (e = "", i = "html") => {
5098
+ let u = da(e);
5099
+ return u = oa(u), i === "markdown" ? u = ni.makeHtml(u) : u = si(u), u = Wt(u), u = ci(u), u;
5101
5100
  }, fi = () => {
5102
5101
  const e = "ibmMonoOnDemand";
5103
5102
  if (!document.getElementById(e)) {
5104
- const u = document.createElement("style");
5105
- u.id = e, u.appendChild(
5106
- document.createTextNode(`@import url(${Yn});`)
5107
- ), document.head.appendChild(u);
5103
+ const i = document.createElement("style");
5104
+ i.id = e, i.appendChild(
5105
+ document.createTextNode(`@import url(${Qn});`)
5106
+ ), document.head.appendChild(i);
5108
5107
  }
5109
5108
  }, yt = (e = "") => (
5110
5109
  // eslint-disable-next-line no-control-regex
5111
5110
  e.replace(/[^\u0000-\u007E]/g, "")
5112
5111
  ), pi = (e = "") => {
5113
- const u = /<pre\b[^>]*>\s*<code\b[^>]*>([\s\S]*?)<\/code>\s*<\/pre>/g;
5114
- return e.replace(u, (s) => s.replace(/<\/p>\s*<p>/g, `
5115
- `).replace(/<p>/g, "").replace(/<\/p>/g, "")).replace(u, (s) => Pr(s, {
5112
+ const i = /<pre\b[^>]*>\s*<code\b[^>]*>([\s\S]*?)<\/code>\s*<\/pre>/g;
5113
+ return e.replace(i, (s) => s.replace(/<\/p>\s*<p>/g, `
5114
+ `).replace(/<p>/g, "").replace(/<\/p>/g, "")).replace(i, (s) => Pr(s, {
5116
5115
  whiteList: {
5117
5116
  pre: [],
5118
5117
  code: []
@@ -5120,8 +5119,8 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5120
5119
  }));
5121
5120
  }, Ti = ({
5122
5121
  content: e,
5123
- type: u,
5124
- widgetType: i = "post",
5122
+ type: i,
5123
+ widgetType: u = "post",
5125
5124
  createAnchors: t,
5126
5125
  useHashAutoscroll: s,
5127
5126
  hashAutoscrollTopMargin: p = 0,
@@ -5129,7 +5128,7 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5129
5128
  inheritBrandingStyles: m = !1,
5130
5129
  addColorBlocks: b = !1
5131
5130
  }) => {
5132
- const S = Jt(null), [q, E] = ea([]), w = ra(() => {
5131
+ const S = Zt(null), [q, E] = Jt([]), w = ea(() => {
5133
5132
  var C;
5134
5133
  try {
5135
5134
  const { hash: R } = window.location;
@@ -5147,7 +5146,7 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5147
5146
  } catch {
5148
5147
  }
5149
5148
  }, [p]);
5150
- ta(() => {
5149
+ ra(() => {
5151
5150
  if (!S.current)
5152
5151
  return;
5153
5152
  const C = () => {
@@ -5177,12 +5176,12 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5177
5176
  const I = S.current.querySelectorAll(
5178
5177
  vt
5179
5178
  );
5180
- I.length > 0 && (_r.isDefined("highlightjs") || (fi(), _r([...Xn, ...Zn], "highlightjs")), _r.ready("highlightjs", () => {
5179
+ I.length > 0 && (_r.isDefined("highlightjs") || (fi(), _r([...Yn, ...Xn], "highlightjs")), _r.ready("highlightjs", () => {
5181
5180
  window.hljs.configure({
5182
- languages: ei,
5181
+ languages: Jn,
5183
5182
  useBr: !0
5184
5183
  }), I.forEach((N) => {
5185
- const r = N.innerText, n = document.createElement(Jn), a = Wt(r);
5184
+ const r = N.innerText, n = document.createElement(Zn), a = Wt(r);
5186
5185
  n.textContent = a, N.innerHTML = "", N.appendChild(n), window.hljs.highlightBlock(N);
5187
5186
  }), E((N) => [...N, ...I]);
5188
5187
  }));
@@ -5201,18 +5200,18 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5201
5200
  s,
5202
5201
  w
5203
5202
  ]);
5204
- const D = aa(() => {
5205
- const C = u && typeof u == "string" ? u.toLowerCase() : "html";
5206
- let R = C === "text" ? Yt(`<p>${e}</p>`) : li(e, C);
5207
- return b && (R = oi(R)), R = pi(R), R;
5208
- }, [e, u, b]);
5209
- return /* @__PURE__ */ Xt(Zt, { children: [
5203
+ const D = ta(() => {
5204
+ const C = i && typeof i == "string" ? i.toLowerCase() : "html";
5205
+ let R = C === "text" ? `<p>${e}</p>` : li(e, C);
5206
+ return b && (R = oi(R)), R = pi(R), di(R);
5207
+ }, [e, i, b]);
5208
+ return /* @__PURE__ */ Yt(Xt, { children: [
5210
5209
  /* @__PURE__ */ yr(
5211
5210
  gi,
5212
5211
  {
5213
- className: `content-renderer ${i === "page" ? "fr-view pages-text" : ""}`,
5212
+ className: `content-renderer ${u === "page" ? "fr-view pages-text" : ""}`,
5214
5213
  ref: S,
5215
- widgetType: i,
5214
+ widgetType: u,
5216
5215
  createAnchors: t,
5217
5216
  dangerouslySetInnerHTML: {
5218
5217
  __html: D
@@ -5222,8 +5221,8 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5222
5221
  ),
5223
5222
  q.map((C) => {
5224
5223
  let R = C.textContent || "";
5225
- return C.tagName !== vt && (R = `${window.location.href.split("#")[0]}#${C.id}`), R = yt(R), na.createPortal(
5226
- /* @__PURE__ */ yr(hi, { className: "content-copy-btn", children: /* @__PURE__ */ yr(ua, { clipboardContent: R }) }),
5224
+ return C.tagName !== vt && (R = `${window.location.href.split("#")[0]}#${C.id}`), R = yt(R), aa.createPortal(
5225
+ /* @__PURE__ */ yr(hi, { className: "content-copy-btn", children: /* @__PURE__ */ yr(ia, { clipboardContent: R }) }),
5227
5226
  C
5228
5227
  );
5229
5228
  })
@@ -5246,7 +5245,7 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5246
5245
  font-size: 12px;
5247
5246
  line-height: 16px;
5248
5247
  }
5249
- `, gi = _t(sa).attrs({ as: "div" })`
5248
+ `, gi = _t(ua).attrs({ as: "div" })`
5250
5249
  ${({ createAnchors: e }) => e ? `
5251
5250
  h1, h2, h3, h4, h5, h6 {
5252
5251
  display: flex;
@@ -5339,14 +5338,14 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5339
5338
  border-radius: var(--radius-md);
5340
5339
  border: 1px solid var(--color-gray100);
5341
5340
  }
5342
- ${({ widgetType: e, inheritBrandingStyles: u }) => e === "page" ? "" : `
5341
+ ${({ widgetType: e, inheritBrandingStyles: i }) => e === "page" ? "" : `
5343
5342
  * {
5344
- font-family: ${da};
5343
+ font-family: ${sa};
5345
5344
  }
5346
5345
 
5347
5346
  h1 {
5348
- font-family: ${u ? "var(--channels-h1-font-family, revert)" : "revert"};
5349
- font-weight: ${u ? "var(--channels-h1-font-weight, 500)" : "500"};
5347
+ font-family: ${i ? "var(--channels-h1-font-family, revert)" : "revert"};
5348
+ font-weight: ${i ? "var(--channels-h1-font-weight, 500)" : "500"};
5350
5349
  font-size: 24px;
5351
5350
  letter-spacing: -0.5px;
5352
5351
  line-height: 32px;
@@ -5358,12 +5357,12 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5358
5357
  margin-top: var(--space-md);
5359
5358
  }
5360
5359
  & * {
5361
- font-family: ${u ? "var(--channels-h1-font-family, revert)" : "revert"};
5360
+ font-family: ${i ? "var(--channels-h1-font-family, revert)" : "revert"};
5362
5361
  }
5363
5362
  }
5364
5363
  h2 {
5365
- font-family: ${u ? "var(--channels-h2-font-family, revert)" : "revert"};
5366
- font-weight: ${u ? "var(--channels-h2-font-weight, 500)" : "500"};
5364
+ font-family: ${i ? "var(--channels-h2-font-family, revert)" : "revert"};
5365
+ font-weight: ${i ? "var(--channels-h2-font-weight, 500)" : "500"};
5367
5366
  font-size: 20px;
5368
5367
  line-height: 28px;
5369
5368
  + h1,
@@ -5374,12 +5373,12 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5374
5373
  margin-top: var(--space-md);
5375
5374
  }
5376
5375
  & * {
5377
- font-family: ${u ? "var(--channels-h2-font-family, revert)" : "revert"};
5376
+ font-family: ${i ? "var(--channels-h2-font-family, revert)" : "revert"};
5378
5377
  }
5379
5378
  }
5380
5379
  h3 {
5381
- font-family: ${u ? "var(--channels-h3-font-family, revert)" : "revert"};
5382
- font-weight: ${u ? "var(--channels-h3-font-weight, 500)" : "500"};
5380
+ font-family: ${i ? "var(--channels-h3-font-family, revert)" : "revert"};
5381
+ font-weight: ${i ? "var(--channels-h3-font-weight, 500)" : "500"};
5383
5382
  font-size: 16px;
5384
5383
  line-height: 24px;
5385
5384
  + h1,
@@ -5390,7 +5389,7 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5390
5389
  margin-top: var(--space-md-minus);
5391
5390
  }
5392
5391
  & * {
5393
- font-family: ${u ? "var(--channels-h3-font-family, revert);" : "revert"}
5392
+ font-family: ${i ? "var(--channels-h3-font-family, revert);" : "revert"}
5394
5393
  }
5395
5394
  }
5396
5395
  h4 {
@@ -5405,8 +5404,8 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5405
5404
  }
5406
5405
  }
5407
5406
  p {
5408
- font-family: ${u ? "var(--channels-body-font-family, revert)" : "revert"};
5409
- font-weight: ${u ? "var(--channels-body-font-weight, revert)" : "revert"};
5407
+ font-family: ${i ? "var(--channels-body-font-family, revert)" : "revert"};
5408
+ font-weight: ${i ? "var(--channels-body-font-weight, revert)" : "revert"};
5410
5409
  font-size: 16px;
5411
5410
  line-height: 24px;
5412
5411
  letter-spacing: 0px;
@@ -5419,7 +5418,7 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5419
5418
  }
5420
5419
 
5421
5420
  & * {
5422
- font-family: ${u ? "var(--channels-body-font-family, revert)" : "revert"};
5421
+ font-family: ${i ? "var(--channels-body-font-family, revert)" : "revert"};
5423
5422
  }
5424
5423
  }
5425
5424
  }
@@ -5450,8 +5449,8 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5450
5449
  text-align: right;
5451
5450
  content: counter(item) ".";
5452
5451
  }
5453
- font-family: ${u ? "var(--channels-body-font-family, revert)" : "revert"};
5454
- font-weight: ${u ? "var(--channels-body-font-weight, revert)" : "revert"};
5452
+ font-family: ${i ? "var(--channels-body-font-family, revert)" : "revert"};
5453
+ font-weight: ${i ? "var(--channels-body-font-weight, revert)" : "revert"};
5455
5454
  }
5456
5455
  }
5457
5456
  ol,
@@ -5473,8 +5472,8 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5473
5472
  -webkit-margin-after: var(--space-sm) !important;
5474
5473
  }
5475
5474
 
5476
- font-family: ${u ? "var(--channels-body-font-family, revert);" : "revert"};
5477
- font-weight: ${u ? "var(--channels-body-font-weight, revert)" : "revert"};
5475
+ font-family: ${i ? "var(--channels-body-font-family, revert);" : "revert"};
5476
+ font-weight: ${i ? "var(--channels-body-font-weight, revert)" : "revert"};
5478
5477
  }
5479
5478
 
5480
5479
  &:first-child,
@@ -5556,23 +5555,23 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5556
5555
  }
5557
5556
  `}
5558
5557
 
5559
- ${({ widgetType: e, inheritBrandingStyles: u }) => e === "article" && ia`
5558
+ ${({ widgetType: e, inheritBrandingStyles: i }) => e === "article" && na`
5560
5559
  h1 {
5561
- font-family: ${u ? "var(--channels-h1-font-family, revert)" : "revert"};
5560
+ font-family: ${i ? "var(--channels-h1-font-family, revert)" : "revert"};
5562
5561
  & * {
5563
- font-family: ${u ? "var(--channels-h1-font-family, revert)" : "revert"};
5562
+ font-family: ${i ? "var(--channels-h1-font-family, revert)" : "revert"};
5564
5563
  }
5565
5564
  }
5566
5565
  h2 {
5567
- font-family: ${u ? "var(--channels-h2-font-family, revert)" : "revert"};
5566
+ font-family: ${i ? "var(--channels-h2-font-family, revert)" : "revert"};
5568
5567
  & * {
5569
- font-family: ${u ? "var(--channels-h2-font-family, revert)" : "revert"};
5568
+ font-family: ${i ? "var(--channels-h2-font-family, revert)" : "revert"};
5570
5569
  }
5571
5570
  }
5572
5571
  h3 {
5573
- font-family: ${u ? "var(--channels-h3-font-family, revert)" : "revert"};
5572
+ font-family: ${i ? "var(--channels-h3-font-family, revert)" : "revert"};
5574
5573
  & * {
5575
- font-family: ${u ? "var(--channels-h3-font-family, revert)" : "revert"};
5574
+ font-family: ${i ? "var(--channels-h3-font-family, revert)" : "revert"};
5576
5575
  }
5577
5576
  }
5578
5577
 
@@ -5584,9 +5583,9 @@ const ii = ni(), ui = new RegExp(rt, "gi"), si = new RegExp(
5584
5583
  ol,
5585
5584
  li,
5586
5585
  table {
5587
- font-family: ${u ? "var(--channels-body-font-family, revert)" : "revert"};
5586
+ font-family: ${i ? "var(--channels-body-font-family, revert)" : "revert"};
5588
5587
  & * {
5589
- font-family: ${u ? "var(--channels-body-font-family, revert)" : "revert"};
5588
+ font-family: ${i ? "var(--channels-body-font-family, revert)" : "revert"};
5590
5589
  }
5591
5590
  }
5592
5591