@fileverse-dev/ddoc 3.0.25 → 3.0.26

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-Cpnx8I4r.mjs";
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-DgyjF4V0.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 ne === "0x" ? { data: void 0 } : { data: ne };
93965
93965
  } catch (I) {
93966
- const B = IKt(I), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-BoYbj5QE.mjs");
93966
+ const B = IKt(I), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-BQwp-Ay4.mjs");
93967
93967
  if (e.ccipRead !== !1 && (B == null ? void 0 : B.slice(0, 10)) === $ && x)
93968
93968
  return { data: await H(e, { data: B, to: x }) };
93969
93969
  throw O && (B == null ? void 0 : B.slice(0, 10)) === "0x101bb98d" ? new pZt({ factory: f }) : Tge(I, {
@@ -106614,10 +106614,19 @@ const zon = (e) => {
106614
106614
  async function j2(e, t, n) {
106615
106615
  var F, C, D, S, _;
106616
106616
  let r = zon(t);
106617
- r = r.replace(/^.*$/gm, (O) => {
106618
- const T = O.trim(), L = /[\[\]()]/.test(T), M = /\d/.test(T), j = /[*/]/.test(T);
106619
- return L && M && j ? O.replace(/\*/g, "\\*") : O;
106620
- });
106617
+ r = r.replace(
106618
+ /(\d)\*(\d)/g,
106619
+ // Match digit*digit (e.g., 4*6)
106620
+ "$1\\*$2"
106621
+ ), r = r.replace(
106622
+ /(\])\*(\[)/g,
106623
+ // Match ]*[ (e.g., [1,2]*[3,4])
106624
+ "$1\\*$2"
106625
+ ), r = r.replace(
106626
+ /(\))\*(\()/g,
106627
+ // Match )*( (e.g., (a+b)*(c+d))
106628
+ "$1\\*$2"
106629
+ );
106621
106630
  let o = _on.render(r);
106622
106631
  const i = document.createElement("textarea");
106623
106632
  i.innerHTML = o, o = i.value;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-Cpnx8I4r.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-DgyjF4V0.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.0.25",
5
+ "version": "3.0.26",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {