@pie-lib/charting 8.0.10 → 8.0.11-next.20261202142832

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +6 -6
  2. package/dist/actions-button.js +42 -42
  3. package/dist/axes.js +166 -166
  4. package/dist/bars/bar.js +12 -12
  5. package/dist/bars/common/bars.js +59 -59
  6. package/dist/bars/histogram.js +12 -12
  7. package/dist/chart-setup.js +62 -62
  8. package/dist/chart-type.js +38 -38
  9. package/dist/chart.js +110 -110
  10. package/dist/common/correctness-indicators.js +22 -22
  11. package/dist/common/drag-handle.js +33 -33
  12. package/dist/common/drag-icon.js +11 -11
  13. package/dist/common/mark-slider.js +14 -14
  14. package/dist/grid.js +17 -17
  15. package/dist/i18n/index.js +4 -4
  16. package/dist/key-legend.js +28 -28
  17. package/dist/line/common/drag-handle.js +34 -34
  18. package/dist/line/common/line.js +56 -56
  19. package/dist/line/line-cross.js +61 -61
  20. package/dist/line/line-dot.js +48 -48
  21. package/dist/mark-label.js +45 -45
  22. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/hooks/useText.js +11 -11
  23. package/dist/node_modules/.bun/@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-interpolate.js +1 -1
  24. package/dist/node_modules/.bun/@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-scale.js +1 -1
  25. package/dist/node_modules/.bun/@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js +1 -1
  26. package/dist/node_modules/.bun/@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-time.js +1 -1
  27. package/dist/node_modules/.bun/classnames@2.5.1/node_modules/classnames/index.js +12 -11
  28. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix_evaluator.js +1 -1
  29. package/dist/plot/common/plot.js +116 -116
  30. package/dist/plot/dot.js +33 -33
  31. package/dist/plot/line.js +44 -44
  32. package/package.json +8 -8
@@ -1,21 +1,21 @@
1
- import { dataToXBand as e } from "../utils.js";
2
- import { Line as t } from "./common/line.js";
3
- import { useDragHover as n } from "../common/drag-hover.js";
4
- import { CorrectnessIndicator as r, SmallCorrectPointIndicator as i } from "../common/correctness-indicators.js";
5
- import a from "react";
6
- import o from "prop-types";
7
- import { styled as s } from "@mui/material/styles";
8
- import { types as c } from "@pie-lib/plot";
9
- import { color as l } from "@pie-lib/render-ui";
1
+ import e from "react";
2
+ import t from "prop-types";
3
+ import { styled as n } from "@mui/material/styles";
4
+ import { types as r } from "@pie-lib/plot";
5
+ import { color as i } from "@pie-lib/render-ui";
6
+ import { dataToXBand as a } from "../utils.js";
7
+ import { Line as o } from "./common/line.js";
8
+ import { useDragHover as s } from "../common/drag-hover.js";
9
+ import { CorrectnessIndicator as c, SmallCorrectPointIndicator as l } from "../common/correctness-indicators.js";
10
10
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
11
11
  // src/line/line-dot.tsx
12
- var f = s("circle", { shouldForwardProp: (e) => e !== "correctness" && e !== "interactive" })(() => ({})), p = s("circle")(() => ({
12
+ var f = n("circle", { shouldForwardProp: (e) => e !== "correctness" && e !== "interactive" })(() => ({})), p = n("circle")(() => ({
13
13
  height: "20px",
14
14
  fill: "transparent",
15
15
  stroke: "none",
16
16
  pointerEvents: "auto"
17
- })), m = ({ scale: e, x: t, y: a, r: o, correctness: s, interactive: c, correctData: m, label: h, isDragging: g, disabled: _, onDragStart: v, onDrag: y, onDragStop: b, ...x }) => {
18
- let { hovered: S, onEnter: C, onLeave: w } = n(!!g && !_), T = !s && c;
17
+ })), m = ({ scale: e, x: t, y: n, r, correctness: a, interactive: o, correctData: m, label: h, isDragging: g, disabled: _, onDragStart: v, onDrag: y, onDragStop: b, ...x }) => {
18
+ let { hovered: S, onEnter: C, onLeave: w } = s(!!g && !_), T = !a && o;
19
19
  return /* @__PURE__ */ d("g", {
20
20
  onMouseEnter: C,
21
21
  onMouseLeave: w,
@@ -24,40 +24,40 @@ var f = s("circle", { shouldForwardProp: (e) => e !== "correctness" && e !== "in
24
24
  children: [
25
25
  /* @__PURE__ */ u(p, {
26
26
  cx: e.x(t),
27
- cy: e.y(a),
28
- r: o * 3,
27
+ cy: e.y(n),
28
+ r: r * 3,
29
29
  ...x
30
30
  }),
31
31
  /* @__PURE__ */ u(f, {
32
32
  cx: e.x(t),
33
- cy: e.y(a),
34
- r: o,
35
- correctness: s,
36
- interactive: c,
33
+ cy: e.y(n),
34
+ r,
35
+ correctness: a,
36
+ interactive: o,
37
37
  ...x
38
38
  }),
39
- /* @__PURE__ */ u(r, {
39
+ /* @__PURE__ */ u(c, {
40
40
  scale: e,
41
41
  x: t,
42
- y: a,
43
- r: o,
44
- correctness: s,
45
- interactive: c
42
+ y: n,
43
+ r,
44
+ correctness: a,
45
+ interactive: o
46
46
  }),
47
- /* @__PURE__ */ u(i, {
47
+ /* @__PURE__ */ u(l, {
48
48
  scale: e,
49
49
  x: t,
50
- r: o,
51
- correctness: s,
50
+ r,
51
+ correctness: a,
52
52
  correctData: m,
53
53
  label: h
54
54
  }),
55
55
  S && T && /* @__PURE__ */ u("rect", {
56
- x: e.x(t) - o * 2,
57
- y: e.y(a) - o * 2,
58
- width: o * 4,
59
- height: o * 4,
60
- stroke: l.defaults.BORDER_GRAY,
56
+ x: e.x(t) - r * 2,
57
+ y: e.y(n) - r * 2,
58
+ width: r * 4,
59
+ height: r * 4,
60
+ stroke: i.defaults.BORDER_GRAY,
61
61
  strokeWidth: "1",
62
62
  fill: "none"
63
63
  })
@@ -65,28 +65,28 @@ var f = s("circle", { shouldForwardProp: (e) => e !== "correctness" && e !== "in
65
65
  });
66
66
  };
67
67
  m.propTypes = {
68
- scale: o.object,
69
- x: o.number,
70
- y: o.number,
71
- r: o.number,
72
- correctness: o.shape({
73
- value: o.string,
74
- label: o.string
68
+ scale: t.object,
69
+ x: t.number,
70
+ y: t.number,
71
+ r: t.number,
72
+ correctness: t.shape({
73
+ value: t.string,
74
+ label: t.string
75
75
  }),
76
- interactive: o.bool,
77
- correctData: o.array,
78
- label: o.string
76
+ interactive: t.bool,
77
+ correctData: t.array,
78
+ label: t.string
79
79
  };
80
- var h = class extends a.Component {
80
+ var h = class extends e.Component {
81
81
  static propTypes = {
82
- data: o.array,
83
- onChange: o.func,
84
- graphProps: c.GraphPropsType.isRequired
82
+ data: t.array,
83
+ onChange: t.func,
84
+ graphProps: r.GraphPropsType.isRequired
85
85
  };
86
86
  render() {
87
- let n = this.props, { data: r, graphProps: i } = n, { scale: a = {}, size: o = {} } = i || {}, s = e(a.x, r, o.width, "lineDot");
88
- return /* @__PURE__ */ u(t, {
89
- ...n,
87
+ let e = this.props, { data: t, graphProps: n } = e, { scale: r = {}, size: i = {} } = n || {}, s = a(r.x, t, i.width, "lineDot");
88
+ return /* @__PURE__ */ u(o, {
89
+ ...e,
90
90
  xBand: s,
91
91
  CustomDraggableComponent: m
92
92
  });
@@ -1,31 +1,31 @@
1
- import { clsx as e } from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
2
- import { AutosizeInput as t } from "./autosize-input.js";
3
- import { correct as n, disabled as r, incorrect as i } from "./common/styles.js";
4
- import { useCallback as a, useEffect as o, useRef as s, useState as c } from "react";
5
- import l from "prop-types";
6
- import { styled as u } from "@mui/material/styles";
7
- import { types as d } from "@pie-lib/plot";
1
+ import { useCallback as e, useEffect as t, useRef as n, useState as r } from "react";
2
+ import { clsx as i } from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
3
+ import { styled as a } from "@mui/material/styles";
4
+ import { AutosizeInput as o } from "./autosize-input.js";
5
+ import s from "prop-types";
6
+ import { types as c } from "@pie-lib/plot";
7
+ import { correct as l, disabled as u, incorrect as d } from "./common/styles.js";
8
8
  import { color as f } from "@pie-lib/render-ui";
9
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
- import { renderMath as h } from "@pie-element/shared-math-rendering-mathjax";
11
- import { sanitizeModelHtml as g } from "@pie-element/shared-utils";
9
+ import { renderMath as p } from "@pie-element/shared-math-rendering-mathjax";
10
+ import { sanitizeModelHtml as m } from "@pie-element/shared-utils";
11
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
12
12
  // src/mark-label.tsx
13
- var _ = u("div")({
13
+ var _ = a("div")({
14
14
  display: "flex",
15
15
  flexDirection: "column",
16
16
  alignItems: "center"
17
17
  }), v = f.defaults.DISABLED_TEXT;
18
- u("input")(({ theme: e }) => ({
18
+ a("input")(({ theme: e }) => ({
19
19
  float: "right",
20
20
  fontFamily: e.typography.fontFamily,
21
21
  fontSize: e.typography.fontSize,
22
22
  border: "none",
23
- "&.correct": n("color"),
24
- "&.incorrect": i("color"),
23
+ "&.correct": l("color"),
24
+ "&.incorrect": d("color"),
25
25
  "&.disabledMarkLabel": { backgroundColor: "transparent !important" },
26
26
  "&.error": { border: `2px solid ${e.palette.error.main}` }
27
27
  }));
28
- var y = 24, b = u("div")(({ theme: e }) => ({
28
+ var y = 24, b = a("div")(({ theme: e }) => ({
29
29
  pointerEvents: "auto",
30
30
  display: "flex",
31
31
  justifyContent: "center",
@@ -37,13 +37,13 @@ var y = 24, b = u("div")(({ theme: e }) => ({
37
37
  fontFamily: e.typography.fontFamily,
38
38
  color: f.defaults.TEXT,
39
39
  "&.disabledMarkLabel": {
40
- ...r("color"),
40
+ ...u("color"),
41
41
  color: v,
42
42
  backgroundColor: "transparent !important"
43
43
  },
44
44
  "&.error": { border: `2px solid ${e.palette.error.main}` },
45
- "&.correct": { ...n("color") },
46
- "&.incorrect": { ...i("color") },
45
+ "&.correct": { ...l("color") },
46
+ "&.incorrect": { ...d("color") },
47
47
  "&:focus-visible": {
48
48
  outline: `2px solid ${f.focusOutline()}`,
49
49
  outlineOffset: "2px"
@@ -57,28 +57,28 @@ function C(e) {
57
57
  }
58
58
  if (S.test(t)) return `\\(${t}\\)`;
59
59
  }
60
- var w = (n) => {
61
- let [r, i] = c(null), l = a((e) => i(e), null), { mark: u = {}, disabled: d, inputRef: y, barWidth: x, rotate: S, correctness: w, autoFocus: T, error: E, isHiddenLabel: D, limitCharacters: O, correctnessIndicator: k, ariaLabel: A, mathAriaLabel: j } = n, [M, N] = c(u.label), [P, F] = c(u.label), [I, L] = c(!1), R = C(P), z = s(null), B = (e) => {
60
+ var w = (a) => {
61
+ let [s, c] = r(null), l = e((e) => c(e), null), { mark: u = {}, disabled: d, inputRef: y, barWidth: x, rotate: S, correctness: w, autoFocus: T, error: E, isHiddenLabel: D, limitCharacters: O, correctnessIndicator: k, ariaLabel: A, mathAriaLabel: j } = a, [M, N] = r(u.label), [P, F] = r(u.label), [I, L] = r(!1), R = C(P), z = n(null), B = (e) => {
62
62
  O && e.target.value && e.target.value.length > 20 || N(e.target.value);
63
63
  }, V = () => I === !1 && R !== void 0, H = () => L(!0), U = (e) => {
64
64
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), H());
65
65
  }, W = (e) => {
66
- F(e.target.value), L(!1), n.onChange(e.target.value);
66
+ F(e.target.value), L(!1), a.onChange(e.target.value);
67
67
  }, G = {};
68
68
  return S && (G = {
69
69
  width: "unset",
70
70
  textAlign: "left"
71
- }), o(() => {
71
+ }), t(() => {
72
72
  N(u.label), F(u.label);
73
- }, [u.label]), o(() => {
73
+ }, [u.label]), t(() => {
74
74
  let e = z.current;
75
- e && R && !I && (e.innerHTML = g(R), h(e));
76
- }, [R, I]), /* @__PURE__ */ m(_, { children: [k, V() ? /* @__PURE__ */ p(b, {
75
+ e && R && !I && (e.innerHTML = m(R), p(e));
76
+ }, [R, I]), /* @__PURE__ */ g(_, { children: [k, V() ? /* @__PURE__ */ h(b, {
77
77
  ref: (e) => {
78
78
  z.current = e, typeof y == "function" && y(e);
79
79
  },
80
80
  "data-math-label": !0,
81
- className: e({
81
+ className: i({
82
82
  disabledMarkLabel: d,
83
83
  error: E,
84
84
  correct: u.editable && w?.label === "correct",
@@ -99,7 +99,7 @@ var w = (n) => {
99
99
  visibility: D ? "hidden" : "unset",
100
100
  marginTop: k ? "24px" : "0"
101
101
  }
102
- }) : /* @__PURE__ */ p(t, {
102
+ }) : /* @__PURE__ */ h(o, {
103
103
  inputRef: (e) => {
104
104
  l(e), typeof y == "function" && y(e);
105
105
  },
@@ -107,7 +107,7 @@ var w = (n) => {
107
107
  "aria-label": A,
108
108
  autoFocus: I || T,
109
109
  disabled: d,
110
- inputClassName: e(w && u.editable ? w.label : null, d && "disabledMarkLabel", E && "error"),
110
+ inputClassName: i(w && u.editable ? w.label : null, d && "disabledMarkLabel", E && "error"),
111
111
  inputStyle: {
112
112
  minWidth: x,
113
113
  textAlign: "center",
@@ -142,23 +142,23 @@ var w = (n) => {
142
142
  })] });
143
143
  };
144
144
  w.propTypes = {
145
- autoFocus: l.bool,
146
- disabled: l.bool,
147
- error: l.any,
148
- onChange: l.func,
149
- graphProps: d.GraphPropsType,
150
- inputRef: l.func,
151
- mark: l.object,
152
- barWidth: l.number,
153
- rotate: l.number,
154
- correctness: l.shape({
155
- value: l.string,
156
- label: l.string
145
+ autoFocus: s.bool,
146
+ disabled: s.bool,
147
+ error: s.any,
148
+ onChange: s.func,
149
+ graphProps: c.GraphPropsType,
150
+ inputRef: s.func,
151
+ mark: s.object,
152
+ barWidth: s.number,
153
+ rotate: s.number,
154
+ correctness: s.shape({
155
+ value: s.string,
156
+ label: s.string
157
157
  }),
158
- isHiddenLabel: l.bool,
159
- limitCharacters: l.bool,
160
- correctnessIndicator: l.node,
161
- ariaLabel: l.string,
162
- mathAriaLabel: l.string
158
+ isHiddenLabel: s.bool,
159
+ limitCharacters: s.bool,
160
+ correctnessIndicator: s.node,
161
+ ariaLabel: s.string,
162
+ mathAriaLabel: s.string
163
163
  };
164
164
  export { w as MarkLabel, w as default, C as getLabelMathFormat };
@@ -1,9 +1,9 @@
1
1
  import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_reduce_css_calc as t } from "../../../../../../reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js";
3
- import n from "../util/getStringWidth.js";
4
- import { useMemo as r } from "react";
2
+ import { useMemo as t } from "react";
3
+ import { require_reduce_css_calc as n } from "../../../../../../reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js";
4
+ import r from "../util/getStringWidth.js";
5
5
  // ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/hooks/useText.js
6
- var i = /* @__PURE__ */ e(t());
6
+ var i = /* @__PURE__ */ e(n());
7
7
  function a(e) {
8
8
  return typeof e == "number";
9
9
  }
@@ -11,13 +11,13 @@ function o(e) {
11
11
  return typeof e == "number" && Number.isFinite(e) || typeof e == "string";
12
12
  }
13
13
  function s(e) {
14
- let { verticalAnchor: t = "end", scaleToFit: s = !1, angle: c, width: l, lineHeight: u = "1em", capHeight: d = "0.71em", children: f, style: p, ...m } = e, { x: h = 0, y: g = 0 } = m, _ = !o(h) || !o(g), { wordsWithWidth: v, spaceWidth: y } = r(() => ({
14
+ let { verticalAnchor: n = "end", scaleToFit: s = !1, angle: c, width: l, lineHeight: u = "1em", capHeight: d = "0.71em", children: f, style: p, ...m } = e, { x: h = 0, y: g = 0 } = m, _ = !o(h) || !o(g), { wordsWithWidth: v, spaceWidth: y } = t(() => ({
15
15
  wordsWithWidth: (f == null ? [] : f.toString().split(/(?:(?!\u00A0+)\s+)/)).map((e) => ({
16
16
  word: e,
17
- wordWidth: n(e, p) || 0
17
+ wordWidth: r(e, p) || 0
18
18
  })),
19
- spaceWidth: n("\xA0", p) || 0
20
- }), [f, p]), b = r(() => _ ? [] : l || s ? v.reduce((e, t) => {
19
+ spaceWidth: r("\xA0", p) || 0
20
+ }), [f, p]), b = t(() => _ ? [] : l || s ? v.reduce((e, t) => {
21
21
  let { word: n, wordWidth: r } = t, i = e[e.length - 1];
22
22
  if (i && (l == null || s || (i.width || 0) + r + y < l)) i.words.push(n), i.width = i.width || 0, i.width += r + y;
23
23
  else {
@@ -38,14 +38,14 @@ function s(e) {
38
38
  ]);
39
39
  return {
40
40
  wordsByLines: b,
41
- startDy: r(() => _ ? "" : t === "start" ? (0, i.default)(`calc(${d})`) : t === "middle" ? (0, i.default)(`calc(${(b.length - 1) / 2} * -${u} + (${d} / 2))`) : (0, i.default)(`calc(${b.length - 1} * -${u})`), [
41
+ startDy: t(() => _ ? "" : n === "start" ? (0, i.default)(`calc(${d})`) : n === "middle" ? (0, i.default)(`calc(${(b.length - 1) / 2} * -${u} + (${d} / 2))`) : (0, i.default)(`calc(${b.length - 1} * -${u})`), [
42
42
  _,
43
- t,
43
+ n,
44
44
  d,
45
45
  b.length,
46
46
  u
47
47
  ]),
48
- transform: r(() => {
48
+ transform: t(() => {
49
49
  let e = [];
50
50
  if (_) return "";
51
51
  if (a(h) && a(g) && a(l) && s && b.length > 0) {
@@ -1,7 +1,7 @@
1
1
  import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
2
  export * from "d3-interpolate";
3
3
  // ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-interpolate.js
4
- var n = /* @__PURE__ */ e({});
4
+ var n = /* @__PURE__ */ e({}, 2);
5
5
  import * as r from "d3-interpolate";
6
6
  t(n, r);
7
7
  export { n as d3_interpolate_exports };
@@ -1,7 +1,7 @@
1
1
  import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
2
  export * from "d3-scale";
3
3
  // ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-scale.js
4
- var n = /* @__PURE__ */ e({});
4
+ var n = /* @__PURE__ */ e({}, 2);
5
5
  import * as r from "d3-scale";
6
6
  t(n, r);
7
7
  export { n as d3_scale_exports };
@@ -1,7 +1,7 @@
1
1
  import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
2
  export * from "d3-shape";
3
3
  // ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js
4
- var n = /* @__PURE__ */ e({});
4
+ var n = /* @__PURE__ */ e({}, 2);
5
5
  import * as r from "d3-shape";
6
6
  t(n, r);
7
7
  export { n as d3_shape_exports };
@@ -1,7 +1,7 @@
1
1
  import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
2
  export * from "d3-time";
3
3
  // ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-time.js
4
- var n = /* @__PURE__ */ e({});
4
+ var n = /* @__PURE__ */ e({}, 2);
5
5
  import * as r from "d3-time";
6
6
  t(n, r);
7
7
  export { n as d3_time_exports };
@@ -1,30 +1,31 @@
1
1
  import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
2
  // ../../../node_modules/.bun/classnames@2.5.1/node_modules/classnames/index.js
3
3
  var t = /* @__PURE__ */ e(((e, t) => {
4
+ var n;
4
5
  (function() {
5
6
  var e = {}.hasOwnProperty;
6
- function n() {
7
+ function r() {
7
8
  for (var e = "", t = 0; t < arguments.length; t++) {
8
9
  var n = arguments[t];
9
- n && (e = i(e, r(n)));
10
+ n && (e = a(e, i(n)));
10
11
  }
11
12
  return e;
12
13
  }
13
- function r(t) {
14
+ function i(t) {
14
15
  if (typeof t == "string" || typeof t == "number") return t;
15
16
  if (typeof t != "object") return "";
16
- if (Array.isArray(t)) return n.apply(null, t);
17
+ if (Array.isArray(t)) return r.apply(null, t);
17
18
  if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]")) return t.toString();
18
- var r = "";
19
- for (var a in t) e.call(t, a) && t[a] && (r = i(r, a));
20
- return r;
19
+ var n = "";
20
+ for (var i in t) e.call(t, i) && t[i] && (n = a(n, i));
21
+ return n;
21
22
  }
22
- function i(e, t) {
23
+ function a(e, t) {
23
24
  return t ? e ? e + " " + t : e + t : e;
24
25
  }
25
- t !== void 0 && t.exports ? (n.default = n, t.exports = n) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
26
- return n;
27
- }) : window.classNames = n;
26
+ t !== void 0 && t.exports ? (r.default = r, t.exports = r) : typeof n == "function" && typeof n.amd == "object" && n.amd ? n("classnames", [], function() {
27
+ return r;
28
+ }) : window.classNames = r;
28
29
  })();
29
30
  }));
30
31
  export default t();
@@ -35,7 +35,7 @@ var n = /* @__PURE__ */ e(((e, n) => {
35
35
  type: 3
36
36
  }) : t.push([o[c]]));
37
37
  if (t.length > 1) throw new r.Exception("Uncaught Syntax error");
38
- return t[0].value > 0x38d7ea4c68000 ? "Infinity" : parseFloat(t[0].value.toFixed(15));
38
+ return t[0].value > 1e15 ? "Infinity" : parseFloat(t[0].value.toFixed(15));
39
39
  }, r.eval = function(e, t, n) {
40
40
  return t === void 0 ? this.lex(e).toPostfix().postfixEval() : n === void 0 ? t.length === void 0 ? this.lex(e).toPostfix().postfixEval(t) : this.lex(e, t).toPostfix().postfixEval() : this.lex(e, t).toPostfix().postfixEval(n);
41
41
  }, n.exports = r;