@pie-element/graphing 10.1.2-next.16 → 10.1.2-next.17
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/dist/browser/author/index.js +2 -2
- package/dist/browser/{container-BjdwHm6g.js → container-BzqvQ2H6.js} +2 -2
- package/dist/browser/{container-BjdwHm6g.js.map → container-BzqvQ2H6.js.map} +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{dist-Bqo4KUUX.js → dist-BWfnGHRk.js} +2 -2
- package/dist/browser/dist-BWfnGHRk.js.map +1 -0
- package/dist/index.iife.js +1 -1
- package/package.json +8 -8
- package/dist/browser/dist-Bqo4KUUX.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, E as t, R as n, b as r, f as i, i as a, l as o, p as s, r as c, s as l, u, w as d } from "../dist-
|
|
1
|
+
import { D as e, E as t, R as n, b as r, f as i, i as a, l as o, p as s, r as c, s as l, u, w as d } from "../dist-BWfnGHRk.js";
|
|
2
2
|
//#region src/controller/defaults.ts
|
|
3
3
|
var f = /* @__PURE__ */ n(u(), 1), p = {
|
|
4
4
|
answers: { correctAnswer: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as e } from "../dist-
|
|
2
|
-
import { D as t, E as n, O as r, P as i, T as a, gt as o, ht as s, it as c, nt as l, o as u, t as d, tt as f, w as p, z as m } from "../container-
|
|
1
|
+
import { R as e } from "../dist-BWfnGHRk.js";
|
|
2
|
+
import { D as t, E as n, O as r, P as i, T as a, gt as o, ht as s, it as c, nt as l, o as u, t as d, tt as f, w as p, z as m } from "../container-BzqvQ2H6.js";
|
|
3
3
|
import h, { useRef as g } from "react";
|
|
4
4
|
import { createRoot as _ } from "react-dom/client";
|
|
5
5
|
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
@@ -162,7 +162,7 @@ function F(e, t) {
|
|
|
162
162
|
return Array.from({ length: Math.max(0, e) }, (e, t) => n(t));
|
|
163
163
|
}
|
|
164
164
|
function I(e) {
|
|
165
|
-
return Array.from(new Set(e
|
|
165
|
+
return e != null && e.length ? Array.from(new Set(Array.from(e))) : [];
|
|
166
166
|
}
|
|
167
167
|
function L(e, t) {
|
|
168
168
|
let n = [];
|
|
@@ -548,4 +548,4 @@ var te = /* @__PURE__ */ o(((e, t) => {
|
|
|
548
548
|
//#endregion
|
|
549
549
|
export { m as A, P as C, h as D, y as E, o as F, s as I, u as L, C as M, x as N, F as O, b as P, l as R, j as S, v as T, N as _, G as a, w as b, K as c, z as d, I as f, k as g, ee as h, Z as i, g as j, R as k, $ as l, S as m, ie as n, X as o, E as p, J as r, U as s, ne as t, V as u, D as v, L as w, A as x, O as y };
|
|
550
550
|
|
|
551
|
-
//# sourceMappingURL=dist-
|
|
551
|
+
//# sourceMappingURL=dist-BWfnGHRk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dist-BWfnGHRk.js","names":[],"sources":["../../../../shared/lodash/dist/index.js","../../../../../node_modules/.bun/@mapbox+point-geometry@1.1.0/node_modules/@mapbox/point-geometry/index.js","../../../../../node_modules/.bun/ms@2.1.3/node_modules/ms/index.js","../../../../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js","../../../../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js","../../../../lib-react/graphing-utils/dist/index.js"],"sourcesContent":["//#region src/index.ts\nvar e = Object.prototype;\nfunction t(e) {\n\treturn typeof e == \"object\" && !!e;\n}\nfunction n(e) {\n\treturn Array.isArray(e) ? e : typeof e == \"number\" ? [e] : e.replace(/\\[(\\d+)\\]/g, \".$1\").split(\".\").filter(Boolean);\n}\nfunction r(e) {\n\treturn (t) => x(t, e);\n}\nfunction i(e) {\n\treturn (n) => t(n) ? Object.entries(e).every(([e, t]) => A(n[e], t)) : !1;\n}\nfunction a(e) {\n\treturn typeof e == \"function\" ? e : typeof e == \"string\" ? r(e) : t(e) ? i(e) : ((e) => e);\n}\nfunction o(e, ...t) {\n\treturn Object.assign(e, ...t.filter(Boolean));\n}\nfunction s(e, t = 1) {\n\tif (!e?.length || t < 1) return [];\n\tlet n = [];\n\tfor (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));\n\treturn n;\n}\nfunction c(e) {\n\treturn Array.isArray(e) ? e.slice() : t(e) ? { ...e } : e;\n}\nfunction l(e) {\n\tif (!t(e)) return e;\n\tif (e instanceof Date) return new Date(e.getTime());\n\tif (Array.isArray(e)) return e.map((e) => l(e));\n\tlet n = {};\n\tfor (let [t, r] of Object.entries(e)) n[t] = l(r);\n\treturn n;\n}\nfunction u(e) {\n\treturn (e ?? []).filter(Boolean);\n}\nfunction d(e, ...t) {\n\tlet n = [...e ?? []];\n\tfor (let e of t) Array.isArray(e) ? n.push(...e) : n.push(e);\n\treturn n;\n}\nfunction f(e, t = 0, n = {}) {\n\tlet r, i, a, o, s, c = n.leading === !0, l = n.trailing !== !1, u = () => {\n\t\tif (!a) return s;\n\t\tlet t = a, n = o;\n\t\treturn a = void 0, o = void 0, s = e.apply(n, t), s;\n\t}, d = () => {\n\t\tr && clearTimeout(r), i && clearTimeout(i), r = void 0, i = void 0, a = void 0, o = void 0;\n\t}, f = function(...e) {\n\t\tlet d = c && !r;\n\t\treturn a = e, o = this, d && u(), r && clearTimeout(r), r = setTimeout(() => {\n\t\t\tr = void 0, i &&= (clearTimeout(i), void 0), l ? u() : (a = void 0, o = void 0);\n\t\t}, t), n.maxWait !== void 0 && !i && (i = setTimeout(() => {\n\t\t\tr && clearTimeout(r), r = void 0, i = void 0, l || !c ? u() : (a = void 0, o = void 0);\n\t\t}, n.maxWait)), s;\n\t};\n\treturn f.cancel = d, f.flush = () => (r &&= (clearTimeout(r), void 0), i &&= (clearTimeout(i), void 0), u()), f;\n}\nfunction p(e, ...t) {\n\tfor (let n of t) if (n) for (let [t, r] of Object.entries(n)) e[t] === void 0 && (e[t] = r);\n\treturn e;\n}\nfunction m(e, ...t) {\n\tlet n = new Set(t.flat());\n\treturn (e ?? []).filter((e) => !n.has(e));\n}\nfunction h(e, t, n) {\n\treturn (e ?? []).filter((e) => !(t ?? []).some((t) => n(e, t)));\n}\nfunction g(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [t, i] of r) if (!n(i, t, e)) return !1;\n\treturn !0;\n}\nfunction ee(e) {\n\treturn String(e).replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\");\n}\nfunction _(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [t, i] of r) if (n(i, t, e)) return i;\n}\nfunction v(e, t) {\n\tlet n = a(t);\n\tfor (let [t, r] of Object.entries(e ?? {})) if (n(r, t, e)) return t;\n}\nfunction y(e) {\n\tlet t = [];\n\tfor (let n of e ?? []) Array.isArray(n) ? t.push(...n) : t.push(n);\n\treturn t;\n}\nfunction te(e, t) {\n\treturn R(e, t).flat();\n}\nfunction b(e, t) {\n\tlet n = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [r, i] of n) t(i, r, e);\n\treturn e;\n}\nfunction x(e, t, r) {\n\tif (!Array.isArray(t) && e != null && Object.prototype.hasOwnProperty.call(Object(e), t)) {\n\t\tlet n = e[t];\n\t\treturn n === void 0 ? r : n;\n\t}\n\tlet i = e;\n\tfor (let e of n(t)) {\n\t\tif (i == null) return r;\n\t\ti = i[e];\n\t}\n\treturn i === void 0 ? r : i;\n}\nfunction S(e, t) {\n\tlet n = a(t);\n\treturn K(e, (t, r, i) => {\n\t\tlet a = String(n(r, i, e));\n\t\treturn (t[a] ??= []).push(r), t;\n\t}, {});\n}\nfunction C(e) {\n\treturn e?.[0];\n}\nfunction w(e) {\n\treturn (e ?? []).slice(0, -1);\n}\nfunction T(e, t) {\n\treturn typeof e == \"string\" ? e.includes(String(t)) : Array.isArray(e) ? e.includes(t) : Object.values(e ?? {}).includes(t);\n}\nfunction E(...e) {\n\tlet [t, ...n] = e;\n\treturn $((t ?? []).filter((e) => n.every((t) => (t ?? []).includes(e))));\n}\nfunction D(e) {\n\treturn Array.isArray(e);\n}\nfunction O(e) {\n\treturn e == null ? !0 : typeof e == \"string\" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : !t(e) || Object.keys(e).length === 0;\n}\nfunction k(n, r, i) {\n\tlet a = i?.(n, r);\n\tif (a !== void 0) return !!a;\n\tif (Object.is(n, r)) return !0;\n\tif (!t(n) || !t(r)) return !1;\n\tif (n instanceof Date || r instanceof Date) return n instanceof Date && r instanceof Date && n.getTime() === r.getTime();\n\tif (Array.isArray(n) || Array.isArray(r)) return Array.isArray(n) && Array.isArray(r) && n.length === r.length && n.every((e, t) => k(e, r[t], i));\n\tlet o = Object.keys(n), s = Object.keys(r);\n\treturn o.length === s.length && o.every((t) => e.hasOwnProperty.call(r, t) && k(n[t], r[t], i));\n}\nfunction A(e, t) {\n\treturn k(e, t);\n}\nfunction j(e, t, n) {\n\treturn k(e, t, n);\n}\nfunction M(e) {\n\treturn Number.isFinite(e);\n}\nfunction N(e) {\n\treturn typeof e == \"function\";\n}\nfunction P(e) {\n\treturn typeof e == \"number\" || e instanceof Number;\n}\nfunction F(e) {\n\treturn typeof e == \"object\" && !!e || typeof e == \"function\";\n}\nfunction I(e) {\n\treturn typeof e == \"string\" || e instanceof String;\n}\nfunction L(e) {\n\treturn e === void 0;\n}\nfunction R(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {}), i = [];\n\tfor (let [t, a] of r) i.push(n(a, t, e));\n\treturn i;\n}\nfunction z(e) {\n\treturn e?.length ? Math.max(...e) : void 0;\n}\nfunction B(e, ...n) {\n\tfor (let r of n) if (r) for (let [n, i] of Object.entries(r)) t(i) && !Array.isArray(i) && t(e[n]) ? B(e[n], i) : e[n] = l(i);\n\treturn e;\n}\nfunction V(e, t) {\n\tlet n = { ...e ?? {} };\n\tfor (let e of Array.isArray(t) ? t : [t]) delete n[e];\n\treturn n;\n}\nfunction H(e, t) {\n\tlet n = a(t), r = {};\n\tfor (let [t, i] of Object.entries(e ?? {})) n(i, t, e) || (r[t] = i);\n\treturn r;\n}\nfunction U(e, ...t) {\n\tlet n = {};\n\tfor (let r of t.flat()) e && r in e && (n[r] = e[r]);\n\treturn n;\n}\nfunction W(e, t, n = 1) {\n\tlet r = t ?? e, i = t === void 0 ? 0 : e;\n\tif (n === 0) return [];\n\tlet a = [], o = n > 0;\n\tfor (let e = i; o ? e < r : e > r; e += n) a.push(e);\n\treturn a;\n}\nfunction G(e, t, n = 1) {\n\treturn W(e, t, n).reverse();\n}\nfunction K(e, t, n) {\n\tlet r = n, i = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [n, a] of i) r = t(r, a, n, e);\n\treturn r;\n}\nfunction q(e, t) {\n\tlet n = a(t), r = [];\n\tfor (let t = e.length - 1; t >= 0; t--) n(e[t], t, e) && r.unshift(...e.splice(t, 1));\n\treturn r;\n}\nfunction J(e, t, r) {\n\tlet i = n(t), a = e;\n\treturn i.forEach((e, t) => {\n\t\tif (t === i.length - 1) {\n\t\t\ta[e] = r;\n\t\t\treturn;\n\t\t}\n\t\tlet n = i[t + 1];\n\t\ta[e] ??= typeof n == \"number\" || /^\\d+$/.test(String(n)) ? [] : {}, a = a[e];\n\t}), e;\n}\nfunction Y(e) {\n\tlet t = [...e ?? []];\n\tfor (let e = t.length - 1; e > 0; e--) {\n\t\tlet n = Math.floor(Math.random() * (e + 1));\n\t\t[t[e], t[n]] = [t[n], t[e]];\n\t}\n\treturn t;\n}\nfunction X(e) {\n\treturn (e ?? []).slice(1);\n}\nfunction Z(e, t = 1) {\n\treturn t <= 0 ? [] : (e ?? []).slice(-t);\n}\nfunction Q(e, t = 0, n = {}) {\n\treturn f(e, t, {\n\t\tleading: n.leading !== !1,\n\t\ttrailing: n.trailing !== !1,\n\t\tmaxWait: t\n\t});\n}\nfunction ne(e, t) {\n\tlet n = t ?? ((e) => e);\n\treturn Array.from({ length: Math.max(0, e) }, (e, t) => n(t));\n}\nvar re = 0;\nfunction ie(e = \"\") {\n\treturn re += 1, `${e}${re}`;\n}\nfunction $(e) {\n\treturn e != null && e.length ? Array.from(new Set(Array.from(e))) : [];\n}\nfunction ae(e, t) {\n\tlet n = [];\n\tfor (let r of e ?? []) n.some((e) => t(r, e)) || n.push(r);\n\treturn n;\n}\nfunction oe(...e) {\n\tlet t = Math.max(0, ...e.map((e) => e.length));\n\treturn Array.from({ length: t }, (t, n) => e.map((e) => e[n]));\n}\nvar se = {\n\tassign: o,\n\tchunk: s,\n\tclone: c,\n\tcloneDeep: l,\n\tcompact: u,\n\tconcat: d,\n\tdebounce: f,\n\tdefaults: p,\n\tdifference: m,\n\tdifferenceWith: h,\n\tevery: g,\n\tescape: ee,\n\tfind: _,\n\tfindKey: v,\n\tflatten: y,\n\tflatMap: te,\n\tforEach: b,\n\tget: x,\n\tgroupBy: S,\n\thead: C,\n\tincludes: T,\n\tinitial: w,\n\tintersection: E,\n\tisArray: D,\n\tisEmpty: O,\n\tisEqual: A,\n\tisEqualWith: j,\n\tisFinite: M,\n\tisFunction: N,\n\tisNumber: P,\n\tisObject: F,\n\tisString: I,\n\tisUndefined: L,\n\tmap: R,\n\tmax: z,\n\tmerge: B,\n\tomit: V,\n\tomitBy: H,\n\tpick: U,\n\trange: W,\n\trangeRight: G,\n\treduce: K,\n\tremove: q,\n\tset: J,\n\tshuffle: Y,\n\ttail: X,\n\ttakeRight: Z,\n\tthrottle: Q,\n\ttimes: ne,\n\tuniqueId: ie,\n\tuniq: $,\n\tuniqWith: ae,\n\tzip: oe\n};\n//#endregion\nexport { o as assign, s as chunk, c as clone, l as cloneDeep, u as compact, d as concat, f as debounce, se as default, p as defaults, m as difference, h as differenceWith, ee as escape, g as every, _ as find, v as findKey, te as flatMap, y as flatten, b as forEach, x as get, S as groupBy, C as head, T as includes, w as initial, E as intersection, D as isArray, O as isEmpty, A as isEqual, j as isEqualWith, M as isFinite, N as isFunction, P as isNumber, F as isObject, I as isString, L as isUndefined, R as map, z as max, B as merge, V as omit, H as omitBy, U as pick, W as range, G as rangeRight, K as reduce, q as remove, J as set, Y as shuffle, X as tail, Z as takeRight, Q as throttle, ne as times, $ as uniq, ae as uniqWith, ie as uniqueId, oe as zip };\n","/**\n * A standalone point geometry with useful accessor, comparison, and\n * modification methods.\n *\n * @class\n * @param {number} x the x-coordinate. This could be longitude or screen pixels, or any other sort of unit.\n * @param {number} y the y-coordinate. This could be latitude or screen pixels, or any other sort of unit.\n *\n * @example\n * const point = new Point(-77, 38);\n */\nexport default function Point(x, y) {\n this.x = x;\n this.y = y;\n}\n\nPoint.prototype = {\n /**\n * Clone this point, returning a new point that can be modified\n * without affecting the old one.\n * @return {Point} the clone\n */\n clone() { return new Point(this.x, this.y); },\n\n /**\n * Add this point's x & y coordinates to another point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n add(p) { return this.clone()._add(p); },\n\n /**\n * Subtract this point's x & y coordinates to from point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n sub(p) { return this.clone()._sub(p); },\n\n /**\n * Multiply this point's x & y coordinates by point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n multByPoint(p) { return this.clone()._multByPoint(p); },\n\n /**\n * Divide this point's x & y coordinates by point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n divByPoint(p) { return this.clone()._divByPoint(p); },\n\n /**\n * Multiply this point's x & y coordinates by a factor,\n * yielding a new point.\n * @param {number} k factor\n * @return {Point} output point\n */\n mult(k) { return this.clone()._mult(k); },\n\n /**\n * Divide this point's x & y coordinates by a factor,\n * yielding a new point.\n * @param {number} k factor\n * @return {Point} output point\n */\n div(k) { return this.clone()._div(k); },\n\n /**\n * Rotate this point around the 0, 0 origin by an angle a,\n * given in radians\n * @param {number} a angle to rotate around, in radians\n * @return {Point} output point\n */\n rotate(a) { return this.clone()._rotate(a); },\n\n /**\n * Rotate this point around p point by an angle a,\n * given in radians\n * @param {number} a angle to rotate around, in radians\n * @param {Point} p Point to rotate around\n * @return {Point} output point\n */\n rotateAround(a, p) { return this.clone()._rotateAround(a, p); },\n\n /**\n * Multiply this point by a 4x1 transformation matrix\n * @param {[number, number, number, number]} m transformation matrix\n * @return {Point} output point\n */\n matMult(m) { return this.clone()._matMult(m); },\n\n /**\n * Calculate this point but as a unit vector from 0, 0, meaning\n * that the distance from the resulting point to the 0, 0\n * coordinate will be equal to 1 and the angle from the resulting\n * point to the 0, 0 coordinate will be the same as before.\n * @return {Point} unit vector point\n */\n unit() { return this.clone()._unit(); },\n\n /**\n * Compute a perpendicular point, where the new y coordinate\n * is the old x coordinate and the new x coordinate is the old y\n * coordinate multiplied by -1\n * @return {Point} perpendicular point\n */\n perp() { return this.clone()._perp(); },\n\n /**\n * Return a version of this point with the x & y coordinates\n * rounded to integers.\n * @return {Point} rounded point\n */\n round() { return this.clone()._round(); },\n\n /**\n * Return the magnitude of this point: this is the Euclidean\n * distance from the 0, 0 coordinate to this point's x and y\n * coordinates.\n * @return {number} magnitude\n */\n mag() {\n return Math.sqrt(this.x * this.x + this.y * this.y);\n },\n\n /**\n * Judge whether this point is equal to another point, returning\n * true or false.\n * @param {Point} other the other point\n * @return {boolean} whether the points are equal\n */\n equals(other) {\n return this.x === other.x &&\n this.y === other.y;\n },\n\n /**\n * Calculate the distance from this point to another point\n * @param {Point} p the other point\n * @return {number} distance\n */\n dist(p) {\n return Math.sqrt(this.distSqr(p));\n },\n\n /**\n * Calculate the distance from this point to another point,\n * without the square root step. Useful if you're comparing\n * relative distances.\n * @param {Point} p the other point\n * @return {number} distance\n */\n distSqr(p) {\n const dx = p.x - this.x,\n dy = p.y - this.y;\n return dx * dx + dy * dy;\n },\n\n /**\n * Get the angle from the 0, 0 coordinate to this point, in radians\n * coordinates.\n * @return {number} angle\n */\n angle() {\n return Math.atan2(this.y, this.x);\n },\n\n /**\n * Get the angle from this point to another point, in radians\n * @param {Point} b the other point\n * @return {number} angle\n */\n angleTo(b) {\n return Math.atan2(this.y - b.y, this.x - b.x);\n },\n\n /**\n * Get the angle between this point and another point, in radians\n * @param {Point} b the other point\n * @return {number} angle\n */\n angleWith(b) {\n return this.angleWithSep(b.x, b.y);\n },\n\n /**\n * Find the angle of the two vectors, solving the formula for\n * the cross product a x b = |a||b|sin(θ) for θ.\n * @param {number} x the x-coordinate\n * @param {number} y the y-coordinate\n * @return {number} the angle in radians\n */\n angleWithSep(x, y) {\n return Math.atan2(\n this.x * y - this.y * x,\n this.x * x + this.y * y);\n },\n\n /** @param {[number, number, number, number]} m */\n _matMult(m) {\n const x = m[0] * this.x + m[1] * this.y,\n y = m[2] * this.x + m[3] * this.y;\n this.x = x;\n this.y = y;\n return this;\n },\n\n /** @param {Point} p */\n _add(p) {\n this.x += p.x;\n this.y += p.y;\n return this;\n },\n\n /** @param {Point} p */\n _sub(p) {\n this.x -= p.x;\n this.y -= p.y;\n return this;\n },\n\n /** @param {number} k */\n _mult(k) {\n this.x *= k;\n this.y *= k;\n return this;\n },\n\n /** @param {number} k */\n _div(k) {\n this.x /= k;\n this.y /= k;\n return this;\n },\n\n /** @param {Point} p */\n _multByPoint(p) {\n this.x *= p.x;\n this.y *= p.y;\n return this;\n },\n\n /** @param {Point} p */\n _divByPoint(p) {\n this.x /= p.x;\n this.y /= p.y;\n return this;\n },\n\n _unit() {\n this._div(this.mag());\n return this;\n },\n\n _perp() {\n const y = this.y;\n this.y = this.x;\n this.x = -y;\n return this;\n },\n\n /** @param {number} angle */\n _rotate(angle) {\n const cos = Math.cos(angle),\n sin = Math.sin(angle),\n x = cos * this.x - sin * this.y,\n y = sin * this.x + cos * this.y;\n this.x = x;\n this.y = y;\n return this;\n },\n\n /**\n * @param {number} angle\n * @param {Point} p\n */\n _rotateAround(angle, p) {\n const cos = Math.cos(angle),\n sin = Math.sin(angle),\n x = p.x + cos * (this.x - p.x) - sin * (this.y - p.y),\n y = p.y + sin * (this.x - p.x) + cos * (this.y - p.y);\n this.x = x;\n this.y = y;\n return this;\n },\n\n _round() {\n this.x = Math.round(this.x);\n this.y = Math.round(this.y);\n return this;\n },\n\n constructor: Point\n};\n\n/**\n * Construct a point from an array if necessary, otherwise if the input\n * is already a Point, return it unchanged.\n * @param {Point | [number, number] | {x: number, y: number}} p input value\n * @return {Point} constructed point.\n * @example\n * // this\n * var point = Point.convert([0, 1]);\n * // is equivalent to\n * var point = new Point(0, 1);\n */\nPoint.convert = function (p) {\n if (p instanceof Point) {\n return /** @type {Point} */ (p);\n }\n if (Array.isArray(p)) {\n return new Point(+p[0], +p[1]);\n }\n if (p.x !== undefined && p.y !== undefined) {\n return new Point(+p.x, +p.y);\n }\n throw new Error('Expected [x, y] or {x, y} point format');\n};\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function (val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '')\n\t\t\t.trim()\n\t\t\t.replace(/\\s+/g, ',')\n\t\t\t.split(',')\n\t\t\t.filter(Boolean);\n\n\t\tfor (const ns of split) {\n\t\t\tif (ns[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(ns.slice(1));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(ns);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the given string matches a namespace template, honoring\n\t * asterisks as wildcards.\n\t *\n\t * @param {String} search\n\t * @param {String} template\n\t * @return {Boolean}\n\t */\n\tfunction matchesTemplate(search, template) {\n\t\tlet searchIndex = 0;\n\t\tlet templateIndex = 0;\n\t\tlet starIndex = -1;\n\t\tlet matchIndex = 0;\n\n\t\twhile (searchIndex < search.length) {\n\t\t\tif (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {\n\t\t\t\t// Match character or proceed with wildcard\n\t\t\t\tif (template[templateIndex] === '*') {\n\t\t\t\t\tstarIndex = templateIndex;\n\t\t\t\t\tmatchIndex = searchIndex;\n\t\t\t\t\ttemplateIndex++; // Skip the '*'\n\t\t\t\t} else {\n\t\t\t\t\tsearchIndex++;\n\t\t\t\t\ttemplateIndex++;\n\t\t\t\t}\n\t\t\t} else if (starIndex !== -1) { // eslint-disable-line no-negated-condition\n\t\t\t\t// Backtrack to the last '*' and try to match more characters\n\t\t\t\ttemplateIndex = starIndex + 1;\n\t\t\t\tmatchIndex++;\n\t\t\t\tsearchIndex = matchIndex;\n\t\t\t} else {\n\t\t\t\treturn false; // No match\n\t\t\t}\n\t\t}\n\n\t\t// Handle trailing '*' in template\n\t\twhile (templateIndex < template.length && template[templateIndex] === '*') {\n\t\t\ttemplateIndex++;\n\t\t}\n\n\t\treturn templateIndex === template.length;\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names,\n\t\t\t...createDebug.skips.map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tfor (const skip of createDebug.skips) {\n\t\t\tif (matchesTemplate(name, skip)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (const ns of createDebug.names) {\n\t\t\tif (matchesTemplate(name, ns)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\tlet m;\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\t// eslint-disable-next-line no-return-assign\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)) && parseInt(m[1], 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","import e from \"debug\";\nimport { concat as t, range as n, rangeRight as r } from \"@pie-element/shared-lodash\";\nimport i from \"@mapbox/point-geometry\";\n//#region src/index.ts\nvar a = e(\"pie-lib:graphing:tools:utils\"), o = 16, s = (e, t) => {\n\tif (!t || e.x == t.x) return {\n\t\tfreq: 0,\n\t\tamplitude: 0\n\t};\n\tlet n = new i(e.x, e.y), r = new i(t.x, t.y).sub(n);\n\treturn {\n\t\tfreq: r.x * 4,\n\t\tamplitude: r.y\n\t};\n}, c = (e, i, o, s) => (i = Math.abs(i), a(\"[xPoints] root:\", e, \"freq:\", i, \" min:\", o, \" max:\", s), t(r(e, o - i, i * -1), n(e + i, s + i, i))), l = (e, t, n) => (r) => {\n\tn = {\n\t\tphase: 0,\n\t\tvertical: 0,\n\t\t...n\n\t};\n\tlet i = Math.PI * 2 * (r - n.phase) / t;\n\treturn e * parseFloat(Math.sin(i)).toFixed(10) + n.vertical;\n}, u = (e, t) => {\n\tt ||= { ...e };\n\tlet n = {\n\t\tx: e.x - (t.x - e.x),\n\t\ty: t.y\n\t};\n\treturn d(e, t, n);\n}, d = (e, t, n) => {\n\ta(e, t, n);\n\tlet { a: r, b: i, c: o } = f(e, t, n);\n\treturn a(r, i, o), p(r, i, o);\n}, f = (e, t, n) => {\n\tlet r = e.x ** 2 * -1 + t.x ** 2, i = e.x * -1 + t.x, a = e.y * -1 + t.y, o = t.x ** 2 * -1 + n.x ** 2, s = t.x * -1 + n.x, c = t.y * -1 + n.y, l = s / i * -1, u = l * r + o, d = (l * a + c) / u, f = (a - r * d) / i;\n\treturn {\n\t\ta: d,\n\t\tb: f,\n\t\tc: e.y - d * e.x ** 2 - f * e.x\n\t};\n}, p = (e, t, n) => (r) => e * r ** 2 + t * r + n, m = (e, t) => (t ||= { ...e }, g(h(e, t), e.x, e.y)), h = (e, t) => {\n\tlet n = (t.y - e.y) / (t.x - e.x);\n\treturn t.x < e.x && (n *= -1), n;\n}, g = (e, t, n) => (r) => e * Math.abs(r - t) + n, _ = (e, t) => {\n\tt ||= { ...e };\n\tlet { a: n, b: r } = v(e, t);\n\treturn y(n, r);\n}, v = (e, t) => {\n\tlet n = (e.y / t.y) ** +(1 / (e.x - t.x));\n\treturn {\n\t\ta: e.y / n ** +e.x,\n\t\tb: n\n\t};\n}, y = (e, t) => (n) => e * t ** +n, b = (e, t, n, r, o, s = !1) => {\n\ta(\"[buildDataPoints] domain:\", e, \"range:\", t, \"root:\", n, \"edge:\", r), e = {\n\t\tmin: 0,\n\t\tmax: 0,\n\t\tstep: 1,\n\t\t...e\n\t}, t = {\n\t\tmin: 0,\n\t\tmax: 0,\n\t\tstep: 1,\n\t\t...t\n\t}, r ||= { ...n };\n\tlet l = c(Math.min(n.x, r.x), e.step, e.min - e.step, e.max + e.step);\n\ta(\"[buildDataPoints]:xPts:\", l);\n\tlet u = -1, d = -1, f = l.map((e) => new i(e, o(e)));\n\tif (!s) return f;\n\tlet p = f.reduce((e, n, r) => n.y >= t.min - t.step && n.y <= t.max + t.step ? (u === -1 && (u = r), d < r && (d = r), [...e, n]) : e, []);\n\treturn u - 1 >= 0 && p.unshift(f[u - 1]), d + 1 <= f.length - 1 && p.push(f[d + 1]), f;\n}, x = {\n\tFREQ_DIVIDER: 16,\n\tgetAmplitudeAndFreq: s,\n\txPoints: c,\n\tsinY: l,\n\tparabolaFromTwoPoints: u,\n\tparabolaFromThreePoints: d,\n\tpointsToABC: f,\n\tparabola: p,\n\tabsoluteFromTwoPoints: m,\n\tpointsToAForAbsolute: h,\n\tabsolute: g,\n\texponentialFromTwoPoints: _,\n\tpointsToABForExponential: v,\n\texponential: y,\n\tbuildDataPoints: b\n};\n//#endregion\nexport { o as FREQ_DIVIDER, g as absolute, m as absoluteFromTwoPoints, b as buildDataPoints, x as default, y as exponential, _ as exponentialFromTwoPoints, s as getAmplitudeAndFreq, p as parabola, d as parabolaFromThreePoints, u as parabolaFromTwoPoints, f as pointsToABC, v as pointsToABForExponential, h as pointsToAForAbsolute, l as sinY, c as xPoints };\n"],"x_google_ignoreList":[1,2,3,4],"mappings":";;;;;;;;;;;;;;;;;;;;IACI,IAAI,OAAO;AACf,SAAS,EAAE,GAAG;CACb,OAAO,OAAO,KAAK,YAAY,CAAC,CAAC;AAClC;AACA,SAAS,EAAE,GAAG;CACb,OAAO,MAAM,QAAQ,CAAC,IAAI,IAAI,OAAO,KAAK,WAAW,CAAC,CAAC,IAAI,EAAE,QAAQ,cAAc,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,OAAO,OAAO;AACpH;AAaA,SAAS,EAAE,GAAG,IAAI,GAAG;CACpB,IAAI,CAAC,GAAG,UAAU,IAAI,GAAG,OAAO,CAAC;CACjC,IAAI,IAAI,CAAC;CACT,KAAK,IAAI,IAAI,GAAG,IAAI,EAAE,QAAQ,KAAK,GAAG,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;CAC9D,OAAO;AACR;AAIA,SAAS,EAAE,GAAG;CACb,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO;CAClB,IAAI,aAAa,MAAM,OAAO,IAAI,KAAK,EAAE,QAAQ,CAAC;CAClD,IAAI,MAAM,QAAQ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IAAI,KAAK,CAAC,EAAE;EACjB,GAAG;CACJ;AACD,GAAG,MAAK,GAAG,OAAO,MAAM,IAAI,KAAK,CAAC,GAAG,MAAK,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC,MAAM;CACnE,EAAE,6BAA6B,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC,GAAG,IAAI;EAC3E,KAAK;EACL,KAAK;EACL,MAAM;EACN,GAAG;CACJ,GAAG,IAAI;EACN,KAAK;EACL,KAAK;EACL,MAAM;EACN,GAAG;CACJ,GAAG,MAAM,EAAE,GAAG,EAAE;CAChB,IAAI,IAAI,EAAE,KAAK,IAAI,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI;CACpE,EAAE,2BAA2B,CAAC;CAC9B,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,EAAE,KAAK,MAAM,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;CACnD,IAAI,CAAC,GAAG,OAAO;CACf,IAAI,IAAI,EAAE,QAAQ,GAAG,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,MAAM,OAAO,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC,GAAG,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC;CACzI,OAAO,IAAI,KAAK,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,IAAI,KAAK,EAAE,SAAS,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG;AACtF"}
|
package/dist/index.iife.js
CHANGED
|
@@ -40,7 +40,7 @@ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
|
40
40
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
41
41
|
|
|
42
42
|
export default theme;`}function so(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var co=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function lo(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:Si(t,co(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${so(n)})`:Ei(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${so(n)})`:wi(t,n)}})}function uo(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,colorSpace:l,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(j(20));let d=Va({...a,colorSpace:l}),f=Lr(e),p=xn(f,{mixins:Ua(f.breakpoints,r),palette:d,shadows:Qa.slice(),typography:qa(d,s),transitions:ro(o),zIndex:{...io}});return p=xn(p,u),p=t.reduce((e,t)=>xn(e,t),p),p.unstable_sxConfig={...jr,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Fr({sx:e,theme:this})},p.toRuntimeSource=oo,lo(p),p}function fo(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var po=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=fo(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function mo(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function ho(e){return e===`dark`?po:[]}function go(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=Va({...t,colorSpace:i});return{palette:o,opacity:{...mo(o.mode),...n},overlays:r||ho(o.mode),...a}}function _o(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var vo=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],yo=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return vo(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function bo(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function z(e,t,n){!e[t]&&n&&(e[t]=n)}function xo(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:yi(e)}function So(e,t){`${t}Channel`in e||(e[`${t}Channel`]=_i(xo(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
43
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Co(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var wo=e=>{try{return e()}catch{}},To=(e=`mui`)=>da(e);function Eo(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=go({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=uo({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...mo(a),...n?.opacity},overlays:n?.overlays||ho(a)},s}function Do(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=_o,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=To(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(j(21,f));let b;o&&(b=`oklch`);let x=Eo(b,v,y,u,f);h&&!v.light&&Eo(b,v,h,void 0,`light`),g&&!v.dark&&Eo(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...Ha(x.typography),...x.font},spacing:Co(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(z(t.common,`background`,`#fff`),z(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(z(t.common,`background`,`#000`),z(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===Ci&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===Ti&&(r=`#000 ${(n*100).toFixed(0)}%`),e===Di&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(bo(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){z(t.Alert,`errorColor`,r(Ti,o?p(`palette-error-light`):t.error.light,.6)),z(t.Alert,`infoColor`,r(Ti,o?p(`palette-info-light`):t.info.light,.6)),z(t.Alert,`successColor`,r(Ti,o?p(`palette-success-light`):t.success.light,.6)),z(t.Alert,`warningColor`,r(Ti,o?p(`palette-warning-light`):t.warning.light,.6)),z(t.Alert,`errorFilledBg`,n(`palette-error-main`)),z(t.Alert,`infoFilledBg`,n(`palette-info-main`)),z(t.Alert,`successFilledBg`,n(`palette-success-main`)),z(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),z(t.Alert,`errorFilledColor`,wo(()=>t.getContrastText(t.error.main))),z(t.Alert,`infoFilledColor`,wo(()=>t.getContrastText(t.info.main))),z(t.Alert,`successFilledColor`,wo(()=>t.getContrastText(t.success.main))),z(t.Alert,`warningFilledColor`,wo(()=>t.getContrastText(t.warning.main))),z(t.Alert,`errorStandardBg`,r(Di,o?p(`palette-error-light`):t.error.light,.9)),z(t.Alert,`infoStandardBg`,r(Di,o?p(`palette-info-light`):t.info.light,.9)),z(t.Alert,`successStandardBg`,r(Di,o?p(`palette-success-light`):t.success.light,.9)),z(t.Alert,`warningStandardBg`,r(Di,o?p(`palette-warning-light`):t.warning.light,.9)),z(t.Alert,`errorIconColor`,n(`palette-error-main`)),z(t.Alert,`infoIconColor`,n(`palette-info-main`)),z(t.Alert,`successIconColor`,n(`palette-success-main`)),z(t.Alert,`warningIconColor`,n(`palette-warning-main`)),z(t.AppBar,`defaultBg`,n(`palette-grey-100`)),z(t.Avatar,`defaultBg`,n(`palette-grey-400`)),z(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),z(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),z(t.Chip,`defaultBorder`,n(`palette-grey-400`)),z(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),z(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),z(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),z(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),z(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),z(t.LinearProgress,`primaryBg`,r(Di,o?p(`palette-primary-main`):t.primary.main,.62)),z(t.LinearProgress,`secondaryBg`,r(Di,o?p(`palette-secondary-main`):t.secondary.main,.62)),z(t.LinearProgress,`errorBg`,r(Di,o?p(`palette-error-main`):t.error.main,.62)),z(t.LinearProgress,`infoBg`,r(Di,o?p(`palette-info-main`):t.info.main,.62)),z(t.LinearProgress,`successBg`,r(Di,o?p(`palette-success-main`):t.success.main,.62)),z(t.LinearProgress,`warningBg`,r(Di,o?p(`palette-warning-light`):t.warning.main,.62)),z(t.Skeleton,`bg`,b?r(Ci,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),z(t.Slider,`primaryTrack`,r(Di,o?p(`palette-primary-main`):t.primary.main,.62)),z(t.Slider,`secondaryTrack`,r(Di,o?p(`palette-secondary-main`):t.secondary.main,.62)),z(t.Slider,`errorTrack`,r(Di,o?p(`palette-error-main`):t.error.main,.62)),z(t.Slider,`infoTrack`,r(Di,o?p(`palette-info-main`):t.info.main,.62)),z(t.Slider,`successTrack`,r(Di,o?p(`palette-success-main`):t.success.main,.62)),z(t.Slider,`warningTrack`,r(Di,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(Ti,o?p(`palette-background-default`):t.background.default,.6825):ki(t.background.default,.8);z(t.SnackbarContent,`bg`,e),z(t.SnackbarContent,`color`,wo(()=>b?ja.text.primary:t.getContrastText(e))),z(t.SpeedDialAction,`fabHoverBg`,ki(t.background.paper,.15)),z(t.StepConnector,`border`,n(`palette-grey-400`)),z(t.StepContent,`border`,n(`palette-grey-400`)),z(t.Switch,`defaultColor`,n(`palette-common-white`)),z(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),z(t.Switch,`primaryDisabledColor`,r(Di,o?p(`palette-primary-main`):t.primary.main,.62)),z(t.Switch,`secondaryDisabledColor`,r(Di,o?p(`palette-secondary-main`):t.secondary.main,.62)),z(t.Switch,`errorDisabledColor`,r(Di,o?p(`palette-error-main`):t.error.main,.62)),z(t.Switch,`infoDisabledColor`,r(Di,o?p(`palette-info-main`):t.info.main,.62)),z(t.Switch,`successDisabledColor`,r(Di,o?p(`palette-success-main`):t.success.main,.62)),z(t.Switch,`warningDisabledColor`,r(Di,o?p(`palette-warning-main`):t.warning.main,.62)),z(t.TableCell,`border`,r(Di,Ci(o?p(`palette-divider`):t.divider,1),.88)),z(t.Tooltip,`bg`,r(Ci,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){z(t.Alert,`errorColor`,r(Di,o?p(`palette-error-light`):t.error.light,.6)),z(t.Alert,`infoColor`,r(Di,o?p(`palette-info-light`):t.info.light,.6)),z(t.Alert,`successColor`,r(Di,o?p(`palette-success-light`):t.success.light,.6)),z(t.Alert,`warningColor`,r(Di,o?p(`palette-warning-light`):t.warning.light,.6)),z(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),z(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),z(t.Alert,`successFilledBg`,n(`palette-success-dark`)),z(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),z(t.Alert,`errorFilledColor`,wo(()=>t.getContrastText(t.error.dark))),z(t.Alert,`infoFilledColor`,wo(()=>t.getContrastText(t.info.dark))),z(t.Alert,`successFilledColor`,wo(()=>t.getContrastText(t.success.dark))),z(t.Alert,`warningFilledColor`,wo(()=>t.getContrastText(t.warning.dark))),z(t.Alert,`errorStandardBg`,r(Ti,o?p(`palette-error-light`):t.error.light,.9)),z(t.Alert,`infoStandardBg`,r(Ti,o?p(`palette-info-light`):t.info.light,.9)),z(t.Alert,`successStandardBg`,r(Ti,o?p(`palette-success-light`):t.success.light,.9)),z(t.Alert,`warningStandardBg`,r(Ti,o?p(`palette-warning-light`):t.warning.light,.9)),z(t.Alert,`errorIconColor`,n(`palette-error-main`)),z(t.Alert,`infoIconColor`,n(`palette-info-main`)),z(t.Alert,`successIconColor`,n(`palette-success-main`)),z(t.Alert,`warningIconColor`,n(`palette-warning-main`)),z(t.AppBar,`defaultBg`,n(`palette-grey-900`)),z(t.AppBar,`darkBg`,n(`palette-background-paper`)),z(t.AppBar,`darkColor`,n(`palette-text-primary`)),z(t.Avatar,`defaultBg`,n(`palette-grey-600`)),z(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),z(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),z(t.Chip,`defaultBorder`,n(`palette-grey-700`)),z(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),z(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),z(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),z(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),z(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),z(t.LinearProgress,`primaryBg`,r(Ti,o?p(`palette-primary-main`):t.primary.main,.5)),z(t.LinearProgress,`secondaryBg`,r(Ti,o?p(`palette-secondary-main`):t.secondary.main,.5)),z(t.LinearProgress,`errorBg`,r(Ti,o?p(`palette-error-main`):t.error.main,.5)),z(t.LinearProgress,`infoBg`,r(Ti,o?p(`palette-info-main`):t.info.main,.5)),z(t.LinearProgress,`successBg`,r(Ti,o?p(`palette-success-main`):t.success.main,.5)),z(t.LinearProgress,`warningBg`,r(Ti,o?p(`palette-warning-main`):t.warning.main,.5)),z(t.Skeleton,`bg`,b?r(Ci,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),z(t.Slider,`primaryTrack`,r(Ti,o?p(`palette-primary-main`):t.primary.main,.5)),z(t.Slider,`secondaryTrack`,r(Ti,o?p(`palette-secondary-main`):t.secondary.main,.5)),z(t.Slider,`errorTrack`,r(Ti,o?p(`palette-error-main`):t.error.main,.5)),z(t.Slider,`infoTrack`,r(Ti,o?p(`palette-info-main`):t.info.main,.5)),z(t.Slider,`successTrack`,r(Ti,o?p(`palette-success-main`):t.success.main,.5)),z(t.Slider,`warningTrack`,r(Ti,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(Di,o?p(`palette-background-default`):t.background.default,.985):ki(t.background.default,.98);z(t.SnackbarContent,`bg`,e),z(t.SnackbarContent,`color`,wo(()=>b?ka.text.primary:t.getContrastText(e))),z(t.SpeedDialAction,`fabHoverBg`,ki(t.background.paper,.15)),z(t.StepConnector,`border`,n(`palette-grey-600`)),z(t.StepContent,`border`,n(`palette-grey-600`)),z(t.Switch,`defaultColor`,n(`palette-grey-300`)),z(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),z(t.Switch,`primaryDisabledColor`,r(Ti,o?p(`palette-primary-main`):t.primary.main,.55)),z(t.Switch,`secondaryDisabledColor`,r(Ti,o?p(`palette-secondary-main`):t.secondary.main,.55)),z(t.Switch,`errorDisabledColor`,r(Ti,o?p(`palette-error-main`):t.error.main,.55)),z(t.Switch,`infoDisabledColor`,r(Ti,o?p(`palette-info-main`):t.info.main,.55)),z(t.Switch,`successDisabledColor`,r(Ti,o?p(`palette-success-main`):t.success.main,.55)),z(t.Switch,`warningDisabledColor`,r(Ti,o?p(`palette-warning-light`):t.warning.main,.55)),z(t.TableCell,`border`,r(Ti,Ci(o?p(`palette-divider`):t.divider,1),.68)),z(t.Tooltip,`bg`,r(Ci,o?p(`palette-grey-700`):t.grey[700],.92))}o||(So(t.background,`default`),So(t.background,`paper`),So(t.common,`background`),So(t.common,`onBackground`),So(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&z(t[e],`mainChannel`,_i(xo(n.main))),n.light&&z(t[e],`lightChannel`,_i(xo(n.light))),n.dark&&z(t[e],`darkChannel`,_i(xo(n.dark))),n.contrastText&&z(t[e],`contrastTextChannel`,_i(xo(n.contrastText))),e===`text`&&(So(t[e],`primary`),So(t[e],`secondary`)),e===`action`&&(n.active&&So(t[e],`active`),n.selected&&So(t[e],`selected`)))})}),S=t.reduce((e,t)=>xn(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:yo(S),enableContrastVars:o},{vars:w,generateThemeVars:T,generateStyleSheets:E}=ga(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=T,S.generateStyleSheets=E,S.generateSpacing=function(){return rr(u.spacing,Yn(this))},S.getColorSchemeSelector=_a(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...jr,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Fr({sx:e,theme:this})},S.toRuntimeSource=oo,S}function Oo(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Va({...n===!0?{}:n.palette,mode:t})})}function ko(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return uo(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=uo({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Oo(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Oo(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Do({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Ao=ko();function jo(){let e=Vr(Ao);return e.$$material||e}function Mo(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var No=e=>Mo(e)&&e!==`classes`,B=oi({themeId:M,defaultTheme:Ao,rootShouldForwardProp:No});function Po({theme:e,...t}){let n=`$$material`in e?e[M]:void 0;return(0,L.jsx)(Yi,{...t,themeId:n?M:void 0,theme:n||e})}var Fo={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:Io,useColorScheme:Lo,getInitColorSchemeScript:Ro}=ua({themeId:M,theme:()=>ko({cssVariables:!0}),colorSchemeStorageKey:Fo.colorSchemeStorageKey,modeStorageKey:Fo.modeStorageKey,defaultColorScheme:{light:Fo.defaultLightColorScheme,dark:Fo.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:qa(e.palette,e.typography)};return t.unstable_sx=function(e){return Fr({sx:e,theme:this})},t}}),zo=Io;function Bo({theme:e,...t}){let n=I.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[M]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,L.jsx)(Po,{theme:n,...t}):(0,L.jsx)(zo,{theme:e,...t})}var Vo=Object.prototype;function Ho(e){return typeof e==`object`&&!!e}function Uo(e){return Array.isArray(e)?e:typeof e==`number`?[e]:e.replace(/\[(\d+)\]/g,`.$1`).split(`.`).filter(Boolean)}function Wo(e,t=1){if(!e?.length||t<1)return[];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function Go(e){if(!Ho(e))return e;if(e instanceof Date)return new Date(e.getTime());if(Array.isArray(e))return e.map(e=>Go(e));let t={};for(let[n,r]of Object.entries(e))t[n]=Go(r);return t}function Ko(e){return(e??[]).filter(Boolean)}function qo(e,...t){let n=[...e??[]];for(let e of t)Array.isArray(e)?n.push(...e):n.push(e);return n}function Jo(e,t=0,n={}){let r,i,a,o,s,c=n.leading===!0,l=n.trailing!==!1,u=()=>{if(!a)return s;let t=a,n=o;return a=void 0,o=void 0,s=e.apply(n,t),s},d=()=>{r&&clearTimeout(r),i&&clearTimeout(i),r=void 0,i=void 0,a=void 0,o=void 0},f=function(...e){let d=c&&!r;return a=e,o=this,d&&u(),r&&clearTimeout(r),r=setTimeout(()=>{r=void 0,i&&=(clearTimeout(i),void 0),l?u():(a=void 0,o=void 0)},t),n.maxWait!==void 0&&!i&&(i=setTimeout(()=>{r&&clearTimeout(r),r=void 0,i=void 0,l||!c?u():(a=void 0,o=void 0)},n.maxWait)),s};return f.cancel=d,f.flush=()=>(r&&=(clearTimeout(r),void 0),i&&=(clearTimeout(i),void 0),u()),f}function Yo(e){let t=[];for(let n of e??[])Array.isArray(n)?t.push(...n):t.push(n);return t}function Xo(e,t,n){if(!Array.isArray(t)&&e!=null&&Object.prototype.hasOwnProperty.call(Object(e),t)){let r=e[t];return r===void 0?n:r}let r=e;for(let e of Uo(t)){if(r==null)return n;r=r[e]}return r===void 0?n:r}function Zo(e){return e?.[0]}function Qo(e){return(e??[]).slice(0,-1)}function $o(e){return e==null?!0:typeof e==`string`||Array.isArray(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:!Ho(e)||Object.keys(e).length===0}function es(e,t,n){let r=n?.(e,t);if(r!==void 0)return!!r;if(Object.is(e,t))return!0;if(!Ho(e)||!Ho(t))return!1;if(e instanceof Date||t instanceof Date)return e instanceof Date&&t instanceof Date&&e.getTime()===t.getTime();if(Array.isArray(e)||Array.isArray(t))return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((e,r)=>es(e,t[r],n));let i=Object.keys(e),a=Object.keys(t);return i.length===a.length&&i.every(r=>Vo.hasOwnProperty.call(t,r)&&es(e[r],t[r],n))}function ts(e,t){return es(e,t)}function ns(e){return typeof e==`function`}function rs(e){return typeof e==`string`||e instanceof String}function is(e,t){let n={...e??{}};for(let e of Array.isArray(t)?t:[t])delete n[e];return n}function as(e,t,n=1){let r=t??e,i=t===void 0?0:e;if(n===0)return[];let a=[],o=n>0;for(let e=i;o?e<r:e>r;e+=n)a.push(e);return a}function ss(e,t,n=1){return as(e,t,n).reverse()}function cs(e){return(e??[]).slice(1)}function ls(e,t){let n=t??(e=>e);return Array.from({length:Math.max(0,e)},(e,t)=>n(t))}function us(e){return Array.from(new Set(e??[]))}function ds(...e){let t=Math.max(0,...e.map(e=>e.length));return Array.from({length:t},(t,n)=>e.map(e=>e[n]))}var fs={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function ps(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),fs.hasOwnProperty(t)?{space:fs[t],local:e}:e}function ms(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function hs(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function gs(e){var t=ps(e);return(t.local?hs:ms)(t)}function _s(){}function vs(e){return e==null?_s:function(){return this.querySelector(e)}}function ys(e){typeof e!=`function`&&(e=vs(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new ol(r,this._parents)}function bs(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function xs(){return[]}function Ss(e){return e==null?xs:function(){return this.querySelectorAll(e)}}function Cs(e){return function(){return bs(e.apply(this,arguments))}}function ws(e){e=typeof e==`function`?Cs(e):Ss(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new ol(r,i)}function Ts(e){return function(){return this.matches(e)}}function Es(e){return function(t){return t.matches(e)}}var Ds=Array.prototype.find;function Os(e){return function(){return Ds.call(this.children,e)}}function ks(){return this.firstElementChild}function As(e){return this.select(e==null?ks:Os(typeof e==`function`?e:Es(e)))}var js=Array.prototype.filter;function Ms(){return Array.from(this.children)}function Ns(e){return function(){return js.call(this.children,e)}}function Ps(e){return this.selectAll(e==null?Ms:Ns(typeof e==`function`?e:Es(e)))}function Fs(e){typeof e!=`function`&&(e=Ts(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new ol(r,this._parents)}function Is(e){return Array(e.length)}function Ls(){return new ol(this._enter||this._groups.map(Is),this._parents)}function Rs(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Rs.prototype={constructor:Rs,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function zs(e){return function(){return e}}function Bs(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new Rs(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function Vs(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new Rs(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function Hs(e){return e.__data__}function Us(e,t){if(!arguments.length)return Array.from(this,Hs);var n=t?Vs:Bs,r=this._parents,i=this._groups;typeof e!=`function`&&(e=zs(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=Ws(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new ol(o,r),o._enter=s,o._exit=c,o}function Ws(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Gs(){return new ol(this._exit||this._groups.map(Is),this._parents)}function Ks(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}function qs(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new ol(s,this._parents)}function Js(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}function Ys(e){e||=Xs;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new ol(i,this._parents).order()}function Xs(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Zs(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Qs(){return Array.from(this)}function $s(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function ec(){let e=0;for(let t of this)++e;return e}function tc(){return!this.node()}function nc(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function rc(e){return function(){this.removeAttribute(e)}}function ic(e){return function(){this.removeAttributeNS(e.space,e.local)}}function ac(e,t){return function(){this.setAttribute(e,t)}}function oc(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function sc(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function cc(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function lc(e,t){var n=ps(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?ic:rc:typeof t==`function`?n.local?cc:sc:n.local?oc:ac)(n,t))}function uc(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function dc(e){return function(){this.style.removeProperty(e)}}function fc(e,t,n){return function(){this.style.setProperty(e,t,n)}}function pc(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function mc(e,t,n){return arguments.length>1?this.each((t==null?dc:typeof t==`function`?pc:fc)(e,t,n??``)):hc(this.node(),e)}function hc(e,t){return e.style.getPropertyValue(t)||uc(e).getComputedStyle(e,null).getPropertyValue(t)}function gc(e){return function(){delete this[e]}}function _c(e,t){return function(){this[e]=t}}function vc(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function yc(e,t){return arguments.length>1?this.each((t==null?gc:typeof t==`function`?vc:_c)(e,t)):this.node()[e]}function bc(e){return e.trim().split(/^|\s+/)}function xc(e){return e.classList||new Sc(e)}function Sc(e){this._node=e,this._names=bc(e.getAttribute(`class`)||``)}Sc.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function Cc(e,t){for(var n=xc(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function V(e,t){for(var n=xc(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function wc(e){return function(){Cc(this,e)}}function Tc(e){return function(){V(this,e)}}function Ec(e,t){return function(){(t.apply(this,arguments)?Cc:V)(this,e)}}function Dc(e,t){var n=bc(e+``);if(arguments.length<2){for(var r=xc(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?Ec:t?wc:Tc)(n,t))}function Oc(){this.textContent=``}function kc(e){return function(){this.textContent=e}}function Ac(e){return function(){var t=e.apply(this,arguments);this.textContent=t??``}}function jc(e){return arguments.length?this.each(e==null?Oc:(typeof e==`function`?Ac:kc)(e)):this.node().textContent}function Mc(){this.innerHTML=``}function Nc(e){return function(){this.innerHTML=e}}function Pc(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??``}}function Fc(e){return arguments.length?this.each(e==null?Mc:(typeof e==`function`?Pc:Nc)(e)):this.node().innerHTML}function Ic(){this.nextSibling&&this.parentNode.appendChild(this)}function Lc(){return this.each(Ic)}function Rc(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function zc(){return this.each(Rc)}function Bc(e){var t=typeof e==`function`?e:gs(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Vc(){return null}function Hc(e,t){var n=typeof e==`function`?e:gs(e),r=t==null?Vc:typeof t==`function`?t:vs(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Uc(){var e=this.parentNode;e&&e.removeChild(this)}function Wc(){return this.each(Uc)}function Gc(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Kc(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function qc(e){return this.select(e?Kc:Gc)}function Jc(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function Yc(e){return function(t){e.call(this,t,this.__data__)}}function Xc(e){return e.trim().split(/^|\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Zc(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function Qc(e,t,n){return function(){var r=this.__on,i,a=Yc(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function $c(e,t,n){var r=Xc(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?Qc:Zc,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function el(e,t,n){var r=uc(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function tl(e,t){return function(){return el(this,e,t)}}function nl(e,t){return function(){return el(this,e,t.apply(this,arguments))}}function rl(e,t){return this.each((typeof t==`function`?nl:tl)(e,t))}function*il(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var al=[null];function ol(e,t){this._groups=e,this._parents=t}function sl(){return new ol([[document.documentElement]],al)}function cl(){return this}ol.prototype=sl.prototype={constructor:ol,select:ys,selectAll:ws,selectChild:As,selectChildren:Ps,filter:Fs,data:Us,enter:Ls,exit:Gs,join:Ks,merge:qs,selection:cl,order:Js,sort:Ys,call:Zs,nodes:Qs,node:$s,size:ec,empty:tc,each:nc,attr:lc,style:mc,property:yc,classed:Dc,text:jc,html:Fc,raise:Lc,lower:zc,append:Bc,insert:Hc,remove:Wc,clone:qc,datum:Jc,on:$c,dispatch:rl,[Symbol.iterator]:il};function ll(e){return typeof e==`string`?new ol([[document.querySelector(e)]],[document.documentElement]):new ol([[e]],al)}function ul(e){let t;for(;t=e.sourceEvent;)e=t;return e}function dl(e,t){if(e=ul(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}var fl=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,pl=({size:e,children:t})=>(e=fl(e),(0,L.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));pl.propTypes={size:A.number,children:A.oneOfType([A.arrayOf(A.node),A.node]).isRequired};var ml=({size:e,children:t,sx:n})=>(0,L.jsx)(pl,{size:e,children:(0,L.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});ml.propTypes={size:A.oneOfType([A.string,A.number]),children:A.oneOfType([A.arrayOf(A.node),A.node]).isRequired,sx:A.object};var hl=({fill:e})=>(0,L.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});hl.propTypes={fill:A.string.isRequired};var gl=({fill:e})=>(0,L.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});gl.propTypes={fill:A.string.isRequired};var _l=({fill:e})=>(0,L.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});_l.propTypes={fill:A.string.isRequired};var vl=({fill:e})=>(0,L.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});vl.propTypes={fill:A.string.isRequired};var yl=({fill:e})=>(0,L.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});yl.propTypes={fill:A.string.isRequired};var bl=(e,t)=>{class n extends I.Component{static propTypes={iconSet:A.oneOf([`emoji`,`check`]),shape:A.oneOf([`round`,`square`]),category:A.oneOf([`feedback`,void 0]),open:A.bool,size:A.oneOfType([A.number,A.string]),fg:A.string,bg:A.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,L.jsx)(e,{fill:s}):(0,L.jsx)(t,{fill:s}),u=n===`check`?(0,L.jsx)(e,{fill:c}):(0,L.jsx)(t,{fill:c});return a?(0,L.jsx)(ml,{size:o,children:u}):(0,L.jsxs)(ml,{size:o,children:[i===`feedback`?r===`round`?(0,L.jsx)(_l,{fill:c}):(0,L.jsx)(gl,{fill:c}):r===`round`?(0,L.jsx)(vl,{fill:c}):(0,L.jsx)(yl,{fill:c}),l]})}}return n},xl=({fill:e})=>(0,L.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,L.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
|
|
43
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Co(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var wo=e=>{try{return e()}catch{}},To=(e=`mui`)=>da(e);function Eo(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=go({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=uo({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...mo(a),...n?.opacity},overlays:n?.overlays||ho(a)},s}function Do(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=_o,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=To(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(j(21,f));let b;o&&(b=`oklch`);let x=Eo(b,v,y,u,f);h&&!v.light&&Eo(b,v,h,void 0,`light`),g&&!v.dark&&Eo(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...Ha(x.typography),...x.font},spacing:Co(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(z(t.common,`background`,`#fff`),z(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(z(t.common,`background`,`#000`),z(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===Ci&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===Ti&&(r=`#000 ${(n*100).toFixed(0)}%`),e===Di&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(bo(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){z(t.Alert,`errorColor`,r(Ti,o?p(`palette-error-light`):t.error.light,.6)),z(t.Alert,`infoColor`,r(Ti,o?p(`palette-info-light`):t.info.light,.6)),z(t.Alert,`successColor`,r(Ti,o?p(`palette-success-light`):t.success.light,.6)),z(t.Alert,`warningColor`,r(Ti,o?p(`palette-warning-light`):t.warning.light,.6)),z(t.Alert,`errorFilledBg`,n(`palette-error-main`)),z(t.Alert,`infoFilledBg`,n(`palette-info-main`)),z(t.Alert,`successFilledBg`,n(`palette-success-main`)),z(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),z(t.Alert,`errorFilledColor`,wo(()=>t.getContrastText(t.error.main))),z(t.Alert,`infoFilledColor`,wo(()=>t.getContrastText(t.info.main))),z(t.Alert,`successFilledColor`,wo(()=>t.getContrastText(t.success.main))),z(t.Alert,`warningFilledColor`,wo(()=>t.getContrastText(t.warning.main))),z(t.Alert,`errorStandardBg`,r(Di,o?p(`palette-error-light`):t.error.light,.9)),z(t.Alert,`infoStandardBg`,r(Di,o?p(`palette-info-light`):t.info.light,.9)),z(t.Alert,`successStandardBg`,r(Di,o?p(`palette-success-light`):t.success.light,.9)),z(t.Alert,`warningStandardBg`,r(Di,o?p(`palette-warning-light`):t.warning.light,.9)),z(t.Alert,`errorIconColor`,n(`palette-error-main`)),z(t.Alert,`infoIconColor`,n(`palette-info-main`)),z(t.Alert,`successIconColor`,n(`palette-success-main`)),z(t.Alert,`warningIconColor`,n(`palette-warning-main`)),z(t.AppBar,`defaultBg`,n(`palette-grey-100`)),z(t.Avatar,`defaultBg`,n(`palette-grey-400`)),z(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),z(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),z(t.Chip,`defaultBorder`,n(`palette-grey-400`)),z(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),z(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),z(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),z(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),z(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),z(t.LinearProgress,`primaryBg`,r(Di,o?p(`palette-primary-main`):t.primary.main,.62)),z(t.LinearProgress,`secondaryBg`,r(Di,o?p(`palette-secondary-main`):t.secondary.main,.62)),z(t.LinearProgress,`errorBg`,r(Di,o?p(`palette-error-main`):t.error.main,.62)),z(t.LinearProgress,`infoBg`,r(Di,o?p(`palette-info-main`):t.info.main,.62)),z(t.LinearProgress,`successBg`,r(Di,o?p(`palette-success-main`):t.success.main,.62)),z(t.LinearProgress,`warningBg`,r(Di,o?p(`palette-warning-light`):t.warning.main,.62)),z(t.Skeleton,`bg`,b?r(Ci,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),z(t.Slider,`primaryTrack`,r(Di,o?p(`palette-primary-main`):t.primary.main,.62)),z(t.Slider,`secondaryTrack`,r(Di,o?p(`palette-secondary-main`):t.secondary.main,.62)),z(t.Slider,`errorTrack`,r(Di,o?p(`palette-error-main`):t.error.main,.62)),z(t.Slider,`infoTrack`,r(Di,o?p(`palette-info-main`):t.info.main,.62)),z(t.Slider,`successTrack`,r(Di,o?p(`palette-success-main`):t.success.main,.62)),z(t.Slider,`warningTrack`,r(Di,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(Ti,o?p(`palette-background-default`):t.background.default,.6825):ki(t.background.default,.8);z(t.SnackbarContent,`bg`,e),z(t.SnackbarContent,`color`,wo(()=>b?ja.text.primary:t.getContrastText(e))),z(t.SpeedDialAction,`fabHoverBg`,ki(t.background.paper,.15)),z(t.StepConnector,`border`,n(`palette-grey-400`)),z(t.StepContent,`border`,n(`palette-grey-400`)),z(t.Switch,`defaultColor`,n(`palette-common-white`)),z(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),z(t.Switch,`primaryDisabledColor`,r(Di,o?p(`palette-primary-main`):t.primary.main,.62)),z(t.Switch,`secondaryDisabledColor`,r(Di,o?p(`palette-secondary-main`):t.secondary.main,.62)),z(t.Switch,`errorDisabledColor`,r(Di,o?p(`palette-error-main`):t.error.main,.62)),z(t.Switch,`infoDisabledColor`,r(Di,o?p(`palette-info-main`):t.info.main,.62)),z(t.Switch,`successDisabledColor`,r(Di,o?p(`palette-success-main`):t.success.main,.62)),z(t.Switch,`warningDisabledColor`,r(Di,o?p(`palette-warning-main`):t.warning.main,.62)),z(t.TableCell,`border`,r(Di,Ci(o?p(`palette-divider`):t.divider,1),.88)),z(t.Tooltip,`bg`,r(Ci,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){z(t.Alert,`errorColor`,r(Di,o?p(`palette-error-light`):t.error.light,.6)),z(t.Alert,`infoColor`,r(Di,o?p(`palette-info-light`):t.info.light,.6)),z(t.Alert,`successColor`,r(Di,o?p(`palette-success-light`):t.success.light,.6)),z(t.Alert,`warningColor`,r(Di,o?p(`palette-warning-light`):t.warning.light,.6)),z(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),z(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),z(t.Alert,`successFilledBg`,n(`palette-success-dark`)),z(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),z(t.Alert,`errorFilledColor`,wo(()=>t.getContrastText(t.error.dark))),z(t.Alert,`infoFilledColor`,wo(()=>t.getContrastText(t.info.dark))),z(t.Alert,`successFilledColor`,wo(()=>t.getContrastText(t.success.dark))),z(t.Alert,`warningFilledColor`,wo(()=>t.getContrastText(t.warning.dark))),z(t.Alert,`errorStandardBg`,r(Ti,o?p(`palette-error-light`):t.error.light,.9)),z(t.Alert,`infoStandardBg`,r(Ti,o?p(`palette-info-light`):t.info.light,.9)),z(t.Alert,`successStandardBg`,r(Ti,o?p(`palette-success-light`):t.success.light,.9)),z(t.Alert,`warningStandardBg`,r(Ti,o?p(`palette-warning-light`):t.warning.light,.9)),z(t.Alert,`errorIconColor`,n(`palette-error-main`)),z(t.Alert,`infoIconColor`,n(`palette-info-main`)),z(t.Alert,`successIconColor`,n(`palette-success-main`)),z(t.Alert,`warningIconColor`,n(`palette-warning-main`)),z(t.AppBar,`defaultBg`,n(`palette-grey-900`)),z(t.AppBar,`darkBg`,n(`palette-background-paper`)),z(t.AppBar,`darkColor`,n(`palette-text-primary`)),z(t.Avatar,`defaultBg`,n(`palette-grey-600`)),z(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),z(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),z(t.Chip,`defaultBorder`,n(`palette-grey-700`)),z(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),z(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),z(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),z(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),z(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),z(t.LinearProgress,`primaryBg`,r(Ti,o?p(`palette-primary-main`):t.primary.main,.5)),z(t.LinearProgress,`secondaryBg`,r(Ti,o?p(`palette-secondary-main`):t.secondary.main,.5)),z(t.LinearProgress,`errorBg`,r(Ti,o?p(`palette-error-main`):t.error.main,.5)),z(t.LinearProgress,`infoBg`,r(Ti,o?p(`palette-info-main`):t.info.main,.5)),z(t.LinearProgress,`successBg`,r(Ti,o?p(`palette-success-main`):t.success.main,.5)),z(t.LinearProgress,`warningBg`,r(Ti,o?p(`palette-warning-main`):t.warning.main,.5)),z(t.Skeleton,`bg`,b?r(Ci,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),z(t.Slider,`primaryTrack`,r(Ti,o?p(`palette-primary-main`):t.primary.main,.5)),z(t.Slider,`secondaryTrack`,r(Ti,o?p(`palette-secondary-main`):t.secondary.main,.5)),z(t.Slider,`errorTrack`,r(Ti,o?p(`palette-error-main`):t.error.main,.5)),z(t.Slider,`infoTrack`,r(Ti,o?p(`palette-info-main`):t.info.main,.5)),z(t.Slider,`successTrack`,r(Ti,o?p(`palette-success-main`):t.success.main,.5)),z(t.Slider,`warningTrack`,r(Ti,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(Di,o?p(`palette-background-default`):t.background.default,.985):ki(t.background.default,.98);z(t.SnackbarContent,`bg`,e),z(t.SnackbarContent,`color`,wo(()=>b?ka.text.primary:t.getContrastText(e))),z(t.SpeedDialAction,`fabHoverBg`,ki(t.background.paper,.15)),z(t.StepConnector,`border`,n(`palette-grey-600`)),z(t.StepContent,`border`,n(`palette-grey-600`)),z(t.Switch,`defaultColor`,n(`palette-grey-300`)),z(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),z(t.Switch,`primaryDisabledColor`,r(Ti,o?p(`palette-primary-main`):t.primary.main,.55)),z(t.Switch,`secondaryDisabledColor`,r(Ti,o?p(`palette-secondary-main`):t.secondary.main,.55)),z(t.Switch,`errorDisabledColor`,r(Ti,o?p(`palette-error-main`):t.error.main,.55)),z(t.Switch,`infoDisabledColor`,r(Ti,o?p(`palette-info-main`):t.info.main,.55)),z(t.Switch,`successDisabledColor`,r(Ti,o?p(`palette-success-main`):t.success.main,.55)),z(t.Switch,`warningDisabledColor`,r(Ti,o?p(`palette-warning-light`):t.warning.main,.55)),z(t.TableCell,`border`,r(Ti,Ci(o?p(`palette-divider`):t.divider,1),.68)),z(t.Tooltip,`bg`,r(Ci,o?p(`palette-grey-700`):t.grey[700],.92))}o||(So(t.background,`default`),So(t.background,`paper`),So(t.common,`background`),So(t.common,`onBackground`),So(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&z(t[e],`mainChannel`,_i(xo(n.main))),n.light&&z(t[e],`lightChannel`,_i(xo(n.light))),n.dark&&z(t[e],`darkChannel`,_i(xo(n.dark))),n.contrastText&&z(t[e],`contrastTextChannel`,_i(xo(n.contrastText))),e===`text`&&(So(t[e],`primary`),So(t[e],`secondary`)),e===`action`&&(n.active&&So(t[e],`active`),n.selected&&So(t[e],`selected`)))})}),S=t.reduce((e,t)=>xn(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:yo(S),enableContrastVars:o},{vars:w,generateThemeVars:T,generateStyleSheets:E}=ga(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=T,S.generateStyleSheets=E,S.generateSpacing=function(){return rr(u.spacing,Yn(this))},S.getColorSchemeSelector=_a(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...jr,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Fr({sx:e,theme:this})},S.toRuntimeSource=oo,S}function Oo(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Va({...n===!0?{}:n.palette,mode:t})})}function ko(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return uo(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=uo({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Oo(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Oo(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Do({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Ao=ko();function jo(){let e=Vr(Ao);return e.$$material||e}function Mo(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var No=e=>Mo(e)&&e!==`classes`,B=oi({themeId:M,defaultTheme:Ao,rootShouldForwardProp:No});function Po({theme:e,...t}){let n=`$$material`in e?e[M]:void 0;return(0,L.jsx)(Yi,{...t,themeId:n?M:void 0,theme:n||e})}var Fo={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:Io,useColorScheme:Lo,getInitColorSchemeScript:Ro}=ua({themeId:M,theme:()=>ko({cssVariables:!0}),colorSchemeStorageKey:Fo.colorSchemeStorageKey,modeStorageKey:Fo.modeStorageKey,defaultColorScheme:{light:Fo.defaultLightColorScheme,dark:Fo.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:qa(e.palette,e.typography)};return t.unstable_sx=function(e){return Fr({sx:e,theme:this})},t}}),zo=Io;function Bo({theme:e,...t}){let n=I.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[M]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,L.jsx)(Po,{theme:n,...t}):(0,L.jsx)(zo,{theme:e,...t})}var Vo=Object.prototype;function Ho(e){return typeof e==`object`&&!!e}function Uo(e){return Array.isArray(e)?e:typeof e==`number`?[e]:e.replace(/\[(\d+)\]/g,`.$1`).split(`.`).filter(Boolean)}function Wo(e,t=1){if(!e?.length||t<1)return[];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function Go(e){if(!Ho(e))return e;if(e instanceof Date)return new Date(e.getTime());if(Array.isArray(e))return e.map(e=>Go(e));let t={};for(let[n,r]of Object.entries(e))t[n]=Go(r);return t}function Ko(e){return(e??[]).filter(Boolean)}function qo(e,...t){let n=[...e??[]];for(let e of t)Array.isArray(e)?n.push(...e):n.push(e);return n}function Jo(e,t=0,n={}){let r,i,a,o,s,c=n.leading===!0,l=n.trailing!==!1,u=()=>{if(!a)return s;let t=a,n=o;return a=void 0,o=void 0,s=e.apply(n,t),s},d=()=>{r&&clearTimeout(r),i&&clearTimeout(i),r=void 0,i=void 0,a=void 0,o=void 0},f=function(...e){let d=c&&!r;return a=e,o=this,d&&u(),r&&clearTimeout(r),r=setTimeout(()=>{r=void 0,i&&=(clearTimeout(i),void 0),l?u():(a=void 0,o=void 0)},t),n.maxWait!==void 0&&!i&&(i=setTimeout(()=>{r&&clearTimeout(r),r=void 0,i=void 0,l||!c?u():(a=void 0,o=void 0)},n.maxWait)),s};return f.cancel=d,f.flush=()=>(r&&=(clearTimeout(r),void 0),i&&=(clearTimeout(i),void 0),u()),f}function Yo(e){let t=[];for(let n of e??[])Array.isArray(n)?t.push(...n):t.push(n);return t}function Xo(e,t,n){if(!Array.isArray(t)&&e!=null&&Object.prototype.hasOwnProperty.call(Object(e),t)){let r=e[t];return r===void 0?n:r}let r=e;for(let e of Uo(t)){if(r==null)return n;r=r[e]}return r===void 0?n:r}function Zo(e){return e?.[0]}function Qo(e){return(e??[]).slice(0,-1)}function $o(e){return e==null?!0:typeof e==`string`||Array.isArray(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:!Ho(e)||Object.keys(e).length===0}function es(e,t,n){let r=n?.(e,t);if(r!==void 0)return!!r;if(Object.is(e,t))return!0;if(!Ho(e)||!Ho(t))return!1;if(e instanceof Date||t instanceof Date)return e instanceof Date&&t instanceof Date&&e.getTime()===t.getTime();if(Array.isArray(e)||Array.isArray(t))return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((e,r)=>es(e,t[r],n));let i=Object.keys(e),a=Object.keys(t);return i.length===a.length&&i.every(r=>Vo.hasOwnProperty.call(t,r)&&es(e[r],t[r],n))}function ts(e,t){return es(e,t)}function ns(e){return typeof e==`function`}function rs(e){return typeof e==`string`||e instanceof String}function is(e,t){let n={...e??{}};for(let e of Array.isArray(t)?t:[t])delete n[e];return n}function as(e,t,n=1){let r=t??e,i=t===void 0?0:e;if(n===0)return[];let a=[],o=n>0;for(let e=i;o?e<r:e>r;e+=n)a.push(e);return a}function ss(e,t,n=1){return as(e,t,n).reverse()}function cs(e){return(e??[]).slice(1)}function ls(e,t){let n=t??(e=>e);return Array.from({length:Math.max(0,e)},(e,t)=>n(t))}function us(e){return e!=null&&e.length?Array.from(new Set(Array.from(e))):[]}function ds(...e){let t=Math.max(0,...e.map(e=>e.length));return Array.from({length:t},(t,n)=>e.map(e=>e[n]))}var fs={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function ps(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),fs.hasOwnProperty(t)?{space:fs[t],local:e}:e}function ms(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function hs(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function gs(e){var t=ps(e);return(t.local?hs:ms)(t)}function _s(){}function vs(e){return e==null?_s:function(){return this.querySelector(e)}}function ys(e){typeof e!=`function`&&(e=vs(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new ol(r,this._parents)}function bs(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function xs(){return[]}function Ss(e){return e==null?xs:function(){return this.querySelectorAll(e)}}function Cs(e){return function(){return bs(e.apply(this,arguments))}}function ws(e){e=typeof e==`function`?Cs(e):Ss(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new ol(r,i)}function Ts(e){return function(){return this.matches(e)}}function Es(e){return function(t){return t.matches(e)}}var Ds=Array.prototype.find;function Os(e){return function(){return Ds.call(this.children,e)}}function ks(){return this.firstElementChild}function As(e){return this.select(e==null?ks:Os(typeof e==`function`?e:Es(e)))}var js=Array.prototype.filter;function Ms(){return Array.from(this.children)}function Ns(e){return function(){return js.call(this.children,e)}}function Ps(e){return this.selectAll(e==null?Ms:Ns(typeof e==`function`?e:Es(e)))}function Fs(e){typeof e!=`function`&&(e=Ts(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new ol(r,this._parents)}function Is(e){return Array(e.length)}function Ls(){return new ol(this._enter||this._groups.map(Is),this._parents)}function Rs(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Rs.prototype={constructor:Rs,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function zs(e){return function(){return e}}function Bs(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new Rs(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function Vs(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new Rs(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function Hs(e){return e.__data__}function Us(e,t){if(!arguments.length)return Array.from(this,Hs);var n=t?Vs:Bs,r=this._parents,i=this._groups;typeof e!=`function`&&(e=zs(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=Ws(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new ol(o,r),o._enter=s,o._exit=c,o}function Ws(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Gs(){return new ol(this._exit||this._groups.map(Is),this._parents)}function Ks(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}function qs(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new ol(s,this._parents)}function Js(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}function Ys(e){e||=Xs;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new ol(i,this._parents).order()}function Xs(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Zs(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Qs(){return Array.from(this)}function $s(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function ec(){let e=0;for(let t of this)++e;return e}function tc(){return!this.node()}function nc(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function rc(e){return function(){this.removeAttribute(e)}}function ic(e){return function(){this.removeAttributeNS(e.space,e.local)}}function ac(e,t){return function(){this.setAttribute(e,t)}}function oc(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function sc(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function cc(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function lc(e,t){var n=ps(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?ic:rc:typeof t==`function`?n.local?cc:sc:n.local?oc:ac)(n,t))}function uc(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function dc(e){return function(){this.style.removeProperty(e)}}function fc(e,t,n){return function(){this.style.setProperty(e,t,n)}}function pc(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function mc(e,t,n){return arguments.length>1?this.each((t==null?dc:typeof t==`function`?pc:fc)(e,t,n??``)):hc(this.node(),e)}function hc(e,t){return e.style.getPropertyValue(t)||uc(e).getComputedStyle(e,null).getPropertyValue(t)}function gc(e){return function(){delete this[e]}}function _c(e,t){return function(){this[e]=t}}function vc(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function yc(e,t){return arguments.length>1?this.each((t==null?gc:typeof t==`function`?vc:_c)(e,t)):this.node()[e]}function bc(e){return e.trim().split(/^|\s+/)}function xc(e){return e.classList||new Sc(e)}function Sc(e){this._node=e,this._names=bc(e.getAttribute(`class`)||``)}Sc.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function Cc(e,t){for(var n=xc(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function V(e,t){for(var n=xc(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function wc(e){return function(){Cc(this,e)}}function Tc(e){return function(){V(this,e)}}function Ec(e,t){return function(){(t.apply(this,arguments)?Cc:V)(this,e)}}function Dc(e,t){var n=bc(e+``);if(arguments.length<2){for(var r=xc(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?Ec:t?wc:Tc)(n,t))}function Oc(){this.textContent=``}function kc(e){return function(){this.textContent=e}}function Ac(e){return function(){var t=e.apply(this,arguments);this.textContent=t??``}}function jc(e){return arguments.length?this.each(e==null?Oc:(typeof e==`function`?Ac:kc)(e)):this.node().textContent}function Mc(){this.innerHTML=``}function Nc(e){return function(){this.innerHTML=e}}function Pc(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??``}}function Fc(e){return arguments.length?this.each(e==null?Mc:(typeof e==`function`?Pc:Nc)(e)):this.node().innerHTML}function Ic(){this.nextSibling&&this.parentNode.appendChild(this)}function Lc(){return this.each(Ic)}function Rc(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function zc(){return this.each(Rc)}function Bc(e){var t=typeof e==`function`?e:gs(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Vc(){return null}function Hc(e,t){var n=typeof e==`function`?e:gs(e),r=t==null?Vc:typeof t==`function`?t:vs(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Uc(){var e=this.parentNode;e&&e.removeChild(this)}function Wc(){return this.each(Uc)}function Gc(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Kc(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function qc(e){return this.select(e?Kc:Gc)}function Jc(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function Yc(e){return function(t){e.call(this,t,this.__data__)}}function Xc(e){return e.trim().split(/^|\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Zc(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function Qc(e,t,n){return function(){var r=this.__on,i,a=Yc(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function $c(e,t,n){var r=Xc(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?Qc:Zc,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function el(e,t,n){var r=uc(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function tl(e,t){return function(){return el(this,e,t)}}function nl(e,t){return function(){return el(this,e,t.apply(this,arguments))}}function rl(e,t){return this.each((typeof t==`function`?nl:tl)(e,t))}function*il(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var al=[null];function ol(e,t){this._groups=e,this._parents=t}function sl(){return new ol([[document.documentElement]],al)}function cl(){return this}ol.prototype=sl.prototype={constructor:ol,select:ys,selectAll:ws,selectChild:As,selectChildren:Ps,filter:Fs,data:Us,enter:Ls,exit:Gs,join:Ks,merge:qs,selection:cl,order:Js,sort:Ys,call:Zs,nodes:Qs,node:$s,size:ec,empty:tc,each:nc,attr:lc,style:mc,property:yc,classed:Dc,text:jc,html:Fc,raise:Lc,lower:zc,append:Bc,insert:Hc,remove:Wc,clone:qc,datum:Jc,on:$c,dispatch:rl,[Symbol.iterator]:il};function ll(e){return typeof e==`string`?new ol([[document.querySelector(e)]],[document.documentElement]):new ol([[e]],al)}function ul(e){let t;for(;t=e.sourceEvent;)e=t;return e}function dl(e,t){if(e=ul(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}var fl=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,pl=({size:e,children:t})=>(e=fl(e),(0,L.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));pl.propTypes={size:A.number,children:A.oneOfType([A.arrayOf(A.node),A.node]).isRequired};var ml=({size:e,children:t,sx:n})=>(0,L.jsx)(pl,{size:e,children:(0,L.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});ml.propTypes={size:A.oneOfType([A.string,A.number]),children:A.oneOfType([A.arrayOf(A.node),A.node]).isRequired,sx:A.object};var hl=({fill:e})=>(0,L.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});hl.propTypes={fill:A.string.isRequired};var gl=({fill:e})=>(0,L.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});gl.propTypes={fill:A.string.isRequired};var _l=({fill:e})=>(0,L.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});_l.propTypes={fill:A.string.isRequired};var vl=({fill:e})=>(0,L.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});vl.propTypes={fill:A.string.isRequired};var yl=({fill:e})=>(0,L.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});yl.propTypes={fill:A.string.isRequired};var bl=(e,t)=>{class n extends I.Component{static propTypes={iconSet:A.oneOf([`emoji`,`check`]),shape:A.oneOf([`round`,`square`]),category:A.oneOf([`feedback`,void 0]),open:A.bool,size:A.oneOfType([A.number,A.string]),fg:A.string,bg:A.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,L.jsx)(e,{fill:s}):(0,L.jsx)(t,{fill:s}),u=n===`check`?(0,L.jsx)(e,{fill:c}):(0,L.jsx)(t,{fill:c});return a?(0,L.jsx)(ml,{size:o,children:u}):(0,L.jsxs)(ml,{size:o,children:[i===`feedback`?r===`round`?(0,L.jsx)(_l,{fill:c}):(0,L.jsx)(gl,{fill:c}):r===`round`?(0,L.jsx)(vl,{fill:c}):(0,L.jsx)(yl,{fill:c}),l]})}}return n},xl=({fill:e})=>(0,L.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,L.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
|
|
44
44
|
c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z`,fill:e}),(0,L.jsx)(`rect`,{x:`21.1`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e}),(0,L.jsx)(`rect`,{x:`12.7`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e})]});xl.propTypes={fill:A.string.isRequired};var Sl=({fill:e,x:t=0,y:n=0})=>(0,L.jsx)(`polygon`,{transform:`translate(${t}, ${n})`,points:`19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4`,fill:e});Sl.propTypes={fill:A.string.isRequired,x:A.number,y:A.number};var Cl=bl(Sl,xl);Cl.propTypes={iconSet:A.oneOf([`emoji`,`check`]),shape:A.oneOf([`round`,`square`]),category:A.oneOf([`feedback`,void 0]),open:A.bool,fg:A.string,bg:A.string,size:A.oneOfType([A.string,A.number])},Cl.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#f8ffe2`,size:30};var wl=({bgFill:e,fgFill:t})=>(0,L.jsxs)(`svg`,{preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-283 359 34 35`,style:{enableBackground:`new -283 359 34 35`},children:[(0,L.jsx)(`circle`,{cx:`-266`,cy:`375.9`,r:`14`,fill:e}),(0,L.jsx)(`path`,{d:`M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z
|
|
45
45
|
M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z`,fill:e}),(0,L.jsx)(`polygon`,{points:`-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6`,fill:t})]});wl.propTypes={bgFill:A.string.isRequired,fgFill:A.string.isRequired};var Tl=({bgFill:e,fgFill:t,borderFill:n})=>(0,L.jsxs)(`svg`,{preserveAspectRatio:`xMinYMin meet`,version:`1.1`,viewBox:`-129.5 127 34 35`,style:{enableBackground:`new -129.5 127 34 35`},children:[(0,L.jsx)(`path`,{style:{fill:`#D0CAC5`,stroke:`#E6E3E0`,strokeWidth:.75,strokeMiterlimit:10},d:`M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5
|
|
46
46
|
C-97.4,153.5-104.3,160.4-112.9,160.4z`}),(0,L.jsx)(`path`,{style:{fill:`#B3ABA4`,stroke:`#CDC7C2`,strokeWidth:.5,strokeMiterlimit:10},d:`M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z`}),(0,L.jsx)(`circle`,{cx:`-114.2`,cy:`143.5`,r:`14`,fill:e}),(0,L.jsx)(`path`,{d:`M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/graphing",
|
|
3
|
-
"version": "10.1.2-next.
|
|
3
|
+
"version": "10.1.2-next.17",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
"@emotion/style": "^0.8.0",
|
|
13
13
|
"@mui/icons-material": "^7.3.4",
|
|
14
14
|
"@mui/material": "^7.3.4",
|
|
15
|
-
"@pie-lib/correct-answer-toggle": "5.0.0-next.
|
|
16
|
-
"@pie-lib/graphing": "5.0.0-next.
|
|
17
|
-
"@pie-lib/render-ui": "6.2.0-next.
|
|
15
|
+
"@pie-lib/correct-answer-toggle": "5.0.0-next.46",
|
|
16
|
+
"@pie-lib/graphing": "5.0.0-next.42",
|
|
17
|
+
"@pie-lib/render-ui": "6.2.0-next.44",
|
|
18
18
|
"debug": "^4.1.1",
|
|
19
19
|
"prop-types": "^15.8.1",
|
|
20
|
-
"@pie-element/shared-lodash": "0.1.1-next.
|
|
21
|
-
"@pie-lib/config-ui": "14.0.0-next.
|
|
22
|
-
"@pie-lib/editable-html-tip-tap": "3.0.0-next.
|
|
20
|
+
"@pie-element/shared-lodash": "0.1.1-next.2",
|
|
21
|
+
"@pie-lib/config-ui": "14.0.0-next.38",
|
|
22
|
+
"@pie-lib/editable-html-tip-tap": "3.0.0-next.38",
|
|
23
23
|
"@pie-element/shared-math-rendering-mathjax": "0.1.1-next.0",
|
|
24
24
|
"@pie-element/shared-configure-events": "0.1.0",
|
|
25
25
|
"@pie-element/shared-controller-utils": "0.1.1-next.2",
|
|
26
|
-
"@pie-lib/graphing-utils": "4.0.0-next.
|
|
26
|
+
"@pie-lib/graphing-utils": "4.0.0-next.5",
|
|
27
27
|
"@pie-element/shared-player-events": "0.1.1-next.0",
|
|
28
28
|
"clsx": "^2.1.1",
|
|
29
29
|
"react": "^18.2.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dist-Bqo4KUUX.js","names":[],"sources":["../../../../shared/lodash/dist/index.js","../../../../../node_modules/.bun/@mapbox+point-geometry@1.1.0/node_modules/@mapbox/point-geometry/index.js","../../../../../node_modules/.bun/ms@2.1.3/node_modules/ms/index.js","../../../../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js","../../../../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js","../../../../lib-react/graphing-utils/dist/index.js"],"sourcesContent":["//#region src/index.ts\nvar e = Object.prototype;\nfunction t(e) {\n\treturn typeof e == \"object\" && !!e;\n}\nfunction n(e) {\n\treturn Array.isArray(e) ? e : typeof e == \"number\" ? [e] : e.replace(/\\[(\\d+)\\]/g, \".$1\").split(\".\").filter(Boolean);\n}\nfunction r(e) {\n\treturn (t) => x(t, e);\n}\nfunction i(e) {\n\treturn (n) => t(n) ? Object.entries(e).every(([e, t]) => A(n[e], t)) : !1;\n}\nfunction a(e) {\n\treturn typeof e == \"function\" ? e : typeof e == \"string\" ? r(e) : t(e) ? i(e) : ((e) => e);\n}\nfunction o(e, ...t) {\n\treturn Object.assign(e, ...t.filter(Boolean));\n}\nfunction s(e, t = 1) {\n\tif (!e?.length || t < 1) return [];\n\tlet n = [];\n\tfor (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));\n\treturn n;\n}\nfunction c(e) {\n\treturn Array.isArray(e) ? e.slice() : t(e) ? { ...e } : e;\n}\nfunction l(e) {\n\tif (!t(e)) return e;\n\tif (e instanceof Date) return new Date(e.getTime());\n\tif (Array.isArray(e)) return e.map((e) => l(e));\n\tlet n = {};\n\tfor (let [t, r] of Object.entries(e)) n[t] = l(r);\n\treturn n;\n}\nfunction u(e) {\n\treturn (e ?? []).filter(Boolean);\n}\nfunction d(e, ...t) {\n\tlet n = [...e ?? []];\n\tfor (let e of t) Array.isArray(e) ? n.push(...e) : n.push(e);\n\treturn n;\n}\nfunction f(e, t = 0, n = {}) {\n\tlet r, i, a, o, s, c = n.leading === !0, l = n.trailing !== !1, u = () => {\n\t\tif (!a) return s;\n\t\tlet t = a, n = o;\n\t\treturn a = void 0, o = void 0, s = e.apply(n, t), s;\n\t}, d = () => {\n\t\tr && clearTimeout(r), i && clearTimeout(i), r = void 0, i = void 0, a = void 0, o = void 0;\n\t}, f = function(...e) {\n\t\tlet d = c && !r;\n\t\treturn a = e, o = this, d && u(), r && clearTimeout(r), r = setTimeout(() => {\n\t\t\tr = void 0, i &&= (clearTimeout(i), void 0), l ? u() : (a = void 0, o = void 0);\n\t\t}, t), n.maxWait !== void 0 && !i && (i = setTimeout(() => {\n\t\t\tr && clearTimeout(r), r = void 0, i = void 0, l || !c ? u() : (a = void 0, o = void 0);\n\t\t}, n.maxWait)), s;\n\t};\n\treturn f.cancel = d, f.flush = () => (r &&= (clearTimeout(r), void 0), i &&= (clearTimeout(i), void 0), u()), f;\n}\nfunction p(e, ...t) {\n\tfor (let n of t) if (n) for (let [t, r] of Object.entries(n)) e[t] === void 0 && (e[t] = r);\n\treturn e;\n}\nfunction m(e, ...t) {\n\tlet n = new Set(t.flat());\n\treturn (e ?? []).filter((e) => !n.has(e));\n}\nfunction h(e, t, n) {\n\treturn (e ?? []).filter((e) => !(t ?? []).some((t) => n(e, t)));\n}\nfunction g(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [t, i] of r) if (!n(i, t, e)) return !1;\n\treturn !0;\n}\nfunction ee(e) {\n\treturn String(e).replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\");\n}\nfunction _(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [t, i] of r) if (n(i, t, e)) return i;\n}\nfunction v(e, t) {\n\tlet n = a(t);\n\tfor (let [t, r] of Object.entries(e ?? {})) if (n(r, t, e)) return t;\n}\nfunction y(e) {\n\tlet t = [];\n\tfor (let n of e ?? []) Array.isArray(n) ? t.push(...n) : t.push(n);\n\treturn t;\n}\nfunction te(e, t) {\n\treturn R(e, t).flat();\n}\nfunction b(e, t) {\n\tlet n = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [r, i] of n) t(i, r, e);\n\treturn e;\n}\nfunction x(e, t, r) {\n\tif (!Array.isArray(t) && e != null && Object.prototype.hasOwnProperty.call(Object(e), t)) {\n\t\tlet n = e[t];\n\t\treturn n === void 0 ? r : n;\n\t}\n\tlet i = e;\n\tfor (let e of n(t)) {\n\t\tif (i == null) return r;\n\t\ti = i[e];\n\t}\n\treturn i === void 0 ? r : i;\n}\nfunction S(e, t) {\n\tlet n = a(t);\n\treturn K(e, (t, r, i) => {\n\t\tlet a = String(n(r, i, e));\n\t\treturn (t[a] ??= []).push(r), t;\n\t}, {});\n}\nfunction C(e) {\n\treturn e?.[0];\n}\nfunction w(e) {\n\treturn (e ?? []).slice(0, -1);\n}\nfunction T(e, t) {\n\treturn typeof e == \"string\" ? e.includes(String(t)) : Array.isArray(e) ? e.includes(t) : Object.values(e ?? {}).includes(t);\n}\nfunction E(...e) {\n\tlet [t, ...n] = e;\n\treturn $((t ?? []).filter((e) => n.every((t) => (t ?? []).includes(e))));\n}\nfunction D(e) {\n\treturn Array.isArray(e);\n}\nfunction O(e) {\n\treturn e == null ? !0 : typeof e == \"string\" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : !t(e) || Object.keys(e).length === 0;\n}\nfunction k(n, r, i) {\n\tlet a = i?.(n, r);\n\tif (a !== void 0) return !!a;\n\tif (Object.is(n, r)) return !0;\n\tif (!t(n) || !t(r)) return !1;\n\tif (n instanceof Date || r instanceof Date) return n instanceof Date && r instanceof Date && n.getTime() === r.getTime();\n\tif (Array.isArray(n) || Array.isArray(r)) return Array.isArray(n) && Array.isArray(r) && n.length === r.length && n.every((e, t) => k(e, r[t], i));\n\tlet o = Object.keys(n), s = Object.keys(r);\n\treturn o.length === s.length && o.every((t) => e.hasOwnProperty.call(r, t) && k(n[t], r[t], i));\n}\nfunction A(e, t) {\n\treturn k(e, t);\n}\nfunction j(e, t, n) {\n\treturn k(e, t, n);\n}\nfunction M(e) {\n\treturn Number.isFinite(e);\n}\nfunction N(e) {\n\treturn typeof e == \"function\";\n}\nfunction P(e) {\n\treturn typeof e == \"number\" || e instanceof Number;\n}\nfunction F(e) {\n\treturn typeof e == \"object\" && !!e || typeof e == \"function\";\n}\nfunction I(e) {\n\treturn typeof e == \"string\" || e instanceof String;\n}\nfunction L(e) {\n\treturn e === void 0;\n}\nfunction R(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {}), i = [];\n\tfor (let [t, a] of r) i.push(n(a, t, e));\n\treturn i;\n}\nfunction z(e) {\n\treturn e?.length ? Math.max(...e) : void 0;\n}\nfunction B(e, ...n) {\n\tfor (let r of n) if (r) for (let [n, i] of Object.entries(r)) t(i) && !Array.isArray(i) && t(e[n]) ? B(e[n], i) : e[n] = l(i);\n\treturn e;\n}\nfunction V(e, t) {\n\tlet n = { ...e ?? {} };\n\tfor (let e of Array.isArray(t) ? t : [t]) delete n[e];\n\treturn n;\n}\nfunction H(e, t) {\n\tlet n = a(t), r = {};\n\tfor (let [t, i] of Object.entries(e ?? {})) n(i, t, e) || (r[t] = i);\n\treturn r;\n}\nfunction U(e, ...t) {\n\tlet n = {};\n\tfor (let r of t.flat()) e && r in e && (n[r] = e[r]);\n\treturn n;\n}\nfunction W(e, t, n = 1) {\n\tlet r = t ?? e, i = t === void 0 ? 0 : e;\n\tif (n === 0) return [];\n\tlet a = [], o = n > 0;\n\tfor (let e = i; o ? e < r : e > r; e += n) a.push(e);\n\treturn a;\n}\nfunction G(e, t, n = 1) {\n\treturn W(e, t, n).reverse();\n}\nfunction K(e, t, n) {\n\tlet r = n, i = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [n, a] of i) r = t(r, a, n, e);\n\treturn r;\n}\nfunction q(e, t) {\n\tlet n = a(t), r = [];\n\tfor (let t = e.length - 1; t >= 0; t--) n(e[t], t, e) && r.unshift(...e.splice(t, 1));\n\treturn r;\n}\nfunction J(e, t, r) {\n\tlet i = n(t), a = e;\n\treturn i.forEach((e, t) => {\n\t\tif (t === i.length - 1) {\n\t\t\ta[e] = r;\n\t\t\treturn;\n\t\t}\n\t\tlet n = i[t + 1];\n\t\ta[e] ??= typeof n == \"number\" || /^\\d+$/.test(String(n)) ? [] : {}, a = a[e];\n\t}), e;\n}\nfunction Y(e) {\n\tlet t = [...e ?? []];\n\tfor (let e = t.length - 1; e > 0; e--) {\n\t\tlet n = Math.floor(Math.random() * (e + 1));\n\t\t[t[e], t[n]] = [t[n], t[e]];\n\t}\n\treturn t;\n}\nfunction X(e) {\n\treturn (e ?? []).slice(1);\n}\nfunction Z(e, t = 1) {\n\treturn t <= 0 ? [] : (e ?? []).slice(-t);\n}\nfunction Q(e, t = 0, n = {}) {\n\treturn f(e, t, {\n\t\tleading: n.leading !== !1,\n\t\ttrailing: n.trailing !== !1,\n\t\tmaxWait: t\n\t});\n}\nfunction ne(e, t) {\n\tlet n = t ?? ((e) => e);\n\treturn Array.from({ length: Math.max(0, e) }, (e, t) => n(t));\n}\nvar re = 0;\nfunction ie(e = \"\") {\n\treturn re += 1, `${e}${re}`;\n}\nfunction $(e) {\n\treturn Array.from(new Set(e ?? []));\n}\nfunction ae(e, t) {\n\tlet n = [];\n\tfor (let r of e ?? []) n.some((e) => t(r, e)) || n.push(r);\n\treturn n;\n}\nfunction oe(...e) {\n\tlet t = Math.max(0, ...e.map((e) => e.length));\n\treturn Array.from({ length: t }, (t, n) => e.map((e) => e[n]));\n}\nvar se = {\n\tassign: o,\n\tchunk: s,\n\tclone: c,\n\tcloneDeep: l,\n\tcompact: u,\n\tconcat: d,\n\tdebounce: f,\n\tdefaults: p,\n\tdifference: m,\n\tdifferenceWith: h,\n\tevery: g,\n\tescape: ee,\n\tfind: _,\n\tfindKey: v,\n\tflatten: y,\n\tflatMap: te,\n\tforEach: b,\n\tget: x,\n\tgroupBy: S,\n\thead: C,\n\tincludes: T,\n\tinitial: w,\n\tintersection: E,\n\tisArray: D,\n\tisEmpty: O,\n\tisEqual: A,\n\tisEqualWith: j,\n\tisFinite: M,\n\tisFunction: N,\n\tisNumber: P,\n\tisObject: F,\n\tisString: I,\n\tisUndefined: L,\n\tmap: R,\n\tmax: z,\n\tmerge: B,\n\tomit: V,\n\tomitBy: H,\n\tpick: U,\n\trange: W,\n\trangeRight: G,\n\treduce: K,\n\tremove: q,\n\tset: J,\n\tshuffle: Y,\n\ttail: X,\n\ttakeRight: Z,\n\tthrottle: Q,\n\ttimes: ne,\n\tuniqueId: ie,\n\tuniq: $,\n\tuniqWith: ae,\n\tzip: oe\n};\n//#endregion\nexport { o as assign, s as chunk, c as clone, l as cloneDeep, u as compact, d as concat, f as debounce, se as default, p as defaults, m as difference, h as differenceWith, ee as escape, g as every, _ as find, v as findKey, te as flatMap, y as flatten, b as forEach, x as get, S as groupBy, C as head, T as includes, w as initial, E as intersection, D as isArray, O as isEmpty, A as isEqual, j as isEqualWith, M as isFinite, N as isFunction, P as isNumber, F as isObject, I as isString, L as isUndefined, R as map, z as max, B as merge, V as omit, H as omitBy, U as pick, W as range, G as rangeRight, K as reduce, q as remove, J as set, Y as shuffle, X as tail, Z as takeRight, Q as throttle, ne as times, $ as uniq, ae as uniqWith, ie as uniqueId, oe as zip };\n","/**\n * A standalone point geometry with useful accessor, comparison, and\n * modification methods.\n *\n * @class\n * @param {number} x the x-coordinate. This could be longitude or screen pixels, or any other sort of unit.\n * @param {number} y the y-coordinate. This could be latitude or screen pixels, or any other sort of unit.\n *\n * @example\n * const point = new Point(-77, 38);\n */\nexport default function Point(x, y) {\n this.x = x;\n this.y = y;\n}\n\nPoint.prototype = {\n /**\n * Clone this point, returning a new point that can be modified\n * without affecting the old one.\n * @return {Point} the clone\n */\n clone() { return new Point(this.x, this.y); },\n\n /**\n * Add this point's x & y coordinates to another point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n add(p) { return this.clone()._add(p); },\n\n /**\n * Subtract this point's x & y coordinates to from point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n sub(p) { return this.clone()._sub(p); },\n\n /**\n * Multiply this point's x & y coordinates by point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n multByPoint(p) { return this.clone()._multByPoint(p); },\n\n /**\n * Divide this point's x & y coordinates by point,\n * yielding a new point.\n * @param {Point} p the other point\n * @return {Point} output point\n */\n divByPoint(p) { return this.clone()._divByPoint(p); },\n\n /**\n * Multiply this point's x & y coordinates by a factor,\n * yielding a new point.\n * @param {number} k factor\n * @return {Point} output point\n */\n mult(k) { return this.clone()._mult(k); },\n\n /**\n * Divide this point's x & y coordinates by a factor,\n * yielding a new point.\n * @param {number} k factor\n * @return {Point} output point\n */\n div(k) { return this.clone()._div(k); },\n\n /**\n * Rotate this point around the 0, 0 origin by an angle a,\n * given in radians\n * @param {number} a angle to rotate around, in radians\n * @return {Point} output point\n */\n rotate(a) { return this.clone()._rotate(a); },\n\n /**\n * Rotate this point around p point by an angle a,\n * given in radians\n * @param {number} a angle to rotate around, in radians\n * @param {Point} p Point to rotate around\n * @return {Point} output point\n */\n rotateAround(a, p) { return this.clone()._rotateAround(a, p); },\n\n /**\n * Multiply this point by a 4x1 transformation matrix\n * @param {[number, number, number, number]} m transformation matrix\n * @return {Point} output point\n */\n matMult(m) { return this.clone()._matMult(m); },\n\n /**\n * Calculate this point but as a unit vector from 0, 0, meaning\n * that the distance from the resulting point to the 0, 0\n * coordinate will be equal to 1 and the angle from the resulting\n * point to the 0, 0 coordinate will be the same as before.\n * @return {Point} unit vector point\n */\n unit() { return this.clone()._unit(); },\n\n /**\n * Compute a perpendicular point, where the new y coordinate\n * is the old x coordinate and the new x coordinate is the old y\n * coordinate multiplied by -1\n * @return {Point} perpendicular point\n */\n perp() { return this.clone()._perp(); },\n\n /**\n * Return a version of this point with the x & y coordinates\n * rounded to integers.\n * @return {Point} rounded point\n */\n round() { return this.clone()._round(); },\n\n /**\n * Return the magnitude of this point: this is the Euclidean\n * distance from the 0, 0 coordinate to this point's x and y\n * coordinates.\n * @return {number} magnitude\n */\n mag() {\n return Math.sqrt(this.x * this.x + this.y * this.y);\n },\n\n /**\n * Judge whether this point is equal to another point, returning\n * true or false.\n * @param {Point} other the other point\n * @return {boolean} whether the points are equal\n */\n equals(other) {\n return this.x === other.x &&\n this.y === other.y;\n },\n\n /**\n * Calculate the distance from this point to another point\n * @param {Point} p the other point\n * @return {number} distance\n */\n dist(p) {\n return Math.sqrt(this.distSqr(p));\n },\n\n /**\n * Calculate the distance from this point to another point,\n * without the square root step. Useful if you're comparing\n * relative distances.\n * @param {Point} p the other point\n * @return {number} distance\n */\n distSqr(p) {\n const dx = p.x - this.x,\n dy = p.y - this.y;\n return dx * dx + dy * dy;\n },\n\n /**\n * Get the angle from the 0, 0 coordinate to this point, in radians\n * coordinates.\n * @return {number} angle\n */\n angle() {\n return Math.atan2(this.y, this.x);\n },\n\n /**\n * Get the angle from this point to another point, in radians\n * @param {Point} b the other point\n * @return {number} angle\n */\n angleTo(b) {\n return Math.atan2(this.y - b.y, this.x - b.x);\n },\n\n /**\n * Get the angle between this point and another point, in radians\n * @param {Point} b the other point\n * @return {number} angle\n */\n angleWith(b) {\n return this.angleWithSep(b.x, b.y);\n },\n\n /**\n * Find the angle of the two vectors, solving the formula for\n * the cross product a x b = |a||b|sin(θ) for θ.\n * @param {number} x the x-coordinate\n * @param {number} y the y-coordinate\n * @return {number} the angle in radians\n */\n angleWithSep(x, y) {\n return Math.atan2(\n this.x * y - this.y * x,\n this.x * x + this.y * y);\n },\n\n /** @param {[number, number, number, number]} m */\n _matMult(m) {\n const x = m[0] * this.x + m[1] * this.y,\n y = m[2] * this.x + m[3] * this.y;\n this.x = x;\n this.y = y;\n return this;\n },\n\n /** @param {Point} p */\n _add(p) {\n this.x += p.x;\n this.y += p.y;\n return this;\n },\n\n /** @param {Point} p */\n _sub(p) {\n this.x -= p.x;\n this.y -= p.y;\n return this;\n },\n\n /** @param {number} k */\n _mult(k) {\n this.x *= k;\n this.y *= k;\n return this;\n },\n\n /** @param {number} k */\n _div(k) {\n this.x /= k;\n this.y /= k;\n return this;\n },\n\n /** @param {Point} p */\n _multByPoint(p) {\n this.x *= p.x;\n this.y *= p.y;\n return this;\n },\n\n /** @param {Point} p */\n _divByPoint(p) {\n this.x /= p.x;\n this.y /= p.y;\n return this;\n },\n\n _unit() {\n this._div(this.mag());\n return this;\n },\n\n _perp() {\n const y = this.y;\n this.y = this.x;\n this.x = -y;\n return this;\n },\n\n /** @param {number} angle */\n _rotate(angle) {\n const cos = Math.cos(angle),\n sin = Math.sin(angle),\n x = cos * this.x - sin * this.y,\n y = sin * this.x + cos * this.y;\n this.x = x;\n this.y = y;\n return this;\n },\n\n /**\n * @param {number} angle\n * @param {Point} p\n */\n _rotateAround(angle, p) {\n const cos = Math.cos(angle),\n sin = Math.sin(angle),\n x = p.x + cos * (this.x - p.x) - sin * (this.y - p.y),\n y = p.y + sin * (this.x - p.x) + cos * (this.y - p.y);\n this.x = x;\n this.y = y;\n return this;\n },\n\n _round() {\n this.x = Math.round(this.x);\n this.y = Math.round(this.y);\n return this;\n },\n\n constructor: Point\n};\n\n/**\n * Construct a point from an array if necessary, otherwise if the input\n * is already a Point, return it unchanged.\n * @param {Point | [number, number] | {x: number, y: number}} p input value\n * @return {Point} constructed point.\n * @example\n * // this\n * var point = Point.convert([0, 1]);\n * // is equivalent to\n * var point = new Point(0, 1);\n */\nPoint.convert = function (p) {\n if (p instanceof Point) {\n return /** @type {Point} */ (p);\n }\n if (Array.isArray(p)) {\n return new Point(+p[0], +p[1]);\n }\n if (p.x !== undefined && p.y !== undefined) {\n return new Point(+p.x, +p.y);\n }\n throw new Error('Expected [x, y] or {x, y} point format');\n};\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function (val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '')\n\t\t\t.trim()\n\t\t\t.replace(/\\s+/g, ',')\n\t\t\t.split(',')\n\t\t\t.filter(Boolean);\n\n\t\tfor (const ns of split) {\n\t\t\tif (ns[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(ns.slice(1));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(ns);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the given string matches a namespace template, honoring\n\t * asterisks as wildcards.\n\t *\n\t * @param {String} search\n\t * @param {String} template\n\t * @return {Boolean}\n\t */\n\tfunction matchesTemplate(search, template) {\n\t\tlet searchIndex = 0;\n\t\tlet templateIndex = 0;\n\t\tlet starIndex = -1;\n\t\tlet matchIndex = 0;\n\n\t\twhile (searchIndex < search.length) {\n\t\t\tif (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {\n\t\t\t\t// Match character or proceed with wildcard\n\t\t\t\tif (template[templateIndex] === '*') {\n\t\t\t\t\tstarIndex = templateIndex;\n\t\t\t\t\tmatchIndex = searchIndex;\n\t\t\t\t\ttemplateIndex++; // Skip the '*'\n\t\t\t\t} else {\n\t\t\t\t\tsearchIndex++;\n\t\t\t\t\ttemplateIndex++;\n\t\t\t\t}\n\t\t\t} else if (starIndex !== -1) { // eslint-disable-line no-negated-condition\n\t\t\t\t// Backtrack to the last '*' and try to match more characters\n\t\t\t\ttemplateIndex = starIndex + 1;\n\t\t\t\tmatchIndex++;\n\t\t\t\tsearchIndex = matchIndex;\n\t\t\t} else {\n\t\t\t\treturn false; // No match\n\t\t\t}\n\t\t}\n\n\t\t// Handle trailing '*' in template\n\t\twhile (templateIndex < template.length && template[templateIndex] === '*') {\n\t\t\ttemplateIndex++;\n\t\t}\n\n\t\treturn templateIndex === template.length;\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names,\n\t\t\t...createDebug.skips.map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tfor (const skip of createDebug.skips) {\n\t\t\tif (matchesTemplate(name, skip)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (const ns of createDebug.names) {\n\t\t\tif (matchesTemplate(name, ns)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\tlet m;\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\t// eslint-disable-next-line no-return-assign\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)) && parseInt(m[1], 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","import e from \"debug\";\nimport { concat as t, range as n, rangeRight as r } from \"@pie-element/shared-lodash\";\nimport i from \"@mapbox/point-geometry\";\n//#region src/index.ts\nvar a = e(\"pie-lib:graphing:tools:utils\"), o = 16, s = (e, t) => {\n\tif (!t || e.x == t.x) return {\n\t\tfreq: 0,\n\t\tamplitude: 0\n\t};\n\tlet n = new i(e.x, e.y), r = new i(t.x, t.y).sub(n);\n\treturn {\n\t\tfreq: r.x * 4,\n\t\tamplitude: r.y\n\t};\n}, c = (e, i, o, s) => (i = Math.abs(i), a(\"[xPoints] root:\", e, \"freq:\", i, \" min:\", o, \" max:\", s), t(r(e, o - i, i * -1), n(e + i, s + i, i))), l = (e, t, n) => (r) => {\n\tn = {\n\t\tphase: 0,\n\t\tvertical: 0,\n\t\t...n\n\t};\n\tlet i = Math.PI * 2 * (r - n.phase) / t;\n\treturn e * parseFloat(Math.sin(i)).toFixed(10) + n.vertical;\n}, u = (e, t) => {\n\tt ||= { ...e };\n\tlet n = {\n\t\tx: e.x - (t.x - e.x),\n\t\ty: t.y\n\t};\n\treturn d(e, t, n);\n}, d = (e, t, n) => {\n\ta(e, t, n);\n\tlet { a: r, b: i, c: o } = f(e, t, n);\n\treturn a(r, i, o), p(r, i, o);\n}, f = (e, t, n) => {\n\tlet r = e.x ** 2 * -1 + t.x ** 2, i = e.x * -1 + t.x, a = e.y * -1 + t.y, o = t.x ** 2 * -1 + n.x ** 2, s = t.x * -1 + n.x, c = t.y * -1 + n.y, l = s / i * -1, u = l * r + o, d = (l * a + c) / u, f = (a - r * d) / i;\n\treturn {\n\t\ta: d,\n\t\tb: f,\n\t\tc: e.y - d * e.x ** 2 - f * e.x\n\t};\n}, p = (e, t, n) => (r) => e * r ** 2 + t * r + n, m = (e, t) => (t ||= { ...e }, g(h(e, t), e.x, e.y)), h = (e, t) => {\n\tlet n = (t.y - e.y) / (t.x - e.x);\n\treturn t.x < e.x && (n *= -1), n;\n}, g = (e, t, n) => (r) => e * Math.abs(r - t) + n, _ = (e, t) => {\n\tt ||= { ...e };\n\tlet { a: n, b: r } = v(e, t);\n\treturn y(n, r);\n}, v = (e, t) => {\n\tlet n = (e.y / t.y) ** +(1 / (e.x - t.x));\n\treturn {\n\t\ta: e.y / n ** +e.x,\n\t\tb: n\n\t};\n}, y = (e, t) => (n) => e * t ** +n, b = (e, t, n, r, o, s = !1) => {\n\ta(\"[buildDataPoints] domain:\", e, \"range:\", t, \"root:\", n, \"edge:\", r), e = {\n\t\tmin: 0,\n\t\tmax: 0,\n\t\tstep: 1,\n\t\t...e\n\t}, t = {\n\t\tmin: 0,\n\t\tmax: 0,\n\t\tstep: 1,\n\t\t...t\n\t}, r ||= { ...n };\n\tlet l = c(Math.min(n.x, r.x), e.step, e.min - e.step, e.max + e.step);\n\ta(\"[buildDataPoints]:xPts:\", l);\n\tlet u = -1, d = -1, f = l.map((e) => new i(e, o(e)));\n\tif (!s) return f;\n\tlet p = f.reduce((e, n, r) => n.y >= t.min - t.step && n.y <= t.max + t.step ? (u === -1 && (u = r), d < r && (d = r), [...e, n]) : e, []);\n\treturn u - 1 >= 0 && p.unshift(f[u - 1]), d + 1 <= f.length - 1 && p.push(f[d + 1]), f;\n}, x = {\n\tFREQ_DIVIDER: 16,\n\tgetAmplitudeAndFreq: s,\n\txPoints: c,\n\tsinY: l,\n\tparabolaFromTwoPoints: u,\n\tparabolaFromThreePoints: d,\n\tpointsToABC: f,\n\tparabola: p,\n\tabsoluteFromTwoPoints: m,\n\tpointsToAForAbsolute: h,\n\tabsolute: g,\n\texponentialFromTwoPoints: _,\n\tpointsToABForExponential: v,\n\texponential: y,\n\tbuildDataPoints: b\n};\n//#endregion\nexport { o as FREQ_DIVIDER, g as absolute, m as absoluteFromTwoPoints, b as buildDataPoints, x as default, y as exponential, _ as exponentialFromTwoPoints, s as getAmplitudeAndFreq, p as parabola, d as parabolaFromThreePoints, u as parabolaFromTwoPoints, f as pointsToABC, v as pointsToABForExponential, h as pointsToAForAbsolute, l as sinY, c as xPoints };\n"],"x_google_ignoreList":[1,2,3,4],"mappings":";;;;;;;;;;;;;;;;;;;;IACI,IAAI,OAAO;AACf,SAAS,EAAE,GAAG;CACb,OAAO,OAAO,KAAK,YAAY,CAAC,CAAC;AAClC;AACA,SAAS,EAAE,GAAG;CACb,OAAO,MAAM,QAAQ,CAAC,IAAI,IAAI,OAAO,KAAK,WAAW,CAAC,CAAC,IAAI,EAAE,QAAQ,cAAc,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,OAAO,OAAO;AACpH;AAaA,SAAS,EAAE,GAAG,IAAI,GAAG;CACpB,IAAI,CAAC,GAAG,UAAU,IAAI,GAAG,OAAO,CAAC;CACjC,IAAI,IAAI,CAAC;CACT,KAAK,IAAI,IAAI,GAAG,IAAI,EAAE,QAAQ,KAAK,GAAG,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;CAC9D,OAAO;AACR;AAIA,SAAS,EAAE,GAAG;CACb,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO;CAClB,IAAI,aAAa,MAAM,OAAO,IAAI,KAAK,EAAE,QAAQ,CAAC;CAClD,IAAI,MAAM,QAAQ,CAAC,GAAG,OAAO,EAAE,KAAK,MAAM,EAAE,CAAC,CAAC;CAC9C,IAAI,IAAI,CAAC;CACT,KAAK,IAAI,CAAC,GAAG,MAAM,OAAO,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC;CAChD,OAAO;AACR;AACA,SAAS,EAAE,GAAG;CACb,QAAQ,KAAK,CAAC,EAAA,CAAG,OAAO,OAAO;AAChC;AACA,SAAS,EAAE,GAAG,GAAG,GAAG;CACnB,IAAI,IAAI,CAAC,GAAG,KAAK,CAAC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