@nice2dev/icons-math 1.0.10
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.
- package/README.md +223 -0
- package/dist/createMathIcon-BbQhEo0A.mjs +157 -0
- package/dist/createMathIcon-BbQhEo0A.mjs.map +1 -0
- package/dist/createMathIcon-CK9tbq5-.js +156 -0
- package/dist/createMathIcon-CK9tbq5-.js.map +1 -0
- package/dist/createMathIcon.d.ts +14 -0
- package/dist/createMathIcon.d.ts.map +1 -0
- package/dist/functions.cjs +137 -0
- package/dist/functions.cjs.map +1 -0
- package/dist/functions.d.ts +57 -0
- package/dist/functions.d.ts.map +1 -0
- package/dist/functions.mjs +137 -0
- package/dist/functions.mjs.map +1 -0
- package/dist/geometry.cjs +125 -0
- package/dist/geometry.cjs.map +1 -0
- package/dist/geometry.d.ts +56 -0
- package/dist/geometry.d.ts.map +1 -0
- package/dist/geometry.mjs +125 -0
- package/dist/geometry.mjs.map +1 -0
- package/dist/index.cjs +190 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +114 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +190 -0
- package/dist/index.mjs.map +1 -0
- package/dist/operators.cjs +124 -0
- package/dist/operators.cjs.map +1 -0
- package/dist/operators.d.ts +56 -0
- package/dist/operators.d.ts.map +1 -0
- package/dist/operators.mjs +124 -0
- package/dist/operators.mjs.map +1 -0
- package/dist/sets.cjs +126 -0
- package/dist/sets.cjs.map +1 -0
- package/dist/sets.d.ts +56 -0
- package/dist/sets.d.ts.map +1 -0
- package/dist/sets.mjs +126 -0
- package/dist/sets.mjs.map +1 -0
- package/dist/statistics.cjs +164 -0
- package/dist/statistics.cjs.map +1 -0
- package/dist/statistics.d.ts +56 -0
- package/dist/statistics.d.ts.map +1 -0
- package/dist/statistics.mjs +164 -0
- package/dist/statistics.mjs.map +1 -0
- package/dist/types.d.ts +59 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +78 -0
package/dist/sets.mjs
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { c as createMathIcon } from "./createMathIcon-BbQhEo0A.mjs";
|
|
3
|
+
const Union = createMathIcon(
|
|
4
|
+
"Union",
|
|
5
|
+
/* @__PURE__ */ jsx("path", { d: "M4 6v6c0 4.4 3.6 8 8 8s8-3.6 8-8V6", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
6
|
+
);
|
|
7
|
+
const Intersection = createMathIcon(
|
|
8
|
+
"Intersection",
|
|
9
|
+
/* @__PURE__ */ jsx("path", { d: "M4 18v-6c0-4.4 3.6-8 8-8s8 3.6 8 8v6", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
10
|
+
);
|
|
11
|
+
const Subset = createMathIcon(
|
|
12
|
+
"Subset",
|
|
13
|
+
/* @__PURE__ */ jsx("path", { d: "M18 4c-6 0-10 4-10 8s4 8 10 8", strokeLinecap: "round" })
|
|
14
|
+
);
|
|
15
|
+
const Superset = createMathIcon(
|
|
16
|
+
"Superset",
|
|
17
|
+
/* @__PURE__ */ jsx("path", { d: "M6 4c6 0 10 4 10 8s-4 8-10 8", strokeLinecap: "round" })
|
|
18
|
+
);
|
|
19
|
+
const Element = createMathIcon(
|
|
20
|
+
"Element",
|
|
21
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22
|
+
/* @__PURE__ */ jsx("path", { d: "M18 4c-6 0-10 4-10 8s4 8 10 8", strokeLinecap: "round" }),
|
|
23
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h10", strokeLinecap: "round" })
|
|
24
|
+
] })
|
|
25
|
+
);
|
|
26
|
+
const NotElement = createMathIcon(
|
|
27
|
+
"NotElement",
|
|
28
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
29
|
+
/* @__PURE__ */ jsx("path", { d: "M18 4c-6 0-10 4-10 8s4 8 10 8", strokeLinecap: "round" }),
|
|
30
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h10", strokeLinecap: "round" }),
|
|
31
|
+
/* @__PURE__ */ jsx("path", { d: "M17 5L7 19", strokeLinecap: "round" })
|
|
32
|
+
] })
|
|
33
|
+
);
|
|
34
|
+
const EmptySet = createMathIcon(
|
|
35
|
+
"EmptySet",
|
|
36
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
37
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "8" }),
|
|
38
|
+
/* @__PURE__ */ jsx("path", { d: "M6 6l12 12", strokeLinecap: "round" })
|
|
39
|
+
] })
|
|
40
|
+
);
|
|
41
|
+
const Universal = createMathIcon(
|
|
42
|
+
"Universal",
|
|
43
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
44
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
45
|
+
/* @__PURE__ */ jsx("text", { x: "12", y: "16", fontSize: "12", textAnchor: "middle", fontFamily: "serif", children: "U" })
|
|
46
|
+
] })
|
|
47
|
+
);
|
|
48
|
+
const Complement = createMathIcon(
|
|
49
|
+
"Complement",
|
|
50
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
51
|
+
/* @__PURE__ */ jsx("path", { d: "M18 4c-6 0-10 4-10 8s4 8 10 8", strokeLinecap: "round" }),
|
|
52
|
+
/* @__PURE__ */ jsx("path", { d: "M5 4v16", strokeLinecap: "round" })
|
|
53
|
+
] })
|
|
54
|
+
);
|
|
55
|
+
const Difference = createMathIcon(
|
|
56
|
+
"Difference",
|
|
57
|
+
/* @__PURE__ */ jsx("path", { d: "M6 4l12 16M6 20L18 4", strokeLinecap: "round" })
|
|
58
|
+
);
|
|
59
|
+
const SymmetricDiff = createMathIcon(
|
|
60
|
+
"SymmetricDiff",
|
|
61
|
+
/* @__PURE__ */ jsx("path", { d: "M12 4L4 20h16L12 4z", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
62
|
+
);
|
|
63
|
+
const CartesianProduct = createMathIcon(
|
|
64
|
+
"CartesianProduct",
|
|
65
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "4" }),
|
|
67
|
+
/* @__PURE__ */ jsx("path", { d: "M7 7l10 10M7 17L17 7", strokeLinecap: "round" })
|
|
68
|
+
] })
|
|
69
|
+
);
|
|
70
|
+
const PowerSet = createMathIcon(
|
|
71
|
+
"PowerSet",
|
|
72
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
73
|
+
/* @__PURE__ */ jsx("text", { x: "6", y: "16", fontSize: "14", fontFamily: "serif", fontWeight: "bold", children: "P" }),
|
|
74
|
+
/* @__PURE__ */ jsx("text", { x: "14", y: "18", fontSize: "10", fontFamily: "serif", children: "(A)" })
|
|
75
|
+
] })
|
|
76
|
+
);
|
|
77
|
+
const SetBraces = createMathIcon(
|
|
78
|
+
"SetBraces",
|
|
79
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
80
|
+
/* @__PURE__ */ jsx("path", { d: "M8 4c-2 0-3 1-3 3v4c0 1-1 1-1 1s1 0 1 1v4c0 2 1 3 3 3", strokeLinecap: "round" }),
|
|
81
|
+
/* @__PURE__ */ jsx("path", { d: "M16 4c2 0 3 1 3 3v4c0 1 1 1 1 1s-1 0-1 1v4c0 2-1 3-3 3", strokeLinecap: "round" })
|
|
82
|
+
] })
|
|
83
|
+
);
|
|
84
|
+
const Mapping = createMathIcon(
|
|
85
|
+
"Mapping",
|
|
86
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
87
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12h14", strokeLinecap: "round" }),
|
|
88
|
+
/* @__PURE__ */ jsx("path", { d: "M14 7l5 5-5 5", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
89
|
+
] })
|
|
90
|
+
);
|
|
91
|
+
const setIcons = {
|
|
92
|
+
Union,
|
|
93
|
+
Intersection,
|
|
94
|
+
Subset,
|
|
95
|
+
Superset,
|
|
96
|
+
Element,
|
|
97
|
+
NotElement,
|
|
98
|
+
EmptySet,
|
|
99
|
+
Universal,
|
|
100
|
+
Complement,
|
|
101
|
+
Difference,
|
|
102
|
+
SymmetricDiff,
|
|
103
|
+
CartesianProduct,
|
|
104
|
+
PowerSet,
|
|
105
|
+
SetBraces,
|
|
106
|
+
Mapping
|
|
107
|
+
};
|
|
108
|
+
export {
|
|
109
|
+
CartesianProduct,
|
|
110
|
+
Complement,
|
|
111
|
+
Difference,
|
|
112
|
+
Element,
|
|
113
|
+
EmptySet,
|
|
114
|
+
Intersection,
|
|
115
|
+
Mapping,
|
|
116
|
+
NotElement,
|
|
117
|
+
PowerSet,
|
|
118
|
+
SetBraces,
|
|
119
|
+
Subset,
|
|
120
|
+
Superset,
|
|
121
|
+
SymmetricDiff,
|
|
122
|
+
Union,
|
|
123
|
+
Universal,
|
|
124
|
+
setIcons
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=sets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sets.mjs","sources":["../src/sets.tsx"],"sourcesContent":["import React from 'react';\r\n\r\nimport { createMathIcon } from './createMathIcon';\r\nimport type { MathIcon } from './types';\r\n\r\n/**\r\n * Set Theory Icons - Set operations and notation (15 icons)\r\n */\r\n\r\n/** Union symbol (A ∪ B) */\r\nexport const Union: MathIcon = createMathIcon(\r\n 'Union',\r\n <path d=\"M4 6v6c0 4.4 3.6 8 8 8s8-3.6 8-8V6\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />,\r\n);\r\n\r\n/** Intersection symbol (A ∩ B) */\r\nexport const Intersection: MathIcon = createMathIcon(\r\n 'Intersection',\r\n <path d=\"M4 18v-6c0-4.4 3.6-8 8-8s8 3.6 8 8v6\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />,\r\n);\r\n\r\n/** Subset symbol (A ⊂ B) */\r\nexport const Subset: MathIcon = createMathIcon(\r\n 'Subset',\r\n <path d=\"M18 4c-6 0-10 4-10 8s4 8 10 8\" strokeLinecap=\"round\" />,\r\n);\r\n\r\n/** Superset symbol (A ⊃ B) */\r\nexport const Superset: MathIcon = createMathIcon(\r\n 'Superset',\r\n <path d=\"M6 4c6 0 10 4 10 8s-4 8-10 8\" strokeLinecap=\"round\" />,\r\n);\r\n\r\n/** Element of symbol (∈) */\r\nexport const Element: MathIcon = createMathIcon(\r\n 'Element',\r\n <>\r\n <path d=\"M18 4c-6 0-10 4-10 8s4 8 10 8\" strokeLinecap=\"round\" />\r\n <path d=\"M8 12h10\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Not element of symbol (∉) */\r\nexport const NotElement: MathIcon = createMathIcon(\r\n 'NotElement',\r\n <>\r\n <path d=\"M18 4c-6 0-10 4-10 8s4 8 10 8\" strokeLinecap=\"round\" />\r\n <path d=\"M8 12h10\" strokeLinecap=\"round\" />\r\n <path d=\"M17 5L7 19\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Empty set symbol (∅) */\r\nexport const EmptySet: MathIcon = createMathIcon(\r\n 'EmptySet',\r\n <>\r\n <circle cx=\"12\" cy=\"12\" r=\"8\" />\r\n <path d=\"M6 6l12 12\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Universal set symbol */\r\nexport const Universal: MathIcon = createMathIcon(\r\n 'Universal',\r\n <>\r\n <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" />\r\n <text x=\"12\" y=\"16\" fontSize=\"12\" textAnchor=\"middle\" fontFamily=\"serif\">\r\n U\r\n </text>\r\n </>,\r\n);\r\n\r\n/** Complement symbol */\r\nexport const Complement: MathIcon = createMathIcon(\r\n 'Complement',\r\n <>\r\n <path d=\"M18 4c-6 0-10 4-10 8s4 8 10 8\" strokeLinecap=\"round\" />\r\n <path d=\"M5 4v16\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Set difference symbol (A \\ B) */\r\nexport const Difference: MathIcon = createMathIcon(\r\n 'Difference',\r\n <path d=\"M6 4l12 16M6 20L18 4\" strokeLinecap=\"round\" />,\r\n);\r\n\r\n/** Symmetric difference symbol (A △ B) */\r\nexport const SymmetricDiff: MathIcon = createMathIcon(\r\n 'SymmetricDiff',\r\n <path d=\"M12 4L4 20h16L12 4z\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />,\r\n);\r\n\r\n/** Cartesian product symbol (×) */\r\nexport const CartesianProduct: MathIcon = createMathIcon(\r\n 'CartesianProduct',\r\n <>\r\n <circle cx=\"12\" cy=\"12\" r=\"4\" />\r\n <path d=\"M7 7l10 10M7 17L17 7\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Power set symbol */\r\nexport const PowerSet: MathIcon = createMathIcon(\r\n 'PowerSet',\r\n <>\r\n <text x=\"6\" y=\"16\" fontSize=\"14\" fontFamily=\"serif\" fontWeight=\"bold\">\r\n P\r\n </text>\r\n <text x=\"14\" y=\"18\" fontSize=\"10\" fontFamily=\"serif\">\r\n (A)\r\n </text>\r\n </>,\r\n);\r\n\r\n/** Set braces symbol */\r\nexport const SetBraces: MathIcon = createMathIcon(\r\n 'SetBraces',\r\n <>\r\n <path d=\"M8 4c-2 0-3 1-3 3v4c0 1-1 1-1 1s1 0 1 1v4c0 2 1 3 3 3\" strokeLinecap=\"round\" />\r\n <path d=\"M16 4c2 0 3 1 3 3v4c0 1 1 1 1 1s-1 0-1 1v4c0 2-1 3-3 3\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Mapping/Function symbol (→) */\r\nexport const Mapping: MathIcon = createMathIcon(\r\n 'Mapping',\r\n <>\r\n <path d=\"M4 12h14\" strokeLinecap=\"round\" />\r\n <path d=\"M14 7l5 5-5 5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\r\n </>,\r\n);\r\n\r\n/**\r\n * All set icons\r\n */\r\nexport const setIcons = {\r\n Union,\r\n Intersection,\r\n Subset,\r\n Superset,\r\n Element,\r\n NotElement,\r\n EmptySet,\r\n Universal,\r\n Complement,\r\n Difference,\r\n SymmetricDiff,\r\n CartesianProduct,\r\n PowerSet,\r\n SetBraces,\r\n Mapping,\r\n} as const;\r\n\r\nexport type { MathIcon };\r\n"],"names":[],"mappings":";;AAUO,MAAM,QAAkB;AAAA,EAC7B;AAAA,sBACC,QAAA,EAAK,GAAE,sCAAqC,eAAc,SAAQ,gBAAe,QAAA,CAAQ;AAC5F;AAGO,MAAM,eAAyB;AAAA,EACpC;AAAA,sBACC,QAAA,EAAK,GAAE,wCAAuC,eAAc,SAAQ,gBAAe,QAAA,CAAQ;AAC9F;AAGO,MAAM,SAAmB;AAAA,EAC9B;AAAA,EACA,oBAAC,QAAA,EAAK,GAAE,iCAAgC,eAAc,QAAA,CAAQ;AAChE;AAGO,MAAM,WAAqB;AAAA,EAChC;AAAA,EACA,oBAAC,QAAA,EAAK,GAAE,gCAA+B,eAAc,QAAA,CAAQ;AAC/D;AAGO,MAAM,UAAoB;AAAA,EAC/B;AAAA,EACA,qBAAA,UAAA,EACE,UAAA;AAAA,IAAA,oBAAC,QAAA,EAAK,GAAE,iCAAgC,eAAc,SAAQ;AAAA,IAC9D,oBAAC,QAAA,EAAK,GAAE,YAAW,eAAc,QAAA,CAAQ;AAAA,EAAA,EAAA,CAC3C;AACF;AAGO,MAAM,aAAuB;AAAA,EAClC;AAAA,EACA,qBAAA,UAAA,EACE,UAAA;AAAA,IAAA,oBAAC,QAAA,EAAK,GAAE,iCAAgC,eAAc,SAAQ;AAAA,IAC9D,oBAAC,QAAA,EAAK,GAAE,YAAW,eAAc,SAAQ;AAAA,IACzC,oBAAC,QAAA,EAAK,GAAE,cAAa,eAAc,QAAA,CAAQ;AAAA,EAAA,EAAA,CAC7C;AACF;AAGO,MAAM,WAAqB;AAAA,EAChC;AAAA,EACA,qBAAA,UAAA,EACE,UAAA;AAAA,IAAA,oBAAC,YAAO,IAAG,MAAK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AAO,UAAA,KAEtE;AAAA,IACA,oBAAC,QAAA,EAAK,GAAE,MAAK,GAAE,MAAK,UAAS,MAAK,YAAW,SAAQ,UAAA,MAAA,CAErD;AAAA,EAAA,EAAA,CACF;AACF;AAGO,MAAM,YAAsB;AAAA,EACjC;AAAA,EACA,qBAAA,UAAA,EACE,UAAA;AAAA,IAAA,oBAAC,QAAA,EAAK,GAAE,yDAAwD,eAAc,SAAQ;AAAA,IACtF,oBAAC,QAAA,EAAK,GAAE,0DAAyD,eAAc,QAAA,CAAQ;AAAA,EAAA,EAAA,CACzF;AACF;AAGO,MAAM,UAAoB;AAAA,EAC/B;AAAA,EACA,qBAAA,UAAA,EACE,UAAA;AAAA,IAAA,oBAAC,QAAA,EAAK,GAAE,YAAW,eAAc,SAAQ;AAAA,wBACxC,QAAA,EAAK,GAAE,iBAAgB,eAAc,SAAQ,gBAAe,QAAA,CAAQ;AAAA,EAAA,EAAA,CACvE;AACF;AAKO,MAAM,WAAW;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const createMathIcon = require("./createMathIcon-CK9tbq5-.js");
|
|
5
|
+
const BarChart = createMathIcon.createMathIcon(
|
|
6
|
+
"BarChart",
|
|
7
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "12", width: "4", height: "9", rx: "1" }),
|
|
9
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "10", y: "6", width: "4", height: "15", rx: "1" }),
|
|
10
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "17", y: "9", width: "4", height: "12", rx: "1" })
|
|
11
|
+
] })
|
|
12
|
+
);
|
|
13
|
+
const Histogram = createMathIcon.createMathIcon(
|
|
14
|
+
"Histogram",
|
|
15
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2", y: "14", width: "4", height: "7" }),
|
|
17
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "6", y: "10", width: "4", height: "11" }),
|
|
18
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "10", y: "6", width: "4", height: "15" }),
|
|
19
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "14", y: "9", width: "4", height: "12" }),
|
|
20
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "18", y: "13", width: "4", height: "8" })
|
|
21
|
+
] })
|
|
22
|
+
);
|
|
23
|
+
const BellCurve = createMathIcon.createMathIcon(
|
|
24
|
+
"BellCurve",
|
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
26
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2 18c2-8 4-12 10-12s8 4 10 12", strokeLinecap: "round" }),
|
|
27
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 6v14", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
28
|
+
] })
|
|
29
|
+
);
|
|
30
|
+
const Scatter = createMathIcon.createMathIcon(
|
|
31
|
+
"Scatter",
|
|
32
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "5", cy: "16", r: "1.5" }),
|
|
34
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "12", r: "1.5" }),
|
|
35
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "10", cy: "14", r: "1.5" }),
|
|
36
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "13", cy: "9", r: "1.5" }),
|
|
37
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "16", cy: "7", r: "1.5" }),
|
|
38
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "19", cy: "5", r: "1.5" }),
|
|
39
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 20l18-16", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
40
|
+
] })
|
|
41
|
+
);
|
|
42
|
+
const LineGraph = createMathIcon.createMathIcon(
|
|
43
|
+
"LineGraph",
|
|
44
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
45
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 18l4-6 4 3 4-8 6 4", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
46
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 20V4M3 20h18", strokeLinecap: "round" })
|
|
47
|
+
] })
|
|
48
|
+
);
|
|
49
|
+
const PieChart = createMathIcon.createMathIcon(
|
|
50
|
+
"PieChart",
|
|
51
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
52
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
53
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 3v9h9", strokeLinecap: "round" }),
|
|
54
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12L5.5 17.5", strokeLinecap: "round" })
|
|
55
|
+
] })
|
|
56
|
+
);
|
|
57
|
+
const BoxPlot = createMathIcon.createMathIcon(
|
|
58
|
+
"BoxPlot",
|
|
59
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
60
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "6", y: "8", width: "12", height: "8", rx: "1" }),
|
|
61
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 8v8", strokeLinecap: "round" }),
|
|
62
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 12h3M18 12h3", strokeLinecap: "round" }),
|
|
63
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 10v4M21 10v4", strokeLinecap: "round" })
|
|
64
|
+
] })
|
|
65
|
+
);
|
|
66
|
+
const Mean = createMathIcon.createMathIcon(
|
|
67
|
+
"Mean",
|
|
68
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
69
|
+
/* @__PURE__ */ jsxRuntime.jsx("text", { x: "12", y: "17", fontSize: "14", textAnchor: "middle", fontFamily: "serif", fontStyle: "italic", children: "x̄" }),
|
|
70
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 8h8", strokeLinecap: "round" })
|
|
71
|
+
] })
|
|
72
|
+
);
|
|
73
|
+
const Median = createMathIcon.createMathIcon(
|
|
74
|
+
"Median",
|
|
75
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
76
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 18h16", strokeLinecap: "round" }),
|
|
77
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "5", y: "14", width: "3", height: "4" }),
|
|
78
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "10", width: "3", height: "8" }),
|
|
79
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "13", y: "6", width: "3", height: "12" }),
|
|
80
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "17", y: "12", width: "3", height: "6" }),
|
|
81
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 4v16", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
82
|
+
] })
|
|
83
|
+
);
|
|
84
|
+
const Mode = createMathIcon.createMathIcon(
|
|
85
|
+
"Mode",
|
|
86
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
87
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 18h16", strokeLinecap: "round" }),
|
|
88
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "4", y: "14", width: "3", height: "4" }),
|
|
89
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "8", y: "10", width: "3", height: "8" }),
|
|
90
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "12", y: "6", width: "3", height: "12", fill: "currentColor" }),
|
|
91
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "16", y: "12", width: "3", height: "6" })
|
|
92
|
+
] })
|
|
93
|
+
);
|
|
94
|
+
const StandardDev = createMathIcon.createMathIcon(
|
|
95
|
+
"StandardDev",
|
|
96
|
+
/* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx("text", { x: "12", y: "16", fontSize: "16", textAnchor: "middle", fontFamily: "serif", children: "σ" }) })
|
|
97
|
+
);
|
|
98
|
+
const Variance = createMathIcon.createMathIcon(
|
|
99
|
+
"Variance",
|
|
100
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
101
|
+
/* @__PURE__ */ jsxRuntime.jsx("text", { x: "10", y: "16", fontSize: "14", fontFamily: "serif", children: "σ" }),
|
|
102
|
+
/* @__PURE__ */ jsxRuntime.jsx("text", { x: "17", y: "12", fontSize: "10", fontFamily: "serif", children: "2" })
|
|
103
|
+
] })
|
|
104
|
+
);
|
|
105
|
+
const Correlation = createMathIcon.createMathIcon(
|
|
106
|
+
"Correlation",
|
|
107
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
108
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "6", cy: "18", r: "2" }),
|
|
109
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "2" }),
|
|
110
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "18", cy: "6", r: "2" }),
|
|
111
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 17L17 7", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
112
|
+
] })
|
|
113
|
+
);
|
|
114
|
+
const Regression = createMathIcon.createMathIcon(
|
|
115
|
+
"Regression",
|
|
116
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
117
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "5", cy: "15", r: "1.5" }),
|
|
118
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "9", cy: "13", r: "1.5" }),
|
|
119
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "13", cy: "10", r: "1.5" }),
|
|
120
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "17", cy: "8", r: "1.5" }),
|
|
121
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 18L21 4", strokeLinecap: "round" })
|
|
122
|
+
] })
|
|
123
|
+
);
|
|
124
|
+
const Probability = createMathIcon.createMathIcon(
|
|
125
|
+
"Probability",
|
|
126
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
127
|
+
/* @__PURE__ */ jsxRuntime.jsx("text", { x: "7", y: "16", fontSize: "14", fontFamily: "serif", fontWeight: "bold", children: "P" }),
|
|
128
|
+
/* @__PURE__ */ jsxRuntime.jsx("text", { x: "14", y: "18", fontSize: "10", fontFamily: "serif", children: "(A)" })
|
|
129
|
+
] })
|
|
130
|
+
);
|
|
131
|
+
const statisticsIcons = {
|
|
132
|
+
BarChart,
|
|
133
|
+
Histogram,
|
|
134
|
+
BellCurve,
|
|
135
|
+
Scatter,
|
|
136
|
+
LineGraph,
|
|
137
|
+
PieChart,
|
|
138
|
+
BoxPlot,
|
|
139
|
+
Mean,
|
|
140
|
+
Median,
|
|
141
|
+
Mode,
|
|
142
|
+
StandardDev,
|
|
143
|
+
Variance,
|
|
144
|
+
Correlation,
|
|
145
|
+
Regression,
|
|
146
|
+
Probability
|
|
147
|
+
};
|
|
148
|
+
exports.BarChart = BarChart;
|
|
149
|
+
exports.BellCurve = BellCurve;
|
|
150
|
+
exports.BoxPlot = BoxPlot;
|
|
151
|
+
exports.Correlation = Correlation;
|
|
152
|
+
exports.Histogram = Histogram;
|
|
153
|
+
exports.LineGraph = LineGraph;
|
|
154
|
+
exports.Mean = Mean;
|
|
155
|
+
exports.Median = Median;
|
|
156
|
+
exports.Mode = Mode;
|
|
157
|
+
exports.PieChart = PieChart;
|
|
158
|
+
exports.Probability = Probability;
|
|
159
|
+
exports.Regression = Regression;
|
|
160
|
+
exports.Scatter = Scatter;
|
|
161
|
+
exports.StandardDev = StandardDev;
|
|
162
|
+
exports.Variance = Variance;
|
|
163
|
+
exports.statisticsIcons = statisticsIcons;
|
|
164
|
+
//# sourceMappingURL=statistics.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistics.cjs","sources":["../src/statistics.tsx"],"sourcesContent":["import React from 'react';\r\n\r\nimport { createMathIcon } from './createMathIcon';\r\nimport type { MathIcon } from './types';\r\n\r\n/**\r\n * Statistics Icons - Statistical charts and concepts (15 icons)\r\n */\r\n\r\n/** Bar chart icon */\r\nexport const BarChart: MathIcon = createMathIcon(\r\n 'BarChart',\r\n <>\r\n <rect x=\"3\" y=\"12\" width=\"4\" height=\"9\" rx=\"1\" />\r\n <rect x=\"10\" y=\"6\" width=\"4\" height=\"15\" rx=\"1\" />\r\n <rect x=\"17\" y=\"9\" width=\"4\" height=\"12\" rx=\"1\" />\r\n </>,\r\n);\r\n\r\n/** Histogram icon */\r\nexport const Histogram: MathIcon = createMathIcon(\r\n 'Histogram',\r\n <>\r\n <rect x=\"2\" y=\"14\" width=\"4\" height=\"7\" />\r\n <rect x=\"6\" y=\"10\" width=\"4\" height=\"11\" />\r\n <rect x=\"10\" y=\"6\" width=\"4\" height=\"15\" />\r\n <rect x=\"14\" y=\"9\" width=\"4\" height=\"12\" />\r\n <rect x=\"18\" y=\"13\" width=\"4\" height=\"8\" />\r\n </>,\r\n);\r\n\r\n/** Bell curve / Normal distribution icon */\r\nexport const BellCurve: MathIcon = createMathIcon(\r\n 'BellCurve',\r\n <>\r\n <path d=\"M2 18c2-8 4-12 10-12s8 4 10 12\" strokeLinecap=\"round\" />\r\n <path d=\"M12 6v14\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Scatter plot icon */\r\nexport const Scatter: MathIcon = createMathIcon(\r\n 'Scatter',\r\n <>\r\n <circle cx=\"5\" cy=\"16\" r=\"1.5\" />\r\n <circle cx=\"8\" cy=\"12\" r=\"1.5\" />\r\n <circle cx=\"10\" cy=\"14\" r=\"1.5\" />\r\n <circle cx=\"13\" cy=\"9\" r=\"1.5\" />\r\n <circle cx=\"16\" cy=\"7\" r=\"1.5\" />\r\n <circle cx=\"19\" cy=\"5\" r=\"1.5\" />\r\n <path d=\"M3 20l18-16\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Line graph icon */\r\nexport const LineGraph: MathIcon = createMathIcon(\r\n 'LineGraph',\r\n <>\r\n <path d=\"M3 18l4-6 4 3 4-8 6 4\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\r\n <path d=\"M3 20V4M3 20h18\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Pie chart icon */\r\nexport const PieChart: MathIcon = createMathIcon(\r\n 'PieChart',\r\n <>\r\n <circle cx=\"12\" cy=\"12\" r=\"9\" />\r\n <path d=\"M12 3v9h9\" strokeLinecap=\"round\" />\r\n <path d=\"M12 12L5.5 17.5\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Box plot icon */\r\nexport const BoxPlot: MathIcon = createMathIcon(\r\n 'BoxPlot',\r\n <>\r\n <rect x=\"6\" y=\"8\" width=\"12\" height=\"8\" rx=\"1\" />\r\n <path d=\"M12 8v8\" strokeLinecap=\"round\" />\r\n <path d=\"M3 12h3M18 12h3\" strokeLinecap=\"round\" />\r\n <path d=\"M3 10v4M21 10v4\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Mean (x̄) symbol */\r\nexport const Mean: MathIcon = createMathIcon(\r\n 'Mean',\r\n <>\r\n <text x=\"12\" y=\"17\" fontSize=\"14\" textAnchor=\"middle\" fontFamily=\"serif\" fontStyle=\"italic\">\r\n x̄\r\n </text>\r\n <path d=\"M8 8h8\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Median symbol */\r\nexport const Median: MathIcon = createMathIcon(\r\n 'Median',\r\n <>\r\n <path d=\"M4 18h16\" strokeLinecap=\"round\" />\r\n <rect x=\"5\" y=\"14\" width=\"3\" height=\"4\" />\r\n <rect x=\"9\" y=\"10\" width=\"3\" height=\"8\" />\r\n <rect x=\"13\" y=\"6\" width=\"3\" height=\"12\" />\r\n <rect x=\"17\" y=\"12\" width=\"3\" height=\"6\" />\r\n <path d=\"M12 4v16\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Mode symbol */\r\nexport const Mode: MathIcon = createMathIcon(\r\n 'Mode',\r\n <>\r\n <path d=\"M4 18h16\" strokeLinecap=\"round\" />\r\n <rect x=\"4\" y=\"14\" width=\"3\" height=\"4\" />\r\n <rect x=\"8\" y=\"10\" width=\"3\" height=\"8\" />\r\n <rect x=\"12\" y=\"6\" width=\"3\" height=\"12\" fill=\"currentColor\" />\r\n <rect x=\"16\" y=\"12\" width=\"3\" height=\"6\" />\r\n </>,\r\n);\r\n\r\n/** Standard deviation (σ) symbol */\r\nexport const StandardDev: MathIcon = createMathIcon(\r\n 'StandardDev',\r\n <>\r\n <text x=\"12\" y=\"16\" fontSize=\"16\" textAnchor=\"middle\" fontFamily=\"serif\">\r\n σ\r\n </text>\r\n </>,\r\n);\r\n\r\n/** Variance (σ²) symbol */\r\nexport const Variance: MathIcon = createMathIcon(\r\n 'Variance',\r\n <>\r\n <text x=\"10\" y=\"16\" fontSize=\"14\" fontFamily=\"serif\">\r\n σ\r\n </text>\r\n <text x=\"17\" y=\"12\" fontSize=\"10\" fontFamily=\"serif\">\r\n 2\r\n </text>\r\n </>,\r\n);\r\n\r\n/** Correlation symbol */\r\nexport const Correlation: MathIcon = createMathIcon(\r\n 'Correlation',\r\n <>\r\n <circle cx=\"6\" cy=\"18\" r=\"2\" />\r\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\r\n <circle cx=\"18\" cy=\"6\" r=\"2\" />\r\n <path d=\"M7 17L17 7\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Regression line symbol */\r\nexport const Regression: MathIcon = createMathIcon(\r\n 'Regression',\r\n <>\r\n <circle cx=\"5\" cy=\"15\" r=\"1.5\" />\r\n <circle cx=\"9\" cy=\"13\" r=\"1.5\" />\r\n <circle cx=\"13\" cy=\"10\" r=\"1.5\" />\r\n <circle cx=\"17\" cy=\"8\" r=\"1.5\" />\r\n <path d=\"M3 18L21 4\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Probability symbol */\r\nexport const Probability: MathIcon = createMathIcon(\r\n 'Probability',\r\n <>\r\n <text x=\"7\" y=\"16\" fontSize=\"14\" fontFamily=\"serif\" fontWeight=\"bold\">\r\n P\r\n </text>\r\n <text x=\"14\" y=\"18\" fontSize=\"10\" fontFamily=\"serif\">\r\n (A)\r\n </text>\r\n </>,\r\n);\r\n\r\n/**\r\n * All statistics icons\r\n */\r\nexport const statisticsIcons = {\r\n BarChart,\r\n Histogram,\r\n BellCurve,\r\n Scatter,\r\n LineGraph,\r\n PieChart,\r\n BoxPlot,\r\n Mean,\r\n Median,\r\n Mode,\r\n StandardDev,\r\n Variance,\r\n Correlation,\r\n Regression,\r\n Probability,\r\n} as const;\r\n\r\nexport type { MathIcon };\r\n"],"names":["createMathIcon","jsxs","Fragment","jsx"],"mappings":";;;;AAUO,MAAM,WAAqBA,eAAAA;AAAAA,EAChC;AAAA,EACAC,gCAAAC,WAAAA,UAAA,EACE,UAAA;AAAA,IAAAC,2BAAAA,IAAC,QAAA,EAAK,GAAE,KAAI,GAAE,MAAK,OAAM,KAAI,QAAO,KAAI,IAAG,IAAA,CAAI;AAAA,IAC/CA,2BAAAA,IAAC,QAAA,EAAK,GAAE,MAAK,GAAE,KAAI,OAAM,KAAI,QAAO,MAAK,IAAG,IAAA,CAAI;AAAA,IAChDA,2BAAAA,IAAC,QAAA,EAAK,GAAE,MAAK,GAAE,KAAI,OAAM,KAAI,QAAO,MAAK,IAAG,IAAA,CAAI;AAAA,EAAA,EAAA,CAClD;AACF;AAGO,MAAM,YAAsBH,eAAAA;AAAAA,EACjC;AAAA,EACAC,gCAAAC,WAAAA,UAAA,EACE,UAAA;AAAA,IAAAC,2BAAAA,IAAC,QAAA,EAAK,GAAE,KAAI,GAAE,MAAK,OAAM,KAAI,QAAO,IAAA,CAAI;AAAA,IACxCA,2BAAAA,IAAC,UAAK,GAAE,KAAI,GAAE,MAAK,OAAM,KAAI,QAAO,KAAA,CAAK;AAAA,IACzCA,2BAAAA,IAAC,UAAK,GAAE,MAAK,GAAE,KAAI,OAAM,KAAI,QAAO,KAAA,CAAK;AAAA,IACzCA,2BAAAA,IAAC,UAAK,GAAE,MAAK,GAAE,KAAI,OAAM,KAAI,QAAO,KAAA,CAAK;AAAA,IACzCA,2BAAAA,IAAC,UAAK,GAAE,MAAK,GAAE,MAAK,OAAM,KAAI,QAAO,IAAA,CAAI;AAAA,EAAA,EAAA,CAC3C;AACF;AAGO,MAAM,YAAsBH,eAAAA;AAAAA,EACjC;AAAA,EACAC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A,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { MathIcon } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Statistics Icons - Statistical charts and concepts (15 icons)
|
|
4
|
+
*/
|
|
5
|
+
/** Bar chart icon */
|
|
6
|
+
export declare const BarChart: MathIcon;
|
|
7
|
+
/** Histogram icon */
|
|
8
|
+
export declare const Histogram: MathIcon;
|
|
9
|
+
/** Bell curve / Normal distribution icon */
|
|
10
|
+
export declare const BellCurve: MathIcon;
|
|
11
|
+
/** Scatter plot icon */
|
|
12
|
+
export declare const Scatter: MathIcon;
|
|
13
|
+
/** Line graph icon */
|
|
14
|
+
export declare const LineGraph: MathIcon;
|
|
15
|
+
/** Pie chart icon */
|
|
16
|
+
export declare const PieChart: MathIcon;
|
|
17
|
+
/** Box plot icon */
|
|
18
|
+
export declare const BoxPlot: MathIcon;
|
|
19
|
+
/** Mean (x̄) symbol */
|
|
20
|
+
export declare const Mean: MathIcon;
|
|
21
|
+
/** Median symbol */
|
|
22
|
+
export declare const Median: MathIcon;
|
|
23
|
+
/** Mode symbol */
|
|
24
|
+
export declare const Mode: MathIcon;
|
|
25
|
+
/** Standard deviation (σ) symbol */
|
|
26
|
+
export declare const StandardDev: MathIcon;
|
|
27
|
+
/** Variance (σ²) symbol */
|
|
28
|
+
export declare const Variance: MathIcon;
|
|
29
|
+
/** Correlation symbol */
|
|
30
|
+
export declare const Correlation: MathIcon;
|
|
31
|
+
/** Regression line symbol */
|
|
32
|
+
export declare const Regression: MathIcon;
|
|
33
|
+
/** Probability symbol */
|
|
34
|
+
export declare const Probability: MathIcon;
|
|
35
|
+
/**
|
|
36
|
+
* All statistics icons
|
|
37
|
+
*/
|
|
38
|
+
export declare const statisticsIcons: {
|
|
39
|
+
readonly BarChart: MathIcon;
|
|
40
|
+
readonly Histogram: MathIcon;
|
|
41
|
+
readonly BellCurve: MathIcon;
|
|
42
|
+
readonly Scatter: MathIcon;
|
|
43
|
+
readonly LineGraph: MathIcon;
|
|
44
|
+
readonly PieChart: MathIcon;
|
|
45
|
+
readonly BoxPlot: MathIcon;
|
|
46
|
+
readonly Mean: MathIcon;
|
|
47
|
+
readonly Median: MathIcon;
|
|
48
|
+
readonly Mode: MathIcon;
|
|
49
|
+
readonly StandardDev: MathIcon;
|
|
50
|
+
readonly Variance: MathIcon;
|
|
51
|
+
readonly Correlation: MathIcon;
|
|
52
|
+
readonly Regression: MathIcon;
|
|
53
|
+
readonly Probability: MathIcon;
|
|
54
|
+
};
|
|
55
|
+
export type { MathIcon };
|
|
56
|
+
//# sourceMappingURL=statistics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../src/statistics.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;GAEG;AAEH,qBAAqB;AACrB,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,qBAAqB;AACrB,eAAO,MAAM,SAAS,EAAE,QASvB,CAAC;AAEF,4CAA4C;AAC5C,eAAO,MAAM,SAAS,EAAE,QAMvB,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,OAAO,EAAE,QAWrB,CAAC;AAEF,sBAAsB;AACtB,eAAO,MAAM,SAAS,EAAE,QAMvB,CAAC;AAEF,qBAAqB;AACrB,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,oBAAoB;AACpB,eAAO,MAAM,OAAO,EAAE,QAQrB,CAAC;AAEF,uBAAuB;AACvB,eAAO,MAAM,IAAI,EAAE,QAQlB,CAAC;AAEF,oBAAoB;AACpB,eAAO,MAAM,MAAM,EAAE,QAUpB,CAAC;AAEF,kBAAkB;AAClB,eAAO,MAAM,IAAI,EAAE,QASlB,CAAC;AAEF,oCAAoC;AACpC,eAAO,MAAM,WAAW,EAAE,QAOzB,CAAC;AAEF,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAE,QAUtB,CAAC;AAEF,yBAAyB;AACzB,eAAO,MAAM,WAAW,EAAE,QAQzB,CAAC;AAEF,6BAA6B;AAC7B,eAAO,MAAM,UAAU,EAAE,QASxB,CAAC;AAEF,yBAAyB;AACzB,eAAO,MAAM,WAAW,EAAE,QAUzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;CAgBlB,CAAC;AAEX,YAAY,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c as createMathIcon } from "./createMathIcon-BbQhEo0A.mjs";
|
|
3
|
+
const BarChart = createMathIcon(
|
|
4
|
+
"BarChart",
|
|
5
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "12", width: "4", height: "9", rx: "1" }),
|
|
7
|
+
/* @__PURE__ */ jsx("rect", { x: "10", y: "6", width: "4", height: "15", rx: "1" }),
|
|
8
|
+
/* @__PURE__ */ jsx("rect", { x: "17", y: "9", width: "4", height: "12", rx: "1" })
|
|
9
|
+
] })
|
|
10
|
+
);
|
|
11
|
+
const Histogram = createMathIcon(
|
|
12
|
+
"Histogram",
|
|
13
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14
|
+
/* @__PURE__ */ jsx("rect", { x: "2", y: "14", width: "4", height: "7" }),
|
|
15
|
+
/* @__PURE__ */ jsx("rect", { x: "6", y: "10", width: "4", height: "11" }),
|
|
16
|
+
/* @__PURE__ */ jsx("rect", { x: "10", y: "6", width: "4", height: "15" }),
|
|
17
|
+
/* @__PURE__ */ jsx("rect", { x: "14", y: "9", width: "4", height: "12" }),
|
|
18
|
+
/* @__PURE__ */ jsx("rect", { x: "18", y: "13", width: "4", height: "8" })
|
|
19
|
+
] })
|
|
20
|
+
);
|
|
21
|
+
const BellCurve = createMathIcon(
|
|
22
|
+
"BellCurve",
|
|
23
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
24
|
+
/* @__PURE__ */ jsx("path", { d: "M2 18c2-8 4-12 10-12s8 4 10 12", strokeLinecap: "round" }),
|
|
25
|
+
/* @__PURE__ */ jsx("path", { d: "M12 6v14", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
26
|
+
] })
|
|
27
|
+
);
|
|
28
|
+
const Scatter = createMathIcon(
|
|
29
|
+
"Scatter",
|
|
30
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
31
|
+
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "16", r: "1.5" }),
|
|
32
|
+
/* @__PURE__ */ jsx("circle", { cx: "8", cy: "12", r: "1.5" }),
|
|
33
|
+
/* @__PURE__ */ jsx("circle", { cx: "10", cy: "14", r: "1.5" }),
|
|
34
|
+
/* @__PURE__ */ jsx("circle", { cx: "13", cy: "9", r: "1.5" }),
|
|
35
|
+
/* @__PURE__ */ jsx("circle", { cx: "16", cy: "7", r: "1.5" }),
|
|
36
|
+
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "5", r: "1.5" }),
|
|
37
|
+
/* @__PURE__ */ jsx("path", { d: "M3 20l18-16", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
38
|
+
] })
|
|
39
|
+
);
|
|
40
|
+
const LineGraph = createMathIcon(
|
|
41
|
+
"LineGraph",
|
|
42
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
43
|
+
/* @__PURE__ */ jsx("path", { d: "M3 18l4-6 4 3 4-8 6 4", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
44
|
+
/* @__PURE__ */ jsx("path", { d: "M3 20V4M3 20h18", strokeLinecap: "round" })
|
|
45
|
+
] })
|
|
46
|
+
);
|
|
47
|
+
const PieChart = createMathIcon(
|
|
48
|
+
"PieChart",
|
|
49
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
50
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "9" }),
|
|
51
|
+
/* @__PURE__ */ jsx("path", { d: "M12 3v9h9", strokeLinecap: "round" }),
|
|
52
|
+
/* @__PURE__ */ jsx("path", { d: "M12 12L5.5 17.5", strokeLinecap: "round" })
|
|
53
|
+
] })
|
|
54
|
+
);
|
|
55
|
+
const BoxPlot = createMathIcon(
|
|
56
|
+
"BoxPlot",
|
|
57
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
58
|
+
/* @__PURE__ */ jsx("rect", { x: "6", y: "8", width: "12", height: "8", rx: "1" }),
|
|
59
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8v8", strokeLinecap: "round" }),
|
|
60
|
+
/* @__PURE__ */ jsx("path", { d: "M3 12h3M18 12h3", strokeLinecap: "round" }),
|
|
61
|
+
/* @__PURE__ */ jsx("path", { d: "M3 10v4M21 10v4", strokeLinecap: "round" })
|
|
62
|
+
] })
|
|
63
|
+
);
|
|
64
|
+
const Mean = createMathIcon(
|
|
65
|
+
"Mean",
|
|
66
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67
|
+
/* @__PURE__ */ jsx("text", { x: "12", y: "17", fontSize: "14", textAnchor: "middle", fontFamily: "serif", fontStyle: "italic", children: "x̄" }),
|
|
68
|
+
/* @__PURE__ */ jsx("path", { d: "M8 8h8", strokeLinecap: "round" })
|
|
69
|
+
] })
|
|
70
|
+
);
|
|
71
|
+
const Median = createMathIcon(
|
|
72
|
+
"Median",
|
|
73
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
74
|
+
/* @__PURE__ */ jsx("path", { d: "M4 18h16", strokeLinecap: "round" }),
|
|
75
|
+
/* @__PURE__ */ jsx("rect", { x: "5", y: "14", width: "3", height: "4" }),
|
|
76
|
+
/* @__PURE__ */ jsx("rect", { x: "9", y: "10", width: "3", height: "8" }),
|
|
77
|
+
/* @__PURE__ */ jsx("rect", { x: "13", y: "6", width: "3", height: "12" }),
|
|
78
|
+
/* @__PURE__ */ jsx("rect", { x: "17", y: "12", width: "3", height: "6" }),
|
|
79
|
+
/* @__PURE__ */ jsx("path", { d: "M12 4v16", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
80
|
+
] })
|
|
81
|
+
);
|
|
82
|
+
const Mode = createMathIcon(
|
|
83
|
+
"Mode",
|
|
84
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
85
|
+
/* @__PURE__ */ jsx("path", { d: "M4 18h16", strokeLinecap: "round" }),
|
|
86
|
+
/* @__PURE__ */ jsx("rect", { x: "4", y: "14", width: "3", height: "4" }),
|
|
87
|
+
/* @__PURE__ */ jsx("rect", { x: "8", y: "10", width: "3", height: "8" }),
|
|
88
|
+
/* @__PURE__ */ jsx("rect", { x: "12", y: "6", width: "3", height: "12", fill: "currentColor" }),
|
|
89
|
+
/* @__PURE__ */ jsx("rect", { x: "16", y: "12", width: "3", height: "6" })
|
|
90
|
+
] })
|
|
91
|
+
);
|
|
92
|
+
const StandardDev = createMathIcon(
|
|
93
|
+
"StandardDev",
|
|
94
|
+
/* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("text", { x: "12", y: "16", fontSize: "16", textAnchor: "middle", fontFamily: "serif", children: "σ" }) })
|
|
95
|
+
);
|
|
96
|
+
const Variance = createMathIcon(
|
|
97
|
+
"Variance",
|
|
98
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
99
|
+
/* @__PURE__ */ jsx("text", { x: "10", y: "16", fontSize: "14", fontFamily: "serif", children: "σ" }),
|
|
100
|
+
/* @__PURE__ */ jsx("text", { x: "17", y: "12", fontSize: "10", fontFamily: "serif", children: "2" })
|
|
101
|
+
] })
|
|
102
|
+
);
|
|
103
|
+
const Correlation = createMathIcon(
|
|
104
|
+
"Correlation",
|
|
105
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
106
|
+
/* @__PURE__ */ jsx("circle", { cx: "6", cy: "18", r: "2" }),
|
|
107
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2" }),
|
|
108
|
+
/* @__PURE__ */ jsx("circle", { cx: "18", cy: "6", r: "2" }),
|
|
109
|
+
/* @__PURE__ */ jsx("path", { d: "M7 17L17 7", strokeLinecap: "round", strokeDasharray: "2 2" })
|
|
110
|
+
] })
|
|
111
|
+
);
|
|
112
|
+
const Regression = createMathIcon(
|
|
113
|
+
"Regression",
|
|
114
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
115
|
+
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "15", r: "1.5" }),
|
|
116
|
+
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "13", r: "1.5" }),
|
|
117
|
+
/* @__PURE__ */ jsx("circle", { cx: "13", cy: "10", r: "1.5" }),
|
|
118
|
+
/* @__PURE__ */ jsx("circle", { cx: "17", cy: "8", r: "1.5" }),
|
|
119
|
+
/* @__PURE__ */ jsx("path", { d: "M3 18L21 4", strokeLinecap: "round" })
|
|
120
|
+
] })
|
|
121
|
+
);
|
|
122
|
+
const Probability = createMathIcon(
|
|
123
|
+
"Probability",
|
|
124
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
125
|
+
/* @__PURE__ */ jsx("text", { x: "7", y: "16", fontSize: "14", fontFamily: "serif", fontWeight: "bold", children: "P" }),
|
|
126
|
+
/* @__PURE__ */ jsx("text", { x: "14", y: "18", fontSize: "10", fontFamily: "serif", children: "(A)" })
|
|
127
|
+
] })
|
|
128
|
+
);
|
|
129
|
+
const statisticsIcons = {
|
|
130
|
+
BarChart,
|
|
131
|
+
Histogram,
|
|
132
|
+
BellCurve,
|
|
133
|
+
Scatter,
|
|
134
|
+
LineGraph,
|
|
135
|
+
PieChart,
|
|
136
|
+
BoxPlot,
|
|
137
|
+
Mean,
|
|
138
|
+
Median,
|
|
139
|
+
Mode,
|
|
140
|
+
StandardDev,
|
|
141
|
+
Variance,
|
|
142
|
+
Correlation,
|
|
143
|
+
Regression,
|
|
144
|
+
Probability
|
|
145
|
+
};
|
|
146
|
+
export {
|
|
147
|
+
BarChart,
|
|
148
|
+
BellCurve,
|
|
149
|
+
BoxPlot,
|
|
150
|
+
Correlation,
|
|
151
|
+
Histogram,
|
|
152
|
+
LineGraph,
|
|
153
|
+
Mean,
|
|
154
|
+
Median,
|
|
155
|
+
Mode,
|
|
156
|
+
PieChart,
|
|
157
|
+
Probability,
|
|
158
|
+
Regression,
|
|
159
|
+
Scatter,
|
|
160
|
+
StandardDev,
|
|
161
|
+
Variance,
|
|
162
|
+
statisticsIcons
|
|
163
|
+
};
|
|
164
|
+
//# sourceMappingURL=statistics.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistics.mjs","sources":["../src/statistics.tsx"],"sourcesContent":["import React from 'react';\r\n\r\nimport { createMathIcon } from './createMathIcon';\r\nimport type { MathIcon } from './types';\r\n\r\n/**\r\n * Statistics Icons - Statistical charts and concepts (15 icons)\r\n */\r\n\r\n/** Bar chart icon */\r\nexport const BarChart: MathIcon = createMathIcon(\r\n 'BarChart',\r\n <>\r\n <rect x=\"3\" y=\"12\" width=\"4\" height=\"9\" rx=\"1\" />\r\n <rect x=\"10\" y=\"6\" width=\"4\" height=\"15\" rx=\"1\" />\r\n <rect x=\"17\" y=\"9\" width=\"4\" height=\"12\" rx=\"1\" />\r\n </>,\r\n);\r\n\r\n/** Histogram icon */\r\nexport const Histogram: MathIcon = createMathIcon(\r\n 'Histogram',\r\n <>\r\n <rect x=\"2\" y=\"14\" width=\"4\" height=\"7\" />\r\n <rect x=\"6\" y=\"10\" width=\"4\" height=\"11\" />\r\n <rect x=\"10\" y=\"6\" width=\"4\" height=\"15\" />\r\n <rect x=\"14\" y=\"9\" width=\"4\" height=\"12\" />\r\n <rect x=\"18\" y=\"13\" width=\"4\" height=\"8\" />\r\n </>,\r\n);\r\n\r\n/** Bell curve / Normal distribution icon */\r\nexport const BellCurve: MathIcon = createMathIcon(\r\n 'BellCurve',\r\n <>\r\n <path d=\"M2 18c2-8 4-12 10-12s8 4 10 12\" strokeLinecap=\"round\" />\r\n <path d=\"M12 6v14\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Scatter plot icon */\r\nexport const Scatter: MathIcon = createMathIcon(\r\n 'Scatter',\r\n <>\r\n <circle cx=\"5\" cy=\"16\" r=\"1.5\" />\r\n <circle cx=\"8\" cy=\"12\" r=\"1.5\" />\r\n <circle cx=\"10\" cy=\"14\" r=\"1.5\" />\r\n <circle cx=\"13\" cy=\"9\" r=\"1.5\" />\r\n <circle cx=\"16\" cy=\"7\" r=\"1.5\" />\r\n <circle cx=\"19\" cy=\"5\" r=\"1.5\" />\r\n <path d=\"M3 20l18-16\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Line graph icon */\r\nexport const LineGraph: MathIcon = createMathIcon(\r\n 'LineGraph',\r\n <>\r\n <path d=\"M3 18l4-6 4 3 4-8 6 4\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\r\n <path d=\"M3 20V4M3 20h18\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Pie chart icon */\r\nexport const PieChart: MathIcon = createMathIcon(\r\n 'PieChart',\r\n <>\r\n <circle cx=\"12\" cy=\"12\" r=\"9\" />\r\n <path d=\"M12 3v9h9\" strokeLinecap=\"round\" />\r\n <path d=\"M12 12L5.5 17.5\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Box plot icon */\r\nexport const BoxPlot: MathIcon = createMathIcon(\r\n 'BoxPlot',\r\n <>\r\n <rect x=\"6\" y=\"8\" width=\"12\" height=\"8\" rx=\"1\" />\r\n <path d=\"M12 8v8\" strokeLinecap=\"round\" />\r\n <path d=\"M3 12h3M18 12h3\" strokeLinecap=\"round\" />\r\n <path d=\"M3 10v4M21 10v4\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Mean (x̄) symbol */\r\nexport const Mean: MathIcon = createMathIcon(\r\n 'Mean',\r\n <>\r\n <text x=\"12\" y=\"17\" fontSize=\"14\" textAnchor=\"middle\" fontFamily=\"serif\" fontStyle=\"italic\">\r\n x̄\r\n </text>\r\n <path d=\"M8 8h8\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Median symbol */\r\nexport const Median: MathIcon = createMathIcon(\r\n 'Median',\r\n <>\r\n <path d=\"M4 18h16\" strokeLinecap=\"round\" />\r\n <rect x=\"5\" y=\"14\" width=\"3\" height=\"4\" />\r\n <rect x=\"9\" y=\"10\" width=\"3\" height=\"8\" />\r\n <rect x=\"13\" y=\"6\" width=\"3\" height=\"12\" />\r\n <rect x=\"17\" y=\"12\" width=\"3\" height=\"6\" />\r\n <path d=\"M12 4v16\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Mode symbol */\r\nexport const Mode: MathIcon = createMathIcon(\r\n 'Mode',\r\n <>\r\n <path d=\"M4 18h16\" strokeLinecap=\"round\" />\r\n <rect x=\"4\" y=\"14\" width=\"3\" height=\"4\" />\r\n <rect x=\"8\" y=\"10\" width=\"3\" height=\"8\" />\r\n <rect x=\"12\" y=\"6\" width=\"3\" height=\"12\" fill=\"currentColor\" />\r\n <rect x=\"16\" y=\"12\" width=\"3\" height=\"6\" />\r\n </>,\r\n);\r\n\r\n/** Standard deviation (σ) symbol */\r\nexport const StandardDev: MathIcon = createMathIcon(\r\n 'StandardDev',\r\n <>\r\n <text x=\"12\" y=\"16\" fontSize=\"16\" textAnchor=\"middle\" fontFamily=\"serif\">\r\n σ\r\n </text>\r\n </>,\r\n);\r\n\r\n/** Variance (σ²) symbol */\r\nexport const Variance: MathIcon = createMathIcon(\r\n 'Variance',\r\n <>\r\n <text x=\"10\" y=\"16\" fontSize=\"14\" fontFamily=\"serif\">\r\n σ\r\n </text>\r\n <text x=\"17\" y=\"12\" fontSize=\"10\" fontFamily=\"serif\">\r\n 2\r\n </text>\r\n </>,\r\n);\r\n\r\n/** Correlation symbol */\r\nexport const Correlation: MathIcon = createMathIcon(\r\n 'Correlation',\r\n <>\r\n <circle cx=\"6\" cy=\"18\" r=\"2\" />\r\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\r\n <circle cx=\"18\" cy=\"6\" r=\"2\" />\r\n <path d=\"M7 17L17 7\" strokeLinecap=\"round\" strokeDasharray=\"2 2\" />\r\n </>,\r\n);\r\n\r\n/** Regression line symbol */\r\nexport const Regression: MathIcon = createMathIcon(\r\n 'Regression',\r\n <>\r\n <circle cx=\"5\" cy=\"15\" r=\"1.5\" />\r\n <circle cx=\"9\" cy=\"13\" r=\"1.5\" />\r\n <circle cx=\"13\" cy=\"10\" r=\"1.5\" />\r\n <circle cx=\"17\" cy=\"8\" r=\"1.5\" />\r\n <path d=\"M3 18L21 4\" strokeLinecap=\"round\" />\r\n </>,\r\n);\r\n\r\n/** Probability symbol */\r\nexport const Probability: MathIcon = createMathIcon(\r\n 'Probability',\r\n <>\r\n <text x=\"7\" y=\"16\" fontSize=\"14\" fontFamily=\"serif\" fontWeight=\"bold\">\r\n P\r\n </text>\r\n <text x=\"14\" y=\"18\" fontSize=\"10\" fontFamily=\"serif\">\r\n (A)\r\n </text>\r\n </>,\r\n);\r\n\r\n/**\r\n * All statistics icons\r\n */\r\nexport const statisticsIcons = {\r\n BarChart,\r\n Histogram,\r\n BellCurve,\r\n Scatter,\r\n LineGraph,\r\n PieChart,\r\n BoxPlot,\r\n Mean,\r\n Median,\r\n Mode,\r\n StandardDev,\r\n Variance,\r\n Correlation,\r\n Regression,\r\n Probability,\r\n} as const;\r\n\r\nexport type { MathIcon };\r\n"],"names":[],"mappings":";;AAUO,MAAM,WAAqB;A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