@fileverse-dev/ddoc 3.0.30-patch-1 → 3.0.30-patch-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-
|
|
1
|
+
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DTzqjqQk.mjs";
|
|
2
2
|
class S extends p {
|
|
3
3
|
constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
|
|
4
4
|
var o;
|
|
@@ -93963,7 +93963,7 @@ async function SF(e, t) {
|
|
|
93963
93963
|
});
|
|
93964
93964
|
return te === "0x" ? { data: void 0 } : { data: te };
|
|
93965
93965
|
} catch (O) {
|
|
93966
|
-
const B = IKt(O), { offchainLookup: U, offchainLookupSignature: $ } = await import("./ccip-
|
|
93966
|
+
const B = IKt(O), { offchainLookup: U, offchainLookupSignature: $ } = await import("./ccip-P5f-rC5c.mjs");
|
|
93967
93967
|
if (e.ccipRead !== !1 && (B == null ? void 0 : B.slice(0, 10)) === $ && x)
|
|
93968
93968
|
return { data: await U(e, { data: B, to: x }) };
|
|
93969
93969
|
throw I && (B == null ? void 0 : B.slice(0, 10)) === "0x101bb98d" ? new pZt({ factory: f }) : Sge(O, {
|
|
@@ -106528,9 +106528,9 @@ ${v.map((x) => ` - ${x}`).join(`
|
|
|
106528
106528
|
}
|
|
106529
106529
|
}),
|
|
106530
106530
|
new Na({
|
|
106531
|
-
find: /(\S*)~((?:[^~]|\\~)+)
|
|
106531
|
+
find: /(\S*)~((?:[^~]|\\~)+)~$/,
|
|
106532
106532
|
handler: ({ state: r, range: o, match: i }) => {
|
|
106533
|
-
if (i[2]
|
|
106533
|
+
if (/^\s|\s$/.test(i[2]))
|
|
106534
106534
|
return null;
|
|
106535
106535
|
const { tr: a } = r, s = o.from + i[1].length, l = o.to, u = i[2].replace(/\\~/g, "~");
|
|
106536
106536
|
a.replaceWith(
|
|
@@ -106584,7 +106584,7 @@ function Oon(e) {
|
|
|
106584
106584
|
e.match(/\*\*(.*?)\*\*/g) !== null || // Bold
|
|
106585
106585
|
e.match(/\*(.*?)\*/g) !== null || // Italic
|
|
106586
106586
|
e.match(/`{1,3}[^`]+`{1,3}/g) !== null || e.match(/<sup>(.*?)<\/sup>/g) !== null || e.match(/<sub>(.*?)<\/sub>/g) !== null || e.match(/\^[^\s^]+\^/g) !== null || // New superscript syntax
|
|
106587
|
-
e.match(/~(
|
|
106587
|
+
e.match(/~([^\s~](?:[^~]*[^\s~])?)~/g) !== null || // New subscript syntax
|
|
106588
106588
|
e.match(/^===\s*$/m) !== null;
|
|
106589
106589
|
}
|
|
106590
106590
|
function Ron(e, t) {
|
|
@@ -106682,7 +106682,7 @@ async function j2(e, t, n) {
|
|
|
106682
106682
|
}
|
|
106683
106683
|
}
|
|
106684
106684
|
o = s.body.innerHTML;
|
|
106685
|
-
const p = /<(sup|sub)>(.*?)<\/\1>/g, g = /\^([^\s^]+)\^/g, m = /~(
|
|
106685
|
+
const p = /<(sup|sub)>(.*?)<\/\1>/g, g = /\^([^\s^]+)\^/g, m = /~([^\s~](?:[^~]*[^\s~])?)~/g, y = /===\s*$/gm;
|
|
106686
106686
|
o = o.replace(p, (I) => `${I}`), o = o.replace(
|
|
106687
106687
|
g,
|
|
106688
106688
|
'<sup data-type="sup">$1</sup>'
|
package/dist/index.es.js
CHANGED