sg-paisou 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18174,9 +18174,9 @@ code.hljs {
18174
18174
  if (typeof z != "function") throw TypeError("Super expression must either be null or a function");
18175
18175
  if (j !== void 0) {
18176
18176
  if (j.has(z)) return j.get(z);
18177
- j.set(z, K);
18177
+ j.set(z, X);
18178
18178
  }
18179
- function K() {
18179
+ function X() {
18180
18180
  return function(ae, _e, te) {
18181
18181
  if (Q()) return Reflect.construct.apply(null, arguments);
18182
18182
  var ge = [null];
@@ -18185,18 +18185,18 @@ code.hljs {
18185
18185
  return te && d(de, te.prototype), de;
18186
18186
  }(z, arguments, p(this).constructor);
18187
18187
  }
18188
- return K.prototype = Object.create(z.prototype, { constructor: { value: K, enumerable: !1, writable: !0, configurable: !0 } }), d(K, z);
18188
+ return X.prototype = Object.create(z.prototype, { constructor: { value: X, enumerable: !1, writable: !0, configurable: !0 } }), d(X, z);
18189
18189
  })(V);
18190
18190
  }
18191
18191
  function t(V, j) {
18192
18192
  return function(z) {
18193
18193
  if (Array.isArray(z)) return z;
18194
- }(V) || function(z, K) {
18194
+ }(V) || function(z, X) {
18195
18195
  var ae = z == null ? null : typeof Symbol < "u" && z[Symbol.iterator] || z["@@iterator"];
18196
18196
  if (ae != null) {
18197
18197
  var _e, te, ge, de, st = [], Je = !0, dt = !1;
18198
18198
  try {
18199
- if (ge = (ae = ae.call(z)).next, K !== 0) for (; !(Je = (_e = ge.call(ae)).done) && (st.push(_e.value), st.length !== K); Je = !0) ;
18199
+ if (ge = (ae = ae.call(z)).next, X !== 0) for (; !(Je = (_e = ge.call(ae)).done) && (st.push(_e.value), st.length !== X); Je = !0) ;
18200
18200
  } catch (We) {
18201
18201
  dt = !0, te = We;
18202
18202
  } finally {
@@ -18214,13 +18214,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18214
18214
  }();
18215
18215
  }
18216
18216
  function i(V, j, z) {
18217
- return j = p(j), function(K, ae) {
18217
+ return j = p(j), function(X, ae) {
18218
18218
  if (ae && (l(ae) == "object" || typeof ae == "function")) return ae;
18219
18219
  if (ae !== void 0) throw TypeError("Derived constructors may only return object or undefined");
18220
18220
  return function(_e) {
18221
18221
  if (_e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
18222
18222
  return _e;
18223
- }(K);
18223
+ }(X);
18224
18224
  }(V, Q() ? Reflect.construct(j, z || [], p(V).constructor) : j.apply(V, z));
18225
18225
  }
18226
18226
  function Q() {
@@ -18243,8 +18243,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18243
18243
  V.prototype = Object.create(j && j.prototype, { constructor: { value: V, writable: !0, configurable: !0 } }), Object.defineProperty(V, "prototype", { writable: !1 }), j && d(V, j);
18244
18244
  }
18245
18245
  function d(V, j) {
18246
- return (d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(z, K) {
18247
- return z.__proto__ = K, z;
18246
+ return (d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(z, X) {
18247
+ return z.__proto__ = X, z;
18248
18248
  })(V, j);
18249
18249
  }
18250
18250
  function c(V) {
@@ -18266,16 +18266,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18266
18266
  }
18267
18267
  function a(V, j) {
18268
18268
  (j == null || j > V.length) && (j = V.length);
18269
- for (var z = 0, K = Array(j); z < j; z++) K[z] = V[z];
18270
- return K;
18269
+ for (var z = 0, X = Array(j); z < j; z++) X[z] = V[z];
18270
+ return X;
18271
18271
  }
18272
18272
  function s(V, j) {
18273
18273
  if (!(V instanceof j)) throw TypeError("Cannot call a class as a function");
18274
18274
  }
18275
18275
  function o(V, j) {
18276
18276
  for (var z = 0; z < j.length; z++) {
18277
- var K = j[z];
18278
- K.enumerable = K.enumerable || !1, K.configurable = !0, "value" in K && (K.writable = !0), Object.defineProperty(V, function(ae) {
18277
+ var X = j[z];
18278
+ X.enumerable = X.enumerable || !1, X.configurable = !0, "value" in X && (X.writable = !0), Object.defineProperty(V, function(ae) {
18279
18279
  var _e = function(te, ge) {
18280
18280
  if (l(te) != "object" || !te) return te;
18281
18281
  var de = te[Symbol.toPrimitive];
@@ -18287,7 +18287,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18287
18287
  return String(te);
18288
18288
  }(ae, "string");
18289
18289
  return l(_e) == "symbol" ? _e : _e + "";
18290
- }(K.key), K);
18290
+ }(X.key), X);
18291
18291
  }
18292
18292
  }
18293
18293
  function u(V, j, z) {
@@ -18311,7 +18311,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18311
18311
  function h(V) {
18312
18312
  var j = /* @__PURE__ */ Object.create(null);
18313
18313
  for (var z in V) j[z] = V[z];
18314
- for (var K = arguments.length, ae = Array(K > 1 ? K - 1 : 0), _e = 1; _e < K; _e++) ae[_e - 1] = arguments[_e];
18314
+ for (var X = arguments.length, ae = Array(X > 1 ? X - 1 : 0), _e = 1; _e < X; _e++) ae[_e - 1] = arguments[_e];
18315
18315
  return ae.forEach(function(te) {
18316
18316
  for (var ge in te) j[ge] = te[ge];
18317
18317
  }), j;
@@ -18322,8 +18322,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18322
18322
  var z = j.prefix;
18323
18323
  if (V.startsWith("language:")) return V.replace("language:", "language-");
18324
18324
  if (V.includes(".")) {
18325
- var K = V.split(".");
18326
- return ["".concat(z).concat(K.shift())].concat(c(K.map(function(ae, _e) {
18325
+ var X = V.split(".");
18326
+ return ["".concat(z).concat(X.shift())].concat(c(X.map(function(ae, _e) {
18327
18327
  return "".concat(ae).concat("_".repeat(_e + 1));
18328
18328
  }))).join(" ");
18329
18329
  }
@@ -18348,8 +18348,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18348
18348
  return Object.assign(j, V), j;
18349
18349
  }, y = function(V) {
18350
18350
  function j(z) {
18351
- var K;
18352
- return s(this, j), (K = i(this, j)).options = z, K;
18351
+ var X;
18352
+ return s(this, j), (X = i(this, j)).options = z, X;
18353
18353
  }
18354
18354
  return T(j, V), u(j, [{ key: "addText", value: function(z) {
18355
18355
  z !== "" && this.add(z);
@@ -18357,9 +18357,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18357
18357
  this.openNode(z);
18358
18358
  } }, { key: "endScope", value: function() {
18359
18359
  this.closeNode();
18360
- } }, { key: "__addSublanguage", value: function(z, K) {
18360
+ } }, { key: "__addSublanguage", value: function(z, X) {
18361
18361
  var ae = z.root;
18362
- K && (ae.scope = "language:".concat(K)), this.add(ae);
18362
+ X && (ae.scope = "language:".concat(X)), this.add(ae);
18363
18363
  } }, { key: "toHTML", value: function() {
18364
18364
  return new g(this, this.options).value();
18365
18365
  } }, { key: "finalize", value: function() {
@@ -18387,9 +18387,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18387
18387
  } }, { key: "walk", value: function(j) {
18388
18388
  return this.constructor._walk(j, this.rootNode);
18389
18389
  } }], [{ key: "_walk", value: function(j, z) {
18390
- var K = this;
18390
+ var X = this;
18391
18391
  return typeof z == "string" ? j.addText(z) : z.children && (j.openNode(z), z.children.forEach(function(ae) {
18392
- return K._walk(j, ae);
18392
+ return X._walk(j, ae);
18393
18393
  }), j.closeNode(z)), j;
18394
18394
  } }, { key: "_collapse", value: function(j) {
18395
18395
  typeof j != "string" && j.children && (j.children.every(function(z) {
@@ -18413,13 +18413,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18413
18413
  }
18414
18414
  function C() {
18415
18415
  for (var V = arguments.length, j = Array(V), z = 0; z < V; z++) j[z] = arguments[z];
18416
- return j.map(function(K) {
18417
- return S(K);
18416
+ return j.map(function(X) {
18417
+ return S(X);
18418
18418
  }).join("");
18419
18419
  }
18420
18420
  function D() {
18421
- for (var V, j, z = arguments.length, K = Array(z), ae = 0; ae < z; ae++) K[ae] = arguments[ae];
18422
- return "(" + ((j = (V = K)[V.length - 1], l(j) === "object" && j.constructor === Object ? (V.splice(V.length - 1, 1), j) : {}).capture ? "" : "?:") + K.map(function(_e) {
18421
+ for (var V, j, z = arguments.length, X = Array(z), ae = 0; ae < z; ae++) X[ae] = arguments[ae];
18422
+ return "(" + ((j = (V = X)[V.length - 1], l(j) === "object" && j.constructor === Object ? (V.splice(V.length - 1, 1), j) : {}).capture ? "" : "?:") + X.map(function(_e) {
18423
18423
  return S(_e);
18424
18424
  }).join("|") + ")";
18425
18425
  }
@@ -18428,15 +18428,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18428
18428
  }
18429
18429
  var O = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
18430
18430
  function M(V, j) {
18431
- var z = j.joinWith, K = 0;
18431
+ var z = j.joinWith, X = 0;
18432
18432
  return V.map(function(ae) {
18433
- for (var _e = K += 1, te = S(ae), ge = ""; te.length > 0; ) {
18433
+ for (var _e = X += 1, te = S(ae), ge = ""; te.length > 0; ) {
18434
18434
  var de = O.exec(te);
18435
18435
  if (!de) {
18436
18436
  ge += te;
18437
18437
  break;
18438
18438
  }
18439
- ge += te.substring(0, de.index), te = te.substring(de.index + de[0].length), de[0][0] === "\\" && de[1] ? ge += "\\" + String(Number(de[1]) + _e) : (ge += de[0], de[0] === "(" && K++);
18439
+ ge += te.substring(0, de.index), te = te.substring(de.index + de[0].length), de[0][0] === "\\" && de[1] ? ge += "\\" + String(Number(de[1]) + _e) : (ge += de[0], de[0] === "(" && X++);
18440
18440
  }
18441
18441
  return ge;
18442
18442
  }).map(function(ae) {
@@ -18444,10 +18444,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18444
18444
  }).join(z);
18445
18445
  }
18446
18446
  var N = "[a-zA-Z]\\w*", R = "[a-zA-Z_]\\w*", w = "\\b\\d+(\\.\\d+)?", k = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", B = "\\b(0b[01]+)", U = { begin: "\\\\[\\s\\S]", relevance: 0 }, H = function(V, j) {
18447
- var z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, K = h({ scope: "comment", begin: V, end: j, contains: [] }, z);
18448
- K.contains.push({ scope: "doctag", begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/, excludeBegin: !0, relevance: 0 });
18447
+ var z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, X = h({ scope: "comment", begin: V, end: j, contains: [] }, z);
18448
+ X.contains.push({ scope: "doctag", begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/, excludeBegin: !0, relevance: 0 });
18449
18449
  var ae = D("I", "a", "is", "so", "us", "to", "at", "if", "in", "it", "on", /[A-Za-z]+['](d|ve|re|ll|t|s|n)/, /[A-Za-z]+[-][a-z]+/, /[A-Za-z][a-z]{2,}/);
18450
- return K.contains.push({ begin: C(/[ ]+/, "(", ae, /[.]?[:]?([.][ ]|[ ])/, "){3}") }), K;
18450
+ return X.contains.push({ begin: C(/[ ]+/, "(", ae, /[.]?[:]?([.][ ]|[ ])/, "){3}") }), X;
18451
18451
  }, F = H("//", "$"), I = H("/\\*", "\\*/"), P = H("#", "$"), G = Object.freeze({ __proto__: null, APOS_STRING_MODE: { scope: "string", begin: "'", end: "'", illegal: "\\n", contains: [U] }, BACKSLASH_ESCAPE: U, BINARY_NUMBER_MODE: { scope: "number", begin: B, relevance: 0 }, BINARY_NUMBER_RE: B, COMMENT: H, C_BLOCK_COMMENT_MODE: I, C_LINE_COMMENT_MODE: F, C_NUMBER_MODE: { scope: "number", begin: k, relevance: 0 }, C_NUMBER_RE: k, END_SAME_AS_BEGIN: function(V) {
18452
18452
  return Object.assign(V, { "on:begin": function(j, z) {
18453
18453
  z.data._beginMatch = j[1];
@@ -18456,8 +18456,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18456
18456
  } });
18457
18457
  }, HASH_COMMENT_MODE: P, IDENT_RE: N, MATCH_NOTHING_RE: /\b\B/, METHOD_GUARD: { begin: "\\.\\s*" + R, relevance: 0 }, NUMBER_MODE: { scope: "number", begin: w, relevance: 0 }, NUMBER_RE: w, PHRASAL_WORDS_MODE: { begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ }, QUOTE_STRING_MODE: { scope: "string", begin: '"', end: '"', illegal: "\\n", contains: [U] }, REGEXP_MODE: { scope: "regexp", begin: /\/(?=[^/\n]*\/)/, end: /\/[gimuy]*/, contains: [U, { begin: /\[/, end: /\]/, relevance: 0, contains: [U] }] }, RE_STARTERS_RE: "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", SHEBANG: function() {
18458
18458
  var V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = /^#![ ]*\//;
18459
- return V.binary && (V.begin = C(j, /.*\b/, V.binary, /\b.*/)), h({ scope: "meta", begin: j, end: /$/, relevance: 0, "on:begin": function(z, K) {
18460
- z.index !== 0 && K.ignoreMatch();
18459
+ return V.binary && (V.begin = C(j, /.*\b/, V.binary, /\b.*/)), h({ scope: "meta", begin: j, end: /$/, relevance: 0, "on:begin": function(z, X) {
18460
+ z.index !== 0 && X.ignoreMatch();
18461
18461
  } }, V);
18462
18462
  }, TITLE_MODE: { scope: "title", begin: N, relevance: 0 }, UNDERSCORE_IDENT_RE: R, UNDERSCORE_TITLE_MODE: { scope: "title", begin: R, relevance: 0 } });
18463
18463
  function Y(V, j) {
@@ -18485,21 +18485,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18485
18485
  if (V.beforeMatch) {
18486
18486
  if (V.starts) throw Error("beforeMatch cannot be used with starts");
18487
18487
  var z = Object.assign({}, V);
18488
- Object.keys(V).forEach(function(K) {
18489
- delete V[K];
18488
+ Object.keys(V).forEach(function(X) {
18489
+ delete V[X];
18490
18490
  }), V.keywords = z.keywords, V.begin = C(z.beforeMatch, b(z.begin)), V.starts = { relevance: 0, contains: [Object.assign(z, { endsParent: !0 })] }, V.relevance = 0, delete z.beforeMatch;
18491
18491
  }
18492
18492
  }, Qe = ["of", "and", "for", "in", "not", "or", "if", "then", "parent", "list", "value"], ve = {}, he = function(V) {
18493
18493
  console.error(V);
18494
18494
  }, me = function(V) {
18495
- for (var j, z = arguments.length, K = Array(z > 1 ? z - 1 : 0), ae = 1; ae < z; ae++) K[ae - 1] = arguments[ae];
18496
- (j = console).log.apply(j, ["WARN: ".concat(V)].concat(K));
18495
+ for (var j, z = arguments.length, X = Array(z > 1 ? z - 1 : 0), ae = 1; ae < z; ae++) X[ae - 1] = arguments[ae];
18496
+ (j = console).log.apply(j, ["WARN: ".concat(V)].concat(X));
18497
18497
  }, Le = function(V, j) {
18498
18498
  !ve["".concat(V, "/").concat(j)] && (console.log("Deprecated as of ".concat(V, ". ").concat(j)), ve["".concat(V, "/").concat(j)] = !0);
18499
18499
  }, Re = Error();
18500
18500
  function Me(V, j, z) {
18501
- for (var K = z.key, ae = 0, _e = V[K], te = {}, ge = {}, de = 1; de <= j.length; de++) ge[de + ae] = _e[de], te[de + ae] = !0, ae += x(j[de - 1]);
18502
- V[K] = ge, V[K]._emit = te, V[K]._multi = !0;
18501
+ for (var X = z.key, ae = 0, _e = V[X], te = {}, ge = {}, de = 1; de <= j.length; de++) ge[de + ae] = _e[de], te[de + ae] = !0, ae += x(j[de - 1]);
18502
+ V[X] = ge, V[X]._emit = te, V[X]._multi = !0;
18503
18503
  }
18504
18504
  function Pe(V) {
18505
18505
  var j;
@@ -18518,28 +18518,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18518
18518
  }(V);
18519
18519
  }
18520
18520
  var at = function(V) {
18521
- function j(z, K) {
18521
+ function j(z, X) {
18522
18522
  var ae;
18523
- return s(this, j), (ae = i(this, j, [z])).name = "HTMLInjectionError", ae.html = K, ae;
18523
+ return s(this, j), (ae = i(this, j, [z])).name = "HTMLInjectionError", ae.html = X, ae;
18524
18524
  }
18525
18525
  return T(j, V), u(j);
18526
18526
  }(e(Error)), Ye = Symbol("nomatch"), Xe = function(V) {
18527
- var j = /* @__PURE__ */ Object.create(null), z = /* @__PURE__ */ Object.create(null), K = [], ae = !0, _e = "Could not find the language '{}', did you forget to load/include a language module?", te = { disableAutodetect: !0, name: "Plain text", contains: [] }, ge = { ignoreUnescapedHTML: !1, throwUnescapedHTML: !1, noHighlightRe: /^(no-?highlight)$/i, languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i, classPrefix: "hljs-", cssSelector: "pre code", languages: null, __emitter: y };
18527
+ var j = /* @__PURE__ */ Object.create(null), z = /* @__PURE__ */ Object.create(null), X = [], ae = !0, _e = "Could not find the language '{}', did you forget to load/include a language module?", te = { disableAutodetect: !0, name: "Plain text", contains: [] }, ge = { ignoreUnescapedHTML: !1, throwUnescapedHTML: !1, noHighlightRe: /^(no-?highlight)$/i, languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i, classPrefix: "hljs-", cssSelector: "pre code", languages: null, __emitter: y };
18528
18528
  function de(ne) {
18529
18529
  return ge.noHighlightRe.test(ne);
18530
18530
  }
18531
- function st(ne, X, Z) {
18531
+ function st(ne, J, Z) {
18532
18532
  var ce = "", ee = "";
18533
- l(X) === "object" ? (ce = ne, Z = X.ignoreIllegals, ee = X.language) : (Le("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Le("10.7.0", `Please use highlight(code, options) instead.
18534
- https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z === void 0 && (Z = !0);
18535
- var J = { code: ce, language: ee };
18536
- De("before:highlight", J);
18537
- var ue = J.result ? J.result : Je(J.language, J.code, Z);
18538
- return ue.code = J.code, De("after:highlight", ue), ue;
18539
- }
18540
- function Je(ne, X, Z, ce) {
18533
+ l(J) === "object" ? (ce = ne, Z = J.ignoreIllegals, ee = J.language) : (Le("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Le("10.7.0", `Please use highlight(code, options) instead.
18534
+ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = J), Z === void 0 && (Z = !0);
18535
+ var K = { code: ce, language: ee };
18536
+ De("before:highlight", K);
18537
+ var ue = K.result ? K.result : Je(K.language, K.code, Z);
18538
+ return ue.code = K.code, De("after:highlight", ue), ue;
18539
+ }
18540
+ function Je(ne, J, Z, ce) {
18541
18541
  var ee = /* @__PURE__ */ Object.create(null);
18542
- function J() {
18542
+ function K() {
18543
18543
  if (!Ee.keywords) {
18544
18544
  Ze.addText(we);
18545
18545
  return;
@@ -18574,7 +18574,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18574
18574
  } else fe = dt(we, Ee.subLanguage.length ? Ee.subLanguage : null);
18575
18575
  Ee.relevance > 0 && (Vt += fe.relevance), Ze.__addSublanguage(fe._emitter, fe.language);
18576
18576
  }
18577
- }() : J(), we = "";
18577
+ }() : K(), we = "";
18578
18578
  }
18579
18579
  function se(fe, be) {
18580
18580
  fe !== "" && (Ze.startScope(be), Ze.addText(fe), Ze.endScope());
@@ -18586,7 +18586,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18586
18586
  continue;
18587
18587
  }
18588
18588
  var xe = $e.classNameAliases[fe[ke]] || fe[ke], $ = be[ke];
18589
- xe ? se($, xe) : (we = $, J(), we = ""), ke++;
18589
+ xe ? se($, xe) : (we = $, K(), we = ""), ke++;
18590
18590
  }
18591
18591
  }
18592
18592
  function Ce(fe, be) {
@@ -18597,7 +18597,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18597
18597
  var ke = be && be[0];
18598
18598
  if (we += fe, ke == null) return ue(), 0;
18599
18599
  if (Ie.type === "begin" && be.type === "end" && Ie.index === be.index && ke === "") {
18600
- if (we += X.slice(be.index, be.index + 1), !ae) {
18600
+ if (we += J.slice(be.index, be.index + 1), !ae) {
18601
18601
  var _t = Error("0 width match regex (".concat(ne, ")"));
18602
18602
  throw _t.languageName = ne, _t.badRule = Ie.rule, _t;
18603
18603
  }
@@ -18614,7 +18614,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18614
18614
  if (be.type !== "illegal" || Z) {
18615
18615
  if (be.type === "end") {
18616
18616
  var xe = function(Oe) {
18617
- var Be = Oe[0], Ve = X.substring(Oe.index), et = function Ge(oe, mt, Ft) {
18617
+ var Be = Oe[0], Ve = J.substring(Oe.index), et = function Ge(oe, mt, Ft) {
18618
18618
  var Xt, Gt, Ut, kt = (Xt = oe.endRe, Gt = Ft, (Ut = Xt && Xt.exec(Gt)) && Ut.index === 0);
18619
18619
  if (kt) {
18620
18620
  if (oe["on:end"]) {
@@ -18749,31 +18749,31 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18749
18749
  })();
18750
18750
  var we = "", Vt = 0, bt = 0, r1 = 0, n1 = !1;
18751
18751
  try {
18752
- if ($e.__emitTokens) $e.__emitTokens(X, Ze);
18752
+ if ($e.__emitTokens) $e.__emitTokens(J, Ze);
18753
18753
  else {
18754
18754
  for (Ee.matcher.considerAll(); ; ) {
18755
18755
  r1++, n1 ? n1 = !1 : Ee.matcher.considerAll(), Ee.matcher.lastIndex = bt;
18756
- var Lt = Ee.matcher.exec(X);
18756
+ var Lt = Ee.matcher.exec(J);
18757
18757
  if (!Lt) break;
18758
- var Y1 = X.substring(bt, Lt.index), Kt = gt(Y1, Lt);
18758
+ var Y1 = J.substring(bt, Lt.index), Kt = gt(Y1, Lt);
18759
18759
  bt = Lt.index + Kt;
18760
18760
  }
18761
- gt(X.substring(bt));
18761
+ gt(J.substring(bt));
18762
18762
  }
18763
18763
  return Ze.finalize(), Zt = Ze.toHTML(), { language: ne, value: Zt, relevance: Vt, illegal: !1, _emitter: Ze, _top: Ee };
18764
18764
  } catch (fe) {
18765
- if (fe.message && fe.message.includes("Illegal")) return { language: ne, value: f(X), illegal: !0, relevance: 0, _illegalBy: { message: fe.message, index: bt, context: X.slice(bt - 100, bt + 100), mode: fe.mode, resultSoFar: Zt }, _emitter: Ze };
18766
- if (ae) return { language: ne, value: f(X), illegal: !1, relevance: 0, errorRaised: fe, _emitter: Ze, _top: Ee };
18765
+ if (fe.message && fe.message.includes("Illegal")) return { language: ne, value: f(J), illegal: !0, relevance: 0, _illegalBy: { message: fe.message, index: bt, context: J.slice(bt - 100, bt + 100), mode: fe.mode, resultSoFar: Zt }, _emitter: Ze };
18766
+ if (ae) return { language: ne, value: f(J), illegal: !1, relevance: 0, errorRaised: fe, _emitter: Ze, _top: Ee };
18767
18767
  throw fe;
18768
18768
  }
18769
18769
  }
18770
- function dt(ne, X) {
18771
- X = X || ge.languages || Object.keys(j);
18772
- var Z, ce, ee = ((ce = { value: f(Z = ne), illegal: !1, relevance: 0, _top: te, _emitter: new ge.__emitter(ge) })._emitter.addText(Z), ce), J = X.filter(ht).filter(t1).map(function(Ce) {
18770
+ function dt(ne, J) {
18771
+ J = J || ge.languages || Object.keys(j);
18772
+ var Z, ce, ee = ((ce = { value: f(Z = ne), illegal: !1, relevance: 0, _top: te, _emitter: new ge.__emitter(ge) })._emitter.addText(Z), ce), K = J.filter(ht).filter(t1).map(function(Ce) {
18773
18773
  return Je(Ce, ne, !1);
18774
18774
  });
18775
- J.unshift(ee);
18776
- var ue = t(J.sort(function(Ce, Ie) {
18775
+ K.unshift(ee);
18776
+ var ue = t(K.sort(function(Ce, Ie) {
18777
18777
  if (Ce.relevance !== Ie.relevance) return Ie.relevance - Ce.relevance;
18778
18778
  if (Ce.language && Ie.language) {
18779
18779
  if (ht(Ce.language).supersetOf === Ie.language) return 1;
@@ -18784,7 +18784,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18784
18784
  return se.secondBest = Se, se;
18785
18785
  }
18786
18786
  function We(ne) {
18787
- var X = function(Se) {
18787
+ var J = function(Se) {
18788
18788
  var Ce = Se.className + " ";
18789
18789
  Ce += Se.parentNode ? Se.parentNode.className : "";
18790
18790
  var Ie = ge.languageDetectRe.exec(Ce);
@@ -18796,14 +18796,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18796
18796
  return de($e) || ht($e);
18797
18797
  });
18798
18798
  }(ne);
18799
- if (!de(X)) {
18800
- if (De("before:highlightElement", { el: ne, language: X }), ne.dataset.highlighted) {
18799
+ if (!de(J)) {
18800
+ if (De("before:highlightElement", { el: ne, language: J }), ne.dataset.highlighted) {
18801
18801
  console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", ne);
18802
18802
  return;
18803
18803
  }
18804
18804
  if (ne.children.length > 0 && (!ge.ignoreUnescapedHTML && (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(ne)), ge.throwUnescapedHTML)) throw new at("One of your code blocks includes unescaped HTML.", ne.innerHTML);
18805
- var Z, ce, ee, J, ue = ne.textContent, se = X ? st(ue, { language: X, ignoreIllegals: !0 }) : dt(ue);
18806
- ne.innerHTML = se.value, ne.dataset.highlighted = "yes", Z = ne, ce = X, ee = se.language, J = ce && z[ce] || ee, Z.classList.add("hljs"), Z.classList.add("language-".concat(J)), ne.result = { language: se.language, re: se.relevance, relevance: se.relevance }, se.secondBest && (ne.secondBest = { language: se.secondBest.language, relevance: se.secondBest.relevance }), De("after:highlightElement", { el: ne, result: se, text: ue });
18805
+ var Z, ce, ee, K, ue = ne.textContent, se = J ? st(ue, { language: J, ignoreIllegals: !0 }) : dt(ue);
18806
+ ne.innerHTML = se.value, ne.dataset.highlighted = "yes", Z = ne, ce = J, ee = se.language, K = ce && z[ce] || ee, Z.classList.add("hljs"), Z.classList.add("language-".concat(K)), ne.result = { language: se.language, re: se.relevance, relevance: se.relevance }, se.secondBest && (ne.secondBest = { language: se.secondBest.language, relevance: se.secondBest.relevance }), De("after:highlightElement", { el: ne, result: se, text: ue });
18807
18807
  }
18808
18808
  }
18809
18809
  var Ot = !1;
@@ -18819,19 +18819,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18819
18819
  function ht(ne) {
18820
18820
  return j[ne = (ne || "").toLowerCase()] || j[z[ne]];
18821
18821
  }
18822
- function h1(ne, X) {
18823
- var Z = X.languageName;
18822
+ function h1(ne, J) {
18823
+ var Z = J.languageName;
18824
18824
  typeof ne == "string" && (ne = [ne]), ne.forEach(function(ce) {
18825
18825
  z[ce.toLowerCase()] = Z;
18826
18826
  });
18827
18827
  }
18828
18828
  function t1(ne) {
18829
- var X = ht(ne);
18830
- return X && !X.disableAutodetect;
18829
+ var J = ht(ne);
18830
+ return J && !J.disableAutodetect;
18831
18831
  }
18832
- function De(ne, X) {
18833
- K.forEach(function(Z) {
18834
- Z[ne] && Z[ne](X);
18832
+ function De(ne, J) {
18833
+ X.forEach(function(Z) {
18834
+ Z[ne] && Z[ne](J);
18835
18835
  });
18836
18836
  }
18837
18837
  for (var Ne in Object.assign(V, { highlight: st, highlightAuto: dt, highlightAll: ze, highlightElement: We, highlightBlock: function(ne) {
@@ -18842,47 +18842,47 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
18842
18842
  ze(), Le("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
18843
18843
  }, initHighlightingOnLoad: function() {
18844
18844
  ze(), Le("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
18845
- }, registerLanguage: function(ne, X) {
18845
+ }, registerLanguage: function(ne, J) {
18846
18846
  var Z = null;
18847
18847
  try {
18848
- Z = X(V);
18848
+ Z = J(V);
18849
18849
  } catch (ce) {
18850
18850
  if (he("Language definition for '{}' could not be registered.".replace("{}", ne)), ae) he(ce);
18851
18851
  else throw ce;
18852
18852
  Z = te;
18853
18853
  }
18854
- !Z.name && (Z.name = ne), j[ne] = Z, Z.rawDefinition = X.bind(null, V), Z.aliases && h1(Z.aliases, { languageName: ne });
18854
+ !Z.name && (Z.name = ne), j[ne] = Z, Z.rawDefinition = J.bind(null, V), Z.aliases && h1(Z.aliases, { languageName: ne });
18855
18855
  }, unregisterLanguage: function(ne) {
18856
18856
  delete j[ne];
18857
- for (var X = 0, Z = Object.keys(z); X < Z.length; X++) {
18858
- var ce = Z[X];
18857
+ for (var J = 0, Z = Object.keys(z); J < Z.length; J++) {
18858
+ var ce = Z[J];
18859
18859
  z[ce] === ne && delete z[ce];
18860
18860
  }
18861
18861
  }, listLanguages: function() {
18862
18862
  return Object.keys(j);
18863
18863
  }, getLanguage: ht, registerAliases: h1, autoDetection: t1, inherit: h, addPlugin: function(ne) {
18864
- var X;
18865
- (X = ne)["before:highlightBlock"] && !X["before:highlightElement"] && (X["before:highlightElement"] = function(Z) {
18866
- X["before:highlightBlock"](Object.assign({ block: Z.el }, Z));
18867
- }), X["after:highlightBlock"] && !X["after:highlightElement"] && (X["after:highlightElement"] = function(Z) {
18868
- X["after:highlightBlock"](Object.assign({ block: Z.el }, Z));
18869
- }), K.push(ne);
18864
+ var J;
18865
+ (J = ne)["before:highlightBlock"] && !J["before:highlightElement"] && (J["before:highlightElement"] = function(Z) {
18866
+ J["before:highlightBlock"](Object.assign({ block: Z.el }, Z));
18867
+ }), J["after:highlightBlock"] && !J["after:highlightElement"] && (J["after:highlightElement"] = function(Z) {
18868
+ J["after:highlightBlock"](Object.assign({ block: Z.el }, Z));
18869
+ }), X.push(ne);
18870
18870
  }, removePlugin: function(ne) {
18871
- var X = K.indexOf(ne);
18872
- X !== -1 && K.splice(X, 1);
18871
+ var J = X.indexOf(ne);
18872
+ J !== -1 && X.splice(J, 1);
18873
18873
  } }), V.debugMode = function() {
18874
18874
  ae = !1;
18875
18875
  }, V.safeMode = function() {
18876
18876
  ae = !0;
18877
- }, V.versionString = "11.11.1", V.regex = { concat: C, lookahead: b, either: D, optional: L, anyNumberOfTimes: A }, G) l(G[Ne]) === "object" && function ne(X) {
18878
- return X instanceof Map ? X.clear = X.delete = X.set = function() {
18877
+ }, V.versionString = "11.11.1", V.regex = { concat: C, lookahead: b, either: D, optional: L, anyNumberOfTimes: A }, G) l(G[Ne]) === "object" && function ne(J) {
18878
+ return J instanceof Map ? J.clear = J.delete = J.set = function() {
18879
18879
  throw Error("map is read-only");
18880
- } : X instanceof Set && (X.add = X.clear = X.delete = function() {
18880
+ } : J instanceof Set && (J.add = J.clear = J.delete = function() {
18881
18881
  throw Error("set is read-only");
18882
- }), Object.freeze(X), Object.getOwnPropertyNames(X).forEach(function(Z) {
18883
- var ce = X[Z], ee = l(ce);
18882
+ }), Object.freeze(J), Object.getOwnPropertyNames(J).forEach(function(Z) {
18883
+ var ce = J[Z], ee = l(ce);
18884
18884
  (ee === "object" || ee === "function") && !Object.isFrozen(ce) && ne(ce);
18885
- }), X;
18885
+ }), J;
18886
18886
  }(G[Ne]);
18887
18887
  return Object.assign(V, G), V;
18888
18888
  }, je = Xe({});
@@ -20067,7 +20067,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
20067
20067
  return { begin: ge, end: de, contains: [].concat(Qe, [{ scope: "comment", begin: "#(?!.*".concat(de, ")"), end: /$/ }]) };
20068
20068
  }, he = { scope: "regexp", variants: [ve("###"), ve("##"), ve("#"), { begin: /\/[^\s](?=[^/\n]*\/)/, end: /\//, contains: Qe }] }, me = { match: d(/`/, S, /`/) }, Le = [me, { className: "variable", match: /\$\d+/ }, { className: "variable", match: "\\$".concat(y, "+") }], Re = [{ match: /(@|#(un)?)available/, scope: "keyword", starts: { contains: [{ begin: /\(/, end: /\)/, keywords: L, contains: [].concat(I, [Y, pe]) }] } }, { scope: "keyword", match: d(/@/, c.apply(void 0, A), T(c(/\(/, /\s+/))) }, { scope: "meta", match: d(/@/, S) }], Me = { match: T(/\b[A-Z]/), relevance: 0, contains: [{ className: "type", match: d(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, y, "+") }, { className: "type", match: b, relevance: 0 }, { match: /[?!]+/, relevance: 0 }, { match: /\.\.\./, relevance: 0 }, { match: d(/\s+&\s+/, T(b)), relevance: 0 }] }, Pe = { begin: /</, end: />/, keywords: B, contains: [].concat(O, U, Re, [F, Me]) };
20069
20069
  Me.contains.push(Pe);
20070
- var at = { begin: /\(/, end: /\)/, relevance: 0, keywords: B, contains: ["self", { match: d(S, /\s*:/), keywords: "_|0", relevance: 0 }].concat(O, [he], U, H, I, [Y, pe], Le, Re, [Me]) }, Ye = { begin: /</, end: />/, keywords: "repeat each", contains: [].concat(O, [Me]) }, Xe = { begin: /\(/, end: /\)/, keywords: B, contains: [{ begin: c(T(d(S, /\s*:/)), T(d(S, /\s+/, S, /\s*:/))), end: /:/, relevance: 0, contains: [{ className: "keyword", match: /\b_\b/ }, { className: "params", match: S }] }].concat(O, U, I, [Y, pe], Re, [Me, at]), endsParent: !0, illegal: /["']/ }, je = { match: [/(func|macro)/, /\s+/, c(me.match, S, g)], className: { 1: "keyword", 3: "title.function" }, contains: [Ye, Xe, D], illegal: [/\[/, /%/] }, V = { begin: [/precedencegroup/, /\s+/, b], className: { 1: "keyword", 3: "title" }, contains: [Me], keywords: [].concat(m, l), end: /}/ }, j = { begin: [/(struct|protocol|class|extension|enum|actor)/, /\s+/, S, /\s*/], beginScope: { 1: "keyword", 3: "title.class" }, keywords: B, contains: [Ye].concat(U, [{ begin: /:/, end: /\{/, keywords: B, contains: [{ scope: "title.class.inherited", match: b }].concat(U), relevance: 0 }]) }, z, K = function(te, ge) {
20070
+ var at = { begin: /\(/, end: /\)/, relevance: 0, keywords: B, contains: ["self", { match: d(S, /\s*:/), keywords: "_|0", relevance: 0 }].concat(O, [he], U, H, I, [Y, pe], Le, Re, [Me]) }, Ye = { begin: /</, end: />/, keywords: "repeat each", contains: [].concat(O, [Me]) }, Xe = { begin: /\(/, end: /\)/, keywords: B, contains: [{ begin: c(T(d(S, /\s*:/)), T(d(S, /\s+/, S, /\s*:/))), end: /:/, relevance: 0, contains: [{ className: "keyword", match: /\b_\b/ }, { className: "params", match: S }] }].concat(O, U, I, [Y, pe], Re, [Me, at]), endsParent: !0, illegal: /["']/ }, je = { match: [/(func|macro)/, /\s+/, c(me.match, S, g)], className: { 1: "keyword", 3: "title.function" }, contains: [Ye, Xe, D], illegal: [/\[/, /%/] }, V = { begin: [/precedencegroup/, /\s+/, b], className: { 1: "keyword", 3: "title" }, contains: [Me], keywords: [].concat(m, l), end: /}/ }, j = { begin: [/(struct|protocol|class|extension|enum|actor)/, /\s+/, S, /\s*/], beginScope: { 1: "keyword", 3: "title.class" }, keywords: B, contains: [Ye].concat(U, [{ begin: /:/, end: /\{/, keywords: B, contains: [{ scope: "title.class.inherited", match: b }].concat(U), relevance: 0 }]) }, z, X = function(te, ge) {
20071
20071
  var de = typeof Symbol < "u" && te[Symbol.iterator] || te["@@iterator"];
20072
20072
  if (!de) {
20073
20073
  if (Array.isArray(te) || (de = t(te))) {
@@ -20100,7 +20100,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
20100
20100
  } };
20101
20101
  }(pe.variants);
20102
20102
  try {
20103
- for (K.s(); !(z = K.n()).done; ) {
20103
+ for (X.s(); !(z = X.n()).done; ) {
20104
20104
  var ae = z.value.contains.find(function(te) {
20105
20105
  return te.label === "interpol";
20106
20106
  });
@@ -20109,9 +20109,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
20109
20109
  ae.contains = [].concat(e(_e), [{ begin: /\(/, end: /\)/, contains: ["self"].concat(e(_e)) }]);
20110
20110
  }
20111
20111
  } catch (te) {
20112
- K.e(te);
20112
+ X.e(te);
20113
20113
  } finally {
20114
- K.f();
20114
+ X.f();
20115
20115
  }
20116
20116
  return { name: "Swift", keywords: B, contains: [].concat(O, [je, { match: [/\b(?:subscript|init[?!]?)/, /\s*(?=[<(])/], className: { 1: "keyword" }, contains: [Ye, Xe, D], illegal: /\[|%/ }, { match: [/class\b/, /\s+/, /func\b/, /\s+/, /\b[A-Za-z_][A-Za-z0-9_]*\b/], scope: { 1: "keyword", 3: "keyword", 5: "title.function" } }, { match: [/class\b/, /\s+/, /var\b/], scope: { 1: "keyword", 3: "keyword" } }, j, { match: [/operator/, /\s+/, g], className: { 1: "keyword", 3: "title" } }, V, { beginKeywords: "import", end: /$/, contains: [].concat(O), relevance: 0 }, he], U, H, I, [Y, pe], Le, Re, [Me, at]) };
20117
20117
  };
@@ -23171,16 +23171,16 @@ let dc = function(r) {
23171
23171
  var a, s, o = r, u = [].concat(T).sort(function(Ne, ne) {
23172
23172
  return ne.start - Ne.start;
23173
23173
  }), l = function(Ne, ne) {
23174
- var X = typeof Symbol < "u" && Ne[Symbol.iterator] || Ne["@@iterator"];
23175
- if (!X) {
23176
- if (Array.isArray(Ne) || (X = function(se, Se) {
23174
+ var J = typeof Symbol < "u" && Ne[Symbol.iterator] || Ne["@@iterator"];
23175
+ if (!J) {
23176
+ if (Array.isArray(Ne) || (J = function(se, Se) {
23177
23177
  if (se) {
23178
23178
  if (typeof se == "string") return Is(se, Se);
23179
23179
  var Ce = {}.toString.call(se).slice(8, -1);
23180
23180
  return Ce === "Object" && se.constructor && (Ce = se.constructor.name), Ce === "Map" || Ce === "Set" ? Array.from(se) : Ce === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce) ? Is(se, Se) : void 0;
23181
23181
  }
23182
23182
  }(Ne))) {
23183
- X && (Ne = X);
23183
+ J && (Ne = J);
23184
23184
  var Z = 0, ce = function() {
23185
23185
  };
23186
23186
  return { s: ce, n: function() {
@@ -23192,17 +23192,17 @@ let dc = function(r) {
23192
23192
  throw TypeError(`Invalid attempt to iterate non-iterable instance.
23193
23193
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
23194
23194
  }
23195
- var ee, J = !0, ue = !1;
23195
+ var ee, K = !0, ue = !1;
23196
23196
  return { s: function() {
23197
- X = X.call(Ne);
23197
+ J = J.call(Ne);
23198
23198
  }, n: function() {
23199
- var se = X.next();
23200
- return J = se.done, se;
23199
+ var se = J.next();
23200
+ return K = se.done, se;
23201
23201
  }, e: function(se) {
23202
23202
  ue = !0, ee = se;
23203
23203
  }, f: function() {
23204
23204
  try {
23205
- J || X.return == null || X.return();
23205
+ K || J.return == null || J.return();
23206
23206
  } finally {
23207
23207
  if (ue) throw ee;
23208
23208
  }
@@ -23283,7 +23283,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23283
23283
  var je = void 0;
23284
23284
  x ? (f = f.replace(/\\enclose{circle}{([^}]*)}/g, "$1"), je = e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{circle}{").concat(g, "color{black}{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{black}{").concat(g, "enclose{circle}{").concat(g, "phantom{").concat(f, "}}}").concat(g, "color{black}{}")) : O ? (f = f.replace(/\\enclose{box}{([^}]*)}/g, "$1"), je = e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{box}{").concat(g, "color{black}{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{black}{").concat(g, "enclose{box}{").concat(g, "phantom{").concat(f, "}}}").concat(g, "color{black}{}")) : N ? (f = f.replace(/\\boxed{([^}]*)}/g, "$1"), je = e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{black}{").concat(g, "boxed{").concat(g, "phantom{").concat(f, "}}}").concat(g, "color{black}{}")) : je = R || w ? e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}{").concat(k).concat(f).concat(B, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{").concat(p, "}{").concat(g, "boxed{").concat(g, "color{black}{").concat(k).concat(g, "phantom{").concat(f, "}").concat(B, "}}}").concat(g, "color{black}{}") : D || M ? e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}{{").concat(f, "}}}}").concat(g, "color{black}{}") : "".concat(g, "color{").concat(p, "}{").concat(g, "boxed{").concat(g, "color{black}{{").concat(g, "phantom{").concat(f, "}}}}}").concat(g, "color{black}{}") : e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}").concat(g, "underline{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{").concat(p, "}{").concat(g, "boxed{").concat(g, "color{black}").concat(g, "underline{").concat(g, "phantom{").concat(f, "}}}}").concat(g, "color{black}{}"), o = o.substring(0, h) + je + o.substring(E);
23285
23285
  } else {
23286
- var V, j = f.length > 20 ? "" : "text-align: center;", z = h, K = E, ae = !1, _e = !1, te = "", ge = "";
23286
+ var V, j = f.length > 20 ? "" : "text-align: center;", z = h, X = E, ae = !1, _e = !1, te = "", ge = "";
23287
23287
  if (h > 0) {
23288
23288
  for (var de = h - 1; de >= 0 && o.charAt(de) === " "; ) de--;
23289
23289
  if (de >= 0) {
@@ -23295,12 +23295,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23295
23295
  for (var Je = E; Je < o.length && o.charAt(Je) === " "; ) Je++;
23296
23296
  if (Je < o.length) {
23297
23297
  var dt = o.charAt(Je);
23298
- (dt === ")" || dt === ")") && (K = Je + 1, _e = !0, ge = " )");
23298
+ (dt === ")" || dt === ")") && (X = Je + 1, _e = !0, ge = " )");
23299
23299
  }
23300
23300
  }
23301
- !(ae && _e) && (ae = !1, _e = !1, te = "", ge = "", z = h, K = E);
23301
+ !(ae && _e) && (ae = !1, _e = !1, te = "", ge = "", z = h, X = E);
23302
23302
  var We = "", Ot = f.slice(2, -2), ze = Ot.match(/^\\enclose\{circle\}\{([^}]*)\}$/), ht = Ot.match(/^\\enclose\{box\}\{([^}]*)\}$/);
23303
- f.startsWith("$$") && f.endsWith("$$") && ze ? We = e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{circle}{").concat(g, "color{black}{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{circle}{").concat(g, "phantom{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : f.startsWith("$$") && f.endsWith("$$") && ht ? We = e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{box}{").concat(g, "color{black}{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{box}{").concat(g, "phantom{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : ae && _e ? We = e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;outline: 1.3px solid ').concat(Q, '; outline-offset: 2px;">').concat(te).concat(f).concat(ge, "</span></span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;">').concat(te, '<span style="visibility: hidden;">').concat(f, "</span>").concat(ge, "</span></span>") : f.includes("underline") && (V = f, /^\$\$\\underline\{[\s\S]*\}\$\$/.test(V)) ? We = e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, "; outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '; border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>") : We = e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ";border-bottom: 1px solid black;outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ';border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>"), o = o.substring(0, z) + We + o.substring(K);
23303
+ f.startsWith("$$") && f.endsWith("$$") && ze ? We = e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{circle}{").concat(g, "color{black}{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{circle}{").concat(g, "phantom{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : f.startsWith("$$") && f.endsWith("$$") && ht ? We = e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{box}{").concat(g, "color{black}{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{box}{").concat(g, "phantom{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : ae && _e ? We = e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;outline: 1.3px solid ').concat(Q, '; outline-offset: 2px;">').concat(te).concat(f).concat(ge, "</span></span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;">').concat(te, '<span style="visibility: hidden;">').concat(f, "</span>").concat(ge, "</span></span>") : f.includes("underline") && (V = f, /^\$\$\\underline\{[\s\S]*\}\$\$/.test(V)) ? We = e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, "; outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '; border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>") : We = e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ";border-bottom: 1px solid black;outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ';border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>"), o = o.substring(0, z) + We + o.substring(X);
23304
23304
  }
23305
23305
  }
23306
23306
  } catch (Ne) {
@@ -23326,14 +23326,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23326
23326
  return ne.start - Ne.start;
23327
23327
  }).forEach(function(Ne, ne) {
23328
23328
  Ne.fullMatch;
23329
- for (var X = Ne.answer, Z = Ne.start, ce = Ne.end, ee = !1, J = "\\", ue = [], se = 0; se < De.length - 1; se++) De.substr(se, 2) === "$$" && (ue.push(se), se++);
23329
+ for (var J = Ne.answer, Z = Ne.start, ce = Ne.end, ee = !1, K = "\\", ue = [], se = 0; se < De.length - 1; se++) De.substr(se, 2) === "$$" && (ue.push(se), se++);
23330
23330
  if (ue.length >= 2) for (var Se = 0; Se < ue.length - 1; Se += 2) {
23331
23331
  var Ce = ue[Se], Ie = ue[Se + 1] + 2;
23332
23332
  if (Ce < Z && Ie > ce && !De.substring(Z, ce).includes("$$")) {
23333
23333
  var gt = De.substring(Ce + 2, Ie - 2);
23334
23334
  if (!gt.includes("$$")) {
23335
23335
  var $e = gt.match(/^[^\\]*?(\\+)/);
23336
- J = $e ? $e[1] : J, ee = !0;
23336
+ K = $e ? $e[1] : K, ee = !0;
23337
23337
  break;
23338
23338
  }
23339
23339
  }
@@ -23371,7 +23371,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23371
23371
  break;
23372
23372
  }
23373
23373
  if (!Ze) {
23374
- var Be = X.replace(/^##|##$/g, "").trim();
23374
+ var Be = J.replace(/^##|##$/g, "").trim();
23375
23375
  /^\\enclose\{circle\}\{[^{}]+\}$/.test(Be) && (Ze = !0);
23376
23376
  }
23377
23377
  for (var Ve = /\\enclose\{box\}\{([^{}]*?)##[^#]*##([^{}]*?)\}/g; (Zt = Ve.exec(r)) !== null; ) if (Zt.index < Z && Zt.index + Zt[0].length > ce) {
@@ -23379,7 +23379,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23379
23379
  break;
23380
23380
  }
23381
23381
  if (!we) {
23382
- var et = X.replace(/^##|##$/g, "").trim();
23382
+ var et = J.replace(/^##|##$/g, "").trim();
23383
23383
  /^\\enclose\{box\}\{[^{}]+\}$/.test(et) && (we = !0);
23384
23384
  }
23385
23385
  var qe = function(qt, z1) {
@@ -23407,15 +23407,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23407
23407
  if (Z >= Gt && ce <= Ut) break;
23408
23408
  }
23409
23409
  De.substring(Z - 7, Z) === "\\boxed{" && De.substring(ce, ce + 1) === "}" && (Z -= 7, ce += 1);
23410
- var kt = X, v1 = X.length > 20 ? "" : "text-align: center;";
23411
- O1 && (kt = '<span style="display: inline-block; min-width: 20px; '.concat(v1, '; border-bottom: 1px solid black">$$').concat(X, "$$</span>"));
23410
+ var kt = J, v1 = J.length > 20 ? "" : "text-align: center;";
23411
+ O1 && (kt = '<span style="display: inline-block; min-width: 20px; '.concat(v1, '; border-bottom: 1px solid black">$$').concat(J, "$$</span>"));
23412
23412
  var P1 = '<div style="min-height: 150px; border: 1px dashed '.concat(Q, "; margin-top: 10px; visibility: ").concat(e ? "visible" : "hidden", `" >
23413
23413
  <div style="padding: 10px;">`).concat(kt, `</div>
23414
23414
  </div>`);
23415
23415
  De = De.substring(0, Z) + P1 + De.substring(ce);
23416
23416
  } else {
23417
23417
  var X1 = '<div style="min-height: 150px; border: 1px dashed '.concat(Q, "; margin-top: 10px; visibility: ").concat(e ? "visible" : "hidden", `" >
23418
- <div style="padding: 10px;">`).concat(X, `</div>
23418
+ <div style="padding: 10px;">`).concat(J, `</div>
23419
23419
  </div>`);
23420
23420
  De = De.substring(0, Z) + X1 + De.substring(ce);
23421
23421
  }
@@ -43143,9 +43143,9 @@ code.hljs {
43143
43143
  if (typeof z != "function") throw TypeError("Super expression must either be null or a function");
43144
43144
  if (j !== void 0) {
43145
43145
  if (j.has(z)) return j.get(z);
43146
- j.set(z, K);
43146
+ j.set(z, X);
43147
43147
  }
43148
- function K() {
43148
+ function X() {
43149
43149
  return function(ae, _e, te) {
43150
43150
  if (Q()) return Reflect.construct.apply(null, arguments);
43151
43151
  var ge = [null];
@@ -43154,18 +43154,18 @@ code.hljs {
43154
43154
  return te && d(de, te.prototype), de;
43155
43155
  }(z, arguments, p(this).constructor);
43156
43156
  }
43157
- return K.prototype = Object.create(z.prototype, { constructor: { value: K, enumerable: !1, writable: !0, configurable: !0 } }), d(K, z);
43157
+ return X.prototype = Object.create(z.prototype, { constructor: { value: X, enumerable: !1, writable: !0, configurable: !0 } }), d(X, z);
43158
43158
  })(V);
43159
43159
  }
43160
43160
  function t(V, j) {
43161
43161
  return function(z) {
43162
43162
  if (Array.isArray(z)) return z;
43163
- }(V) || function(z, K) {
43163
+ }(V) || function(z, X) {
43164
43164
  var ae = z == null ? null : typeof Symbol < "u" && z[Symbol.iterator] || z["@@iterator"];
43165
43165
  if (ae != null) {
43166
43166
  var _e, te, ge, de, st = [], Je = !0, dt = !1;
43167
43167
  try {
43168
- if (ge = (ae = ae.call(z)).next, K !== 0) for (; !(Je = (_e = ge.call(ae)).done) && (st.push(_e.value), st.length !== K); Je = !0) ;
43168
+ if (ge = (ae = ae.call(z)).next, X !== 0) for (; !(Je = (_e = ge.call(ae)).done) && (st.push(_e.value), st.length !== X); Je = !0) ;
43169
43169
  } catch (We) {
43170
43170
  dt = !0, te = We;
43171
43171
  } finally {
@@ -43183,13 +43183,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43183
43183
  }();
43184
43184
  }
43185
43185
  function i(V, j, z) {
43186
- return j = p(j), function(K, ae) {
43186
+ return j = p(j), function(X, ae) {
43187
43187
  if (ae && (l(ae) == "object" || typeof ae == "function")) return ae;
43188
43188
  if (ae !== void 0) throw TypeError("Derived constructors may only return object or undefined");
43189
43189
  return function(_e) {
43190
43190
  if (_e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
43191
43191
  return _e;
43192
- }(K);
43192
+ }(X);
43193
43193
  }(V, Q() ? Reflect.construct(j, z || [], p(V).constructor) : j.apply(V, z));
43194
43194
  }
43195
43195
  function Q() {
@@ -43212,8 +43212,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43212
43212
  V.prototype = Object.create(j && j.prototype, { constructor: { value: V, writable: !0, configurable: !0 } }), Object.defineProperty(V, "prototype", { writable: !1 }), j && d(V, j);
43213
43213
  }
43214
43214
  function d(V, j) {
43215
- return (d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(z, K) {
43216
- return z.__proto__ = K, z;
43215
+ return (d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(z, X) {
43216
+ return z.__proto__ = X, z;
43217
43217
  })(V, j);
43218
43218
  }
43219
43219
  function c(V) {
@@ -43235,16 +43235,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43235
43235
  }
43236
43236
  function a(V, j) {
43237
43237
  (j == null || j > V.length) && (j = V.length);
43238
- for (var z = 0, K = Array(j); z < j; z++) K[z] = V[z];
43239
- return K;
43238
+ for (var z = 0, X = Array(j); z < j; z++) X[z] = V[z];
43239
+ return X;
43240
43240
  }
43241
43241
  function s(V, j) {
43242
43242
  if (!(V instanceof j)) throw TypeError("Cannot call a class as a function");
43243
43243
  }
43244
43244
  function o(V, j) {
43245
43245
  for (var z = 0; z < j.length; z++) {
43246
- var K = j[z];
43247
- K.enumerable = K.enumerable || !1, K.configurable = !0, "value" in K && (K.writable = !0), Object.defineProperty(V, function(ae) {
43246
+ var X = j[z];
43247
+ X.enumerable = X.enumerable || !1, X.configurable = !0, "value" in X && (X.writable = !0), Object.defineProperty(V, function(ae) {
43248
43248
  var _e = function(te, ge) {
43249
43249
  if (l(te) != "object" || !te) return te;
43250
43250
  var de = te[Symbol.toPrimitive];
@@ -43256,7 +43256,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43256
43256
  return String(te);
43257
43257
  }(ae, "string");
43258
43258
  return l(_e) == "symbol" ? _e : _e + "";
43259
- }(K.key), K);
43259
+ }(X.key), X);
43260
43260
  }
43261
43261
  }
43262
43262
  function u(V, j, z) {
@@ -43280,7 +43280,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43280
43280
  function h(V) {
43281
43281
  var j = /* @__PURE__ */ Object.create(null);
43282
43282
  for (var z in V) j[z] = V[z];
43283
- for (var K = arguments.length, ae = Array(K > 1 ? K - 1 : 0), _e = 1; _e < K; _e++) ae[_e - 1] = arguments[_e];
43283
+ for (var X = arguments.length, ae = Array(X > 1 ? X - 1 : 0), _e = 1; _e < X; _e++) ae[_e - 1] = arguments[_e];
43284
43284
  return ae.forEach(function(te) {
43285
43285
  for (var ge in te) j[ge] = te[ge];
43286
43286
  }), j;
@@ -43291,8 +43291,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43291
43291
  var z = j.prefix;
43292
43292
  if (V.startsWith("language:")) return V.replace("language:", "language-");
43293
43293
  if (V.includes(".")) {
43294
- var K = V.split(".");
43295
- return ["".concat(z).concat(K.shift())].concat(c(K.map(function(ae, _e) {
43294
+ var X = V.split(".");
43295
+ return ["".concat(z).concat(X.shift())].concat(c(X.map(function(ae, _e) {
43296
43296
  return "".concat(ae).concat("_".repeat(_e + 1));
43297
43297
  }))).join(" ");
43298
43298
  }
@@ -43317,8 +43317,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43317
43317
  return Object.assign(j, V), j;
43318
43318
  }, y = function(V) {
43319
43319
  function j(z) {
43320
- var K;
43321
- return s(this, j), (K = i(this, j)).options = z, K;
43320
+ var X;
43321
+ return s(this, j), (X = i(this, j)).options = z, X;
43322
43322
  }
43323
43323
  return T(j, V), u(j, [{ key: "addText", value: function(z) {
43324
43324
  z !== "" && this.add(z);
@@ -43326,9 +43326,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43326
43326
  this.openNode(z);
43327
43327
  } }, { key: "endScope", value: function() {
43328
43328
  this.closeNode();
43329
- } }, { key: "__addSublanguage", value: function(z, K) {
43329
+ } }, { key: "__addSublanguage", value: function(z, X) {
43330
43330
  var ae = z.root;
43331
- K && (ae.scope = "language:".concat(K)), this.add(ae);
43331
+ X && (ae.scope = "language:".concat(X)), this.add(ae);
43332
43332
  } }, { key: "toHTML", value: function() {
43333
43333
  return new g(this, this.options).value();
43334
43334
  } }, { key: "finalize", value: function() {
@@ -43356,9 +43356,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43356
43356
  } }, { key: "walk", value: function(j) {
43357
43357
  return this.constructor._walk(j, this.rootNode);
43358
43358
  } }], [{ key: "_walk", value: function(j, z) {
43359
- var K = this;
43359
+ var X = this;
43360
43360
  return typeof z == "string" ? j.addText(z) : z.children && (j.openNode(z), z.children.forEach(function(ae) {
43361
- return K._walk(j, ae);
43361
+ return X._walk(j, ae);
43362
43362
  }), j.closeNode(z)), j;
43363
43363
  } }, { key: "_collapse", value: function(j) {
43364
43364
  typeof j != "string" && j.children && (j.children.every(function(z) {
@@ -43382,12 +43382,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43382
43382
  }
43383
43383
  function C() {
43384
43384
  for (var V = arguments.length, j = Array(V), z = 0; z < V; z++) j[z] = arguments[z];
43385
- return j.map(function(K) {
43386
- return S(K);
43385
+ return j.map(function(X) {
43386
+ return S(X);
43387
43387
  }).join("");
43388
43388
  }
43389
43389
  function D() {
43390
- for (var V, j = arguments.length, z = Array(j), K = 0; K < j; K++) z[K] = arguments[K];
43390
+ for (var V, j = arguments.length, z = Array(j), X = 0; X < j; X++) z[X] = arguments[X];
43391
43391
  return "(" + ((V = z[z.length - 1], l(V) === "object" && V.constructor === Object ? (z.splice(z.length - 1, 1), V) : {}).capture ? "" : "?:") + z.map(function(ae) {
43392
43392
  return S(ae);
43393
43393
  }).join("|") + ")";
@@ -43397,15 +43397,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43397
43397
  }
43398
43398
  var O = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
43399
43399
  function M(V, j) {
43400
- var z = j.joinWith, K = 0;
43400
+ var z = j.joinWith, X = 0;
43401
43401
  return V.map(function(ae) {
43402
- for (var _e = K += 1, te = S(ae), ge = ""; te.length > 0; ) {
43402
+ for (var _e = X += 1, te = S(ae), ge = ""; te.length > 0; ) {
43403
43403
  var de = O.exec(te);
43404
43404
  if (!de) {
43405
43405
  ge += te;
43406
43406
  break;
43407
43407
  }
43408
- ge += te.substring(0, de.index), te = te.substring(de.index + de[0].length), de[0][0] === "\\" && de[1] ? ge += "\\" + String(Number(de[1]) + _e) : (ge += de[0], de[0] === "(" && K++);
43408
+ ge += te.substring(0, de.index), te = te.substring(de.index + de[0].length), de[0][0] === "\\" && de[1] ? ge += "\\" + String(Number(de[1]) + _e) : (ge += de[0], de[0] === "(" && X++);
43409
43409
  }
43410
43410
  return ge;
43411
43411
  }).map(function(ae) {
@@ -43413,10 +43413,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43413
43413
  }).join(z);
43414
43414
  }
43415
43415
  var N = "[a-zA-Z]\\w*", R = "[a-zA-Z_]\\w*", w = "\\b\\d+(\\.\\d+)?", k = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", B = "\\b(0b[01]+)", U = { begin: "\\\\[\\s\\S]", relevance: 0 }, H = function(V, j) {
43416
- var z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, K = h({ scope: "comment", begin: V, end: j, contains: [] }, z);
43417
- K.contains.push({ scope: "doctag", begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/, excludeBegin: !0, relevance: 0 });
43416
+ var z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, X = h({ scope: "comment", begin: V, end: j, contains: [] }, z);
43417
+ X.contains.push({ scope: "doctag", begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/, excludeBegin: !0, relevance: 0 });
43418
43418
  var ae = D("I", "a", "is", "so", "us", "to", "at", "if", "in", "it", "on", /[A-Za-z]+['](d|ve|re|ll|t|s|n)/, /[A-Za-z]+[-][a-z]+/, /[A-Za-z][a-z]{2,}/);
43419
- return K.contains.push({ begin: C(/[ ]+/, "(", ae, /[.]?[:]?([.][ ]|[ ])/, "){3}") }), K;
43419
+ return X.contains.push({ begin: C(/[ ]+/, "(", ae, /[.]?[:]?([.][ ]|[ ])/, "){3}") }), X;
43420
43420
  }, F = H("//", "$"), I = H("/\\*", "\\*/"), P = H("#", "$"), G = Object.freeze({ __proto__: null, APOS_STRING_MODE: { scope: "string", begin: "'", end: "'", illegal: "\\n", contains: [U] }, BACKSLASH_ESCAPE: U, BINARY_NUMBER_MODE: { scope: "number", begin: B, relevance: 0 }, BINARY_NUMBER_RE: B, COMMENT: H, C_BLOCK_COMMENT_MODE: I, C_LINE_COMMENT_MODE: F, C_NUMBER_MODE: { scope: "number", begin: k, relevance: 0 }, C_NUMBER_RE: k, END_SAME_AS_BEGIN: function(V) {
43421
43421
  return Object.assign(V, { "on:begin": function(j, z) {
43422
43422
  z.data._beginMatch = j[1];
@@ -43425,8 +43425,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43425
43425
  } });
43426
43426
  }, HASH_COMMENT_MODE: P, IDENT_RE: N, MATCH_NOTHING_RE: /\b\B/, METHOD_GUARD: { begin: "\\.\\s*" + R, relevance: 0 }, NUMBER_MODE: { scope: "number", begin: w, relevance: 0 }, NUMBER_RE: w, PHRASAL_WORDS_MODE: { begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ }, QUOTE_STRING_MODE: { scope: "string", begin: '"', end: '"', illegal: "\\n", contains: [U] }, REGEXP_MODE: { scope: "regexp", begin: /\/(?=[^/\n]*\/)/, end: /\/[gimuy]*/, contains: [U, { begin: /\[/, end: /\]/, relevance: 0, contains: [U] }] }, RE_STARTERS_RE: "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", SHEBANG: function() {
43427
43427
  var V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = /^#![ ]*\//;
43428
- return V.binary && (V.begin = C(j, /.*\b/, V.binary, /\b.*/)), h({ scope: "meta", begin: j, end: /$/, relevance: 0, "on:begin": function(z, K) {
43429
- z.index !== 0 && K.ignoreMatch();
43428
+ return V.binary && (V.begin = C(j, /.*\b/, V.binary, /\b.*/)), h({ scope: "meta", begin: j, end: /$/, relevance: 0, "on:begin": function(z, X) {
43429
+ z.index !== 0 && X.ignoreMatch();
43430
43430
  } }, V);
43431
43431
  }, TITLE_MODE: { scope: "title", begin: N, relevance: 0 }, UNDERSCORE_IDENT_RE: R, UNDERSCORE_TITLE_MODE: { scope: "title", begin: R, relevance: 0 } });
43432
43432
  function Y(V, j) {
@@ -43454,21 +43454,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43454
43454
  if (V.beforeMatch) {
43455
43455
  if (V.starts) throw Error("beforeMatch cannot be used with starts");
43456
43456
  var z = Object.assign({}, V);
43457
- Object.keys(V).forEach(function(K) {
43458
- delete V[K];
43457
+ Object.keys(V).forEach(function(X) {
43458
+ delete V[X];
43459
43459
  }), V.keywords = z.keywords, V.begin = C(z.beforeMatch, b(z.begin)), V.starts = { relevance: 0, contains: [Object.assign(z, { endsParent: !0 })] }, V.relevance = 0, delete z.beforeMatch;
43460
43460
  }
43461
43461
  }, Qe = ["of", "and", "for", "in", "not", "or", "if", "then", "parent", "list", "value"], ve = {}, he = function(V) {
43462
43462
  console.error(V);
43463
43463
  }, me = function(V) {
43464
- for (var j, z = arguments.length, K = Array(z > 1 ? z - 1 : 0), ae = 1; ae < z; ae++) K[ae - 1] = arguments[ae];
43465
- (j = console).log.apply(j, ["WARN: ".concat(V)].concat(K));
43464
+ for (var j, z = arguments.length, X = Array(z > 1 ? z - 1 : 0), ae = 1; ae < z; ae++) X[ae - 1] = arguments[ae];
43465
+ (j = console).log.apply(j, ["WARN: ".concat(V)].concat(X));
43466
43466
  }, Le = function(V, j) {
43467
43467
  ve["".concat(V, "/").concat(j)] || (console.log("Deprecated as of ".concat(V, ". ").concat(j)), ve["".concat(V, "/").concat(j)] = !0);
43468
43468
  }, Re = Error();
43469
43469
  function Me(V, j, z) {
43470
- for (var K = z.key, ae = 0, _e = V[K], te = {}, ge = {}, de = 1; de <= j.length; de++) ge[de + ae] = _e[de], te[de + ae] = !0, ae += x(j[de - 1]);
43471
- V[K] = ge, V[K]._emit = te, V[K]._multi = !0;
43470
+ for (var X = z.key, ae = 0, _e = V[X], te = {}, ge = {}, de = 1; de <= j.length; de++) ge[de + ae] = _e[de], te[de + ae] = !0, ae += x(j[de - 1]);
43471
+ V[X] = ge, V[X]._emit = te, V[X]._multi = !0;
43472
43472
  }
43473
43473
  function Pe(V) {
43474
43474
  V.scope && l(V.scope) === "object" && V.scope !== null && (V.beginScope = V.scope, delete V.scope), typeof V.beginScope == "string" && (V.beginScope = { _wrap: V.beginScope }), typeof V.endScope == "string" && (V.endScope = { _wrap: V.endScope }), function(j) {
@@ -43486,28 +43486,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43486
43486
  }(V);
43487
43487
  }
43488
43488
  var at = function(V) {
43489
- function j(z, K) {
43489
+ function j(z, X) {
43490
43490
  var ae;
43491
- return s(this, j), (ae = i(this, j, [z])).name = "HTMLInjectionError", ae.html = K, ae;
43491
+ return s(this, j), (ae = i(this, j, [z])).name = "HTMLInjectionError", ae.html = X, ae;
43492
43492
  }
43493
43493
  return T(j, V), u(j);
43494
43494
  }(e(Error)), Ye = Symbol("nomatch"), Xe = function(V) {
43495
- var j = /* @__PURE__ */ Object.create(null), z = /* @__PURE__ */ Object.create(null), K = [], ae = !0, _e = "Could not find the language '{}', did you forget to load/include a language module?", te = { disableAutodetect: !0, name: "Plain text", contains: [] }, ge = { ignoreUnescapedHTML: !1, throwUnescapedHTML: !1, noHighlightRe: /^(no-?highlight)$/i, languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i, classPrefix: "hljs-", cssSelector: "pre code", languages: null, __emitter: y };
43495
+ var j = /* @__PURE__ */ Object.create(null), z = /* @__PURE__ */ Object.create(null), X = [], ae = !0, _e = "Could not find the language '{}', did you forget to load/include a language module?", te = { disableAutodetect: !0, name: "Plain text", contains: [] }, ge = { ignoreUnescapedHTML: !1, throwUnescapedHTML: !1, noHighlightRe: /^(no-?highlight)$/i, languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i, classPrefix: "hljs-", cssSelector: "pre code", languages: null, __emitter: y };
43496
43496
  function de(ne) {
43497
43497
  return ge.noHighlightRe.test(ne);
43498
43498
  }
43499
- function st(ne, X, Z) {
43499
+ function st(ne, J, Z) {
43500
43500
  var ce = "", ee = "";
43501
- l(X) === "object" ? (ce = ne, Z = X.ignoreIllegals, ee = X.language) : (Le("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Le("10.7.0", `Please use highlight(code, options) instead.
43502
- https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z === void 0 && (Z = !0);
43503
- var J = { code: ce, language: ee };
43504
- De("before:highlight", J);
43505
- var ue = J.result ? J.result : Je(J.language, J.code, Z);
43506
- return ue.code = J.code, De("after:highlight", ue), ue;
43507
- }
43508
- function Je(ne, X, Z, ce) {
43501
+ l(J) === "object" ? (ce = ne, Z = J.ignoreIllegals, ee = J.language) : (Le("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Le("10.7.0", `Please use highlight(code, options) instead.
43502
+ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = J), Z === void 0 && (Z = !0);
43503
+ var K = { code: ce, language: ee };
43504
+ De("before:highlight", K);
43505
+ var ue = K.result ? K.result : Je(K.language, K.code, Z);
43506
+ return ue.code = K.code, De("after:highlight", ue), ue;
43507
+ }
43508
+ function Je(ne, J, Z, ce) {
43509
43509
  var ee = /* @__PURE__ */ Object.create(null);
43510
- function J() {
43510
+ function K() {
43511
43511
  if (!Ee.keywords) {
43512
43512
  Ze.addText(we);
43513
43513
  return;
@@ -43542,7 +43542,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43542
43542
  } else fe = dt(we, Ee.subLanguage.length ? Ee.subLanguage : null);
43543
43543
  Ee.relevance > 0 && (Vt += fe.relevance), Ze.__addSublanguage(fe._emitter, fe.language);
43544
43544
  }
43545
- }() : J(), we = "";
43545
+ }() : K(), we = "";
43546
43546
  }
43547
43547
  function se(fe, be) {
43548
43548
  fe !== "" && (Ze.startScope(be), Ze.addText(fe), Ze.endScope());
@@ -43554,7 +43554,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43554
43554
  continue;
43555
43555
  }
43556
43556
  var xe = $e.classNameAliases[fe[ke]] || fe[ke], $ = be[ke];
43557
- xe ? se($, xe) : (we = $, J(), we = ""), ke++;
43557
+ xe ? se($, xe) : (we = $, K(), we = ""), ke++;
43558
43558
  }
43559
43559
  }
43560
43560
  function Ce(fe, be) {
@@ -43565,7 +43565,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43565
43565
  var ke = be && be[0];
43566
43566
  if (we += fe, ke == null) return ue(), 0;
43567
43567
  if (Ie.type === "begin" && be.type === "end" && Ie.index === be.index && ke === "") {
43568
- if (we += X.slice(be.index, be.index + 1), !ae) {
43568
+ if (we += J.slice(be.index, be.index + 1), !ae) {
43569
43569
  var _t = Error("0 width match regex (".concat(ne, ")"));
43570
43570
  throw _t.languageName = ne, _t.badRule = Ie.rule, _t;
43571
43571
  }
@@ -43581,7 +43581,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43581
43581
  if (be.type !== "illegal" || Z) {
43582
43582
  if (be.type === "end") {
43583
43583
  var xe = function(Oe) {
43584
- var Be = Oe[0], Ve = X.substring(Oe.index), et = function Ge(oe, mt, Ft) {
43584
+ var Be = Oe[0], Ve = J.substring(Oe.index), et = function Ge(oe, mt, Ft) {
43585
43585
  var Xt, Gt, Ut = (Gt = (Xt = oe.endRe) && Xt.exec(Ft)) && Gt.index === 0;
43586
43586
  if (Ut) {
43587
43587
  if (oe["on:end"]) {
@@ -43711,42 +43711,42 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43711
43711
  })();
43712
43712
  var we = "", Vt = 0, bt = 0, r1 = 0, n1 = !1;
43713
43713
  try {
43714
- if ($e.__emitTokens) $e.__emitTokens(X, Ze);
43714
+ if ($e.__emitTokens) $e.__emitTokens(J, Ze);
43715
43715
  else {
43716
43716
  for (Ee.matcher.considerAll(); ; ) {
43717
43717
  r1++, n1 ? n1 = !1 : Ee.matcher.considerAll(), Ee.matcher.lastIndex = bt;
43718
- var Lt = Ee.matcher.exec(X);
43718
+ var Lt = Ee.matcher.exec(J);
43719
43719
  if (!Lt) break;
43720
- var Y1 = X.substring(bt, Lt.index), Kt = gt(Y1, Lt);
43720
+ var Y1 = J.substring(bt, Lt.index), Kt = gt(Y1, Lt);
43721
43721
  bt = Lt.index + Kt;
43722
43722
  }
43723
- gt(X.substring(bt));
43723
+ gt(J.substring(bt));
43724
43724
  }
43725
43725
  return Ze.finalize(), Zt = Ze.toHTML(), { language: ne, value: Zt, relevance: Vt, illegal: !1, _emitter: Ze, _top: Ee };
43726
43726
  } catch (fe) {
43727
- if (fe.message && fe.message.includes("Illegal")) return { language: ne, value: f(X), illegal: !0, relevance: 0, _illegalBy: { message: fe.message, index: bt, context: X.slice(bt - 100, bt + 100), mode: fe.mode, resultSoFar: Zt }, _emitter: Ze };
43728
- if (ae) return { language: ne, value: f(X), illegal: !1, relevance: 0, errorRaised: fe, _emitter: Ze, _top: Ee };
43727
+ if (fe.message && fe.message.includes("Illegal")) return { language: ne, value: f(J), illegal: !0, relevance: 0, _illegalBy: { message: fe.message, index: bt, context: J.slice(bt - 100, bt + 100), mode: fe.mode, resultSoFar: Zt }, _emitter: Ze };
43728
+ if (ae) return { language: ne, value: f(J), illegal: !1, relevance: 0, errorRaised: fe, _emitter: Ze, _top: Ee };
43729
43729
  throw fe;
43730
43730
  }
43731
43731
  }
43732
- function dt(ne, X) {
43733
- X = X || ge.languages || Object.keys(j);
43734
- var Z, ce = ((Z = { value: f(ne), illegal: !1, relevance: 0, _top: te, _emitter: new ge.__emitter(ge) })._emitter.addText(ne), Z), ee = X.filter(ht).filter(t1).map(function(Se) {
43732
+ function dt(ne, J) {
43733
+ J = J || ge.languages || Object.keys(j);
43734
+ var Z, ce = ((Z = { value: f(ne), illegal: !1, relevance: 0, _top: te, _emitter: new ge.__emitter(ge) })._emitter.addText(ne), Z), ee = J.filter(ht).filter(t1).map(function(Se) {
43735
43735
  return Je(Se, ne, !1);
43736
43736
  });
43737
43737
  ee.unshift(ce);
43738
- var J = t(ee.sort(function(Se, Ce) {
43738
+ var K = t(ee.sort(function(Se, Ce) {
43739
43739
  if (Se.relevance !== Ce.relevance) return Ce.relevance - Se.relevance;
43740
43740
  if (Se.language && Ce.language) {
43741
43741
  if (ht(Se.language).supersetOf === Ce.language) return 1;
43742
43742
  if (ht(Ce.language).supersetOf === Se.language) return -1;
43743
43743
  }
43744
43744
  return 0;
43745
- }), 2), ue = J[0], se = J[1];
43745
+ }), 2), ue = K[0], se = K[1];
43746
43746
  return ue.secondBest = se, ue;
43747
43747
  }
43748
43748
  function We(ne) {
43749
- var X = function(ue) {
43749
+ var J = function(ue) {
43750
43750
  var se = ue.className + " ";
43751
43751
  se += ue.parentNode ? ue.parentNode.className : "";
43752
43752
  var Se = ge.languageDetectRe.exec(se);
@@ -43758,14 +43758,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43758
43758
  return de(Ie) || ht(Ie);
43759
43759
  });
43760
43760
  }(ne);
43761
- if (!de(X)) {
43762
- if (De("before:highlightElement", { el: ne, language: X }), ne.dataset.highlighted) {
43761
+ if (!de(J)) {
43762
+ if (De("before:highlightElement", { el: ne, language: J }), ne.dataset.highlighted) {
43763
43763
  console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", ne);
43764
43764
  return;
43765
43765
  }
43766
43766
  if (ne.children.length > 0 && (ge.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(ne)), ge.throwUnescapedHTML)) throw new at("One of your code blocks includes unescaped HTML.", ne.innerHTML);
43767
- var Z, ce, ee = ne.textContent, J = X ? st(ee, { language: X, ignoreIllegals: !0 }) : dt(ee);
43768
- ne.innerHTML = J.value, ne.dataset.highlighted = "yes", Z = J.language, ce = X && z[X] || Z, ne.classList.add("hljs"), ne.classList.add("language-".concat(ce)), ne.result = { language: J.language, re: J.relevance, relevance: J.relevance }, J.secondBest && (ne.secondBest = { language: J.secondBest.language, relevance: J.secondBest.relevance }), De("after:highlightElement", { el: ne, result: J, text: ee });
43767
+ var Z, ce, ee = ne.textContent, K = J ? st(ee, { language: J, ignoreIllegals: !0 }) : dt(ee);
43768
+ ne.innerHTML = K.value, ne.dataset.highlighted = "yes", Z = K.language, ce = J && z[J] || Z, ne.classList.add("hljs"), ne.classList.add("language-".concat(ce)), ne.result = { language: K.language, re: K.relevance, relevance: K.relevance }, K.secondBest && (ne.secondBest = { language: K.secondBest.language, relevance: K.secondBest.relevance }), De("after:highlightElement", { el: ne, result: K, text: ee });
43769
43769
  }
43770
43770
  }
43771
43771
  var Ot = !1;
@@ -43781,19 +43781,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43781
43781
  function ht(ne) {
43782
43782
  return j[ne = (ne || "").toLowerCase()] || j[z[ne]];
43783
43783
  }
43784
- function h1(ne, X) {
43785
- var Z = X.languageName;
43784
+ function h1(ne, J) {
43785
+ var Z = J.languageName;
43786
43786
  typeof ne == "string" && (ne = [ne]), ne.forEach(function(ce) {
43787
43787
  z[ce.toLowerCase()] = Z;
43788
43788
  });
43789
43789
  }
43790
43790
  function t1(ne) {
43791
- var X = ht(ne);
43792
- return X && !X.disableAutodetect;
43791
+ var J = ht(ne);
43792
+ return J && !J.disableAutodetect;
43793
43793
  }
43794
- function De(ne, X) {
43795
- K.forEach(function(Z) {
43796
- Z[ne] && Z[ne](X);
43794
+ function De(ne, J) {
43795
+ X.forEach(function(Z) {
43796
+ Z[ne] && Z[ne](J);
43797
43797
  });
43798
43798
  }
43799
43799
  for (var Ne in Object.assign(V, { highlight: st, highlightAuto: dt, highlightAll: ze, highlightElement: We, highlightBlock: function(ne) {
@@ -43804,47 +43804,47 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ee = ne, ce = X), Z =
43804
43804
  ze(), Le("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
43805
43805
  }, initHighlightingOnLoad: function() {
43806
43806
  ze(), Le("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
43807
- }, registerLanguage: function(ne, X) {
43807
+ }, registerLanguage: function(ne, J) {
43808
43808
  var Z = null;
43809
43809
  try {
43810
- Z = X(V);
43810
+ Z = J(V);
43811
43811
  } catch (ce) {
43812
43812
  if (he("Language definition for '{}' could not be registered.".replace("{}", ne)), ae) he(ce);
43813
43813
  else throw ce;
43814
43814
  Z = te;
43815
43815
  }
43816
- Z.name || (Z.name = ne), j[ne] = Z, Z.rawDefinition = X.bind(null, V), Z.aliases && h1(Z.aliases, { languageName: ne });
43816
+ Z.name || (Z.name = ne), j[ne] = Z, Z.rawDefinition = J.bind(null, V), Z.aliases && h1(Z.aliases, { languageName: ne });
43817
43817
  }, unregisterLanguage: function(ne) {
43818
43818
  delete j[ne];
43819
- for (var X = 0, Z = Object.keys(z); X < Z.length; X++) {
43820
- var ce = Z[X];
43819
+ for (var J = 0, Z = Object.keys(z); J < Z.length; J++) {
43820
+ var ce = Z[J];
43821
43821
  z[ce] === ne && delete z[ce];
43822
43822
  }
43823
43823
  }, listLanguages: function() {
43824
43824
  return Object.keys(j);
43825
43825
  }, getLanguage: ht, registerAliases: h1, autoDetection: t1, inherit: h, addPlugin: function(ne) {
43826
- var X;
43827
- (X = ne)["before:highlightBlock"] && !X["before:highlightElement"] && (X["before:highlightElement"] = function(Z) {
43828
- X["before:highlightBlock"](Object.assign({ block: Z.el }, Z));
43829
- }), X["after:highlightBlock"] && !X["after:highlightElement"] && (X["after:highlightElement"] = function(Z) {
43830
- X["after:highlightBlock"](Object.assign({ block: Z.el }, Z));
43831
- }), K.push(ne);
43826
+ var J;
43827
+ (J = ne)["before:highlightBlock"] && !J["before:highlightElement"] && (J["before:highlightElement"] = function(Z) {
43828
+ J["before:highlightBlock"](Object.assign({ block: Z.el }, Z));
43829
+ }), J["after:highlightBlock"] && !J["after:highlightElement"] && (J["after:highlightElement"] = function(Z) {
43830
+ J["after:highlightBlock"](Object.assign({ block: Z.el }, Z));
43831
+ }), X.push(ne);
43832
43832
  }, removePlugin: function(ne) {
43833
- var X = K.indexOf(ne);
43834
- X !== -1 && K.splice(X, 1);
43833
+ var J = X.indexOf(ne);
43834
+ J !== -1 && X.splice(J, 1);
43835
43835
  } }), V.debugMode = function() {
43836
43836
  ae = !1;
43837
43837
  }, V.safeMode = function() {
43838
43838
  ae = !0;
43839
- }, V.versionString = "11.11.1", V.regex = { concat: C, lookahead: b, either: D, optional: L, anyNumberOfTimes: A }, G) l(G[Ne]) === "object" && function ne(X) {
43840
- return X instanceof Map ? X.clear = X.delete = X.set = function() {
43839
+ }, V.versionString = "11.11.1", V.regex = { concat: C, lookahead: b, either: D, optional: L, anyNumberOfTimes: A }, G) l(G[Ne]) === "object" && function ne(J) {
43840
+ return J instanceof Map ? J.clear = J.delete = J.set = function() {
43841
43841
  throw Error("map is read-only");
43842
- } : X instanceof Set && (X.add = X.clear = X.delete = function() {
43842
+ } : J instanceof Set && (J.add = J.clear = J.delete = function() {
43843
43843
  throw Error("set is read-only");
43844
- }), Object.freeze(X), Object.getOwnPropertyNames(X).forEach(function(Z) {
43845
- var ce = X[Z], ee = l(ce);
43844
+ }), Object.freeze(J), Object.getOwnPropertyNames(J).forEach(function(Z) {
43845
+ var ce = J[Z], ee = l(ce);
43846
43846
  ee !== "object" && ee !== "function" || Object.isFrozen(ce) || ne(ce);
43847
- }), X;
43847
+ }), J;
43848
43848
  }(G[Ne]);
43849
43849
  return Object.assign(V, G), V;
43850
43850
  }, je = Xe({});
@@ -45026,7 +45026,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45026
45026
  return { begin: ge, end: de, contains: [].concat(Qe, [{ scope: "comment", begin: "#(?!.*".concat(de, ")"), end: /$/ }]) };
45027
45027
  }, he = { scope: "regexp", variants: [ve("###"), ve("##"), ve("#"), { begin: /\/[^\s](?=[^/\n]*\/)/, end: /\//, contains: Qe }] }, me = { match: d(/`/, S, /`/) }, Le = [me, { className: "variable", match: /\$\d+/ }, { className: "variable", match: "\\$".concat(y, "+") }], Re = [{ match: /(@|#(un)?)available/, scope: "keyword", starts: { contains: [{ begin: /\(/, end: /\)/, keywords: L, contains: [].concat(I, [Y, pe]) }] } }, { scope: "keyword", match: d(/@/, c.apply(void 0, A), T(c(/\(/, /\s+/))) }, { scope: "meta", match: d(/@/, S) }], Me = { match: T(/\b[A-Z]/), relevance: 0, contains: [{ className: "type", match: d(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, y, "+") }, { className: "type", match: b, relevance: 0 }, { match: /[?!]+/, relevance: 0 }, { match: /\.\.\./, relevance: 0 }, { match: d(/\s+&\s+/, T(b)), relevance: 0 }] }, Pe = { begin: /</, end: />/, keywords: B, contains: [].concat(O, U, Re, [F, Me]) };
45028
45028
  Me.contains.push(Pe);
45029
- var at, Ye = { begin: /\(/, end: /\)/, relevance: 0, keywords: B, contains: ["self", { match: d(S, /\s*:/), keywords: "_|0", relevance: 0 }].concat(O, [he], U, H, I, [Y, pe], Le, Re, [Me]) }, Xe = { begin: /</, end: />/, keywords: "repeat each", contains: [].concat(O, [Me]) }, je = { begin: /\(/, end: /\)/, keywords: B, contains: [{ begin: c(T(d(S, /\s*:/)), T(d(S, /\s+/, S, /\s*:/))), end: /:/, relevance: 0, contains: [{ className: "keyword", match: /\b_\b/ }, { className: "params", match: S }] }].concat(O, U, I, [Y, pe], Re, [Me, Ye]), endsParent: !0, illegal: /["']/ }, V = { match: [/(func|macro)/, /\s+/, c(me.match, S, g)], className: { 1: "keyword", 3: "title.function" }, contains: [Xe, je, D], illegal: [/\[/, /%/] }, j = { begin: [/precedencegroup/, /\s+/, b], className: { 1: "keyword", 3: "title" }, contains: [Me], keywords: [].concat(m, l), end: /}/ }, z = { begin: [/(struct|protocol|class|extension|enum|actor)/, /\s+/, S, /\s*/], beginScope: { 1: "keyword", 3: "title.class" }, keywords: B, contains: [Xe].concat(U, [{ begin: /:/, end: /\{/, keywords: B, contains: [{ scope: "title.class.inherited", match: b }].concat(U), relevance: 0 }]) }, K = function(te, ge) {
45029
+ var at, Ye = { begin: /\(/, end: /\)/, relevance: 0, keywords: B, contains: ["self", { match: d(S, /\s*:/), keywords: "_|0", relevance: 0 }].concat(O, [he], U, H, I, [Y, pe], Le, Re, [Me]) }, Xe = { begin: /</, end: />/, keywords: "repeat each", contains: [].concat(O, [Me]) }, je = { begin: /\(/, end: /\)/, keywords: B, contains: [{ begin: c(T(d(S, /\s*:/)), T(d(S, /\s+/, S, /\s*:/))), end: /:/, relevance: 0, contains: [{ className: "keyword", match: /\b_\b/ }, { className: "params", match: S }] }].concat(O, U, I, [Y, pe], Re, [Me, Ye]), endsParent: !0, illegal: /["']/ }, V = { match: [/(func|macro)/, /\s+/, c(me.match, S, g)], className: { 1: "keyword", 3: "title.function" }, contains: [Xe, je, D], illegal: [/\[/, /%/] }, j = { begin: [/precedencegroup/, /\s+/, b], className: { 1: "keyword", 3: "title" }, contains: [Me], keywords: [].concat(m, l), end: /}/ }, z = { begin: [/(struct|protocol|class|extension|enum|actor)/, /\s+/, S, /\s*/], beginScope: { 1: "keyword", 3: "title.class" }, keywords: B, contains: [Xe].concat(U, [{ begin: /:/, end: /\{/, keywords: B, contains: [{ scope: "title.class.inherited", match: b }].concat(U), relevance: 0 }]) }, X = function(te, ge) {
45030
45030
  var de = typeof Symbol < "u" && te[Symbol.iterator] || te["@@iterator"];
45031
45031
  if (!de) {
45032
45032
  if (Array.isArray(te) || (de = t(te))) {
@@ -45059,7 +45059,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45059
45059
  } };
45060
45060
  }(pe.variants);
45061
45061
  try {
45062
- for (K.s(); !(at = K.n()).done; ) {
45062
+ for (X.s(); !(at = X.n()).done; ) {
45063
45063
  var ae = at.value.contains.find(function(te) {
45064
45064
  return te.label === "interpol";
45065
45065
  });
@@ -45068,9 +45068,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
45068
45068
  ae.contains = [].concat(e(_e), [{ begin: /\(/, end: /\)/, contains: ["self"].concat(e(_e)) }]);
45069
45069
  }
45070
45070
  } catch (te) {
45071
- K.e(te);
45071
+ X.e(te);
45072
45072
  } finally {
45073
- K.f();
45073
+ X.f();
45074
45074
  }
45075
45075
  return { name: "Swift", keywords: B, contains: [].concat(O, [V, { match: [/\b(?:subscript|init[?!]?)/, /\s*(?=[<(])/], className: { 1: "keyword" }, contains: [Xe, je, D], illegal: /\[|%/ }, { match: [/class\b/, /\s+/, /func\b/, /\s+/, /\b[A-Za-z_][A-Za-z0-9_]*\b/], scope: { 1: "keyword", 3: "keyword", 5: "title.function" } }, { match: [/class\b/, /\s+/, /var\b/], scope: { 1: "keyword", 3: "keyword" } }, z, { match: [/operator/, /\s+/, g], className: { 1: "keyword", 3: "title" } }, j, { beginKeywords: "import", end: /$/, contains: [].concat(O), relevance: 0 }, he], U, H, I, [Y, pe], Le, Re, [Me, Ye]) };
45076
45076
  };
@@ -48075,16 +48075,16 @@ var nT = function(r) {
48075
48075
  var a, s, o = r, u = [].concat(T).sort(function(Ne, ne) {
48076
48076
  return ne.start - Ne.start;
48077
48077
  }), l = function(Ne, ne) {
48078
- var X = typeof Symbol < "u" && Ne[Symbol.iterator] || Ne["@@iterator"];
48079
- if (!X) {
48080
- if (Array.isArray(Ne) || (X = function(se, Se) {
48078
+ var J = typeof Symbol < "u" && Ne[Symbol.iterator] || Ne["@@iterator"];
48079
+ if (!J) {
48080
+ if (Array.isArray(Ne) || (J = function(se, Se) {
48081
48081
  if (se) {
48082
48082
  if (typeof se == "string") return x7(se, void 0);
48083
48083
  var Ce = {}.toString.call(se).slice(8, -1);
48084
48084
  return Ce === "Object" && se.constructor && (Ce = se.constructor.name), Ce === "Map" || Ce === "Set" ? Array.from(se) : Ce === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce) ? x7(se, Se) : void 0;
48085
48085
  }
48086
48086
  }(Ne))) {
48087
- X && (Ne = X);
48087
+ J && (Ne = J);
48088
48088
  var Z = 0, ce = function() {
48089
48089
  };
48090
48090
  return { s: ce, n: function() {
@@ -48096,17 +48096,17 @@ var nT = function(r) {
48096
48096
  throw TypeError(`Invalid attempt to iterate non-iterable instance.
48097
48097
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
48098
48098
  }
48099
- var ee, J = !0, ue = !1;
48099
+ var ee, K = !0, ue = !1;
48100
48100
  return { s: function() {
48101
- X = X.call(Ne);
48101
+ J = J.call(Ne);
48102
48102
  }, n: function() {
48103
- var se = X.next();
48104
- return J = se.done, se;
48103
+ var se = J.next();
48104
+ return K = se.done, se;
48105
48105
  }, e: function(se) {
48106
48106
  ue = !0, ee = se;
48107
48107
  }, f: function() {
48108
48108
  try {
48109
- J || X.return == null || X.return();
48109
+ K || J.return == null || J.return();
48110
48110
  } finally {
48111
48111
  if (ue) throw ee;
48112
48112
  }
@@ -48187,7 +48187,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
48187
48187
  var je = void 0;
48188
48188
  x ? (f = f.replace(/\\enclose{circle}{([^}]*)}/g, "$1"), je = e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{circle}{").concat(g, "color{black}{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{black}{").concat(g, "enclose{circle}{").concat(g, "phantom{").concat(f, "}}}").concat(g, "color{black}{}")) : O ? (f = f.replace(/\\enclose{box}{([^}]*)}/g, "$1"), je = e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{box}{").concat(g, "color{black}{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{black}{").concat(g, "enclose{box}{").concat(g, "phantom{").concat(f, "}}}").concat(g, "color{black}{}")) : N ? (f = f.replace(/\\boxed{([^}]*)}/g, "$1"), je = e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{black}{").concat(g, "boxed{").concat(g, "phantom{").concat(f, "}}}").concat(g, "color{black}{}")) : je = R || w ? e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}{").concat(k).concat(f).concat(B, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{").concat(p, "}{").concat(g, "boxed{").concat(g, "color{black}{").concat(k).concat(g, "phantom{").concat(f, "}").concat(B, "}}}").concat(g, "color{black}{}") : D || M ? e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}{{").concat(f, "}}}}").concat(g, "color{black}{}") : "".concat(g, "color{").concat(p, "}{").concat(g, "boxed{").concat(g, "color{black}{{").concat(g, "phantom{").concat(f, "}}}}}").concat(g, "color{black}{}") : e ? "".concat(g, "color{").concat(Q, "}{").concat(g, "boxed{").concat(g, "color{black}").concat(g, "underline{").concat(f, "}}}").concat(g, "color{black}{}") : "".concat(g, "color{").concat(p, "}{").concat(g, "boxed{").concat(g, "color{black}").concat(g, "underline{").concat(g, "phantom{").concat(f, "}}}}").concat(g, "color{black}{}"), o = o.substring(0, h) + je + o.substring(E);
48189
48189
  } else {
48190
- var V, j = f.length > 20 ? "" : "text-align: center;", z = h, K = E, ae = !1, _e = !1, te = "", ge = "";
48190
+ var V, j = f.length > 20 ? "" : "text-align: center;", z = h, X = E, ae = !1, _e = !1, te = "", ge = "";
48191
48191
  if (h > 0) {
48192
48192
  for (var de = h - 1; de >= 0 && o.charAt(de) === " "; ) de--;
48193
48193
  if (de >= 0) {
@@ -48199,12 +48199,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
48199
48199
  for (var Je = E; Je < o.length && o.charAt(Je) === " "; ) Je++;
48200
48200
  if (Je < o.length) {
48201
48201
  var dt = o.charAt(Je);
48202
- (dt === ")" || dt === ")") && (K = Je + 1, _e = !0, ge = " )");
48202
+ (dt === ")" || dt === ")") && (X = Je + 1, _e = !0, ge = " )");
48203
48203
  }
48204
48204
  }
48205
- ae && _e || (ae = !1, _e = !1, te = "", ge = "", z = h, K = E);
48205
+ ae && _e || (ae = !1, _e = !1, te = "", ge = "", z = h, X = E);
48206
48206
  var We = "", Ot = f.slice(2, -2), ze = Ot.match(/^\\enclose\{circle\}\{([^}]*)\}$/), ht = Ot.match(/^\\enclose\{box\}\{([^}]*)\}$/);
48207
- We = f.startsWith("$$") && f.endsWith("$$") && ze ? e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{circle}{").concat(g, "color{black}{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{circle}{").concat(g, "phantom{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : f.startsWith("$$") && f.endsWith("$$") && ht ? e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{box}{").concat(g, "color{black}{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{box}{").concat(g, "phantom{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : ae && _e ? e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;outline: 1.3px solid ').concat(Q, '; outline-offset: 2px;">').concat(te).concat(f).concat(ge, "</span></span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;">').concat(te, '<span style="visibility: hidden;">').concat(f, "</span>").concat(ge, "</span></span>") : f.includes("underline") && (V = f, /^\$\$\\underline\{[\s\S]*\}\$\$/.test(V)) ? e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, "; outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '; border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>") : e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ";border-bottom: 1px solid black;outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ';border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>"), o = o.substring(0, z) + We + o.substring(K);
48207
+ We = f.startsWith("$$") && f.endsWith("$$") && ze ? e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{circle}{").concat(g, "color{black}{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{circle}{").concat(g, "phantom{").concat(ze[1], "}}}").concat(g, "color{black}{}$$") : f.startsWith("$$") && f.endsWith("$$") && ht ? e ? "$$".concat(g, "color{").concat(Q, "}{").concat(g, "enclose{box}{").concat(g, "color{black}{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : "$$".concat(g, "color{black}{").concat(g, "enclose{box}{").concat(g, "phantom{").concat(ht[1], "}}}").concat(g, "color{black}{}$$") : ae && _e ? e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;outline: 1.3px solid ').concat(Q, '; outline-offset: 2px;">').concat(te).concat(f).concat(ge, "</span></span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '"><span style="display: inline-block;">').concat(te, '<span style="visibility: hidden;">').concat(f, "</span>").concat(ge, "</span></span>") : f.includes("underline") && (V = f, /^\$\$\\underline\{[\s\S]*\}\$\$/.test(V)) ? e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, "; outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, '; border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>") : e ? '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ";border-bottom: 1px solid black;outline: 1.3px solid ").concat(Q, '; outline-offset: 2px;">').concat(f, "</span>") : '<span style="display: inline-block; min-width: '.concat(20, "px; ").concat(j, ';border-bottom: 1px solid black"><span style="visibility: hidden;">').concat(f, "</span></span>"), o = o.substring(0, z) + We + o.substring(X);
48208
48208
  }
48209
48209
  }
48210
48210
  } catch (Ne) {
@@ -48230,14 +48230,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
48230
48230
  return ne.start - Ne.start;
48231
48231
  }).forEach(function(Ne, ne) {
48232
48232
  Ne.fullMatch;
48233
- for (var X = Ne.answer, Z = Ne.start, ce = Ne.end, ee = !1, J = "\\", ue = [], se = 0; se < De.length - 1; se++) De.substr(se, 2) === "$$" && (ue.push(se), se++);
48233
+ for (var J = Ne.answer, Z = Ne.start, ce = Ne.end, ee = !1, K = "\\", ue = [], se = 0; se < De.length - 1; se++) De.substr(se, 2) === "$$" && (ue.push(se), se++);
48234
48234
  if (ue.length >= 2) for (var Se = 0; Se < ue.length - 1; Se += 2) {
48235
48235
  var Ce = ue[Se], Ie = ue[Se + 1] + 2;
48236
48236
  if (Ce < Z && Ie > ce && !De.substring(Z, ce).includes("$$")) {
48237
48237
  var gt = De.substring(Ce + 2, Ie - 2);
48238
48238
  if (!gt.includes("$$")) {
48239
48239
  var $e = gt.match(/^[^\\]*?(\\+)/);
48240
- J = $e ? $e[1] : J, ee = !0;
48240
+ K = $e ? $e[1] : K, ee = !0;
48241
48241
  break;
48242
48242
  }
48243
48243
  }
@@ -48275,7 +48275,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
48275
48275
  break;
48276
48276
  }
48277
48277
  if (!Ze) {
48278
- var Be = X.replace(/^##|##$/g, "").trim();
48278
+ var Be = J.replace(/^##|##$/g, "").trim();
48279
48279
  /^\\enclose\{circle\}\{[^{}]+\}$/.test(Be) && (Ze = !0);
48280
48280
  }
48281
48281
  for (var Ve = /\\enclose\{box\}\{([^{}]*?)##[^#]*##([^{}]*?)\}/g; (Zt = Ve.exec(r)) !== null; ) if (Zt.index < Z && Zt.index + Zt[0].length > ce) {
@@ -48283,7 +48283,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
48283
48283
  break;
48284
48284
  }
48285
48285
  if (!we) {
48286
- var et = X.replace(/^##|##$/g, "").trim();
48286
+ var et = J.replace(/^##|##$/g, "").trim();
48287
48287
  /^\\enclose\{box\}\{[^{}]+\}$/.test(et) && (we = !0);
48288
48288
  }
48289
48289
  var qe = function(qt, z1) {
@@ -48310,15 +48310,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
48310
48310
  if (Z >= Gt && ce <= Ut) break;
48311
48311
  }
48312
48312
  De.substring(Z - 7, Z) === "\\boxed{" && De.substring(ce, ce + 1) === "}" && (Z -= 7, ce += 1);
48313
- var kt = X, v1 = X.length > 20 ? "" : "text-align: center;";
48314
- O1 && (kt = '<span style="display: inline-block; min-width: 20px; '.concat(v1, '; border-bottom: 1px solid black">$$').concat(X, "$$</span>"));
48313
+ var kt = J, v1 = J.length > 20 ? "" : "text-align: center;";
48314
+ O1 && (kt = '<span style="display: inline-block; min-width: 20px; '.concat(v1, '; border-bottom: 1px solid black">$$').concat(J, "$$</span>"));
48315
48315
  var P1 = '<div style="min-height: 150px; border: 1px dashed '.concat(Q, "; margin-top: 10px; visibility: ").concat(e ? "visible" : "hidden", `" >
48316
48316
  <div style="padding: 10px;">`).concat(kt, `</div>
48317
48317
  </div>`);
48318
48318
  De = De.substring(0, Z) + P1 + De.substring(ce);
48319
48319
  } else {
48320
48320
  var X1 = '<div style="min-height: 150px; border: 1px dashed '.concat(Q, "; margin-top: 10px; visibility: ").concat(e ? "visible" : "hidden", `" >
48321
- <div style="padding: 10px;">`).concat(X, `</div>
48321
+ <div style="padding: 10px;">`).concat(J, `</div>
48322
48322
  </div>`);
48323
48323
  De = De.substring(0, Z) + X1 + De.substring(ce);
48324
48324
  }
@@ -49075,7 +49075,7 @@ var Ih = _1(function r(e, t, i, Q, p, T) {
49075
49075
  if (q[q.length - 2].width < parseFloat(rt("".concat(6, "vw"), P))) q[q.length - 1].width = parseFloat(rt("".concat(10, "vw"), P));
49076
49076
  else {
49077
49077
  if (q[q.length - 2] && q[q.length - 2].content.includes("fill_in_blank_block_empty")) {
49078
- var K = q[q.length - 2], ae = K.originWidth, _e = K.width, te = parseFloat(ae), ge = q[q.length - 2].content;
49078
+ var X = q[q.length - 2], ae = X.originWidth, _e = X.width, te = parseFloat(ae), ge = q[q.length - 2].content;
49079
49079
  ge = ge.replace(/(<span[^>]*class="[^"]*fill_in_blank_block_empty[^"]*"[^>]*style="[^"]*padding-left:\s*)[^;"]+([^"]*")/g, "$1".concat((_e - te) / 2, "px$2")), q[q.length - 2].content = ge;
49080
49080
  }
49081
49081
  q.pop();
@@ -50159,11 +50159,11 @@ var dT = _1(function r(e, t, i, Q) {
50159
50159
  return ge.nodeType === 1 && ((de = ge.getAttribute("id")) === null || de === void 0 ? void 0 : de.startsWith("serialBox-"));
50160
50160
  });
50161
50161
  if (z) {
50162
- var K = Array.from(z.childNodes), ae = K.find(function(ge) {
50162
+ var X = Array.from(z.childNodes), ae = X.find(function(ge) {
50163
50163
  var de;
50164
50164
  return ge.nodeType === 1 && ((de = ge.getAttribute("id")) === null || de === void 0 ? void 0 : de.startsWith("serial-"));
50165
50165
  });
50166
- je = K.length === 1 && !!ae, V = ae || "", K.length > 1 && K[K.length - 1] && (Ye = K[K.length - 1]);
50166
+ je = X.length === 1 && !!ae, V = ae || "", X.length > 1 && X[X.length - 1] && (Ye = X[X.length - 1]);
50167
50167
  }
50168
50168
  }
50169
50169
  if (r.showAnswer || !x) {
@@ -50364,9 +50364,9 @@ var dT = _1(function r(e, t, i, Q) {
50364
50364
  var Y = "";
50365
50365
  P = function(j) {
50366
50366
  if (!j || typeof j != "string") return j;
50367
- var z = /(\n?)(<p[^>]*><span[^>]*class="[^"]*tqed-mt[^"]*tqed-mt--answer-field[^"]*"[^>]*data-block-type="answer-field"[^>]*>[\s\u3000]*<\/span><\/p>)$/, K = j.match(z);
50368
- if (K) {
50369
- var ae = cn(K, 3), _e = ae[1], te = ae[2].replace(/^<p[^>]*>|<\/p>$/g, ""), ge = te.match(/<span[^>]*>/g);
50367
+ var z = /(\n?)(<p[^>]*><span[^>]*class="[^"]*tqed-mt[^"]*tqed-mt--answer-field[^"]*"[^>]*data-block-type="answer-field"[^>]*>[\s\u3000]*<\/span><\/p>)$/, X = j.match(z);
50368
+ if (X) {
50369
+ var ae = cn(X, 3), _e = ae[1], te = ae[2].replace(/^<p[^>]*>|<\/p>$/g, ""), ge = te.match(/<span[^>]*>/g);
50370
50370
  if (ge && ge.length === 1) {
50371
50371
  var de = te.replace(/<span[^>]*>|<\/span>/g, "").trim();
50372
50372
  if (!de || /^[\s\u3000]*$/.test(de)) return j.replace(z, _e || "");
@@ -51110,15 +51110,15 @@ function j7(r, e, t, i, Q, p, T, d, c) {
51110
51110
  if (!t) return;
51111
51111
  var E, _ = [], g = h;
51112
51112
  if (g = g.map(function(Z) {
51113
- var ce = null, ee = i[Z.imgIndex == 0 ? 0 : Z.imgIndex || l], J = 0, ue = 0;
51113
+ var ce = null, ee = i[Z.imgIndex == 0 ? 0 : Z.imgIndex || l], K = 0, ue = 0;
51114
51114
  if (ee && t) {
51115
51115
  t.setLineDash([6, 4]);
51116
51116
  var se = ee.getBoundingClientRect();
51117
- J = se.top, ue = se.left;
51117
+ K = se.top, ue = se.left;
51118
51118
  }
51119
51119
  return ce = typeof Z.coordinates == "string" ? Z.coordinates : Array.isArray(Z.coordinates) ? Z.coordinates.map(function(Se) {
51120
- return { x: ue + Se.x, y: J + Se.y };
51121
- }) : { x: ue + Z.coordinates.center[0].x, y: J + Z.coordinates.center[0].y, radium: Z.coordinates.radium }, y1(y1({}, Z), {}, { coordinates: ce });
51120
+ return { x: ue + Se.x, y: K + Se.y };
51121
+ }) : { x: ue + Z.coordinates.center[0].x, y: K + Z.coordinates.center[0].y, radium: Z.coordinates.radium }, y1(y1({}, Z), {}, { coordinates: ce });
51122
51122
  }), l !== void 0) {
51123
51123
  var v = i[l];
51124
51124
  if (v && t) {
@@ -51202,7 +51202,7 @@ function j7(r, e, t, i, Q, p, T, d, c) {
51202
51202
  if (me.length == 4) {
51203
51203
  (function(Z, ce) {
51204
51204
  if (Z) {
51205
- var ee, J = (ee = ce, { maxX: Math.max.apply(Math, Yt(ee.map(function(Mt) {
51205
+ var ee, K = (ee = ce, { maxX: Math.max.apply(Math, Yt(ee.map(function(Mt) {
51206
51206
  return Mt.x;
51207
51207
  }))), maxY: Math.max.apply(Math, Yt(ee.map(function(Mt) {
51208
51208
  return Mt.y;
@@ -51210,7 +51210,7 @@ function j7(r, e, t, i, Q, p, T, d, c) {
51210
51210
  return Mt.x;
51211
51211
  }))), minY: Math.min.apply(Math, Yt(ee.map(function(Mt) {
51212
51212
  return Mt.y;
51213
- }))) }), ue = J.maxX, se = J.maxY, Se = J.minX, Ce = J.minY, Ie = { x: (ue + Se) / 2, y: (se + Ce) / 2 }, gt = Math.abs(ue - Se) / 2, $e = Math.abs(se - Ce) / 2;
51213
+ }))) }), ue = K.maxX, se = K.maxY, Se = K.minX, Ce = K.minY, Ie = { x: (ue + Se) / 2, y: (se + Ce) / 2 }, gt = Math.abs(ue - Se) / 2, $e = Math.abs(se - Ce) / 2;
51214
51214
  Z.save(), Z.beginPath(), Z.setLineDash([6, 4]), Z.ellipse(Ie.x, Ie.y, gt, $e, 0, -Math.PI / 2, 0, !1), Z.ellipse(Ie.x, Ie.y, gt, $e, 0, 0, Math.PI / 2, !1), Z.ellipse(Ie.x, Ie.y, gt, $e, 0, Math.PI / 2, Math.PI, !1), Z.ellipse(Ie.x, Ie.y, gt, $e, 0, Math.PI, Math.PI / 2, !1), Z.stroke(), Z.setLineDash([]), Z.restore();
51215
51215
  }
51216
51216
  })(t, me);
@@ -51229,7 +51229,7 @@ function j7(r, e, t, i, Q, p, T, d, c) {
51229
51229
  } else if (me.length == 6)
51230
51230
  if (me[3].x > me[2].x) {
51231
51231
  Xn(t, [me[5], me[0], me[1]]), Xn(t, [me[3], me[4], me[5]]);
51232
- var je = e3([me[5], me[0], me[4], me[2]]), V = je.maxX, j = je.maxY, z = je.minX, K = je.minY;
51232
+ var je = e3([me[5], me[0], me[4], me[2]]), V = je.maxX, j = je.maxY, z = je.minX, X = je.minY;
51233
51233
  if (T) {
51234
51234
  var ae = (h || []).filter(function(Z) {
51235
51235
  return Z.type == "文本答案";
@@ -51238,7 +51238,7 @@ function j7(r, e, t, i, Q, p, T, d, c) {
51238
51238
  }).join("");
51239
51239
  if (ae) {
51240
51240
  var _e = document.createElement("div");
51241
- _e.style.position = "absolute", _e.style.width = "".concat(V - z, "px"), _e.style.height = "".concat(j - K, "px"), _e.style.top = "".concat(K, "px"), _e.style.left = "".concat(z, "px"), _e.style.display = "flex", _e.style.alignItems = "center", _e.style.justifyContent = "center", _e.innerHTML = M2(ae), r.appendChild(_e);
51241
+ _e.style.position = "absolute", _e.style.width = "".concat(V - z, "px"), _e.style.height = "".concat(j - X, "px"), _e.style.top = "".concat(X, "px"), _e.style.left = "".concat(z, "px"), _e.style.display = "flex", _e.style.alignItems = "center", _e.style.justifyContent = "center", _e.innerHTML = M2(ae), r.appendChild(_e);
51242
51242
  }
51243
51243
  }
51244
51244
  } else {
@@ -51278,14 +51278,14 @@ function j7(r, e, t, i, Q, p, T, d, c) {
51278
51278
  console.warn("绘制扇形需要3个点坐标");
51279
51279
  return;
51280
51280
  }
51281
- return function(ee, J, ue, se) {
51281
+ return function(ee, K, ue, se) {
51282
51282
  if (ee) {
51283
- var Se = Math.sqrt(Math.pow(ue.x - J.x, 2) + Math.pow(ue.y - J.y, 2)), Ce = Math.atan2(ue.y - J.y, ue.x - J.x), Ie = Math.atan2(se.y - J.y, se.x - J.x);
51284
- ee.save(), ee.beginPath(), ee.moveTo(J.x, J.y), ee.setLineDash([6, 4]), ee.arc(J.x, J.y, Se, Ce, Ie, !1), ee.closePath(), ee.stroke(), ee.setLineDash([]), ee.restore();
51283
+ var Se = Math.sqrt(Math.pow(ue.x - K.x, 2) + Math.pow(ue.y - K.y, 2)), Ce = Math.atan2(ue.y - K.y, ue.x - K.x), Ie = Math.atan2(se.y - K.y, se.x - K.x);
51284
+ ee.save(), ee.beginPath(), ee.moveTo(K.x, K.y), ee.setLineDash([6, 4]), ee.arc(K.x, K.y, Se, Ce, Ie, !1), ee.closePath(), ee.stroke(), ee.setLineDash([]), ee.restore();
51285
51285
  var gt = Ce + (Ie - Ce) / 2;
51286
51286
  Ie < Ce && (gt = Ce + (Ie + 2 * Math.PI - Ce) / 2) > Math.PI && (gt -= 2 * Math.PI);
51287
- var $e = { x: J.x + Se * Math.cos(gt), y: J.y + Se * Math.sin(gt) };
51288
- return { x: ($e.x + J.x) / 2, y: ($e.y + J.y) / 2 };
51287
+ var $e = { x: K.x + Se * Math.cos(gt), y: K.y + Se * Math.sin(gt) };
51288
+ return { x: ($e.x + K.x) / 2, y: ($e.y + K.y) / 2 };
51289
51289
  }
51290
51290
  }(Z, ce[0], ce[1], ce[2]);
51291
51291
  }(t, t1);
@@ -51296,8 +51296,8 @@ function j7(r, e, t, i, Q, p, T, d, c) {
51296
51296
  return Z.answer_text;
51297
51297
  }).join("");
51298
51298
  if (ne) {
51299
- var X = document.createElement("div");
51300
- X.style.position = "absolute", X.style.top = "".concat(Ne.y, "px"), X.style.left = "".concat(Ne.x, "px"), X.style.display = "flex", X.style.alignItems = "center", X.style.justifyContent = "center", X.style.transform = "translate(-50%, -50%)", X.innerHTML = M2(ne), r.appendChild(X);
51299
+ var J = document.createElement("div");
51300
+ J.style.position = "absolute", J.style.top = "".concat(Ne.y, "px"), J.style.left = "".concat(Ne.x, "px"), J.style.display = "flex", J.style.alignItems = "center", J.style.justifyContent = "center", J.style.transform = "translate(-50%, -50%)", J.innerHTML = M2(ne), r.appendChild(J);
51301
51301
  }
51302
51302
  }
51303
51303
  }
@@ -55531,10 +55531,11 @@ const R6 = {
55531
55531
  }, hG = () => null;
55532
55532
  let J3 = null;
55533
55533
  const O9 = (r) => {
55534
- J3 = (e) => {
55535
- console.log("[Bridge] 收到 sendMsgCommon 消息:", e);
55536
- const t = JSON.parse(e);
55537
- t.busKey === "biz_question_info" && r(t.data);
55534
+ const t = JSON.parse('{"busKey":"biz_question_info","code":0,"data":{"content":"Darren bought 140 basketballs for the school teams.He gave $$ \\frac { 4 } { 7 } $$ of the basketballs to the boys team and $$ \\frac { 7 } { 1 2 } $$ of the remainder to the girlsteam The rest of the balls were then kept in the storeroom for P. E. classes.How many basketballs were kept for P.E. classes?Answer: basketballs.","envNumber":0,"imagePath":"https://kjdsfz-cdn.thethinkacademy.com/thinksnap/20251121/1763733021540nxcBr7W2vO.jpg","ocrText":"Darren bought 140 basketballs for the school teams.He gave $$ \\frac { 4 } { 7 } $$ of the basketballs to the boys team and $$ \\frac { 7 } { 1 2 } $$ of the remainder to the girlsteam The rest of the balls were then kept in the storeroom for P. E. classes.How many basketballs were kept for P.E. classes?Answer: basketballs.","questionId":"1","sessionId":"","similarity":0.0,"talId":"","pkgName": "snapThink"},"message":""}');
55535
+ r(t.data), J3 = (i) => {
55536
+ console.log("[Bridge] 收到 sendMsgCommon 消息:", i);
55537
+ const Q = JSON.parse(i);
55538
+ Q.busKey === "biz_question_info" && r(Q.data);
55538
55539
  }, R6.on("sendMsgCommon", J3);
55539
55540
  }, M9 = () => {
55540
55541
  J3 && (R6.off("sendMsgCommon", J3), J3 = null);
@@ -58634,10 +58635,10 @@ function fp() {
58634
58635
  if (Pe < 16)
58635
58636
  Ye = Xe.high = l[m + Pe * 2] | 0, at = Xe.low = l[m + Pe * 2 + 1] | 0;
58636
58637
  else {
58637
- var je = o[Pe - 15], V = je.high, j = je.low, z = (V >>> 1 | j << 31) ^ (V >>> 8 | j << 24) ^ V >>> 7, K = (j >>> 1 | V << 31) ^ (j >>> 8 | V << 24) ^ (j >>> 7 | V << 25), ae = o[Pe - 2], _e = ae.high, te = ae.low, ge = (_e >>> 19 | te << 13) ^ (_e << 3 | te >>> 29) ^ _e >>> 6, de = (te >>> 19 | _e << 13) ^ (te << 3 | _e >>> 29) ^ (te >>> 6 | _e << 26), st = o[Pe - 7], Je = st.high, dt = st.low, We = o[Pe - 16], Ot = We.high, ze = We.low;
58638
- at = K + dt, Ye = z + Je + (at >>> 0 < K >>> 0 ? 1 : 0), at = at + de, Ye = Ye + ge + (at >>> 0 < de >>> 0 ? 1 : 0), at = at + ze, Ye = Ye + Ot + (at >>> 0 < ze >>> 0 ? 1 : 0), Xe.high = Ye, Xe.low = at;
58638
+ var je = o[Pe - 15], V = je.high, j = je.low, z = (V >>> 1 | j << 31) ^ (V >>> 8 | j << 24) ^ V >>> 7, X = (j >>> 1 | V << 31) ^ (j >>> 8 | V << 24) ^ (j >>> 7 | V << 25), ae = o[Pe - 2], _e = ae.high, te = ae.low, ge = (_e >>> 19 | te << 13) ^ (_e << 3 | te >>> 29) ^ _e >>> 6, de = (te >>> 19 | _e << 13) ^ (te << 3 | _e >>> 29) ^ (te >>> 6 | _e << 26), st = o[Pe - 7], Je = st.high, dt = st.low, We = o[Pe - 16], Ot = We.high, ze = We.low;
58639
+ at = X + dt, Ye = z + Je + (at >>> 0 < X >>> 0 ? 1 : 0), at = at + de, Ye = Ye + ge + (at >>> 0 < de >>> 0 ? 1 : 0), at = at + ze, Ye = Ye + Ot + (at >>> 0 < ze >>> 0 ? 1 : 0), Xe.high = Ye, Xe.low = at;
58639
58640
  }
58640
- var ht = pe & ve ^ ~pe & me, h1 = Qe & he ^ ~Qe & Le, t1 = P & Y ^ P & W ^ Y & W, De = G & q ^ G & re ^ q & re, Ne = (P >>> 28 | G << 4) ^ (P << 30 | G >>> 2) ^ (P << 25 | G >>> 7), ne = (G >>> 28 | P << 4) ^ (G << 30 | P >>> 2) ^ (G << 25 | P >>> 7), X = (pe >>> 14 | Qe << 18) ^ (pe >>> 18 | Qe << 14) ^ (pe << 23 | Qe >>> 9), Z = (Qe >>> 14 | pe << 18) ^ (Qe >>> 18 | pe << 14) ^ (Qe << 23 | pe >>> 9), ce = s[Pe], ee = ce.high, J = ce.low, ue = Me + Z, se = Re + X + (ue >>> 0 < Me >>> 0 ? 1 : 0), ue = ue + h1, se = se + ht + (ue >>> 0 < h1 >>> 0 ? 1 : 0), ue = ue + J, se = se + ee + (ue >>> 0 < J >>> 0 ? 1 : 0), ue = ue + at, se = se + Ye + (ue >>> 0 < at >>> 0 ? 1 : 0), Se = ne + De, Ce = Ne + t1 + (Se >>> 0 < ne >>> 0 ? 1 : 0);
58641
+ var ht = pe & ve ^ ~pe & me, h1 = Qe & he ^ ~Qe & Le, t1 = P & Y ^ P & W ^ Y & W, De = G & q ^ G & re ^ q & re, Ne = (P >>> 28 | G << 4) ^ (P << 30 | G >>> 2) ^ (P << 25 | G >>> 7), ne = (G >>> 28 | P << 4) ^ (G << 30 | P >>> 2) ^ (G << 25 | P >>> 7), J = (pe >>> 14 | Qe << 18) ^ (pe >>> 18 | Qe << 14) ^ (pe << 23 | Qe >>> 9), Z = (Qe >>> 14 | pe << 18) ^ (Qe >>> 18 | pe << 14) ^ (Qe << 23 | pe >>> 9), ce = s[Pe], ee = ce.high, K = ce.low, ue = Me + Z, se = Re + J + (ue >>> 0 < Me >>> 0 ? 1 : 0), ue = ue + h1, se = se + ht + (ue >>> 0 < h1 >>> 0 ? 1 : 0), ue = ue + K, se = se + ee + (ue >>> 0 < K >>> 0 ? 1 : 0), ue = ue + at, se = se + Ye + (ue >>> 0 < at >>> 0 ? 1 : 0), Se = ne + De, Ce = Ne + t1 + (Se >>> 0 < ne >>> 0 ? 1 : 0);
58641
58642
  Re = me, Me = Le, me = ve, Le = he, ve = pe, he = Qe, Qe = le + ue | 0, pe = Te + se + (Qe >>> 0 < le >>> 0 ? 1 : 0) | 0, Te = W, le = re, W = Y, re = q, Y = P, q = G, G = ue + Se | 0, P = se + Ce + (G >>> 0 < ue >>> 0 ? 1 : 0) | 0;
58642
58643
  }
58643
58644
  L = h.low = L + G, h.high = A + P + (L >>> 0 < G >>> 0 ? 1 : 0), D = E.low = D + q, E.high = C + Y + (D >>> 0 < q >>> 0 ? 1 : 0), O = _.low = O + re, _.high = x + W + (O >>> 0 < re >>> 0 ? 1 : 0), N = g.low = N + le, g.high = M + Te + (N >>> 0 < le >>> 0 ? 1 : 0), w = v.low = w + Qe, v.high = R + pe + (w >>> 0 < Qe >>> 0 ? 1 : 0), B = y.low = B + he, y.high = k + ve + (B >>> 0 < he >>> 0 ? 1 : 0), H = S.low = H + Le, S.high = U + me + (H >>> 0 < Le >>> 0 ? 1 : 0), I = b.low = I + Me, b.high = F + Re + (I >>> 0 < Me >>> 0 ? 1 : 0);
@@ -63672,12 +63673,12 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63672
63673
  w
63673
63674
  ), { isKeyboardVisible: Ye, keyboardHeight: Xe } = uq(), je = (ee) => ug(ee), V = (ee) => {
63674
63675
  var ue, se;
63675
- const J = typeof ee == "boolean" ? ee : !p.value;
63676
- p.value = J, J || (Ke.clear(), L.value.forEach((Se) => {
63676
+ const K = typeof ee == "boolean" ? ee : !p.value;
63677
+ p.value = K, K || (Ke.clear(), L.value.forEach((Se) => {
63677
63678
  Se.isPlayingTTS && (Se.isPlayingTTS = !1);
63678
63679
  })), Ke.setMuted(!p.value), (se = (ue = u.value.muteButton) == null ? void 0 : ue.onClick) == null || se.call(ue, p.value);
63679
63680
  }, j = () => {
63680
- var ee, J, ue;
63681
+ var ee, K, ue;
63681
63682
  if (!(H.value || B.value && ((ee = o.value) != null && ee.historyType)) && T.value.trim()) {
63682
63683
  Ke.clear();
63683
63684
  const se = L.value.findIndex((Ie) => Ie.isNetworkError);
@@ -63688,7 +63689,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63688
63689
  break;
63689
63690
  }
63690
63691
  const Se = T.value.trim(), Ce = M(Se);
63691
- T.value = "", (ue = (J = u.value.input) == null ? void 0 : J.onSend) == null || ue.call(J, Se), setTimeout(() => F(
63692
+ T.value = "", (ue = (K = u.value.input) == null ? void 0 : K.onSend) == null || ue.call(K, Se), setTimeout(() => F(
63692
63693
  Se,
63693
63694
  o.value.session_id,
63694
63695
  p.value,
@@ -63702,18 +63703,18 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63702
63703
  }, z = () => {
63703
63704
  var ee;
63704
63705
  H.value || B.value && ((ee = o.value) != null && ee.historyType) || (Ke.clear(), Q("messageSend", "voice", ""), d.value = !0);
63705
- }, K = (ee) => {
63706
+ }, X = (ee) => {
63706
63707
  var ue, se;
63707
63708
  d.value = !1;
63708
- const J = ee == null ? void 0 : ee.content;
63709
- J.trim() && ((se = (ue = u.value.input) == null ? void 0 : ue.onSend) == null || se.call(ue, J), T.value = J);
63709
+ const K = ee == null ? void 0 : ee.content;
63710
+ K.trim() && ((se = (ue = u.value.input) == null ? void 0 : ue.onSend) == null || se.call(ue, K), T.value = K);
63710
63711
  }, ae = () => {
63711
63712
  d.value = !1;
63712
63713
  }, _e = (ee) => {
63713
63714
  if (ee.isRotating) return;
63714
63715
  ee.isRotating = !0;
63715
- const J = L.value.findIndex((ue) => ue.isNetworkError);
63716
- J !== -1 && L.value.splice(J, 1), setTimeout(() => {
63716
+ const K = L.value.findIndex((ue) => ue.isNetworkError);
63717
+ K !== -1 && L.value.splice(K, 1), setTimeout(() => {
63717
63718
  ee.isRotating = !1, ee.sendStatus = "pending", setTimeout(() => F(
63718
63719
  ee.content,
63719
63720
  o.value.session_id,
@@ -63725,8 +63726,8 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63725
63726
  }, 600);
63726
63727
  }, te = (ee) => {
63727
63728
  Ke.clear();
63728
- const J = L.value.findIndex((se) => se.isNetworkError);
63729
- J !== -1 && L.value.splice(J, 1);
63729
+ const K = L.value.findIndex((se) => se.isNetworkError);
63730
+ K !== -1 && L.value.splice(K, 1);
63730
63731
  for (let se = L.value.length - 1; se >= 0; se--)
63731
63732
  if (L.value[se].type === "ai") {
63732
63733
  L.value[se].showFeedbackAndContinue = !1, L.value[se].showFeedbackOnly = !1, L.value[se].showCompletionSection = !1, L.value[se].category = 0;
@@ -63741,8 +63742,8 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63741
63742
  ), 300);
63742
63743
  }, ge = (ee) => {
63743
63744
  Ke.clear();
63744
- const J = L.value.findIndex((se) => se.isNetworkError);
63745
- J !== -1 && L.value.splice(J, 1);
63745
+ const K = L.value.findIndex((se) => se.isNetworkError);
63746
+ K !== -1 && L.value.splice(K, 1);
63746
63747
  for (let se = L.value.length - 1; se >= 0; se--)
63747
63748
  if (L.value[se].type === "ai") {
63748
63749
  L.value[se].showFeedbackAndContinue = !1, L.value[se].showFeedbackOnly = !1, L.value[se].showCompletionSection = !1, L.value[se].category = 0;
@@ -63759,7 +63760,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63759
63760
  b.value || A.value
63760
63761
  // 如果已出现讲题完成区域或已在追问模式,则为追问
63761
63762
  ), 300);
63762
- }, de = (ee, J) => {
63763
+ }, de = (ee, K) => {
63763
63764
  Ke.clear();
63764
63765
  const ue = L.value.findIndex((Ce) => Ce.isNetworkError);
63765
63766
  ue !== -1 && L.value.splice(ue, 1);
@@ -63768,7 +63769,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63768
63769
  L.value[Ce].showFeedbackAndContinue = !1, L.value[Ce].showFeedbackOnly = !1, L.value[Ce].showCompletionSection = !1, L.value[Ce].category = 0;
63769
63770
  break;
63770
63771
  }
63771
- const se = D(J);
63772
+ const se = D(K);
63772
63773
  se && (se.showCompletionSection = !1);
63773
63774
  const Se = M(ee);
63774
63775
  setTimeout(() => F(
@@ -63784,16 +63785,16 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63784
63785
  Ke.clear(), Q("snap-another");
63785
63786
  }, Je = () => {
63786
63787
  Ke.clear(), N();
63787
- const ee = Qp(), J = "session_" + mp.MD5(ee).toString();
63788
- k.value = J, B.value = !1, Pe.value = !1, H.value = !0, Q("session-updated", {
63789
- session_id: J,
63790
- sessionId: J
63788
+ const ee = Qp(), K = "session_" + mp.MD5(ee).toString();
63789
+ k.value = K, B.value = !1, Pe.value = !1, H.value = !0, Q("session-updated", {
63790
+ session_id: K,
63791
+ sessionId: K
63791
63792
  });
63792
63793
  const ue = M("Explain Again");
63793
63794
  setTimeout(() => {
63794
63795
  F(
63795
63796
  "Explain Again",
63796
- J,
63797
+ K,
63797
63798
  p.value,
63798
63799
  k.value,
63799
63800
  !1,
@@ -63802,8 +63803,8 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63802
63803
  );
63803
63804
  }, 300);
63804
63805
  }, dt = (ee) => {
63805
- const J = L.value.findIndex((Se) => Se.isNetworkError);
63806
- J !== -1 && L.value.splice(J, 1);
63806
+ const K = L.value.findIndex((Se) => Se.isNetworkError);
63807
+ K !== -1 && L.value.splice(K, 1);
63807
63808
  const ue = D(ee);
63808
63809
  ue && (ue.showButtons = !1), H.value = !1;
63809
63810
  const se = v.value.startExplaining;
@@ -63821,7 +63822,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63821
63822
  eventType: "click"
63822
63823
  }), await W2({ subject_id: (ee = o.value) == null ? void 0 : ee.session_id, question: "Not my question" }), gp();
63823
63824
  }, Ot = async (ee) => {
63824
- var J, ue;
63825
+ var K, ue;
63825
63826
  if (ee === "upvote")
63826
63827
  ne({
63827
63828
  eventName: "SnapThink_Result_Feedback",
@@ -63831,7 +63832,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63831
63832
  // 2:整体反馈区域
63832
63833
  feedback_type: 0
63833
63834
  // 0:赞, 1:踩
63834
- }), await W2({ subject_id: (J = o.value) == null ? void 0 : J.session_id, vote: "upvote" });
63835
+ }), await W2({ subject_id: (K = o.value) == null ? void 0 : K.session_id, vote: "upvote" });
63835
63836
  else if (ee === "downvote") {
63836
63837
  if (le.value) {
63837
63838
  await W2({ subject_id: (ue = o.value) == null ? void 0 : ue.session_id, vote: "downvote" });
@@ -63839,7 +63840,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63839
63840
  }
63840
63841
  P.value = !0, G.value = "feedback", Y.value = "angry";
63841
63842
  }
63842
- }, ze = (ee, J) => {
63843
+ }, ze = (ee, K) => {
63843
63844
  ee === "upvote" && ne({
63844
63845
  eventName: "SnapThink_Result_Feedback",
63845
63846
  eventShowName: "结果页用户反馈",
@@ -63850,17 +63851,17 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63850
63851
  // 0:赞, 1:踩
63851
63852
  }), Le(
63852
63853
  ee,
63853
- J,
63854
+ K,
63854
63855
  o.value.session_id,
63855
63856
  k.value
63856
63857
  );
63857
- }, ht = async (ee, J) => {
63858
+ }, ht = async (ee, K) => {
63858
63859
  var ue, se;
63859
63860
  if (ee) {
63860
63861
  if (ee === "upvote")
63861
63862
  await W2({ subject_id: (ue = o.value) == null ? void 0 : ue.session_id, vote: "upvote" });
63862
63863
  else if (ee === "downvote") {
63863
- if (J) {
63864
+ if (K) {
63864
63865
  await W2({ subject_id: (se = o.value) == null ? void 0 : se.session_id, vote: "downvote" });
63865
63866
  return;
63866
63867
  }
@@ -63875,38 +63876,38 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63875
63876
  setTimeout(() => R(), 100);
63876
63877
  }, Ne = (ee) => ee.pkgName !== "SGpaisou" && ee.snapThinkSource === "correctionNotebook" ? 5 : ee.pkgName !== "SGpaisou" && ee.snapThinkSource === "history" ? 4 : ee.favorite === 1 ? 3 : ee.isOverSevenDays === 0 || ee.isOverSevenDays ? 2 : 1, ne = (ee) => {
63877
63878
  var ue, se, Se, Ce, Ie, gt, $e;
63878
- const J = {
63879
+ const K = {
63879
63880
  question_id: ((ue = o.value) == null ? void 0 : ue.question_id) || ((se = o.value) == null ? void 0 : se.questionId) || "",
63880
63881
  question_url: ((Se = o.value) == null ? void 0 : Se.imagePath) || ((Ce = o.value) == null ? void 0 : Ce.image_path) || "",
63881
63882
  question_text: ((Ie = o.value) == null ? void 0 : Ie.ocrText) || ((gt = o.value) == null ? void 0 : gt.content) || "",
63882
63883
  App_platform: (($e = o.value) == null ? void 0 : $e.pkgName) === "SGpaisou" ? "1" : "2",
63883
63884
  ...ee
63884
63885
  };
63885
- Q("messageSend", "dataCollection", J);
63886
- }, X = async (ee) => {
63886
+ Q("messageSend", "dataCollection", K);
63887
+ }, J = async (ee) => {
63887
63888
  var ue, se;
63888
63889
  console.log("[AIChatComponent] Received biz_question_info:", ee);
63889
- const J = ee;
63890
- M9(), a.setQuestionInfo(J);
63890
+ const K = ee;
63891
+ M9(), a.setQuestionInfo(K);
63891
63892
  try {
63892
63893
  Q("question-data-updated", {
63893
- questionText: J.content || J.orc_text,
63894
- questionImage: J.imagePath,
63895
- questionId: J.question_id
63894
+ questionText: K.content || K.orc_text,
63895
+ questionImage: K.imagePath,
63896
+ questionId: K.question_id
63896
63897
  });
63897
63898
  const Se = {
63898
- session_id: J.sessionId,
63899
- question_id: J.questionId,
63900
- content: J.content,
63901
- orc_text: J.ocrText,
63902
- image_path: J.imagePath
63899
+ session_id: K.sessionId,
63900
+ question_id: K.questionId,
63901
+ content: K.content,
63902
+ orc_text: K.ocrText,
63903
+ image_path: K.imagePath
63903
63904
  }, Ce = await hp(Se);
63904
63905
  if (Ce != null && Ce.data) {
63905
63906
  const Ie = {
63906
- ...J,
63907
+ ...K,
63907
63908
  ...Ce.data,
63908
- envNumber: J.envNumber || ((ue = a.userInfo) == null ? void 0 : ue.envNumber),
63909
- imgUrl: J.imagePath,
63909
+ envNumber: K.envNumber || ((ue = a.userInfo) == null ? void 0 : ue.envNumber),
63910
+ imgUrl: K.imagePath,
63910
63911
  avatar: (se = a.userInfo) == null ? void 0 : se.avatar
63911
63912
  };
63912
63913
  a.updateQuestionInfo(Ie), N(), Z(o.value), w1(() => {
@@ -63927,10 +63928,10 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63927
63928
  console.error("[AIChatComponent] handleSearchQuestion error:", Se);
63928
63929
  }
63929
63930
  }, Z = (ee) => {
63930
- const J = ee.question_type ?? ee.questionType;
63931
- if (J === 1 || J === "1")
63931
+ const K = ee.question_type ?? ee.questionType;
63932
+ if (K === 1 || K === "1")
63932
63933
  return;
63933
- if (ee.pkgName !== "SGpaisou" && J !== 0 && J !== "0") {
63934
+ if (ee.pkgName !== "SGpaisou" && K !== 0 && K !== "0") {
63934
63935
  const Se = M("Start Explaining");
63935
63936
  setTimeout(() => F(
63936
63937
  "Start Explaining",
@@ -63958,13 +63959,13 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63958
63959
  }
63959
63960
  );
63960
63961
  }, ce = async () => {
63961
- var J, ue;
63962
+ var K, ue;
63962
63963
  const ee = await Aj(o.value.session_id);
63963
63964
  if (ee != null && ee.data) {
63964
63965
  const se = {
63965
63966
  ...o.value,
63966
63967
  ...ee.data,
63967
- envNumber: o.value.envNumber || ((J = a.userInfo) == null ? void 0 : J.envNumber),
63968
+ envNumber: o.value.envNumber || ((K = a.userInfo) == null ? void 0 : K.envNumber),
63968
63969
  imgUrl: o.value.imagePath,
63969
63970
  avatar: (ue = a.userInfo) == null ? void 0 : ue.avatar
63970
63971
  };
@@ -63972,25 +63973,25 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
63972
63973
  }
63973
63974
  };
63974
63975
  return l6(() => {
63975
- var J;
63976
- if ((J = o.value) != null && J.historyType) {
63976
+ var K;
63977
+ if ((K = o.value) != null && K.historyType) {
63977
63978
  ce(), U(o.value, v.value, Me.value), o.value.isOverSevenDays ? H.value = !0 : H.value = !1;
63978
63979
  return;
63979
63980
  }
63980
63981
  if ((!a.userInfo || Object.keys(a.userInfo).length === 0) && i.questionInfo && Object.keys(i.questionInfo).length > 0) {
63981
- a.updateQuestionInfo(i.questionInfo), X(i.questionInfo);
63982
+ a.updateQuestionInfo(i.questionInfo), J(i.questionInfo);
63982
63983
  return;
63983
63984
  }
63984
63985
  const ee = hG();
63985
- ee ? ee.pkgName !== "SGpaisou" ? X(ee) : (X(ee), O9((ue) => {
63986
- X(ue);
63986
+ ee ? ee.pkgName !== "SGpaisou" ? J(ee) : (J(ee), O9((ue) => {
63987
+ J(ue);
63987
63988
  })) : O9((ue) => {
63988
- X(ue);
63989
+ J(ue);
63989
63990
  });
63990
63991
  }), wu(() => {
63991
63992
  Ke.destroy(), M9();
63992
- }), mr(() => i.questionInfo, (ee) => {
63993
- a.questionInfo && Object.keys(a.questionInfo).length > 0 || ee && (N(), Z(ee), w1(() => {
63993
+ }), mr(() => i.questionInfo, (ee, K) => {
63994
+ a.questionInfo && Object.keys(a.questionInfo).length > 0 || ee && ee !== K && (N(), Z(ee), w1(() => {
63994
63995
  ee.question_type !== 0 && ne({
63995
63996
  question_id: ee.question_id || ee.questionId || "",
63996
63997
  eventName: "SnapThink_Result_Show",
@@ -64002,8 +64003,8 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64002
64003
  // 1-result, 2-AI result
64003
64004
  });
64004
64005
  }));
64005
- }, { immediate: !0 }), mr([P, G], ([ee, J]) => {
64006
- ee && J === "insolubility" && ne({
64006
+ }), mr([P, G], ([ee, K]) => {
64007
+ ee && K === "insolubility" && ne({
64007
64008
  eventName: "SnapThink_Cannot_Explain_Popup_Show",
64008
64009
  eventShowName: "无法讲解弹窗曝光",
64009
64010
  eventType: "exposure"
@@ -64014,13 +64015,13 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64014
64015
  addUserMessage: M,
64015
64016
  clearMessages: N,
64016
64017
  scrollToBottom: R,
64017
- handleVoiceData: K,
64018
+ handleVoiceData: X,
64018
64019
  cancelVoiceRecord: ae,
64019
64020
  messages: L.value,
64020
64021
  // 静音相关
64021
64022
  isSoundOn: p,
64022
64023
  handleMuteToggle: V
64023
- }), (ee, J) => {
64024
+ }), (ee, K) => {
64024
64025
  var ue, se, Se, Ce, Ie, gt, $e, Mt, Zt, Ee, O1, Ze, we, Vt, bt, r1, n1, Lt, Y1, Kt, fe, be, ke, _t, xe, $, Oe, Be, Ve, et, qe, Ge;
64025
64026
  return tt(), it("div", {
64026
64027
  class: $t(["ai-chat-container", (ue = u.value.customClasses) == null ? void 0 : ue.container, { "keyboard-visible": ye(Ye) }]),
@@ -64070,11 +64071,11 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64070
64071
  ref: s,
64071
64072
  class: $t(["chat-content", (r1 = u.value.customClasses) == null ? void 0 : r1.chatContent]),
64072
64073
  style: Nt(l.value.chatContent),
64073
- onClick: J[7] || (J[7] = //@ts-ignore
64074
+ onClick: K[7] || (K[7] = //@ts-ignore
64074
64075
  (...oe) => ye(me) && ye(me)(...oe)),
64075
- onScroll: J[8] || (J[8] = //@ts-ignore
64076
+ onScroll: K[8] || (K[8] = //@ts-ignore
64076
64077
  (...oe) => ye(me) && ye(me)(...oe)),
64077
- onTouchmove: J[9] || (J[9] = //@ts-ignore
64078
+ onTouchmove: K[9] || (K[9] = //@ts-ignore
64078
64079
  (...oe) => ye(me) && ye(me)(...oe))
64079
64080
  }, [
64080
64081
  Ae("div", {
@@ -64097,10 +64098,10 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64097
64098
  alt: "error",
64098
64099
  class: "error-icon"
64099
64100
  }, null, 8, mq),
64100
- J[15] || (J[15] = Ae("span", { class: "error-text" }, "Network error. Please try again later.", -1)),
64101
+ K[15] || (K[15] = Ae("span", { class: "error-text" }, "Network error. Please try again later.", -1)),
64101
64102
  Ae("button", {
64102
64103
  class: "retry-button",
64103
- onClick: J[0] || (J[0] = //@ts-ignore
64104
+ onClick: K[0] || (K[0] = //@ts-ignore
64104
64105
  (...Et) => ye(I) && ye(I)(...Et))
64105
64106
  }, " Retry ")
64106
64107
  ])) : (tt(), it("div", {
@@ -64108,14 +64109,14 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64108
64109
  class: "message-content",
64109
64110
  style: Nt((Ft = l.value.messages) == null ? void 0 : Ft.aiMessage),
64110
64111
  onTouchstart: (Et) => !ye(H) && !oe.disableLongPress && ye(ve)(Et, oe),
64111
- onTouchend: J[1] || (J[1] = //@ts-ignore
64112
+ onTouchend: K[1] || (K[1] = //@ts-ignore
64112
64113
  (...Et) => ye(he) && ye(he)(...Et)),
64113
- onTouchcancel: J[2] || (J[2] = //@ts-ignore
64114
+ onTouchcancel: K[2] || (K[2] = //@ts-ignore
64114
64115
  (...Et) => ye(he) && ye(he)(...Et)),
64115
64116
  onMousedown: (Et) => !ye(H) && !oe.disableLongPress && ye(ve)(Et, oe),
64116
- onMouseup: J[3] || (J[3] = //@ts-ignore
64117
+ onMouseup: K[3] || (K[3] = //@ts-ignore
64117
64118
  (...Et) => ye(he) && ye(he)(...Et)),
64118
- onMouseleave: J[4] || (J[4] = //@ts-ignore
64119
+ onMouseleave: K[4] || (K[4] = //@ts-ignore
64119
64120
  (...Et) => ye(he) && ye(he)(...Et))
64120
64121
  }, [
64121
64122
  Ae("span", gq, [
@@ -64232,13 +64233,13 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64232
64233
  Ae("span", qq, b2((H0 = v.value) == null ? void 0 : H0.wasThisHelpful), 1),
64233
64234
  Ae("img", {
64234
64235
  src: g.value.smiling,
64235
- onClick: J[5] || (J[5] = (Et) => Ot("upvote")),
64236
+ onClick: K[5] || (K[5] = (Et) => Ot("upvote")),
64236
64237
  class: $t({ voted: oe.vote === "upvote" }),
64237
64238
  alt: oe.vote === "upvote" ? "已点赞" : "赞"
64238
64239
  }, null, 10, Yq),
64239
64240
  Ae("img", {
64240
64241
  src: g.value.anger,
64241
- onClick: J[6] || (J[6] = (Et) => Ot("downvote")),
64242
+ onClick: K[6] || (K[6] = (Et) => Ot("downvote")),
64242
64243
  class: $t({ voted: oe.vote === "downvote" }),
64243
64244
  alt: oe.vote === "downvote" ? "已踩" : "踩"
64244
64245
  }, null, 10, zq)
@@ -64294,14 +64295,14 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64294
64295
  key: 1,
64295
64296
  class: $t(["message-feedback-popup", { "show-above": ye(W).showAbove }]),
64296
64297
  style: Nt({ top: ye(W).top + "px", left: ye(W).left + "px" }),
64297
- onTouchmove: J[13] || (J[13] = Ru(() => {
64298
+ onTouchmove: K[13] || (K[13] = Ru(() => {
64298
64299
  }, ["stop"]))
64299
64300
  }, [
64300
- J[16] || (J[16] = Ae("div", { class: "popup-arrow" }, null, -1)),
64301
+ K[16] || (K[16] = Ae("div", { class: "popup-arrow" }, null, -1)),
64301
64302
  Ae("div", eY, [
64302
64303
  Ae("img", {
64303
64304
  src: (n1 = ye(Qe)()) != null && n1.isPlayingTTS ? g.value.volumeing : g.value.volume,
64304
- onClick: J[10] || (J[10] = (oe) => {
64305
+ onClick: K[10] || (K[10] = (oe) => {
64305
64306
  var mt;
64306
64307
  return ze((mt = ye(Qe)()) != null && mt.isPlayingTTS ? "volumeing" : "volume", ye(re));
64307
64308
  }),
@@ -64309,12 +64310,12 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64309
64310
  }, null, 8, tY),
64310
64311
  Ae("img", {
64311
64312
  src: ((Y1 = ye(Qe)()) == null ? void 0 : Y1.vote) === "upvote" ? g.value.praiseing : g.value.praise,
64312
- onClick: J[11] || (J[11] = (oe) => ze("upvote", ye(re))),
64313
+ onClick: K[11] || (K[11] = (oe) => ze("upvote", ye(re))),
64313
64314
  alt: ((Kt = ye(Qe)()) == null ? void 0 : Kt.vote) === "upvote" ? "已点赞" : "点赞"
64314
64315
  }, null, 8, rY),
64315
64316
  Ae("img", {
64316
64317
  src: ((fe = ye(Qe)()) == null ? void 0 : fe.vote) === "downvote" ? g.value.trampleing : g.value.trample,
64317
- onClick: J[12] || (J[12] = (oe) => ze("downvote", ye(re))),
64318
+ onClick: K[12] || (K[12] = (oe) => ze("downvote", ye(re))),
64318
64319
  alt: ((be = ye(Qe)()) == null ? void 0 : be.vote) === "downvote" ? "已不喜欢" : "不喜欢"
64319
64320
  }, null, 8, nY)
64320
64321
  ])
@@ -64355,7 +64356,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64355
64356
  Mu(Ae("input", {
64356
64357
  ref: "mainInputRef",
64357
64358
  type: "text",
64358
- "onUpdate:modelValue": J[14] || (J[14] = (oe) => T.value = oe),
64359
+ "onUpdate:modelValue": K[14] || (K[14] = (oe) => T.value = oe),
64359
64360
  placeholder: S.value,
64360
64361
  onKeyup: Cp(j, ["enter"]),
64361
64362
  class: "chat-input",
@@ -64422,7 +64423,7 @@ const cq = { class: "ai-avatar" }, Tq = ["src", "alt"], Qq = { class: "ai-info"
64422
64423
  ], 6);
64423
64424
  };
64424
64425
  }
64425
- }), pY = /* @__PURE__ */ d6(dY, [["__scopeId", "data-v-9a4c6c29"]]);
64426
+ }), pY = /* @__PURE__ */ d6(dY, [["__scopeId", "data-v-8dedebc7"]]);
64426
64427
  function F4(r) {
64427
64428
  const e = { ...Ue };
64428
64429
  return r && Object.keys(r).forEach((t) => {