@hep-code-runner/react 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +61 -17
  2. package/dist/index.mjs +189 -145
  3. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import qe, { useRef as Oe, useMemo as Ee, useEffect as ke, useState as Z, useCallback as le, forwardRef as xt, useImperativeHandle as kt } from "react";
2
2
  var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
- function St(u) {
3
+ function wt(u) {
4
4
  return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
5
5
  }
6
6
  var Ie = { exports: {} }, be = {};
@@ -14,7 +14,7 @@ var Ie = { exports: {} }, be = {};
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
16
  var Xe;
17
- function wt() {
17
+ function St() {
18
18
  if (Xe) return be;
19
19
  Xe = 1;
20
20
  var u = qe, d = Symbol.for("react.element"), n = Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, m = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -41,7 +41,7 @@ var Ke;
41
41
  function At() {
42
42
  return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
43
43
  var u = qe, d = Symbol.for("react.element"), n = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), l = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), B = Symbol.iterator, F = "@@iterator";
44
- function S(e) {
44
+ function w(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
47
  var a = B && e[B] || e[F];
@@ -65,14 +65,14 @@ function At() {
65
65
  L.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, L);
66
66
  }
67
67
  }
68
- var i = !1, o = !1, s = !1, f = !1, E = !1, g;
69
- g = Symbol.for("react.module.reference");
68
+ var i = !1, o = !1, s = !1, f = !1, E = !1, h;
69
+ h = Symbol.for("react.module.reference");
70
70
  function C(e) {
71
71
  return !!(typeof e == "string" || typeof e == "function" || e === p || e === R || E || e === m || e === y || e === _ || f || e === I || i || o || s || typeof e == "object" && e !== null && (e.$$typeof === D || e.$$typeof === O || e.$$typeof === k || e.$$typeof === l || e.$$typeof === b || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- e.$$typeof === g || e.getModuleId !== void 0));
75
+ e.$$typeof === h || e.getModuleId !== void 0));
76
76
  }
77
77
  function P(e, a, c) {
78
78
  var v = e.displayName;
@@ -207,8 +207,8 @@ function At() {
207
207
  }
208
208
  var oe = !1, te;
209
209
  {
210
- var w = typeof WeakMap == "function" ? WeakMap : Map;
211
- te = new w();
210
+ var S = typeof WeakMap == "function" ? WeakMap : Map;
211
+ te = new S();
212
212
  }
213
213
  function M(e, a) {
214
214
  if (!e || oe)
@@ -278,7 +278,7 @@ function At() {
278
278
  } finally {
279
279
  oe = !1, ae.current = L, se(), Error.prepareStackTrace = N;
280
280
  }
281
- var he = e ? e.displayName || e.name : "", de = he ? ie(he) : "";
281
+ var ge = e ? e.displayName || e.name : "", de = ge ? ie(ge) : "";
282
282
  return typeof e == "function" && te.set(e, de), de;
283
283
  }
284
284
  function re(e, a, c) {
@@ -345,7 +345,7 @@ function At() {
345
345
  }
346
346
  }
347
347
  var et = Array.isArray;
348
- function Se(e) {
348
+ function we(e) {
349
349
  return et(e);
350
350
  }
351
351
  function tt(e) {
@@ -462,8 +462,8 @@ function At() {
462
462
  return ct(e, x, Y, N, v, je.current, A);
463
463
  }
464
464
  }
465
- var we = T.ReactCurrentOwner, Ue = T.ReactDebugCurrentFrame;
466
- function ge(e) {
465
+ var Se = T.ReactCurrentOwner, Ue = T.ReactDebugCurrentFrame;
466
+ function he(e) {
467
467
  if (e) {
468
468
  var a = e._owner, c = ye(e.type, e._source, a ? a.type : null);
469
469
  Ue.setExtraStackFrame(c);
@@ -477,8 +477,8 @@ function At() {
477
477
  }
478
478
  function He() {
479
479
  {
480
- if (we.current) {
481
- var e = V(we.current.type);
480
+ if (Se.current) {
481
+ var e = V(Se.current.type);
482
482
  if (e)
483
483
  return `
484
484
 
@@ -513,14 +513,14 @@ Check the top-level render call using <` + c + ">.");
513
513
  return;
514
514
  Be[c] = !0;
515
515
  var v = "";
516
- e && e._owner && e._owner !== we.current && (v = " It was passed a child from " + V(e._owner.type) + "."), ge(e), t('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, v), ge(null);
516
+ e && e._owner && e._owner !== Se.current && (v = " It was passed a child from " + V(e._owner.type) + "."), he(e), t('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, v), he(null);
517
517
  }
518
518
  }
519
519
  function We(e, a) {
520
520
  {
521
521
  if (typeof e != "object")
522
522
  return;
523
- if (Se(e))
523
+ if (we(e))
524
524
  for (var c = 0; c < e.length; c++) {
525
525
  var v = e[c];
526
526
  Te(v) && ze(v, a);
@@ -528,7 +528,7 @@ Check the top-level render call using <` + c + ">.");
528
528
  else if (Te(e))
529
529
  e._store && (e._store.validated = !0);
530
530
  else if (e) {
531
- var N = S(e);
531
+ var N = w(e);
532
532
  if (typeof N == "function" && N !== e.entries)
533
533
  for (var L = N.call(e), A; !(A = L.next()).done; )
534
534
  Te(A.value) && ze(A.value, a);
@@ -560,16 +560,16 @@ Check the top-level render call using <` + c + ">.");
560
560
  typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && t("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
- function gt(e) {
563
+ function ht(e) {
564
564
  {
565
565
  for (var a = Object.keys(e.props), c = 0; c < a.length; c++) {
566
566
  var v = a[c];
567
567
  if (v !== "children" && v !== "key") {
568
- ge(e), t("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), ge(null);
568
+ he(e), t("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), he(null);
569
569
  break;
570
570
  }
571
571
  }
572
- e.ref !== null && (ge(e), t("Invalid attribute `ref` supplied to `React.Fragment`."), ge(null));
572
+ e.ref !== null && (he(e), t("Invalid attribute `ref` supplied to `React.Fragment`."), he(null));
573
573
  }
574
574
  }
575
575
  var Ge = {};
@@ -582,7 +582,7 @@ Check the top-level render call using <` + c + ">.");
582
582
  var Y = dt();
583
583
  Y ? x += Y : x += He();
584
584
  var $;
585
- e === null ? $ = "null" : Se(e) ? $ = "array" : e !== void 0 && e.$$typeof === d ? ($ = "<" + (V(e.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof e, t("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, x);
585
+ e === null ? $ = "null" : we(e) ? $ = "array" : e !== void 0 && e.$$typeof === d ? ($ = "<" + (V(e.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof e, t("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, x);
586
586
  }
587
587
  var U = ut(e, a, c, N, L);
588
588
  if (U == null)
@@ -591,9 +591,9 @@ Check the top-level render call using <` + c + ">.");
591
591
  var Q = a.children;
592
592
  if (Q !== void 0)
593
593
  if (v)
594
- if (Se(Q)) {
595
- for (var he = 0; he < Q.length; he++)
596
- We(Q[he], e);
594
+ if (we(Q)) {
595
+ for (var ge = 0; ge < Q.length; ge++)
596
+ We(Q[ge], e);
597
597
  Object.freeze && Object.freeze(Q);
598
598
  } else
599
599
  t("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -614,21 +614,21 @@ React keys must be passed directly to JSX without using spread:
614
614
  <%s key={someKey} {...props} />`, Re, de, Et, de), Ge[de + Re] = !0;
615
615
  }
616
616
  }
617
- return e === p ? gt(U) : ft(U), U;
617
+ return e === p ? ht(U) : ft(U), U;
618
618
  }
619
619
  }
620
- function ht(e, a, c) {
620
+ function gt(e, a, c) {
621
621
  return Ye(e, a, c, !0);
622
622
  }
623
623
  function mt(e, a, c) {
624
624
  return Ye(e, a, c, !1);
625
625
  }
626
- var bt = mt, vt = ht;
626
+ var bt = mt, vt = gt;
627
627
  ve.Fragment = p, ve.jsx = bt, ve.jsxs = vt;
628
628
  }()), ve;
629
629
  }
630
- process.env.NODE_ENV === "production" ? Ie.exports = wt() : Ie.exports = At();
631
- var h = Ie.exports, Je = { exports: {} };
630
+ process.env.NODE_ENV === "production" ? Ie.exports = St() : Ie.exports = At();
631
+ var g = Ie.exports, Je = { exports: {} };
632
632
  (function(u) {
633
633
  var d = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
634
634
  /**
@@ -754,8 +754,8 @@ var h = Ie.exports, Je = { exports: {} };
754
754
  case "Array":
755
755
  return s = l.util.objId(r), i[s] ? i[s] : (o = [], i[s] = o, /** @type {Array} */
756
756
  /** @type {any} */
757
- r.forEach(function(E, g) {
758
- o[g] = t(E, i);
757
+ r.forEach(function(E, h) {
758
+ o[h] = t(E, i);
759
759
  }), /** @type {any} */
760
760
  o);
761
761
  default:
@@ -979,8 +979,8 @@ var h = Ie.exports, Je = { exports: {} };
979
979
  for (var E in s)
980
980
  if (s.hasOwnProperty(E)) {
981
981
  if (E == r)
982
- for (var g in i)
983
- i.hasOwnProperty(g) && (f[g] = i[g]);
982
+ for (var h in i)
983
+ i.hasOwnProperty(h) && (f[h] = i[h]);
984
984
  i.hasOwnProperty(E) || (f[E] = s[E]);
985
985
  }
986
986
  var C = o[t];
@@ -995,8 +995,8 @@ var h = Ie.exports, Je = { exports: {} };
995
995
  for (var E in r)
996
996
  if (r.hasOwnProperty(E)) {
997
997
  i.call(r, E, r[E], o || E);
998
- var g = r[E], C = l.util.type(g);
999
- C === "Object" && !s[f(g)] ? (s[f(g)] = !0, t(g, i, null, s)) : C === "Array" && !s[f(g)] && (s[f(g)] = !0, t(g, i, E, s));
998
+ var h = r[E], C = l.util.type(h);
999
+ C === "Object" && !s[f(h)] ? (s[f(h)] = !0, t(h, i, null, s)) : C === "Array" && !s[f(h)] && (s[f(h)] = !0, t(h, i, E, s));
1000
1000
  }
1001
1001
  }
1002
1002
  },
@@ -1074,21 +1074,21 @@ var h = Ie.exports, Je = { exports: {} };
1074
1074
  l.util.setLanguage(t, o);
1075
1075
  var f = t.parentElement;
1076
1076
  f && f.nodeName.toLowerCase() === "pre" && l.util.setLanguage(f, o);
1077
- var E = t.textContent, g = {
1077
+ var E = t.textContent, h = {
1078
1078
  element: t,
1079
1079
  language: o,
1080
1080
  grammar: s,
1081
1081
  code: E
1082
1082
  };
1083
1083
  function C(z) {
1084
- g.highlightedCode = z, l.hooks.run("before-insert", g), g.element.innerHTML = g.highlightedCode, l.hooks.run("after-highlight", g), l.hooks.run("complete", g), i && i.call(g.element);
1084
+ h.highlightedCode = z, l.hooks.run("before-insert", h), h.element.innerHTML = h.highlightedCode, l.hooks.run("after-highlight", h), l.hooks.run("complete", h), i && i.call(h.element);
1085
1085
  }
1086
- if (l.hooks.run("before-sanity-check", g), f = g.element.parentElement, f && f.nodeName.toLowerCase() === "pre" && !f.hasAttribute("tabindex") && f.setAttribute("tabindex", "0"), !g.code) {
1087
- l.hooks.run("complete", g), i && i.call(g.element);
1086
+ if (l.hooks.run("before-sanity-check", h), f = h.element.parentElement, f && f.nodeName.toLowerCase() === "pre" && !f.hasAttribute("tabindex") && f.setAttribute("tabindex", "0"), !h.code) {
1087
+ l.hooks.run("complete", h), i && i.call(h.element);
1088
1088
  return;
1089
1089
  }
1090
- if (l.hooks.run("before-highlight", g), !g.grammar) {
1091
- C(l.util.encode(g.code));
1090
+ if (l.hooks.run("before-highlight", h), !h.grammar) {
1091
+ C(l.util.encode(h.code));
1092
1092
  return;
1093
1093
  }
1094
1094
  if (r && p.Worker) {
@@ -1096,12 +1096,12 @@ var h = Ie.exports, Je = { exports: {} };
1096
1096
  P.onmessage = function(z) {
1097
1097
  C(z.data);
1098
1098
  }, P.postMessage(JSON.stringify({
1099
- language: g.language,
1100
- code: g.code,
1099
+ language: h.language,
1100
+ code: h.code,
1101
1101
  immediateClose: !0
1102
1102
  }));
1103
1103
  } else
1104
- C(l.highlight(g.code, g.grammar, g.language));
1104
+ C(l.highlight(h.code, h.grammar, h.language));
1105
1105
  },
1106
1106
  /**
1107
1107
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -1231,8 +1231,8 @@ var h = Ie.exports, Je = { exports: {} };
1231
1231
  }, f = r.alias;
1232
1232
  f && (Array.isArray(f) ? Array.prototype.push.apply(s.classes, f) : s.classes.push(f)), l.hooks.run("wrap", s);
1233
1233
  var E = "";
1234
- for (var g in s.attributes)
1235
- E += " " + g + '="' + (s.attributes[g] || "").replace(/"/g, "&quot;") + '"';
1234
+ for (var h in s.attributes)
1235
+ E += " " + h + '="' + (s.attributes[h] || "").replace(/"/g, "&quot;") + '"';
1236
1236
  return "<" + s.tag + ' class="' + s.classes.join(" ") + '"' + E + ">" + s.content + "</" + s.tag + ">";
1237
1237
  };
1238
1238
  function y(t, r, i, o) {
@@ -1247,12 +1247,12 @@ var h = Ie.exports, Je = { exports: {} };
1247
1247
  function _(t, r, i, o, s, f) {
1248
1248
  for (var E in i)
1249
1249
  if (!(!i.hasOwnProperty(E) || !i[E])) {
1250
- var g = i[E];
1251
- g = Array.isArray(g) ? g : [g];
1252
- for (var C = 0; C < g.length; ++C) {
1250
+ var h = i[E];
1251
+ h = Array.isArray(h) ? h : [h];
1252
+ for (var C = 0; C < h.length; ++C) {
1253
1253
  if (f && f.cause == E + "," + C)
1254
1254
  return;
1255
- var P = g[C], z = P.inside, V = !!P.lookbehind, W = !!P.greedy, ne = P.alias;
1255
+ var P = h[C], z = P.inside, V = !!P.lookbehind, W = !!P.greedy, ne = P.alias;
1256
1256
  if (W && !P.pattern.global) {
1257
1257
  var ue = P.pattern.toString().match(/[imsuy]*$/)[0];
1258
1258
  P.pattern = RegExp(P.pattern.source, ue + "g");
@@ -1278,10 +1278,10 @@ var h = Ie.exports, Je = { exports: {} };
1278
1278
  continue;
1279
1279
  var ae = G.index, J = G[0], ie = ee.slice(0, ae), oe = ee.slice(ae + J.length), te = H + ee.length;
1280
1280
  f && te > f.reach && (f.reach = te);
1281
- var w = j.prev;
1282
- ie && (w = D(r, w, ie), H += ie.length), I(r, w, X);
1281
+ var S = j.prev;
1282
+ ie && (S = D(r, S, ie), H += ie.length), I(r, S, X);
1283
1283
  var M = new b(E, z ? l.tokenize(J, z) : J, ne, J);
1284
- if (j = D(r, w, M), oe && D(r, j, oe), X > 1) {
1284
+ if (j = D(r, S, M), oe && D(r, j, oe), X > 1) {
1285
1285
  var re = {
1286
1286
  cause: E + "," + C,
1287
1287
  reach: te
@@ -1318,12 +1318,12 @@ var h = Ie.exports, Je = { exports: {} };
1318
1318
  }, !1)), l;
1319
1319
  var F = l.util.currentScript();
1320
1320
  F && (l.filename = F.src, F.hasAttribute("data-manual") && (l.manual = !0));
1321
- function S() {
1321
+ function w() {
1322
1322
  l.manual || l.highlightAll();
1323
1323
  }
1324
1324
  if (!l.manual) {
1325
1325
  var T = document.readyState;
1326
- T === "loading" || T === "interactive" && F && F.defer ? document.addEventListener("DOMContentLoaded", S) : window.requestAnimationFrame ? window.requestAnimationFrame(S) : window.setTimeout(S, 16);
1326
+ T === "loading" || T === "interactive" && F && F.defer ? document.addEventListener("DOMContentLoaded", w) : window.requestAnimationFrame ? window.requestAnimationFrame(w) : window.setTimeout(w, 16);
1327
1327
  }
1328
1328
  return l;
1329
1329
  }(d);
@@ -1705,8 +1705,8 @@ var h = Ie.exports, Je = { exports: {} };
1705
1705
  if (typeof n > "u" || typeof document > "u")
1706
1706
  return;
1707
1707
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
1708
- var p = "Loading…", m = function(F, S) {
1709
- return "✖ Error " + F + " while fetching file: " + S;
1708
+ var p = "Loading…", m = function(F, w) {
1709
+ return "✖ Error " + F + " while fetching file: " + w;
1710
1710
  }, R = "✖ Error: File does not exist or is empty", k = {
1711
1711
  js: "javascript",
1712
1712
  py: "python",
@@ -1718,51 +1718,51 @@ var h = Ie.exports, Je = { exports: {} };
1718
1718
  h: "c",
1719
1719
  tex: "latex"
1720
1720
  }, l = "data-src-status", b = "loading", y = "loaded", _ = "failed", O = "pre[data-src]:not([" + l + '="' + y + '"]):not([' + l + '="' + b + '"])';
1721
- function D(F, S, T) {
1721
+ function D(F, w, T) {
1722
1722
  var t = new XMLHttpRequest();
1723
1723
  t.open("GET", F, !0), t.onreadystatechange = function() {
1724
- t.readyState == 4 && (t.status < 400 && t.responseText ? S(t.responseText) : t.status >= 400 ? T(m(t.status, t.statusText)) : T(R));
1724
+ t.readyState == 4 && (t.status < 400 && t.responseText ? w(t.responseText) : t.status >= 400 ? T(m(t.status, t.statusText)) : T(R));
1725
1725
  }, t.send(null);
1726
1726
  }
1727
1727
  function I(F) {
1728
- var S = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(F || "");
1729
- if (S) {
1730
- var T = Number(S[1]), t = S[2], r = S[3];
1728
+ var w = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(F || "");
1729
+ if (w) {
1730
+ var T = Number(w[1]), t = w[2], r = w[3];
1731
1731
  return t ? r ? [T, Number(r)] : [T, void 0] : [T, T];
1732
1732
  }
1733
1733
  }
1734
1734
  n.hooks.add("before-highlightall", function(F) {
1735
1735
  F.selector += ", " + O;
1736
1736
  }), n.hooks.add("before-sanity-check", function(F) {
1737
- var S = (
1737
+ var w = (
1738
1738
  /** @type {HTMLPreElement} */
1739
1739
  F.element
1740
1740
  );
1741
- if (S.matches(O)) {
1742
- F.code = "", S.setAttribute(l, b);
1743
- var T = S.appendChild(document.createElement("CODE"));
1741
+ if (w.matches(O)) {
1742
+ F.code = "", w.setAttribute(l, b);
1743
+ var T = w.appendChild(document.createElement("CODE"));
1744
1744
  T.textContent = p;
1745
- var t = S.getAttribute("data-src"), r = F.language;
1745
+ var t = w.getAttribute("data-src"), r = F.language;
1746
1746
  if (r === "none") {
1747
1747
  var i = (/\.(\w+)$/.exec(t) || [, "none"])[1];
1748
1748
  r = k[i] || i;
1749
1749
  }
1750
- n.util.setLanguage(T, r), n.util.setLanguage(S, r);
1750
+ n.util.setLanguage(T, r), n.util.setLanguage(w, r);
1751
1751
  var o = n.plugins.autoloader;
1752
1752
  o && o.loadLanguages(r), D(
1753
1753
  t,
1754
1754
  function(s) {
1755
- S.setAttribute(l, y);
1756
- var f = I(S.getAttribute("data-range"));
1755
+ w.setAttribute(l, y);
1756
+ var f = I(w.getAttribute("data-range"));
1757
1757
  if (f) {
1758
- var E = s.split(/\r\n?|\n/g), g = f[0], C = f[1] == null ? E.length : f[1];
1759
- g < 0 && (g += E.length), g = Math.max(0, Math.min(g - 1, E.length)), C < 0 && (C += E.length), C = Math.max(0, Math.min(C, E.length)), s = E.slice(g, C).join(`
1760
- `), S.hasAttribute("data-start") || S.setAttribute("data-start", String(g + 1));
1758
+ var E = s.split(/\r\n?|\n/g), h = f[0], C = f[1] == null ? E.length : f[1];
1759
+ h < 0 && (h += E.length), h = Math.max(0, Math.min(h - 1, E.length)), C < 0 && (C += E.length), C = Math.max(0, Math.min(C, E.length)), s = E.slice(h, C).join(`
1760
+ `), w.hasAttribute("data-start") || w.setAttribute("data-start", String(h + 1));
1761
1761
  }
1762
1762
  T.textContent = s, n.highlightElement(T);
1763
1763
  },
1764
1764
  function(s) {
1765
- S.setAttribute(l, _), T.textContent = s;
1765
+ w.setAttribute(l, _), T.textContent = s;
1766
1766
  }
1767
1767
  );
1768
1768
  }
@@ -1774,8 +1774,8 @@ var h = Ie.exports, Je = { exports: {} };
1774
1774
  *
1775
1775
  * @param {ParentNode} [container=document]
1776
1776
  */
1777
- highlight: function(S) {
1778
- for (var T = (S || document).querySelectorAll(O), t = 0, r; r = T[t++]; )
1777
+ highlight: function(w) {
1778
+ for (var T = (w || document).querySelectorAll(O), t = 0, r; r = T[t++]; )
1779
1779
  n.highlightElement(r);
1780
1780
  }
1781
1781
  };
@@ -1786,7 +1786,7 @@ var h = Ie.exports, Je = { exports: {} };
1786
1786
  }();
1787
1787
  })(Je);
1788
1788
  var Tt = Je.exports;
1789
- const Ne = /* @__PURE__ */ St(Tt);
1789
+ const Ne = /* @__PURE__ */ wt(Tt);
1790
1790
  Prism.languages.clike = {
1791
1791
  comment: [
1792
1792
  {
@@ -2628,6 +2628,12 @@ Prism.languages.json = {
2628
2628
  };
2629
2629
  Prism.languages.webmanifest = Prism.languages.json;
2630
2630
  const Rt = `
2631
+ /* 默认代码颜色 */
2632
+ .hep-cr-editor .hep-cr-highlight code,
2633
+ .hep-cr-editor .hep-cr-highlight pre {
2634
+ color: #f8f8f2 !important;
2635
+ }
2636
+
2631
2637
  .hep-cr-editor .token.comment,
2632
2638
  .hep-cr-editor .token.prolog,
2633
2639
  .hep-cr-editor .token.doctype,
@@ -2647,6 +2653,12 @@ const Rt = `
2647
2653
  color: #f92672 !important;
2648
2654
  }
2649
2655
 
2656
+ /* console 单独处理 - 必须是白色 */
2657
+ .hep-cr-editor .token.property.console,
2658
+ .hep-cr-editor .token.console {
2659
+ color: #f8f8f2 !important;
2660
+ }
2661
+
2650
2662
  .hep-cr-editor .token.boolean,
2651
2663
  .hep-cr-editor .token.number {
2652
2664
  color: #ae81ff !important;
@@ -2686,7 +2698,26 @@ const Rt = `
2686
2698
  .hep-cr-editor .token.important {
2687
2699
  color: #fd971f !important;
2688
2700
  }
2701
+
2702
+ /* 覆盖用户项目的 text-shadow 样式,避免白边 */
2703
+ .hep-cr-editor code[class*="language-"],
2704
+ .hep-cr-editor pre[class*="language-"],
2705
+ .hep-cr-editor .hep-cr-highlight code,
2706
+ .hep-cr-editor .hep-cr-highlight pre {
2707
+ text-shadow: none !important;
2708
+ }
2709
+
2710
+ /* 覆盖 console 等内置对象 */
2711
+ .hep-cr-editor .token.console {
2712
+ color: #f8f8f2 !important;
2713
+ }
2689
2714
  `, _t = `
2715
+ /* 默认代码颜色 */
2716
+ .hep-cr-editor .hep-cr-highlight code,
2717
+ .hep-cr-editor .hep-cr-highlight pre {
2718
+ color: #333 !important;
2719
+ }
2720
+
2690
2721
  .hep-cr-editor .token.comment,
2691
2722
  .hep-cr-editor .token.prolog,
2692
2723
  .hep-cr-editor .token.doctype,
@@ -2744,6 +2775,19 @@ const Rt = `
2744
2775
  .hep-cr-editor .token.important {
2745
2776
  color: #e36209;
2746
2777
  }
2778
+
2779
+ /* 覆盖用户项目的 text-shadow 样式,避免白边 */
2780
+ .hep-cr-editor code[class*="language-"],
2781
+ .hep-cr-editor pre[class*="language-"],
2782
+ .hep-cr-editor .hep-cr-highlight code,
2783
+ .hep-cr-editor .hep-cr-highlight pre {
2784
+ text-shadow: none !important;
2785
+ }
2786
+
2787
+ /* 覆盖 console 等内置对象 */
2788
+ .hep-cr-editor .token.console {
2789
+ color: #333 !important;
2790
+ }
2747
2791
  `;
2748
2792
  window.Prism = Ne;
2749
2793
  function Ft(u) {
@@ -2811,7 +2855,7 @@ const Nt = ({
2811
2855
  }, D = (I) => {
2812
2856
  if (I.key === "Tab") {
2813
2857
  I.preventDefault();
2814
- const B = I.target, F = B.selectionStart, S = B.selectionEnd, T = u.substring(0, F) + " " + u.substring(S);
2858
+ const B = I.target, F = B.selectionStart, w = B.selectionEnd, T = u.substring(0, F) + " " + u.substring(w);
2815
2859
  m == null || m(T), requestAnimationFrame(() => {
2816
2860
  B.selectionStart = B.selectionEnd = F + 2;
2817
2861
  });
@@ -2819,17 +2863,17 @@ const Nt = ({
2819
2863
  };
2820
2864
  return ke(() => {
2821
2865
  Ft(n);
2822
- }, [n]), /* @__PURE__ */ h.jsxs("div", { className: `hep-cr-editor theme-${n}`, style: { background: b }, children: [
2823
- /* @__PURE__ */ h.jsx(
2866
+ }, [n]), /* @__PURE__ */ g.jsxs("div", { className: `hep-cr-editor theme-${n}`, style: { background: b }, children: [
2867
+ /* @__PURE__ */ g.jsx(
2824
2868
  "pre",
2825
2869
  {
2826
2870
  ref: k,
2827
2871
  className: `hep-cr-highlight language-${l}`,
2828
2872
  "aria-hidden": "true",
2829
- children: /* @__PURE__ */ h.jsx("code", { dangerouslySetInnerHTML: { __html: y } })
2873
+ children: /* @__PURE__ */ g.jsx("code", { dangerouslySetInnerHTML: { __html: y } })
2830
2874
  }
2831
2875
  ),
2832
- /* @__PURE__ */ h.jsx(
2876
+ /* @__PURE__ */ g.jsx(
2833
2877
  "textarea",
2834
2878
  {
2835
2879
  ref: R,
@@ -3135,12 +3179,12 @@ const $t = ({
3135
3179
  onExecuteEnd: y,
3136
3180
  onLanguageChange: _
3137
3181
  }) => {
3138
- const [O, D] = Z([]), [I, B] = Z(d), [F, S] = Z(n), [T, t] = Z(k), [r, i] = Z(""), [o, s] = Z(""), [f, E] = Z(!1), [g, C] = Z(null), [P, z] = Z("stdout"), [V, W] = Z(null), [ne, ue] = Z(!0), [ce, j] = Z(60), H = Ee(() => new Dt({ pistonUrl: u }), [u]), ee = Ee(() => O.map((w) => ({
3139
- value: `${w.language}:${w.version}`,
3140
- label: `${w.language.charAt(0).toUpperCase() + w.language.slice(1)} ${w.version}`
3182
+ const [O, D] = Z([]), [I, B] = Z(d), [F, w] = Z(n), [T, t] = Z(k), [r, i] = Z(""), [o, s] = Z(""), [f, E] = Z(!1), [h, C] = Z(null), [P, z] = Z("stdout"), [V, W] = Z(null), [ne, ue] = Z(!0), [ce, j] = Z(60), H = Ee(() => new Dt({ pistonUrl: u }), [u]), ee = Ee(() => O.map((S) => ({
3183
+ value: `${S.language}:${S.version}`,
3184
+ label: `${S.language.charAt(0).toUpperCase() + S.language.slice(1)} ${S.version}`
3141
3185
  })), [O]), X = Ee(() => I.includes(":") ? I.split(":")[0] : I, [I]);
3142
3186
  ke(() => {
3143
- async function w() {
3187
+ async function S() {
3144
3188
  ue(!0), W(null);
3145
3189
  try {
3146
3190
  const M = await H.getRuntimes();
@@ -3151,13 +3195,13 @@ const $t = ({
3151
3195
  ue(!1);
3152
3196
  }
3153
3197
  }
3154
- w();
3198
+ S();
3155
3199
  }, [H]), ke(() => {
3156
3200
  !T && O.length > 0 && t(k || Fe(X));
3157
3201
  }, [O, T, k, X]);
3158
3202
  const G = le(
3159
- (w) => {
3160
- const M = w.target.value, re = M.includes(":") ? M.split(":")[0] : M;
3203
+ (S) => {
3204
+ const M = S.target.value, re = M.includes(":") ? M.split(":")[0] : M;
3161
3205
  B(M);
3162
3206
  const fe = Fe(re);
3163
3207
  t(fe), _ == null || _(re, fe);
@@ -3167,10 +3211,10 @@ const $t = ({
3167
3211
  if (!f) {
3168
3212
  E(!0), i(""), s(""), C(null), W(null), z("stdout"), b == null || b();
3169
3213
  try {
3170
- const w = await H.execute(X, T);
3171
- i(w.output), s(w.stderr), C(w.executionTime || null), z(w.stderr ? "stderr" : "stdout"), y == null || y(w);
3172
- } catch (w) {
3173
- const M = w instanceof Error ? w.message : "Execution failed";
3214
+ const S = await H.execute(X, T);
3215
+ i(S.output), s(S.stderr), C(S.executionTime || null), z(S.stderr ? "stderr" : "stdout"), y == null || y(S);
3216
+ } catch (S) {
3217
+ const M = S instanceof Error ? S.message : "Execution failed";
3174
3218
  W(M), y == null || y({
3175
3219
  success: !1,
3176
3220
  output: "",
@@ -3184,24 +3228,24 @@ const $t = ({
3184
3228
  }, [f, I, T, H, b, y]), q = le(() => {
3185
3229
  i(""), s(""), C(null), W(null);
3186
3230
  }, []), se = le(async () => {
3187
- const w = P === "stdout" ? r : o;
3188
- await navigator.clipboard.writeText(w);
3231
+ const S = P === "stdout" ? r : o;
3232
+ await navigator.clipboard.writeText(S);
3189
3233
  }, [P, r, o]), ae = le(() => {
3190
3234
  t(Fe(X));
3191
- }, [I]), J = Oe(!1), ie = le((w) => {
3235
+ }, [I]), J = Oe(!1), ie = le((S) => {
3192
3236
  J.current = !0, document.addEventListener("mousemove", oe), document.addEventListener("mouseup", te), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none";
3193
- }, []), oe = le((w) => {
3237
+ }, []), oe = le((S) => {
3194
3238
  if (!J.current) return;
3195
3239
  const M = document.querySelector(".hep-cr-main");
3196
3240
  if (!M) return;
3197
- const re = M.getBoundingClientRect(), fe = (w.clientX - re.left) / re.width * 100;
3241
+ const re = M.getBoundingClientRect(), fe = (S.clientX - re.left) / re.width * 100;
3198
3242
  j(Math.max(20, Math.min(80, fe)));
3199
3243
  }, []), te = le(() => {
3200
3244
  J.current = !1, document.removeEventListener("mousemove", oe), document.removeEventListener("mouseup", te), document.body.style.cursor = "", document.body.style.userSelect = "";
3201
3245
  }, [oe]);
3202
- return /* @__PURE__ */ h.jsxs("div", { className: `hep-cr-runner hep-cr-runner-${F}`, children: [
3203
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-header", children: [
3204
- /* @__PURE__ */ h.jsx("div", { className: "hep-cr-controls", children: p && /* @__PURE__ */ h.jsxs(
3246
+ return /* @__PURE__ */ g.jsxs("div", { className: `hep-cr-runner hep-cr-runner-${F}`, children: [
3247
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-header", children: [
3248
+ /* @__PURE__ */ g.jsx("div", { className: "hep-cr-controls", children: p && /* @__PURE__ */ g.jsxs(
3205
3249
  "select",
3206
3250
  {
3207
3251
  value: I,
@@ -3209,44 +3253,44 @@ const $t = ({
3209
3253
  className: "hep-cr-language-select",
3210
3254
  disabled: f,
3211
3255
  children: [
3212
- ne && /* @__PURE__ */ h.jsx("option", { value: "", children: "加载中..." }),
3213
- ee.map((w) => /* @__PURE__ */ h.jsx("option", { value: w.value, children: w.label }, w.value))
3256
+ ne && /* @__PURE__ */ g.jsx("option", { value: "", children: "加载中..." }),
3257
+ ee.map((S) => /* @__PURE__ */ g.jsx("option", { value: S.value, children: S.label }, S.value))
3214
3258
  ]
3215
3259
  }
3216
3260
  ) }),
3217
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-actions", children: [
3218
- /* @__PURE__ */ h.jsxs(
3261
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-actions", children: [
3262
+ /* @__PURE__ */ g.jsxs(
3219
3263
  "button",
3220
3264
  {
3221
3265
  className: "hep-cr-btn hep-cr-btn-run",
3222
3266
  disabled: f || ne,
3223
3267
  onClick: pe,
3224
3268
  children: [
3225
- f ? /* @__PURE__ */ h.jsx("span", { className: "hep-cr-spinner" }) : /* @__PURE__ */ h.jsx("span", { className: "hep-cr-run-icon", children: "▶" }),
3269
+ f ? /* @__PURE__ */ g.jsx("span", { className: "hep-cr-spinner" }) : /* @__PURE__ */ g.jsx("span", { className: "hep-cr-run-icon", children: "▶" }),
3226
3270
  f ? "运行中..." : l
3227
3271
  ]
3228
3272
  }
3229
3273
  ),
3230
- m && R && /* @__PURE__ */ h.jsx("button", { className: "hep-cr-btn hep-cr-btn-reset", onClick: ae, children: "重置" }),
3231
- /* @__PURE__ */ h.jsx(
3274
+ m && R && /* @__PURE__ */ g.jsx("button", { className: "hep-cr-btn hep-cr-btn-reset", onClick: ae, children: "重置" }),
3275
+ /* @__PURE__ */ g.jsx(
3232
3276
  "button",
3233
3277
  {
3234
3278
  className: "hep-cr-btn hep-cr-btn-theme",
3235
- onClick: () => S(F === "light" ? "dark" : "light"),
3279
+ onClick: () => w(F === "light" ? "dark" : "light"),
3236
3280
  title: F === "light" ? "Switch to dark mode" : "Switch to light mode",
3237
3281
  children: F === "light" ? "🌙" : "☀️"
3238
3282
  }
3239
3283
  )
3240
3284
  ] })
3241
3285
  ] }),
3242
- V && /* @__PURE__ */ h.jsx("div", { className: "hep-cr-error-message", children: V }),
3243
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-main", children: [
3244
- m && /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-editor-panel", style: { width: `${ce}%` }, children: [
3245
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-panel-header", children: [
3246
- /* @__PURE__ */ h.jsx("span", { className: "hep-cr-panel-title", children: "编辑器" }),
3247
- /* @__PURE__ */ h.jsx("span", { className: "hep-cr-language-badge", children: X })
3286
+ V && /* @__PURE__ */ g.jsx("div", { className: "hep-cr-error-message", children: V }),
3287
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-main", children: [
3288
+ m && /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-editor-panel", style: { width: `${ce}%` }, children: [
3289
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-panel-header", children: [
3290
+ /* @__PURE__ */ g.jsx("span", { className: "hep-cr-panel-title", children: "编辑器" }),
3291
+ /* @__PURE__ */ g.jsx("span", { className: "hep-cr-language-badge", children: X })
3248
3292
  ] }),
3249
- /* @__PURE__ */ h.jsx(
3293
+ /* @__PURE__ */ g.jsx(
3250
3294
  Nt,
3251
3295
  {
3252
3296
  value: T,
@@ -3257,16 +3301,16 @@ const $t = ({
3257
3301
  }
3258
3302
  )
3259
3303
  ] }),
3260
- m && /* @__PURE__ */ h.jsx("div", { className: "hep-cr-resize-handle", onMouseDown: ie, children: /* @__PURE__ */ h.jsx("div", { className: "hep-cr-resize-line" }) }),
3261
- /* @__PURE__ */ h.jsxs(
3304
+ m && /* @__PURE__ */ g.jsx("div", { className: "hep-cr-resize-handle", onMouseDown: ie, children: /* @__PURE__ */ g.jsx("div", { className: "hep-cr-resize-line" }) }),
3305
+ /* @__PURE__ */ g.jsxs(
3262
3306
  "div",
3263
3307
  {
3264
3308
  className: "hep-cr-output-panel",
3265
3309
  style: { width: m ? `${100 - ce}%` : "100%" },
3266
3310
  children: [
3267
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-panel-header", children: [
3268
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-output-tabs", children: [
3269
- /* @__PURE__ */ h.jsx(
3311
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-panel-header", children: [
3312
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-output-tabs", children: [
3313
+ /* @__PURE__ */ g.jsx(
3270
3314
  "button",
3271
3315
  {
3272
3316
  className: `hep-cr-tab ${P === "stdout" ? "active" : ""}`,
@@ -3274,7 +3318,7 @@ const $t = ({
3274
3318
  children: "输出"
3275
3319
  }
3276
3320
  ),
3277
- o && /* @__PURE__ */ h.jsx(
3321
+ o && /* @__PURE__ */ g.jsx(
3278
3322
  "button",
3279
3323
  {
3280
3324
  className: `hep-cr-tab ${P === "stderr" ? "active" : ""}`,
@@ -3283,12 +3327,12 @@ const $t = ({
3283
3327
  }
3284
3328
  )
3285
3329
  ] }),
3286
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-output-actions", children: [
3287
- g !== null && /* @__PURE__ */ h.jsxs("span", { className: "hep-cr-execution-time", children: [
3288
- g,
3330
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-output-actions", children: [
3331
+ h !== null && /* @__PURE__ */ g.jsxs("span", { className: "hep-cr-execution-time", children: [
3332
+ h,
3289
3333
  "ms"
3290
3334
  ] }),
3291
- /* @__PURE__ */ h.jsx("button", { className: "hep-cr-btn-icon", onClick: se, title: "复制", children: /* @__PURE__ */ h.jsxs(
3335
+ /* @__PURE__ */ g.jsx("button", { className: "hep-cr-btn-icon", onClick: se, title: "复制", children: /* @__PURE__ */ g.jsxs(
3292
3336
  "svg",
3293
3337
  {
3294
3338
  width: "14",
@@ -3298,12 +3342,12 @@ const $t = ({
3298
3342
  stroke: "currentColor",
3299
3343
  strokeWidth: "2",
3300
3344
  children: [
3301
- /* @__PURE__ */ h.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
3302
- /* @__PURE__ */ h.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
3345
+ /* @__PURE__ */ g.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
3346
+ /* @__PURE__ */ g.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
3303
3347
  ]
3304
3348
  }
3305
3349
  ) }),
3306
- /* @__PURE__ */ h.jsx("button", { className: "hep-cr-btn-icon", onClick: q, title: "清除", children: /* @__PURE__ */ h.jsxs(
3350
+ /* @__PURE__ */ g.jsx("button", { className: "hep-cr-btn-icon", onClick: q, title: "清除", children: /* @__PURE__ */ g.jsxs(
3307
3351
  "svg",
3308
3352
  {
3309
3353
  width: "14",
@@ -3313,19 +3357,19 @@ const $t = ({
3313
3357
  stroke: "currentColor",
3314
3358
  strokeWidth: "2",
3315
3359
  children: [
3316
- /* @__PURE__ */ h.jsx("polyline", { points: "3 6 5 6 21 6" }),
3317
- /* @__PURE__ */ h.jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
3360
+ /* @__PURE__ */ g.jsx("polyline", { points: "3 6 5 6 21 6" }),
3361
+ /* @__PURE__ */ g.jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
3318
3362
  ]
3319
3363
  }
3320
3364
  ) })
3321
3365
  ] })
3322
3366
  ] }),
3323
- /* @__PURE__ */ h.jsx("div", { className: "hep-cr-output-content", children: /* @__PURE__ */ h.jsx("pre", { children: P === "stdout" ? r || '点击"运行"执行代码' : o }) })
3367
+ /* @__PURE__ */ g.jsx("div", { className: "hep-cr-output-content", children: /* @__PURE__ */ g.jsx("pre", { children: P === "stdout" ? r || '点击"运行"执行代码' : o }) })
3324
3368
  ]
3325
3369
  }
3326
3370
  )
3327
3371
  ] }),
3328
- /* @__PURE__ */ h.jsx("style", { children: `
3372
+ /* @__PURE__ */ g.jsx("style", { children: `
3329
3373
  .hep-cr-runner {
3330
3374
  display: flex;
3331
3375
  flex-direction: column;
@@ -3559,18 +3603,18 @@ const $t = ({
3559
3603
  }, [u, O]);
3560
3604
  const I = le(() => {
3561
3605
  O || _(!1), m == null || m();
3562
- }, [O, m]), B = (S) => {
3563
- S.target === S.currentTarget && I();
3606
+ }, [O, m]), B = (w) => {
3607
+ w.target === w.currentTarget && I();
3564
3608
  };
3565
3609
  kt(b, () => ({
3566
3610
  close: I
3567
3611
  }));
3568
3612
  const F = typeof p == "number" ? `${p}px` : p;
3569
- return D ? /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-dialog-overlay", onClick: B, children: [
3570
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-dialog-container", style: { width: F }, children: [
3571
- /* @__PURE__ */ h.jsxs("div", { className: "hep-cr-dialog-header", children: [
3572
- /* @__PURE__ */ h.jsx("h3", { className: "hep-cr-dialog-title", children: n }),
3573
- /* @__PURE__ */ h.jsx("button", { className: "hep-cr-dialog-close", onClick: I, children: /* @__PURE__ */ h.jsxs(
3613
+ return D ? /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-dialog-overlay", onClick: B, children: [
3614
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-dialog-container", style: { width: F }, children: [
3615
+ /* @__PURE__ */ g.jsxs("div", { className: "hep-cr-dialog-header", children: [
3616
+ /* @__PURE__ */ g.jsx("h3", { className: "hep-cr-dialog-title", children: n }),
3617
+ /* @__PURE__ */ g.jsx("button", { className: "hep-cr-dialog-close", onClick: I, children: /* @__PURE__ */ g.jsxs(
3574
3618
  "svg",
3575
3619
  {
3576
3620
  width: "16",
@@ -3580,16 +3624,16 @@ const $t = ({
3580
3624
  stroke: "currentColor",
3581
3625
  strokeWidth: "2",
3582
3626
  children: [
3583
- /* @__PURE__ */ h.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
3584
- /* @__PURE__ */ h.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
3627
+ /* @__PURE__ */ g.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
3628
+ /* @__PURE__ */ g.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
3585
3629
  ]
3586
3630
  }
3587
3631
  ) })
3588
3632
  ] }),
3589
- /* @__PURE__ */ h.jsx("div", { className: "hep-cr-dialog-body", children: /* @__PURE__ */ h.jsx($t, { theme: k, ...l }) }),
3590
- R && /* @__PURE__ */ h.jsx("div", { className: "hep-cr-dialog-footer", children: R })
3633
+ /* @__PURE__ */ g.jsx("div", { className: "hep-cr-dialog-body", children: /* @__PURE__ */ g.jsx($t, { theme: k, ...l }) }),
3634
+ R && /* @__PURE__ */ g.jsx("div", { className: "hep-cr-dialog-footer", children: R })
3591
3635
  ] }),
3592
- /* @__PURE__ */ h.jsx("style", { children: `
3636
+ /* @__PURE__ */ g.jsx("style", { children: `
3593
3637
  .hep-cr-dialog-overlay {
3594
3638
  position: fixed;
3595
3639
  top: 0;