From 527703920be9fc168d1c59442fe057cf22ef316b Mon Sep 17 00:00:00 2001 From: Chris Fregly Date: Thu, 11 Jul 2024 19:39:45 -0700 Subject: [PATCH] add moving banner --- dist/index.mjs | 2622 +++++++++++++------------- dist/index.umd.js | 64 +- dist/style.css | 2 +- package-lock.json | 30 +- package.json | 2 +- src/components/Banner.jsx | 18 + src/components/HomePage/HomePage.jsx | 26 +- 7 files changed, 1399 insertions(+), 1365 deletions(-) create mode 100644 src/components/Banner.jsx diff --git a/dist/index.mjs b/dist/index.mjs index ed16048..4174603 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -56,10 +56,10 @@ function Ea() { { for (var R = arguments.length, L = new Array(R > 1 ? R - 1 : 0), X = 1; X < R; X++) L[X - 1] = arguments[X]; - C("error", k, L); + T("error", k, L); } } - function C(k, R, L) { + function T(k, R, L) { { var X = x.ReactDebugCurrentFrame, pe = X.getStackAddendum(); pe !== "" && (R += "%s", L = L.concat([pe])); @@ -69,16 +69,16 @@ function Ea() { be.unshift("Warning: " + R), Function.prototype.apply.call(console[k], console, be); } } - var j = !1, E = !1, w = !1, N = !1, U = !1, te; + var _ = !1, E = !1, w = !1, N = !1, U = !1, te; te = Symbol.for("react.module.reference"); function v(k) { - return !!(typeof k == "string" || typeof k == "function" || k === r || k === o || U || k === i || k === c || k === f || N || k === p || j || E || w || typeof k == "object" && k !== null && (k.$$typeof === d || k.$$typeof === u || k.$$typeof === l || k.$$typeof === a || k.$$typeof === s || // This needs to include all possible module reference object + return !!(typeof k == "string" || typeof k == "function" || k === r || k === o || U || k === i || k === c || k === f || N || k === p || _ || E || w || typeof k == "object" && k !== null && (k.$$typeof === d || k.$$typeof === u || k.$$typeof === l || k.$$typeof === a || k.$$typeof === s || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. k.$$typeof === te || k.getModuleId !== void 0)); } - function _(k, R, L) { + function j(k, R, L) { var X = k.displayName; if (X) return X; @@ -118,7 +118,7 @@ function Ea() { var L = k; return z(L._context) + ".Provider"; case s: - return _(k, k.render, "ForwardRef"); + return j(k, k.render, "ForwardRef"); case u: var X = k.displayName || null; return X !== null ? X : Q(k.type) || "Memo"; @@ -195,7 +195,7 @@ function Ea() { G < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } - var M = x.ReactCurrentDispatcher, W; + var $ = x.ReactCurrentDispatcher, W; function Y(k, R, L) { { if (W === void 0) @@ -227,7 +227,7 @@ function Ea() { var pe = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var be; - be = M.current, M.current = null, B(); + be = $.current, $.current = null, B(); try { if (R) { var ae = function() { @@ -271,16 +271,16 @@ function Ea() { if (Se !== 1 || Ce !== 1) do if (Se--, Ce--, Ce < 0 || le[Se] !== Re[Ce]) { - var Me = ` + var $e = ` ` + le[Se].replace(" at new ", " at "); - return k.displayName && Me.includes("") && (Me = Me.replace("", k.displayName)), typeof k == "function" && K.set(k, Me), Me; + return k.displayName && $e.includes("") && ($e = $e.replace("", k.displayName)), typeof k == "function" && K.set(k, $e), $e; } while (Se >= 1 && Ce >= 0); break; } } } finally { - re = !1, M.current = be, ne(), Error.prepareStackTrace = pe; + re = !1, $.current = be, ne(), Error.prepareStackTrace = pe; } var gt = k ? k.displayName || k.name : "", Zr = gt ? Y(gt) : ""; return typeof k == "function" && K.set(k, Zr), Zr; @@ -288,15 +288,15 @@ function Ea() { function Pe(k, R, L) { return D(k, !1); } - function $(k) { + function M(k) { var R = k.prototype; return !!(R && R.isReactComponent); } - function _e(k, R, L) { + function je(k, R, L) { if (k == null) return ""; if (typeof k == "function") - return D(k, $(k)); + return D(k, M(k)); if (typeof k == "string") return Y(k); switch (k) { @@ -310,11 +310,11 @@ function Ea() { case s: return Pe(k.render); case u: - return _e(k.type, R, L); + return je(k.type, R, L); case d: { var X = k, pe = X._payload, be = X._init; try { - return _e(be(pe), R, L); + return je(be(pe), R, L); } catch { } } @@ -324,7 +324,7 @@ function Ea() { var Ne = Object.prototype.hasOwnProperty, tt = {}, At = x.ReactDebugCurrentFrame; function dt(k) { if (k) { - var R = k._owner, L = _e(k.type, k._source, R ? R.type : null); + var R = k._owner, L = je(k.type, k._source, R ? R.type : null); At.setExtraStackFrame(L); } else At.setExtraStackFrame(null); @@ -379,7 +379,7 @@ function Ea() { __source: !0 }, V, ce, fe; fe = {}; - function je(k) { + function _e(k) { if (Ne.call(k, "ref")) { var R = Object.getOwnPropertyDescriptor(k, "ref").get; if (R && R.isReactWarning) @@ -455,7 +455,7 @@ function Ea() { function Rt(k, R, L, X, pe) { { var be, ae = {}, le = null, Re = null; - L !== void 0 && (Xt(L), le = "" + L), Ve(R) && (Xt(R.key), le = "" + R.key), je(R) && (Re = R.ref, He(R, pe)); + L !== void 0 && (Xt(L), le = "" + L), Ve(R) && (Xt(R.key), le = "" + R.key), _e(R) && (Re = R.ref, He(R, pe)); for (be in R) Ne.call(R, be) && !I.hasOwnProperty(be) && (ae[be] = R[be]); if (k && k.defaultProps) { @@ -473,7 +473,7 @@ function Ea() { var De = x.ReactCurrentOwner, Yr = x.ReactDebugCurrentFrame; function mt(k) { if (k) { - var R = k._owner, L = _e(k.type, k._source, R ? R.type : null); + var R = k._owner, L = je(k.type, k._source, R ? R.type : null); Yr.setExtraStackFrame(L); } else Yr.setExtraStackFrame(null); @@ -603,17 +603,17 @@ Check the top-level render call using <` + L + ">."); if (Ce == null) return Ce; if (ae) { - var Me = R.children; - if (Me !== void 0) + var $e = R.children; + if ($e !== void 0) if (X) - if (Pt(Me)) { - for (var gt = 0; gt < Me.length; gt++) - Xr(Me[gt], k); - Object.freeze && Object.freeze(Me); + if (Pt($e)) { + for (var gt = 0; gt < $e.length; gt++) + Xr($e[gt], k); + Object.freeze && Object.freeze($e); } else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else - Xr(Me, k); + Xr($e, k); } return k === r ? ma(Ce) : da(Ce), Ce; } @@ -629,24 +629,24 @@ Check the top-level render call using <` + L + ">."); }()), It; } process.env.NODE_ENV === "production" ? er.exports = va() : er.exports = Ea(); -var T = er.exports; -const yt = ({ href: e, title: t, className: n }) => /* @__PURE__ */ T.jsx("a", { className: `${n} text-zinc-300 hover:text-zinc-100 transition ease-in-out`, href: e, target: "_blank", rel: "noreferrer", children: t }); +var C = er.exports; +const yt = ({ href: e, title: t, className: n }) => /* @__PURE__ */ C.jsx("a", { className: `${n} text-zinc-300 hover:text-zinc-100 transition ease-in-out`, href: e, target: "_blank", rel: "noreferrer", children: t }); function pn() { - return /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col items-center w-full font-light text-sm", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "flex", children: [ - /* @__PURE__ */ T.jsx(yt, { href: "mailto:hello@quibbble.com", title: "Contact" }), - /* @__PURE__ */ T.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), - /* @__PURE__ */ T.jsx(yt, { href: "https://www.buymeacoffee.com/quibbble", title: "Support" }), - /* @__PURE__ */ T.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), - /* @__PURE__ */ T.jsx(yt, { href: "https://discord.gg/VKvjutuhUp", title: "Discord" }), - /* @__PURE__ */ T.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), - /* @__PURE__ */ T.jsx(yt, { href: "https://github.com/quibbble", title: "Github" }), - /* @__PURE__ */ T.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), - /* @__PURE__ */ T.jsx(yt, { href: "https://status.quibbble.com", title: "Status" }) + return /* @__PURE__ */ C.jsxs("div", { className: "flex flex-col items-center w-full font-light text-sm", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "flex", children: [ + /* @__PURE__ */ C.jsx(yt, { href: "mailto:hello@quibbble.com", title: "Contact" }), + /* @__PURE__ */ C.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), + /* @__PURE__ */ C.jsx(yt, { href: "https://www.buymeacoffee.com/quibbble", title: "Support" }), + /* @__PURE__ */ C.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), + /* @__PURE__ */ C.jsx(yt, { href: "https://discord.gg/VKvjutuhUp", title: "Discord" }), + /* @__PURE__ */ C.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), + /* @__PURE__ */ C.jsx(yt, { href: "https://github.com/quibbble", title: "Github" }), + /* @__PURE__ */ C.jsx("p", { className: "mx-2 md:mx-4", children: "/" }), + /* @__PURE__ */ C.jsx(yt, { href: "https://status.quibbble.com", title: "Status" }) ] }), - /* @__PURE__ */ T.jsxs("p", { className: "mt-4 text-zinc-300 flex", children: [ + /* @__PURE__ */ C.jsxs("p", { className: "mt-4 text-zinc-300 flex", children: [ "Made with ♥ by ", - /* @__PURE__ */ T.jsx(yt, { className: "underline", href: "https://chrisfregly.com", title: " Chris Fregly" }) + /* @__PURE__ */ C.jsx(yt, { className: "underline", href: "https://chrisfregly.com", title: " Chris Fregly" }) ] }) ] }); } @@ -672,7 +672,7 @@ const Aa = dn("string"), Be = dn("function"), Oo = dn("number"), mn = (e) => e ! return !1; const t = wr(e); return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); -}, Ra = Ke("Date"), Oa = Ke("File"), Fa = Ke("Blob"), Ia = Ke("FileList"), _a = (e) => mn(e) && Be(e.pipe), ja = (e) => { +}, Ra = Ke("Date"), Oa = Ke("File"), Fa = Ke("Blob"), Ia = Ke("FileList"), ja = (e) => mn(e) && Be(e.pipe), _a = (e) => { let t; return e && (typeof FormData == "function" && e instanceof FormData || Be(e.append) && ((t = hn(e)) === "formdata" || // detect form-data instance t === "object" && Be(e.toString) && e.toString() === "[object FormData]")); @@ -700,9 +700,9 @@ function Fo(e, t) { return i; return null; } -const Io = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), _o = (e) => !Nt(e) && e !== Io; +const Io = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), jo = (e) => !Nt(e) && e !== Io; function tr() { - const { caseless: e } = _o(this) && this || {}, t = {}, n = (r, i) => { + const { caseless: e } = jo(this) && this || {}, t = {}, n = (r, i) => { const o = e && Fo(t, i) || i; rn(t[o]) && rn(r) ? t[o] = tr(t[o], r) : rn(r) ? t[o] = tr({}, r) : Et(r) ? t[o] = r.slice() : t[o] = r; }; @@ -712,11 +712,11 @@ function tr() { } const La = (e, t, n, { allOwnKeys: r } = {}) => (qt(t, (i, o) => { n && Be(i) ? e[o] = Po(i, n) : e[o] = i; -}, { allOwnKeys: r }), e), Na = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ma = (e, t, n, r) => { +}, { allOwnKeys: r }), e), Na = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), $a = (e, t, n, r) => { e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", { value: t.prototype }), n && Object.assign(e.prototype, n); -}, $a = (e, t, n, r) => { +}, Ma = (e, t, n, r) => { let i, o, l; const a = {}; if (t = t || {}, e == null) @@ -761,14 +761,14 @@ const La = (e, t, n, { allOwnKeys: r } = {}) => (qt(t, (i, o) => { function(n, r, i) { return r.toUpperCase() + i; } -), ni = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ga = Ke("RegExp"), jo = (e, t) => { +), ni = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ga = Ke("RegExp"), _o = (e, t) => { const n = Object.getOwnPropertyDescriptors(e), r = {}; qt(n, (i, o) => { let l; (l = t(i, o, e)) !== !1 && (r[o] = l || i); }), Object.defineProperties(e, r); }, Ja = (e) => { - jo(e, (t, n) => { + _o(e, (t, n) => { if (Be(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1) return !1; const r = e[n]; @@ -825,7 +825,7 @@ const ts = (e) => { isArray: Et, isArrayBuffer: Ro, isBuffer: Ca, - isFormData: ja, + isFormData: _a, isArrayBufferView: Ta, isString: Aa, isNumber: Oo, @@ -838,7 +838,7 @@ const ts = (e) => { isBlob: Fa, isRegExp: Ga, isFunction: Be, - isStream: _a, + isStream: ja, isURLSearchParams: Da, isTypedArray: qa, isFileList: Ia, @@ -847,8 +847,8 @@ const ts = (e) => { extend: La, trim: za, stripBOM: Na, - inherits: Ma, - toFlatObject: $a, + inherits: $a, + toFlatObject: Ma, kindOf: hn, kindOfTest: Ke, endsWith: Ba, @@ -859,7 +859,7 @@ const ts = (e) => { hasOwnProperty: ni, hasOwnProp: ni, // an alias to avoid ESLint no-prototype-builtins detection - reduceDescriptors: jo, + reduceDescriptors: _o, freezeMethods: Ja, toObjectSet: Ka, toCamelCase: Ya, @@ -867,7 +867,7 @@ const ts = (e) => { toFiniteNumber: Qa, findKey: Fo, global: Io, - isContextDefined: _o, + isContextDefined: jo, ALPHABET: Do, generateString: Za, isSpecCompliantForm: es, @@ -971,11 +971,11 @@ function gn(e, t, n) { if (P.endsWith(g, "{}")) g = r ? g : g.slice(0, -2), m = JSON.stringify(m); else if (P.isArray(m) && os(m) || (P.isFileList(m) || P.endsWith(g, "[]")) && (x = P.toArray(m))) - return g = No(g), x.forEach(function(C, j) { - !(P.isUndefined(C) || C === null) && t.append( + return g = No(g), x.forEach(function(T, _) { + !(P.isUndefined(T) || T === null) && t.append( // eslint-disable-next-line no-nested-ternary - l === !0 ? ii([g], j, o) : l === null ? g : g + "[]", - c(C) + l === !0 ? ii([g], _, o) : l === null ? g : g + "[]", + c(T) ); }), !1; } @@ -1022,11 +1022,11 @@ function oi(e) { function vr(e, t) { this._pairs = [], e && gn(e, this, t); } -const Mo = vr.prototype; -Mo.append = function(t, n) { +const $o = vr.prototype; +$o.append = function(t, n) { this._pairs.push([t, n]); }; -Mo.toString = function(t) { +$o.toString = function(t) { const n = t ? function(r) { return t.call(this, r, oi); } : oi; @@ -1037,7 +1037,7 @@ Mo.toString = function(t) { function as(e) { return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } -function $o(e, t, n) { +function Mo(e, t, n) { if (!t) return e; const r = n && n.encode || as, i = n && n.serialize; @@ -1260,7 +1260,7 @@ const Sr = Er, xs = P.toObjectSet([ i = l.indexOf(":"), n = l.substring(0, i).trim().toLowerCase(), r = l.substring(i + 1).trim(), !(!n || t[n] && xs[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r); }), t; }, ai = Symbol("internals"); -function _t(e) { +function jt(e) { return e && String(e).trim().toLowerCase(); } function on(e) { @@ -1305,7 +1305,7 @@ class yn { set(t, n, r) { const i = this; function o(a, s, c) { - const f = _t(s); + const f = jt(s); if (!f) throw new Error("header name must be a non-empty string"); const u = P.findKey(i, f); @@ -1315,7 +1315,7 @@ class yn { return P.isPlainObject(t) || t instanceof this.constructor ? l(t, n) : P.isString(t) && (t = t.trim()) && !Es(t) ? l(ws(t), n) : t != null && o(n, t, r), this; } get(t, n) { - if (t = _t(t), t) { + if (t = jt(t), t) { const r = P.findKey(this, t); if (r) { const i = this[r]; @@ -1332,7 +1332,7 @@ class yn { } } has(t, n) { - if (t = _t(t), t) { + if (t = jt(t), t) { const r = P.findKey(this, t); return !!(r && this[r] !== void 0 && (!n || Rn(this, this[r], r, n))); } @@ -1342,7 +1342,7 @@ class yn { const r = this; let i = !1; function o(l) { - if (l = _t(l), l) { + if (l = jt(l), l) { const a = P.findKey(r, l); a && (!n || Rn(r, r[a], a, n)) && (delete r[a], i = !0); } @@ -1401,7 +1401,7 @@ class yn { accessors: {} }).accessors, i = this.prototype; function o(l) { - const a = _t(l); + const a = jt(l); r[a] || (Cs(i, l), r[a] = !0); } return P.isArray(t) ? t.forEach(o) : o(t), this; @@ -1551,7 +1551,7 @@ function si(e, t) { f[t ? "download" : "upload"] = !0, e(f); }; } -const _s = typeof XMLHttpRequest < "u", js = _s && function(e) { +const js = typeof XMLHttpRequest < "u", _s = js && function(e) { return new Promise(function(n, r) { let i = e.data; const o = Ze.from(e.headers).normalize(); @@ -1574,7 +1574,7 @@ const _s = typeof XMLHttpRequest < "u", js = _s && function(e) { o.set("Authorization", "Basic " + btoa(g + ":" + b)); } const d = Vo(e.baseURL, e.url); - u.open(e.method.toUpperCase(), $o(d, e.params, e.paramsSerializer), !0), u.timeout = e.timeout; + u.open(e.method.toUpperCase(), Mo(d, e.params, e.paramsSerializer), !0), u.timeout = e.timeout; function p() { if (!u) return; @@ -1588,10 +1588,10 @@ const _s = typeof XMLHttpRequest < "u", js = _s && function(e) { config: e, request: u }; - Ts(function(C) { - n(C), c(); - }, function(C) { - r(C), c(); + Ts(function(T) { + n(T), c(); + }, function(T) { + r(T), c(); }, x), u = null; } if ("onloadend" in u ? u.onloadend = p : u.onreadystatechange = function() { @@ -1627,7 +1627,7 @@ const _s = typeof XMLHttpRequest < "u", js = _s && function(e) { }); }, rr = { http: is, - xhr: js + xhr: _s }; P.forEach(rr, (e, t) => { if (e) { @@ -1881,7 +1881,7 @@ class un { getUri(t) { t = wt(this.defaults, t); const n = Vo(t.baseURL, t.url); - return $o(n, t.params, t.paramsSerializer); + return Mo(n, t.params, t.paramsSerializer); } } P.forEach(["delete", "get", "head", "options"], function(t) { @@ -1983,7 +1983,7 @@ function Ns(e) { return e.apply(null, n); }; } -function Ms(e) { +function $s(e) { return P.isObject(e) && e.isAxiosError === !0; } const or = { @@ -2054,7 +2054,7 @@ const or = { Object.entries(or).forEach(([e, t]) => { or[t] = e; }); -const $s = or; +const Ms = or; function Go(e) { const t = new ln(e), n = Po(ln.prototype.request, t); return P.extend(n, ln.prototype, t, { allOwnKeys: !0 }), P.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(i) { @@ -2074,12 +2074,12 @@ Ae.all = function(t) { return Promise.all(t); }; Ae.spread = Ns; -Ae.isAxiosError = Ms; +Ae.isAxiosError = $s; Ae.mergeConfig = wt; Ae.AxiosHeaders = Ze; Ae.formToJSON = (e) => qo(P.isHTMLForm(e) ? new FormData(e) : e); Ae.getAdapter = Wo.getAdapter; -Ae.HttpStatusCode = $s; +Ae.HttpStatusCode = Ms; Ae.default = Ae; const bn = Ae; bn.defaults.withCredentials = !0; @@ -2112,7 +2112,7 @@ const Bs = async (e, t, n, r, i) => { }; return bn(t).catch((n) => n.response); }; -function xg({ config: e }) { +function vg({ config: e }) { const t = Bt(); return ft(() => { const n = async () => { @@ -2127,15 +2127,15 @@ function xg({ config: e }) { n(); }, 1e4); return () => clearInterval(r); - }, [t]), /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col items-center my-8 md:my-12", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "w-full flex flex-col items-center mt-48", children: [ - /* @__PURE__ */ T.jsx("p", { className: "font-black text-4xl italic", children: "We'll be right back!" }), - /* @__PURE__ */ T.jsxs("p", { className: "mb-1 font-thin", children: [ - /* @__PURE__ */ T.jsx("span", { className: `text-3xl font-black font-['${e.font}'] text-${e.color} mr-1`, children: e.key }), + }, [t]), /* @__PURE__ */ C.jsxs("div", { className: "flex flex-col items-center my-8 md:my-12", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "w-full flex flex-col items-center mt-48", children: [ + /* @__PURE__ */ C.jsx("p", { className: "font-black text-4xl italic", children: "We'll be right back!" }), + /* @__PURE__ */ C.jsxs("p", { className: "mb-1 font-thin", children: [ + /* @__PURE__ */ C.jsx("span", { className: `text-3xl font-black font-['${e.font}'] text-${e.color} mr-1`, children: e.key }), " is down for maintenance" ] }) ] }), - /* @__PURE__ */ T.jsx("div", { className: "absolute bottom-8 md:bottom-12", children: /* @__PURE__ */ T.jsx(pn, {}) }) + /* @__PURE__ */ C.jsx("div", { className: "absolute bottom-8 md:bottom-12", children: /* @__PURE__ */ C.jsx(pn, {}) }) ] }); } const hi = [ @@ -6016,8 +6016,15 @@ const hi = [ 7: "seven", 8: "eight", 9: "nine" -}; -function wg(e) { +}, qs = ({ href: e, title: t, className: n }) => /* @__PURE__ */ C.jsx("a", { className: `${n} text-zinc-100 hover:text-zinc-800 transition ease-in-out`, href: e, target: "_blank", rel: "noreferrer", children: t }); +function Hs() { + return /* @__PURE__ */ C.jsx("div", { className: "flex flex-col items-center w-full p-2 text-lg font-bold text-zinc-800 bg-amber-500", children: /* @__PURE__ */ C.jsxs("div", { className: "flex", children: [ + "We're moving! Check out the new look out at  ", + /* @__PURE__ */ C.jsx(qs, { className: "underline", href: "https://quibbble.com", title: "quibbble.com" }), + "." + ] }) }); +} +function Eg(e) { const { config: t, options: n, setOptions: r, children: i } = e, o = Bt(), [l, a] = pt(`${hi[Math.floor(Math.random() * hi.length)]}-${di[Math.floor(Math.random() * di.length)]}-${Math.floor(Math.random() * (99 - 0 + 1) + 0)}`), [s, c] = pt(t.minTeams); ft(() => { const u = async () => { @@ -6035,44 +6042,47 @@ function wg(e) { let d = await Bs(t.host, t.key, l, s, n); (d === 201 || d === 400) && o(`/${l}`); } - return /* @__PURE__ */ T.jsx("div", { children: /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col items-center m-8 md:m-12", children: [ - /* @__PURE__ */ T.jsx("div", { className: "w-full max-w-2xl", children: /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col items-center fade-in", children: [ - /* @__PURE__ */ T.jsx("div", { className: ` text-5xl font-black font-['${t.font}'] text-${t.color} mb-1 cursor-pointer`, children: /* @__PURE__ */ T.jsx("a", { href: `${window.location.protocol}//${window.location.host}`, children: t.key }) }), - /* @__PURE__ */ T.jsxs("div", { className: "font-thin mb-3", children: [ - "Play ", - t.minTeams === t.maxTeams ? `${In[t.minTeams]}` : `${In[t.minTeams]} to ${In[t.maxTeams]}`, - " player ", - t.key, - " online against friends. To create a game or join an existing one, enter a game ID and click 'Go'." - ] }), - /* @__PURE__ */ T.jsxs("form", { className: "w-full flex mb-3", onSubmit: f, children: [ - /* @__PURE__ */ T.jsx("input", { className: "w-10/12 p-2 text-zinc-100 bg-zinc-800 rounded-none border border-zinc-100 text-3xl font-medium box-border focus:outline-dashed outline-blue-500 outline-2", autoFocus: !0, type: "text", value: l, onChange: (u) => a(u.target.value) }), - /* @__PURE__ */ T.jsx("button", { className: "w-2/12 font-bold grow-0 bg-blue-500", children: "Go" }) - ] }), - /* @__PURE__ */ T.jsxs("div", { className: "flex w-full justify-between flex-wrap gap-2", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "flex order-2 md:order-1", children: [ - /* @__PURE__ */ T.jsx("button", { onClick: () => o("/rules"), title: "how to play", className: "mr-3 md:mr-2 p-2 first-line:p-2 bg-blue-500 italic text-xs font-bold", children: "game rules" }), - /* @__PURE__ */ T.jsxs("a", { className: "italic text-xs py-1 px-2 border-blue-500 border border-dashed text-blue-500", href: "https://quibbble.com", target: "_blank", children: [ - "more ", - /* @__PURE__ */ T.jsx("span", { className: "text-zinc-100 font-['lobster'] text-sm not-italic", children: "quibbble" }), - " games" - ] }) + return /* @__PURE__ */ C.jsxs("div", { children: [ + /* @__PURE__ */ C.jsx("div", { className: "flex items-center w-full", children: /* @__PURE__ */ C.jsx(Hs, {}) }), + /* @__PURE__ */ C.jsxs("div", { className: "flex flex-col items-center m-8 md:m-12", children: [ + /* @__PURE__ */ C.jsx("div", { className: "w-full max-w-2xl", children: /* @__PURE__ */ C.jsxs("div", { className: "flex flex-col items-center fade-in", children: [ + /* @__PURE__ */ C.jsx("div", { className: ` text-5xl font-black font-['${t.font}'] text-${t.color} mb-1 cursor-pointer`, children: /* @__PURE__ */ C.jsx("a", { href: `${window.location.protocol}//${window.location.host}`, children: t.key }) }), + /* @__PURE__ */ C.jsxs("div", { className: "mb-3 font-thin", children: [ + "Play ", + t.minTeams === t.maxTeams ? `${In[t.minTeams]}` : `${In[t.minTeams]} to ${In[t.maxTeams]}`, + " player ", + t.key, + " online against friends. To create a game or join an existing one, enter a game ID and click 'Go'." ] }), - /* @__PURE__ */ T.jsxs("div", { className: "overflow-scroll no-scrollbar flex flex-warp items-center order-1 md:order-2 mb-3 md:mb-0", children: [ - n.Variant ? /* @__PURE__ */ T.jsxs(T.Fragment, { children: [ - /* @__PURE__ */ T.jsx("div", { className: "mr-1 font-black text-blue-500", children: "VARIANT" }), - /* @__PURE__ */ T.jsx("select", { className: "px-2 mr-1 bg-zinc-800 text-xs h-6 border font-bold border-zinc-100 focus:outline-none", id: "players", onChange: (u) => r((d) => ({ ...d, Variant: u.target.value.replace(/\s/g, "") })), children: t.variants.map((u) => /* @__PURE__ */ T.jsx("option", { value: u, children: u }, u)) }) - ] }) : null, - t.minTeams !== t.maxTeams ? /* @__PURE__ */ T.jsxs(T.Fragment, { children: [ - /* @__PURE__ */ T.jsx("div", { className: "mx-1 font-black text-blue-500", children: "PLAYERS" }), - /* @__PURE__ */ T.jsx("select", { className: "px-2 bg-zinc-800 text-xs h-6 border font-bold border-zinc-100 focus:outline-none", id: "players", onChange: (u) => c(parseInt(u.target.value)), children: Array(t.maxTeams - t.minTeams + 1).fill().map((u, d) => t.minTeams + d).map((u) => /* @__PURE__ */ T.jsx("option", { value: u, children: u }, u)) }) - ] }) : null, - i + /* @__PURE__ */ C.jsxs("form", { className: "flex w-full mb-3", onSubmit: f, children: [ + /* @__PURE__ */ C.jsx("input", { className: "box-border w-10/12 p-2 text-3xl font-medium border rounded-none text-zinc-100 bg-zinc-800 border-zinc-100 focus:outline-dashed outline-blue-500 outline-2", autoFocus: !0, type: "text", value: l, onChange: (u) => a(u.target.value) }), + /* @__PURE__ */ C.jsx("button", { className: "w-2/12 font-bold bg-blue-500 grow-0", children: "Go" }) + ] }), + /* @__PURE__ */ C.jsxs("div", { className: "flex flex-wrap justify-between w-full gap-2", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "flex order-2 md:order-1", children: [ + /* @__PURE__ */ C.jsx("button", { onClick: () => o("/rules"), title: "how to play", className: "p-2 mr-3 text-xs italic font-bold bg-blue-500 md:mr-2 first-line:p-2", children: "game rules" }), + /* @__PURE__ */ C.jsxs("a", { className: "px-2 py-1 text-xs italic text-blue-500 border border-blue-500 border-dashed", href: "https://quibbble.com", target: "_blank", children: [ + "more ", + /* @__PURE__ */ C.jsx("span", { className: "text-zinc-100 font-['lobster'] text-sm not-italic", children: "quibbble" }), + " games" + ] }) + ] }), + /* @__PURE__ */ C.jsxs("div", { className: "flex items-center order-1 mb-3 overflow-scroll no-scrollbar flex-warp md:order-2 md:mb-0", children: [ + n.Variant ? /* @__PURE__ */ C.jsxs(C.Fragment, { children: [ + /* @__PURE__ */ C.jsx("div", { className: "mr-1 font-black text-blue-500", children: "VARIANT" }), + /* @__PURE__ */ C.jsx("select", { className: "h-6 px-2 mr-1 text-xs font-bold border bg-zinc-800 border-zinc-100 focus:outline-none", id: "players", onChange: (u) => r((d) => ({ ...d, Variant: u.target.value.replace(/\s/g, "") })), children: t.variants.map((u) => /* @__PURE__ */ C.jsx("option", { value: u, children: u }, u)) }) + ] }) : null, + t.minTeams !== t.maxTeams ? /* @__PURE__ */ C.jsxs(C.Fragment, { children: [ + /* @__PURE__ */ C.jsx("div", { className: "mx-1 font-black text-blue-500", children: "PLAYERS" }), + /* @__PURE__ */ C.jsx("select", { className: "h-6 px-2 text-xs font-bold border bg-zinc-800 border-zinc-100 focus:outline-none", id: "players", onChange: (u) => c(parseInt(u.target.value)), children: Array(t.maxTeams - t.minTeams + 1).fill().map((u, d) => t.minTeams + d).map((u) => /* @__PURE__ */ C.jsx("option", { value: u, children: u }, u)) }) + ] }) : null, + i + ] }) ] }) - ] }) - ] }) }), - /* @__PURE__ */ T.jsx("div", { className: "absolute bottom-8 md:bottom-12", children: /* @__PURE__ */ T.jsx(pn, {}) }) - ] }) }); + ] }) }), + /* @__PURE__ */ C.jsx("div", { className: "absolute bottom-8 md:bottom-12", children: /* @__PURE__ */ C.jsx(pn, {}) }) + ] }) + ] }); } var Ko = { color: void 0, @@ -6089,7 +6099,7 @@ var Ko = { } return e; }, it.apply(this, arguments); -}, qs = globalThis && globalThis.__rest || function(e, t) { +}, Vs = globalThis && globalThis.__rest || function(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); @@ -6107,14 +6117,14 @@ function Xo(e) { } function St(e) { return function(t) { - return Oe.createElement(Hs, it({ + return Oe.createElement(Ws, it({ attr: it({}, e.attr) }, t), Xo(e.child)); }; } -function Hs(e) { +function Ws(e) { var t = function(n) { - var r = e.attr, i = e.size, o = e.title, l = qs(e, ["attr", "size", "title"]), a = i || n.size || "1em", s; + var r = e.attr, i = e.size, o = e.title, l = Vs(e, ["attr", "size", "title"]), a = i || n.size || "1em", s; return n.className && (s = n.className), e.className && (s = (s ? s + " " : "") + e.className), Oe.createElement("svg", it({ stroke: "currentColor", fill: "currentColor", @@ -6133,36 +6143,36 @@ function Hs(e) { return t(n); }) : t(Ko); } -function Vs(e) { +function Ys(e) { return St({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z" } }] })(e); } -function Ws(e) { +function Gs(e) { return St({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 388c-72.597 0-132-59.405-132-132 0-72.601 59.403-132 132-132 36.3 0 69.299 15.4 92.406 39.601L278 234h154V80l-51.698 51.702C348.406 99.798 304.406 80 256 80c-96.797 0-176 79.203-176 176s78.094 176 176 176c81.045 0 148.287-54.134 169.401-128H378.85c-18.745 49.561-67.138 84-122.85 84z" } }] })(e); } -function Ys(e) { +function Js(e) { return St({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M464 440l-28.12-32.11c-22.48-25.65-43.33-45.45-72.08-58.7-26.61-12.26-60-18.65-104.27-19.84V432L48 252 259.53 72v103.21c72.88 3 127.18 27.08 161.56 71.75C449.56 284 464 335.19 464 399.26z" } }] })(e); } -function Gs(e) { +function Ks(e) { return St({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M480 304.13v-32h-80V215.2c29.42-27.95 32-64.76 32-103.2V96h-32v16c0 28-1.86 48.15-9.9 63.84C368 128 324.32 112 256 112c-39.8 0-75.19 7.06-100.43 24.32-14.9 10.19-25.2 24.91-32.7 39.72C114 160.57 112 140.82 112 112V96H80v16c0 37.44 2.59 73.36 32 101.2v58.93H32v32l80-.13c0 19 3.7 53.09 10.39 69.69C96.6 396.76 80 422.31 80 464v16h32v-16c0-27.66 9.1-44.71 26.17-61.32C160 448 177 464 240 464V176h32v288c65 0 80-16 101.83-61.32C390.9 419.29 400 436.35 400 464v16h32v-16c0-41.68-16.6-67.23-42.39-90.31C396.3 357.09 400 323 400 304z" } }, { tag: "path", attr: { d: "M256 32c-48.06 0-96 0-96 84 26.12-14 59.35-20 96-20 24.09 0 46.09 2.65 65.39 8 10.75 3 24.66 8.71 30.61 12 0-84-47.94-84-96-84z" } }] })(e); } -function Js(e) { +function Xs(e) { return St({ tag: "svg", attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM80,208H48V48H80Zm96-56H112a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H112a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z" } }] })(e); } -function Ks(e) { +function Qs(e) { return St({ tag: "svg", attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M6.879 9.934c-0.208 0-0.416-0.079-0.575-0.238-1.486-1.486-1.486-3.905 0-5.392l3-3c0.72-0.72 1.678-1.117 2.696-1.117s1.976 0.397 2.696 1.117c1.486 1.487 1.486 3.905 0 5.392l-1.371 1.371c-0.317 0.317-0.832 0.317-1.149 0s-0.317-0.832 0-1.149l1.371-1.371c0.853-0.853 0.853-2.241 0-3.094-0.413-0.413-0.963-0.641-1.547-0.641s-1.134 0.228-1.547 0.641l-3 3c-0.853 0.853-0.853 2.241 0 3.094 0.317 0.317 0.317 0.832 0 1.149-0.159 0.159-0.367 0.238-0.575 0.238z" } }, { tag: "path", attr: { d: "M4 15.813c-1.018 0-1.976-0.397-2.696-1.117-1.486-1.486-1.486-3.905 0-5.392l1.371-1.371c0.317-0.317 0.832-0.317 1.149 0s0.317 0.832 0 1.149l-1.371 1.371c-0.853 0.853-0.853 2.241 0 3.094 0.413 0.413 0.962 0.641 1.547 0.641s1.134-0.228 1.547-0.641l3-3c0.853-0.853 0.853-2.241 0-3.094-0.317-0.317-0.317-0.832 0-1.149s0.832-0.317 1.149 0c1.486 1.486 1.486 3.905 0 5.392l-3 3c-0.72 0.72-1.678 1.117-2.696 1.117z" } }] })(e); } -function Xs({ isConn: e }) { +function Zs({ isConn: e }) { const [t, n] = pt(0); return ft(() => { e ? setTimeout(() => n((r) => r - 1), 1500) : n(0); - }, [e, n]), /* @__PURE__ */ T.jsxs("div", { className: `flex items-center ${e ? "cursor-pointer" : ""}`, children: [ - t ? null : /* @__PURE__ */ T.jsx("div", { className: "px-1", children: e ? "connected" : "connecting" }), - /* @__PURE__ */ T.jsx("div", { onClick: () => { + }, [e, n]), /* @__PURE__ */ C.jsxs("div", { className: `flex items-center ${e ? "cursor-pointer" : ""}`, children: [ + t ? null : /* @__PURE__ */ C.jsx("div", { className: "px-1", children: e ? "connected" : "connecting" }), + /* @__PURE__ */ C.jsx("div", { onClick: () => { e && (n(0), setTimeout(() => n(t - 1), 1500)); - }, className: `rounded-full w-2 h-2 ${e ? "bg-green-500" : "bg-orange-500"}`, children: e ? null : /* @__PURE__ */ T.jsx("div", { className: "rounded-full w-2 h-2 bg-orange-500 animate-ping" }) }) + }, className: `rounded-full w-2 h-2 ${e ? "bg-green-500" : "bg-orange-500"}`, children: e ? null : /* @__PURE__ */ C.jsx("div", { className: "rounded-full w-2 h-2 bg-orange-500 animate-ping" }) }) ] }); } -const vg = xa((e, t) => { +const Sg = xa((e, t) => { const { config: n, ws: r, @@ -6182,13 +6192,13 @@ const vg = xa((e, t) => { m && (i && console.log("game: ", i), l && console.log("network: ", l), s && console.log("chat: ", s), f && console.log("connected: ", f), d && console.log("error: ", d)); const { gameID: b } = wa(), x = Bt(), A = f && l && f[l.Name] ? f[l.Name] : null; A && localStorage.setItem(b, A); - const C = Ot((H) => { + const T = Ot((H) => { r.current && r.current.send(JSON.stringify({ ActionType: "SetTeam", MoreDetails: { Team: H } })); }, [r]); Ot(() => { r.current && r.current.send(JSON.stringify({ ActionType: "SetOpenTeam" })); }, [r]); - const j = Ot(() => { + const _ = Ot(() => { r.current && r.current.send(JSON.stringify({ ActionType: "Reset" })); }, [i, r]), E = Ot(() => { r.current && (i && f && l && i.Actions && i.Actions.length > 0 && i.Actions[i.Actions.length - 1].Team !== f[l.Name] || r.current.send(JSON.stringify({ ActionType: "Undo" }))); @@ -6209,7 +6219,7 @@ const vg = xa((e, t) => { r.current = new WebSocket(`${n.websocket}/game/join?GameKey=${n.key}&GameID=${b.toLowerCase()}`), r.current.onopen = () => { N(!0); let h = localStorage.getItem(b); - h && C(h); + h && T(h); }, r.current.onclose = (h) => { N(!1), h.code != 1e3 && setTimeout(function() { U(H - 1, !0); @@ -6230,14 +6240,14 @@ const vg = xa((e, t) => { const H = () => v(!te); return window.addEventListener("resize", H), (ue) => window.removeEventListener("resize", H); }); - const [_, z] = pt(0); + const [j, z] = pt(0); ft(() => { - _ > 0 && setTimeout(() => z(_ - 1), 1e3); - }, [_]); - const [Q, Z] = pt(!1), G = () => /* @__PURE__ */ T.jsx("div", { className: "z-50 absolute h-[95%] w-full flex items-center justify-center fade-in", children: /* @__PURE__ */ T.jsxs("div", { className: "bg-zinc-900 p-8 rounded-md", children: [ - /* @__PURE__ */ T.jsx("p", { className: "mb-4", children: "Are you sure you want to reset the game?" }), - /* @__PURE__ */ T.jsxs("div", { className: "flex justify-between", children: [ - /* @__PURE__ */ T.jsx( + j > 0 && setTimeout(() => z(j - 1), 1e3); + }, [j]); + const [Q, Z] = pt(!1), G = () => /* @__PURE__ */ C.jsx("div", { className: "z-50 absolute h-[95%] w-full flex items-center justify-center fade-in", children: /* @__PURE__ */ C.jsxs("div", { className: "bg-zinc-900 p-8 rounded-md", children: [ + /* @__PURE__ */ C.jsx("p", { className: "mb-4", children: "Are you sure you want to reset the game?" }), + /* @__PURE__ */ C.jsxs("div", { className: "flex justify-between", children: [ + /* @__PURE__ */ C.jsx( "button", { className: "px-2 py-1 bg-blue-500 text-sm font-bold", @@ -6245,12 +6255,12 @@ const vg = xa((e, t) => { children: "cancel" } ), - /* @__PURE__ */ T.jsx( + /* @__PURE__ */ C.jsx( "button", { className: "px-2 py-1 bg-red-500 text-sm font-bold", onClick: () => { - j(), Z(!1); + _(), Z(!1); }, children: "reset game" } @@ -6263,68 +6273,68 @@ const vg = xa((e, t) => { undo: "u" }), H.key === n.shortcut.nextTeam) { let ue = i.Teams, we = ue[(ue.indexOf(A) + 1) % ue.length]; - C(we); + T(we); } else - H.key === n.shortcut.currentTeam && i.Turn !== A ? C(i.Turn) : H.key === n.shortcut.undo && E(); + H.key === n.shortcut.currentTeam && i.Turn !== A ? T(i.Turn) : H.key === n.shortcut.undo && E(); }, [i, A]); return ft(() => (document.addEventListener("keydown", oe), () => { document.removeEventListener("keydown", oe); - }), [oe]), /* @__PURE__ */ T.jsxs("div", { className: "min-h-screen flex flex-col items-center p-2 md:p-4 fade-in", children: [ - Q ? /* @__PURE__ */ T.jsx(G, {}) : null, - /* @__PURE__ */ T.jsxs("div", { ref: t, className: `h-full w-full ${n.gamePageMaxWidth ? n.gamePageMaxWidth : "max-w-xl"} flex flex-col items-center grow`, children: [ - /* @__PURE__ */ T.jsxs("div", { className: "flex justify-between items-center relative w-full mb-1 justfy-self-start font-thin text-sm", children: [ - /* @__PURE__ */ T.jsxs("div", { children: [ - /* @__PURE__ */ T.jsxs("div", { className: "flex items-center cursor-pointer", onClick: () => { + }), [oe]), /* @__PURE__ */ C.jsxs("div", { className: "min-h-screen flex flex-col items-center p-2 md:p-4 fade-in", children: [ + Q ? /* @__PURE__ */ C.jsx(G, {}) : null, + /* @__PURE__ */ C.jsxs("div", { ref: t, className: `h-full w-full ${n.gamePageMaxWidth ? n.gamePageMaxWidth : "max-w-xl"} flex flex-col items-center grow`, children: [ + /* @__PURE__ */ C.jsxs("div", { className: "flex justify-between items-center relative w-full mb-1 justfy-self-start font-thin text-sm", children: [ + /* @__PURE__ */ C.jsxs("div", { children: [ + /* @__PURE__ */ C.jsxs("div", { className: "flex items-center cursor-pointer", onClick: () => { z(1), navigator.clipboard.writeText(`${window.location.protocol}//${window.location.host}/${b}`); }, children: [ - /* @__PURE__ */ T.jsx(Ks, { className: "mr-1" }), - /* @__PURE__ */ T.jsx("span", { className: "underline", children: `${window.location.protocol}//${window.location.host}/${b}` }) + /* @__PURE__ */ C.jsx(Qs, { className: "mr-1" }), + /* @__PURE__ */ C.jsx("span", { className: "underline", children: `${window.location.protocol}//${window.location.host}/${b}` }) ] }), - _ > 0 ? /* @__PURE__ */ T.jsxs("div", { className: "absolute mt-2 w-6/12 flex justify-center", children: [ - /* @__PURE__ */ T.jsx("div", { className: "absolute top-[-12px] w-6 overflow-hidden inline-block", children: /* @__PURE__ */ T.jsx("div", { className: " h-4 w-4 bg-zinc-600 rotate-45 transform origin-bottom-left" }) }), - /* @__PURE__ */ T.jsx("div", { className: "font-bold text-xs text-center bg-zinc-600 px-2 py-1", children: "copied!" }) + j > 0 ? /* @__PURE__ */ C.jsxs("div", { className: "absolute mt-2 w-6/12 flex justify-center", children: [ + /* @__PURE__ */ C.jsx("div", { className: "absolute top-[-12px] w-6 overflow-hidden inline-block", children: /* @__PURE__ */ C.jsx("div", { className: " h-4 w-4 bg-zinc-600 rotate-45 transform origin-bottom-left" }) }), + /* @__PURE__ */ C.jsx("div", { className: "font-bold text-xs text-center bg-zinc-600 px-2 py-1", children: "copied!" }) ] }) : null ] }), - /* @__PURE__ */ T.jsx("div", { className: "px-1", children: /* @__PURE__ */ T.jsx(Xs, { isConn: w }) }) + /* @__PURE__ */ C.jsx("div", { className: "px-1", children: /* @__PURE__ */ C.jsx(Zs, { isConn: w }) }) ] }), - /* @__PURE__ */ T.jsx("hr", { className: "w-full mb-2" }), - /* @__PURE__ */ T.jsxs("div", { className: "flex w-full justify-between items-center mb-4", children: [ - /* @__PURE__ */ T.jsx("div", { className: "flex", children: i && i.Teams ? i.Teams.map((H) => /* @__PURE__ */ T.jsx( + /* @__PURE__ */ C.jsx("hr", { className: "w-full mb-2" }), + /* @__PURE__ */ C.jsxs("div", { className: "flex w-full justify-between items-center mb-4", children: [ + /* @__PURE__ */ C.jsx("div", { className: "flex", children: i && i.Teams ? i.Teams.map((H) => /* @__PURE__ */ C.jsx( "div", { className: `text-xs flex items-center justify-center font-bold cursor-pointer mr-1 w-6 h-6 rounded-full border-4 border-${H}-500 ${A === H ? `bg-${A}-500 pointer-events-none` : ""}`, - onClick: () => C(H), + onClick: () => T(H), children: i && i.MoreData && i.MoreData.Points ? i.MoreData.Points[H] : "" }, H )) : null }), - /* @__PURE__ */ T.jsx("div", { className: `font-extrabold ${i && f && l && f[l.Name] && i.Winners.length === 0 ? `text-${i.Turn}-500` : "text-zinc-100"} ${i && l && f && f[l.Name] === i.Turn && i.Winners.length === 0 ? "animate-pulse" : ""}`, children: i && f && l && f[l.Name] ? i.Message : /* @__PURE__ */ T.jsxs("div", { className: "flex items-center animate-pulse", children: [ - /* @__PURE__ */ T.jsx(Vs, { className: "mr-1" }), - /* @__PURE__ */ T.jsx("div", { children: "select a team" }) + /* @__PURE__ */ C.jsx("div", { className: `font-extrabold ${i && f && l && f[l.Name] && i.Winners.length === 0 ? `text-${i.Turn}-500` : "text-zinc-100"} ${i && l && f && f[l.Name] === i.Turn && i.Winners.length === 0 ? "animate-pulse" : ""}`, children: i && f && l && f[l.Name] ? i.Message : /* @__PURE__ */ C.jsxs("div", { className: "flex items-center animate-pulse", children: [ + /* @__PURE__ */ C.jsx(Ys, { className: "mr-1" }), + /* @__PURE__ */ C.jsx("div", { children: "select a team" }) ] }) }) ] }), - /* @__PURE__ */ T.jsx("div", { className: "p-4 h-full w-full flex flex-col justify-center items-center grow", children: g }), - /* @__PURE__ */ T.jsx("hr", { className: "w-full mt-4 mb-2" }), - /* @__PURE__ */ T.jsxs("div", { className: "w-full flex justify-between items-center", children: [ - /* @__PURE__ */ T.jsx("div", { className: `leading-4 text-2xl font-black text-${n.color} cursor-pointer`, children: /* @__PURE__ */ T.jsxs("button", { onClick: () => { + /* @__PURE__ */ C.jsx("div", { className: "p-4 h-full w-full flex flex-col justify-center items-center grow", children: g }), + /* @__PURE__ */ C.jsx("hr", { className: "w-full mt-4 mb-2" }), + /* @__PURE__ */ C.jsxs("div", { className: "w-full flex justify-between items-center", children: [ + /* @__PURE__ */ C.jsx("div", { className: `leading-4 text-2xl font-black text-${n.color} cursor-pointer`, children: /* @__PURE__ */ C.jsxs("button", { onClick: () => { sessionStorage.setItem("gameID", ""), x("/"); }, children: [ - /* @__PURE__ */ T.jsx("span", { className: `font-['${n.font}']`, children: n.key }), - /* @__PURE__ */ T.jsx("span", { className: "ml-1 text-[0.5rem] md:text-xs text-zinc-100", children: i && i.MoreData && i.MoreData.Variant ? i.MoreData.Variant : "" }) + /* @__PURE__ */ C.jsx("span", { className: `font-['${n.font}']`, children: n.key }), + /* @__PURE__ */ C.jsx("span", { className: "ml-1 text-[0.5rem] md:text-xs text-zinc-100", children: i && i.MoreData && i.MoreData.Variant ? i.MoreData.Variant : "" }) ] }) }), - /* @__PURE__ */ T.jsxs("div", { className: "flex", children: [ - /* @__PURE__ */ T.jsx("button", { onClick: () => E(), title: "undo move", className: `p-2 ${i && f && l && i.Actions && i.Actions.length > 0 && i.Actions[i.Actions.length - 1].Team === f[l.Name] ? "bg-amber-500" : "bg-zinc-700 text-zinc-500 cursor-default"} mr-3 md:mr-2 rounded-full`, children: /* @__PURE__ */ T.jsx(Ys, {}) }), - /* @__PURE__ */ T.jsx("button", { onClick: () => Z(!0), title: "reset game", className: `p-2 ${i && i.Winners.length > 0 ? "bg-blue-500" : "bg-zinc-500"} mr-3 md:mr-2 rounded-full`, children: /* @__PURE__ */ T.jsx(Ws, {}) }), - /* @__PURE__ */ T.jsx("button", { onClick: () => { + /* @__PURE__ */ C.jsxs("div", { className: "flex", children: [ + /* @__PURE__ */ C.jsx("button", { onClick: () => E(), title: "undo move", className: `p-2 ${i && f && l && i.Actions && i.Actions.length > 0 && i.Actions[i.Actions.length - 1].Team === f[l.Name] ? "bg-amber-500" : "bg-zinc-700 text-zinc-500 cursor-default"} mr-3 md:mr-2 rounded-full`, children: /* @__PURE__ */ C.jsx(Js, {}) }), + /* @__PURE__ */ C.jsx("button", { onClick: () => Z(!0), title: "reset game", className: `p-2 ${i && i.Winners.length > 0 ? "bg-blue-500" : "bg-zinc-500"} mr-3 md:mr-2 rounded-full`, children: /* @__PURE__ */ C.jsx(Gs, {}) }), + /* @__PURE__ */ C.jsx("button", { onClick: () => { sessionStorage.setItem("gameID", b), x("/bugs"); - }, title: "find a bug?", className: "block md:hidden p-2 bg-zinc-500 mr-3 md:mr-2 rounded-full", children: /* @__PURE__ */ T.jsx(Gs, {}) }), - /* @__PURE__ */ T.jsx("button", { onClick: () => { + }, title: "find a bug?", className: "block md:hidden p-2 bg-zinc-500 mr-3 md:mr-2 rounded-full", children: /* @__PURE__ */ C.jsx(Ks, {}) }), + /* @__PURE__ */ C.jsx("button", { onClick: () => { sessionStorage.setItem("gameID", b), x("/bugs"); }, title: "find a bug?", className: "hidden md:block mr-3 md:mr-2 p-2 bg-zinc-500 italic text-xs font-bold", children: "find a bug?" }), - /* @__PURE__ */ T.jsx("button", { onClick: () => { + /* @__PURE__ */ C.jsx("button", { onClick: () => { sessionStorage.setItem("gameID", b), x("/rules"); - }, title: "game rules", className: "block md:hidden p-2 bg-blue-500 rounded-full", children: /* @__PURE__ */ T.jsx(Js, {}) }), - /* @__PURE__ */ T.jsx("button", { onClick: () => { + }, title: "game rules", className: "block md:hidden p-2 bg-blue-500 rounded-full", children: /* @__PURE__ */ C.jsx(Xs, {}) }), + /* @__PURE__ */ C.jsx("button", { onClick: () => { sessionStorage.setItem("gameID", b), x("/rules"); }, title: "game rules", className: "hidden md:block p-2 bg-blue-500 italic text-xs font-bold", children: "game rules" }) ] }) @@ -6332,7 +6342,7 @@ const vg = xa((e, t) => { ] }) ] }); }), gi = ["http", "https", "mailto", "tel"]; -function Qs(e) { +function eu(e) { const t = (e || "").trim(), n = t.charAt(0); if (n === "#" || n === "/") return t; @@ -6353,10 +6363,10 @@ function Qs(e) { * @author Feross Aboukhadijeh * @license MIT */ -var Zs = function(t) { +var tu = function(t) { return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t); }; -const Qo = /* @__PURE__ */ Ut(Zs); +const Qo = /* @__PURE__ */ Ut(tu); function zt(e) { return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? yi(e.position) : "start" in e || "end" in e ? yi(e) : "line" in e || "column" in e ? lr(e) : ""; } @@ -6414,8 +6424,8 @@ Ue.prototype.line = null; Ue.prototype.source = null; Ue.prototype.ruleId = null; Ue.prototype.position = null; -const We = { basename: eu, dirname: tu, extname: nu, join: ru, sep: "/" }; -function eu(e, t) { +const We = { basename: nu, dirname: ru, extname: iu, join: ou, sep: "/" }; +function nu(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); Vt(e); @@ -6444,7 +6454,7 @@ function eu(e, t) { l < 0 && (o = !0, l = i + 1), a > -1 && (e.charCodeAt(i) === t.charCodeAt(a--) ? a < 0 && (r = i) : (a = -1, r = l)); return n === r ? r = l : r < 0 && (r = e.length), e.slice(n, r); } -function tu(e) { +function ru(e) { if (Vt(e), e.length === 0) return "."; let t = -1, n = e.length, r; @@ -6458,7 +6468,7 @@ function tu(e) { r || (r = !0); return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t); } -function nu(e) { +function iu(e) { Vt(e); let t = e.length, n = -1, r = 0, i = -1, o = 0, l; for (; t--; ) { @@ -6476,19 +6486,19 @@ function nu(e) { o === 0 || // The (right-most) trimmed path component is exactly `..`. o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n); } -function ru(...e) { +function ou(...e) { let t = -1, n; for (; ++t < e.length; ) Vt(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); - return n === void 0 ? "." : iu(n); + return n === void 0 ? "." : lu(n); } -function iu(e) { +function lu(e) { Vt(e); const t = e.charCodeAt(0) === 47; - let n = ou(e, !t); + let n = au(e, !t); return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n; } -function ou(e, t) { +function au(e, t) { let n = "", r = 0, i = -1, o = 0, l = -1, a, s; for (; ++l <= e.length; ) { if (l < e.length) @@ -6527,8 +6537,8 @@ function Vt(e) { "Path must be a string. Received " + JSON.stringify(e) ); } -const lu = { cwd: au }; -function au() { +const su = { cwd: uu }; +function uu() { return "/"; } function ar(e) { @@ -6536,7 +6546,7 @@ function ar(e) { e.href && // @ts-expect-error: indexable. e.origin; } -function su(e) { +function cu(e) { if (typeof e == "string") e = new URL(e); else if (!ar(e)) { @@ -6549,9 +6559,9 @@ function su(e) { const t = new TypeError("The URL must be of scheme file"); throw t.code = "ERR_INVALID_URL_SCHEME", t; } - return uu(e); + return fu(e); } -function uu(e) { +function fu(e) { if (e.hostname !== "") { const r = new TypeError( 'File URL host must be "localhost" or empty on darwin' @@ -6572,7 +6582,7 @@ function uu(e) { } return decodeURIComponent(t); } -const _n = ["history", "path", "basename", "stem", "extname", "dirname"]; +const jn = ["history", "path", "basename", "stem", "extname", "dirname"]; class Zo { /** * Create a new virtual file. @@ -6598,15 +6608,15 @@ class Zo { */ constructor(t) { let n; - t ? typeof t == "string" || cu(t) ? n = { value: t } : ar(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = lu.cwd(), this.value, this.stored, this.result, this.map; + t ? typeof t == "string" || pu(t) ? n = { value: t } : ar(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = su.cwd(), this.value, this.stored, this.result, this.map; let r = -1; - for (; ++r < _n.length; ) { - const o = _n[r]; + for (; ++r < jn.length; ) { + const o = jn[r]; o in n && n[o] !== void 0 && n[o] !== null && (this[o] = o === "history" ? [...n[o]] : n[o]); } let i; for (i in n) - _n.includes(i) || (this[i] = n[i]); + jn.includes(i) || (this[i] = n[i]); } /** * Get the full path (example: `'~/index.min.js'`). @@ -6626,7 +6636,7 @@ class Zo { * @param {string | URL} path */ set path(t) { - ar(t) && (t = su(t)), Dn(t, "path"), this.path !== t && this.history.push(t); + ar(t) && (t = cu(t)), Dn(t, "path"), this.path !== t && this.history.push(t); } /** * Get the parent path (example: `'~'`). @@ -6656,7 +6666,7 @@ class Zo { * Cannot be nullified (use `file.path = file.dirname` instead). */ set basename(t) { - Dn(t, "basename"), jn(t, "basename"), this.path = We.join(this.dirname || "", t); + Dn(t, "basename"), _n(t, "basename"), this.path = We.join(this.dirname || "", t); } /** * Get the extname (including dot) (example: `'.js'`). @@ -6672,7 +6682,7 @@ class Zo { * Cannot be set if there’s no `path` yet. */ set extname(t) { - if (jn(t, "extname"), ki(this.dirname, "extname"), t) { + if (_n(t, "extname"), ki(this.dirname, "extname"), t) { if (t.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`"); if (t.includes(".", 1)) @@ -6694,7 +6704,7 @@ class Zo { * Cannot be nullified (use `file.path = file.dirname` instead). */ set stem(t) { - Dn(t, "stem"), jn(t, "stem"), this.path = We.join(this.dirname || "", t + (this.extname || "")); + Dn(t, "stem"), _n(t, "stem"), this.path = We.join(this.dirname || "", t + (this.extname || "")); } /** * Serialize the file. @@ -6773,7 +6783,7 @@ class Zo { throw i.fatal = !0, i; } } -function jn(e, t) { +function _n(e, t) { if (e && e.includes(We.sep)) throw new Error( "`" + t + "` cannot be a path: did not expect `" + We.sep + "`" @@ -6787,7 +6797,7 @@ function ki(e, t) { if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); } -function cu(e) { +function pu(e) { return Qo(e); } function xi(e) { @@ -6821,7 +6831,7 @@ var an = Object.prototype.hasOwnProperty, el = Object.prototype.toString, wi = O } else return; return t[n]; -}, fu = function e() { +}, hu = function e() { var t, n, r, i, o, l, a = arguments[0], s = 1, c = arguments.length, f = !1; for (typeof a == "boolean" && (f = a, a = arguments[1] || {}, s = 2), (a == null || typeof a != "object" && typeof a != "function") && (a = {}); s < c; ++s) if (t = arguments[s], t != null) @@ -6829,14 +6839,14 @@ var an = Object.prototype.hasOwnProperty, el = Object.prototype.toString, wi = O r = Ti(a, n), i = Ti(t, n), a !== i && (f && i && (Si(i) || (o = Ei(i))) ? (o ? (o = !1, l = r && Ei(r) ? r : []) : l = r && Si(r) ? r : {}, Ci(a, { name: n, newValue: e(f, l, i) })) : typeof i < "u" && Ci(a, { name: n, newValue: i })); return a; }; -const Ai = /* @__PURE__ */ Ut(fu); +const Ai = /* @__PURE__ */ Ut(hu); function sr(e) { if (typeof e != "object" || e === null) return !1; const t = Object.getPrototypeOf(e); return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); } -function pu() { +function du() { const e = [], t = { run: n, use: r }; return t; function n(...i) { @@ -6854,7 +6864,7 @@ function pu() { } for (; ++u < i.length; ) (c[u] === null || c[u] === void 0) && (c[u] = i[u]); - i = c, f ? hu(f, a)(...c) : l(null, ...c); + i = c, f ? mu(f, a)(...c) : l(null, ...c); } } function r(i) { @@ -6865,7 +6875,7 @@ function pu() { return e.push(i), t; } } -function hu(e, t) { +function mu(e, t) { let n; return r; function r(...l) { @@ -6892,9 +6902,9 @@ function hu(e, t) { i(null, l); } } -const du = nl().freeze(), tl = {}.hasOwnProperty; +const gu = nl().freeze(), tl = {}.hasOwnProperty; function nl() { - const e = pu(), t = []; + const e = du(), t = []; let n = {}, r, i = -1; return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = s, o.parse = c, o.stringify = f, o.run = u, o.runSync = d, o.process = p, o.processSync = m, o; function o() { @@ -6926,7 +6936,7 @@ function nl() { if (typeof g == "function") E(g, ...b); else if (typeof g == "object") - Array.isArray(g) ? j(g) : C(g); + Array.isArray(g) ? _(g) : T(g); else throw new TypeError("Expected usable value, not `" + g + "`"); return x && (n.settings = Object.assign(n.settings || {}, x)), o; @@ -6938,14 +6948,14 @@ function nl() { const [N, ...U] = w; E(N, ...U); } else - C(w); + T(w); else throw new TypeError("Expected usable value, not `" + w + "`"); } - function C(w) { - j(w.plugins), w.settings && (x = Object.assign(x || {}, w.settings)); + function T(w) { + _(w.plugins), w.settings && (x = Object.assign(x || {}, w.settings)); } - function j(w) { + function _(w) { let N = -1; if (w != null) if (Array.isArray(w)) @@ -6968,58 +6978,58 @@ function nl() { } function c(g) { o.freeze(); - const b = jt(g), x = o.Parser; + const b = _t(g), x = o.Parser; return zn("parse", x), Pi(x, "parse") ? new x(String(b), b).parse() : x(String(b), b); } function f(g, b) { o.freeze(); - const x = jt(b), A = o.Compiler; + const x = _t(b), A = o.Compiler; return Ln("stringify", A), Ri(g), Pi(A, "compile") ? new A(g, x).compile() : A(g, x); } function u(g, b, x) { if (Ri(g), o.freeze(), !x && typeof b == "function" && (x = b, b = void 0), !x) return new Promise(A); A(null, x); - function A(C, j) { - e.run(g, jt(b), E); + function A(T, _) { + e.run(g, _t(b), E); function E(w, N, U) { - N = N || g, w ? j(w) : C ? C(N) : x(null, N, U); + N = N || g, w ? _(w) : T ? T(N) : x(null, N, U); } } } function d(g, b) { let x, A; - return o.run(g, b, C), Oi("runSync", "run", A), x; - function C(j, E) { - xi(j), x = E, A = !0; + return o.run(g, b, T), Oi("runSync", "run", A), x; + function T(_, E) { + xi(_), x = E, A = !0; } } function p(g, b) { if (o.freeze(), zn("process", o.Parser), Ln("process", o.Compiler), !b) return new Promise(x); x(null, b); - function x(A, C) { - const j = jt(g); - o.run(o.parse(j), j, (w, N, U) => { + function x(A, T) { + const _ = _t(g); + o.run(o.parse(_), _, (w, N, U) => { if (w || !N || !U) E(w); else { const te = o.stringify(N, U); - te == null || (yu(te) ? U.value = te : U.result = te), E(w, U); + te == null || (ku(te) ? U.value = te : U.result = te), E(w, U); } }); function E(w, N) { - w || !N ? C(w) : A ? A(N) : b(null, N); + w || !N ? T(w) : A ? A(N) : b(null, N); } } } function m(g) { let b; o.freeze(), zn("processSync", o.Parser), Ln("processSync", o.Compiler); - const x = jt(g); + const x = _t(g); return o.process(x, A), Oi("processSync", "process", b), x; - function A(C) { - b = !0, xi(C); + function A(T) { + b = !0, xi(T); } } } @@ -7030,9 +7040,9 @@ function Pi(e, t) { // Classes’ prototype methods are not enumerable, so we check if some value // exists in the prototype. // type-coverage:ignore-next-line - (mu(e.prototype) || t in e.prototype); + (yu(e.prototype) || t in e.prototype); } -function mu(e) { +function yu(e) { let t; for (t in e) if (tl.call(e, t)) @@ -7063,22 +7073,22 @@ function Oi(e, t, n) { "`" + e + "` finished async. Use `" + t + "` instead" ); } -function jt(e) { - return gu(e) ? e : new Zo(e); +function _t(e) { + return bu(e) ? e : new Zo(e); } -function gu(e) { +function bu(e) { return !!(e && typeof e == "object" && "message" in e && "messages" in e); } -function yu(e) { +function ku(e) { return typeof e == "string" || Qo(e); } -const bu = {}; -function ku(e, t) { - const n = t || bu, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; +const xu = {}; +function wu(e, t) { + const n = t || xu, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; return rl(e, r, i); } function rl(e, t, n) { - if (xu(e)) { + if (vu(e)) { if ("value" in e) return e.type === "html" && !n ? "" : e.value; if (t && "alt" in e && e.alt) @@ -7095,7 +7105,7 @@ function Fi(e, t, n) { r[i] = rl(e[i], t, n); return r.join(""); } -function xu(e) { +function vu(e) { return !!(e && typeof e == "object"); } function Je(e, t, n, r) { @@ -7107,18 +7117,18 @@ function Je(e, t, n, r) { for (n && e.splice(t, n); o < r.length; ) l = r.slice(o, o + 1e4), l.unshift(t, 0), e.splice(...l), o += 1e4, t += 1e4; } -function $e(e, t) { +function Me(e, t) { return e.length > 0 ? (Je(e, e.length, 0, t), e) : t; } const Ii = {}.hasOwnProperty; -function wu(e) { +function Eu(e) { const t = {}; let n = -1; for (; ++n < e.length; ) - vu(t, e[n]); + Su(t, e[n]); return t; } -function vu(e, t) { +function Su(e, t) { let n; for (n in t) { const i = (Ii.call(e, n) ? e[n] : void 0) || (e[n] = {}), o = t[n]; @@ -7127,7 +7137,7 @@ function vu(e, t) { for (l in o) { Ii.call(i, l) || (i[l] = []); const a = o[l]; - Eu( + Cu( // @ts-expect-error Looks like a list. i[l], Array.isArray(a) ? a : a ? [a] : [] @@ -7135,14 +7145,14 @@ function vu(e, t) { } } } -function Eu(e, t) { +function Cu(e, t) { let n = -1; const r = []; for (; ++n < t.length; ) (t[n].add === "after" ? e : r).push(t[n]); Je(e, 0, 0, r); } -const Su = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, Ye = ot(/[A-Za-z]/), Le = ot(/[\dA-Za-z]/), Cu = ot(/[#-'*+\--9=?A-Z^-~]/); +const Tu = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, Ye = ot(/[A-Za-z]/), Le = ot(/[\dA-Za-z]/), Au = ot(/[#-'*+\--9=?A-Z^-~]/); function ur(e) { return ( // Special whitespace codes (which have negative values), C0 and Control @@ -7150,7 +7160,7 @@ function ur(e) { e !== null && (e < 32 || e === 127) ); } -const cr = ot(/\d/), Tu = ot(/[\dA-Fa-f]/), Au = ot(/[!-/:-@[-`{-~]/); +const cr = ot(/\d/), Pu = ot(/[\dA-Fa-f]/), Ru = ot(/[!-/:-@[-`{-~]/); function J(e) { return e !== null && e < -2; } @@ -7160,7 +7170,7 @@ function Ie(e) { function he(e) { return e === -2 || e === -1 || e === 32; } -const Pu = ot(Su), Ru = ot(/\s/); +const Ou = ot(Tu), Fu = ot(/\s/); function ot(e) { return t; function t(n) { @@ -7178,10 +7188,10 @@ function xe(e, t, n, r) { return he(s) && o++ < i ? (e.consume(s), a) : (e.exit(n), t(s)); } } -const Ou = { - tokenize: Fu +const Iu = { + tokenize: ju }; -function Fu(e) { +function ju(e) { const t = e.attempt( this.parser.constructs.contentInitial, r, @@ -7214,100 +7224,100 @@ function Fu(e) { return J(a) ? (e.consume(a), e.exit("chunkText"), o) : (e.consume(a), l); } } -const Iu = { - tokenize: _u -}, _i = { - tokenize: ju +const _u = { + tokenize: Du +}, ji = { + tokenize: zu }; -function _u(e) { +function Du(e) { const t = this, n = []; let r = 0, i, o, l; return a; - function a(C) { + function a(T) { if (r < n.length) { - const j = n[r]; - return t.containerState = j[1], e.attempt( - j[0].continuation, + const _ = n[r]; + return t.containerState = _[1], e.attempt( + _[0].continuation, s, c - )(C); + )(T); } - return c(C); + return c(T); } - function s(C) { + function s(T) { if (r++, t.containerState._closeFlow) { t.containerState._closeFlow = void 0, i && A(); - const j = t.events.length; - let E = j, w; + const _ = t.events.length; + let E = _, w; for (; E--; ) if (t.events[E][0] === "exit" && t.events[E][1].type === "chunkFlow") { w = t.events[E][1].end; break; } x(r); - let N = j; + let N = _; for (; N < t.events.length; ) t.events[N][1].end = Object.assign({}, w), N++; return Je( t.events, E + 1, 0, - t.events.slice(j) - ), t.events.length = N, c(C); + t.events.slice(_) + ), t.events.length = N, c(T); } - return a(C); + return a(T); } - function c(C) { + function c(T) { if (r === n.length) { if (!i) - return d(C); + return d(T); if (i.currentConstruct && i.currentConstruct.concrete) - return m(C); + return m(T); t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack); } return t.containerState = {}, e.check( - _i, + ji, f, u - )(C); + )(T); } - function f(C) { - return i && A(), x(r), d(C); + function f(T) { + return i && A(), x(r), d(T); } - function u(C) { - return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, m(C); + function u(T) { + return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, m(T); } - function d(C) { + function d(T) { return t.containerState = {}, e.attempt( - _i, + ji, p, m - )(C); + )(T); } - function p(C) { - return r++, n.push([t.currentConstruct, t.containerState]), d(C); + function p(T) { + return r++, n.push([t.currentConstruct, t.containerState]), d(T); } - function m(C) { - if (C === null) { - i && A(), x(0), e.consume(C); + function m(T) { + if (T === null) { + i && A(), x(0), e.consume(T); return; } return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", { contentType: "flow", previous: o, _tokenizer: i - }), g(C); + }), g(T); } - function g(C) { - if (C === null) { - b(e.exit("chunkFlow"), !0), x(0), e.consume(C); + function g(T) { + if (T === null) { + b(e.exit("chunkFlow"), !0), x(0), e.consume(T); return; } - return J(C) ? (e.consume(C), b(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(C), g); + return J(T) ? (e.consume(T), b(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(T), g); } - function b(C, j) { - const E = t.sliceStream(C); - if (j && E.push(null), C.previous = o, o && (o.next = C), o = C, i.defineSkip(C.start), i.write(E), t.parser.lazy[C.start.line]) { + function b(T, _) { + const E = t.sliceStream(T); + if (_ && E.push(null), T.previous = o, o && (o.next = T), o = T, i.defineSkip(T.start), i.write(E), t.parser.lazy[T.start.line]) { let w = i.events.length; for (; w--; ) if ( @@ -7337,19 +7347,19 @@ function _u(e) { ), t.events.length = w; } } - function x(C) { - let j = n.length; - for (; j-- > C; ) { - const E = n[j]; + function x(T) { + let _ = n.length; + for (; _-- > T; ) { + const E = n[_]; t.containerState = E[1], E[0].exit.call(t, e); } - n.length = C; + n.length = T; } function A() { i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0; } } -function ju(e, t, n) { +function zu(e, t, n) { return xe( e, e.attempt(this.parser.constructs.document, t, n), @@ -7357,10 +7367,10 @@ function ju(e, t, n) { this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 ); } -function ji(e) { - if (e === null || Ie(e) || Ru(e)) +function _i(e) { + if (e === null || Ie(e) || Fu(e)) return 1; - if (Pu(e)) + if (Ou(e)) return 2; } function Ar(e, t, n) { @@ -7374,10 +7384,10 @@ function Ar(e, t, n) { } const fr = { name: "attention", - tokenize: zu, - resolveAll: Du + tokenize: Nu, + resolveAll: Lu }; -function Du(e, t) { +function Lu(e, t) { let n = -1, r, i, o, l, a, s, c, f; for (; ++n < e.length; ) if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) { @@ -7404,27 +7414,27 @@ function Du(e, t) { type: s > 1 ? "strong" : "emphasis", start: Object.assign({}, l.start), end: Object.assign({}, a.end) - }, e[r][1].end = Object.assign({}, l.start), e[n][1].start = Object.assign({}, a.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c = $e(c, [ + }, e[r][1].end = Object.assign({}, l.start), e[n][1].start = Object.assign({}, a.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c = Me(c, [ ["enter", e[r][1], t], ["exit", e[r][1], t] - ])), c = $e(c, [ + ])), c = Me(c, [ ["enter", i, t], ["enter", l, t], ["exit", l, t], ["enter", o, t] - ]), c = $e( + ]), c = Me( c, Ar( t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t ) - ), c = $e(c, [ + ), c = Me(c, [ ["exit", o, t], ["enter", a, t], ["exit", a, t], ["exit", i, t] - ]), e[n][1].end.offset - e[n][1].start.offset ? (f = 2, c = $e(c, [ + ]), e[n][1].end.offset - e[n][1].start.offset ? (f = 2, c = Me(c, [ ["enter", e[n][1], t], ["exit", e[n][1], t] ])) : f = 0, Je(e, r - 1, n - r + 3, c), n = r + c.length - f - 2; @@ -7435,8 +7445,8 @@ function Du(e, t) { e[n][1].type === "attentionSequence" && (e[n][1].type = "data"); return e; } -function zu(e, t) { - const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = ji(r); +function Nu(e, t) { + const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = _i(r); let o; return l; function l(s) { @@ -7445,18 +7455,18 @@ function zu(e, t) { function a(s) { if (s === o) return e.consume(s), a; - const c = e.exit("attentionSequence"), f = ji(s), u = !f || f === 2 && i || n.includes(s), d = !i || i === 2 && f || n.includes(r); + const c = e.exit("attentionSequence"), f = _i(s), u = !f || f === 2 && i || n.includes(s), d = !i || i === 2 && f || n.includes(r); return c._open = !!(o === 42 ? u : u && (i || !d)), c._close = !!(o === 42 ? d : d && (f || !u)), t(s); } } function Di(e, t) { e.column += t, e.offset += t, e._bufferIndex += t; } -const Lu = { +const $u = { name: "autolink", - tokenize: Nu + tokenize: Mu }; -function Nu(e, t, n) { +function Mu(e, t, n) { let r = 0; return i; function i(p) { @@ -7475,7 +7485,7 @@ function Nu(e, t, n) { return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || ur(p) ? n(p) : (e.consume(p), s); } function c(p) { - return p === 64 ? (e.consume(p), f) : Cu(p) ? (e.consume(p), c) : n(p); + return p === 64 ? (e.consume(p), f) : Au(p) ? (e.consume(p), c) : n(p); } function f(p) { return Le(p) ? u(p) : n(p); @@ -7492,10 +7502,10 @@ function Nu(e, t, n) { } } const kn = { - tokenize: Mu, + tokenize: Bu, partial: !0 }; -function Mu(e, t, n) { +function Bu(e, t, n) { return r; function r(o) { return he(o) ? xe(e, i, "linePrefix")(o) : i(o); @@ -7506,13 +7516,13 @@ function Mu(e, t, n) { } const il = { name: "blockQuote", - tokenize: $u, + tokenize: Uu, continuation: { - tokenize: Bu + tokenize: qu }, - exit: Uu + exit: Hu }; -function $u(e, t, n) { +function Uu(e, t, n) { const r = this; return i; function i(l) { @@ -7528,7 +7538,7 @@ function $u(e, t, n) { return he(l) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(l), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(l)); } } -function Bu(e, t, n) { +function qu(e, t, n) { const r = this; return i; function i(l) { @@ -7543,20 +7553,20 @@ function Bu(e, t, n) { return e.attempt(il, t, n)(l); } } -function Uu(e) { +function Hu(e) { e.exit("blockQuote"); } const ol = { name: "characterEscape", - tokenize: qu + tokenize: Vu }; -function qu(e, t, n) { +function Vu(e, t, n) { return r; function r(o) { return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(o), e.exit("escapeMarker"), i; } function i(o) { - return Au(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(o); + return Ru(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(o); } } const zi = document.createElement("i"); @@ -7568,9 +7578,9 @@ function Pr(e) { } const ll = { name: "characterReference", - tokenize: Hu + tokenize: Wu }; -function Hu(e, t, n) { +function Wu(e, t, n) { const r = this; let i = 0, o, l; return a; @@ -7581,7 +7591,7 @@ function Hu(e, t, n) { return u === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(u), e.exit("characterReferenceMarkerNumeric"), c) : (e.enter("characterReferenceValue"), o = 31, l = Le, f(u)); } function c(u) { - return u === 88 || u === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(u), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = Tu, f) : (e.enter("characterReferenceValue"), o = 7, l = cr, f(u)); + return u === 88 || u === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(u), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = Pu, f) : (e.enter("characterReferenceValue"), o = 7, l = cr, f(u)); } function f(u) { if (u === 59 && i) { @@ -7592,14 +7602,14 @@ function Hu(e, t, n) { } } const Li = { - tokenize: Wu, + tokenize: Gu, partial: !0 }, Ni = { name: "codeFenced", - tokenize: Vu, + tokenize: Yu, concrete: !0 }; -function Vu(e, t, n) { +function Yu(e, t, n) { const r = this, i = { tokenize: E, partial: !0 @@ -7617,7 +7627,7 @@ function Vu(e, t, n) { return w === a ? (l++, e.consume(w), f) : l < 3 ? n(w) : (e.exit("codeFencedFenceSequence"), he(w) ? xe(e, u, "whitespace")(w) : u(w)); } function u(w) { - return w === null || J(w) ? (e.exit("codeFencedFence"), r.interrupt ? t(w) : e.check(Li, g, j)(w)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { + return w === null || J(w) ? (e.exit("codeFencedFence"), r.interrupt ? t(w) : e.check(Li, g, _)(w)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" }), d(w)); } @@ -7633,7 +7643,7 @@ function Vu(e, t, n) { return w === null || J(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), u(w)) : w === 96 && w === a ? n(w) : (e.consume(w), m); } function g(w) { - return e.attempt(i, j, b)(w); + return e.attempt(i, _, b)(w); } function b(w) { return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), x; @@ -7647,21 +7657,21 @@ function Vu(e, t, n) { )(w) : A(w); } function A(w) { - return w === null || J(w) ? e.check(Li, g, j)(w) : (e.enter("codeFlowValue"), C(w)); + return w === null || J(w) ? e.check(Li, g, _)(w) : (e.enter("codeFlowValue"), T(w)); } - function C(w) { - return w === null || J(w) ? (e.exit("codeFlowValue"), A(w)) : (e.consume(w), C); + function T(w) { + return w === null || J(w) ? (e.exit("codeFlowValue"), A(w)) : (e.consume(w), T); } - function j(w) { + function _(w) { return e.exit("codeFenced"), t(w); } function E(w, N, U) { let te = 0; return v; function v(G) { - return w.enter("lineEnding"), w.consume(G), w.exit("lineEnding"), _; + return w.enter("lineEnding"), w.consume(G), w.exit("lineEnding"), j; } - function _(G) { + function j(G) { return w.enter("codeFencedFence"), he(G) ? xe( w, z, @@ -7680,7 +7690,7 @@ function Vu(e, t, n) { } } } -function Wu(e, t, n) { +function Gu(e, t, n) { const r = this; return i; function i(l) { @@ -7690,14 +7700,14 @@ function Wu(e, t, n) { return r.parser.lazy[r.now().line] ? n(l) : t(l); } } -const Mn = { +const $n = { name: "codeIndented", - tokenize: Gu -}, Yu = { - tokenize: Ju, + tokenize: Ku +}, Ju = { + tokenize: Xu, partial: !0 }; -function Gu(e, t, n) { +function Ku(e, t, n) { const r = this; return i; function i(c) { @@ -7708,7 +7718,7 @@ function Gu(e, t, n) { return f && f[1].type === "linePrefix" && f[2].sliceSerialize(f[1], !0).length >= 4 ? l(c) : n(c); } function l(c) { - return c === null ? s(c) : J(c) ? e.attempt(Yu, l, s)(c) : (e.enter("codeFlowValue"), a(c)); + return c === null ? s(c) : J(c) ? e.attempt(Ju, l, s)(c) : (e.enter("codeFlowValue"), a(c)); } function a(c) { return c === null || J(c) ? (e.exit("codeFlowValue"), l(c)) : (e.consume(c), a); @@ -7717,7 +7727,7 @@ function Gu(e, t, n) { return e.exit("codeIndented"), t(c); } } -function Ju(e, t, n) { +function Xu(e, t, n) { const r = this; return i; function i(l) { @@ -7728,13 +7738,13 @@ function Ju(e, t, n) { return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(l) : J(l) ? i(l) : n(l); } } -const Ku = { +const Qu = { name: "codeText", - tokenize: Zu, - resolve: Xu, - previous: Qu + tokenize: tc, + resolve: Zu, + previous: ec }; -function Xu(e) { +function Zu(e) { let t = e.length - 4, n = 3, r, i; if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) { for (r = n; ++r < t; ) @@ -7747,10 +7757,10 @@ function Xu(e) { i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0); return e; } -function Qu(e) { +function ec(e) { return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape"; } -function Zu(e, t, n) { +function tc(e, t, n) { let r = 0, i, o; return l; function l(u) { @@ -7779,7 +7789,7 @@ function al(e) { for (; ++o < s.length && s[o][1].type !== "content"; ) s[o][1].type === "chunkText" && (s[o][1]._isInFirstContentOfListItem = !0, o++); if (r[0] === "enter") - r[1].contentType && (Object.assign(t, ec(e, n)), n = t[n], c = !0); + r[1].contentType && (Object.assign(t, nc(e, n)), n = t[n], c = !0); else if (r[1]._container) { for (o = n, i = void 0; o-- && (l = e[o], l[1].type === "lineEnding" || l[1].type === "lineEndingBlank"); ) l[0] === "enter" && (i && (e[i][1].type = "lineEndingBlank"), l[1].type = "lineEnding", i = o); @@ -7788,7 +7798,7 @@ function al(e) { } return !c; } -function ec(e, t) { +function nc(e, t) { const n = e[t][1], r = e[t][2]; let i = t - 1; const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), a = l.events, s = [], c = {}; @@ -7810,17 +7820,17 @@ function ec(e, t) { c[m + s[d][0]] = m + s[d][1], m += s[d][1] - s[d][0] - 1; return c; } -const tc = { - tokenize: ic, - resolve: rc -}, nc = { - tokenize: oc, +const rc = { + tokenize: lc, + resolve: oc +}, ic = { + tokenize: ac, partial: !0 }; -function rc(e) { +function oc(e) { return al(e), e; } -function ic(e, t) { +function lc(e, t) { let n; return r; function r(a) { @@ -7830,7 +7840,7 @@ function ic(e, t) { } function i(a) { return a === null ? o(a) : J(a) ? e.check( - nc, + ic, l, o )(a) : (e.consume(a), i); @@ -7845,7 +7855,7 @@ function ic(e, t) { }), n = n.next, i; } } -function oc(e, t, n) { +function ac(e, t, n) { const r = this; return i; function i(l) { @@ -7944,14 +7954,14 @@ function Lt(e, t) { function kt(e) { return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); } -const lc = { +const sc = { name: "definition", - tokenize: sc -}, ac = { - tokenize: uc, + tokenize: cc +}, uc = { + tokenize: fc, partial: !0 }; -function sc(e, t, n) { +function cc(e, t, n) { const r = this; let i; return o; @@ -7992,7 +8002,7 @@ function sc(e, t, n) { )(p); } function f(p) { - return e.attempt(ac, u, u)(p); + return e.attempt(uc, u, u)(p); } function u(p) { return he(p) ? xe(e, d, "whitespace")(p) : d(p); @@ -8001,7 +8011,7 @@ function sc(e, t, n) { return p === null || J(p) ? (e.exit("definition"), r.parser.defined.push(i), t(p)) : n(p); } } -function uc(e, t, n) { +function fc(e, t, n) { return r; function r(a) { return Ie(a) ? Lt(e, i)(a) : n(a); @@ -8023,11 +8033,11 @@ function uc(e, t, n) { return a === null || J(a) ? t(a) : n(a); } } -const cc = { +const pc = { name: "hardBreakEscape", - tokenize: fc + tokenize: hc }; -function fc(e, t, n) { +function hc(e, t, n) { return r; function r(o) { return e.enter("hardBreakEscape"), e.consume(o), i; @@ -8036,12 +8046,12 @@ function fc(e, t, n) { return J(o) ? (e.exit("hardBreakEscape"), t(o)) : n(o); } } -const pc = { +const dc = { name: "headingAtx", - tokenize: dc, - resolve: hc + tokenize: gc, + resolve: mc }; -function hc(e, t) { +function mc(e, t) { let n = e.length - 2, r = 3, i, o; return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (i = { type: "atxHeadingText", @@ -8059,7 +8069,7 @@ function hc(e, t) { ["exit", i, t] ])), e; } -function dc(e, t, n) { +function gc(e, t, n) { let r = 0; return i; function i(f) { @@ -8081,7 +8091,7 @@ function dc(e, t, n) { return f === null || f === 35 || Ie(f) ? (e.exit("atxHeadingText"), a(f)) : (e.consume(f), c); } } -const mc = [ +const yc = [ "address", "article", "aside", @@ -8144,25 +8154,25 @@ const mc = [ "tr", "track", "ul" -], Mi = ["pre", "script", "style", "textarea"], gc = { +], $i = ["pre", "script", "style", "textarea"], bc = { name: "htmlFlow", - tokenize: xc, - resolveTo: kc, - concrete: !0 -}, yc = { tokenize: vc, + resolveTo: wc, + concrete: !0 +}, kc = { + tokenize: Sc, partial: !0 -}, bc = { - tokenize: wc, +}, xc = { + tokenize: Ec, partial: !0 }; -function kc(e) { +function wc(e) { let t = e.length; for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ) ; return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e; } -function xc(e, t, n) { +function vc(e, t, n) { const r = this; let i, o, l, a, s; return c; @@ -8191,7 +8201,7 @@ function xc(e, t, n) { function b(y) { if (y === null || y === 47 || y === 62 || Ie(y)) { const B = y === 47, ne = l.toLowerCase(); - return !B && !o && Mi.includes(ne) ? (i = 1, r.interrupt ? t(y) : z(y)) : mc.includes(l.toLowerCase()) ? (i = 6, B ? (e.consume(y), x) : r.interrupt ? t(y) : z(y)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(y) : o ? A(y) : C(y)); + return !B && !o && $i.includes(ne) ? (i = 1, r.interrupt ? t(y) : z(y)) : yc.includes(l.toLowerCase()) ? (i = 6, B ? (e.consume(y), x) : r.interrupt ? t(y) : z(y)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(y) : o ? A(y) : T(y)); } return y === 45 || Le(y) ? (e.consume(y), l += String.fromCharCode(y), b) : n(y); } @@ -8201,14 +8211,14 @@ function xc(e, t, n) { function A(y) { return he(y) ? (e.consume(y), A) : v(y); } - function C(y) { - return y === 47 ? (e.consume(y), v) : y === 58 || y === 95 || Ye(y) ? (e.consume(y), j) : he(y) ? (e.consume(y), C) : v(y); + function T(y) { + return y === 47 ? (e.consume(y), v) : y === 58 || y === 95 || Ye(y) ? (e.consume(y), _) : he(y) ? (e.consume(y), T) : v(y); } - function j(y) { - return y === 45 || y === 46 || y === 58 || y === 95 || Le(y) ? (e.consume(y), j) : E(y); + function _(y) { + return y === 45 || y === 46 || y === 58 || y === 95 || Le(y) ? (e.consume(y), _) : E(y); } function E(y) { - return y === 61 ? (e.consume(y), w) : he(y) ? (e.consume(y), E) : C(y); + return y === 61 ? (e.consume(y), w) : he(y) ? (e.consume(y), E) : T(y); } function w(y) { return y === null || y === 60 || y === 61 || y === 62 || y === 96 ? n(y) : y === 34 || y === 39 ? (e.consume(y), s = y, N) : he(y) ? (e.consume(y), w) : U(y); @@ -8220,24 +8230,24 @@ function xc(e, t, n) { return y === null || y === 34 || y === 39 || y === 47 || y === 60 || y === 61 || y === 62 || y === 96 || Ie(y) ? E(y) : (e.consume(y), U); } function te(y) { - return y === 47 || y === 62 || he(y) ? C(y) : n(y); + return y === 47 || y === 62 || he(y) ? T(y) : n(y); } function v(y) { - return y === 62 ? (e.consume(y), _) : n(y); + return y === 62 ? (e.consume(y), j) : n(y); } - function _(y) { - return y === null || J(y) ? z(y) : he(y) ? (e.consume(y), _) : n(y); + function j(y) { + return y === null || J(y) ? z(y) : he(y) ? (e.consume(y), j) : n(y); } function z(y) { return y === 45 && i === 2 ? (e.consume(y), oe) : y === 60 && i === 1 ? (e.consume(y), H) : y === 62 && i === 4 ? (e.consume(y), F) : y === 63 && i === 3 ? (e.consume(y), h) : y === 93 && i === 5 ? (e.consume(y), we) : J(y) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check( - yc, + kc, q, Q )(y)) : y === null || J(y) ? (e.exit("htmlFlowData"), Q(y)) : (e.consume(y), z); } function Q(y) { return e.check( - bc, + xc, Z, q )(y); @@ -8257,7 +8267,7 @@ function xc(e, t, n) { function ue(y) { if (y === 62) { const B = l.toLowerCase(); - return Mi.includes(B) ? (e.consume(y), F) : z(y); + return $i.includes(B) ? (e.consume(y), F) : z(y); } return Ye(y) && l.length < 8 ? (e.consume(y), l += String.fromCharCode(y), ue) : z(y); } @@ -8274,7 +8284,7 @@ function xc(e, t, n) { return e.exit("htmlFlow"), t(y); } } -function wc(e, t, n) { +function Ec(e, t, n) { const r = this; return i; function i(l) { @@ -8284,17 +8294,17 @@ function wc(e, t, n) { return r.parser.lazy[r.now().line] ? n(l) : t(l); } } -function vc(e, t, n) { +function Sc(e, t, n) { return r; function r(i) { return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(kn, t, n); } } -const Ec = { +const Cc = { name: "htmlText", - tokenize: Sc + tokenize: Tc }; -function Sc(e, t, n) { +function Tc(e, t, n) { const r = this; let i, o, l; return a; @@ -8302,7 +8312,7 @@ function Sc(e, t, n) { return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(h), s; } function s(h) { - return h === 33 ? (e.consume(h), c) : h === 47 ? (e.consume(h), E) : h === 63 ? (e.consume(h), C) : Ye(h) ? (e.consume(h), U) : n(h); + return h === 33 ? (e.consume(h), c) : h === 47 ? (e.consume(h), E) : h === 63 ? (e.consume(h), T) : Ye(h) ? (e.consume(h), U) : n(h); } function c(h) { return h === 45 ? (e.consume(h), f) : h === 91 ? (e.consume(h), o = 0, m) : Ye(h) ? (e.consume(h), A) : n(h); @@ -8335,11 +8345,11 @@ function Sc(e, t, n) { function A(h) { return h === null || h === 62 ? oe(h) : J(h) ? (l = A, H(h)) : (e.consume(h), A); } - function C(h) { - return h === null ? n(h) : h === 63 ? (e.consume(h), j) : J(h) ? (l = C, H(h)) : (e.consume(h), C); + function T(h) { + return h === null ? n(h) : h === 63 ? (e.consume(h), _) : J(h) ? (l = T, H(h)) : (e.consume(h), T); } - function j(h) { - return h === 62 ? oe(h) : C(h); + function _(h) { + return h === 62 ? oe(h) : T(h); } function E(h) { return Ye(h) ? (e.consume(h), w) : n(h); @@ -8357,10 +8367,10 @@ function Sc(e, t, n) { return h === 47 ? (e.consume(h), oe) : h === 58 || h === 95 || Ye(h) ? (e.consume(h), v) : J(h) ? (l = te, H(h)) : he(h) ? (e.consume(h), te) : oe(h); } function v(h) { - return h === 45 || h === 46 || h === 58 || h === 95 || Le(h) ? (e.consume(h), v) : _(h); + return h === 45 || h === 46 || h === 58 || h === 95 || Le(h) ? (e.consume(h), v) : j(h); } - function _(h) { - return h === 61 ? (e.consume(h), z) : J(h) ? (l = _, H(h)) : he(h) ? (e.consume(h), _) : te(h); + function j(h) { + return h === 61 ? (e.consume(h), z) : J(h) ? (l = j, H(h)) : he(h) ? (e.consume(h), j) : te(h); } function z(h) { return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), i = h, Q) : J(h) ? (l = z, H(h)) : he(h) ? (e.consume(h), z) : (e.consume(h), Z); @@ -8394,17 +8404,17 @@ function Sc(e, t, n) { } const Rr = { name: "labelEnd", - tokenize: Oc, - resolveTo: Rc, - resolveAll: Pc -}, Cc = { - tokenize: Fc -}, Tc = { - tokenize: Ic + tokenize: Ic, + resolveTo: Fc, + resolveAll: Oc }, Ac = { + tokenize: jc +}, Pc = { tokenize: _c +}, Rc = { + tokenize: Dc }; -function Pc(e) { +function Oc(e) { let t = -1; for (; ++t < e.length; ) { const n = e[t][1]; @@ -8412,7 +8422,7 @@ function Pc(e) { } return e; } -function Rc(e, t) { +function Fc(e, t) { let n = e.length, r = 0, i, o, l, a; for (; n--; ) if (i = e[n][1], o) { @@ -8442,21 +8452,21 @@ function Rc(e, t) { return a = [ ["enter", s, t], ["enter", c, t] - ], a = $e(a, e.slice(o + 1, o + r + 3)), a = $e(a, [["enter", f, t]]), a = $e( + ], a = Me(a, e.slice(o + 1, o + r + 3)), a = Me(a, [["enter", f, t]]), a = Me( a, Ar( t.parser.constructs.insideSpan.null, e.slice(o + r + 4, l - 3), t ) - ), a = $e(a, [ + ), a = Me(a, [ ["exit", f, t], e[l - 2], e[l - 1], ["exit", c, t] - ]), a = $e(a, e.slice(l + 1)), a = $e(a, [["exit", s, t]]), Je(e, o, e.length, a), e; + ]), a = Me(a, e.slice(l + 1)), a = Me(a, [["exit", s, t]]), Je(e, o, e.length, a), e; } -function Oc(e, t, n) { +function Ic(e, t, n) { const r = this; let i = r.events.length, o, l; for (; i--; ) @@ -8477,18 +8487,18 @@ function Oc(e, t, n) { } function s(d) { return d === 40 ? e.attempt( - Cc, + Ac, f, l ? f : u )(d) : d === 91 ? e.attempt( - Tc, + Pc, f, l ? c : u )(d) : l ? f(d) : u(d); } function c(d) { return e.attempt( - Ac, + Rc, f, u )(d); @@ -8500,7 +8510,7 @@ function Oc(e, t, n) { return o._balanced = !0, n(d); } } -function Fc(e, t, n) { +function jc(e, t, n) { return r; function r(u) { return e.enter("resource"), e.enter("resourceMarker"), e.consume(u), e.exit("resourceMarker"), i; @@ -8544,7 +8554,7 @@ function Fc(e, t, n) { return u === 41 ? (e.enter("resourceMarker"), e.consume(u), e.exit("resourceMarker"), e.exit("resource"), t) : n(u); } } -function Ic(e, t, n) { +function _c(e, t, n) { const r = this; return i; function i(a) { @@ -8569,7 +8579,7 @@ function Ic(e, t, n) { return n(a); } } -function _c(e, t, n) { +function Dc(e, t, n) { return r; function r(o) { return e.enter("reference"), e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), i; @@ -8578,12 +8588,12 @@ function _c(e, t, n) { return o === 93 ? (e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), e.exit("reference"), t) : n(o); } } -const jc = { +const zc = { name: "labelStartImage", - tokenize: Dc, + tokenize: Lc, resolveAll: Rr.resolveAll }; -function Dc(e, t, n) { +function Lc(e, t, n) { const r = this; return i; function i(a) { @@ -8596,12 +8606,12 @@ function Dc(e, t, n) { return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(a) : t(a); } } -const zc = { +const Nc = { name: "labelStartLink", - tokenize: Lc, + tokenize: $c, resolveAll: Rr.resolveAll }; -function Lc(e, t, n) { +function $c(e, t, n) { const r = this; return i; function i(l) { @@ -8611,11 +8621,11 @@ function Lc(e, t, n) { return l === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(l) : t(l); } } -const $n = { +const Mn = { name: "lineEnding", - tokenize: Nc + tokenize: Mc }; -function Nc(e, t) { +function Mc(e, t) { return n; function n(r) { return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), xe(e, t, "linePrefix"); @@ -8623,9 +8633,9 @@ function Nc(e, t) { } const sn = { name: "thematicBreak", - tokenize: Mc + tokenize: Bc }; -function Mc(e, t, n) { +function Bc(e, t, n) { let r = 0, i; return o; function o(c) { @@ -8643,19 +8653,19 @@ function Mc(e, t, n) { } const Fe = { name: "list", - tokenize: Uc, + tokenize: Hc, continuation: { - tokenize: qc + tokenize: Vc }, - exit: Vc -}, $c = { - tokenize: Wc, + exit: Yc +}, Uc = { + tokenize: Gc, partial: !0 -}, Bc = { - tokenize: Hc, +}, qc = { + tokenize: Wc, partial: !0 }; -function Uc(e, t, n) { +function Hc(e, t, n) { const r = this, i = r.events[r.events.length - 1]; let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, l = 0; return a; @@ -8680,7 +8690,7 @@ function Uc(e, t, n) { // Can’t be empty when interrupting. r.interrupt ? n : f, e.attempt( - $c, + Uc, d, u ) @@ -8696,7 +8706,7 @@ function Uc(e, t, n) { return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(p); } } -function qc(e, t, n) { +function Vc(e, t, n) { const r = this; return r.containerState._closeFlow = void 0, e.check(kn, i, o); function i(a) { @@ -8708,7 +8718,7 @@ function qc(e, t, n) { )(a); } function o(a) { - return r.containerState.furtherBlankLines || !he(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, l(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Bc, t, l)(a)); + return r.containerState.furtherBlankLines || !he(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, l(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(qc, t, l)(a)); } function l(a) { return r.containerState._closeFlow = !0, r.interrupt = void 0, xe( @@ -8719,7 +8729,7 @@ function qc(e, t, n) { )(a); } } -function Hc(e, t, n) { +function Wc(e, t, n) { const r = this; return xe( e, @@ -8732,10 +8742,10 @@ function Hc(e, t, n) { return l && l[1].type === "listItemIndent" && l[2].sliceSerialize(l[1], !0).length === r.containerState.size ? t(o) : n(o); } } -function Vc(e) { +function Yc(e) { e.exit(this.containerState.type); } -function Wc(e, t, n) { +function Gc(e, t, n) { const r = this; return xe( e, @@ -8748,12 +8758,12 @@ function Wc(e, t, n) { return !he(o) && l && l[1].type === "listItemPrefixWhitespace" ? t(o) : n(o); } } -const $i = { +const Mi = { name: "setextUnderline", - tokenize: Gc, - resolveTo: Yc + tokenize: Kc, + resolveTo: Jc }; -function Yc(e, t) { +function Jc(e, t) { let n = e.length, r, i, o; for (; n--; ) if (e[n][0] === "enter") { @@ -8771,7 +8781,7 @@ function Yc(e, t) { }; return e[i][1].type = "setextHeadingText", o ? (e.splice(i, 0, ["enter", l, t]), e.splice(o + 1, 0, ["exit", e[r][1], t]), e[r][1].end = Object.assign({}, e[o][1].end)) : e[r][1] = l, e.push(["exit", l, t]), e; } -function Gc(e, t, n) { +function Kc(e, t, n) { const r = this; let i; return o; @@ -8794,10 +8804,10 @@ function Gc(e, t, n) { return c === null || J(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c); } } -const Jc = { - tokenize: Kc +const Xc = { + tokenize: Qc }; -function Kc(e) { +function Qc(e) { const t = this, n = e.attempt( // Try to parse a blank line. kn, @@ -8811,7 +8821,7 @@ function Kc(e) { e.attempt( this.parser.constructs.flow, i, - e.attempt(tc, i) + e.attempt(rc, i) ), "linePrefix" ) @@ -8833,14 +8843,14 @@ function Kc(e) { return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), t.currentConstruct = void 0, n; } } -const Xc = { +const Zc = { resolveAll: pl() -}, Qc = fl("string"), Zc = fl("text"); +}, ef = fl("string"), tf = fl("text"); function fl(e) { return { tokenize: t, resolveAll: pl( - e === "text" ? ef : void 0 + e === "text" ? nf : void 0 ) }; function t(n) { @@ -8883,7 +8893,7 @@ function pl(e) { return e ? e(n, r) : n; } } -function ef(e, t) { +function nf(e, t) { let n = 0; for (; ++n <= e.length; ) if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") { @@ -8927,7 +8937,7 @@ function ef(e, t) { } return e; } -function tf(e, t, n) { +function rf(e, t, n) { let r = Object.assign( n ? Object.assign({}, n) : { line: 1, @@ -8943,8 +8953,8 @@ function tf(e, t, n) { let l = [], a = []; const s = { consume: A, - enter: C, - exit: j, + enter: T, + exit: _, attempt: N(E), check: N(w), interrupt: N(w, { @@ -8964,60 +8974,60 @@ function tf(e, t, n) { }; let f = t.tokenize.call(c, s); return t.resolveAll && o.push(t), c; - function u(_) { - return l = $e(l, _), b(), l[l.length - 1] !== null ? [] : (U(t, 0), c.events = Ar(o, c.events, c), c.events); + function u(j) { + return l = Me(l, j), b(), l[l.length - 1] !== null ? [] : (U(t, 0), c.events = Ar(o, c.events, c), c.events); } - function d(_, z) { - return rf(p(_), z); + function d(j, z) { + return lf(p(j), z); } - function p(_) { - return nf(l, _); + function p(j) { + return of(l, j); } function m() { - const { line: _, column: z, offset: Q, _index: Z, _bufferIndex: G } = r; + const { line: j, column: z, offset: Q, _index: Z, _bufferIndex: G } = r; return { - line: _, + line: j, column: z, offset: Q, _index: Z, _bufferIndex: G }; } - function g(_) { - i[_.line] = _.column, v(); + function g(j) { + i[j.line] = j.column, v(); } function b() { - let _; + let j; for (; r._index < l.length; ) { const z = l[r._index]; if (typeof z == "string") - for (_ = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === _ && r._bufferIndex < z.length; ) + for (j = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === j && r._bufferIndex < z.length; ) x(z.charCodeAt(r._bufferIndex)); else x(z); } } - function x(_) { - f = f(_); + function x(j) { + f = f(j); } - function A(_) { - J(_) ? (r.line++, r.column = 1, r.offset += _ === -3 ? 2 : 1, v()) : _ !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === l[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = _; + function A(j) { + J(j) ? (r.line++, r.column = 1, r.offset += j === -3 ? 2 : 1, v()) : j !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === l[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = j; } - function C(_, z) { + function T(j, z) { const Q = z || {}; - return Q.type = _, Q.start = m(), c.events.push(["enter", Q, c]), a.push(Q), Q; + return Q.type = j, Q.start = m(), c.events.push(["enter", Q, c]), a.push(Q), Q; } - function j(_) { + function _(j) { const z = a.pop(); return z.end = m(), c.events.push(["exit", z, c]), z; } - function E(_, z) { - U(_, z.from); + function E(j, z) { + U(j, z.from); } - function w(_, z) { + function w(j, z) { z.restore(); } - function N(_, z) { + function N(j, z) { return Q; function Q(Z, G, oe) { let H, ue, we, h; @@ -9025,10 +9035,10 @@ function tf(e, t, n) { // @ts-expect-error Looks like a construct. q([Z]) ) : F(Z); - function F(M) { + function F($) { return W; function W(Y) { - const re = Y !== null && M[Y], K = Y !== null && M.null, Ee = [ + const re = Y !== null && $[Y], K = Y !== null && $.null, Ee = [ // To do: add more extension tests. /* c8 ignore next 2 */ ...Array.isArray(re) ? re : re ? [re] : [], @@ -9037,13 +9047,13 @@ function tf(e, t, n) { return q(Ee)(Y); } } - function q(M) { - return H = M, ue = 0, M.length === 0 ? oe : y(M[ue]); + function q($) { + return H = $, ue = 0, $.length === 0 ? oe : y($[ue]); } - function y(M) { + function y($) { return W; function W(Y) { - return h = te(), we = M, M.partial || (c.currentConstruct = M), M.name && c.parser.constructs.disable.null.includes(M.name) ? ne() : M.tokenize.call( + return h = te(), we = $, $.partial || (c.currentConstruct = $), $.name && c.parser.constructs.disable.null.includes($.name) ? ne() : $.tokenize.call( // If we do have fields, create an object w/ `context` as its // prototype. // This allows a “live binding”, which is needed for `interrupt`. @@ -9054,37 +9064,37 @@ function tf(e, t, n) { )(Y); } } - function B(M) { - return _(we, h), G; + function B($) { + return j(we, h), G; } - function ne(M) { + function ne($) { return h.restore(), ++ue < H.length ? y(H[ue]) : oe; } } } - function U(_, z) { - _.resolveAll && !o.includes(_) && o.push(_), _.resolve && Je( + function U(j, z) { + j.resolveAll && !o.includes(j) && o.push(j), j.resolve && Je( c.events, z, c.events.length - z, - _.resolve(c.events.slice(z), c) - ), _.resolveTo && (c.events = _.resolveTo(c.events, c)); + j.resolve(c.events.slice(z), c) + ), j.resolveTo && (c.events = j.resolveTo(c.events, c)); } function te() { - const _ = m(), z = c.previous, Q = c.currentConstruct, Z = c.events.length, G = Array.from(a); + const j = m(), z = c.previous, Q = c.currentConstruct, Z = c.events.length, G = Array.from(a); return { restore: oe, from: Z }; function oe() { - r = _, c.previous = z, c.currentConstruct = Q, c.events.length = Z, a = G, v(); + r = j, c.previous = z, c.currentConstruct = Q, c.events.length = Z, a = G, v(); } } function v() { r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1); } } -function nf(e, t) { +function of(e, t) { const n = t.start._index, r = t.start._bufferIndex, i = t.end._index, o = t.end._bufferIndex; let l; if (n === i) @@ -9098,7 +9108,7 @@ function nf(e, t) { } return l; } -function rf(e, t) { +function lf(e, t) { let n = -1; const r = []; let i; @@ -9140,7 +9150,7 @@ function rf(e, t) { } return r.join(""); } -const of = { +const af = { 42: Fe, 43: Fe, 45: Fe, @@ -9155,79 +9165,79 @@ const of = { 56: Fe, 57: Fe, 62: il -}, lf = { - 91: lc -}, af = { - [-2]: Mn, - [-1]: Mn, - 32: Mn }, sf = { - 35: pc, + 91: sc +}, uf = { + [-2]: $n, + [-1]: $n, + 32: $n +}, cf = { + 35: dc, 42: sn, - 45: [$i, sn], - 60: gc, - 61: $i, + 45: [Mi, sn], + 60: bc, + 61: Mi, 95: sn, 96: Ni, 126: Ni -}, uf = { +}, ff = { 38: ll, 92: ol -}, cf = { - [-5]: $n, - [-4]: $n, - [-3]: $n, - 33: jc, +}, pf = { + [-5]: Mn, + [-4]: Mn, + [-3]: Mn, + 33: zc, 38: ll, 42: fr, - 60: [Lu, Ec], - 91: zc, - 92: [cc, ol], + 60: [$u, Cc], + 91: Nc, + 92: [pc, ol], 93: Rr, 95: fr, - 96: Ku -}, ff = { - null: [fr, Xc] -}, pf = { - null: [42, 95] + 96: Qu }, hf = { + null: [fr, Zc] +}, df = { + null: [42, 95] +}, mf = { null: [] -}, df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +}, gf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - attentionMarkers: pf, - contentInitial: lf, - disable: hf, - document: of, - flow: sf, - flowInitial: af, - insideSpan: ff, - string: uf, - text: cf + attentionMarkers: df, + contentInitial: sf, + disable: mf, + document: af, + flow: cf, + flowInitial: uf, + insideSpan: hf, + string: ff, + text: pf }, Symbol.toStringTag, { value: "Module" })); -function mf(e) { +function yf(e) { const n = ( /** @type {FullNormalizedExtension} */ - wu([df, ...(e || {}).extensions || []]) + Eu([gf, ...(e || {}).extensions || []]) ), r = { defined: [], lazy: {}, constructs: n, - content: i(Ou), - document: i(Iu), - flow: i(Jc), - string: i(Qc), - text: i(Zc) + content: i(Iu), + document: i(_u), + flow: i(Xc), + string: i(ef), + text: i(tf) }; return r; function i(o) { return l; function l(a) { - return tf(r, o, a); + return rf(r, o, a); } } } const Bi = /[\0\t\n\r]/g; -function gf() { +function bf() { let e = 1, t = "", n = !0, r; return i; function i(o, l, a) { @@ -9263,7 +9273,7 @@ function gf() { return a && (r && s.push(-5), t && s.push(t), s.push(null)), s; } } -function yf(e) { +function kf(e) { for (; !al(e); ) ; return e; @@ -9279,11 +9289,11 @@ function hl(e, t) { n > 1114111 ? "�" : String.fromCharCode(n) ); } -const bf = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; -function kf(e) { - return e.replace(bf, xf); +const xf = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; +function wf(e) { + return e.replace(xf, vf); } -function xf(e, t, n) { +function vf(e, t, n) { if (t) return t; if (n.charCodeAt(0) === 35) { @@ -9292,7 +9302,7 @@ function xf(e, t, n) { } return Pr(n) || e; } -const dl = {}.hasOwnProperty, wf = ( +const dl = {}.hasOwnProperty, Ef = ( /** * @type {( * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & @@ -9306,44 +9316,44 @@ const dl = {}.hasOwnProperty, wf = ( * @returns {Root} */ function(e, t, n) { - return typeof t != "string" && (n = t, t = void 0), vf(n)( - yf( - mf(n).document().write(gf()(e, t, !0)) + return typeof t != "string" && (n = t, t = void 0), Sf(n)( + kf( + yf(n).document().write(bf()(e, t, !0)) ) ); } ); -function vf(e) { +function Sf(e) { const t = { transforms: [], canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"], enter: { autolink: a(Gt), - autolinkProtocol: _, - autolinkEmail: _, + autolinkProtocol: j, + autolinkEmail: j, atxHeading: a(Ne), blockQuote: a(Ee), - characterEscape: _, - characterReference: _, + characterEscape: j, + characterReference: j, codeFenced: a(D), codeFencedFenceInfo: s, codeFencedFenceMeta: s, codeIndented: a(D, s), codeText: a(Pe, s), - codeTextData: _, - data: _, - codeFlowValue: _, - definition: a($), + codeTextData: j, + data: j, + codeFlowValue: j, + definition: a(M), definitionDestinationString: s, definitionLabelString: s, definitionTitleString: s, - emphasis: a(_e), + emphasis: a(je), hardBreakEscape: a(tt), hardBreakTrailing: a(tt), htmlFlow: a(At, s), - htmlFlowData: _, + htmlFlowData: j, htmlText: a(At, s), - htmlTextData: _, + htmlTextData: j, image: a(dt), label: s, link: a(Gt), @@ -9376,13 +9386,13 @@ function vf(e) { codeFencedFenceInfo: g, codeFencedFenceMeta: b, codeFlowValue: z, - codeIndented: f(C), + codeIndented: f(T), codeText: f(H), codeTextData: z, data: z, definition: f(), definitionDestinationString: w, - definitionLabelString: j, + definitionLabelString: _, definitionTitleString: E, emphasis: f(), hardBreakEscape: f(Z), @@ -9400,7 +9410,7 @@ function vf(e) { listOrdered: f(), listUnordered: f(), paragraph: f(), - referenceString: M, + referenceString: $, resourceDestinationString: q, resourceTitleString: y, resource: B, @@ -9436,12 +9446,12 @@ function vf(e) { if (S[fe][0] === "enter") ce.push(fe); else { - const je = ce.pop(); - fe = i(S, je, fe); + const _e = ce.pop(); + fe = i(S, _e, fe); } for (fe = -1; ++fe < S.length; ) { - const je = t[S[fe][0]]; - dl.call(je, S[fe][1].type) && je[S[fe][1].type].call( + const _e = t[S[fe][0]]; + dl.call(_e, S[fe][1].type) && _e[S[fe][1].type].call( Object.assign( { sliceSerialize: S[fe][2].sliceSerialize @@ -9452,8 +9462,8 @@ function vf(e) { ); } if (V.tokenStack.length > 0) { - const je = V.tokenStack[V.tokenStack.length - 1]; - (je[1] || Ui).call(V, void 0, je[0]); + const _e = V.tokenStack[V.tokenStack.length - 1]; + (_e[1] || Ui).call(V, void 0, _e[0]); } for (I.position = { start: rt( @@ -9475,7 +9485,7 @@ function vf(e) { return I; } function i(S, I, V) { - let ce = I - 1, fe = -1, je = !1, Ve, He, lt, at; + let ce = I - 1, fe = -1, _e = !1, Ve, He, lt, at; for (; ++ce <= V; ) { const ve = S[ce]; if (ve[1].type === "listUnordered" || ve[1].type === "listOrdered" || ve[1].type === "blockQuote" ? (ve[0] === "enter" ? fe++ : fe--, at = void 0) : ve[1].type === "lineEndingBlank" ? ve[0] === "enter" && (Ve && !at && !fe && !lt && (lt = ce), at = void 0) : ve[1].type === "linePrefix" || ve[1].type === "listItemValue" || ve[1].type === "listItemMarker" || ve[1].type === "listItemPrefix" || ve[1].type === "listItemPrefixWhitespace" || (at = void 0), !fe && ve[0] === "enter" && ve[1].type === "listItemPrefix" || fe === -1 && ve[0] === "exit" && (ve[1].type === "listUnordered" || ve[1].type === "listOrdered")) { @@ -9486,7 +9496,7 @@ function vf(e) { if (De[1].type === "lineEnding" || De[1].type === "lineEndingBlank") { if (De[0] === "exit") continue; - He && (S[He][1].type = "lineEndingBlank", je = !0), De[1].type = "lineEnding", He = Rt; + He && (S[He][1].type = "lineEndingBlank", _e = !0), De[1].type = "lineEnding", He = Rt; } else if (!(De[1].type === "linePrefix" || De[1].type === "blockQuotePrefix" || De[1].type === "blockQuotePrefixWhitespace" || De[1].type === "blockQuoteMarker" || De[1].type === "listItemIndent")) break; } @@ -9504,7 +9514,7 @@ function vf(e) { }, S.splice(ce, 0, ["enter", Ve, ve[2]]), ce++, V++, lt = void 0, at = !0); } } - return S[I][1]._spread = je, V; + return S[I][1]._spread = _e, V; } function o(S, I) { n[S] = I; @@ -9549,7 +9559,7 @@ function vf(e) { return V.position.end = rt(S.end), V; } function d() { - return ku(this.stack.pop()); + return wu(this.stack.pop()); } function p() { o("expectingFirstListItemValue", !0); @@ -9575,11 +9585,11 @@ function vf(e) { const S = this.resume(), I = this.stack[this.stack.length - 1]; I.value = S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside"); } - function C() { + function T() { const S = this.resume(), I = this.stack[this.stack.length - 1]; I.value = S.replace(/(\r?\n|\r)$/g, ""); } - function j(S) { + function _(S) { const I = this.resume(), V = this.stack[this.stack.length - 1]; V.label = I, V.identifier = kt( this.sliceSerialize(S) @@ -9610,7 +9620,7 @@ function vf(e) { function v() { o("setextHeadingSlurpLineEnding"); } - function _(S) { + function j(S) { const I = this.stack[this.stack.length - 1]; let V = I.children[I.children.length - 1]; (!V || V.type !== "text") && (V = Kt(), V.position = { @@ -9628,7 +9638,7 @@ function vf(e) { V.position.end = rt(S.end), o("atHardBreak"); return; } - !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(I.type) && (_.call(this, S), z.call(this, S)); + !l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(I.type) && (j.call(this, S), z.call(this, S)); } function Z() { o("atHardBreak", !0); @@ -9665,7 +9675,7 @@ function vf(e) { } function h(S) { const I = this.sliceSerialize(S), V = this.stack[this.stack.length - 2]; - V.label = kf(I), V.identifier = kt(I).toLowerCase(); + V.label = wf(I), V.identifier = kt(I).toLowerCase(); } function F() { const S = this.stack[this.stack.length - 1], I = this.resume(), V = this.stack[this.stack.length - 1]; @@ -9689,7 +9699,7 @@ function vf(e) { function ne() { o("referenceType", "collapsed"); } - function M(S) { + function $(S) { const I = this.resume(), V = this.stack[this.stack.length - 1]; V.label = I, V.identifier = kt( this.sliceSerialize(S) @@ -9738,7 +9748,7 @@ function vf(e) { value: "" }; } - function $() { + function M() { return { type: "definition", identifier: "", @@ -9747,7 +9757,7 @@ function vf(e) { url: "" }; } - function _e() { + function je() { return { type: "emphasis", children: [] @@ -9839,10 +9849,10 @@ function ml(e, t) { let n = -1; for (; ++n < t.length; ) { const r = t[n]; - Array.isArray(r) ? ml(e, r) : Ef(e, r); + Array.isArray(r) ? ml(e, r) : Cf(e, r); } } -function Ef(e, t) { +function Cf(e, t) { let n; for (n in t) if (dl.call(t, n)) { @@ -9874,13 +9884,13 @@ function Ui(e, t) { }) + ") is still open" ); } -function Sf(e) { +function Tf(e) { Object.assign(this, { Parser: (n) => { const r = ( /** @type {Options} */ this.data("settings") ); - return wf( + return Ef( n, Object.assign({}, r, e, { // Note: these options are not in the readme. @@ -9892,7 +9902,7 @@ function Sf(e) { ); } }); } -function Cf(e, t) { +function Af(e, t) { const n = { type: "element", tagName: "blockquote", @@ -9901,12 +9911,12 @@ function Cf(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function Tf(e, t) { +function Pf(e, t) { const n = { type: "element", tagName: "br", properties: {}, children: [] }; return e.patch(t, n), [e.applyData(t, n), { type: "text", value: ` ` }]; } -function Af(e, t) { +function Rf(e, t) { const n = t.value ? t.value + ` ` : "", r = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, i = {}; r && (i.className = ["language-" + r]); @@ -9918,7 +9928,7 @@ function Af(e, t) { }; return t.meta && (o.data = { meta: t.meta }), e.patch(t, o), o = e.applyData(t, o), o = { type: "element", tagName: "pre", properties: {}, children: [o] }, e.patch(t, o), o; } -function Pf(e, t) { +function Of(e, t) { const n = { type: "element", tagName: "del", @@ -9927,7 +9937,7 @@ function Pf(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function Rf(e, t) { +function Ff(e, t) { const n = { type: "element", tagName: "em", @@ -9979,7 +9989,7 @@ function gl(e, t) { }; return e.patch(t, s), e.applyData(t, s); } -function Of(e, t) { +function If(e, t) { const n = e.footnoteById; let r = 1; for (; r in n; ) @@ -9996,7 +10006,7 @@ function Of(e, t) { position: t.position }); } -function Ff(e, t) { +function jf(e, t) { const n = { type: "element", tagName: "h" + t.depth, @@ -10005,7 +10015,7 @@ function Ff(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function If(e, t) { +function _f(e, t) { if (e.dangerous) { const n = { type: "raw", value: t.value }; return e.patch(t, n), e.applyData(t, n); @@ -10022,7 +10032,7 @@ function yl(e, t) { const l = i[i.length - 1]; return l && l.type === "text" ? l.value += r : i.push({ type: "text", value: r }), i; } -function _f(e, t) { +function Df(e, t) { const n = e.definition(t.identifier); if (!n) return yl(e, t); @@ -10031,13 +10041,13 @@ function _f(e, t) { const i = { type: "element", tagName: "img", properties: r, children: [] }; return e.patch(t, i), e.applyData(t, i); } -function jf(e, t) { +function zf(e, t) { const n = { src: Ct(t.url) }; t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title); const r = { type: "element", tagName: "img", properties: n, children: [] }; return e.patch(t, r), e.applyData(t, r); } -function Df(e, t) { +function Lf(e, t) { const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") }; e.patch(t, n); const r = { @@ -10048,7 +10058,7 @@ function Df(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function zf(e, t) { +function Nf(e, t) { const n = e.definition(t.identifier); if (!n) return yl(e, t); @@ -10062,7 +10072,7 @@ function zf(e, t) { }; return e.patch(t, i), e.applyData(t, i); } -function Lf(e, t) { +function $f(e, t) { const n = { href: Ct(t.url) }; t.title !== null && t.title !== void 0 && (n.title = t.title); const r = { @@ -10073,8 +10083,8 @@ function Lf(e, t) { }; return e.patch(t, r), e.applyData(t, r); } -function Nf(e, t, n) { - const r = e.all(t), i = n ? Mf(n) : bl(t), o = {}, l = []; +function Mf(e, t, n) { + const r = e.all(t), i = n ? Bf(n) : bl(t), o = {}, l = []; if (typeof t.checked == "boolean") { const f = r[0]; let u; @@ -10097,7 +10107,7 @@ function Nf(e, t, n) { const c = { type: "element", tagName: "li", properties: o, children: l }; return e.patch(t, c), e.applyData(t, c); } -function Mf(e) { +function Bf(e) { let t = !1; if (e.type === "list") { t = e.spread || !1; @@ -10112,7 +10122,7 @@ function bl(e) { const t = e.spread; return t ?? e.children.length > 1; } -function $f(e, t) { +function Uf(e, t) { const n = {}, r = e.all(t); let i = -1; for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++i < r.length; ) { @@ -10130,7 +10140,7 @@ function $f(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function Bf(e, t) { +function qf(e, t) { const n = { type: "element", tagName: "p", @@ -10139,11 +10149,11 @@ function Bf(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -function Uf(e, t) { +function Hf(e, t) { const n = { type: "root", children: e.wrap(e.all(t)) }; return e.patch(t, n), e.applyData(t, n); } -function qf(e, t) { +function Vf(e, t) { const n = { type: "element", tagName: "strong", @@ -10153,7 +10163,7 @@ function qf(e, t) { return e.patch(t, n), e.applyData(t, n); } const Or = kl("start"), Fr = kl("end"); -function Hf(e) { +function Wf(e) { return { start: Or(e), end: Fr(e) }; } function kl(e) { @@ -10170,7 +10180,7 @@ function kl(e) { }; } } -function Vf(e, t) { +function Yf(e, t) { const n = e.all(t), r = n.shift(), i = []; if (r) { const l = { @@ -10198,7 +10208,7 @@ function Vf(e, t) { }; return e.patch(t, o), e.applyData(t, o); } -function Wf(e, t, n) { +function Gf(e, t, n) { const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", l = n && n.type === "table" ? n.align : void 0, a = l ? l.length : t.children.length; let s = -1; const c = []; @@ -10216,7 +10226,7 @@ function Wf(e, t, n) { }; return e.patch(t, f), e.applyData(t, f); } -function Yf(e, t) { +function Jf(e, t) { const n = { type: "element", tagName: "td", @@ -10227,7 +10237,7 @@ function Yf(e, t) { return e.patch(t, n), e.applyData(t, n); } const qi = 9, Hi = 32; -function Gf(e) { +function Kf(e) { const t = String(e), n = /\r?\n|\r/g; let r = n.exec(t), i = 0; const o = []; @@ -10252,11 +10262,11 @@ function Vi(e, t, n) { } return i > r ? e.slice(r, i) : ""; } -function Jf(e, t) { - const n = { type: "text", value: Gf(String(t.value)) }; +function Xf(e, t) { + const n = { type: "text", value: Kf(String(t.value)) }; return e.patch(t, n), e.applyData(t, n); } -function Kf(e, t) { +function Qf(e, t) { const n = { type: "element", tagName: "hr", @@ -10265,31 +10275,31 @@ function Kf(e, t) { }; return e.patch(t, n), e.applyData(t, n); } -const Xf = { - blockquote: Cf, - break: Tf, - code: Af, - delete: Pf, - emphasis: Rf, +const Zf = { + blockquote: Af, + break: Pf, + code: Rf, + delete: Of, + emphasis: Ff, footnoteReference: gl, - footnote: Of, - heading: Ff, - html: If, - imageReference: _f, - image: jf, - inlineCode: Df, - linkReference: zf, - link: Lf, - listItem: Nf, - list: $f, - paragraph: Bf, - root: Uf, - strong: qf, - table: Vf, - tableCell: Yf, - tableRow: Wf, - text: Jf, - thematicBreak: Kf, + footnote: If, + heading: jf, + html: _f, + imageReference: Df, + image: zf, + inlineCode: Lf, + linkReference: Nf, + link: $f, + listItem: Mf, + list: Uf, + paragraph: qf, + root: Hf, + strong: Vf, + table: Yf, + tableCell: Jf, + tableRow: Gf, + text: Xf, + thematicBreak: Qf, toml: Qt, yaml: Qt, definition: Qt, @@ -10311,17 +10321,17 @@ const xl = ( */ function(e) { if (e == null) - return tp; + return rp; if (typeof e == "string") - return ep(e); + return np(e); if (typeof e == "object") - return Array.isArray(e) ? Qf(e) : Zf(e); + return Array.isArray(e) ? ep(e) : tp(e); if (typeof e == "function") return xn(e); throw new Error("Expected function, string, or object as test"); } ); -function Qf(e) { +function ep(e) { const t = []; let n = -1; for (; ++n < e.length; ) @@ -10335,7 +10345,7 @@ function Qf(e) { return !1; } } -function Zf(e) { +function tp(e) { return xn(t); function t(n) { let r; @@ -10345,7 +10355,7 @@ function Zf(e) { return !0; } } -function ep(e) { +function np(e) { return xn(t); function t(n) { return n && n.type === e; @@ -10357,10 +10367,10 @@ function xn(e) { return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...r)); } } -function tp() { +function rp() { return !0; } -const np = !0, Wi = !1, rp = "skip", ip = ( +const ip = !0, Wi = !1, op = "skip", lp = ( /** * @type {( * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & @@ -10395,9 +10405,9 @@ const np = !0, Wi = !1, rp = "skip", ip = ( return u; function u() { let d = [], p, m, g; - if ((!t || i(a, s, c[c.length - 1] || null)) && (d = op(n(a, c)), d[0] === Wi)) + if ((!t || i(a, s, c[c.length - 1] || null)) && (d = ap(n(a, c)), d[0] === Wi)) return d; - if (a.children && d[0] !== rp) + if (a.children && d[0] !== op) for (m = (r ? a.children.length : -1) + o, g = c.concat(a); m > -1 && m < a.children.length; ) { if (p = l(a.children[m], m, g)(), p[0] === Wi) return p; @@ -10408,8 +10418,8 @@ const np = !0, Wi = !1, rp = "skip", ip = ( } } ); -function op(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [np, e] : [e]; +function ap(e) { + return Array.isArray(e) ? e : typeof e == "number" ? [ip, e] : [e]; } const Ir = ( /** @@ -10426,7 +10436,7 @@ const Ir = ( * @returns {void} */ function(e, t, n, r) { - typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), ip(e, t, i, r); + typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), lp(e, t, i, r); function i(o, l) { const a = l[l.length - 1]; return n( @@ -10437,11 +10447,11 @@ const Ir = ( } } ); -function lp(e) { +function sp(e) { return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column; } const Yi = {}.hasOwnProperty; -function ap(e) { +function up(e) { const t = /* @__PURE__ */ Object.create(null); if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); @@ -10458,11 +10468,11 @@ function Gi(e) { return String(e || "").toUpperCase(); } const cn = {}.hasOwnProperty; -function sp(e, t) { +function cp(e, t) { const n = t || {}, r = n.allowDangerousHtml || !1, i = {}; return l.dangerous = r, l.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, l.footnoteLabel = n.footnoteLabel || "Footnotes", l.footnoteLabelTagName = n.footnoteLabelTagName || "h2", l.footnoteLabelProperties = n.footnoteLabelProperties || { className: ["sr-only"] - }, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...Xf, ...n.handlers }, l.definition = ap(e), l.footnoteById = i, l.footnoteOrder = [], l.footnoteCounts = {}, l.patch = up, l.applyData = cp, l.one = a, l.all = s, l.wrap = pp, l.augment = o, Ir(e, "footnoteDefinition", (c) => { + }, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...Zf, ...n.handlers }, l.definition = up(e), l.footnoteById = i, l.footnoteOrder = [], l.footnoteCounts = {}, l.patch = fp, l.applyData = pp, l.one = a, l.all = s, l.wrap = dp, l.augment = o, Ir(e, "footnoteDefinition", (c) => { const f = String(c.identifier).toUpperCase(); cn.call(i, f) || (i[f] = c); }), l; @@ -10478,7 +10488,7 @@ function sp(e, t) { } if (c) { const u = "type" in c ? c : { position: c }; - lp(u) || (f.position = { start: Or(u), end: Fr(u) }); + sp(u) || (f.position = { start: Or(u), end: Fr(u) }); } return f; } @@ -10494,13 +10504,13 @@ function sp(e, t) { return wl(l, c, f); } function s(c) { - return _r(l, c); + return jr(l, c); } } -function up(e, t) { - e.position && (t.position = Hf(e)); +function fp(e, t) { + e.position && (t.position = Wf(e)); } -function cp(e, t) { +function pp(e, t) { let n = t; if (e && e.data) { const r = e.data.hName, i = e.data.hChildren, o = e.data.hProperties; @@ -10517,9 +10527,9 @@ function wl(e, t, n) { const r = t && t.type; if (!r) throw new Error("Expected node, got `" + t + "`"); - return cn.call(e.handlers, r) ? e.handlers[r](e, t, n) : e.passThrough && e.passThrough.includes(r) ? "children" in t ? { ...t, children: _r(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : fp(e, t); + return cn.call(e.handlers, r) ? e.handlers[r](e, t, n) : e.passThrough && e.passThrough.includes(r) ? "children" in t ? { ...t, children: jr(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : hp(e, t); } -function _r(e, t) { +function jr(e, t) { const n = []; if ("children" in t) { const r = t.children; @@ -10537,16 +10547,16 @@ function _r(e, t) { } return n; } -function fp(e, t) { +function hp(e, t) { const n = t.data || {}, r = "value" in t && !(cn.call(n, "hProperties") || cn.call(n, "hChildren")) ? { type: "text", value: t.value } : { type: "element", tagName: "div", properties: {}, - children: _r(e, t) + children: jr(e, t) }; return e.patch(t, r), e.applyData(t, r); } -function pp(e, t) { +function dp(e, t) { const n = []; let r = -1; for (t && n.push({ type: "text", value: ` @@ -10556,7 +10566,7 @@ function pp(e, t) { return t && e.length > 0 && n.push({ type: "text", value: ` ` }), n; } -function hp(e) { +function mp(e) { const t = []; let n = -1; for (; ++n < e.footnoteOrder.length; ) { @@ -10628,24 +10638,24 @@ function hp(e) { }; } function vl(e, t) { - const n = sp(e, t), r = n.one(e, null), i = hp(n); + const n = cp(e, t), r = n.one(e, null), i = mp(n); return i && r.children.push({ type: "text", value: ` ` }, i), Array.isArray(r) ? { type: "root", children: r } : r; } -const dp = ( +const gp = ( /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */ function(e, t) { - return e && "run" in e ? gp(e, t) : yp(e || t); + return e && "run" in e ? bp(e, t) : kp(e || t); } -), mp = dp; -function gp(e, t) { +), yp = gp; +function bp(e, t) { return (n, r, i) => { e.run(vl(n, t), r, (o) => { i(o); }); }; } -function yp(e) { +function kp(e) { return (t) => vl(t, e); } var pr = { exports: {} }, Zt = { exports: {} }, de = {}; @@ -10658,12 +10668,12 @@ var pr = { exports: {} }, Zt = { exports: {} }, de = {}; * LICENSE file in the root directory of this source tree. */ var Ji; -function bp() { +function xp() { if (Ji) return de; Ji = 1; var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, A = e ? Symbol.for("react.scope") : 60119; - function C(E) { + function T(E) { if (typeof E == "object" && E !== null) { var w = E.$$typeof; switch (w) { @@ -10693,36 +10703,36 @@ function bp() { } } } - function j(E) { - return C(E) === c; + function _(E) { + return T(E) === c; } return de.AsyncMode = s, de.ConcurrentMode = c, de.ContextConsumer = a, de.ContextProvider = l, de.Element = t, de.ForwardRef = f, de.Fragment = r, de.Lazy = m, de.Memo = p, de.Portal = n, de.Profiler = o, de.StrictMode = i, de.Suspense = u, de.isAsyncMode = function(E) { - return j(E) || C(E) === s; - }, de.isConcurrentMode = j, de.isContextConsumer = function(E) { - return C(E) === a; + return _(E) || T(E) === s; + }, de.isConcurrentMode = _, de.isContextConsumer = function(E) { + return T(E) === a; }, de.isContextProvider = function(E) { - return C(E) === l; + return T(E) === l; }, de.isElement = function(E) { return typeof E == "object" && E !== null && E.$$typeof === t; }, de.isForwardRef = function(E) { - return C(E) === f; + return T(E) === f; }, de.isFragment = function(E) { - return C(E) === r; + return T(E) === r; }, de.isLazy = function(E) { - return C(E) === m; + return T(E) === m; }, de.isMemo = function(E) { - return C(E) === p; + return T(E) === p; }, de.isPortal = function(E) { - return C(E) === n; + return T(E) === n; }, de.isProfiler = function(E) { - return C(E) === o; + return T(E) === o; }, de.isStrictMode = function(E) { - return C(E) === i; + return T(E) === i; }, de.isSuspense = function(E) { - return C(E) === u; + return T(E) === u; }, de.isValidElementType = function(E) { return typeof E == "string" || typeof E == "function" || E === r || E === c || E === o || E === i || E === u || E === d || typeof E == "object" && E !== null && (E.$$typeof === m || E.$$typeof === p || E.$$typeof === l || E.$$typeof === a || E.$$typeof === f || E.$$typeof === b || E.$$typeof === x || E.$$typeof === A || E.$$typeof === g); - }, de.typeOf = C, de; + }, de.typeOf = T, de; } var me = {}; /** @license React v16.13.1 @@ -10734,36 +10744,36 @@ var me = {}; * LICENSE file in the root directory of this source tree. */ var Ki; -function kp() { +function wp() { return Ki || (Ki = 1, process.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, A = e ? Symbol.for("react.scope") : 60119; - function C(D) { + function T(D) { return typeof D == "string" || typeof D == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. D === r || D === c || D === o || D === i || D === u || D === d || typeof D == "object" && D !== null && (D.$$typeof === m || D.$$typeof === p || D.$$typeof === l || D.$$typeof === a || D.$$typeof === f || D.$$typeof === b || D.$$typeof === x || D.$$typeof === A || D.$$typeof === g); } - function j(D) { + function _(D) { if (typeof D == "object" && D !== null) { var Pe = D.$$typeof; switch (Pe) { case t: - var $ = D.type; - switch ($) { + var M = D.type; + switch (M) { case s: case c: case r: case o: case i: case u: - return $; + return M; default: - var _e = $ && $.$$typeof; - switch (_e) { + var je = M && M.$$typeof; + switch (je) { case a: case f: case m: case p: case l: - return _e; + return je; default: return Pe; } @@ -10773,52 +10783,52 @@ function kp() { } } } - var E = s, w = c, N = a, U = l, te = t, v = f, _ = r, z = m, Q = p, Z = n, G = o, oe = i, H = u, ue = !1; + var E = s, w = c, N = a, U = l, te = t, v = f, j = r, z = m, Q = p, Z = n, G = o, oe = i, H = u, ue = !1; function we(D) { - return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(D) || j(D) === s; + return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(D) || _(D) === s; } function h(D) { - return j(D) === c; + return _(D) === c; } function F(D) { - return j(D) === a; + return _(D) === a; } function q(D) { - return j(D) === l; + return _(D) === l; } function y(D) { return typeof D == "object" && D !== null && D.$$typeof === t; } function B(D) { - return j(D) === f; + return _(D) === f; } function ne(D) { - return j(D) === r; + return _(D) === r; } - function M(D) { - return j(D) === m; + function $(D) { + return _(D) === m; } function W(D) { - return j(D) === p; + return _(D) === p; } function Y(D) { - return j(D) === n; + return _(D) === n; } function re(D) { - return j(D) === o; + return _(D) === o; } function K(D) { - return j(D) === i; + return _(D) === i; } function Ee(D) { - return j(D) === u; + return _(D) === u; } - me.AsyncMode = E, me.ConcurrentMode = w, me.ContextConsumer = N, me.ContextProvider = U, me.Element = te, me.ForwardRef = v, me.Fragment = _, me.Lazy = z, me.Memo = Q, me.Portal = Z, me.Profiler = G, me.StrictMode = oe, me.Suspense = H, me.isAsyncMode = we, me.isConcurrentMode = h, me.isContextConsumer = F, me.isContextProvider = q, me.isElement = y, me.isForwardRef = B, me.isFragment = ne, me.isLazy = M, me.isMemo = W, me.isPortal = Y, me.isProfiler = re, me.isStrictMode = K, me.isSuspense = Ee, me.isValidElementType = C, me.typeOf = j; + me.AsyncMode = E, me.ConcurrentMode = w, me.ContextConsumer = N, me.ContextProvider = U, me.Element = te, me.ForwardRef = v, me.Fragment = j, me.Lazy = z, me.Memo = Q, me.Portal = Z, me.Profiler = G, me.StrictMode = oe, me.Suspense = H, me.isAsyncMode = we, me.isConcurrentMode = h, me.isContextConsumer = F, me.isContextProvider = q, me.isElement = y, me.isForwardRef = B, me.isFragment = ne, me.isLazy = $, me.isMemo = W, me.isPortal = Y, me.isProfiler = re, me.isStrictMode = K, me.isSuspense = Ee, me.isValidElementType = T, me.typeOf = _; }()), me; } var Xi; function El() { - return Xi || (Xi = 1, process.env.NODE_ENV === "production" ? Zt.exports = bp() : Zt.exports = kp()), Zt.exports; + return Xi || (Xi = 1, process.env.NODE_ENV === "production" ? Zt.exports = xp() : Zt.exports = wp()), Zt.exports; } /* object-assign @@ -10826,7 +10836,7 @@ object-assign @license MIT */ var Bn, Qi; -function xp() { +function vp() { if (Qi) return Bn; Qi = 1; @@ -10873,7 +10883,7 @@ function xp() { }, Bn; } var Un, Zi; -function jr() { +function _r() { if (Zi) return Un; Zi = 1; @@ -10885,14 +10895,14 @@ function Sl() { return eo || (eo = 1, qn = Function.call.bind(Object.prototype.hasOwnProperty)), qn; } var Hn, to; -function wp() { +function Ep() { if (to) return Hn; to = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var t = jr(), n = {}, r = Sl(); + var t = _r(), n = {}, r = Sl(); e = function(o) { var l = "Warning: " + o; typeof console < "u" && console.error(l); @@ -10935,11 +10945,11 @@ function wp() { }, Hn = i, Hn; } var Vn, no; -function vp() { +function Sp() { if (no) return Vn; no = 1; - var e = El(), t = xp(), n = jr(), r = Sl(), i = wp(), o = function() { + var e = El(), t = vp(), n = _r(), r = Sl(), i = Ep(), o = function() { }; process.env.NODE_ENV !== "production" && (o = function(a) { var s = "Warning: " + a; @@ -10969,8 +10979,8 @@ function vp() { string: x("string"), symbol: x("symbol"), any: A(), - arrayOf: C, - element: j(), + arrayOf: T, + element: _(), elementType: E(), instanceOf: w, node: v(), @@ -10990,7 +11000,7 @@ function vp() { function b(h) { if (process.env.NODE_ENV !== "production") var F = {}, q = 0; - function y(ne, M, W, Y, re, K, Ee) { + function y(ne, $, W, Y, re, K, Ee) { if (Y = Y || d, K = K || W, Ee !== n) { if (s) { var D = new Error( @@ -11005,18 +11015,18 @@ function vp() { ), F[Pe] = !0, q++); } } - return M[W] == null ? ne ? M[W] === null ? new g("The " + re + " `" + K + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new g("The " + re + " `" + K + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : h(M, W, Y, re, K); + return $[W] == null ? ne ? $[W] === null ? new g("The " + re + " `" + K + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new g("The " + re + " `" + K + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : h($, W, Y, re, K); } var B = y.bind(null, !1); return B.isRequired = y.bind(null, !0), B; } function x(h) { - function F(q, y, B, ne, M, W) { + function F(q, y, B, ne, $, W) { var Y = q[y], re = oe(Y); if (re !== h) { var K = H(Y); return new g( - "Invalid " + ne + " `" + M + "` of type " + ("`" + K + "` supplied to `" + B + "`, expected ") + ("`" + h + "`."), + "Invalid " + ne + " `" + $ + "` of type " + ("`" + K + "` supplied to `" + B + "`, expected ") + ("`" + h + "`."), { expectedType: h } ); } @@ -11027,17 +11037,17 @@ function vp() { function A() { return b(l); } - function C(h) { - function F(q, y, B, ne, M) { + function T(h) { + function F(q, y, B, ne, $) { if (typeof h != "function") - return new g("Property `" + M + "` of component `" + B + "` has invalid PropType notation inside arrayOf."); + return new g("Property `" + $ + "` of component `" + B + "` has invalid PropType notation inside arrayOf."); var W = q[y]; if (!Array.isArray(W)) { var Y = oe(W); - return new g("Invalid " + ne + " `" + M + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an array.")); + return new g("Invalid " + ne + " `" + $ + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an array.")); } for (var re = 0; re < W.length; re++) { - var K = h(W, re, B, ne, M + "[" + re + "]", n); + var K = h(W, re, B, ne, $ + "[" + re + "]", n); if (K instanceof Error) return K; } @@ -11045,11 +11055,11 @@ function vp() { } return b(F); } - function j() { + function _() { function h(F, q, y, B, ne) { - var M = F[q]; - if (!a(M)) { - var W = oe(M); + var $ = F[q]; + if (!a($)) { + var W = oe($); return new g("Invalid " + B + " `" + ne + "` of type " + ("`" + W + "` supplied to `" + y + "`, expected a single ReactElement.")); } return null; @@ -11058,9 +11068,9 @@ function vp() { } function E() { function h(F, q, y, B, ne) { - var M = F[q]; - if (!e.isValidElementType(M)) { - var W = oe(M); + var $ = F[q]; + if (!e.isValidElementType($)) { + var W = oe($); return new g("Invalid " + B + " `" + ne + "` of type " + ("`" + W + "` supplied to `" + y + "`, expected a single ReactElement type.")); } return null; @@ -11068,10 +11078,10 @@ function vp() { return b(h); } function w(h) { - function F(q, y, B, ne, M) { + function F(q, y, B, ne, $) { if (!(q[y] instanceof h)) { var W = h.name || d, Y = we(q[y]); - return new g("Invalid " + ne + " `" + M + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected ") + ("instance of `" + W + "`.")); + return new g("Invalid " + ne + " `" + $ + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected ") + ("instance of `" + W + "`.")); } return null; } @@ -11082,7 +11092,7 @@ function vp() { return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o( "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." ) : o("Invalid argument supplied to oneOf, expected an array.")), l; - function F(q, y, B, ne, M) { + function F(q, y, B, ne, $) { for (var W = q[y], Y = 0; Y < h.length; Y++) if (m(W, h[Y])) return null; @@ -11090,20 +11100,20 @@ function vp() { var Pe = H(D); return Pe === "symbol" ? String(D) : D; }); - return new g("Invalid " + ne + " `" + M + "` of value `" + String(W) + "` " + ("supplied to `" + B + "`, expected one of " + re + ".")); + return new g("Invalid " + ne + " `" + $ + "` of value `" + String(W) + "` " + ("supplied to `" + B + "`, expected one of " + re + ".")); } return b(F); } function U(h) { - function F(q, y, B, ne, M) { + function F(q, y, B, ne, $) { if (typeof h != "function") - return new g("Property `" + M + "` of component `" + B + "` has invalid PropType notation inside objectOf."); + return new g("Property `" + $ + "` of component `" + B + "` has invalid PropType notation inside objectOf."); var W = q[y], Y = oe(W); if (Y !== "object") - return new g("Invalid " + ne + " `" + M + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an object.")); + return new g("Invalid " + ne + " `" + $ + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an object.")); for (var re in W) if (r(W, re)) { - var K = h(W, re, B, ne, M + "." + re, n); + var K = h(W, re, B, ne, $ + "." + re, n); if (K instanceof Error) return K; } @@ -11121,15 +11131,15 @@ function vp() { "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ue(q) + " at index " + F + "." ), l; } - function y(B, ne, M, W, Y) { + function y(B, ne, $, W, Y) { for (var re = [], K = 0; K < h.length; K++) { - var Ee = h[K], D = Ee(B, ne, M, W, Y, n); + var Ee = h[K], D = Ee(B, ne, $, W, Y, n); if (D == null) return null; D.data && r(D.data, "expectedType") && re.push(D.data.expectedType); } var Pe = re.length > 0 ? ", expected one of type [" + re.join(", ") + "]" : ""; - return new g("Invalid " + W + " `" + Y + "` supplied to " + ("`" + M + "`" + Pe + ".")); + return new g("Invalid " + W + " `" + Y + "` supplied to " + ("`" + $ + "`" + Pe + ".")); } return b(y); } @@ -11139,21 +11149,21 @@ function vp() { } return b(h); } - function _(h, F, q, y, B) { + function j(h, F, q, y, B) { return new g( (h || "React class") + ": " + F + " type `" + q + "." + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`." ); } function z(h) { - function F(q, y, B, ne, M) { + function F(q, y, B, ne, $) { var W = q[y], Y = oe(W); if (Y !== "object") - return new g("Invalid " + ne + " `" + M + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`.")); + return new g("Invalid " + ne + " `" + $ + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`.")); for (var re in h) { var K = h[re]; if (typeof K != "function") - return _(B, ne, M, re, H(K)); - var Ee = K(W, re, B, ne, M + "." + re, n); + return j(B, ne, $, re, H(K)); + var Ee = K(W, re, B, ne, $ + "." + re, n); if (Ee) return Ee; } @@ -11162,21 +11172,21 @@ function vp() { return b(F); } function Q(h) { - function F(q, y, B, ne, M) { + function F(q, y, B, ne, $) { var W = q[y], Y = oe(W); if (Y !== "object") - return new g("Invalid " + ne + " `" + M + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`.")); + return new g("Invalid " + ne + " `" + $ + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`.")); var re = t({}, q[y], h); for (var K in re) { var Ee = h[K]; if (r(h, K) && typeof Ee != "function") - return _(B, ne, M, K, H(Ee)); + return j(B, ne, $, K, H(Ee)); if (!Ee) return new g( - "Invalid " + ne + " `" + M + "` key `" + K + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(q[y], null, " ") + ` + "Invalid " + ne + " `" + $ + "` key `" + K + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(q[y], null, " ") + ` Valid keys: ` + JSON.stringify(Object.keys(h), null, " ") ); - var D = Ee(W, K, B, ne, M + "." + K, n); + var D = Ee(W, K, B, ne, $ + "." + K, n); if (D) return D; } @@ -11257,11 +11267,11 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ") }, Vn; } var Wn, ro; -function Ep() { +function Cp() { if (ro) return Wn; ro = 1; - var e = jr(); + var e = _r(); function t() { } function n() { @@ -11306,12 +11316,12 @@ function Ep() { }, Wn; } if (process.env.NODE_ENV !== "production") { - var Sp = El(), Cp = !0; - pr.exports = vp()(Sp.isElement, Cp); + var Tp = El(), Ap = !0; + pr.exports = Sp()(Tp.isElement, Ap); } else - pr.exports = Ep()(); -var Tp = pr.exports; -const ee = /* @__PURE__ */ Ut(Tp); + pr.exports = Cp()(); +var Pp = pr.exports; +const ee = /* @__PURE__ */ Ut(Pp); class Wt { /** * @constructor @@ -11356,10 +11366,10 @@ qe.prototype.spaceSeparated = !1; qe.prototype.commaOrSpaceSeparated = !1; qe.prototype.mustUseProperty = !1; qe.prototype.defined = !1; -let Ap = 0; +let Rp = 0; const ie = ht(), Te = ht(), Tl = ht(), O = ht(), ke = ht(), xt = ht(), ze = ht(); function ht() { - return 2 ** ++Ap; + return 2 ** ++Rp; } const dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, @@ -11392,12 +11402,12 @@ Dr.prototype.defined = !0; function io(e, t, n) { n && (e[t] = n); } -const Pp = {}.hasOwnProperty; +const Op = {}.hasOwnProperty; function Tt(e) { const t = {}, n = {}; let r; for (r in e.properties) - if (Pp.call(e.properties, r)) { + if (Op.call(e.properties, r)) { const i = e.properties[r], o = new Dr( r, e.transform(e.attributes || {}, r), @@ -11495,7 +11505,7 @@ const Fl = Tt({ ariaValueText: null, role: null } -}), Rp = Tt({ +}), Fp = Tt({ space: "html", attributes: { acceptcharset: "accept-charset", @@ -11851,7 +11861,7 @@ const Fl = Tt({ security: null, unselectable: null } -}), Op = Tt({ +}), Ip = Tt({ space: "svg", attributes: { accentHeight: "accent-height", @@ -12410,20 +12420,20 @@ const Fl = Tt({ z: null, zoomAndPan: null } -}), Fp = /^data[-\w.:]+$/i, oo = /-[a-z]/g, Ip = /[A-Z]/g; -function _p(e, t) { +}), jp = /^data[-\w.:]+$/i, oo = /-[a-z]/g, _p = /[A-Z]/g; +function Dp(e, t) { const n = hr(t); let r = t, i = qe; if (n in e.normal) return e.property[e.normal[n]]; - if (n.length > 4 && n.slice(0, 4) === "data" && Fp.test(t)) { + if (n.length > 4 && n.slice(0, 4) === "data" && jp.test(t)) { if (t.charAt(4) === "-") { - const o = t.slice(5).replace(oo, Dp); + const o = t.slice(5).replace(oo, Lp); r = "data" + o.charAt(0).toUpperCase() + o.slice(1); } else { const o = t.slice(4); if (!oo.test(o)) { - let l = o.replace(Ip, jp); + let l = o.replace(_p, zp); l.charAt(0) !== "-" && (l = "-" + l), t = "data" + l; } } @@ -12431,10 +12441,10 @@ function _p(e, t) { } return new i(r, t); } -function jp(e) { +function zp(e) { return "-" + e.toLowerCase(); } -function Dp(e) { +function Lp(e) { return e.charAt(1).toUpperCase(); } const lo = { @@ -12455,8 +12465,8 @@ const lo = { xLinkTitle: "xlinkTitle", xLinkType: "xlinkType", xmlnsXLink: "xmlnsXlink" -}, zp = Cl([Pl, Al, Fl, Il, Rp], "html"), Lp = Cl([Pl, Al, Fl, Il, Op], "svg"); -function Np(e) { +}, Np = Cl([Pl, Al, Fl, Il, Fp], "html"), $p = Cl([Pl, Al, Fl, Il, Ip], "svg"); +function Mp(e) { if (e.allowedElements && e.disallowedElements) throw new TypeError( "Only one of `allowedElements` and `disallowedElements` should be defined" @@ -12485,7 +12495,7 @@ var mr = { exports: {} }, ge = {}; * LICENSE file in the root directory of this source tree. */ var ao; -function Mp() { +function Bp() { if (ao) return ge; ao = 1; @@ -12564,23 +12574,23 @@ var ye = {}; * LICENSE file in the root directory of this source tree. */ var so; -function $p() { +function Up() { return so || (so = 1, process.env.NODE_ENV !== "production" && function() { - var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), a = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), m = !1, g = !1, b = !1, x = !1, A = !1, C; - C = Symbol.for("react.module.reference"); - function j($) { - return !!(typeof $ == "string" || typeof $ == "function" || $ === n || $ === i || A || $ === r || $ === c || $ === f || x || $ === p || m || g || b || typeof $ == "object" && $ !== null && ($.$$typeof === d || $.$$typeof === u || $.$$typeof === o || $.$$typeof === l || $.$$typeof === s || // This needs to include all possible module reference object + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), a = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), m = !1, g = !1, b = !1, x = !1, A = !1, T; + T = Symbol.for("react.module.reference"); + function _(M) { + return !!(typeof M == "string" || typeof M == "function" || M === n || M === i || A || M === r || M === c || M === f || x || M === p || m || g || b || typeof M == "object" && M !== null && (M.$$typeof === d || M.$$typeof === u || M.$$typeof === o || M.$$typeof === l || M.$$typeof === s || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - $.$$typeof === C || $.getModuleId !== void 0)); + M.$$typeof === T || M.getModuleId !== void 0)); } - function E($) { - if (typeof $ == "object" && $ !== null) { - var _e = $.$$typeof; - switch (_e) { + function E(M) { + if (typeof M == "object" && M !== null) { + var je = M.$$typeof; + switch (je) { case e: - var Ne = $.type; + var Ne = M.type; switch (Ne) { case n: case i: @@ -12599,64 +12609,64 @@ function $p() { case o: return tt; default: - return _e; + return je; } } case t: - return _e; + return je; } } } - var w = l, N = o, U = e, te = s, v = n, _ = d, z = u, Q = t, Z = i, G = r, oe = c, H = f, ue = !1, we = !1; - function h($) { + var w = l, N = o, U = e, te = s, v = n, j = d, z = u, Q = t, Z = i, G = r, oe = c, H = f, ue = !1, we = !1; + function h(M) { return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function F($) { + function F(M) { return we || (we = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function q($) { - return E($) === l; + function q(M) { + return E(M) === l; } - function y($) { - return E($) === o; + function y(M) { + return E(M) === o; } - function B($) { - return typeof $ == "object" && $ !== null && $.$$typeof === e; + function B(M) { + return typeof M == "object" && M !== null && M.$$typeof === e; } - function ne($) { - return E($) === s; + function ne(M) { + return E(M) === s; } - function M($) { - return E($) === n; + function $(M) { + return E(M) === n; } - function W($) { - return E($) === d; + function W(M) { + return E(M) === d; } - function Y($) { - return E($) === u; + function Y(M) { + return E(M) === u; } - function re($) { - return E($) === t; + function re(M) { + return E(M) === t; } - function K($) { - return E($) === i; + function K(M) { + return E(M) === i; } - function Ee($) { - return E($) === r; + function Ee(M) { + return E(M) === r; } - function D($) { - return E($) === c; + function D(M) { + return E(M) === c; } - function Pe($) { - return E($) === f; + function Pe(M) { + return E(M) === f; } - ye.ContextConsumer = w, ye.ContextProvider = N, ye.Element = U, ye.ForwardRef = te, ye.Fragment = v, ye.Lazy = _, ye.Memo = z, ye.Portal = Q, ye.Profiler = Z, ye.StrictMode = G, ye.Suspense = oe, ye.SuspenseList = H, ye.isAsyncMode = h, ye.isConcurrentMode = F, ye.isContextConsumer = q, ye.isContextProvider = y, ye.isElement = B, ye.isForwardRef = ne, ye.isFragment = M, ye.isLazy = W, ye.isMemo = Y, ye.isPortal = re, ye.isProfiler = K, ye.isStrictMode = Ee, ye.isSuspense = D, ye.isSuspenseList = Pe, ye.isValidElementType = j, ye.typeOf = E; + ye.ContextConsumer = w, ye.ContextProvider = N, ye.Element = U, ye.ForwardRef = te, ye.Fragment = v, ye.Lazy = j, ye.Memo = z, ye.Portal = Q, ye.Profiler = Z, ye.StrictMode = G, ye.Suspense = oe, ye.SuspenseList = H, ye.isAsyncMode = h, ye.isConcurrentMode = F, ye.isContextConsumer = q, ye.isContextProvider = y, ye.isElement = B, ye.isForwardRef = ne, ye.isFragment = $, ye.isLazy = W, ye.isMemo = Y, ye.isPortal = re, ye.isProfiler = K, ye.isStrictMode = Ee, ye.isSuspense = D, ye.isSuspenseList = Pe, ye.isValidElementType = _, ye.typeOf = E; }()), ye; } -process.env.NODE_ENV === "production" ? mr.exports = Mp() : mr.exports = $p(); -var Bp = mr.exports; -const Up = /* @__PURE__ */ Ut(Bp); -function qp(e) { +process.env.NODE_ENV === "production" ? mr.exports = Bp() : mr.exports = Up(); +var qp = mr.exports; +const Hp = /* @__PURE__ */ Ut(qp); +function Vp(e) { const t = ( // @ts-expect-error looks like a node. e && typeof e == "object" && e.type === "text" ? ( @@ -12666,17 +12676,17 @@ function qp(e) { ); return typeof t == "string" && t.replace(/[ \t\n\f\r]/g, "") === ""; } -function Hp(e) { +function Wp(e) { return e.join(" ").trim(); } -function Vp(e, t) { +function Yp(e, t) { const n = t || {}; return (e[e.length - 1] === "" ? [...e, ""] : e).join( (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ") ).trim(); } -var zr = { exports: {} }, uo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Wp = /\n/g, Yp = /^\s*/, Gp = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Jp = /^:\s*/, Kp = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Xp = /^[;\s]*/, Qp = /^\s+|\s+$/g, Zp = ` -`, co = "/", fo = "*", ut = "", eh = "comment", th = "declaration", nh = function(e, t) { +var zr = { exports: {} }, uo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Gp = /\n/g, Jp = /^\s*/, Kp = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Xp = /^:\s*/, Qp = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Zp = /^[;\s]*/, eh = /^\s+|\s+$/g, th = ` +`, co = "/", fo = "*", ut = "", nh = "comment", rh = "declaration", ih = function(e, t) { if (typeof e != "string") throw new TypeError("First argument must be a string"); if (!e) @@ -12684,9 +12694,9 @@ var zr = { exports: {} }, uo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Wp = /\n/g, Yp t = t || {}; var n = 1, r = 1; function i(m) { - var g = m.match(Wp); + var g = m.match(Gp); g && (n += g.length); - var b = m.lastIndexOf(Zp); + var b = m.lastIndexOf(th); r = ~b ? m.length - b : r + m.length; } function o() { @@ -12714,7 +12724,7 @@ var zr = { exports: {} }, uo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Wp = /\n/g, Yp } } function c() { - s(Yp); + s(Jp); } function f(m) { var g; @@ -12731,22 +12741,22 @@ var zr = { exports: {} }, uo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Wp = /\n/g, Yp return a("End of comment missing"); var b = e.slice(2, g - 2); return r += 2, i(b), e = e.slice(g), r += 2, m({ - type: eh, + type: nh, comment: b }); } } function d() { - var m = o(), g = s(Gp); + var m = o(), g = s(Kp); if (g) { - if (u(), !s(Jp)) + if (u(), !s(Xp)) return a("property missing ':'"); - var b = s(Kp), x = m({ - type: th, + var b = s(Qp), x = m({ + type: rh, property: po(g[0].replace(uo, ut)), value: b ? po(b[0].replace(uo, ut)) : ut }); - return s(Xp), x; + return s(Zp), x; } } function p() { @@ -12759,42 +12769,42 @@ var zr = { exports: {} }, uo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Wp = /\n/g, Yp return c(), p(); }; function po(e) { - return e ? e.replace(Qp, ut) : ut; + return e ? e.replace(eh, ut) : ut; } -var rh = nh; -function _l(e, t) { +var oh = ih; +function jl(e, t) { var n = null; if (!e || typeof e != "string") return n; - for (var r, i = rh(e), o = typeof t == "function", l, a, s = 0, c = i.length; s < c; s++) + for (var r, i = oh(e), o = typeof t == "function", l, a, s = 0, c = i.length; s < c; s++) r = i[s], l = r.property, a = r.value, o ? t(l, a, r) : a && (n || (n = {}), n[l] = a); return n; } -zr.exports = _l; -zr.exports.default = _l; -var ih = zr.exports; -const oh = /* @__PURE__ */ Ut(ih), gr = {}.hasOwnProperty, lh = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]); -function jl(e, t) { +zr.exports = jl; +zr.exports.default = jl; +var lh = zr.exports; +const ah = /* @__PURE__ */ Ut(lh), gr = {}.hasOwnProperty, sh = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]); +function _l(e, t) { const n = []; let r = -1, i; for (; ++r < t.children.length; ) - i = t.children[r], i.type === "element" ? n.push(ah(e, i, r, t)) : i.type === "text" ? (t.type !== "element" || !lh.has(t.tagName) || !qp(i)) && n.push(i.value) : i.type === "raw" && !e.options.skipHtml && n.push(i.value); + i = t.children[r], i.type === "element" ? n.push(uh(e, i, r, t)) : i.type === "text" ? (t.type !== "element" || !sh.has(t.tagName) || !Vp(i)) && n.push(i.value) : i.type === "raw" && !e.options.skipHtml && n.push(i.value); return n; } -function ah(e, t, n, r) { - const i = e.options, o = i.transformLinkUri === void 0 ? Qs : i.transformLinkUri, l = e.schema, a = t.tagName, s = {}; +function uh(e, t, n, r) { + const i = e.options, o = i.transformLinkUri === void 0 ? eu : i.transformLinkUri, l = e.schema, a = t.tagName, s = {}; let c = l, f; - if (l.space === "html" && a === "svg" && (c = Lp, e.schema = c), t.properties) + if (l.space === "html" && a === "svg" && (c = $p, e.schema = c), t.properties) for (f in t.properties) - gr.call(t.properties, f) && uh(s, f, t.properties[f], e); + gr.call(t.properties, f) && fh(s, f, t.properties[f], e); (a === "ol" || a === "ul") && e.listDepth++; - const u = jl(e, t); + const u = _l(e, t); (a === "ol" || a === "ul") && e.listDepth--, e.schema = l; const d = t.position || { start: { line: null, column: null, offset: null }, end: { line: null, column: null, offset: null } }, p = i.components && gr.call(i.components, a) ? i.components[a] : a, m = typeof p == "string" || p === Oe.Fragment; - if (!Up.isValidElementType(p)) + if (!Hp.isValidElementType(p)) throw new TypeError( `Component for name \`${a}\` not defined or is not renderable` ); @@ -12811,12 +12821,12 @@ function ah(e, t, n, r) { String(s.alt || ""), typeof s.title == "string" ? s.title : null )), !m && a === "li" && r.type === "element") { - const g = sh(t); + const g = ch(t); s.checked = g && g.properties ? !!g.properties.checked : null, s.index = Gn(r, t), s.ordered = r.tagName === "ol"; } - return !m && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), m || (s.isHeader = a === "th")), !m && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = ph(d)), !m && i.rawSourcePos && (s.sourcePosition = t.position), !m && i.includeElementIndex && (s.index = Gn(r, t), s.siblingCount = Gn(r)), m || (s.node = t), u.length > 0 ? Oe.createElement(p, s, u) : Oe.createElement(p, s); + return !m && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), m || (s.isHeader = a === "th")), !m && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = dh(d)), !m && i.rawSourcePos && (s.sourcePosition = t.position), !m && i.includeElementIndex && (s.index = Gn(r, t), s.siblingCount = Gn(r)), m || (s.node = t), u.length > 0 ? Oe.createElement(p, s, u) : Oe.createElement(p, s); } -function sh(e) { +function ch(e) { let t = -1; for (; ++t < e.children.length; ) { const n = e.children[t]; @@ -12831,27 +12841,27 @@ function Gn(e, t) { e.children[n].type === "element" && r++; return r; } -function uh(e, t, n, r) { - const i = _p(r.schema, t); +function fh(e, t, n, r) { + const i = Dp(r.schema, t); let o = n; - o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? Vp(o) : Hp(o)), i.property === "style" && typeof o == "string" && (o = ch(o)), i.space && i.property ? e[gr.call(lo, i.property) ? lo[i.property] : i.property] = o : i.attribute && (e[i.attribute] = o)); + o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? Yp(o) : Wp(o)), i.property === "style" && typeof o == "string" && (o = ph(o)), i.space && i.property ? e[gr.call(lo, i.property) ? lo[i.property] : i.property] = o : i.attribute && (e[i.attribute] = o)); } -function ch(e) { +function ph(e) { const t = {}; try { - oh(e, n); + ah(e, n); } catch { } return t; function n(r, i) { const o = r.slice(0, 4) === "-ms-" ? `ms-${r.slice(4)}` : r; - t[o.replace(/-([a-z])/g, fh)] = i; + t[o.replace(/-([a-z])/g, hh)] = i; } } -function fh(e, t) { +function hh(e, t) { return t.toUpperCase(); } -function ph(e) { +function dh(e) { return [ e.start.line, ":", @@ -12862,7 +12872,7 @@ function ph(e) { e.end.column ].map(String).join(""); } -const ho = {}.hasOwnProperty, hh = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", en = { +const ho = {}.hasOwnProperty, mh = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", en = { plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" }, renderers: { to: "components", id: "change-renderers-to-components" }, astPlugins: { id: "remove-buggy-html-in-markdown-parser" }, @@ -12891,13 +12901,13 @@ function Lr(e) { if (ho.call(en, o) && ho.call(e, o)) { const l = en[o]; console.warn( - `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${hh}#${l.id}> for more info)` + `[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${mh}#${l.id}> for more info)` ), delete en[o]; } - const t = du().use(Sf).use(e.remarkPlugins || []).use(mp, { + const t = gu().use(Tf).use(e.remarkPlugins || []).use(yp, { ...e.remarkRehypeOptions, allowDangerousHtml: !0 - }).use(e.rehypePlugins || []).use(Np, e), n = new Zo(); + }).use(e.rehypePlugins || []).use(Mp, e), n = new Zo(); typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn( `[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)` ); @@ -12907,7 +12917,7 @@ function Lr(e) { let i = Oe.createElement( Oe.Fragment, {}, - jl({ options: e, schema: zp, listDepth: 0 }, r) + _l({ options: e, schema: Np, listDepth: 0 }, r) ); return e.className && (i = Oe.createElement("div", { className: e.className }, i)), i; } @@ -12979,23 +12989,23 @@ function mo(e, t) { r++, i = n.indexOf(t, i + t.length); return r; } -const dh = Nr(/\p{P}/u), mh = Nr(/[!-/:-@[-`{-~]/); -function gh(e) { - return mh(e) || dh(e); +const gh = Nr(/\p{P}/u), yh = Nr(/[!-/:-@[-`{-~]/); +function bh(e) { + return yh(e) || gh(e); } -const yh = Nr(/\s/); +const kh = Nr(/\s/); function Nr(e) { return t; function t(n) { return n !== null && n > -1 && e.test(String.fromCharCode(n)); } } -function bh(e) { +function xh(e) { if (typeof e != "string") throw new TypeError("Expected a string"); return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"); } -const Mr = ( +const $r = ( // Note: overloads in JSDoc can’t yet use different `@template`s. /** * @type {( @@ -13012,21 +13022,21 @@ const Mr = ( */ function(e) { if (e == null) - return vh; + return Sh; if (typeof e == "function") return wn(e); if (typeof e == "object") - return Array.isArray(e) ? kh(e) : xh(e); + return Array.isArray(e) ? wh(e) : vh(e); if (typeof e == "string") - return wh(e); + return Eh(e); throw new Error("Expected function, string, or object as test"); } ); -function kh(e) { +function wh(e) { const t = []; let n = -1; for (; ++n < e.length; ) - t[n] = Mr(e[n]); + t[n] = $r(e[n]); return wn(r); function r(...i) { let o = -1; @@ -13036,7 +13046,7 @@ function kh(e) { return !1; } } -function xh(e) { +function vh(e) { const t = ( /** @type {Record} */ e @@ -13055,7 +13065,7 @@ function xh(e) { return !0; } } -function wh(e) { +function Eh(e) { return wn(t); function t(n) { return n && n.type === e; @@ -13064,7 +13074,7 @@ function wh(e) { function wn(e) { return t; function t(n, r, i) { - return !!(Eh(n) && e.call( + return !!(Ch(n) && e.call( this, n, typeof r == "number" ? r : void 0, @@ -13072,17 +13082,17 @@ function wn(e) { )); } } -function vh() { +function Sh() { return !0; } -function Eh(e) { +function Ch(e) { return e !== null && typeof e == "object" && "type" in e; } -const Dl = [], Sh = !0, go = !1, Ch = "skip"; -function Th(e, t, n, r) { +const Dl = [], Th = !0, go = !1, Ah = "skip"; +function Ph(e, t, n, r) { let i; typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t; - const o = Mr(i), l = r ? -1 : 1; + const o = $r(i), l = r ? -1 : 1; a(e, void 0, [])(); function a(s, c, f) { const u = ( @@ -13104,14 +13114,14 @@ function Th(e, t, n, r) { return d; function d() { let p = Dl, m, g, b; - if ((!t || o(s, c, f[f.length - 1] || void 0)) && (p = Ah(n(s, f)), p[0] === go)) + if ((!t || o(s, c, f[f.length - 1] || void 0)) && (p = Rh(n(s, f)), p[0] === go)) return p; if ("children" in s && s.children) { const x = ( /** @type {UnistParent} */ s ); - if (x.children && p[0] !== Ch) + if (x.children && p[0] !== Ah) for (g = (r ? x.children.length : -1) + l, b = f.concat(x); g > -1 && g < x.children.length; ) { const A = x.children[g]; if (m = a(A, g, b)(), m[0] === go) @@ -13123,14 +13133,14 @@ function Th(e, t, n, r) { } } } -function Ah(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [Sh, e] : e == null ? Dl : [e]; +function Rh(e) { + return Array.isArray(e) ? e : typeof e == "number" ? [Th, e] : e == null ? Dl : [e]; } -function Ph(e, t, n) { - const i = Mr((n || {}).ignore || []), o = Rh(t); +function Oh(e, t, n) { + const i = $r((n || {}).ignore || []), o = Fh(t); let l = -1; for (; ++l < o.length; ) - Th(e, "text", a); + Ph(e, "text", a); function a(c, f) { let u = -1, d; for (; ++u < f.length; ) { @@ -13152,25 +13162,25 @@ function Ph(e, t, n) { const b = u.children.indexOf(c); let x = !1, A = []; d.lastIndex = 0; - let C = d.exec(c.value); - for (; C; ) { - const j = C.index, E = { - index: C.index, - input: C.input, + let T = d.exec(c.value); + for (; T; ) { + const _ = T.index, E = { + index: T.index, + input: T.input, stack: [...f, c] }; - let w = p(...C, E); - if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? d.lastIndex = j + 1 : (m !== j && A.push({ + let w = p(...T, E); + if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? d.lastIndex = _ + 1 : (m !== _ && A.push({ type: "text", - value: c.value.slice(m, j) - }), Array.isArray(w) ? A.push(...w) : w && A.push(w), m = j + C[0].length, x = !0), !d.global) + value: c.value.slice(m, _) + }), Array.isArray(w) ? A.push(...w) : w && A.push(w), m = _ + T[0].length, x = !0), !d.global) break; - C = d.exec(c.value); + T = d.exec(c.value); } return x ? (m < c.value.length && A.push({ type: "text", value: c.value.slice(m) }), u.children.splice(b, 1, ...A)) : A = [c], b + A.length; } } -function Rh(e) { +function Fh(e) { const t = []; if (!Array.isArray(e)) throw new TypeError("Expected find and replace tuple or list of tuples"); @@ -13178,37 +13188,37 @@ function Rh(e) { let r = -1; for (; ++r < n.length; ) { const i = n[r]; - t.push([Oh(i[0]), Fh(i[1])]); + t.push([Ih(i[0]), jh(i[1])]); } return t; } -function Oh(e) { - return typeof e == "string" ? new RegExp(bh(e), "g") : e; +function Ih(e) { + return typeof e == "string" ? new RegExp(xh(e), "g") : e; } -function Fh(e) { +function jh(e) { return typeof e == "function" ? e : function() { return e; }; } const Jn = "phrasing", Kn = ["autolink", "link", "image", "label"]; -function Ih() { +function _h() { return { - transforms: [Mh], + transforms: [Bh], enter: { - literalAutolink: jh, + literalAutolink: zh, literalAutolinkEmail: Xn, literalAutolinkHttp: Xn, literalAutolinkWww: Xn }, exit: { - literalAutolink: Nh, - literalAutolinkEmail: Lh, - literalAutolinkHttp: Dh, - literalAutolinkWww: zh + literalAutolink: Mh, + literalAutolinkEmail: $h, + literalAutolinkHttp: Lh, + literalAutolinkWww: Nh } }; } -function _h() { +function Dh() { return { unsafe: [ { @@ -13235,41 +13245,41 @@ function _h() { ] }; } -function jh(e) { +function zh(e) { this.enter({ type: "link", title: null, url: "", children: [] }, e); } function Xn(e) { this.config.enter.autolinkProtocol.call(this, e); } -function Dh(e) { +function Lh(e) { this.config.exit.autolinkProtocol.call(this, e); } -function zh(e) { +function Nh(e) { this.config.exit.data.call(this, e); const t = this.stack[this.stack.length - 1]; t.type, t.url = "http://" + this.sliceSerialize(e); } -function Lh(e) { +function $h(e) { this.config.exit.autolinkEmail.call(this, e); } -function Nh(e) { +function Mh(e) { this.exit(e); } -function Mh(e) { - Ph( +function Bh(e) { + Oh( e, [ - [/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, $h], - [/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g, Bh] + [/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Uh], + [/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g, qh] ], { ignore: ["link", "linkReference"] } ); } -function $h(e, t, n, r, i) { +function Uh(e, t, n, r, i) { let o = ""; - if (!zl(i) || (/^w/i.test(t) && (n = t + n, t = "", o = "http://"), !Uh(n))) + if (!zl(i) || (/^w/i.test(t) && (n = t + n, t = "", o = "http://"), !Hh(n))) return !1; - const l = qh(n + r); + const l = Vh(n + r); if (!l[0]) return !1; const a = { @@ -13280,7 +13290,7 @@ function $h(e, t, n, r, i) { }; return l[1] ? [a, { type: "text", value: l[1] }] : a; } -function Bh(e, t, n, r) { +function qh(e, t, n, r) { return ( // Not an expected previous character. !zl(r, !0) || // Label ends in not allowed character. @@ -13292,11 +13302,11 @@ function Bh(e, t, n, r) { } ); } -function Uh(e) { +function Hh(e) { const t = e.split("."); return !(t.length < 2 || t[t.length - 1] && (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1])) || t[t.length - 2] && (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2]))); } -function qh(e) { +function Vh(e) { const t = /[!"&'),.:;<>?\]}]+$/.exec(e); if (!t) return [e, void 0]; @@ -13310,66 +13320,66 @@ function qh(e) { } function zl(e, t) { const n = e.input.charCodeAt(e.index - 1); - return (e.index === 0 || yh(n) || gh(n)) && (!t || n !== 47); + return (e.index === 0 || kh(n) || bh(n)) && (!t || n !== 47); } function Ll(e) { return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); } -Nl.peek = ed; -function Hh() { +Nl.peek = nd; +function Wh() { return { enter: { - gfmFootnoteDefinition: Wh, - gfmFootnoteDefinitionLabelString: Yh, - gfmFootnoteCall: Kh, - gfmFootnoteCallString: Xh + gfmFootnoteDefinition: Gh, + gfmFootnoteDefinitionLabelString: Jh, + gfmFootnoteCall: Qh, + gfmFootnoteCallString: Zh }, exit: { - gfmFootnoteDefinition: Jh, - gfmFootnoteDefinitionLabelString: Gh, - gfmFootnoteCall: Zh, - gfmFootnoteCallString: Qh + gfmFootnoteDefinition: Xh, + gfmFootnoteDefinitionLabelString: Kh, + gfmFootnoteCall: td, + gfmFootnoteCallString: ed } }; } -function Vh() { +function Yh() { return { // This is on by default already. unsafe: [{ character: "[", inConstruct: ["phrasing", "label", "reference"] }], - handlers: { footnoteDefinition: td, footnoteReference: Nl } + handlers: { footnoteDefinition: rd, footnoteReference: Nl } }; } -function Wh(e) { +function Gh(e) { this.enter( { type: "footnoteDefinition", identifier: "", label: "", children: [] }, e ); } -function Yh() { +function Jh() { this.buffer(); } -function Gh(e) { +function Kh(e) { const t = this.resume(), n = this.stack[this.stack.length - 1]; n.type, n.label = t, n.identifier = Ll( this.sliceSerialize(e) ).toLowerCase(); } -function Jh(e) { +function Xh(e) { this.exit(e); } -function Kh(e) { +function Qh(e) { this.enter({ type: "footnoteReference", identifier: "", label: "" }, e); } -function Xh() { +function Zh() { this.buffer(); } -function Qh(e) { +function ed(e) { const t = this.resume(), n = this.stack[this.stack.length - 1]; n.type, n.label = t, n.identifier = Ll( this.sliceSerialize(e) ).toLowerCase(); } -function Zh(e) { +function td(e) { this.exit(e); } function Nl(e, t, n, r) { @@ -13384,10 +13394,10 @@ function Nl(e, t, n, r) { }) ), a(), l(), o += i.move("]"), o; } -function ed() { +function nd() { return "["; } -function td(e, t, n, r) { +function rd(e, t, n, r) { const i = n.createTracker(r); let o = i.move("[^"); const l = n.enter("footnoteDefinition"), a = n.enter("label"); @@ -13400,13 +13410,13 @@ function td(e, t, n, r) { ), a(), o += i.move( "]:" + (e.children && e.children.length > 0 ? " " : "") ), i.shift(4), o += i.move( - n.indentLines(n.containerFlow(e, i.current()), nd) + n.indentLines(n.containerFlow(e, i.current()), id) ), l(), o; } -function nd(e, t, n) { +function id(e, t, n) { return t === 0 ? e : (n ? "" : " ") + e; } -const rd = [ +const od = [ "autolink", "destinationLiteral", "destinationRaw", @@ -13414,33 +13424,33 @@ const rd = [ "titleQuote", "titleApostrophe" ]; -Ml.peek = sd; -function id() { +$l.peek = cd; +function ld() { return { canContainEols: ["delete"], - enter: { strikethrough: ld }, - exit: { strikethrough: ad } + enter: { strikethrough: sd }, + exit: { strikethrough: ud } }; } -function od() { +function ad() { return { unsafe: [ { character: "~", inConstruct: "phrasing", - notInConstruct: rd + notInConstruct: od } ], - handlers: { delete: Ml } + handlers: { delete: $l } }; } -function ld(e) { +function sd(e) { this.enter({ type: "delete", children: [] }, e); } -function ad(e) { +function ud(e) { this.exit(e); } -function Ml(e, t, n, r) { +function $l(e, t, n, r) { const i = n.createTracker(r), o = n.enter("strikethrough"); let l = i.move("~~"); return l += n.containerPhrasing(e, { @@ -13449,17 +13459,17 @@ function Ml(e, t, n, r) { after: "~" }), l += i.move("~~"), o(), l; } -function sd() { +function cd() { return "~"; } -function ud(e, t = {}) { - const n = (t.align || []).concat(), r = t.stringLength || fd, i = [], o = [], l = [], a = []; +function fd(e, t = {}) { + const n = (t.align || []).concat(), r = t.stringLength || hd, i = [], o = [], l = [], a = []; let s = 0, c = -1; for (; ++c < e.length; ) { const m = [], g = []; let b = -1; for (e[c].length > s && (s = e[c].length); ++b < e[c].length; ) { - const x = cd(e[c][b]); + const x = pd(e[c][b]); if (t.alignDelimiters !== !1) { const A = r(x); g[b] = A, (a[b] === void 0 || A > a[b]) && (a[b] = A); @@ -13498,14 +13508,14 @@ function ud(e, t = {}) { const b = []; for (; ++f < s; ) { const x = m[f] || ""; - let A = "", C = ""; + let A = "", T = ""; if (t.alignDelimiters !== !1) { - const j = a[f] - (g[f] || 0), E = i[f]; - E === 114 ? A = " ".repeat(j) : E === 99 ? j % 2 ? (A = " ".repeat(j / 2 + 0.5), C = " ".repeat(j / 2 - 0.5)) : (A = " ".repeat(j / 2), C = A) : C = " ".repeat(j); + const _ = a[f] - (g[f] || 0), E = i[f]; + E === 114 ? A = " ".repeat(_) : E === 99 ? _ % 2 ? (A = " ".repeat(_ / 2 + 0.5), T = " ".repeat(_ / 2 - 0.5)) : (A = " ".repeat(_ / 2), T = A) : T = " ".repeat(_); } t.delimiterStart !== !1 && !f && b.push("|"), t.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is // empty: there will be a closing space. - !(t.alignDelimiters === !1 && x === "") && (t.delimiterStart !== !1 || f) && b.push(" "), t.alignDelimiters !== !1 && b.push(A), b.push(x), t.alignDelimiters !== !1 && b.push(C), t.padding !== !1 && b.push(" "), (t.delimiterEnd !== !1 || f !== s - 1) && b.push("|"); + !(t.alignDelimiters === !1 && x === "") && (t.delimiterStart !== !1 || f) && b.push(" "), t.alignDelimiters !== !1 && b.push(A), b.push(x), t.alignDelimiters !== !1 && b.push(T), t.padding !== !1 && b.push(" "), (t.delimiterEnd !== !1 || f !== s - 1) && b.push("|"); } p.push( t.delimiterEnd === !1 ? b.join("").replace(/ +$/, "") : b.join("") @@ -13514,29 +13524,29 @@ function ud(e, t = {}) { return p.join(` `); } -function cd(e) { +function pd(e) { return e == null ? "" : String(e); } -function fd(e) { +function hd(e) { return e.length; } function yo(e) { const t = typeof e == "string" ? e.codePointAt(0) : 0; return t === 67 || t === 99 ? 99 : t === 76 || t === 108 ? 108 : t === 82 || t === 114 ? 114 : 0; } -function pd(e, t, n, r) { +function dd(e, t, n, r) { const i = n.enter("blockquote"), o = n.createTracker(r); o.move("> "), o.shift(2); const l = n.indentLines( n.containerFlow(e, o.current()), - hd + md ); return i(), l; } -function hd(e, t, n) { +function md(e, t, n) { return ">" + (n ? "" : " ") + e; } -function dd(e, t) { +function gd(e, t) { return bo(e, t.inConstruct, !0) && !bo(e, t.notInConstruct, !1); } function bo(e, t, n) { @@ -13552,12 +13562,12 @@ function ko(e, t, n, r) { let i = -1; for (; ++i < n.unsafe.length; ) if (n.unsafe[i].character === ` -` && dd(n.stack, n.unsafe[i])) +` && gd(n.stack, n.unsafe[i])) return /[ \t]/.test(r.before) ? "" : " "; return `\\ `; } -function md(e, t) { +function yd(e, t) { const n = String(e); let r = n.indexOf(t), i = r, o = 0, l = 0; if (typeof t != "string") @@ -13566,13 +13576,13 @@ function md(e, t) { r === i ? ++o > l && (l = o) : o = 1, i = r + t.length, r = n.indexOf(t, i); return l; } -function gd(e, t) { +function bd(e, t) { return !!(t.options.fences === !1 && e.value && // If there’s no info… !e.lang && // And there’s a non-whitespace character… /[^ \r\n]/.test(e.value) && // And the value doesn’t start or end in a blank… !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)); } -function yd(e) { +function kd(e) { const t = e.options.fence || "`"; if (t !== "`" && t !== "~") throw new Error( @@ -13580,13 +13590,13 @@ function yd(e) { ); return t; } -function bd(e, t, n, r) { - const i = yd(n), o = e.value || "", l = i === "`" ? "GraveAccent" : "Tilde"; - if (gd(e, n)) { - const u = n.enter("codeIndented"), d = n.indentLines(o, kd); +function xd(e, t, n, r) { + const i = kd(n), o = e.value || "", l = i === "`" ? "GraveAccent" : "Tilde"; + if (bd(e, n)) { + const u = n.enter("codeIndented"), d = n.indentLines(o, wd); return u(), d; } - const a = n.createTracker(r), s = i.repeat(Math.max(md(o, i) + 1, 3)), c = n.enter("codeFenced"); + const a = n.createTracker(r), s = i.repeat(Math.max(yd(o, i) + 1, 3)), c = n.enter("codeFenced"); let f = a.move(s); if (e.lang) { const u = n.enter(`codeFencedLang${l}`); @@ -13615,10 +13625,10 @@ function bd(e, t, n, r) { `), o && (f += a.move(o + ` `)), f += a.move(s), c(), f; } -function kd(e, t, n) { +function wd(e, t, n) { return (n ? "" : " ") + e; } -function $r(e) { +function Mr(e) { const t = e.options.quote || '"'; if (t !== '"' && t !== "'") throw new Error( @@ -13626,8 +13636,8 @@ function $r(e) { ); return t; } -function xd(e, t, n, r) { - const i = $r(n), o = i === '"' ? "Quote" : "Apostrophe", l = n.enter("definition"); +function vd(e, t, n, r) { + const i = Mr(n), o = i === '"' ? "Quote" : "Apostrophe", l = n.enter("definition"); let a = n.enter("label"); const s = n.createTracker(r); let c = s.move("["); @@ -13656,7 +13666,7 @@ function xd(e, t, n, r) { }) ), c += s.move(i), a()), l(), c; } -function wd(e) { +function Ed(e) { const t = e.options.emphasis || "*"; if (t !== "*" && t !== "_") throw new Error( @@ -13664,9 +13674,9 @@ function wd(e) { ); return t; } -$l.peek = vd; -function $l(e, t, n, r) { - const i = wd(n), o = n.enter("emphasis"), l = n.createTracker(r); +Ml.peek = Sd; +function Ml(e, t, n, r) { + const i = Ed(n), o = n.enter("emphasis"), l = n.createTracker(r); let a = l.move(i); return a += l.move( n.containerPhrasing(e, { @@ -13676,7 +13686,7 @@ function $l(e, t, n, r) { }) ), a += l.move(i), o(), a; } -function vd(e, t, n) { +function Sd(e, t, n) { return n.options.emphasis || "*"; } const Bl = ( @@ -13696,17 +13706,17 @@ const Bl = ( */ function(e) { if (e == null) - return Td; + return Pd; if (typeof e == "function") return vn(e); if (typeof e == "object") - return Array.isArray(e) ? Ed(e) : Sd(e); + return Array.isArray(e) ? Cd(e) : Td(e); if (typeof e == "string") - return Cd(e); + return Ad(e); throw new Error("Expected function, string, or object as test"); } ); -function Ed(e) { +function Cd(e) { const t = []; let n = -1; for (; ++n < e.length; ) @@ -13720,7 +13730,7 @@ function Ed(e) { return !1; } } -function Sd(e) { +function Td(e) { const t = ( /** @type {Record} */ e @@ -13739,7 +13749,7 @@ function Sd(e) { return !0; } } -function Cd(e) { +function Ad(e) { return vn(t); function t(n) { return n && n.type === e; @@ -13748,7 +13758,7 @@ function Cd(e) { function vn(e) { return t; function t(n, r, i) { - return !!(Ad(n) && e.call( + return !!(Rd(n) && e.call( this, n, typeof r == "number" ? r : void 0, @@ -13756,14 +13766,14 @@ function vn(e) { )); } } -function Td() { +function Pd() { return !0; } -function Ad(e) { +function Rd(e) { return e !== null && typeof e == "object" && "type" in e; } -const Ul = [], Pd = !0, yr = !1, Rd = "skip"; -function Od(e, t, n, r) { +const Ul = [], Od = !0, yr = !1, Fd = "skip"; +function Id(e, t, n, r) { let i; typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t; const o = Bl(i), l = r ? -1 : 1; @@ -13788,14 +13798,14 @@ function Od(e, t, n, r) { return d; function d() { let p = Ul, m, g, b; - if ((!t || o(s, c, f[f.length - 1] || void 0)) && (p = Fd(n(s, f)), p[0] === yr)) + if ((!t || o(s, c, f[f.length - 1] || void 0)) && (p = jd(n(s, f)), p[0] === yr)) return p; if ("children" in s && s.children) { const x = ( /** @type {UnistParent} */ s ); - if (x.children && p[0] !== Rd) + if (x.children && p[0] !== Fd) for (g = (r ? x.children.length : -1) + l, b = f.concat(x); g > -1 && g < x.children.length; ) { const A = x.children[g]; if (m = a(A, g, b)(), m[0] === yr) @@ -13807,24 +13817,24 @@ function Od(e, t, n, r) { } } } -function Fd(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [Pd, e] : e == null ? Ul : [e]; +function jd(e) { + return Array.isArray(e) ? e : typeof e == "number" ? [Od, e] : e == null ? Ul : [e]; } -function Id(e, t, n, r) { +function _d(e, t, n, r) { let i, o, l; - typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, i = n) : (o = t, l = n, i = r), Od(e, o, a, i); + typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, i = n) : (o = t, l = n, i = r), Id(e, o, a, i); function a(s, c) { const f = c[c.length - 1], u = f ? f.children.indexOf(s) : void 0; return l(s, u, f); } } -const _d = {}; +const Dd = {}; function ql(e, t) { - const n = t || _d, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; + const n = t || Dd, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; return Hl(e, r, i); } function Hl(e, t, n) { - if (jd(e)) { + if (zd(e)) { if ("value" in e) return e.type === "html" && !n ? "" : e.value; if (t && "alt" in e && e.alt) @@ -13841,19 +13851,19 @@ function xo(e, t, n) { r[i] = Hl(e[i], t, n); return r.join(""); } -function jd(e) { +function zd(e) { return !!(e && typeof e == "object"); } -function Dd(e, t) { +function Ld(e, t) { let n = !1; - return Id(e, function(r) { + return _d(e, function(r) { if ("value" in r && /\r?\n|\r/.test(r.value) || r.type === "break") return n = !0, yr; }), !!((!e.depth || e.depth < 3) && ql(e) && (t.options.setext || n)); } -function zd(e, t, n, r) { +function Nd(e, t, n, r) { const i = Math.max(Math.min(6, e.depth || 1), 1), o = n.createTracker(r); - if (Dd(e, n)) { + if (Ld(e, n)) { const f = n.enter("headingSetext"), u = n.enter("phrasing"), d = n.containerPhrasing(e, { ...o.current(), before: ` @@ -13880,16 +13890,16 @@ function zd(e, t, n, r) { }); return /^[\t ]/.test(c) && (c = "&#x" + c.charCodeAt(0).toString(16).toUpperCase() + ";" + c.slice(1)), c = c ? l + " " + c : l, n.options.closeAtx && (c += " " + l), s(), a(), c; } -Vl.peek = Ld; +Vl.peek = $d; function Vl(e) { return e.value || ""; } -function Ld() { +function $d() { return "<"; } -Wl.peek = Nd; +Wl.peek = Md; function Wl(e, t, n, r) { - const i = $r(n), o = i === '"' ? "Quote" : "Apostrophe", l = n.enter("image"); + const i = Mr(n), o = i === '"' ? "Quote" : "Apostrophe", l = n.enter("image"); let a = n.enter("label"); const s = n.createTracker(r); let c = s.move("!["); @@ -13913,10 +13923,10 @@ function Wl(e, t, n, r) { }) ), c += s.move(i), a()), c += s.move(")"), l(), c; } -function Nd() { +function Md() { return "!"; } -Yl.peek = Md; +Yl.peek = Bd; function Yl(e, t, n, r) { const i = e.referenceType, o = n.enter("imageReference"); let l = n.enter("label"); @@ -13937,10 +13947,10 @@ function Yl(e, t, n, r) { }); return l(), n.stack = f, o(), i === "full" || !c || c !== u ? s += a.move(u + "]") : i === "shortcut" ? s = s.slice(0, -1) : s += a.move("]"), s; } -function Md() { +function Bd() { return "!"; } -Gl.peek = $d; +Gl.peek = Ud; function Gl(e, t, n) { let r = e.value || "", i = "`", o = -1; for (; new RegExp("(^|[^`])" + i + "([^`]|$)").test(r); ) @@ -13956,7 +13966,7 @@ function Gl(e, t, n) { } return i + r + i; } -function $d() { +function Ud() { return "`"; } function Jl(e, t) { @@ -13970,9 +13980,9 @@ function Jl(e, t) { // references don’t work), space, or angle brackets… !/[\0- <>\u007F]/.test(e.url)); } -Kl.peek = Bd; +Kl.peek = qd; function Kl(e, t, n, r) { - const i = $r(n), o = i === '"' ? "Quote" : "Apostrophe", l = n.createTracker(r); + const i = Mr(n), o = i === '"' ? "Quote" : "Apostrophe", l = n.createTracker(r); let a, s; if (Jl(e, n)) { const f = n.stack; @@ -14012,10 +14022,10 @@ function Kl(e, t, n, r) { }) ), c += l.move(i), s()), c += l.move(")"), a(), c; } -function Bd(e, t, n) { +function qd(e, t, n) { return Jl(e, n) ? "<" : "["; } -Xl.peek = Ud; +Xl.peek = Hd; function Xl(e, t, n, r) { const i = e.referenceType, o = n.enter("linkReference"); let l = n.enter("label"); @@ -14036,7 +14046,7 @@ function Xl(e, t, n, r) { }); return l(), n.stack = f, o(), i === "full" || !c || c !== u ? s += a.move(u + "]") : i === "shortcut" ? s = s.slice(0, -1) : s += a.move("]"), s; } -function Ud() { +function Hd() { return "["; } function Br(e) { @@ -14047,7 +14057,7 @@ function Br(e) { ); return t; } -function qd(e) { +function Vd(e) { const t = Br(e), n = e.options.bulletOther; if (!n) return t === "*" ? "-" : "*"; @@ -14061,7 +14071,7 @@ function qd(e) { ); return n; } -function Hd(e) { +function Wd(e) { const t = e.options.bulletOrdered || "."; if (t !== "." && t !== ")") throw new Error( @@ -14077,10 +14087,10 @@ function Ql(e) { ); return t; } -function Vd(e, t, n, r) { +function Yd(e, t, n, r) { const i = n.enter("list"), o = n.bulletCurrent; - let l = e.ordered ? Hd(n) : Br(n); - const a = e.ordered ? l === "." ? ")" : "." : qd(n); + let l = e.ordered ? Wd(n) : Br(n); + const a = e.ordered ? l === "." ? ")" : "." : Vd(n); let s = t && n.bulletLastUsed ? l === n.bulletLastUsed : !1; if (!e.ordered) { const f = e.children ? e.children[0] : void 0; @@ -14105,7 +14115,7 @@ function Vd(e, t, n, r) { const c = n.containerFlow(e, r); return n.bulletLastUsed = l, n.bulletCurrent = o, i(), c; } -function Wd(e) { +function Gd(e) { const t = e.options.listItemIndent || "one"; if (t !== "tab" && t !== "one" && t !== "mixed") throw new Error( @@ -14113,8 +14123,8 @@ function Wd(e) { ); return t; } -function Yd(e, t, n, r) { - const i = Wd(n); +function Jd(e, t, n, r) { + const i = Gd(n); let o = n.bulletCurrent || Br(n); t && t.type === "list" && t.ordered && (o = (typeof t.start == "number" && t.start > -1 ? t.start : 1) + (n.options.incrementListMarker === !1 ? 0 : t.children.indexOf(e)) + o); let l = o.length + 1; @@ -14130,7 +14140,7 @@ function Yd(e, t, n, r) { return d ? (p ? "" : " ".repeat(l)) + u : (p ? o : o + " ".repeat(l - o.length)) + u; } } -function Gd(e, t, n, r) { +function Kd(e, t, n, r) { const i = n.enter("paragraph"), o = n.enter("phrasing"), l = n.containerPhrasing(e, r); return o(), i(), l; } @@ -14151,17 +14161,17 @@ const Zl = ( */ function(e) { if (e == null) - return Qd; + return em; if (typeof e == "function") return En(e); if (typeof e == "object") - return Array.isArray(e) ? Jd(e) : Kd(e); + return Array.isArray(e) ? Xd(e) : Qd(e); if (typeof e == "string") - return Xd(e); + return Zd(e); throw new Error("Expected function, string, or object as test"); } ); -function Jd(e) { +function Xd(e) { const t = []; let n = -1; for (; ++n < e.length; ) @@ -14175,7 +14185,7 @@ function Jd(e) { return !1; } } -function Kd(e) { +function Qd(e) { const t = ( /** @type {Record} */ e @@ -14194,7 +14204,7 @@ function Kd(e) { return !0; } } -function Xd(e) { +function Zd(e) { return En(t); function t(n) { return n && n.type === e; @@ -14203,7 +14213,7 @@ function Xd(e) { function En(e) { return t; function t(n, r, i) { - return !!(Zd(n) && e.call( + return !!(tm(n) && e.call( this, n, typeof r == "number" ? r : void 0, @@ -14211,13 +14221,13 @@ function En(e) { )); } } -function Qd() { +function em() { return !0; } -function Zd(e) { +function tm(e) { return e !== null && typeof e == "object" && "type" in e; } -const em = ( +const nm = ( /** @type {(node?: unknown) => node is PhrasingContent} */ Zl([ "break", @@ -14234,12 +14244,12 @@ const em = ( "text" ]) ); -function tm(e, t, n, r) { +function rm(e, t, n, r) { return (e.children.some(function(l) { - return em(l); + return nm(l); }) ? n.containerPhrasing : n.containerFlow).call(n, e, r); } -function nm(e) { +function im(e) { const t = e.options.strong || "*"; if (t !== "*" && t !== "_") throw new Error( @@ -14247,9 +14257,9 @@ function nm(e) { ); return t; } -ea.peek = rm; +ea.peek = om; function ea(e, t, n, r) { - const i = nm(n), o = n.enter("strong"), l = n.createTracker(r); + const i = im(n), o = n.enter("strong"), l = n.createTracker(r); let a = l.move(i + i); return a += l.move( n.containerPhrasing(e, { @@ -14259,13 +14269,13 @@ function ea(e, t, n, r) { }) ), a += l.move(i + i), o(), a; } -function rm(e, t, n) { +function om(e, t, n) { return n.options.strong || "*"; } -function im(e, t, n, r) { +function lm(e, t, n, r) { return n.safe(e.value, r); } -function om(e) { +function am(e) { const t = e.options.ruleRepetition || 3; if (t < 3) throw new Error( @@ -14273,50 +14283,50 @@ function om(e) { ); return t; } -function lm(e, t, n) { - const r = (Ql(n) + (n.options.ruleSpaces ? " " : "")).repeat(om(n)); +function sm(e, t, n) { + const r = (Ql(n) + (n.options.ruleSpaces ? " " : "")).repeat(am(n)); return n.options.ruleSpaces ? r.slice(0, -1) : r; } const ta = { - blockquote: pd, + blockquote: dd, break: ko, - code: bd, - definition: xd, - emphasis: $l, + code: xd, + definition: vd, + emphasis: Ml, hardBreak: ko, - heading: zd, + heading: Nd, html: Vl, image: Wl, imageReference: Yl, inlineCode: Gl, link: Kl, linkReference: Xl, - list: Vd, - listItem: Yd, - paragraph: Gd, - root: tm, + list: Yd, + listItem: Jd, + paragraph: Kd, + root: rm, strong: ea, - text: im, - thematicBreak: lm + text: lm, + thematicBreak: sm }; -function am() { +function um() { return { enter: { - table: sm, + table: cm, tableData: wo, tableHeader: wo, - tableRow: cm + tableRow: pm }, exit: { - codeText: fm, - table: um, + codeText: hm, + table: fm, tableData: Qn, tableHeader: Qn, tableRow: Qn } }; } -function sm(e) { +function cm(e) { const t = e._align; this.enter( { @@ -14329,10 +14339,10 @@ function sm(e) { e ), this.data.inTable = !0; } -function um(e) { +function fm(e) { this.exit(e), this.data.inTable = void 0; } -function cm(e) { +function pm(e) { this.enter({ type: "tableRow", children: [] }, e); } function Qn(e) { @@ -14341,16 +14351,16 @@ function Qn(e) { function wo(e) { this.enter({ type: "tableCell", children: [] }, e); } -function fm(e) { +function hm(e) { let t = this.resume(); - this.data.inTable && (t = t.replace(/\\([\\|])/g, pm)); + this.data.inTable && (t = t.replace(/\\([\\|])/g, dm)); const n = this.stack[this.stack.length - 1]; n.type, n.value = t, this.exit(e); } -function pm(e, t) { +function dm(e, t) { return t === "|" ? t : e; } -function hm(e) { +function mm(e) { const t = e || {}, n = t.tableCellPadding, r = t.tablePipeAlign, i = t.stringLength, o = n ? " " : "|"; return { unsafe: [ @@ -14388,15 +14398,15 @@ function hm(e) { `)); } function s(p, m, g, b) { - const x = g.enter("tableCell"), A = g.enter("phrasing"), C = g.containerPhrasing(p, { + const x = g.enter("tableCell"), A = g.enter("phrasing"), T = g.containerPhrasing(p, { ...b, before: o, after: o }); - return A(), x(), C; + return A(), x(), T; } function c(p, m) { - return ud(p, { + return fd(p, { align: m, // @ts-expect-error: `markdown-table` types should support `null`. alignDelimiters: r, @@ -14409,44 +14419,44 @@ function hm(e) { function f(p, m, g) { const b = p.children; let x = -1; - const A = [], C = m.enter("table"); + const A = [], T = m.enter("table"); for (; ++x < b.length; ) A[x] = u(b[x], m, g); - return C(), A; + return T(), A; } function u(p, m, g) { const b = p.children; let x = -1; - const A = [], C = m.enter("tableRow"); + const A = [], T = m.enter("tableRow"); for (; ++x < b.length; ) A[x] = s(b[x], p, m, g); - return C(), A; + return T(), A; } function d(p, m, g) { let b = ta.inlineCode(p, m, g); return g.stack.includes("tableCell") && (b = b.replace(/\|/g, "\\$&")), b; } } -function dm() { +function gm() { return { exit: { taskListCheckValueChecked: vo, taskListCheckValueUnchecked: vo, - paragraph: gm + paragraph: bm } }; } -function mm() { +function ym() { return { unsafe: [{ atBreak: !0, character: "-", after: "[:|-]" }], - handlers: { listItem: ym } + handlers: { listItem: km } }; } function vo(e) { const t = this.stack[this.stack.length - 2]; t.type, t.checked = e.type === "taskListCheckValueChecked"; } -function gm(e) { +function bm(e) { const t = this.stack[this.stack.length - 2]; if (t && t.type === "listItem" && typeof t.checked == "boolean") { const n = this.stack[this.stack.length - 1]; @@ -14467,7 +14477,7 @@ function gm(e) { } this.exit(e); } -function ym(e, t, n, r) { +function km(e, t, n, r) { const i = e.children[0], o = typeof e.checked == "boolean" && i && i.type === "paragraph", l = "[" + (e.checked ? "x" : " ") + "] ", a = n.createTracker(r); o && a.move(l); let s = ta.listItem(e, t, n, { @@ -14479,27 +14489,27 @@ function ym(e, t, n, r) { return f + l; } } -function bm() { +function xm() { return [ - Ih(), - Hh(), - id(), - am(), - dm() + _h(), + Wh(), + ld(), + um(), + gm() ]; } -function km(e) { +function wm(e) { return { extensions: [ - _h(), - Vh(), - od(), - hm(e), - mm() + Dh(), + Yh(), + ad(), + mm(e), + ym() ] }; } -function xm(e, t, n, r) { +function vm(e, t, n, r) { const i = e.length; let o = 0, l; if (t < 0 ? t = -t > i ? 0 : i + t : t = t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) @@ -14509,14 +14519,14 @@ function xm(e, t, n, r) { l = r.slice(o, o + 1e4), l.unshift(t, 0), e.splice(...l), o += 1e4, t += 1e4; } const Eo = {}.hasOwnProperty; -function wm(e) { +function Em(e) { const t = {}; let n = -1; for (; ++n < e.length; ) - vm(t, e[n]); + Sm(t, e[n]); return t; } -function vm(e, t) { +function Sm(e, t) { let n; for (n in t) { const i = (Eo.call(e, n) ? e[n] : void 0) || (e[n] = {}), o = t[n]; @@ -14525,7 +14535,7 @@ function vm(e, t) { for (l in o) { Eo.call(i, l) || (i[l] = []); const a = o[l]; - Em( + Cm( // @ts-expect-error Looks like a list. i[l], Array.isArray(a) ? a : a ? [a] : [] @@ -14533,61 +14543,61 @@ function vm(e, t) { } } } -function Em(e, t) { +function Cm(e, t) { let n = -1; const r = []; for (; ++n < t.length; ) (t[n].add === "after" ? e : r).push(t[n]); - xm(e, 0, 0, r); + vm(e, 0, 0, r); } -const Sm = Yt(/\p{P}/u), Mt = Yt(/[A-Za-z]/), Ur = Yt(/[\dA-Za-z]/); -function Cm(e) { +const Tm = Yt(/\p{P}/u), $t = Yt(/[A-Za-z]/), Ur = Yt(/[\dA-Za-z]/); +function Am(e) { return ( // Special whitespace codes (which have negative values), C0 and Control // character DEL e !== null && (e < 32 || e === 127) ); } -const Tm = Yt(/[!-/:-@[-`{-~]/); +const Pm = Yt(/[!-/:-@[-`{-~]/); function vt(e) { return e !== null && (e < 0 || e === 32); } function na(e) { - return Tm(e) || Sm(e); + return Pm(e) || Tm(e); } -const $t = Yt(/\s/); +const Mt = Yt(/\s/); function Yt(e) { return t; function t(n) { return n !== null && n > -1 && e.test(String.fromCharCode(n)); } } -const Am = { - tokenize: _m, +const Rm = { + tokenize: Dm, partial: !0 }, ra = { - tokenize: jm, + tokenize: zm, partial: !0 }, ia = { - tokenize: Dm, + tokenize: Lm, partial: !0 }, oa = { - tokenize: zm, + tokenize: Nm, partial: !0 -}, Pm = { - tokenize: Lm, +}, Om = { + tokenize: $m, partial: !0 }, la = { - tokenize: Fm, + tokenize: jm, previous: sa }, aa = { - tokenize: Im, + tokenize: _m, previous: ua }, et = { - tokenize: Om, + tokenize: Im, previous: ca }, Xe = {}; -function Rm() { +function Fm() { return { text: Xe }; @@ -14603,7 +14613,7 @@ Xe[72] = [et, aa]; Xe[104] = [et, aa]; Xe[87] = [et, la]; Xe[119] = [et, la]; -function Om(e, t, n) { +function Im(e, t, n) { const r = this; let i, o; return l; @@ -14615,7 +14625,7 @@ function Om(e, t, n) { } function s(u) { return u === 46 ? e.check( - Pm, + Om, f, c )(u) : u === 45 || u === 95 || Ur(u) ? (o = !0, e.consume(u), s) : f(u); @@ -14624,15 +14634,15 @@ function Om(e, t, n) { return e.consume(u), i = !0, s; } function f(u) { - return o && i && Mt(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(u)) : n(u); + return o && i && $t(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(u)) : n(u); } } -function Fm(e, t, n) { +function jm(e, t, n) { const r = this; return i; function i(l) { return l !== 87 && l !== 119 || !sa.call(r, r.previous) || qr(r.events) ? n(l) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check( - Am, + Rm, e.attempt(ra, e.attempt(ia, o), n), n )(l)); @@ -14641,7 +14651,7 @@ function Fm(e, t, n) { return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(l); } } -function Im(e, t, n) { +function _m(e, t, n) { const r = this; let i = "", o = !1; return l; @@ -14649,7 +14659,7 @@ function Im(e, t, n) { return (u === 72 || u === 104) && ua.call(r, r.previous) && !qr(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), i += String.fromCodePoint(u), e.consume(u), a) : n(u); } function a(u) { - if (Mt(u) && i.length < 5) + if ($t(u) && i.length < 5) return i += String.fromCodePoint(u), e.consume(u), a; if (u === 58) { const d = i.toLowerCase(); @@ -14662,13 +14672,13 @@ function Im(e, t, n) { return u === 47 ? (e.consume(u), o ? c : (o = !0, s)) : n(u); } function c(u) { - return u === null || Cm(u) || vt(u) || $t(u) || na(u) ? n(u) : e.attempt(ra, e.attempt(ia, f), n)(u); + return u === null || Am(u) || vt(u) || Mt(u) || na(u) ? n(u) : e.attempt(ra, e.attempt(ia, f), n)(u); } function f(u) { return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(u); } } -function _m(e, t, n) { +function Dm(e, t, n) { let r = 0; return i; function i(l) { @@ -14678,11 +14688,11 @@ function _m(e, t, n) { return l === null ? n(l) : t(l); } } -function jm(e, t, n) { +function zm(e, t, n) { let r, i, o; return l; function l(c) { - return c === 46 || c === 95 ? e.check(oa, s, a)(c) : c === null || vt(c) || $t(c) || c !== 45 && na(c) ? s(c) : (o = !0, e.consume(c), l); + return c === 46 || c === 95 ? e.check(oa, s, a)(c) : c === null || vt(c) || Mt(c) || c !== 45 && na(c) ? s(c) : (o = !0, e.consume(c), l); } function a(c) { return c === 95 ? r = !0 : (i = r, r = void 0), e.consume(c), l; @@ -14691,36 +14701,36 @@ function jm(e, t, n) { return i || r || !o ? n(c) : t(c); } } -function Dm(e, t) { +function Lm(e, t) { let n = 0, r = 0; return i; function i(l) { - return l === 40 ? (n++, e.consume(l), i) : l === 41 && r < n ? o(l) : l === 33 || l === 34 || l === 38 || l === 39 || l === 41 || l === 42 || l === 44 || l === 46 || l === 58 || l === 59 || l === 60 || l === 63 || l === 93 || l === 95 || l === 126 ? e.check(oa, t, o)(l) : l === null || vt(l) || $t(l) ? t(l) : (e.consume(l), i); + return l === 40 ? (n++, e.consume(l), i) : l === 41 && r < n ? o(l) : l === 33 || l === 34 || l === 38 || l === 39 || l === 41 || l === 42 || l === 44 || l === 46 || l === 58 || l === 59 || l === 60 || l === 63 || l === 93 || l === 95 || l === 126 ? e.check(oa, t, o)(l) : l === null || vt(l) || Mt(l) ? t(l) : (e.consume(l), i); } function o(l) { return l === 41 && r++, e.consume(l), i; } } -function zm(e, t, n) { +function Nm(e, t, n) { return r; function r(a) { return a === 33 || a === 34 || a === 39 || a === 41 || a === 42 || a === 44 || a === 46 || a === 58 || a === 59 || a === 63 || a === 95 || a === 126 ? (e.consume(a), r) : a === 38 ? (e.consume(a), o) : a === 93 ? (e.consume(a), i) : ( // `<` is an end. a === 60 || // So is whitespace. - a === null || vt(a) || $t(a) ? t(a) : n(a) + a === null || vt(a) || Mt(a) ? t(a) : n(a) ); } function i(a) { - return a === null || a === 40 || a === 91 || vt(a) || $t(a) ? t(a) : r(a); + return a === null || a === 40 || a === 91 || vt(a) || Mt(a) ? t(a) : r(a); } function o(a) { - return Mt(a) ? l(a) : n(a); + return $t(a) ? l(a) : n(a); } function l(a) { - return a === 59 ? (e.consume(a), r) : Mt(a) ? (e.consume(a), l) : n(a); + return a === 59 ? (e.consume(a), r) : $t(a) ? (e.consume(a), l) : n(a); } } -function Lm(e, t, n) { +function $m(e, t, n) { return r; function r(o) { return e.consume(o), i; @@ -14733,7 +14743,7 @@ function sa(e) { return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || vt(e); } function ua(e) { - return !Mt(e); + return !$t(e); } function ca(e) { return !(e === 47 || br(e)); @@ -14756,7 +14766,7 @@ function qr(e) { } return e.length > 0 && !n && (e[e.length - 1][1]._gfmAutolinkLiteralWalkedInto = !0), n; } -function Nm(e) { +function Mm(e) { return e !== null && e < -2; } function fn(e) { @@ -14776,50 +14786,50 @@ function Hr(e, t, n, r) { return kr(s) && o++ < i ? (e.consume(s), a) : (e.exit(n), t(s)); } } -const Mm = { - tokenize: $m, +const Bm = { + tokenize: Um, partial: !0 }; -function $m(e, t, n) { +function Um(e, t, n) { return r; function r(o) { return kr(o) ? Hr(e, i, "linePrefix")(o) : i(o); } function i(o) { - return o === null || Nm(o) ? t(o) : n(o); + return o === null || Mm(o) ? t(o) : n(o); } } function Vr(e) { return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); } -const Bm = { - tokenize: Jm, +const qm = { + tokenize: Xm, partial: !0 }; -function Um() { +function Hm() { return { document: { 91: { - tokenize: Wm, + tokenize: Gm, continuation: { - tokenize: Ym + tokenize: Jm }, - exit: Gm + exit: Km } }, text: { 91: { - tokenize: Vm + tokenize: Ym }, 93: { add: "after", - tokenize: qm, - resolveTo: Hm + tokenize: Vm, + resolveTo: Wm } } }; } -function qm(e, t, n) { +function Vm(e, t, n) { const r = this; let i = r.events.length; const o = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []); @@ -14846,7 +14856,7 @@ function qm(e, t, n) { return c.codePointAt(0) !== 94 || !o.includes(c.slice(1)) ? n(s) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(s), e.exit("gfmFootnoteCallLabelMarker"), t(s)); } } -function Hm(e, t) { +function Wm(e, t) { let n = e.length; for (; n--; ) if (e[n][1].type === "labelImage" && e[n][0] === "enter") { @@ -14896,7 +14906,7 @@ function Hm(e, t) { ]; return e.splice(n, e.length - n + 1, ...a), e; } -function Vm(e, t, n) { +function Ym(e, t, n) { const r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []); let o = 0, l; return a; @@ -14926,7 +14936,7 @@ function Vm(e, t, n) { return u === 91 || u === 92 || u === 93 ? (e.consume(u), o++, c) : c(u); } } -function Wm(e, t, n) { +function Gm(e, t, n) { const r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []); let o, l = 0, a; return s; @@ -14966,13 +14976,13 @@ function Wm(e, t, n) { return t(m); } } -function Ym(e, t, n) { - return e.check(Mm, t, e.attempt(Bm, t, n)); +function Jm(e, t, n) { + return e.check(Bm, t, e.attempt(qm, t, n)); } -function Gm(e) { +function Km(e) { e.exit("gfmFootnoteDefinition"); } -function Jm(e, t, n) { +function Xm(e, t, n) { const r = this; return Hr( e, @@ -14994,14 +15004,14 @@ function Zn(e, t, n, r) { for (n && e.splice(t, n); o < r.length; ) l = r.slice(o, o + 1e4), l.unshift(t, 0), e.splice(...l), o += 1e4, t += 1e4; } -const Km = Wr(/\p{P}/u), Xm = Wr(/[!-/:-@[-`{-~]/); -function Qm(e) { +const Qm = Wr(/\p{P}/u), Zm = Wr(/[!-/:-@[-`{-~]/); +function eg(e) { return e !== null && (e < 0 || e === 32); } -function Zm(e) { - return Xm(e) || Km(e); +function tg(e) { + return Zm(e) || Qm(e); } -const eg = Wr(/\s/); +const ng = Wr(/\s/); function Wr(e) { return t; function t(n) { @@ -15009,12 +15019,12 @@ function Wr(e) { } } function So(e) { - if (e === null || Qm(e) || eg(e)) + if (e === null || eg(e) || ng(e)) return 1; - if (Zm(e)) + if (tg(e)) return 2; } -function tg(e, t, n) { +function rg(e, t, n) { const r = []; let i = -1; for (; ++i < e.length; ) { @@ -15023,7 +15033,7 @@ function tg(e, t, n) { } return t; } -function ng(e) { +function ig(e) { let n = (e || {}).singleTilde; const r = { tokenize: o, @@ -15067,7 +15077,7 @@ function ng(e) { d, d.length, 0, - tg(p, l.slice(c + 1, s), a) + rg(p, l.slice(c + 1, s), a) ), Zn(d, d.length, 0, [ ["exit", u, a], ["enter", l[s][1], a], @@ -15119,7 +15129,7 @@ function Dt(e, t, n, r) { return ct(s) && o++ < i ? (e.consume(s), a) : (e.exit(n), t(s)); } } -class rg { +class og { /** * Create a new edit map. */ @@ -15135,7 +15145,7 @@ class rg { * @returns {undefined} */ add(t, n, r) { - ig(this, t, n, r); + lg(this, t, n, r); } // To do: add this when moving to `micromark`. // /** @@ -15174,7 +15184,7 @@ class rg { this.map.length = 0; } } -function ig(e, t, n, r) { +function lg(e, t, n, r) { let i = 0; if (!(n === 0 && r.length === 0)) { for (; i < e.map.length; ) { @@ -15187,7 +15197,7 @@ function ig(e, t, n, r) { e.map.push([t, n, r]); } } -function og(e, t) { +function ag(e, t) { let n = !1; const r = []; for (; t < e.length; ) { @@ -15210,31 +15220,31 @@ function og(e, t) { } return r; } -function lg() { +function sg() { return { flow: { null: { - tokenize: ag, - resolveAll: sg + tokenize: ug, + resolveAll: cg } } }; } -function ag(e, t, n) { +function ug(e, t, n) { const r = this; let i = 0, o = 0, l; return a; function a(v) { - let _ = r.events.length - 1; - for (; _ > -1; ) { - const Z = r.events[_][1].type; + let j = r.events.length - 1; + for (; j > -1; ) { + const Z = r.events[j][1].type; if (Z === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix` Z === "linePrefix") - _--; + j--; else break; } - const z = _ > -1 ? r.events[_][1].type : null, Q = z === "tableHead" || z === "tableRow" ? w : s; + const z = j > -1 ? r.events[j][1].type : null, Q = z === "tableHead" || z === "tableRow" ? w : s; return Q === w && r.parser.lazy[r.now().line] ? n(v) : Q(v); } function s(v) { @@ -15267,18 +15277,18 @@ function ag(e, t, n) { return ct(v) ? Dt(e, b, "whitespace")(v) : b(v); } function b(v) { - return v === 58 ? (o += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(v), e.exit("tableDelimiterMarker"), x) : v === 45 ? (o += 1, x(v)) : v === null || tn(v) ? j(v) : E(v); + return v === 58 ? (o += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(v), e.exit("tableDelimiterMarker"), x) : v === 45 ? (o += 1, x(v)) : v === null || tn(v) ? _(v) : E(v); } function x(v) { return v === 45 ? (e.enter("tableDelimiterFiller"), A(v)) : E(v); } function A(v) { - return v === 45 ? (e.consume(v), A) : v === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(v), e.exit("tableDelimiterMarker"), C) : (e.exit("tableDelimiterFiller"), C(v)); + return v === 45 ? (e.consume(v), A) : v === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(v), e.exit("tableDelimiterMarker"), T) : (e.exit("tableDelimiterFiller"), T(v)); } - function C(v) { - return ct(v) ? Dt(e, j, "whitespace")(v) : j(v); + function T(v) { + return ct(v) ? Dt(e, _, "whitespace")(v) : _(v); } - function j(v) { + function _(v) { return v === 124 ? m(v) : v === null || tn(v) ? !l || i !== o ? E(v) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(v)) : E(v); } function E(v) { @@ -15297,9 +15307,9 @@ function ag(e, t, n) { return v === 92 || v === 124 ? (e.consume(v), U) : U(v); } } -function sg(e, t) { +function cg(e, t) { let n = -1, r = !0, i = 0, o = [0, 0, 0, 0], l = [0, 0, 0, 0], a = !1, s = 0, c, f, u; - const d = new rg(); + const d = new og(); for (; ++n < e.length; ) { const p = e[n], m = p[1]; p[0] === "enter" ? m.type === "tableHead" ? (a = !1, s !== 0 && (To(d, t, s, c, f), f = void 0, s = 0), c = { @@ -15337,7 +15347,7 @@ function sg(e, t) { } for (s !== 0 && To(d, t, s, c, f), d.consume(t.events), n = -1; ++n < t.events.length; ) { const p = t.events[n]; - p[0] === "enter" && p[1].type === "table" && (p[1]._align = og(t.events, n)); + p[0] === "enter" && p[1].type === "table" && (p[1]._align = ag(t.events, n)); } return e; } @@ -15375,16 +15385,16 @@ function bt(e, t) { const n = e[t], r = n[0] === "enter" ? "start" : "end"; return n[1][r]; } -function ug(e) { +function fg(e) { return e !== null && e < -2; } -function cg(e) { +function pg(e) { return e !== null && (e < 0 || e === 32); } function xr(e) { return e === -2 || e === -1 || e === 32; } -function fg(e, t, n, r) { +function hg(e, t, n, r) { const i = r ? r - 1 : Number.POSITIVE_INFINITY; let o = 0; return l; @@ -15395,17 +15405,17 @@ function fg(e, t, n, r) { return xr(s) && o++ < i ? (e.consume(s), a) : (e.exit(n), t(s)); } } -const pg = { - tokenize: dg +const dg = { + tokenize: gg }; -function hg() { +function mg() { return { text: { - 91: pg + 91: dg } }; } -function dg(e, t, n) { +function gg(e, t, n) { const r = this; return i; function i(s) { @@ -15417,64 +15427,64 @@ function dg(e, t, n) { ); } function o(s) { - return cg(s) ? (e.enter("taskListCheckValueUnchecked"), e.consume(s), e.exit("taskListCheckValueUnchecked"), l) : s === 88 || s === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(s), e.exit("taskListCheckValueChecked"), l) : n(s); + return pg(s) ? (e.enter("taskListCheckValueUnchecked"), e.consume(s), e.exit("taskListCheckValueUnchecked"), l) : s === 88 || s === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(s), e.exit("taskListCheckValueChecked"), l) : n(s); } function l(s) { return s === 93 ? (e.enter("taskListCheckMarker"), e.consume(s), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), a) : n(s); } function a(s) { - return ug(s) ? t(s) : xr(s) ? e.check( + return fg(s) ? t(s) : xr(s) ? e.check( { - tokenize: mg + tokenize: yg }, t, n )(s) : n(s); } } -function mg(e, t, n) { - return fg(e, r, "whitespace"); +function yg(e, t, n) { + return hg(e, r, "whitespace"); function r(i) { return i === null ? n(i) : t(i); } } -function gg(e) { - return wm([ - Rm(), - Um(), - ng(e), - lg(), - hg() +function bg(e) { + return Em([ + Fm(), + Hm(), + ig(e), + sg(), + mg() ]); } -const yg = {}; +const kg = {}; function fa(e) { const t = ( /** @type {Processor} */ this - ), n = e || yg, r = t.data(), i = r.micromarkExtensions || (r.micromarkExtensions = []), o = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), l = r.toMarkdownExtensions || (r.toMarkdownExtensions = []); - i.push(gg(n)), o.push(bm()), l.push(km(n)); + ), n = e || kg, r = t.data(), i = r.micromarkExtensions || (r.micromarkExtensions = []), o = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), l = r.toMarkdownExtensions || (r.toMarkdownExtensions = []); + i.push(bg(n)), o.push(xm()), l.push(wm(n)); } -function Eg({ config: e, rules: t }) { +function Cg({ config: e, rules: t }) { const n = Bt(), r = Ao(), i = () => r.current.scrollIntoView(), o = sessionStorage.getItem("gameID"); - return /* @__PURE__ */ T.jsxs("div", { ref: r, className: "flex flex-col items-center m-2 md:m-12", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md", children: [ - /* @__PURE__ */ T.jsxs("article", { className: "prose dark:prose-invert max-w-fit fade-in", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col md:flex-row w-full h-full justify-between items-center", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "text-4xl font-black mb-6 md:mb-0", children: [ - /* @__PURE__ */ T.jsx("span", { className: `text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`, children: e.key }), + return /* @__PURE__ */ C.jsxs("div", { ref: r, className: "flex flex-col items-center m-2 md:m-12", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md", children: [ + /* @__PURE__ */ C.jsxs("article", { className: "prose dark:prose-invert max-w-fit fade-in", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "flex flex-col md:flex-row w-full h-full justify-between items-center", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "text-4xl font-black mb-6 md:mb-0", children: [ + /* @__PURE__ */ C.jsx("span", { className: `text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`, children: e.key }), " Game Rules" ] }), - /* @__PURE__ */ T.jsx("button", { onClick: () => n(o ? "/" + o : "/"), className: "bg-blue-500 px-6 py-2 font-bold italic", children: o ? "Back" : "Play Online" }) + /* @__PURE__ */ C.jsx("button", { onClick: () => n(o ? "/" + o : "/"), className: "bg-blue-500 px-6 py-2 font-bold italic", children: o ? "Back" : "Play Online" }) ] }), - /* @__PURE__ */ T.jsx(Lr, { children: t, remarkPlugins: [fa] }) + /* @__PURE__ */ C.jsx(Lr, { children: t, remarkPlugins: [fa] }) ] }), - /* @__PURE__ */ T.jsx("div", { className: "mt-12 flex flex-col w-full items-center", children: /* @__PURE__ */ T.jsx("button", { className: "text-zinc-500 font-light italic", onClick: i, children: "back to top 👆" }) }) + /* @__PURE__ */ C.jsx("div", { className: "mt-12 flex flex-col w-full items-center", children: /* @__PURE__ */ C.jsx("button", { className: "text-zinc-500 font-light italic", onClick: i, children: "back to top 👆" }) }) ] }), - /* @__PURE__ */ T.jsx("div", { className: "mt-8", children: /* @__PURE__ */ T.jsx(pn, {}) }) + /* @__PURE__ */ C.jsx("div", { className: "mt-8", children: /* @__PURE__ */ C.jsx(pn, {}) }) ] }); } -function Sg({ config: e }) { +function Tg({ config: e }) { const t = Bt(), n = Ao(), r = sessionStorage.getItem("gameID"), i = ` Find a bug? There are two ways to send a report: 1. Send an email to support@quibbble.com. @@ -15491,25 +15501,25 @@ Reports go a long way to improving the site for everyone so they are greatly app ~ *Chris* `; - return /* @__PURE__ */ T.jsxs("div", { ref: n, className: "flex flex-col items-center m-2 md:m-12", children: [ - /* @__PURE__ */ T.jsx("div", { className: "w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md", children: /* @__PURE__ */ T.jsxs("article", { className: "prose dark:prose-invert max-w-fit fade-in", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col md:flex-row w-full h-full justify-between items-center", children: [ - /* @__PURE__ */ T.jsxs("div", { className: "text-4xl font-black mb-6 md:mb-0", children: [ - /* @__PURE__ */ T.jsx("span", { className: `text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`, children: e.key }), + return /* @__PURE__ */ C.jsxs("div", { ref: n, className: "flex flex-col items-center m-2 md:m-12", children: [ + /* @__PURE__ */ C.jsx("div", { className: "w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md", children: /* @__PURE__ */ C.jsxs("article", { className: "prose dark:prose-invert max-w-fit fade-in", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "flex flex-col md:flex-row w-full h-full justify-between items-center", children: [ + /* @__PURE__ */ C.jsxs("div", { className: "text-4xl font-black mb-6 md:mb-0", children: [ + /* @__PURE__ */ C.jsx("span", { className: `text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`, children: e.key }), " Bug Report" ] }), - /* @__PURE__ */ T.jsx("button", { onClick: () => t(r ? "/" + r : "/"), className: "bg-blue-500 px-6 py-2 font-bold italic", children: r ? "Back" : "Play Online" }) + /* @__PURE__ */ C.jsx("button", { onClick: () => t(r ? "/" + r : "/"), className: "bg-blue-500 px-6 py-2 font-bold italic", children: r ? "Back" : "Play Online" }) ] }), - /* @__PURE__ */ T.jsx(Lr, { children: i, remarkPlugins: [fa] }) + /* @__PURE__ */ C.jsx(Lr, { children: i, remarkPlugins: [fa] }) ] }) }), - /* @__PURE__ */ T.jsx("div", { className: "mt-8", children: /* @__PURE__ */ T.jsx(pn, {}) }) + /* @__PURE__ */ C.jsx("div", { className: "mt-8", children: /* @__PURE__ */ C.jsx(pn, {}) }) ] }); } export { - Sg as BugsPage, - xg as DownPage, + Tg as BugsPage, + vg as DownPage, pn as Footer, - vg as GamePage, - wg as HomePage, - Eg as RulesPage + Sg as GamePage, + Eg as HomePage, + Cg as RulesPage }; diff --git a/dist/index.umd.js b/dist/index.umd.js index a8f16db..5d8f442 100644 --- a/dist/index.umd.js +++ b/dist/index.umd.js @@ -1,4 +1,4 @@ -(function(_e,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom"],ie):(_e=typeof globalThis<"u"?globalThis:_e||self,ie(_e.boardgame={},_e.React,_e.reactRouterDom))})(this,function(_e,ie,ht){"use strict";const tg="";function At(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vn={exports:{}},Pt={};/** +(function(je,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom"],ie):(je=typeof globalThis<"u"?globalThis:je||self,ie(je.boardgame={},je.React,je.reactRouterDom))})(this,function(je,ie,ht){"use strict";const rg="";function At(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vn={exports:{}},Pt={};/** * @license React * react-jsx-runtime.production.min.js * @@ -14,57 +14,57 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Wr;function ca(){return Wr||(Wr=1,process.env.NODE_ENV!=="production"&&function(){var e=ie,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator";function b(k){if(k===null||typeof k!="object")return null;var O=m&&k[m]||k[g];return typeof O=="function"?O:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(k){{for(var O=arguments.length,L=new Array(O>1?O-1:0),X=1;X1?O-1:0),X=1;X=1&&Pe>=0&&ae[Ce]!==Re[Pe];)Pe--;for(;Ce>=1&&Pe>=0;Ce--,Pe--)if(ae[Ce]!==Re[Pe]){if(Ce!==1||Pe!==1)do if(Ce--,Pe--,Pe<0||ae[Ce]!==Re[Pe]){var He=` -`+ae[Ce].replace(" at new "," at ");return k.displayName&&He.includes("")&&(He=He.replace("",k.displayName)),typeof k=="function"&&K.set(k,He),He}while(Ce>=1&&Pe>=0);break}}}finally{re=!1,$.current=ke,ne(),Error.prepareStackTrace=de}var Tt=k?k.displayName||k.name:"",sa=Tt?Y(Tt):"";return typeof k=="function"&&K.set(k,sa),sa}function Oe(k,O,L){return D(k,!1)}function M(k){var O=k.prototype;return!!(O&&O.isReactComponent)}function ze(k,O,L){if(k==null)return"";if(typeof k=="function")return D(k,M(k));if(typeof k=="string")return Y(k);switch(k){case c:return Y("Suspense");case f:return Y("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case s:return Oe(k.render);case u:return ze(k.type,O,L);case d:{var X=k,de=X._payload,ke=X._init;try{return ze(ke(de),O,L)}catch{}}}return""}var qe=Object.prototype.hasOwnProperty,lt={},Ht=x.ReactDebugCurrentFrame;function St(k){if(k){var O=k._owner,L=ze(k.type,k._source,O?O.type:null);Ht.setExtraStackFrame(L)}else Ht.setExtraStackFrame(null)}function bn(k,O,L,X,de){{var ke=Function.call.bind(qe);for(var ue in k)if(ke(k,ue)){var ae=void 0;try{if(typeof k[ue]!="function"){var Re=Error((X||"React class")+": "+L+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Re.name="Invariant Violation",Re}ae=k[ue](O,ue,X,L,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ce){ae=Ce}ae&&!(ae instanceof Error)&&(St(de),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",X||"React class",L,ue,typeof ae),St(null)),ae instanceof Error&&!(ae.message in lt)&&(lt[ae.message]=!0,St(de),A("Failed %s type: %s",L,ae.message),St(null))}}}var kn=Array.isArray;function Vt(k){return kn(k)}function Br(k){{var O=typeof Symbol=="function"&&Symbol.toStringTag,L=O&&k[Symbol.toStringTag]||k.constructor.name||"Object";return L}}function Ur(k){try{return xn(k),!1}catch{return!0}}function xn(k){return""+k}function wn(k){if(Ur(k))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Br(k)),xn(k)}var S=x.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0},V,pe,he;he={};function Le(k){if(qe.call(k,"ref")){var O=Object.getOwnPropertyDescriptor(k,"ref").get;if(O&&O.isReactWarning)return!1}return k.ref!==void 0}function Qe(k){if(qe.call(k,"key")){var O=Object.getOwnPropertyDescriptor(k,"key").get;if(O&&O.isReactWarning)return!1}return k.key!==void 0}function Ve(k,O){if(typeof k.ref=="string"&&S.current&&O&&S.current.stateNode!==O){var L=Q(S.current.type);he[L]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Q(S.current.type),k.ref),he[L]=!0)}}function ft(k,O){{var L=function(){V||(V=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};L.isReactWarning=!0,Object.defineProperty(k,"key",{get:L,configurable:!0})}}function pt(k,O){{var L=function(){pe||(pe=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};L.isReactWarning=!0,Object.defineProperty(k,"ref",{get:L,configurable:!0})}}var Ee=function(k,O,L,X,de,ke,ue){var ae={$$typeof:t,type:k,key:O,ref:L,props:ue,_owner:ke};return ae._store={},Object.defineProperty(ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:de}),Object.freeze&&(Object.freeze(ae.props),Object.freeze(ae)),ae};function Wt(k,O,L,X,de){{var ke,ue={},ae=null,Re=null;L!==void 0&&(wn(L),ae=""+L),Qe(O)&&(wn(O.key),ae=""+O.key),Le(O)&&(Re=O.ref,Ve(O,de));for(ke in O)qe.call(O,ke)&&!I.hasOwnProperty(ke)&&(ue[ke]=O[ke]);if(k&&k.defaultProps){var Ce=k.defaultProps;for(ke in Ce)ue[ke]===void 0&&(ue[ke]=Ce[ke])}if(ae||Re){var Pe=typeof k=="function"?k.displayName||k.name||"Unknown":k;ae&&ft(ue,Pe),Re&&pt(ue,Pe)}return Ee(k,ae,Re,de,X,S.current,ue)}}var Ne=x.ReactCurrentOwner,na=x.ReactDebugCurrentFrame;function Ct(k){if(k){var O=k._owner,L=ze(k.type,k._source,O?O.type:null);na.setExtraStackFrame(L)}else na.setExtraStackFrame(null)}var qr;qr=!1;function Hr(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function ra(){{if(Ne.current){var k=Q(Ne.current.type);if(k)return` +`+ae[Ce].replace(" at new "," at ");return k.displayName&&He.includes("")&&(He=He.replace("",k.displayName)),typeof k=="function"&&K.set(k,He),He}while(Ce>=1&&Pe>=0);break}}}finally{re=!1,$.current=ke,ne(),Error.prepareStackTrace=de}var Tt=k?k.displayName||k.name:"",sa=Tt?Y(Tt):"";return typeof k=="function"&&K.set(k,sa),sa}function Oe(k,O,L){return D(k,!1)}function M(k){var O=k.prototype;return!!(O&&O.isReactComponent)}function ze(k,O,L){if(k==null)return"";if(typeof k=="function")return D(k,M(k));if(typeof k=="string")return Y(k);switch(k){case c:return Y("Suspense");case f:return Y("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case s:return Oe(k.render);case u:return ze(k.type,O,L);case d:{var X=k,de=X._payload,ke=X._init;try{return ze(ke(de),O,L)}catch{}}}return""}var qe=Object.prototype.hasOwnProperty,lt={},Ht=x.ReactDebugCurrentFrame;function St(k){if(k){var O=k._owner,L=ze(k.type,k._source,O?O.type:null);Ht.setExtraStackFrame(L)}else Ht.setExtraStackFrame(null)}function bn(k,O,L,X,de){{var ke=Function.call.bind(qe);for(var ue in k)if(ke(k,ue)){var ae=void 0;try{if(typeof k[ue]!="function"){var Re=Error((X||"React class")+": "+L+" type `"+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[ue]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Re.name="Invariant Violation",Re}ae=k[ue](O,ue,X,L,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ce){ae=Ce}ae&&!(ae instanceof Error)&&(St(de),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",X||"React class",L,ue,typeof ae),St(null)),ae instanceof Error&&!(ae.message in lt)&&(lt[ae.message]=!0,St(de),A("Failed %s type: %s",L,ae.message),St(null))}}}var kn=Array.isArray;function Vt(k){return kn(k)}function Br(k){{var O=typeof Symbol=="function"&&Symbol.toStringTag,L=O&&k[Symbol.toStringTag]||k.constructor.name||"Object";return L}}function Ur(k){try{return xn(k),!1}catch{return!0}}function xn(k){return""+k}function wn(k){if(Ur(k))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Br(k)),xn(k)}var C=x.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0},V,pe,he;he={};function Le(k){if(qe.call(k,"ref")){var O=Object.getOwnPropertyDescriptor(k,"ref").get;if(O&&O.isReactWarning)return!1}return k.ref!==void 0}function Qe(k){if(qe.call(k,"key")){var O=Object.getOwnPropertyDescriptor(k,"key").get;if(O&&O.isReactWarning)return!1}return k.key!==void 0}function Ve(k,O){if(typeof k.ref=="string"&&C.current&&O&&C.current.stateNode!==O){var L=Q(C.current.type);he[L]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Q(C.current.type),k.ref),he[L]=!0)}}function ft(k,O){{var L=function(){V||(V=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};L.isReactWarning=!0,Object.defineProperty(k,"key",{get:L,configurable:!0})}}function pt(k,O){{var L=function(){pe||(pe=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O))};L.isReactWarning=!0,Object.defineProperty(k,"ref",{get:L,configurable:!0})}}var Ee=function(k,O,L,X,de,ke,ue){var ae={$$typeof:t,type:k,key:O,ref:L,props:ue,_owner:ke};return ae._store={},Object.defineProperty(ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:de}),Object.freeze&&(Object.freeze(ae.props),Object.freeze(ae)),ae};function Wt(k,O,L,X,de){{var ke,ue={},ae=null,Re=null;L!==void 0&&(wn(L),ae=""+L),Qe(O)&&(wn(O.key),ae=""+O.key),Le(O)&&(Re=O.ref,Ve(O,de));for(ke in O)qe.call(O,ke)&&!I.hasOwnProperty(ke)&&(ue[ke]=O[ke]);if(k&&k.defaultProps){var Ce=k.defaultProps;for(ke in Ce)ue[ke]===void 0&&(ue[ke]=Ce[ke])}if(ae||Re){var Pe=typeof k=="function"?k.displayName||k.name||"Unknown":k;ae&&ft(ue,Pe),Re&&pt(ue,Pe)}return Ee(k,ae,Re,de,X,C.current,ue)}}var Ne=x.ReactCurrentOwner,na=x.ReactDebugCurrentFrame;function Ct(k){if(k){var O=k._owner,L=ze(k.type,k._source,O?O.type:null);na.setExtraStackFrame(L)}else na.setExtraStackFrame(null)}var qr;qr=!1;function Hr(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function ra(){{if(Ne.current){var k=Q(Ne.current.type);if(k)return` -Check the render method of \``+k+"`."}return""}}function Ym(k){{if(k!==void 0){var O=k.fileName.replace(/^.*[\\\/]/,""),L=k.lineNumber;return` +Check the render method of \``+k+"`."}return""}}function Jm(k){{if(k!==void 0){var O=k.fileName.replace(/^.*[\\\/]/,""),L=k.lineNumber;return` -Check your code at `+O+":"+L+"."}return""}}var ia={};function Gm(k){{var O=ra();if(!O){var L=typeof k=="string"?k:k.displayName||k.name;L&&(O=` +Check your code at `+O+":"+L+"."}return""}}var ia={};function Km(k){{var O=ra();if(!O){var L=typeof k=="string"?k:k.displayName||k.name;L&&(O=` -Check the top-level render call using <`+L+">.")}return O}}function oa(k,O){{if(!k._store||k._store.validated||k.key!=null)return;k._store.validated=!0;var L=Gm(O);if(ia[L])return;ia[L]=!0;var X="";k&&k._owner&&k._owner!==Ne.current&&(X=" It was passed a child from "+Q(k._owner.type)+"."),Ct(k),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',L,X),Ct(null)}}function la(k,O){{if(typeof k!="object")return;if(Vt(k))for(var L=0;L",ae=" Did you accidentally export a JSX literal instead of a component?"):Ce=typeof k,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ce,ae)}var Pe=Wt(k,O,L,de,ke);if(Pe==null)return Pe;if(ue){var He=O.children;if(He!==void 0)if(X)if(Vt(He)){for(var Tt=0;TtT.jsx("a",{className:`${n} text-zinc-300 hover:text-zinc-100 transition ease-in-out`,href:e,target:"_blank",rel:"noreferrer",children:t});function Rt(){return T.jsxs("div",{className:"flex flex-col items-center w-full font-light text-sm",children:[T.jsxs("div",{className:"flex",children:[T.jsx(dt,{href:"mailto:hello@quibbble.com",title:"Contact"}),T.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),T.jsx(dt,{href:"https://www.buymeacoffee.com/quibbble",title:"Support"}),T.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),T.jsx(dt,{href:"https://discord.gg/VKvjutuhUp",title:"Discord"}),T.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),T.jsx(dt,{href:"https://github.com/quibbble",title:"Github"}),T.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),T.jsx(dt,{href:"https://status.quibbble.com",title:"Status"})]}),T.jsxs("p",{className:"mt-4 text-zinc-300 flex",children:["Made with ♥ by ",T.jsx(dt,{className:"underline",href:"https://chrisfregly.com",title:" Chris Fregly"})]})]})}function Yr(e,t){return function(){return e.apply(t,arguments)}}const{toString:fa}=Object.prototype,{getPrototypeOf:En}=Object,Yt=(e=>t=>{const n=fa.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),We=e=>(e=e.toLowerCase(),t=>Yt(t)===e),Gt=e=>t=>typeof t===e,{isArray:mt}=Array,Ft=Gt("undefined");function pa(e){return e!==null&&!Ft(e)&&e.constructor!==null&&!Ft(e.constructor)&&$e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gr=We("ArrayBuffer");function ha(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Gr(e.buffer),t}const da=Gt("string"),$e=Gt("function"),Jr=Gt("number"),Jt=e=>e!==null&&typeof e=="object",ma=e=>e===!0||e===!1,Kt=e=>{if(Yt(e)!=="object")return!1;const t=En(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ga=We("Date"),ya=We("File"),ba=We("Blob"),ka=We("FileList"),xa=e=>Jt(e)&&$e(e.pipe),wa=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$e(e.append)&&((t=Yt(e))==="formdata"||t==="object"&&$e(e.toString)&&e.toString()==="[object FormData]"))},va=We("URLSearchParams"),Ea=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function It(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),mt(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Xr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Qr=e=>!Ft(e)&&e!==Xr;function Sn(){const{caseless:e}=Qr(this)&&this||{},t={},n=(r,i)=>{const o=e&&Kr(t,i)||i;Kt(t[o])&&Kt(r)?t[o]=Sn(t[o],r):Kt(r)?t[o]=Sn({},r):mt(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(It(t,(i,o)=>{n&&$e(i)?e[o]=Yr(i,n):e[o]=i},{allOwnKeys:r}),e),Ca=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ta=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Aa=(e,t,n,r)=>{let i,o,l;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)l=i[o],(!r||r(l,e,t))&&!a[l]&&(t[l]=e[l],a[l]=!0);e=n!==!1&&En(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Pa=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Oa=e=>{if(!e)return null;if(mt(e))return e;let t=e.length;if(!Jr(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ra=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&En(Uint8Array)),Fa=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Ia=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},_a=We("HTMLFormElement"),ja=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Zr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Da=We("RegExp"),ei=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};It(n,(i,o)=>{let l;(l=t(i,o,e))!==!1&&(r[o]=l||i)}),Object.defineProperties(e,r)},za=e=>{ei(e,(t,n)=>{if($e(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if($e(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},La=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return mt(e)?r(e):r(String(e).split(t)),n},Na=()=>{},$a=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Cn="abcdefghijklmnopqrstuvwxyz",ti="0123456789",ni={DIGIT:ti,ALPHA:Cn,ALPHA_DIGIT:Cn+Cn.toUpperCase()+ti},Ma=(e=16,t=ni.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ba(e){return!!(e&&$e(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ua=e=>{const t=new Array(10),n=(r,i)=>{if(Jt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=mt(r)?[]:{};return It(r,(l,a)=>{const s=n(l,i+1);!Ft(s)&&(o[a]=s)}),t[i]=void 0,o}}return r};return n(e,0)},qa=We("AsyncFunction"),P={isArray:mt,isArrayBuffer:Gr,isBuffer:pa,isFormData:wa,isArrayBufferView:ha,isString:da,isNumber:Jr,isBoolean:ma,isObject:Jt,isPlainObject:Kt,isUndefined:Ft,isDate:ga,isFile:ya,isBlob:ba,isRegExp:Da,isFunction:$e,isStream:xa,isURLSearchParams:va,isTypedArray:Ra,isFileList:ka,forEach:It,merge:Sn,extend:Sa,trim:Ea,stripBOM:Ca,inherits:Ta,toFlatObject:Aa,kindOf:Yt,kindOfTest:We,endsWith:Pa,toArray:Oa,forEachEntry:Fa,matchAll:Ia,isHTMLForm:_a,hasOwnProperty:Zr,hasOwnProp:Zr,reduceDescriptors:ei,freezeMethods:za,toObjectSet:La,toCamelCase:ja,noop:Na,toFiniteNumber:$a,findKey:Kr,global:Xr,isContextDefined:Qr,ALPHABET:ni,generateString:Ma,isSpecCompliantForm:Ba,toJSONObject:Ua,isAsyncFn:qa,isThenable:e=>e&&(Jt(e)||$e(e))&&$e(e.then)&&$e(e.catch)};function se(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}P.inherits(se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ri=se.prototype,ii={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ii[e]={value:e}}),Object.defineProperties(se,ii),Object.defineProperty(ri,"isAxiosError",{value:!0}),se.from=(e,t,n,r,i,o)=>{const l=Object.create(ri);return P.toFlatObject(e,l,function(s){return s!==Error.prototype},a=>a!=="isAxiosError"),se.call(l,e.message,t,n,r,i),l.cause=e,l.name=e.name,o&&Object.assign(l,o),l};const Ha=null;function Tn(e){return P.isPlainObject(e)||P.isArray(e)}function oi(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function li(e,t,n){return e?e.concat(t).map(function(i,o){return i=oi(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Va(e){return P.isArray(e)&&!e.some(Tn)}const Wa=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function Xt(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!P.isUndefined(b[g])});const r=n.metaTokens,i=n.visitor||f,o=n.dots,l=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(P.isDate(m))return m.toISOString();if(!s&&P.isBlob(m))throw new se("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(m)||P.isTypedArray(m)?s&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,g,b){let x=m;if(m&&!b&&typeof m=="object"){if(P.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(P.isArray(m)&&Va(m)||(P.isFileList(m)||P.endsWith(g,"[]"))&&(x=P.toArray(m)))return g=oi(g),x.forEach(function(C,j){!(P.isUndefined(C)||C===null)&&t.append(l===!0?li([g],j,o):l===null?g:g+"[]",c(C))}),!1}return Tn(m)?!0:(t.append(li(b,g,o),c(m)),!1)}const u=[],d=Object.assign(Wa,{defaultVisitor:f,convertValue:c,isVisitable:Tn});function p(m,g){if(!P.isUndefined(m)){if(u.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(m),P.forEach(m,function(x,A){(!(P.isUndefined(x)||x===null)&&i.call(t,x,P.isString(A)?A.trim():A,g,d))===!0&&p(x,g?g.concat(A):[A])}),u.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ai(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function An(e,t){this._pairs=[],e&&Xt(e,this,t)}const si=An.prototype;si.append=function(t,n){this._pairs.push([t,n])},si.toString=function(t){const n=t?function(r){return t.call(this,r,ai)}:ai;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Ya(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ui(e,t,n){if(!t)return e;const r=n&&n.encode||Ya,i=n&&n.serialize;let o;if(i?o=i(t,n):o=P.isURLSearchParams(t)?t.toString():new An(t,n).toString(r),o){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ga{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ci=Ga,fi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ja={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:An,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},pi=typeof window<"u"&&typeof document<"u",Ka=(e=>pi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Xa=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ye={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pi,hasStandardBrowserEnv:Ka,hasStandardBrowserWebWorkerEnv:Xa},Symbol.toStringTag,{value:"Module"})),...Ja};function Qa(e,t){return Xt(e,new Ye.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Ye.isNode&&P.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Za(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function es(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return l=!l&&P.isArray(i)?i.length:l,s?(P.hasOwnProp(i,l)?i[l]=[i[l],r]:i[l]=r,!a):((!i[l]||!P.isObject(i[l]))&&(i[l]=[]),t(n,r,i[l],o)&&P.isArray(i[l])&&(i[l]=es(i[l])),!a)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(r,i)=>{t(Za(r),i,n,0)}),n}return null}function ts(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Pn={transitional:fi,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=P.isObject(t);if(o&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return i&&i?JSON.stringify(hi(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Qa(t,this.formSerializer).toString();if((a=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Xt(a?{"files[]":t}:t,s&&new s,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),ts(t)):t}],transformResponse:[function(t){const n=this.transitional||Pn.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&P.isString(t)&&(r&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(l)throw a.name==="SyntaxError"?se.from(a,se.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ye.classes.FormData,Blob:Ye.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{Pn.headers[e]={}});const On=Pn,ns=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rs=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&ns[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},di=Symbol("internals");function _t(e){return e&&String(e).trim().toLowerCase()}function Qt(e){return e===!1||e==null?e:P.isArray(e)?e.map(Qt):String(e)}function is(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const os=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Rn(e,t,n,r,i){if(P.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function ls(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function as(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,l){return this[r].call(this,t,i,o,l)},configurable:!0})})}class Zt{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,s,c){const f=_t(s);if(!f)throw new Error("header name must be a non-empty string");const u=P.findKey(i,f);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||s]=Qt(a))}const l=(a,s)=>P.forEach(a,(c,f)=>o(c,f,s));return P.isPlainObject(t)||t instanceof this.constructor?l(t,n):P.isString(t)&&(t=t.trim())&&!os(t)?l(rs(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=_t(t),t){const r=P.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return is(i);if(P.isFunction(n))return n.call(this,i,r);if(P.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_t(t),t){const r=P.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Rn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(l){if(l=_t(l),l){const a=P.findKey(r,l);a&&(!n||Rn(r,r[a],a,n))&&(delete r[a],i=!0)}}return P.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Rn(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return P.forEach(this,(i,o)=>{const l=P.findKey(r,o);if(l){n[l]=Qt(i),delete n[o];return}const a=t?ls(o):String(o).trim();a!==o&&delete n[o],n[a]=Qt(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return P.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&P.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[di]=this[di]={accessors:{}}).accessors,i=this.prototype;function o(l){const a=_t(l);r[a]||(as(i,l),r[a]=!0)}return P.isArray(t)?t.forEach(o):o(t),this}}Zt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(Zt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),P.freezeMethods(Zt);const Ze=Zt;function Fn(e,t){const n=this||On,r=t||n,i=Ze.from(r.headers);let o=r.data;return P.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function mi(e){return!!(e&&e.__CANCEL__)}function jt(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}P.inherits(jt,se,{__CANCEL__:!0});function ss(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const us=Ye.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const l=[e+"="+encodeURIComponent(t)];P.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),P.isString(r)&&l.push("path="+r),P.isString(i)&&l.push("domain="+i),o===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function cs(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function fs(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function gi(e,t){return e&&!cs(t)?fs(e,t):t}const ps=Ye.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let l=o;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(l){const a=P.isString(l)?i(l):l;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function hs(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ds(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,l;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),f=r[o];l||(l=c),n[i]=s,r[i]=c;let u=o,d=0;for(;u!==i;)d+=n[u++],u=u%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-l{const o=i.loaded,l=i.lengthComputable?i.total:void 0,a=o-n,s=r(a),c=o<=l;n=o;const f={loaded:o,total:l,progress:l?o/l:void 0,bytes:a,rate:s||void 0,estimated:s&&l&&c?(l-o)/s:void 0,event:i};f[t?"download":"upload"]=!0,e(f)}}const In={http:Ha,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){let i=e.data;const o=Ze.from(e.headers).normalize();let{responseType:l,withXSRFToken:a}=e,s;function c(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}let f;if(P.isFormData(i)){if(Ye.hasStandardBrowserEnv||Ye.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((f=o.getContentType())!==!1){const[g,...b]=f?f.split(";").map(x=>x.trim()).filter(Boolean):[];o.setContentType([g||"multipart/form-data",...b].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(g+":"+b))}const d=gi(e.baseURL,e.url);u.open(e.method.toUpperCase(),ui(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!u)return;const g=Ze.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),x={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:g,config:e,request:u};ss(function(C){n(C),c()},function(C){r(C),c()},x),u=null}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){u&&(r(new se("Request aborted",se.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new se("Network Error",se.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const x=e.transitional||fi;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new se(b,x.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,u)),u=null},Ye.hasStandardBrowserEnv&&(a&&P.isFunction(a)&&(a=a(e)),a||a!==!1&&ps(d))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&us.read(e.xsrfCookieName);g&&o.set(e.xsrfHeaderName,g)}i===void 0&&o.setContentType(null),"setRequestHeader"in u&&P.forEach(o.toJSON(),function(b,x){u.setRequestHeader(x,b)}),P.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),l&&l!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",yi(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",yi(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=g=>{u&&(r(!g||g.type?new jt(null,e,u):g),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const m=hs(d);if(m&&Ye.protocols.indexOf(m)===-1){r(new se("Unsupported protocol "+m+":",se.ERR_BAD_REQUEST,e));return}u.send(i||null)})}};P.forEach(In,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bi=e=>`- ${e}`,ms=e=>P.isFunction(e)||e===null||e===!1,ki={getAdapter:e=>{e=P.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${a} `+(s===!1?"is not supported by the environment":"is not available in the build"));let l=t?o.length>1?`since : +Check the top-level render call using <`+L+">.")}return O}}function oa(k,O){{if(!k._store||k._store.validated||k.key!=null)return;k._store.validated=!0;var L=Km(O);if(ia[L])return;ia[L]=!0;var X="";k&&k._owner&&k._owner!==Ne.current&&(X=" It was passed a child from "+Q(k._owner.type)+"."),Ct(k),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',L,X),Ct(null)}}function la(k,O){{if(typeof k!="object")return;if(Vt(k))for(var L=0;L",ae=" Did you accidentally export a JSX literal instead of a component?"):Ce=typeof k,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ce,ae)}var Pe=Wt(k,O,L,de,ke);if(Pe==null)return Pe;if(ue){var He=O.children;if(He!==void 0)if(X)if(Vt(He)){for(var Tt=0;TtS.jsx("a",{className:`${n} text-zinc-300 hover:text-zinc-100 transition ease-in-out`,href:e,target:"_blank",rel:"noreferrer",children:t});function Rt(){return S.jsxs("div",{className:"flex flex-col items-center w-full font-light text-sm",children:[S.jsxs("div",{className:"flex",children:[S.jsx(dt,{href:"mailto:hello@quibbble.com",title:"Contact"}),S.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),S.jsx(dt,{href:"https://www.buymeacoffee.com/quibbble",title:"Support"}),S.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),S.jsx(dt,{href:"https://discord.gg/VKvjutuhUp",title:"Discord"}),S.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),S.jsx(dt,{href:"https://github.com/quibbble",title:"Github"}),S.jsx("p",{className:"mx-2 md:mx-4",children:"/"}),S.jsx(dt,{href:"https://status.quibbble.com",title:"Status"})]}),S.jsxs("p",{className:"mt-4 text-zinc-300 flex",children:["Made with ♥ by ",S.jsx(dt,{className:"underline",href:"https://chrisfregly.com",title:" Chris Fregly"})]})]})}function Yr(e,t){return function(){return e.apply(t,arguments)}}const{toString:fa}=Object.prototype,{getPrototypeOf:En}=Object,Yt=(e=>t=>{const n=fa.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),We=e=>(e=e.toLowerCase(),t=>Yt(t)===e),Gt=e=>t=>typeof t===e,{isArray:mt}=Array,Ft=Gt("undefined");function pa(e){return e!==null&&!Ft(e)&&e.constructor!==null&&!Ft(e.constructor)&&$e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gr=We("ArrayBuffer");function ha(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Gr(e.buffer),t}const da=Gt("string"),$e=Gt("function"),Jr=Gt("number"),Jt=e=>e!==null&&typeof e=="object",ma=e=>e===!0||e===!1,Kt=e=>{if(Yt(e)!=="object")return!1;const t=En(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ga=We("Date"),ya=We("File"),ba=We("Blob"),ka=We("FileList"),xa=e=>Jt(e)&&$e(e.pipe),wa=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$e(e.append)&&((t=Yt(e))==="formdata"||t==="object"&&$e(e.toString)&&e.toString()==="[object FormData]"))},va=We("URLSearchParams"),Ea=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function It(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),mt(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Xr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Qr=e=>!Ft(e)&&e!==Xr;function Sn(){const{caseless:e}=Qr(this)&&this||{},t={},n=(r,i)=>{const o=e&&Kr(t,i)||i;Kt(t[o])&&Kt(r)?t[o]=Sn(t[o],r):Kt(r)?t[o]=Sn({},r):mt(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(It(t,(i,o)=>{n&&$e(i)?e[o]=Yr(i,n):e[o]=i},{allOwnKeys:r}),e),Ca=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ta=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Aa=(e,t,n,r)=>{let i,o,l;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)l=i[o],(!r||r(l,e,t))&&!a[l]&&(t[l]=e[l],a[l]=!0);e=n!==!1&&En(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Pa=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Oa=e=>{if(!e)return null;if(mt(e))return e;let t=e.length;if(!Jr(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ra=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&En(Uint8Array)),Fa=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Ia=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ja=We("HTMLFormElement"),_a=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Zr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Da=We("RegExp"),ei=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};It(n,(i,o)=>{let l;(l=t(i,o,e))!==!1&&(r[o]=l||i)}),Object.defineProperties(e,r)},za=e=>{ei(e,(t,n)=>{if($e(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if($e(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},La=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return mt(e)?r(e):r(String(e).split(t)),n},Na=()=>{},$a=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Cn="abcdefghijklmnopqrstuvwxyz",ti="0123456789",ni={DIGIT:ti,ALPHA:Cn,ALPHA_DIGIT:Cn+Cn.toUpperCase()+ti},Ma=(e=16,t=ni.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ba(e){return!!(e&&$e(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ua=e=>{const t=new Array(10),n=(r,i)=>{if(Jt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=mt(r)?[]:{};return It(r,(l,a)=>{const s=n(l,i+1);!Ft(s)&&(o[a]=s)}),t[i]=void 0,o}}return r};return n(e,0)},qa=We("AsyncFunction"),P={isArray:mt,isArrayBuffer:Gr,isBuffer:pa,isFormData:wa,isArrayBufferView:ha,isString:da,isNumber:Jr,isBoolean:ma,isObject:Jt,isPlainObject:Kt,isUndefined:Ft,isDate:ga,isFile:ya,isBlob:ba,isRegExp:Da,isFunction:$e,isStream:xa,isURLSearchParams:va,isTypedArray:Ra,isFileList:ka,forEach:It,merge:Sn,extend:Sa,trim:Ea,stripBOM:Ca,inherits:Ta,toFlatObject:Aa,kindOf:Yt,kindOfTest:We,endsWith:Pa,toArray:Oa,forEachEntry:Fa,matchAll:Ia,isHTMLForm:ja,hasOwnProperty:Zr,hasOwnProp:Zr,reduceDescriptors:ei,freezeMethods:za,toObjectSet:La,toCamelCase:_a,noop:Na,toFiniteNumber:$a,findKey:Kr,global:Xr,isContextDefined:Qr,ALPHABET:ni,generateString:Ma,isSpecCompliantForm:Ba,toJSONObject:Ua,isAsyncFn:qa,isThenable:e=>e&&(Jt(e)||$e(e))&&$e(e.then)&&$e(e.catch)};function se(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}P.inherits(se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ri=se.prototype,ii={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ii[e]={value:e}}),Object.defineProperties(se,ii),Object.defineProperty(ri,"isAxiosError",{value:!0}),se.from=(e,t,n,r,i,o)=>{const l=Object.create(ri);return P.toFlatObject(e,l,function(s){return s!==Error.prototype},a=>a!=="isAxiosError"),se.call(l,e.message,t,n,r,i),l.cause=e,l.name=e.name,o&&Object.assign(l,o),l};const Ha=null;function Tn(e){return P.isPlainObject(e)||P.isArray(e)}function oi(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function li(e,t,n){return e?e.concat(t).map(function(i,o){return i=oi(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Va(e){return P.isArray(e)&&!e.some(Tn)}const Wa=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function Xt(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!P.isUndefined(b[g])});const r=n.metaTokens,i=n.visitor||f,o=n.dots,l=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(P.isDate(m))return m.toISOString();if(!s&&P.isBlob(m))throw new se("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(m)||P.isTypedArray(m)?s&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,g,b){let x=m;if(m&&!b&&typeof m=="object"){if(P.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(P.isArray(m)&&Va(m)||(P.isFileList(m)||P.endsWith(g,"[]"))&&(x=P.toArray(m)))return g=oi(g),x.forEach(function(T,_){!(P.isUndefined(T)||T===null)&&t.append(l===!0?li([g],_,o):l===null?g:g+"[]",c(T))}),!1}return Tn(m)?!0:(t.append(li(b,g,o),c(m)),!1)}const u=[],d=Object.assign(Wa,{defaultVisitor:f,convertValue:c,isVisitable:Tn});function p(m,g){if(!P.isUndefined(m)){if(u.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(m),P.forEach(m,function(x,A){(!(P.isUndefined(x)||x===null)&&i.call(t,x,P.isString(A)?A.trim():A,g,d))===!0&&p(x,g?g.concat(A):[A])}),u.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ai(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function An(e,t){this._pairs=[],e&&Xt(e,this,t)}const si=An.prototype;si.append=function(t,n){this._pairs.push([t,n])},si.toString=function(t){const n=t?function(r){return t.call(this,r,ai)}:ai;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Ya(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ui(e,t,n){if(!t)return e;const r=n&&n.encode||Ya,i=n&&n.serialize;let o;if(i?o=i(t,n):o=P.isURLSearchParams(t)?t.toString():new An(t,n).toString(r),o){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ga{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ci=Ga,fi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ja={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:An,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},pi=typeof window<"u"&&typeof document<"u",Ka=(e=>pi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Xa=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ye={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pi,hasStandardBrowserEnv:Ka,hasStandardBrowserWebWorkerEnv:Xa},Symbol.toStringTag,{value:"Module"})),...Ja};function Qa(e,t){return Xt(e,new Ye.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Ye.isNode&&P.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Za(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function es(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return l=!l&&P.isArray(i)?i.length:l,s?(P.hasOwnProp(i,l)?i[l]=[i[l],r]:i[l]=r,!a):((!i[l]||!P.isObject(i[l]))&&(i[l]=[]),t(n,r,i[l],o)&&P.isArray(i[l])&&(i[l]=es(i[l])),!a)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(r,i)=>{t(Za(r),i,n,0)}),n}return null}function ts(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Pn={transitional:fi,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=P.isObject(t);if(o&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return i&&i?JSON.stringify(hi(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Qa(t,this.formSerializer).toString();if((a=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Xt(a?{"files[]":t}:t,s&&new s,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),ts(t)):t}],transformResponse:[function(t){const n=this.transitional||Pn.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&P.isString(t)&&(r&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(l)throw a.name==="SyntaxError"?se.from(a,se.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ye.classes.FormData,Blob:Ye.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{Pn.headers[e]={}});const On=Pn,ns=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rs=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&ns[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},di=Symbol("internals");function jt(e){return e&&String(e).trim().toLowerCase()}function Qt(e){return e===!1||e==null?e:P.isArray(e)?e.map(Qt):String(e)}function is(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const os=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Rn(e,t,n,r,i){if(P.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function ls(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function as(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,l){return this[r].call(this,t,i,o,l)},configurable:!0})})}class Zt{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,s,c){const f=jt(s);if(!f)throw new Error("header name must be a non-empty string");const u=P.findKey(i,f);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||s]=Qt(a))}const l=(a,s)=>P.forEach(a,(c,f)=>o(c,f,s));return P.isPlainObject(t)||t instanceof this.constructor?l(t,n):P.isString(t)&&(t=t.trim())&&!os(t)?l(rs(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=jt(t),t){const r=P.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return is(i);if(P.isFunction(n))return n.call(this,i,r);if(P.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=jt(t),t){const r=P.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Rn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(l){if(l=jt(l),l){const a=P.findKey(r,l);a&&(!n||Rn(r,r[a],a,n))&&(delete r[a],i=!0)}}return P.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Rn(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return P.forEach(this,(i,o)=>{const l=P.findKey(r,o);if(l){n[l]=Qt(i),delete n[o];return}const a=t?ls(o):String(o).trim();a!==o&&delete n[o],n[a]=Qt(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return P.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&P.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[di]=this[di]={accessors:{}}).accessors,i=this.prototype;function o(l){const a=jt(l);r[a]||(as(i,l),r[a]=!0)}return P.isArray(t)?t.forEach(o):o(t),this}}Zt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(Zt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),P.freezeMethods(Zt);const Ze=Zt;function Fn(e,t){const n=this||On,r=t||n,i=Ze.from(r.headers);let o=r.data;return P.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function mi(e){return!!(e&&e.__CANCEL__)}function _t(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}P.inherits(_t,se,{__CANCEL__:!0});function ss(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const us=Ye.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const l=[e+"="+encodeURIComponent(t)];P.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),P.isString(r)&&l.push("path="+r),P.isString(i)&&l.push("domain="+i),o===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function cs(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function fs(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function gi(e,t){return e&&!cs(t)?fs(e,t):t}const ps=Ye.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let l=o;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(l){const a=P.isString(l)?i(l):l;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function hs(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ds(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,l;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),f=r[o];l||(l=c),n[i]=s,r[i]=c;let u=o,d=0;for(;u!==i;)d+=n[u++],u=u%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-l{const o=i.loaded,l=i.lengthComputable?i.total:void 0,a=o-n,s=r(a),c=o<=l;n=o;const f={loaded:o,total:l,progress:l?o/l:void 0,bytes:a,rate:s||void 0,estimated:s&&l&&c?(l-o)/s:void 0,event:i};f[t?"download":"upload"]=!0,e(f)}}const In={http:Ha,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){let i=e.data;const o=Ze.from(e.headers).normalize();let{responseType:l,withXSRFToken:a}=e,s;function c(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}let f;if(P.isFormData(i)){if(Ye.hasStandardBrowserEnv||Ye.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((f=o.getContentType())!==!1){const[g,...b]=f?f.split(";").map(x=>x.trim()).filter(Boolean):[];o.setContentType([g||"multipart/form-data",...b].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(g+":"+b))}const d=gi(e.baseURL,e.url);u.open(e.method.toUpperCase(),ui(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!u)return;const g=Ze.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),x={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:g,config:e,request:u};ss(function(T){n(T),c()},function(T){r(T),c()},x),u=null}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){u&&(r(new se("Request aborted",se.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new se("Network Error",se.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const x=e.transitional||fi;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new se(b,x.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,u)),u=null},Ye.hasStandardBrowserEnv&&(a&&P.isFunction(a)&&(a=a(e)),a||a!==!1&&ps(d))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&us.read(e.xsrfCookieName);g&&o.set(e.xsrfHeaderName,g)}i===void 0&&o.setContentType(null),"setRequestHeader"in u&&P.forEach(o.toJSON(),function(b,x){u.setRequestHeader(x,b)}),P.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),l&&l!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",yi(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",yi(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=g=>{u&&(r(!g||g.type?new _t(null,e,u):g),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const m=hs(d);if(m&&Ye.protocols.indexOf(m)===-1){r(new se("Unsupported protocol "+m+":",se.ERR_BAD_REQUEST,e));return}u.send(i||null)})}};P.forEach(In,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bi=e=>`- ${e}`,ms=e=>P.isFunction(e)||e===null||e===!1,ki={getAdapter:e=>{e=P.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${a} `+(s===!1?"is not supported by the environment":"is not available in the build"));let l=t?o.length>1?`since : `+o.map(bi).join(` -`):" "+bi(o[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:In};function _n(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jt(null,e)}function xi(e){return _n(e),e.headers=Ze.from(e.headers),e.data=Fn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ki.getAdapter(e.adapter||On.adapter)(e).then(function(r){return _n(e),r.data=Fn.call(e,e.transformResponse,r),r.headers=Ze.from(r.headers),r},function(r){return mi(r)||(_n(e),r&&r.response&&(r.response.data=Fn.call(e,e.transformResponse,r.response),r.response.headers=Ze.from(r.response.headers))),Promise.reject(r)})}const wi=e=>e instanceof Ze?e.toJSON():e;function gt(e,t){t=t||{};const n={};function r(c,f,u){return P.isPlainObject(c)&&P.isPlainObject(f)?P.merge.call({caseless:u},c,f):P.isPlainObject(f)?P.merge({},f):P.isArray(f)?f.slice():f}function i(c,f,u){if(P.isUndefined(f)){if(!P.isUndefined(c))return r(void 0,c,u)}else return r(c,f,u)}function o(c,f){if(!P.isUndefined(f))return r(void 0,f)}function l(c,f){if(P.isUndefined(f)){if(!P.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function a(c,f,u){if(u in t)return r(c,f);if(u in e)return r(void 0,c)}const s={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:a,headers:(c,f)=>i(wi(c),wi(f),!0)};return P.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=s[f]||i,d=u(e[f],t[f],f);P.isUndefined(d)&&u!==a||(n[f]=d)}),n}const vi="1.6.2",jn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{jn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ei={};jn.transitional=function(t,n,r){function i(o,l){return"[Axios v"+vi+"] Transitional option '"+o+"'"+l+(r?". "+r:"")}return(o,l,a)=>{if(t===!1)throw new se(i(l," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Ei[l]&&(Ei[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,l,a):!0}};function gs(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],l=t[o];if(l){const a=e[o],s=a===void 0||l(a,o,e);if(s!==!0)throw new se("option "+o+" must be "+s,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+o,se.ERR_BAD_OPTION)}}const Dn={assertOptions:gs,validators:jn},nt=Dn.validators;class en{constructor(t){this.defaults=t,this.interceptors={request:new ci,response:new ci}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=gt(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Dn.assertOptions(r,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},!1),i!=null&&(P.isFunction(i)?n.paramsSerializer={serialize:i}:Dn.assertOptions(i,{encode:nt.function,serialize:nt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&P.merge(o.common,o[n.method]);o&&P.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=Ze.concat(l,o);const a=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let f,u=0,d;if(!s){const m=[xi.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,c),d=m.length,f=Promise.resolve(n);u{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const l=new Promise(a=>{r.subscribe(a),o=a}).then(i);return l.cancel=function(){r.unsubscribe(o)},l},t(function(o,l,a){r.reason||(r.reason=new jt(o,l,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new zn(function(i){t=i}),cancel:t}}}const ys=zn;function bs(e){return function(n){return e.apply(null,n)}}function ks(e){return P.isObject(e)&&e.isAxiosError===!0}const Ln={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ln).forEach(([e,t])=>{Ln[t]=e});const xs=Ln;function Si(e){const t=new tn(e),n=Yr(tn.prototype.request,t);return P.extend(n,tn.prototype,t,{allOwnKeys:!0}),P.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Si(gt(e,i))},n}const Te=Si(On);Te.Axios=tn,Te.CanceledError=jt,Te.CancelToken=ys,Te.isCancel=mi,Te.VERSION=vi,Te.toFormData=Xt,Te.AxiosError=se,Te.Cancel=Te.CanceledError,Te.all=function(t){return Promise.all(t)},Te.spread=bs,Te.isAxiosError=ks,Te.mergeConfig=gt,Te.AxiosHeaders=Ze,Te.formToJSON=e=>hi(P.isHTMLForm(e)?new FormData(e):e),Te.getAdapter=ki.getAdapter,Te.HttpStatusCode=xs,Te.default=Te;const nn=Te;nn.defaults.withCredentials=!0;const ws=async(e,t,n,r,i)=>{let o={method:"POST",url:`${e}/game/create`,headers:{"Content-Type":"application/json"},data:JSON.stringify({GameKey:t,GameID:n.toLowerCase(),Teams:r,TurnLength:null,MoreOptions:i})};return nn(o).catch(l=>l.response).then(l=>l.status)},vs=async(e,t,n)=>{let r={method:"GET",url:`${e}/game/snapshot?GameKey=${t}&GameID=${n.toLowerCase()}`};return nn(r).catch(i=>i.response)},Ci=async e=>{let t={method:"GET",url:`${e}/health`};return nn(t).catch(n=>n.response)};function Es({config:e}){const t=ht.useNavigate();return ie.useEffect(()=>{const n=async()=>{let i=await Ci(e.host);if(i&&i.status===200){let o=sessionStorage.getItem("gameID");t(o?`/${o}`:"/")}};n();const r=setInterval(async()=>{n()},1e4);return()=>clearInterval(r)},[t]),T.jsxs("div",{className:"flex flex-col items-center my-8 md:my-12",children:[T.jsxs("div",{className:"w-full flex flex-col items-center mt-48",children:[T.jsx("p",{className:"font-black text-4xl italic",children:"We'll be right back!"}),T.jsxs("p",{className:"mb-1 font-thin",children:[T.jsx("span",{className:`text-3xl font-black font-['${e.font}'] text-${e.color} mr-1`,children:e.key})," is down for maintenance"]})]}),T.jsx("div",{className:"absolute bottom-8 md:bottom-12",children:T.jsx(Rt,{})})]})}const Ti=["able","about","above","abuzz","ace","achy","acid","acned","acute","adept","adult","afire","afoot","afoul","aft","after","aged","agile","aging","aglow","ago","ahead","aided","airy","ajar","akin","alert","alien","alike","alive","alone","aloof","alpha","alto","amber","ample","angry","anti","antic","antsy","any","apart","apish","apt","arced","arch","arid","ashen","ashy","askew","astir","atrip","attic","avian","avid","awake","aware","awash","away","awed","awful","awing","awned","awry","axial","azure","back","bad","baggy","bald","balmy","bandy","bare","bared","basal","base","based","basic","bated","bats","batty","bay","beady","beamy","beat","beefy","beery","beige","bent","best","beta","bias","birch","bitty","black","blame","bland","blank","bleak","blear","blind","blond","blown","blue","bluff","blunt","boggy","bogus","bold","bone","boned","bonny","bony","boon","boozy","bored","born","boss","bossy","both","bound","bowed","boxed","boxy","brag","brash","brave","brief","briny","brisk","broad","broke","brown","brute","buff","buggy","built","bulgy","bulky","bully","bum","bumpy","burly","burnt","bush","bushy","bust","busty","busy","butch","calm","camp","campy","catty","cheap","chewy","chic","chief","civic","civil","clean","clear","cleft","close","cocky","cod","cold","color","comfy","comic","cool","coral","corny","cosy","coy","cozy","crazy","crisp","cross","cubic","cured","curly","curt","curvy","cushy","cut","cute","cyan","daft","daily","damp","dandy","dank","dark","dated","dazed","deaf","dear","deep","deft","deist","dense","dewy","dicey","dim","dingy","dinky","dire","dirty","dodgy","domed","done","dopey","dopy","dormy","down","downy","dozen","drab","drawn","dread","drear","dress","dried","droll","dry","dual","dud","due","dull","dumb","dummy","dusky","dusty","dyed","dying","each","eager","early","eased","east","easy","edged","edgy","eerie","eight","elder","elect","elfin","elite","empty","ended","epic","equal","even","every","evil","exact","extra","eyed","fab","faced","faded","faint","fair","fake","false","famed","fancy","far","fast","fat","fatal","fated","fazed","feral","few","fewer","fiery","fifth","fifty","filmy","final","fine","finer","fired","firm","first","fishy","fit","five","fixed","fizzy","flaky","flash","flat","fleet","flint","flip","fluid","flush","fly","foamy","focal","foggy","fond","fore","foul","found","four","foxy","frail","frank","free","fresh","fried","front","full","fumed","funky","funny","furry","fused","fussy","fuzzy","game","gaudy","gaunt","gawky","giant","giddy","gimpy","glad","glum","godly","going","gold","gone","good","gooey","goofy","grand","great","green","grey","grim","grimy","gross","grown","gruff","gummy","gushy","gusty","gutsy","hairy","hale","half","halt","hammy","handy","happy","hard","hardy","harsh","hasty","hazel","hazy","heard","heavy","hefty","held","here","hex","hexed","high","hilly","hind","hip","hired","hoar","hoary","hokey","holey","holy","home","homey","honey","horny","hot","huffy","huge","human","humid","hurt","husky","icky","icy","ideal","idle","iffy","ill","inert","inky","inner","ionic","irate","iron","jade","jaded","jaggy","jawed","jazzy","jet","joint","jolly","jowly","juicy","jumbo","jumpy","just","kempt","key","keyed","khaki","kin","kind","kinky","known","kooky","laced","lacy","laid","lame","lank","lanky","large","last","late","later","lax","lay","lazy","leafy","leaky","lean","least","left","legal","less","level","light","like","liked","limp","lined","lit","live","liver","livid","loamy","local","loco","lofty","lone","long","loony","loopy","loose","lossy","lost","loud","lousy","loved","low","lowly","loyal","lucid","lucky","lumpy","lunar","lurid","lush","lusty","lyric","macho","macro","mad","made","magic","main","major","male","mangy","manic","manly","many","mass","matt","matte","mauve","mealy","mean","meaty","meek","meet","mere","merry","messy","metal","micro","mild","milky","mimic","mined","mini","minor","mint","minty","minus","mired","mirky","misty","mixed","mock","mod","modal","model","moist","molar","moldy","mono","moody","moony","moot","moral","more","mossy","most","mothy","motor","mousy","moved","mown","much","mucky","muddy","muggy","mum","mural","murky","mushy","musky","must","musty","mute","muted","naive","nary","nasal","nasty","natal","natty","naval","near","neat","needy","nervy","new","newsy","next","nice","nifty","nigh","nine","ninth","noble","noisy","none","north","nosed","noted","novel","nubby","numb","nuts","nutty","oaken","oaten","obese","odd","oiled","oily","okay","old","olden","older","olive","one","only","oozy","open","optic","oral","other","out","outer","oval","over","overt","owing","own","owned","pagan","paid","pale","palmy","pass","past","pasty","pat","paved","peaky","peaty","pedal","pent","peppy","perky","pert","pesky","pet","petty","phony","piano","picky","pied","piggy","pilar","pink","plain","plane","plumb","plump","plus","plush","polar","poor","pop","port","posed","posh","potty","pricy","prim","prior","privy","prize","prone","proof","prosy","proud","pudgy","puff","puffy","pulpy","punk","puny","pupal","pure","pushy","quack","quasi","quick","quiet","rabid","radio","rainy","rapid","rare","rash","raspy","ratty","raw","ready","real","rear","red","regal","retro","rich","rife","right","rigid","riled","ripe","risen","risky","ritzy","roast","robed","rocky","roomy","ropey","rose","rosy","rough","round","rowdy","royal","ruby","rude","ruled","rum","rummy","runic","runny","runty","rural","rush","rushy","rust","rusty","rutty","sad","safe","sage","said","salt","salty","same","sandy","sane","sappy","sassy","saute","saved","scaly","scant","scary","scrub","seamy","sear","seedy","self","sent","seven","sewed","sewn","shady","shaky","sham","sharp","shed","sheer","shiny","short","shot","showy","shut","shy","sick","side","sign","silky","silly","silty","sissy","six","sixth","sixty","size","sized","skew","skim","slack","slain","slaty","slav","sleek","slick","slim","slimy","slow","sly","small","smart","smoky","smug","snaky","sneak","snide","snowy","snub","snuff","snug","soapy","sober","soft","soggy","solar","sold","sole","solid","solo","some","sooty","sore","sorry","sound","soupy","sour","south","sown","spare","spent","spicy","spiky","spiny","splay","split","spry","spumy","squab","squat","stagy","stale","star","stark","steep","stern","stiff","still","stock","stone","stony","stout","straw","stray","stuck","stung","suave","such","sudsy","sulky","sunk","sunny","super","sure","surly","sweet","swell","swept","swift","swish","sworn","tabby","taboo","tacky","taken","talky","tall","tame","tamed","tan","tangy","taped","tardy","tart","tasty","tawny","teal","ten","tenor","tense","tenth","tepid","terse","testy","thick","thin","third","three","tidal","tidy","tied","tight","tiled","timed","timid","tinny","tiny","tipsy","tired","toed","token","tonal","toned","tonic","top","tops","torn","total","tough","toxic","tried","trig","trim","trite","true","tubby","tubed","tumid","twee","twin","two","ugly","ultra","uncut","under","undue","unfed","unfit","union","unlit","unwed","upper","upset","urban","used","usual","utter","vague","vain","valid","vapid","vast","viral","vital","vivid","vocal","void","wacky","warm","wary","washy","waste","wavy","waxed","waxen","waxy","weak","weary","weedy","weeny","weepy","weird","well","welsh","west","wet","whiny","white","whole","wide","wild","wily","wimpy","windy","wired","wiry","wise","wispy","witty","wonky","woody","wooly","woozy","wordy","wormy","worn","worse","worst","worth","wound","woven","wrong","wroth","wry","young","yucky","yummy","zany","zero","zesty","zippy","zonal"],Ai=["ace","ache","acid","acme","acorn","acre","act","actor","add","adder","adept","advil","afro","agave","age","aged","agent","agony","ailey","aim","aioli","air","aisle","akron","alarm","album","ale","alert","algae","alias","alibi","alien","alley","alloy","ally","aloe","alpha","alps","altar","amber","amigo","amino","amish","ammo","amp","angel","anger","angle","angst","angus","anime","ankle","annex","anole","ant","ante","antic","anvil","ape","apex","aphid","apple","april","apron","aqua","arbor","arc","arch","area","arena","argon","argus","ark","arm","armor","arms","army","aroma","array","arrow","arson","art","ascot","aspen","asset","ate","atom","attic","audio","audit","auger","aunt","aunty","aura","auto","award","awe","awl","axe","axiom","axis","axle","azure","baby","back","bacon","badge","bag","bagel","bail","bait","baker","bale","balk","ball","balm","ban","band","bane","banjo","bank","banks","bar","barb","bard","barge","bark","barn","baron","bars","base","bash","basic","basil","basin","basis","bass","bat","batch","bath","baton","bay","bayou","beach","bead","beads","beak","beam","bean","bear","beard","beast","beat","beats","bed","bee","beech","beef","beep","beer","beet","begin","beige","being","belch","bell","belly","belt","bench","bend","bends","bent","beret","berry","bet","beta","bevel","bevy","bias","bib","bible","bid","bidet","bike","biker","bill","bin","bind","bingo","biome","biped","birch","bird","birth","bison","bit","bite","biter","black","blade","blame","blank","blast","blaze","blend","blimp","blind","bling","blink","blip","bliss","blitz","bloat","blob","block","blog","bloke","blond","blood","bloom","blow","blue","blues","bluff","blur","blurb","blush","boa","boar","board","boast","boat","bod","body","bog","bogey","boil","bold","bolt","bomb","bond","bone","boner","bones","bong","bongo","bonus","boo","book","boom","boon","boost","boot","booth","booty","booze","bore","borer","born","boss","bot","botch","bound","bow","bowel","bowl","bowls","box","boxer","boy","bra","brace","brag","braid","brail","brain","brake","bran","brand","brass","brat","brave","bravo","brawl","brawn","bread","break","breed","brew","briar","bribe","brick","bride","brie","brief","brim","brine","brink","brit","brits","britt","broad","broil","brood","brook","broom","broth","brow","brown","brunt","brush","brute","buck","bud","buddy","budge","buff","bug","buggy","bugle","build","bulb","bulge","bulk","bull","bully","bum","bump","bun","bunch","bung","bunk","bunny","buns","bunt","buoy","bur","burn","burns","burp","burst","bus","bush","bust","buy","buyer","buzz","bye","bylaw","byte","cab","cabin","cable","cabot","cache","caddy","cadet","cafe","cage","cager","cake","calf","call","calm","cam","camel","camp","can","canal","candy","cane","cap","cape","caper","car","carat","card","cards","care","caret","cargo","carp","carry","cart","case","cash","cask","cast","caste","cat","catch","caulk","cause","cave","cavil","caw","cease","cedar","cell","cello","cent","chaff","chain","chair","chalk","champ","chant","chaos","chap","chard","charm","chart","chase","chasm","chat","cheat","check","cheek","cheep","cheer","chef","chess","chest","chew","chic","chick","chief","child","chill","chime","chimp","chin","chip","chips","chirp","chit","chive","chock","choir","choke","choky","chomp","chop","chord","chore","chow","chuck","chug","chum","chump","chunk","churn","chute","cider","cigar","cinch","cite","city","clack","claim","clam","clamp","clams","clan","clang","clank","clap","clash","clasp","class","clay","clean","clear","cleat","cleft","clerk","click","cliff","climb","cling","clip","cloak","clock","clog","clone","close","clot","cloth","cloud","clout","clove","clown","club","cluck","clue","clump","clunk","coach","coal","coast","coat","cobra","cocoa","cod","code","cog","coil","coin","coke","cola","cold","colon","color","colt","coma","comb","combo","come","comet","comic","comma","conch","condo","cone","coney","conk","cook","cool","coot","cop","cope","copy","coral","cord","cords","core","cork","corn","corp","corps","cost","costs","cosy","cot","couch","cough","count","court","cove","coven","cover","cow","cowl","cows","cozy","crab","crabs","crack","craft","cramp","crane","crank","crash","crate","crawl","craze","crazy","creak","cream","cred","cree","creed","creek","creep","crepe","cress","crest","crew","crib","crime","crimp","crisp","croak","crock","crook","crop","cross","crow","crowd","crown","crud","crude","crumb","crush","crust","crux","cry","crypt","cub","cubby","cube","cubit","cue","cuff","cull","cult","cup","curb","curd","cure","curl","curry","curse","curve","cut","cyan","cycle","cynic","dab","daily","dairy","daisy","dame","damp","dance","dandy","dane","dare","dark","dart","darts","dash","data","date","dawn","day","days","daze","deaf","deal","dean","dear","debit","debt","debut","decal","decay","deck","decor","decoy","deed","deeds","deep","deer","delay","deli","delta","demo","demon","denim","dent","depot","depth","derby","desk","detox","deuce","devil","dew","dial","diary","dibs","dice","diet","dig","digit","digs","dill","dime","diner","ding","dip","dirt","disc","disco","dish","disk","ditch","ditto","dive","diver","dock","dodge","dog","dogma","doll","dolly","dolt","dome","donor","donut","doom","door","dope","dork","dorm","dot","doubt","dough","dove","dowel","down","dozen","dozer","draft","drag","drain","drama","drape","draw","dread","dream","dress","drew","drier","drift","drill","drink","drip","drive","drone","drool","drop","drove","drug","druid","drum","dry","dryer","duck","duct","due","duel","duet","dug","dunce","dune","dunk","dusk","dust","duty","dye","dyer","dying","eager","eagle","ear","earth","ease","easel","east","eater","eats","echo","edge","eel","egg","eggs","ego","eight","elbow","elder","elect","elf","elite","elk","elm","elves","email","ember","empty","emu","end","enemy","entry","envy","epic","epoxy","equal","era","error","essay","eve","even","event","evil","exam","exile","exit","extra","eye","eyes","fable","face","facet","fact","fad","fade","faint","fair","fairy","faith","fake","fall","falls","fame","fan","fancy","fang","far","farce","fare","farm","fast","fat","fate","fault","favor","fawn","fax","fear","feast","feat","fed","fee","feed","feel","felt","femur","fence","fern","ferry","fetch","feud","fever","few","fib","fiber","field","fiend","fifth","fifty","fig","fight","file","filet","fill","film","filth","final","finch","find","fine","fire","firm","first","fish","fist","fit","five","fiver","fives","fix","fixer","fizz","flag","flair","flak","flake","flame","flank","flap","flaps","flare","flash","flask","flat","flats","flaw","flea","fleet","flesh","flex","flick","flier","flies","fling","flint","flip","flirt","float","flock","flood","floor","flop","floss","flour","flow","flu","flub","fluff","fluid","fluke","flume","flush","flute","flux","fly","flyer","foam","focus","fog","foil","fold","folk","folks","folly","font","food","fool","foot","force","forge","fork","form","fort","forth","forty","forum","foul","found","four","fowl","fox","foyer","frail","frame","frat","fraud","fray","freak","free","freon","fret","friar","fries","frill","frisk","frizz","frog","front","frost","froth","frown","fruit","fry","fryer","fudge","fuel","full","fume","fumes","fun","fund","funds","fungi","funk","funny","fur","fury","fuse","fuss","futon","fuze","fuzz","gag","gage","gain","game","gamma","gap","gape","gas","gash","gasp","gate","gates","gator","gauge","gavel","gawk","gaze","gear","gecko","geek","gel","gem","gene","genie","genoa","genre","gent","germ","ghost","ghoul","giant","gift","gild","gimp","gin","gipsy","girl","gist","give","given","giver","gizmo","glad","glade","gland","glans","glare","glass","glaze","gleam","glee","glide","glint","globe","gloom","glory","gloss","glove","glow","glue","gnat","gnome","goal","goat","going","gold","golem","golf","goner","goo","good","goof","goofy","goon","goose","goth","gouge","gown","grab","grace","grad","grade","graft","grail","grain","gram","grand","grant","grape","graph","grasp","grass","grate","gravy","gray","graze","great","greed","green","grey","grid","grief","grill","grime","grin","grind","grip","gripe","grit","grits","groan","groom","gross","group","grove","growl","grub","gruel","grump","grunt","guard","guess","guest","guide","guild","guilt","gulch","gulf","gull","gulp","gum","gun","guppy","guru","gush","gust","gut","guts","guy","gym","habit","hack","hag","hail","hair","half","hall","halo","halt","ham","hand","hands","handy","hang","hare","harp","hash","haste","hat","hatch","hate","hater","haunt","have","haven","havoc","hawk","hay","haze","hazel","head","heap","heaps","heart","heat","heavy","hedge","heed","heel","heft","heir","helix","hell","hello","helm","help","hem","hemp","hen","herb","herd","here","hero","hex","hick","hide","high","hike","hiker","hill","hilt","hind","hinge","hint","hip","hippo","hippy","hire","hiss","hit","hitch","hive","hives","hoagy","hoard","hoax","hob","hobby","hobo","hog","hoist","hold","hole","home","honey","honk","honor","hoof","hook","hooks","hoop","hoops","hoot","hop","hope","hops","horde","horn","horse","hose","host","hotel","hound","hour","hours","house","howl","hub","hue","huff","hug","hula","hulk","hull","hum","human","humor","hump","humus","hunch","hunk","hunt","hurl","hurry","hurt","hush","husk","husky","hut","hydra","hyena","hymn","hype","ibis","ice","icing","icon","idea","ideal","idiom","idiot","idle","idler","idol","igloo","iglu","ill","image","imp","inch","index","info","ingot","ink","inlet","inn","input","intro","ion","iris","iron","irony","isle","issue","itch","ivory","ivy","jab","jack","jacks","jail","jam","jamb","jar","java","jaw","jay","jazz","jean","jeans","jeep","jeer","jello","jelly","jest","jet","jetty","jewel","jig","jive","job","jock","jog","join","joint","joist","joke","joker","jolly","jolt","joust","joy","judge","jug","juice","juke","jump","junk","junky","juror","jury","kale","kayak","kazoo","kebab","keen","keep","keg","kelp","key","kick","kid","kiddy","kiln","kilo","kilt","kin","kind","king","kiss","kit","kite","kitty","kiwi","knack","knee","kneel","knell","knife","knit","knob","knock","knot","know","koala","krill","lab","label","labor","lace","lack","lad","ladle","lady","lag","lair","lake","lamb","lame","lamp","lance","land","lane","lap","lapel","lapse","lard","large","larva","laser","lash","lass","lasso","last","lat","latch","latex","lathe","latte","laugh","lava","law","lawn","laws","lay","layer","layup","leach","lead","leaf","leak","lean","leap","lear","lease","leash","least","leave","ledge","leech","leeds","leek","leer","left","lefty","leg","lego","legs","lemon","lemur","lens","lent","let","level","lever","liar","libel","lick","lid","lie","lied","life","lift","light","like","lilac","limb","limbo","lime","limit","limp","line","linen","liner","link","links","lint","lion","lip","lisp","list","lit","liter","liver","llama","loach","load","loads","loaf","loan","lob","lobby","lobe","local","lock","lodge","loft","log","logic","logo","loner","look","loom","loon","loony","loop","loot","lord","loser","loss","lost","lot","lots","lotto","lotus","love","lover","low","lower","luck","lump","lunch","lung","lure","lush","lying","mace","macro","madam","mafia","magi","magic","magma","maid","mail","main","major","maker","male","malt","mam","mama","mamba","mambo","mamma","man","mane","mango","mania","manor","map","maple","march","mare","mark","marks","mars","marsh","mash","mask","mass","mast","mat","match","mate","mates","math","maths","max","maxim","may","mayo","mayor","maze","meal","mean","means","meat","medal","medic","meet","meld","melee","melon","melt","memo","men","mend","menu","meow","mercy","merit","mesh","mess","metal","meter","meth","metro","might","mile","milk","mill","mills","mimer","mimic","min","mince","mind","mine","miner","mini","mink","minor","mint","minus","miser","miss","mist","mite","miter","mitt","mix","mixer","moan","moat","mob","mocha","mock","mod","modal","mode","model","modem","mogul","mojo","molar","mold","mole","molt","mom","momma","mommy","money","monk","month","moo","mooch","mood","moody","moon","moose","mop","mope","moped","moral","morse","moss","motel","moth","motor","motto","mould","mound","mount","mouse","mouth","move","mover","movie","mow","mucus","mud","muff","mug","mulch","mule","mum","mummy","munch","mural","muse","mush","music","musk","must","mute","mutt","mylar","nacho","name","namer","names","nanna","nap","nasal","navy","neck","need","needy","neon","nepal","nerd","nerve","nest","net","news","newt","nick","niece","night","nine","niner","ninja","ninth","noble","nod","node","noise","nomad","none","nook","noon","noose","north","nose","notch","note","noun","nudge","nuke","nun","nurse","nut","nylon","oaf","oak","oar","oasis","oat","oates","oath","ocean","octet","odds","ode","odor","offer","ogre","oil","oiler","oink","okay","old","oldie","olive","omega","omen","one","onion","onset","ooze","open","optic","oral","orange","orb","orbit","orca","order","ore","oreo","organ","ounce","out","oval","oven","over","owl","owner","oxbow","oxen","ozone","pace","pacer","pack","pact","pad","page","pager","pail","pain","pains","paint","pair","pal","pale","palm","pan","panda","pane","panel","panic","pansy","pant","pants","papa","paper","par","park","parks","part","parts","party","pass","past","pasta","paste","pat","patch","path","patio","pause","pave","paw","pawn","pay","payer","peace","peach","peak","pear","pearl","pecan","pedal","peek","peel","peer","peg","pelt","pen","penny","perch","peril","perk","pesto","pet","petal","petty","phase","phone","photo","piano","pick","pie","piece","pier","pig","piggy","pigmy","pike","pile","piles","pill","pimp","pin","pinch","pine","ping","pink","pinky","pinot","pint","pipe","pit","pita","pitch","pitt","pity","pivot","pixel","pizza","place","plaid","plain","plan","plane","plank","plant","plate","play","plaza","plea","plier","plot","plow","ploy","pluck","plug","plum","plumb","plume","plump","plus","plush","plyer","pod","poem","poet","point","poke","poker","pole","poll","polls","pond","pong","pony","pooch","poof","pool","poor","pop","poppy","porch","pore","pork","port","pose","poser","post","pot","pouch","pound","power","prank","prawn","press","prey","price","pride","prime","prism","prize","pro","probe","prom","promo","proof","prop","props","prose","prowl","prune","pry","pub","puck","puff","pug","pull","pulp","pulse","puma","pump","pun","punch","punk","punks","punt","pup","pupil","puppy","purge","purse","push","put","putt","putty","quack","quad","quake","qualm","quart","queen","query","quest","quick","quid","quiet","quilt","quirk","quirt","quiz","quota","quote","race","racer","rad","radar","radio","raft","rafts","rag","rage","raid","rail","rails","rain","raise","rake","rally","ram","ramp","ranch","range","rank","rant","rap","rapid","rash","rat","rate","rates","ratio","raw","ray","razor","razz","reach","read","ready","real","realm","ream","rear","rebel","red","reed","reef","reek","reel","reign","relay","relic","rent","reply","reset","resin","rest","retro","revel","rhino","rhyme","rib","rice","ricer","rich","ride","rider","ridge","riff","rifle","rift","rig","right","rim","rind","ring","rings","rink","rinse","riot","rip","rise","riser","risk","rite","rival","river","roach","road","roads","roar","roast","robe","robin","robot","rock","rod","rodeo","rogue","role","roll","room","rooms","roost","root","roots","rope","rose","rot","rotor","rouge","rough","round","route","rover","row","rowdy","rower","royal","rub","rube","ruby","rug","rugby","ruin","rule","ruler","rum","rummy","rumor","run","rune","rung","runt","ruse","rush","rust","rut","saber","safe","sag","saga","sage","sail","saint","salad","sale","salem","sales","salon","salsa","salt","same","sand","sands","sang","sash","sass","sauce","sauna","save","saver","savor","saw","say","scale","scan","scar","scare","scarf","scene","scent","scold","scone","scoop","scope","score","scorn","scout","scrap","sea","seal","seam","seat","seats","sect","sedan","see","seed","seek","seer","self","sell","sense","serum","serve","servo","set","setup","seven","shack","shade","shake","sham","shame","shank","shape","shard","share","shark","sharp","shave","shawl","shed","sheep","sheet","shelf","shell","shift","shill","shim","shin","ship","shirt","shoe","shoes","shop","shore","shot","shove","show","shred","shrub","shrug","shy","sick","siege","sigh","sight","sign","silk","silks","silly","silo","sin","sink","sinus","sip","sir","siren","six","sixer","sixth","sixty","size","ski","skid","skier","skill","skim","skin","skip","skirt","skit","skull","skunk","sky","slab","slack","slag","slain","slam","slang","slant","slap","slash","slate","slave","slaw","sled","sleep","sleet","slew","slews","slice","slick","slide","slime","sling","slip","slit","slob","slope","slot","sloth","slug","slum","slump","slur","slush","smack","small","smart","smash","smear","smell","smelt","smile","smirk","smith","smock","smog","smoke","snack","snag","snail","snake","snap","snare","snarl","sneak","sniff","snipe","snore","snort","snot","snow","snug","soak","soap","soar","sob","sock","sofa","softy","soil","sole","solid","son","sonar","song","sonny","soot","sooth","sore","sort","soul","sound","soup","sour","south","spa","space","spade","spam","span","spar","spare","spark","spasm","spat","spawn","speed","spell","spelt","spice","spike","spill","spin","spit","spite","splat","split","spoil","spoke","spoof","spook","spool","spoon","spore","sport","spot","spots","spout","spray","spree","spud","spur","spurt","spy","squat","squid","stab","stack","staff","stag","stage","stain","stair","stake","stalk","stall","stamp","stand","star","stare","start","stash","state","stay","stays","steak","steal","steam","steed","steel","steer","stem","step","steps","stern","stew","stick","stiff","still","stilt","sting","stink","stint","stir","stock","stoic","stomp","stone","stool","stoop","stop","stops","store","stork","storm","story","stove","strap","straw","stray","strip","strum","strut","stub","stud","study","stuff","stump","stunt","style","sub","suds","sugar","suit","suite","sum","sumer","sun","sung","super","surf","surge","sushi","sutra","swab","swag","swamp","swan","swap","swarm","sway","sweat","sweep","sweet","swell","swift","swim","swine","swing","swipe","swirl","swish","syrup","table","tack","taco","tact","tad","taffy","tag","tail","tails","take","taker","tale","talk","talks","tall","tally","talon","tan","tank","tap","tape","taps","tar","tarp","tart","task","taste","taunt","tax","taxer","taxi","taxis","tea","teach","teal","team","tear","tears","tease","teen","teens","teeth","tell","temp","tempo","ten","tense","tent","tenth","term","terms","test","text","thaw","theft","theme","then","there","theta","thick","thief","thigh","thing","think","third","thorn","three","throw","thud","thug","thumb","tick","tide","tidy","tie","tier","tiger","tilde","tile","till","time","timer","times","timid","tin","tint","tip","tire","titan","title","toad","toady","toast","today","toe","toil","token","toll","tomb","tome","ton","tone","toner","tongs","tonic","tons","tool","toon","toot","tooth","top","topic","torch","torso","toss","total","tote","totem","touch","tough","tour","tours","tow","towel","tower","town","towny","toxin","toy","trace","track","trade","trail","train","trait","trap","trash","tray","tread","treat","tree","trek","trend","triad","trial","trick","trim","trio","trip","troll","troop","trot","trout","truce","truck","true","trump","trunk","trust","truth","try","tub","tuba","tube","tuck","tug","tulip","tummy","tumor","tuna","tune","tuner","tunic","turf","turn","tush","tusk","tutor","twine","twins","twirl","twist","two","tying","type","typo","udder","ulcer","uncle","union","unit","unity","upper","upset","urn","usage","use","user","usher","using","valet","valor","value","valve","van","vase","vat","vault","vegan","veil","vein","venom","vent","venue","verb","verge","vest","vet","vial","vibe","vibes","vice","video","view","vigil","vine","vinyl","viola","viper","virgo","virus","visit","visor","vista","vocal","vodka","vogue","voice","void","volt","vote","voter","vow","vowel","wacko","wad","wade","wader","wads","wafer","waft","wag","wage","wager","wages","wagon","wail","wain","waist","wait","wake","walk","wall","waltz","wane","want","war","ward","ware","warp","wart","wash","wasp","waste","watch","water","watt","watts","wave","waver","wax","way","ways","wear","weave","web","wed","wedge","week","weird","well","wells","welsh","west","wet","whack","whale","wharf","wheat","wheel","whey","whiff","while","whim","whip","whirl","whisk","white","who","whole","whore","why","wick","widow","width","wife","wig","wild","will","wilt","wimp","win","wince","winch","wind","wine","wing","wings","wink","wipe","wiper","wire","wise","wish","wit","witch","wits","woe","wolf","woman","womb","won","wood","woods","woof","wool","word","words","work","works","world","worm","worry","worse","worst","wort","worth","wound","wow","wrack","wrap","wrath","wreck","wring","wrist","wrong","yam","yard","yarn","yawn","yay","year","years","yeast","yell","yes","yeti","yield","yoga","yolk","young","youth","zap","zebra","zinc","zing","zip","zit","zone","zoo","zoom","zero","whir","welt","whig","wand","twin","tribe","tilt","sword","spine","spear","site","shock","sent"],Nn={0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine"};function Ss(e){const{config:t,options:n,setOptions:r,children:i}=e,o=ht.useNavigate(),[l,a]=ie.useState(`${Ti[Math.floor(Math.random()*Ti.length)]}-${Ai[Math.floor(Math.random()*Ai.length)]}-${Math.floor(Math.random()*(99-0+1)+0)}`),[s,c]=ie.useState(t.minTeams);ie.useEffect(()=>{const u=async()=>{let p=await Ci(t.host);(!p||p.status!==200)&&o("/status/down")};u();const d=setInterval(async()=>{u()},1e4);return()=>clearInterval(d)},[o]);async function f(u){u.preventDefault();let d=await ws(t.host,t.key,l,s,n);(d===201||d===400)&&o(`/${l}`)}return T.jsx("div",{children:T.jsxs("div",{className:"flex flex-col items-center m-8 md:m-12",children:[T.jsx("div",{className:"w-full max-w-2xl",children:T.jsxs("div",{className:"flex flex-col items-center fade-in",children:[T.jsx("div",{className:` text-5xl font-black font-['${t.font}'] text-${t.color} mb-1 cursor-pointer`,children:T.jsx("a",{href:`${window.location.protocol}//${window.location.host}`,children:t.key})}),T.jsxs("div",{className:"font-thin mb-3",children:["Play ",t.minTeams===t.maxTeams?`${Nn[t.minTeams]}`:`${Nn[t.minTeams]} to ${Nn[t.maxTeams]}`," player ",t.key," online against friends. To create a game or join an existing one, enter a game ID and click 'Go'."]}),T.jsxs("form",{className:"w-full flex mb-3",onSubmit:f,children:[T.jsx("input",{className:"w-10/12 p-2 text-zinc-100 bg-zinc-800 rounded-none border border-zinc-100 text-3xl font-medium box-border focus:outline-dashed outline-blue-500 outline-2",autoFocus:!0,type:"text",value:l,onChange:u=>a(u.target.value)}),T.jsx("button",{className:"w-2/12 font-bold grow-0 bg-blue-500",children:"Go"})]}),T.jsxs("div",{className:"flex w-full justify-between flex-wrap gap-2",children:[T.jsxs("div",{className:"flex order-2 md:order-1",children:[T.jsx("button",{onClick:()=>o("/rules"),title:"how to play",className:"mr-3 md:mr-2 p-2 first-line:p-2 bg-blue-500 italic text-xs font-bold",children:"game rules"}),T.jsxs("a",{className:"italic text-xs py-1 px-2 border-blue-500 border border-dashed text-blue-500",href:"https://quibbble.com",target:"_blank",children:["more ",T.jsx("span",{className:"text-zinc-100 font-['lobster'] text-sm not-italic",children:"quibbble"})," games"]})]}),T.jsxs("div",{className:"overflow-scroll no-scrollbar flex flex-warp items-center order-1 md:order-2 mb-3 md:mb-0",children:[n.Variant?T.jsxs(T.Fragment,{children:[T.jsx("div",{className:"mr-1 font-black text-blue-500",children:"VARIANT"}),T.jsx("select",{className:"px-2 mr-1 bg-zinc-800 text-xs h-6 border font-bold border-zinc-100 focus:outline-none",id:"players",onChange:u=>r(d=>({...d,Variant:u.target.value.replace(/\s/g,"")})),children:t.variants.map(u=>T.jsx("option",{value:u,children:u},u))})]}):null,t.minTeams!==t.maxTeams?T.jsxs(T.Fragment,{children:[T.jsx("div",{className:"mx-1 font-black text-blue-500",children:"PLAYERS"}),T.jsx("select",{className:"px-2 bg-zinc-800 text-xs h-6 border font-bold border-zinc-100 focus:outline-none",id:"players",onChange:u=>c(parseInt(u.target.value)),children:Array(t.maxTeams-t.minTeams+1).fill().map((u,d)=>t.minTeams+d).map(u=>T.jsx("option",{value:u,children:u},u))})]}):null,i]})]})]})}),T.jsx("div",{className:"absolute bottom-8 md:bottom-12",children:T.jsx(Rt,{})})]})})}var Pi={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Oi=ie.createContext&&ie.createContext(Pi),rt=globalThis&&globalThis.__assign||function(){return rt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{e?setTimeout(()=>n(r=>r-1),1500):n(0)},[e,n]),T.jsxs("div",{className:`flex items-center ${e?"cursor-pointer":""}`,children:[t?null:T.jsx("div",{className:"px-1",children:e?"connected":"connecting"}),T.jsx("div",{onClick:()=>{e&&(n(0),setTimeout(()=>n(t-1),1500))},className:`rounded-full w-2 h-2 ${e?"bg-green-500":"bg-orange-500"}`,children:e?null:T.jsx("div",{className:"rounded-full w-2 h-2 bg-orange-500 animate-ping"})})]})}const js=ie.forwardRef((e,t)=>{const{config:n,ws:r,game:i,setGame:o,network:l,setNetwork:a,chat:s,setChat:c,connected:f,setConnected:u,error:d,setError:p,debug:m,children:g}=e;m&&(i&&console.log("game: ",i),l&&console.log("network: ",l),s&&console.log("chat: ",s),f&&console.log("connected: ",f),d&&console.log("error: ",d));const{gameID:b}=ht.useParams(),x=ht.useNavigate(),A=f&&l&&f[l.Name]?f[l.Name]:null;A&&localStorage.setItem(b,A);const C=ie.useCallback(H=>{r.current&&r.current.send(JSON.stringify({ActionType:"SetTeam",MoreDetails:{Team:H}}))},[r]);ie.useCallback(()=>{r.current&&r.current.send(JSON.stringify({ActionType:"SetOpenTeam"}))},[r]);const j=ie.useCallback(()=>{r.current&&r.current.send(JSON.stringify({ActionType:"Reset"}))},[i,r]),E=ie.useCallback(()=>{r.current&&(i&&f&&l&&i.Actions&&i.Actions.length>0&&i.Actions[i.Actions.length-1].Team!==f[l.Name]||r.current.send(JSON.stringify({ActionType:"Undo"})))},[r]),[w,N]=ie.useState(!1),U=async(H,ce)=>{if(H<=0){x("/");return}let ve=await vs(n.host,n.key,b);if(!ve){ce&&sessionStorage.setItem("gameID",b),x("/status/down");return}if(ve.status!==200){x("/");return}r.current=new WebSocket(`${n.websocket}/game/join?GameKey=${n.key}&GameID=${b.toLowerCase()}`),r.current.onopen=()=>{N(!0);let h=localStorage.getItem(b);h&&C(h)},r.current.onclose=h=>{N(!1),h.code!=1e3&&setTimeout(function(){U(H-1,!0)},1e3+(3-H)*500)},r.current.onmessage=async h=>{let F=JSON.parse(h.data);F.Type==="Game"?o(F.Payload):F.Type==="Network"?a(F.Payload):F.Type==="Chat"?c(q=>q.concat([F.Payload])):F.Type==="Connected"?u(F.Payload):F.Type==="Error"&&p(F.Payload)},r.current.onerror=h=>{console.error("Socket encountered error: ",h.message)}};ie.useEffect(()=>(U(3,!1),H=>{var ce;return(ce=r.current)==null?void 0:ce.close(1e3)}),[]);const[te,v]=ie.useState(!0);ie.useEffect(()=>{const H=()=>v(!te);return window.addEventListener("resize",H),ce=>window.removeEventListener("resize",H)});const[_,z]=ie.useState(0);ie.useEffect(()=>{_>0&&setTimeout(()=>z(_-1),1e3)},[_]);const[Q,Z]=ie.useState(!1),J=()=>T.jsx("div",{className:"z-50 absolute h-[95%] w-full flex items-center justify-center fade-in",children:T.jsxs("div",{className:"bg-zinc-900 p-8 rounded-md",children:[T.jsx("p",{className:"mb-4",children:"Are you sure you want to reset the game?"}),T.jsxs("div",{className:"flex justify-between",children:[T.jsx("button",{className:"px-2 py-1 bg-blue-500 text-sm font-bold",onClick:()=>Z(!1),children:"cancel"}),T.jsx("button",{className:"px-2 py-1 bg-red-500 text-sm font-bold",onClick:()=>{j(),Z(!1)},children:"reset game"})]})]})}),le=ie.useCallback(H=>{if(n.shortcut||(n.shortcut={nextTeam:"n",currentTeam:"c",undo:"u"}),H.key===n.shortcut.nextTeam){let ce=i.Teams,ve=ce[(ce.indexOf(A)+1)%ce.length];C(ve)}else H.key===n.shortcut.currentTeam&&i.Turn!==A?C(i.Turn):H.key===n.shortcut.undo&&E()},[i,A]);return ie.useEffect(()=>(document.addEventListener("keydown",le),()=>{document.removeEventListener("keydown",le)}),[le]),T.jsxs("div",{className:"min-h-screen flex flex-col items-center p-2 md:p-4 fade-in",children:[Q?T.jsx(J,{}):null,T.jsxs("div",{ref:t,className:`h-full w-full ${n.gamePageMaxWidth?n.gamePageMaxWidth:"max-w-xl"} flex flex-col items-center grow`,children:[T.jsxs("div",{className:"flex justify-between items-center relative w-full mb-1 justfy-self-start font-thin text-sm",children:[T.jsxs("div",{children:[T.jsxs("div",{className:"flex items-center cursor-pointer",onClick:()=>{z(1),navigator.clipboard.writeText(`${window.location.protocol}//${window.location.host}/${b}`)},children:[T.jsx(Is,{className:"mr-1"}),T.jsx("span",{className:"underline",children:`${window.location.protocol}//${window.location.host}/${b}`})]}),_>0?T.jsxs("div",{className:"absolute mt-2 w-6/12 flex justify-center",children:[T.jsx("div",{className:"absolute top-[-12px] w-6 overflow-hidden inline-block",children:T.jsx("div",{className:" h-4 w-4 bg-zinc-600 rotate-45 transform origin-bottom-left"})}),T.jsx("div",{className:"font-bold text-xs text-center bg-zinc-600 px-2 py-1",children:"copied!"})]}):null]}),T.jsx("div",{className:"px-1",children:T.jsx(_s,{isConn:w})})]}),T.jsx("hr",{className:"w-full mb-2"}),T.jsxs("div",{className:"flex w-full justify-between items-center mb-4",children:[T.jsx("div",{className:"flex",children:i&&i.Teams?i.Teams.map(H=>T.jsx("div",{className:`text-xs flex items-center justify-center font-bold cursor-pointer mr-1 w-6 h-6 rounded-full border-4 border-${H}-500 ${A===H?`bg-${A}-500 pointer-events-none`:""}`,onClick:()=>C(H),children:i&&i.MoreData&&i.MoreData.Points?i.MoreData.Points[H]:""},H)):null}),T.jsx("div",{className:`font-extrabold ${i&&f&&l&&f[l.Name]&&i.Winners.length===0?`text-${i.Turn}-500`:"text-zinc-100"} ${i&&l&&f&&f[l.Name]===i.Turn&&i.Winners.length===0?"animate-pulse":""}`,children:i&&f&&l&&f[l.Name]?i.Message:T.jsxs("div",{className:"flex items-center animate-pulse",children:[T.jsx(As,{className:"mr-1"}),T.jsx("div",{children:"select a team"})]})})]}),T.jsx("div",{className:"p-4 h-full w-full flex flex-col justify-center items-center grow",children:g}),T.jsx("hr",{className:"w-full mt-4 mb-2"}),T.jsxs("div",{className:"w-full flex justify-between items-center",children:[T.jsx("div",{className:`leading-4 text-2xl font-black text-${n.color} cursor-pointer`,children:T.jsxs("button",{onClick:()=>{sessionStorage.setItem("gameID",""),x("/")},children:[T.jsx("span",{className:`font-['${n.font}']`,children:n.key}),T.jsx("span",{className:"ml-1 text-[0.5rem] md:text-xs text-zinc-100",children:i&&i.MoreData&&i.MoreData.Variant?i.MoreData.Variant:""})]})}),T.jsxs("div",{className:"flex",children:[T.jsx("button",{onClick:()=>E(),title:"undo move",className:`p-2 ${i&&f&&l&&i.Actions&&i.Actions.length>0&&i.Actions[i.Actions.length-1].Team===f[l.Name]?"bg-amber-500":"bg-zinc-700 text-zinc-500 cursor-default"} mr-3 md:mr-2 rounded-full`,children:T.jsx(Os,{})}),T.jsx("button",{onClick:()=>Z(!0),title:"reset game",className:`p-2 ${i&&i.Winners.length>0?"bg-blue-500":"bg-zinc-500"} mr-3 md:mr-2 rounded-full`,children:T.jsx(Ps,{})}),T.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/bugs")},title:"find a bug?",className:"block md:hidden p-2 bg-zinc-500 mr-3 md:mr-2 rounded-full",children:T.jsx(Rs,{})}),T.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/bugs")},title:"find a bug?",className:"hidden md:block mr-3 md:mr-2 p-2 bg-zinc-500 italic text-xs font-bold",children:"find a bug?"}),T.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/rules")},title:"game rules",className:"block md:hidden p-2 bg-blue-500 rounded-full",children:T.jsx(Fs,{})}),T.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/rules")},title:"game rules",className:"hidden md:block p-2 bg-blue-500 italic text-xs font-bold",children:"game rules"})]})]})]})]})}),Fi=["http","https","mailto","tel"];function Ds(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! +`):" "+bi(o[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:In};function jn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _t(null,e)}function xi(e){return jn(e),e.headers=Ze.from(e.headers),e.data=Fn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ki.getAdapter(e.adapter||On.adapter)(e).then(function(r){return jn(e),r.data=Fn.call(e,e.transformResponse,r),r.headers=Ze.from(r.headers),r},function(r){return mi(r)||(jn(e),r&&r.response&&(r.response.data=Fn.call(e,e.transformResponse,r.response),r.response.headers=Ze.from(r.response.headers))),Promise.reject(r)})}const wi=e=>e instanceof Ze?e.toJSON():e;function gt(e,t){t=t||{};const n={};function r(c,f,u){return P.isPlainObject(c)&&P.isPlainObject(f)?P.merge.call({caseless:u},c,f):P.isPlainObject(f)?P.merge({},f):P.isArray(f)?f.slice():f}function i(c,f,u){if(P.isUndefined(f)){if(!P.isUndefined(c))return r(void 0,c,u)}else return r(c,f,u)}function o(c,f){if(!P.isUndefined(f))return r(void 0,f)}function l(c,f){if(P.isUndefined(f)){if(!P.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function a(c,f,u){if(u in t)return r(c,f);if(u in e)return r(void 0,c)}const s={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:a,headers:(c,f)=>i(wi(c),wi(f),!0)};return P.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=s[f]||i,d=u(e[f],t[f],f);P.isUndefined(d)&&u!==a||(n[f]=d)}),n}const vi="1.6.2",_n={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_n[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ei={};_n.transitional=function(t,n,r){function i(o,l){return"[Axios v"+vi+"] Transitional option '"+o+"'"+l+(r?". "+r:"")}return(o,l,a)=>{if(t===!1)throw new se(i(l," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Ei[l]&&(Ei[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,l,a):!0}};function gs(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],l=t[o];if(l){const a=e[o],s=a===void 0||l(a,o,e);if(s!==!0)throw new se("option "+o+" must be "+s,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+o,se.ERR_BAD_OPTION)}}const Dn={assertOptions:gs,validators:_n},nt=Dn.validators;class en{constructor(t){this.defaults=t,this.interceptors={request:new ci,response:new ci}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=gt(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Dn.assertOptions(r,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},!1),i!=null&&(P.isFunction(i)?n.paramsSerializer={serialize:i}:Dn.assertOptions(i,{encode:nt.function,serialize:nt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&P.merge(o.common,o[n.method]);o&&P.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=Ze.concat(l,o);const a=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let f,u=0,d;if(!s){const m=[xi.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,c),d=m.length,f=Promise.resolve(n);u{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const l=new Promise(a=>{r.subscribe(a),o=a}).then(i);return l.cancel=function(){r.unsubscribe(o)},l},t(function(o,l,a){r.reason||(r.reason=new _t(o,l,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new zn(function(i){t=i}),cancel:t}}}const ys=zn;function bs(e){return function(n){return e.apply(null,n)}}function ks(e){return P.isObject(e)&&e.isAxiosError===!0}const Ln={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ln).forEach(([e,t])=>{Ln[t]=e});const xs=Ln;function Si(e){const t=new tn(e),n=Yr(tn.prototype.request,t);return P.extend(n,tn.prototype,t,{allOwnKeys:!0}),P.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Si(gt(e,i))},n}const Te=Si(On);Te.Axios=tn,Te.CanceledError=_t,Te.CancelToken=ys,Te.isCancel=mi,Te.VERSION=vi,Te.toFormData=Xt,Te.AxiosError=se,Te.Cancel=Te.CanceledError,Te.all=function(t){return Promise.all(t)},Te.spread=bs,Te.isAxiosError=ks,Te.mergeConfig=gt,Te.AxiosHeaders=Ze,Te.formToJSON=e=>hi(P.isHTMLForm(e)?new FormData(e):e),Te.getAdapter=ki.getAdapter,Te.HttpStatusCode=xs,Te.default=Te;const nn=Te;nn.defaults.withCredentials=!0;const ws=async(e,t,n,r,i)=>{let o={method:"POST",url:`${e}/game/create`,headers:{"Content-Type":"application/json"},data:JSON.stringify({GameKey:t,GameID:n.toLowerCase(),Teams:r,TurnLength:null,MoreOptions:i})};return nn(o).catch(l=>l.response).then(l=>l.status)},vs=async(e,t,n)=>{let r={method:"GET",url:`${e}/game/snapshot?GameKey=${t}&GameID=${n.toLowerCase()}`};return nn(r).catch(i=>i.response)},Ci=async e=>{let t={method:"GET",url:`${e}/health`};return nn(t).catch(n=>n.response)};function Es({config:e}){const t=ht.useNavigate();return ie.useEffect(()=>{const n=async()=>{let i=await Ci(e.host);if(i&&i.status===200){let o=sessionStorage.getItem("gameID");t(o?`/${o}`:"/")}};n();const r=setInterval(async()=>{n()},1e4);return()=>clearInterval(r)},[t]),S.jsxs("div",{className:"flex flex-col items-center my-8 md:my-12",children:[S.jsxs("div",{className:"w-full flex flex-col items-center mt-48",children:[S.jsx("p",{className:"font-black text-4xl italic",children:"We'll be right back!"}),S.jsxs("p",{className:"mb-1 font-thin",children:[S.jsx("span",{className:`text-3xl font-black font-['${e.font}'] text-${e.color} mr-1`,children:e.key})," is down for maintenance"]})]}),S.jsx("div",{className:"absolute bottom-8 md:bottom-12",children:S.jsx(Rt,{})})]})}const Ti=["able","about","above","abuzz","ace","achy","acid","acned","acute","adept","adult","afire","afoot","afoul","aft","after","aged","agile","aging","aglow","ago","ahead","aided","airy","ajar","akin","alert","alien","alike","alive","alone","aloof","alpha","alto","amber","ample","angry","anti","antic","antsy","any","apart","apish","apt","arced","arch","arid","ashen","ashy","askew","astir","atrip","attic","avian","avid","awake","aware","awash","away","awed","awful","awing","awned","awry","axial","azure","back","bad","baggy","bald","balmy","bandy","bare","bared","basal","base","based","basic","bated","bats","batty","bay","beady","beamy","beat","beefy","beery","beige","bent","best","beta","bias","birch","bitty","black","blame","bland","blank","bleak","blear","blind","blond","blown","blue","bluff","blunt","boggy","bogus","bold","bone","boned","bonny","bony","boon","boozy","bored","born","boss","bossy","both","bound","bowed","boxed","boxy","brag","brash","brave","brief","briny","brisk","broad","broke","brown","brute","buff","buggy","built","bulgy","bulky","bully","bum","bumpy","burly","burnt","bush","bushy","bust","busty","busy","butch","calm","camp","campy","catty","cheap","chewy","chic","chief","civic","civil","clean","clear","cleft","close","cocky","cod","cold","color","comfy","comic","cool","coral","corny","cosy","coy","cozy","crazy","crisp","cross","cubic","cured","curly","curt","curvy","cushy","cut","cute","cyan","daft","daily","damp","dandy","dank","dark","dated","dazed","deaf","dear","deep","deft","deist","dense","dewy","dicey","dim","dingy","dinky","dire","dirty","dodgy","domed","done","dopey","dopy","dormy","down","downy","dozen","drab","drawn","dread","drear","dress","dried","droll","dry","dual","dud","due","dull","dumb","dummy","dusky","dusty","dyed","dying","each","eager","early","eased","east","easy","edged","edgy","eerie","eight","elder","elect","elfin","elite","empty","ended","epic","equal","even","every","evil","exact","extra","eyed","fab","faced","faded","faint","fair","fake","false","famed","fancy","far","fast","fat","fatal","fated","fazed","feral","few","fewer","fiery","fifth","fifty","filmy","final","fine","finer","fired","firm","first","fishy","fit","five","fixed","fizzy","flaky","flash","flat","fleet","flint","flip","fluid","flush","fly","foamy","focal","foggy","fond","fore","foul","found","four","foxy","frail","frank","free","fresh","fried","front","full","fumed","funky","funny","furry","fused","fussy","fuzzy","game","gaudy","gaunt","gawky","giant","giddy","gimpy","glad","glum","godly","going","gold","gone","good","gooey","goofy","grand","great","green","grey","grim","grimy","gross","grown","gruff","gummy","gushy","gusty","gutsy","hairy","hale","half","halt","hammy","handy","happy","hard","hardy","harsh","hasty","hazel","hazy","heard","heavy","hefty","held","here","hex","hexed","high","hilly","hind","hip","hired","hoar","hoary","hokey","holey","holy","home","homey","honey","horny","hot","huffy","huge","human","humid","hurt","husky","icky","icy","ideal","idle","iffy","ill","inert","inky","inner","ionic","irate","iron","jade","jaded","jaggy","jawed","jazzy","jet","joint","jolly","jowly","juicy","jumbo","jumpy","just","kempt","key","keyed","khaki","kin","kind","kinky","known","kooky","laced","lacy","laid","lame","lank","lanky","large","last","late","later","lax","lay","lazy","leafy","leaky","lean","least","left","legal","less","level","light","like","liked","limp","lined","lit","live","liver","livid","loamy","local","loco","lofty","lone","long","loony","loopy","loose","lossy","lost","loud","lousy","loved","low","lowly","loyal","lucid","lucky","lumpy","lunar","lurid","lush","lusty","lyric","macho","macro","mad","made","magic","main","major","male","mangy","manic","manly","many","mass","matt","matte","mauve","mealy","mean","meaty","meek","meet","mere","merry","messy","metal","micro","mild","milky","mimic","mined","mini","minor","mint","minty","minus","mired","mirky","misty","mixed","mock","mod","modal","model","moist","molar","moldy","mono","moody","moony","moot","moral","more","mossy","most","mothy","motor","mousy","moved","mown","much","mucky","muddy","muggy","mum","mural","murky","mushy","musky","must","musty","mute","muted","naive","nary","nasal","nasty","natal","natty","naval","near","neat","needy","nervy","new","newsy","next","nice","nifty","nigh","nine","ninth","noble","noisy","none","north","nosed","noted","novel","nubby","numb","nuts","nutty","oaken","oaten","obese","odd","oiled","oily","okay","old","olden","older","olive","one","only","oozy","open","optic","oral","other","out","outer","oval","over","overt","owing","own","owned","pagan","paid","pale","palmy","pass","past","pasty","pat","paved","peaky","peaty","pedal","pent","peppy","perky","pert","pesky","pet","petty","phony","piano","picky","pied","piggy","pilar","pink","plain","plane","plumb","plump","plus","plush","polar","poor","pop","port","posed","posh","potty","pricy","prim","prior","privy","prize","prone","proof","prosy","proud","pudgy","puff","puffy","pulpy","punk","puny","pupal","pure","pushy","quack","quasi","quick","quiet","rabid","radio","rainy","rapid","rare","rash","raspy","ratty","raw","ready","real","rear","red","regal","retro","rich","rife","right","rigid","riled","ripe","risen","risky","ritzy","roast","robed","rocky","roomy","ropey","rose","rosy","rough","round","rowdy","royal","ruby","rude","ruled","rum","rummy","runic","runny","runty","rural","rush","rushy","rust","rusty","rutty","sad","safe","sage","said","salt","salty","same","sandy","sane","sappy","sassy","saute","saved","scaly","scant","scary","scrub","seamy","sear","seedy","self","sent","seven","sewed","sewn","shady","shaky","sham","sharp","shed","sheer","shiny","short","shot","showy","shut","shy","sick","side","sign","silky","silly","silty","sissy","six","sixth","sixty","size","sized","skew","skim","slack","slain","slaty","slav","sleek","slick","slim","slimy","slow","sly","small","smart","smoky","smug","snaky","sneak","snide","snowy","snub","snuff","snug","soapy","sober","soft","soggy","solar","sold","sole","solid","solo","some","sooty","sore","sorry","sound","soupy","sour","south","sown","spare","spent","spicy","spiky","spiny","splay","split","spry","spumy","squab","squat","stagy","stale","star","stark","steep","stern","stiff","still","stock","stone","stony","stout","straw","stray","stuck","stung","suave","such","sudsy","sulky","sunk","sunny","super","sure","surly","sweet","swell","swept","swift","swish","sworn","tabby","taboo","tacky","taken","talky","tall","tame","tamed","tan","tangy","taped","tardy","tart","tasty","tawny","teal","ten","tenor","tense","tenth","tepid","terse","testy","thick","thin","third","three","tidal","tidy","tied","tight","tiled","timed","timid","tinny","tiny","tipsy","tired","toed","token","tonal","toned","tonic","top","tops","torn","total","tough","toxic","tried","trig","trim","trite","true","tubby","tubed","tumid","twee","twin","two","ugly","ultra","uncut","under","undue","unfed","unfit","union","unlit","unwed","upper","upset","urban","used","usual","utter","vague","vain","valid","vapid","vast","viral","vital","vivid","vocal","void","wacky","warm","wary","washy","waste","wavy","waxed","waxen","waxy","weak","weary","weedy","weeny","weepy","weird","well","welsh","west","wet","whiny","white","whole","wide","wild","wily","wimpy","windy","wired","wiry","wise","wispy","witty","wonky","woody","wooly","woozy","wordy","wormy","worn","worse","worst","worth","wound","woven","wrong","wroth","wry","young","yucky","yummy","zany","zero","zesty","zippy","zonal"],Ai=["ace","ache","acid","acme","acorn","acre","act","actor","add","adder","adept","advil","afro","agave","age","aged","agent","agony","ailey","aim","aioli","air","aisle","akron","alarm","album","ale","alert","algae","alias","alibi","alien","alley","alloy","ally","aloe","alpha","alps","altar","amber","amigo","amino","amish","ammo","amp","angel","anger","angle","angst","angus","anime","ankle","annex","anole","ant","ante","antic","anvil","ape","apex","aphid","apple","april","apron","aqua","arbor","arc","arch","area","arena","argon","argus","ark","arm","armor","arms","army","aroma","array","arrow","arson","art","ascot","aspen","asset","ate","atom","attic","audio","audit","auger","aunt","aunty","aura","auto","award","awe","awl","axe","axiom","axis","axle","azure","baby","back","bacon","badge","bag","bagel","bail","bait","baker","bale","balk","ball","balm","ban","band","bane","banjo","bank","banks","bar","barb","bard","barge","bark","barn","baron","bars","base","bash","basic","basil","basin","basis","bass","bat","batch","bath","baton","bay","bayou","beach","bead","beads","beak","beam","bean","bear","beard","beast","beat","beats","bed","bee","beech","beef","beep","beer","beet","begin","beige","being","belch","bell","belly","belt","bench","bend","bends","bent","beret","berry","bet","beta","bevel","bevy","bias","bib","bible","bid","bidet","bike","biker","bill","bin","bind","bingo","biome","biped","birch","bird","birth","bison","bit","bite","biter","black","blade","blame","blank","blast","blaze","blend","blimp","blind","bling","blink","blip","bliss","blitz","bloat","blob","block","blog","bloke","blond","blood","bloom","blow","blue","blues","bluff","blur","blurb","blush","boa","boar","board","boast","boat","bod","body","bog","bogey","boil","bold","bolt","bomb","bond","bone","boner","bones","bong","bongo","bonus","boo","book","boom","boon","boost","boot","booth","booty","booze","bore","borer","born","boss","bot","botch","bound","bow","bowel","bowl","bowls","box","boxer","boy","bra","brace","brag","braid","brail","brain","brake","bran","brand","brass","brat","brave","bravo","brawl","brawn","bread","break","breed","brew","briar","bribe","brick","bride","brie","brief","brim","brine","brink","brit","brits","britt","broad","broil","brood","brook","broom","broth","brow","brown","brunt","brush","brute","buck","bud","buddy","budge","buff","bug","buggy","bugle","build","bulb","bulge","bulk","bull","bully","bum","bump","bun","bunch","bung","bunk","bunny","buns","bunt","buoy","bur","burn","burns","burp","burst","bus","bush","bust","buy","buyer","buzz","bye","bylaw","byte","cab","cabin","cable","cabot","cache","caddy","cadet","cafe","cage","cager","cake","calf","call","calm","cam","camel","camp","can","canal","candy","cane","cap","cape","caper","car","carat","card","cards","care","caret","cargo","carp","carry","cart","case","cash","cask","cast","caste","cat","catch","caulk","cause","cave","cavil","caw","cease","cedar","cell","cello","cent","chaff","chain","chair","chalk","champ","chant","chaos","chap","chard","charm","chart","chase","chasm","chat","cheat","check","cheek","cheep","cheer","chef","chess","chest","chew","chic","chick","chief","child","chill","chime","chimp","chin","chip","chips","chirp","chit","chive","chock","choir","choke","choky","chomp","chop","chord","chore","chow","chuck","chug","chum","chump","chunk","churn","chute","cider","cigar","cinch","cite","city","clack","claim","clam","clamp","clams","clan","clang","clank","clap","clash","clasp","class","clay","clean","clear","cleat","cleft","clerk","click","cliff","climb","cling","clip","cloak","clock","clog","clone","close","clot","cloth","cloud","clout","clove","clown","club","cluck","clue","clump","clunk","coach","coal","coast","coat","cobra","cocoa","cod","code","cog","coil","coin","coke","cola","cold","colon","color","colt","coma","comb","combo","come","comet","comic","comma","conch","condo","cone","coney","conk","cook","cool","coot","cop","cope","copy","coral","cord","cords","core","cork","corn","corp","corps","cost","costs","cosy","cot","couch","cough","count","court","cove","coven","cover","cow","cowl","cows","cozy","crab","crabs","crack","craft","cramp","crane","crank","crash","crate","crawl","craze","crazy","creak","cream","cred","cree","creed","creek","creep","crepe","cress","crest","crew","crib","crime","crimp","crisp","croak","crock","crook","crop","cross","crow","crowd","crown","crud","crude","crumb","crush","crust","crux","cry","crypt","cub","cubby","cube","cubit","cue","cuff","cull","cult","cup","curb","curd","cure","curl","curry","curse","curve","cut","cyan","cycle","cynic","dab","daily","dairy","daisy","dame","damp","dance","dandy","dane","dare","dark","dart","darts","dash","data","date","dawn","day","days","daze","deaf","deal","dean","dear","debit","debt","debut","decal","decay","deck","decor","decoy","deed","deeds","deep","deer","delay","deli","delta","demo","demon","denim","dent","depot","depth","derby","desk","detox","deuce","devil","dew","dial","diary","dibs","dice","diet","dig","digit","digs","dill","dime","diner","ding","dip","dirt","disc","disco","dish","disk","ditch","ditto","dive","diver","dock","dodge","dog","dogma","doll","dolly","dolt","dome","donor","donut","doom","door","dope","dork","dorm","dot","doubt","dough","dove","dowel","down","dozen","dozer","draft","drag","drain","drama","drape","draw","dread","dream","dress","drew","drier","drift","drill","drink","drip","drive","drone","drool","drop","drove","drug","druid","drum","dry","dryer","duck","duct","due","duel","duet","dug","dunce","dune","dunk","dusk","dust","duty","dye","dyer","dying","eager","eagle","ear","earth","ease","easel","east","eater","eats","echo","edge","eel","egg","eggs","ego","eight","elbow","elder","elect","elf","elite","elk","elm","elves","email","ember","empty","emu","end","enemy","entry","envy","epic","epoxy","equal","era","error","essay","eve","even","event","evil","exam","exile","exit","extra","eye","eyes","fable","face","facet","fact","fad","fade","faint","fair","fairy","faith","fake","fall","falls","fame","fan","fancy","fang","far","farce","fare","farm","fast","fat","fate","fault","favor","fawn","fax","fear","feast","feat","fed","fee","feed","feel","felt","femur","fence","fern","ferry","fetch","feud","fever","few","fib","fiber","field","fiend","fifth","fifty","fig","fight","file","filet","fill","film","filth","final","finch","find","fine","fire","firm","first","fish","fist","fit","five","fiver","fives","fix","fixer","fizz","flag","flair","flak","flake","flame","flank","flap","flaps","flare","flash","flask","flat","flats","flaw","flea","fleet","flesh","flex","flick","flier","flies","fling","flint","flip","flirt","float","flock","flood","floor","flop","floss","flour","flow","flu","flub","fluff","fluid","fluke","flume","flush","flute","flux","fly","flyer","foam","focus","fog","foil","fold","folk","folks","folly","font","food","fool","foot","force","forge","fork","form","fort","forth","forty","forum","foul","found","four","fowl","fox","foyer","frail","frame","frat","fraud","fray","freak","free","freon","fret","friar","fries","frill","frisk","frizz","frog","front","frost","froth","frown","fruit","fry","fryer","fudge","fuel","full","fume","fumes","fun","fund","funds","fungi","funk","funny","fur","fury","fuse","fuss","futon","fuze","fuzz","gag","gage","gain","game","gamma","gap","gape","gas","gash","gasp","gate","gates","gator","gauge","gavel","gawk","gaze","gear","gecko","geek","gel","gem","gene","genie","genoa","genre","gent","germ","ghost","ghoul","giant","gift","gild","gimp","gin","gipsy","girl","gist","give","given","giver","gizmo","glad","glade","gland","glans","glare","glass","glaze","gleam","glee","glide","glint","globe","gloom","glory","gloss","glove","glow","glue","gnat","gnome","goal","goat","going","gold","golem","golf","goner","goo","good","goof","goofy","goon","goose","goth","gouge","gown","grab","grace","grad","grade","graft","grail","grain","gram","grand","grant","grape","graph","grasp","grass","grate","gravy","gray","graze","great","greed","green","grey","grid","grief","grill","grime","grin","grind","grip","gripe","grit","grits","groan","groom","gross","group","grove","growl","grub","gruel","grump","grunt","guard","guess","guest","guide","guild","guilt","gulch","gulf","gull","gulp","gum","gun","guppy","guru","gush","gust","gut","guts","guy","gym","habit","hack","hag","hail","hair","half","hall","halo","halt","ham","hand","hands","handy","hang","hare","harp","hash","haste","hat","hatch","hate","hater","haunt","have","haven","havoc","hawk","hay","haze","hazel","head","heap","heaps","heart","heat","heavy","hedge","heed","heel","heft","heir","helix","hell","hello","helm","help","hem","hemp","hen","herb","herd","here","hero","hex","hick","hide","high","hike","hiker","hill","hilt","hind","hinge","hint","hip","hippo","hippy","hire","hiss","hit","hitch","hive","hives","hoagy","hoard","hoax","hob","hobby","hobo","hog","hoist","hold","hole","home","honey","honk","honor","hoof","hook","hooks","hoop","hoops","hoot","hop","hope","hops","horde","horn","horse","hose","host","hotel","hound","hour","hours","house","howl","hub","hue","huff","hug","hula","hulk","hull","hum","human","humor","hump","humus","hunch","hunk","hunt","hurl","hurry","hurt","hush","husk","husky","hut","hydra","hyena","hymn","hype","ibis","ice","icing","icon","idea","ideal","idiom","idiot","idle","idler","idol","igloo","iglu","ill","image","imp","inch","index","info","ingot","ink","inlet","inn","input","intro","ion","iris","iron","irony","isle","issue","itch","ivory","ivy","jab","jack","jacks","jail","jam","jamb","jar","java","jaw","jay","jazz","jean","jeans","jeep","jeer","jello","jelly","jest","jet","jetty","jewel","jig","jive","job","jock","jog","join","joint","joist","joke","joker","jolly","jolt","joust","joy","judge","jug","juice","juke","jump","junk","junky","juror","jury","kale","kayak","kazoo","kebab","keen","keep","keg","kelp","key","kick","kid","kiddy","kiln","kilo","kilt","kin","kind","king","kiss","kit","kite","kitty","kiwi","knack","knee","kneel","knell","knife","knit","knob","knock","knot","know","koala","krill","lab","label","labor","lace","lack","lad","ladle","lady","lag","lair","lake","lamb","lame","lamp","lance","land","lane","lap","lapel","lapse","lard","large","larva","laser","lash","lass","lasso","last","lat","latch","latex","lathe","latte","laugh","lava","law","lawn","laws","lay","layer","layup","leach","lead","leaf","leak","lean","leap","lear","lease","leash","least","leave","ledge","leech","leeds","leek","leer","left","lefty","leg","lego","legs","lemon","lemur","lens","lent","let","level","lever","liar","libel","lick","lid","lie","lied","life","lift","light","like","lilac","limb","limbo","lime","limit","limp","line","linen","liner","link","links","lint","lion","lip","lisp","list","lit","liter","liver","llama","loach","load","loads","loaf","loan","lob","lobby","lobe","local","lock","lodge","loft","log","logic","logo","loner","look","loom","loon","loony","loop","loot","lord","loser","loss","lost","lot","lots","lotto","lotus","love","lover","low","lower","luck","lump","lunch","lung","lure","lush","lying","mace","macro","madam","mafia","magi","magic","magma","maid","mail","main","major","maker","male","malt","mam","mama","mamba","mambo","mamma","man","mane","mango","mania","manor","map","maple","march","mare","mark","marks","mars","marsh","mash","mask","mass","mast","mat","match","mate","mates","math","maths","max","maxim","may","mayo","mayor","maze","meal","mean","means","meat","medal","medic","meet","meld","melee","melon","melt","memo","men","mend","menu","meow","mercy","merit","mesh","mess","metal","meter","meth","metro","might","mile","milk","mill","mills","mimer","mimic","min","mince","mind","mine","miner","mini","mink","minor","mint","minus","miser","miss","mist","mite","miter","mitt","mix","mixer","moan","moat","mob","mocha","mock","mod","modal","mode","model","modem","mogul","mojo","molar","mold","mole","molt","mom","momma","mommy","money","monk","month","moo","mooch","mood","moody","moon","moose","mop","mope","moped","moral","morse","moss","motel","moth","motor","motto","mould","mound","mount","mouse","mouth","move","mover","movie","mow","mucus","mud","muff","mug","mulch","mule","mum","mummy","munch","mural","muse","mush","music","musk","must","mute","mutt","mylar","nacho","name","namer","names","nanna","nap","nasal","navy","neck","need","needy","neon","nepal","nerd","nerve","nest","net","news","newt","nick","niece","night","nine","niner","ninja","ninth","noble","nod","node","noise","nomad","none","nook","noon","noose","north","nose","notch","note","noun","nudge","nuke","nun","nurse","nut","nylon","oaf","oak","oar","oasis","oat","oates","oath","ocean","octet","odds","ode","odor","offer","ogre","oil","oiler","oink","okay","old","oldie","olive","omega","omen","one","onion","onset","ooze","open","optic","oral","orange","orb","orbit","orca","order","ore","oreo","organ","ounce","out","oval","oven","over","owl","owner","oxbow","oxen","ozone","pace","pacer","pack","pact","pad","page","pager","pail","pain","pains","paint","pair","pal","pale","palm","pan","panda","pane","panel","panic","pansy","pant","pants","papa","paper","par","park","parks","part","parts","party","pass","past","pasta","paste","pat","patch","path","patio","pause","pave","paw","pawn","pay","payer","peace","peach","peak","pear","pearl","pecan","pedal","peek","peel","peer","peg","pelt","pen","penny","perch","peril","perk","pesto","pet","petal","petty","phase","phone","photo","piano","pick","pie","piece","pier","pig","piggy","pigmy","pike","pile","piles","pill","pimp","pin","pinch","pine","ping","pink","pinky","pinot","pint","pipe","pit","pita","pitch","pitt","pity","pivot","pixel","pizza","place","plaid","plain","plan","plane","plank","plant","plate","play","plaza","plea","plier","plot","plow","ploy","pluck","plug","plum","plumb","plume","plump","plus","plush","plyer","pod","poem","poet","point","poke","poker","pole","poll","polls","pond","pong","pony","pooch","poof","pool","poor","pop","poppy","porch","pore","pork","port","pose","poser","post","pot","pouch","pound","power","prank","prawn","press","prey","price","pride","prime","prism","prize","pro","probe","prom","promo","proof","prop","props","prose","prowl","prune","pry","pub","puck","puff","pug","pull","pulp","pulse","puma","pump","pun","punch","punk","punks","punt","pup","pupil","puppy","purge","purse","push","put","putt","putty","quack","quad","quake","qualm","quart","queen","query","quest","quick","quid","quiet","quilt","quirk","quirt","quiz","quota","quote","race","racer","rad","radar","radio","raft","rafts","rag","rage","raid","rail","rails","rain","raise","rake","rally","ram","ramp","ranch","range","rank","rant","rap","rapid","rash","rat","rate","rates","ratio","raw","ray","razor","razz","reach","read","ready","real","realm","ream","rear","rebel","red","reed","reef","reek","reel","reign","relay","relic","rent","reply","reset","resin","rest","retro","revel","rhino","rhyme","rib","rice","ricer","rich","ride","rider","ridge","riff","rifle","rift","rig","right","rim","rind","ring","rings","rink","rinse","riot","rip","rise","riser","risk","rite","rival","river","roach","road","roads","roar","roast","robe","robin","robot","rock","rod","rodeo","rogue","role","roll","room","rooms","roost","root","roots","rope","rose","rot","rotor","rouge","rough","round","route","rover","row","rowdy","rower","royal","rub","rube","ruby","rug","rugby","ruin","rule","ruler","rum","rummy","rumor","run","rune","rung","runt","ruse","rush","rust","rut","saber","safe","sag","saga","sage","sail","saint","salad","sale","salem","sales","salon","salsa","salt","same","sand","sands","sang","sash","sass","sauce","sauna","save","saver","savor","saw","say","scale","scan","scar","scare","scarf","scene","scent","scold","scone","scoop","scope","score","scorn","scout","scrap","sea","seal","seam","seat","seats","sect","sedan","see","seed","seek","seer","self","sell","sense","serum","serve","servo","set","setup","seven","shack","shade","shake","sham","shame","shank","shape","shard","share","shark","sharp","shave","shawl","shed","sheep","sheet","shelf","shell","shift","shill","shim","shin","ship","shirt","shoe","shoes","shop","shore","shot","shove","show","shred","shrub","shrug","shy","sick","siege","sigh","sight","sign","silk","silks","silly","silo","sin","sink","sinus","sip","sir","siren","six","sixer","sixth","sixty","size","ski","skid","skier","skill","skim","skin","skip","skirt","skit","skull","skunk","sky","slab","slack","slag","slain","slam","slang","slant","slap","slash","slate","slave","slaw","sled","sleep","sleet","slew","slews","slice","slick","slide","slime","sling","slip","slit","slob","slope","slot","sloth","slug","slum","slump","slur","slush","smack","small","smart","smash","smear","smell","smelt","smile","smirk","smith","smock","smog","smoke","snack","snag","snail","snake","snap","snare","snarl","sneak","sniff","snipe","snore","snort","snot","snow","snug","soak","soap","soar","sob","sock","sofa","softy","soil","sole","solid","son","sonar","song","sonny","soot","sooth","sore","sort","soul","sound","soup","sour","south","spa","space","spade","spam","span","spar","spare","spark","spasm","spat","spawn","speed","spell","spelt","spice","spike","spill","spin","spit","spite","splat","split","spoil","spoke","spoof","spook","spool","spoon","spore","sport","spot","spots","spout","spray","spree","spud","spur","spurt","spy","squat","squid","stab","stack","staff","stag","stage","stain","stair","stake","stalk","stall","stamp","stand","star","stare","start","stash","state","stay","stays","steak","steal","steam","steed","steel","steer","stem","step","steps","stern","stew","stick","stiff","still","stilt","sting","stink","stint","stir","stock","stoic","stomp","stone","stool","stoop","stop","stops","store","stork","storm","story","stove","strap","straw","stray","strip","strum","strut","stub","stud","study","stuff","stump","stunt","style","sub","suds","sugar","suit","suite","sum","sumer","sun","sung","super","surf","surge","sushi","sutra","swab","swag","swamp","swan","swap","swarm","sway","sweat","sweep","sweet","swell","swift","swim","swine","swing","swipe","swirl","swish","syrup","table","tack","taco","tact","tad","taffy","tag","tail","tails","take","taker","tale","talk","talks","tall","tally","talon","tan","tank","tap","tape","taps","tar","tarp","tart","task","taste","taunt","tax","taxer","taxi","taxis","tea","teach","teal","team","tear","tears","tease","teen","teens","teeth","tell","temp","tempo","ten","tense","tent","tenth","term","terms","test","text","thaw","theft","theme","then","there","theta","thick","thief","thigh","thing","think","third","thorn","three","throw","thud","thug","thumb","tick","tide","tidy","tie","tier","tiger","tilde","tile","till","time","timer","times","timid","tin","tint","tip","tire","titan","title","toad","toady","toast","today","toe","toil","token","toll","tomb","tome","ton","tone","toner","tongs","tonic","tons","tool","toon","toot","tooth","top","topic","torch","torso","toss","total","tote","totem","touch","tough","tour","tours","tow","towel","tower","town","towny","toxin","toy","trace","track","trade","trail","train","trait","trap","trash","tray","tread","treat","tree","trek","trend","triad","trial","trick","trim","trio","trip","troll","troop","trot","trout","truce","truck","true","trump","trunk","trust","truth","try","tub","tuba","tube","tuck","tug","tulip","tummy","tumor","tuna","tune","tuner","tunic","turf","turn","tush","tusk","tutor","twine","twins","twirl","twist","two","tying","type","typo","udder","ulcer","uncle","union","unit","unity","upper","upset","urn","usage","use","user","usher","using","valet","valor","value","valve","van","vase","vat","vault","vegan","veil","vein","venom","vent","venue","verb","verge","vest","vet","vial","vibe","vibes","vice","video","view","vigil","vine","vinyl","viola","viper","virgo","virus","visit","visor","vista","vocal","vodka","vogue","voice","void","volt","vote","voter","vow","vowel","wacko","wad","wade","wader","wads","wafer","waft","wag","wage","wager","wages","wagon","wail","wain","waist","wait","wake","walk","wall","waltz","wane","want","war","ward","ware","warp","wart","wash","wasp","waste","watch","water","watt","watts","wave","waver","wax","way","ways","wear","weave","web","wed","wedge","week","weird","well","wells","welsh","west","wet","whack","whale","wharf","wheat","wheel","whey","whiff","while","whim","whip","whirl","whisk","white","who","whole","whore","why","wick","widow","width","wife","wig","wild","will","wilt","wimp","win","wince","winch","wind","wine","wing","wings","wink","wipe","wiper","wire","wise","wish","wit","witch","wits","woe","wolf","woman","womb","won","wood","woods","woof","wool","word","words","work","works","world","worm","worry","worse","worst","wort","worth","wound","wow","wrack","wrap","wrath","wreck","wring","wrist","wrong","yam","yard","yarn","yawn","yay","year","years","yeast","yell","yes","yeti","yield","yoga","yolk","young","youth","zap","zebra","zinc","zing","zip","zit","zone","zoo","zoom","zero","whir","welt","whig","wand","twin","tribe","tilt","sword","spine","spear","site","shock","sent"],Nn={0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine"},Ss=({href:e,title:t,className:n})=>S.jsx("a",{className:`${n} text-zinc-100 hover:text-zinc-800 transition ease-in-out`,href:e,target:"_blank",rel:"noreferrer",children:t});function Cs(){return S.jsx("div",{className:"flex flex-col items-center w-full p-2 text-lg font-bold text-zinc-800 bg-amber-500",children:S.jsxs("div",{className:"flex",children:["We're moving! Check out the new look out at  ",S.jsx(Ss,{className:"underline",href:"https://quibbble.com",title:"quibbble.com"}),"."]})})}function Ts(e){const{config:t,options:n,setOptions:r,children:i}=e,o=ht.useNavigate(),[l,a]=ie.useState(`${Ti[Math.floor(Math.random()*Ti.length)]}-${Ai[Math.floor(Math.random()*Ai.length)]}-${Math.floor(Math.random()*(99-0+1)+0)}`),[s,c]=ie.useState(t.minTeams);ie.useEffect(()=>{const u=async()=>{let p=await Ci(t.host);(!p||p.status!==200)&&o("/status/down")};u();const d=setInterval(async()=>{u()},1e4);return()=>clearInterval(d)},[o]);async function f(u){u.preventDefault();let d=await ws(t.host,t.key,l,s,n);(d===201||d===400)&&o(`/${l}`)}return S.jsxs("div",{children:[S.jsx("div",{className:"flex items-center w-full",children:S.jsx(Cs,{})}),S.jsxs("div",{className:"flex flex-col items-center m-8 md:m-12",children:[S.jsx("div",{className:"w-full max-w-2xl",children:S.jsxs("div",{className:"flex flex-col items-center fade-in",children:[S.jsx("div",{className:` text-5xl font-black font-['${t.font}'] text-${t.color} mb-1 cursor-pointer`,children:S.jsx("a",{href:`${window.location.protocol}//${window.location.host}`,children:t.key})}),S.jsxs("div",{className:"mb-3 font-thin",children:["Play ",t.minTeams===t.maxTeams?`${Nn[t.minTeams]}`:`${Nn[t.minTeams]} to ${Nn[t.maxTeams]}`," player ",t.key," online against friends. To create a game or join an existing one, enter a game ID and click 'Go'."]}),S.jsxs("form",{className:"flex w-full mb-3",onSubmit:f,children:[S.jsx("input",{className:"box-border w-10/12 p-2 text-3xl font-medium border rounded-none text-zinc-100 bg-zinc-800 border-zinc-100 focus:outline-dashed outline-blue-500 outline-2",autoFocus:!0,type:"text",value:l,onChange:u=>a(u.target.value)}),S.jsx("button",{className:"w-2/12 font-bold bg-blue-500 grow-0",children:"Go"})]}),S.jsxs("div",{className:"flex flex-wrap justify-between w-full gap-2",children:[S.jsxs("div",{className:"flex order-2 md:order-1",children:[S.jsx("button",{onClick:()=>o("/rules"),title:"how to play",className:"p-2 mr-3 text-xs italic font-bold bg-blue-500 md:mr-2 first-line:p-2",children:"game rules"}),S.jsxs("a",{className:"px-2 py-1 text-xs italic text-blue-500 border border-blue-500 border-dashed",href:"https://quibbble.com",target:"_blank",children:["more ",S.jsx("span",{className:"text-zinc-100 font-['lobster'] text-sm not-italic",children:"quibbble"})," games"]})]}),S.jsxs("div",{className:"flex items-center order-1 mb-3 overflow-scroll no-scrollbar flex-warp md:order-2 md:mb-0",children:[n.Variant?S.jsxs(S.Fragment,{children:[S.jsx("div",{className:"mr-1 font-black text-blue-500",children:"VARIANT"}),S.jsx("select",{className:"h-6 px-2 mr-1 text-xs font-bold border bg-zinc-800 border-zinc-100 focus:outline-none",id:"players",onChange:u=>r(d=>({...d,Variant:u.target.value.replace(/\s/g,"")})),children:t.variants.map(u=>S.jsx("option",{value:u,children:u},u))})]}):null,t.minTeams!==t.maxTeams?S.jsxs(S.Fragment,{children:[S.jsx("div",{className:"mx-1 font-black text-blue-500",children:"PLAYERS"}),S.jsx("select",{className:"h-6 px-2 text-xs font-bold border bg-zinc-800 border-zinc-100 focus:outline-none",id:"players",onChange:u=>c(parseInt(u.target.value)),children:Array(t.maxTeams-t.minTeams+1).fill().map((u,d)=>t.minTeams+d).map(u=>S.jsx("option",{value:u,children:u},u))})]}):null,i]})]})]})}),S.jsx("div",{className:"absolute bottom-8 md:bottom-12",children:S.jsx(Rt,{})})]})]})}var Pi={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Oi=ie.createContext&&ie.createContext(Pi),rt=globalThis&&globalThis.__assign||function(){return rt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{e?setTimeout(()=>n(r=>r-1),1500):n(0)},[e,n]),S.jsxs("div",{className:`flex items-center ${e?"cursor-pointer":""}`,children:[t?null:S.jsx("div",{className:"px-1",children:e?"connected":"connecting"}),S.jsx("div",{onClick:()=>{e&&(n(0),setTimeout(()=>n(t-1),1500))},className:`rounded-full w-2 h-2 ${e?"bg-green-500":"bg-orange-500"}`,children:e?null:S.jsx("div",{className:"rounded-full w-2 h-2 bg-orange-500 animate-ping"})})]})}const zs=ie.forwardRef((e,t)=>{const{config:n,ws:r,game:i,setGame:o,network:l,setNetwork:a,chat:s,setChat:c,connected:f,setConnected:u,error:d,setError:p,debug:m,children:g}=e;m&&(i&&console.log("game: ",i),l&&console.log("network: ",l),s&&console.log("chat: ",s),f&&console.log("connected: ",f),d&&console.log("error: ",d));const{gameID:b}=ht.useParams(),x=ht.useNavigate(),A=f&&l&&f[l.Name]?f[l.Name]:null;A&&localStorage.setItem(b,A);const T=ie.useCallback(H=>{r.current&&r.current.send(JSON.stringify({ActionType:"SetTeam",MoreDetails:{Team:H}}))},[r]);ie.useCallback(()=>{r.current&&r.current.send(JSON.stringify({ActionType:"SetOpenTeam"}))},[r]);const _=ie.useCallback(()=>{r.current&&r.current.send(JSON.stringify({ActionType:"Reset"}))},[i,r]),E=ie.useCallback(()=>{r.current&&(i&&f&&l&&i.Actions&&i.Actions.length>0&&i.Actions[i.Actions.length-1].Team!==f[l.Name]||r.current.send(JSON.stringify({ActionType:"Undo"})))},[r]),[w,N]=ie.useState(!1),U=async(H,ce)=>{if(H<=0){x("/");return}let ve=await vs(n.host,n.key,b);if(!ve){ce&&sessionStorage.setItem("gameID",b),x("/status/down");return}if(ve.status!==200){x("/");return}r.current=new WebSocket(`${n.websocket}/game/join?GameKey=${n.key}&GameID=${b.toLowerCase()}`),r.current.onopen=()=>{N(!0);let h=localStorage.getItem(b);h&&T(h)},r.current.onclose=h=>{N(!1),h.code!=1e3&&setTimeout(function(){U(H-1,!0)},1e3+(3-H)*500)},r.current.onmessage=async h=>{let F=JSON.parse(h.data);F.Type==="Game"?o(F.Payload):F.Type==="Network"?a(F.Payload):F.Type==="Chat"?c(q=>q.concat([F.Payload])):F.Type==="Connected"?u(F.Payload):F.Type==="Error"&&p(F.Payload)},r.current.onerror=h=>{console.error("Socket encountered error: ",h.message)}};ie.useEffect(()=>(U(3,!1),H=>{var ce;return(ce=r.current)==null?void 0:ce.close(1e3)}),[]);const[te,v]=ie.useState(!0);ie.useEffect(()=>{const H=()=>v(!te);return window.addEventListener("resize",H),ce=>window.removeEventListener("resize",H)});const[j,z]=ie.useState(0);ie.useEffect(()=>{j>0&&setTimeout(()=>z(j-1),1e3)},[j]);const[Q,Z]=ie.useState(!1),J=()=>S.jsx("div",{className:"z-50 absolute h-[95%] w-full flex items-center justify-center fade-in",children:S.jsxs("div",{className:"bg-zinc-900 p-8 rounded-md",children:[S.jsx("p",{className:"mb-4",children:"Are you sure you want to reset the game?"}),S.jsxs("div",{className:"flex justify-between",children:[S.jsx("button",{className:"px-2 py-1 bg-blue-500 text-sm font-bold",onClick:()=>Z(!1),children:"cancel"}),S.jsx("button",{className:"px-2 py-1 bg-red-500 text-sm font-bold",onClick:()=>{_(),Z(!1)},children:"reset game"})]})]})}),le=ie.useCallback(H=>{if(n.shortcut||(n.shortcut={nextTeam:"n",currentTeam:"c",undo:"u"}),H.key===n.shortcut.nextTeam){let ce=i.Teams,ve=ce[(ce.indexOf(A)+1)%ce.length];T(ve)}else H.key===n.shortcut.currentTeam&&i.Turn!==A?T(i.Turn):H.key===n.shortcut.undo&&E()},[i,A]);return ie.useEffect(()=>(document.addEventListener("keydown",le),()=>{document.removeEventListener("keydown",le)}),[le]),S.jsxs("div",{className:"min-h-screen flex flex-col items-center p-2 md:p-4 fade-in",children:[Q?S.jsx(J,{}):null,S.jsxs("div",{ref:t,className:`h-full w-full ${n.gamePageMaxWidth?n.gamePageMaxWidth:"max-w-xl"} flex flex-col items-center grow`,children:[S.jsxs("div",{className:"flex justify-between items-center relative w-full mb-1 justfy-self-start font-thin text-sm",children:[S.jsxs("div",{children:[S.jsxs("div",{className:"flex items-center cursor-pointer",onClick:()=>{z(1),navigator.clipboard.writeText(`${window.location.protocol}//${window.location.host}/${b}`)},children:[S.jsx(_s,{className:"mr-1"}),S.jsx("span",{className:"underline",children:`${window.location.protocol}//${window.location.host}/${b}`})]}),j>0?S.jsxs("div",{className:"absolute mt-2 w-6/12 flex justify-center",children:[S.jsx("div",{className:"absolute top-[-12px] w-6 overflow-hidden inline-block",children:S.jsx("div",{className:" h-4 w-4 bg-zinc-600 rotate-45 transform origin-bottom-left"})}),S.jsx("div",{className:"font-bold text-xs text-center bg-zinc-600 px-2 py-1",children:"copied!"})]}):null]}),S.jsx("div",{className:"px-1",children:S.jsx(Ds,{isConn:w})})]}),S.jsx("hr",{className:"w-full mb-2"}),S.jsxs("div",{className:"flex w-full justify-between items-center mb-4",children:[S.jsx("div",{className:"flex",children:i&&i.Teams?i.Teams.map(H=>S.jsx("div",{className:`text-xs flex items-center justify-center font-bold cursor-pointer mr-1 w-6 h-6 rounded-full border-4 border-${H}-500 ${A===H?`bg-${A}-500 pointer-events-none`:""}`,onClick:()=>T(H),children:i&&i.MoreData&&i.MoreData.Points?i.MoreData.Points[H]:""},H)):null}),S.jsx("div",{className:`font-extrabold ${i&&f&&l&&f[l.Name]&&i.Winners.length===0?`text-${i.Turn}-500`:"text-zinc-100"} ${i&&l&&f&&f[l.Name]===i.Turn&&i.Winners.length===0?"animate-pulse":""}`,children:i&&f&&l&&f[l.Name]?i.Message:S.jsxs("div",{className:"flex items-center animate-pulse",children:[S.jsx(Os,{className:"mr-1"}),S.jsx("div",{children:"select a team"})]})})]}),S.jsx("div",{className:"p-4 h-full w-full flex flex-col justify-center items-center grow",children:g}),S.jsx("hr",{className:"w-full mt-4 mb-2"}),S.jsxs("div",{className:"w-full flex justify-between items-center",children:[S.jsx("div",{className:`leading-4 text-2xl font-black text-${n.color} cursor-pointer`,children:S.jsxs("button",{onClick:()=>{sessionStorage.setItem("gameID",""),x("/")},children:[S.jsx("span",{className:`font-['${n.font}']`,children:n.key}),S.jsx("span",{className:"ml-1 text-[0.5rem] md:text-xs text-zinc-100",children:i&&i.MoreData&&i.MoreData.Variant?i.MoreData.Variant:""})]})}),S.jsxs("div",{className:"flex",children:[S.jsx("button",{onClick:()=>E(),title:"undo move",className:`p-2 ${i&&f&&l&&i.Actions&&i.Actions.length>0&&i.Actions[i.Actions.length-1].Team===f[l.Name]?"bg-amber-500":"bg-zinc-700 text-zinc-500 cursor-default"} mr-3 md:mr-2 rounded-full`,children:S.jsx(Fs,{})}),S.jsx("button",{onClick:()=>Z(!0),title:"reset game",className:`p-2 ${i&&i.Winners.length>0?"bg-blue-500":"bg-zinc-500"} mr-3 md:mr-2 rounded-full`,children:S.jsx(Rs,{})}),S.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/bugs")},title:"find a bug?",className:"block md:hidden p-2 bg-zinc-500 mr-3 md:mr-2 rounded-full",children:S.jsx(Is,{})}),S.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/bugs")},title:"find a bug?",className:"hidden md:block mr-3 md:mr-2 p-2 bg-zinc-500 italic text-xs font-bold",children:"find a bug?"}),S.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/rules")},title:"game rules",className:"block md:hidden p-2 bg-blue-500 rounded-full",children:S.jsx(js,{})}),S.jsx("button",{onClick:()=>{sessionStorage.setItem("gameID",b),x("/rules")},title:"game rules",className:"hidden md:block p-2 bg-blue-500 italic text-xs font-bold",children:"game rules"})]})]})]})]})}),Fi=["http","https","mailto","tel"];function Ls(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */var zs=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const Ii=At(zs);function Dt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?_i(e.position):"start"in e||"end"in e?_i(e):"line"in e||"column"in e?$n(e):""}function $n(e){return ji(e&&e.line)+":"+ji(e&&e.column)}function _i(e){return $n(e&&e.start)+"-"+$n(e&&e.end)}function ji(e){return e&&typeof e=="number"?e:1}class Me extends Error{constructor(t,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const l=r.indexOf(":");l===-1?i[1]=r:(i[0]=r.slice(0,l),i[1]=r.slice(l+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=Dt(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}Me.prototype.file="",Me.prototype.name="",Me.prototype.reason="",Me.prototype.message="",Me.prototype.stack="",Me.prototype.fatal=null,Me.prototype.column=null,Me.prototype.line=null,Me.prototype.source=null,Me.prototype.ruleId=null,Me.prototype.position=null;const Ge={basename:Ls,dirname:Ns,extname:$s,join:Ms,sep:"/"};function Ls(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');zt(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.charCodeAt(i)===t.charCodeAt(a--)?a<0&&(r=i):(a=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function Ns(e){if(zt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function $s(e){zt(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const a=e.charCodeAt(t);if(a===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Ms(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Us(e,t){let n="",r=0,i=-1,o=0,l=-1,a,s;for(;++l<=e.length;){if(l2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function zt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const qs={cwd:Hs};function Hs(){return"/"}function Mn(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Vs(e){if(typeof e=="string")e=new URL(e);else if(!Mn(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Ws(e)}function Ws(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||rn.call(t,i)},qi=function(t,n){$i&&n.name==="__proto__"?$i(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Hi=function(t,n){if(n==="__proto__")if(rn.call(t,n)){if(Mi)return Mi(t,n).value}else return;return t[n]},Gs=function e(){var t,n,r,i,o,l,a=arguments[0],s=1,c=arguments.length,f=!1;for(typeof a=="boolean"&&(f=a,a=arguments[1]||{},s=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});sl.length;let s;a&&l.push(i);try{s=e.apply(this,l)}catch(c){const f=c;if(a&&n)throw f;return i(f)}a||(s instanceof Promise?s.then(o,i):s instanceof Error?i(s):o(s))}function i(l,...a){n||(n=!0,t(l,...a))}function o(l){i(null,l)}}const Xs=Yi().freeze(),Wi={}.hasOwnProperty;function Yi(){const e=Js(),t=[];let n={},r,i=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=a,o.attachers=t,o.use=s,o.parse=c,o.stringify=f,o.run=u,o.runSync=d,o.process=p,o.processSync=m,o;function o(){const g=Yi();let b=-1;for(;++b{if(w||!N||!U)E(w);else{const te=o.stringify(N,U);te==null||(eu(te)?U.value=te:U.result=te),E(w,U)}});function E(w,N){w||!N?C(w):A?A(N):b(null,N)}}}function m(g){let b;o.freeze(),Vn("processSync",o.Parser),Wn("processSync",o.Compiler);const x=Lt(g);return o.process(x,A),Ki("processSync","process",b),x;function A(C){b=!0,Li(C)}}}function Gi(e,t){return typeof e=="function"&&e.prototype&&(Qs(e.prototype)||t in e.prototype)}function Qs(e){let t;for(t in e)if(Wi.call(e,t))return!0;return!1}function Vn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Wn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Yn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ji(e){if(!Hn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Ki(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Lt(e){return Zs(e)?e:new Di(e)}function Zs(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function eu(e){return typeof e=="string"||Ii(e)}const tu={};function nu(e,t){const n=t||tu,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Xi(e,r,i)}function Xi(e,t,n){if(ru(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Qi(e.children,t,n)}return Array.isArray(e)?Qi(e,t,n):""}function Qi(e,t,n){const r=[];let i=-1;for(;++ii?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o0?(Je(e,e.length,0,t),e):t}const Zi={}.hasOwnProperty;function iu(e){const t={};let n=-1;for(;++nl))return;const N=t.events.length;let U=N,te,v;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){if(te){v=t.events[U][1].end;break}te=!0}for(x(r),w=N;wC;){const E=n[j];t.containerState=E[1],E[0].exit.call(t,e)}n.length=C}function A(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function yu(e,t,n){return xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function to(e){if(e===null||Fe(e)||pu(e))return 1;if(fu(e))return 2}function Kn(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const u=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);no(u,-s),no(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:u,end:Object.assign({},e[r][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},l.start),e[n][1].start=Object.assign({},a.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Be(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Be(c,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),c=Be(c,Kn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Be(c,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=Be(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Je(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n0&&fe(w)?xe(e,A,"linePrefix",o+1)(w):A(w)}function A(w){return w===null||G(w)?e.check(ao,g,j)(w):(e.enter("codeFlowValue"),C(w))}function C(w){return w===null||G(w)?(e.exit("codeFlowValue"),A(w)):(e.consume(w),C)}function j(w){return e.exit("codeFenced"),t(w)}function E(w,N,U){let te=0;return v;function v(J){return w.enter("lineEnding"),w.consume(J),w.exit("lineEnding"),_}function _(J){return w.enter("codeFencedFence"),fe(J)?xe(w,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):z(J)}function z(J){return J===a?(w.enter("codeFencedFenceSequence"),Q(J)):U(J)}function Q(J){return J===a?(te++,w.consume(J),Q):te>=l?(w.exit("codeFencedFenceSequence"),fe(J)?xe(w,Z,"whitespace")(J):Z(J)):U(J)}function Z(J){return J===null||G(J)?(w.exit("codeFencedFence"),N(J)):U(J)}}}function Ou(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const Zn={name:"codeIndented",tokenize:Fu},Ru={tokenize:Iu,partial:!0};function Fu(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),xe(e,o,"linePrefix",4+1)(c)}function o(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(c):n(c)}function l(c){return c===null?s(c):G(c)?e.attempt(Ru,l,s)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||G(c)?(e.exit("codeFlowValue"),l(c)):(e.consume(c),a)}function s(c){return e.exit("codeIndented"),t(c)}}function Iu(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):G(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):xe(e,o,"linePrefix",4+1)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):G(l)?i(l):n(l)}}const _u={name:"codeText",tokenize:zu,resolve:ju,previous:Du};function ju(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function co(e,t,n,r,i,o,l,a,s){const c=s||Number.POSITIVE_INFINITY;let f=0;return u;function u(x){return x===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(x),e.exit(o),d):x===null||x===32||x===41||Gn(x)?n(x):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(x))}function d(x){return x===62?(e.enter(o),e.consume(x),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===62?(e.exit("chunkString"),e.exit(a),d(x)):x===null||x===60||G(x)?n(x):(e.consume(x),x===92?m:p)}function m(x){return x===60||x===62||x===92?(e.consume(x),p):p(x)}function g(x){return!f&&(x===null||x===41||Fe(x))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(x)):f999||p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):G(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(p){return p===null||p===91||p===93||G(p)||a++>999?(e.exit("chunkString"),f(p)):(e.consume(p),s||(s=!fe(p)),p===92?d:u)}function d(p){return p===91||p===92||p===93?(e.consume(p),a++,u):u(p)}}function po(e,t,n,r,i,o){let l;return a;function a(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),l=d===40?41:d,s):n(d)}function s(d){return d===l?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(o),c(d))}function c(d){return d===l?(e.exit(o),s(l)):d===null?n(d):G(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),xe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===l||d===null||G(d)?(e.exit("chunkString"),c(d)):(e.consume(d),d===92?u:f)}function u(d){return d===l||d===92?(e.consume(d),f):f(d)}}function Nt(e,t){let n;return r;function r(i){return G(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):fe(i)?xe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function bt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const qu={name:"definition",tokenize:Vu},Hu={tokenize:Wu,partial:!0};function Vu(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),l(p)}function l(p){return fo.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=bt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):n(p)}function s(p){return Fe(p)?Nt(e,c)(p):c(p)}function c(p){return co(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(Hu,u,u)(p)}function u(p){return fe(p)?xe(e,d,"whitespace")(p):d(p)}function d(p){return p===null||G(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function Wu(e,t,n){return r;function r(a){return Fe(a)?Nt(e,i)(a):n(a)}function i(a){return po(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return fe(a)?xe(e,l,"whitespace")(a):l(a)}function l(a){return a===null||G(a)?t(a):n(a)}}const Yu={name:"hardBreakEscape",tokenize:Gu};function Gu(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return G(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Ju={name:"headingAtx",tokenize:Xu,resolve:Ku};function Ku(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Je(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Xu(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||Fe(f)?(e.exit("atxHeadingSequence"),a(f)):n(f)}function a(f){return f===35?(e.enter("atxHeadingSequence"),s(f)):f===null||G(f)?(e.exit("atxHeading"),t(f)):fe(f)?xe(e,a,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function s(f){return f===35?(e.consume(f),s):(e.exit("atxHeadingSequence"),a(f))}function c(f){return f===null||f===35||Fe(f)?(e.exit("atxHeadingText"),a(f)):(e.consume(f),c)}}const Qu=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ho=["pre","script","style","textarea"],Zu={name:"htmlFlow",tokenize:rc,resolveTo:nc,concrete:!0},ec={tokenize:oc,partial:!0},tc={tokenize:ic,partial:!0};function nc(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function rc(e,t,n){const r=this;let i,o,l,a,s;return c;function c(y){return f(y)}function f(y){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(y),u}function u(y){return y===33?(e.consume(y),d):y===47?(e.consume(y),o=!0,g):y===63?(e.consume(y),i=3,r.interrupt?t:h):Ke(y)?(e.consume(y),l=String.fromCharCode(y),b):n(y)}function d(y){return y===45?(e.consume(y),i=2,p):y===91?(e.consume(y),i=5,a=0,m):Ke(y)?(e.consume(y),i=4,r.interrupt?t:h):n(y)}function p(y){return y===45?(e.consume(y),r.interrupt?t:h):n(y)}function m(y){const B="CDATA[";return y===B.charCodeAt(a++)?(e.consume(y),a===B.length?r.interrupt?t:z:m):n(y)}function g(y){return Ke(y)?(e.consume(y),l=String.fromCharCode(y),b):n(y)}function b(y){if(y===null||y===47||y===62||Fe(y)){const B=y===47,ne=l.toLowerCase();return!B&&!o&&ho.includes(ne)?(i=1,r.interrupt?t(y):z(y)):Qu.includes(l.toLowerCase())?(i=6,B?(e.consume(y),x):r.interrupt?t(y):z(y)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(y):o?A(y):C(y))}return y===45||je(y)?(e.consume(y),l+=String.fromCharCode(y),b):n(y)}function x(y){return y===62?(e.consume(y),r.interrupt?t:z):n(y)}function A(y){return fe(y)?(e.consume(y),A):v(y)}function C(y){return y===47?(e.consume(y),v):y===58||y===95||Ke(y)?(e.consume(y),j):fe(y)?(e.consume(y),C):v(y)}function j(y){return y===45||y===46||y===58||y===95||je(y)?(e.consume(y),j):E(y)}function E(y){return y===61?(e.consume(y),w):fe(y)?(e.consume(y),E):C(y)}function w(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),s=y,N):fe(y)?(e.consume(y),w):U(y)}function N(y){return y===s?(e.consume(y),s=null,te):y===null||G(y)?n(y):(e.consume(y),N)}function U(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||Fe(y)?E(y):(e.consume(y),U)}function te(y){return y===47||y===62||fe(y)?C(y):n(y)}function v(y){return y===62?(e.consume(y),_):n(y)}function _(y){return y===null||G(y)?z(y):fe(y)?(e.consume(y),_):n(y)}function z(y){return y===45&&i===2?(e.consume(y),le):y===60&&i===1?(e.consume(y),H):y===62&&i===4?(e.consume(y),F):y===63&&i===3?(e.consume(y),h):y===93&&i===5?(e.consume(y),ve):G(y)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(ec,q,Q)(y)):y===null||G(y)?(e.exit("htmlFlowData"),Q(y)):(e.consume(y),z)}function Q(y){return e.check(tc,Z,q)(y)}function Z(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),J}function J(y){return y===null||G(y)?Q(y):(e.enter("htmlFlowData"),z(y))}function le(y){return y===45?(e.consume(y),h):z(y)}function H(y){return y===47?(e.consume(y),l="",ce):z(y)}function ce(y){if(y===62){const B=l.toLowerCase();return ho.includes(B)?(e.consume(y),F):z(y)}return Ke(y)&&l.length<8?(e.consume(y),l+=String.fromCharCode(y),ce):z(y)}function ve(y){return y===93?(e.consume(y),h):z(y)}function h(y){return y===62?(e.consume(y),F):y===45&&i===2?(e.consume(y),h):z(y)}function F(y){return y===null||G(y)?(e.exit("htmlFlowData"),q(y)):(e.consume(y),F)}function q(y){return e.exit("htmlFlow"),t(y)}}function ic(e,t,n){const r=this;return i;function i(l){return G(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function oc(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(on,t,n)}}const lc={name:"htmlText",tokenize:ac};function ac(e,t,n){const r=this;let i,o,l;return a;function a(h){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(h),s}function s(h){return h===33?(e.consume(h),c):h===47?(e.consume(h),E):h===63?(e.consume(h),C):Ke(h)?(e.consume(h),U):n(h)}function c(h){return h===45?(e.consume(h),f):h===91?(e.consume(h),o=0,m):Ke(h)?(e.consume(h),A):n(h)}function f(h){return h===45?(e.consume(h),p):n(h)}function u(h){return h===null?n(h):h===45?(e.consume(h),d):G(h)?(l=u,H(h)):(e.consume(h),u)}function d(h){return h===45?(e.consume(h),p):u(h)}function p(h){return h===62?le(h):h===45?d(h):u(h)}function m(h){const F="CDATA[";return h===F.charCodeAt(o++)?(e.consume(h),o===F.length?g:m):n(h)}function g(h){return h===null?n(h):h===93?(e.consume(h),b):G(h)?(l=g,H(h)):(e.consume(h),g)}function b(h){return h===93?(e.consume(h),x):g(h)}function x(h){return h===62?le(h):h===93?(e.consume(h),x):g(h)}function A(h){return h===null||h===62?le(h):G(h)?(l=A,H(h)):(e.consume(h),A)}function C(h){return h===null?n(h):h===63?(e.consume(h),j):G(h)?(l=C,H(h)):(e.consume(h),C)}function j(h){return h===62?le(h):C(h)}function E(h){return Ke(h)?(e.consume(h),w):n(h)}function w(h){return h===45||je(h)?(e.consume(h),w):N(h)}function N(h){return G(h)?(l=N,H(h)):fe(h)?(e.consume(h),N):le(h)}function U(h){return h===45||je(h)?(e.consume(h),U):h===47||h===62||Fe(h)?te(h):n(h)}function te(h){return h===47?(e.consume(h),le):h===58||h===95||Ke(h)?(e.consume(h),v):G(h)?(l=te,H(h)):fe(h)?(e.consume(h),te):le(h)}function v(h){return h===45||h===46||h===58||h===95||je(h)?(e.consume(h),v):_(h)}function _(h){return h===61?(e.consume(h),z):G(h)?(l=_,H(h)):fe(h)?(e.consume(h),_):te(h)}function z(h){return h===null||h===60||h===61||h===62||h===96?n(h):h===34||h===39?(e.consume(h),i=h,Q):G(h)?(l=z,H(h)):fe(h)?(e.consume(h),z):(e.consume(h),Z)}function Q(h){return h===i?(e.consume(h),i=void 0,J):h===null?n(h):G(h)?(l=Q,H(h)):(e.consume(h),Q)}function Z(h){return h===null||h===34||h===39||h===60||h===61||h===96?n(h):h===47||h===62||Fe(h)?te(h):(e.consume(h),Z)}function J(h){return h===47||h===62||Fe(h)?te(h):n(h)}function le(h){return h===62?(e.consume(h),e.exit("htmlTextData"),e.exit("htmlText"),t):n(h)}function H(h){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),ce}function ce(h){return fe(h)?xe(e,ve,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):ve(h)}function ve(h){return e.enter("htmlTextData"),l(h)}}const er={name:"labelEnd",tokenize:hc,resolveTo:pc,resolveAll:fc},sc={tokenize:dc},uc={tokenize:mc},cc={tokenize:gc};function fc(e){let t=-1;for(;++t=3&&(c===null||G(c))?(e.exit("thematicBreak"),t(c)):n(c)}function s(c){return c===i?(e.consume(c),r++,s):(e.exit("thematicBreakSequence"),fe(c)?xe(e,a,"whitespace")(c):a(c))}}const Ie={name:"list",tokenize:Cc,continuation:{tokenize:Tc},exit:Pc},Ec={tokenize:Oc,partial:!0},Sc={tokenize:Ac,partial:!0};function Cc(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(p){const m=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Jn(p)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ln,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return n(p)}function s(p){return Jn(p)&&++l<10?(e.consume(p),s):(!r.interrupt||l<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(on,r.interrupt?n:f,e.attempt(Ec,d,u))}function f(p){return r.containerState.initialBlankLine=!0,o++,d(p)}function u(p){return fe(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):n(p)}function d(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Tc(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(on,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,xe(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!fe(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Sc,t,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,xe(e,e.attempt(Ie,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Ac(e,t,n){const r=this;return xe(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function Pc(e){e.exit(this.containerState.type)}function Oc(e,t,n){const r=this;return xe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(o){const l=r.events[r.events.length-1];return!fe(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const mo={name:"setextUnderline",tokenize:Fc,resolveTo:Rc};function Rc(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=l,e.push(["exit",l,t]),e}function Fc(e,t,n){const r=this;let i;return o;function o(c){let f=r.events.length,u;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){u=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||u)?(e.enter("setextHeadingLine"),i=c,l(c)):n(c)}function l(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),fe(c)?xe(e,s,"lineSuffix")(c):s(c))}function s(c){return c===null||G(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Ic={tokenize:_c};function _c(e){const t=this,n=e.attempt(on,r,e.attempt(this.parser.constructs.flowInitial,i,xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Nu,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const jc={resolveAll:yo()},Dc=go("string"),zc=go("text");function go(e){return{tokenize:t,resolveAll:yo(e==="text"?Lc:void 0)};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,a);return l;function l(f){return c(f)?o(f):a(f)}function a(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),s}function s(f){return c(f)?(n.exit("data"),o(f)):(n.consume(f),s)}function c(f){if(f===null)return!0;const u=i[f];let d=-1;if(u)for(;++d-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function Mc(e,t){let n=-1;const r=[];let i;for(;++ne.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.charCodeAt(i)===t.charCodeAt(a--)?a<0&&(r=i):(a=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function Ms(e){if(zt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function Bs(e){zt(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const a=e.charCodeAt(t);if(a===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Us(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Hs(e,t){let n="",r=0,i=-1,o=0,l=-1,a,s;for(;++l<=e.length;){if(l2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return n}function zt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Vs={cwd:Ws};function Ws(){return"/"}function Mn(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Ys(e){if(typeof e=="string")e=new URL(e);else if(!Mn(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Gs(e)}function Gs(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||rn.call(t,i)},qi=function(t,n){$i&&n.name==="__proto__"?$i(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Hi=function(t,n){if(n==="__proto__")if(rn.call(t,n)){if(Mi)return Mi(t,n).value}else return;return t[n]},Ks=function e(){var t,n,r,i,o,l,a=arguments[0],s=1,c=arguments.length,f=!1;for(typeof a=="boolean"&&(f=a,a=arguments[1]||{},s=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});sl.length;let s;a&&l.push(i);try{s=e.apply(this,l)}catch(c){const f=c;if(a&&n)throw f;return i(f)}a||(s instanceof Promise?s.then(o,i):s instanceof Error?i(s):o(s))}function i(l,...a){n||(n=!0,t(l,...a))}function o(l){i(null,l)}}const Zs=Yi().freeze(),Wi={}.hasOwnProperty;function Yi(){const e=Xs(),t=[];let n={},r,i=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=a,o.attachers=t,o.use=s,o.parse=c,o.stringify=f,o.run=u,o.runSync=d,o.process=p,o.processSync=m,o;function o(){const g=Yi();let b=-1;for(;++b{if(w||!N||!U)E(w);else{const te=o.stringify(N,U);te==null||(nu(te)?U.value=te:U.result=te),E(w,U)}});function E(w,N){w||!N?T(w):A?A(N):b(null,N)}}}function m(g){let b;o.freeze(),Vn("processSync",o.Parser),Wn("processSync",o.Compiler);const x=Lt(g);return o.process(x,A),Ki("processSync","process",b),x;function A(T){b=!0,Li(T)}}}function Gi(e,t){return typeof e=="function"&&e.prototype&&(eu(e.prototype)||t in e.prototype)}function eu(e){let t;for(t in e)if(Wi.call(e,t))return!0;return!1}function Vn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Wn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Yn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ji(e){if(!Hn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Ki(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Lt(e){return tu(e)?e:new Di(e)}function tu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function nu(e){return typeof e=="string"||Ii(e)}const ru={};function iu(e,t){const n=t||ru,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Xi(e,r,i)}function Xi(e,t,n){if(ou(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Qi(e.children,t,n)}return Array.isArray(e)?Qi(e,t,n):""}function Qi(e,t,n){const r=[];let i=-1;for(;++ii?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o0?(Je(e,e.length,0,t),e):t}const Zi={}.hasOwnProperty;function lu(e){const t={};let n=-1;for(;++nl))return;const N=t.events.length;let U=N,te,v;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){if(te){v=t.events[U][1].end;break}te=!0}for(x(r),w=N;wT;){const E=n[_];t.containerState=E[1],E[0].exit.call(t,e)}n.length=T}function A(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function ku(e,t,n){return xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function to(e){if(e===null||Fe(e)||du(e))return 1;if(hu(e))return 2}function Kn(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const u=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);no(u,-s),no(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:u,end:Object.assign({},e[r][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},l.start),e[n][1].start=Object.assign({},a.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Be(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Be(c,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),c=Be(c,Kn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Be(c,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=Be(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Je(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n0&&fe(w)?xe(e,A,"linePrefix",o+1)(w):A(w)}function A(w){return w===null||G(w)?e.check(ao,g,_)(w):(e.enter("codeFlowValue"),T(w))}function T(w){return w===null||G(w)?(e.exit("codeFlowValue"),A(w)):(e.consume(w),T)}function _(w){return e.exit("codeFenced"),t(w)}function E(w,N,U){let te=0;return v;function v(J){return w.enter("lineEnding"),w.consume(J),w.exit("lineEnding"),j}function j(J){return w.enter("codeFencedFence"),fe(J)?xe(w,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):z(J)}function z(J){return J===a?(w.enter("codeFencedFenceSequence"),Q(J)):U(J)}function Q(J){return J===a?(te++,w.consume(J),Q):te>=l?(w.exit("codeFencedFenceSequence"),fe(J)?xe(w,Z,"whitespace")(J):Z(J)):U(J)}function Z(J){return J===null||G(J)?(w.exit("codeFencedFence"),N(J)):U(J)}}}function Fu(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const Zn={name:"codeIndented",tokenize:ju},Iu={tokenize:_u,partial:!0};function ju(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),xe(e,o,"linePrefix",4+1)(c)}function o(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(c):n(c)}function l(c){return c===null?s(c):G(c)?e.attempt(Iu,l,s)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||G(c)?(e.exit("codeFlowValue"),l(c)):(e.consume(c),a)}function s(c){return e.exit("codeIndented"),t(c)}}function _u(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):G(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):xe(e,o,"linePrefix",4+1)(l)}function o(l){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(l):G(l)?i(l):n(l)}}const Du={name:"codeText",tokenize:Nu,resolve:zu,previous:Lu};function zu(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function co(e,t,n,r,i,o,l,a,s){const c=s||Number.POSITIVE_INFINITY;let f=0;return u;function u(x){return x===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(x),e.exit(o),d):x===null||x===32||x===41||Gn(x)?n(x):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(x))}function d(x){return x===62?(e.enter(o),e.consume(x),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===62?(e.exit("chunkString"),e.exit(a),d(x)):x===null||x===60||G(x)?n(x):(e.consume(x),x===92?m:p)}function m(x){return x===60||x===62||x===92?(e.consume(x),p):p(x)}function g(x){return!f&&(x===null||x===41||Fe(x))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(x)):f999||p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):G(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(p){return p===null||p===91||p===93||G(p)||a++>999?(e.exit("chunkString"),f(p)):(e.consume(p),s||(s=!fe(p)),p===92?d:u)}function d(p){return p===91||p===92||p===93?(e.consume(p),a++,u):u(p)}}function po(e,t,n,r,i,o){let l;return a;function a(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),l=d===40?41:d,s):n(d)}function s(d){return d===l?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(o),c(d))}function c(d){return d===l?(e.exit(o),s(l)):d===null?n(d):G(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),xe(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===l||d===null||G(d)?(e.exit("chunkString"),c(d)):(e.consume(d),d===92?u:f)}function u(d){return d===l||d===92?(e.consume(d),f):f(d)}}function Nt(e,t){let n;return r;function r(i){return G(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):fe(i)?xe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function bt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Vu={name:"definition",tokenize:Yu},Wu={tokenize:Gu,partial:!0};function Yu(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),l(p)}function l(p){return fo.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=bt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):n(p)}function s(p){return Fe(p)?Nt(e,c)(p):c(p)}function c(p){return co(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(Wu,u,u)(p)}function u(p){return fe(p)?xe(e,d,"whitespace")(p):d(p)}function d(p){return p===null||G(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function Gu(e,t,n){return r;function r(a){return Fe(a)?Nt(e,i)(a):n(a)}function i(a){return po(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return fe(a)?xe(e,l,"whitespace")(a):l(a)}function l(a){return a===null||G(a)?t(a):n(a)}}const Ju={name:"hardBreakEscape",tokenize:Ku};function Ku(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return G(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Xu={name:"headingAtx",tokenize:Zu,resolve:Qu};function Qu(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Je(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Zu(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||Fe(f)?(e.exit("atxHeadingSequence"),a(f)):n(f)}function a(f){return f===35?(e.enter("atxHeadingSequence"),s(f)):f===null||G(f)?(e.exit("atxHeading"),t(f)):fe(f)?xe(e,a,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function s(f){return f===35?(e.consume(f),s):(e.exit("atxHeadingSequence"),a(f))}function c(f){return f===null||f===35||Fe(f)?(e.exit("atxHeadingText"),a(f)):(e.consume(f),c)}}const ec=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ho=["pre","script","style","textarea"],tc={name:"htmlFlow",tokenize:oc,resolveTo:ic,concrete:!0},nc={tokenize:ac,partial:!0},rc={tokenize:lc,partial:!0};function ic(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function oc(e,t,n){const r=this;let i,o,l,a,s;return c;function c(y){return f(y)}function f(y){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(y),u}function u(y){return y===33?(e.consume(y),d):y===47?(e.consume(y),o=!0,g):y===63?(e.consume(y),i=3,r.interrupt?t:h):Ke(y)?(e.consume(y),l=String.fromCharCode(y),b):n(y)}function d(y){return y===45?(e.consume(y),i=2,p):y===91?(e.consume(y),i=5,a=0,m):Ke(y)?(e.consume(y),i=4,r.interrupt?t:h):n(y)}function p(y){return y===45?(e.consume(y),r.interrupt?t:h):n(y)}function m(y){const B="CDATA[";return y===B.charCodeAt(a++)?(e.consume(y),a===B.length?r.interrupt?t:z:m):n(y)}function g(y){return Ke(y)?(e.consume(y),l=String.fromCharCode(y),b):n(y)}function b(y){if(y===null||y===47||y===62||Fe(y)){const B=y===47,ne=l.toLowerCase();return!B&&!o&&ho.includes(ne)?(i=1,r.interrupt?t(y):z(y)):ec.includes(l.toLowerCase())?(i=6,B?(e.consume(y),x):r.interrupt?t(y):z(y)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(y):o?A(y):T(y))}return y===45||_e(y)?(e.consume(y),l+=String.fromCharCode(y),b):n(y)}function x(y){return y===62?(e.consume(y),r.interrupt?t:z):n(y)}function A(y){return fe(y)?(e.consume(y),A):v(y)}function T(y){return y===47?(e.consume(y),v):y===58||y===95||Ke(y)?(e.consume(y),_):fe(y)?(e.consume(y),T):v(y)}function _(y){return y===45||y===46||y===58||y===95||_e(y)?(e.consume(y),_):E(y)}function E(y){return y===61?(e.consume(y),w):fe(y)?(e.consume(y),E):T(y)}function w(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),s=y,N):fe(y)?(e.consume(y),w):U(y)}function N(y){return y===s?(e.consume(y),s=null,te):y===null||G(y)?n(y):(e.consume(y),N)}function U(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||Fe(y)?E(y):(e.consume(y),U)}function te(y){return y===47||y===62||fe(y)?T(y):n(y)}function v(y){return y===62?(e.consume(y),j):n(y)}function j(y){return y===null||G(y)?z(y):fe(y)?(e.consume(y),j):n(y)}function z(y){return y===45&&i===2?(e.consume(y),le):y===60&&i===1?(e.consume(y),H):y===62&&i===4?(e.consume(y),F):y===63&&i===3?(e.consume(y),h):y===93&&i===5?(e.consume(y),ve):G(y)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(nc,q,Q)(y)):y===null||G(y)?(e.exit("htmlFlowData"),Q(y)):(e.consume(y),z)}function Q(y){return e.check(rc,Z,q)(y)}function Z(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),J}function J(y){return y===null||G(y)?Q(y):(e.enter("htmlFlowData"),z(y))}function le(y){return y===45?(e.consume(y),h):z(y)}function H(y){return y===47?(e.consume(y),l="",ce):z(y)}function ce(y){if(y===62){const B=l.toLowerCase();return ho.includes(B)?(e.consume(y),F):z(y)}return Ke(y)&&l.length<8?(e.consume(y),l+=String.fromCharCode(y),ce):z(y)}function ve(y){return y===93?(e.consume(y),h):z(y)}function h(y){return y===62?(e.consume(y),F):y===45&&i===2?(e.consume(y),h):z(y)}function F(y){return y===null||G(y)?(e.exit("htmlFlowData"),q(y)):(e.consume(y),F)}function q(y){return e.exit("htmlFlow"),t(y)}}function lc(e,t,n){const r=this;return i;function i(l){return G(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function ac(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(on,t,n)}}const sc={name:"htmlText",tokenize:uc};function uc(e,t,n){const r=this;let i,o,l;return a;function a(h){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(h),s}function s(h){return h===33?(e.consume(h),c):h===47?(e.consume(h),E):h===63?(e.consume(h),T):Ke(h)?(e.consume(h),U):n(h)}function c(h){return h===45?(e.consume(h),f):h===91?(e.consume(h),o=0,m):Ke(h)?(e.consume(h),A):n(h)}function f(h){return h===45?(e.consume(h),p):n(h)}function u(h){return h===null?n(h):h===45?(e.consume(h),d):G(h)?(l=u,H(h)):(e.consume(h),u)}function d(h){return h===45?(e.consume(h),p):u(h)}function p(h){return h===62?le(h):h===45?d(h):u(h)}function m(h){const F="CDATA[";return h===F.charCodeAt(o++)?(e.consume(h),o===F.length?g:m):n(h)}function g(h){return h===null?n(h):h===93?(e.consume(h),b):G(h)?(l=g,H(h)):(e.consume(h),g)}function b(h){return h===93?(e.consume(h),x):g(h)}function x(h){return h===62?le(h):h===93?(e.consume(h),x):g(h)}function A(h){return h===null||h===62?le(h):G(h)?(l=A,H(h)):(e.consume(h),A)}function T(h){return h===null?n(h):h===63?(e.consume(h),_):G(h)?(l=T,H(h)):(e.consume(h),T)}function _(h){return h===62?le(h):T(h)}function E(h){return Ke(h)?(e.consume(h),w):n(h)}function w(h){return h===45||_e(h)?(e.consume(h),w):N(h)}function N(h){return G(h)?(l=N,H(h)):fe(h)?(e.consume(h),N):le(h)}function U(h){return h===45||_e(h)?(e.consume(h),U):h===47||h===62||Fe(h)?te(h):n(h)}function te(h){return h===47?(e.consume(h),le):h===58||h===95||Ke(h)?(e.consume(h),v):G(h)?(l=te,H(h)):fe(h)?(e.consume(h),te):le(h)}function v(h){return h===45||h===46||h===58||h===95||_e(h)?(e.consume(h),v):j(h)}function j(h){return h===61?(e.consume(h),z):G(h)?(l=j,H(h)):fe(h)?(e.consume(h),j):te(h)}function z(h){return h===null||h===60||h===61||h===62||h===96?n(h):h===34||h===39?(e.consume(h),i=h,Q):G(h)?(l=z,H(h)):fe(h)?(e.consume(h),z):(e.consume(h),Z)}function Q(h){return h===i?(e.consume(h),i=void 0,J):h===null?n(h):G(h)?(l=Q,H(h)):(e.consume(h),Q)}function Z(h){return h===null||h===34||h===39||h===60||h===61||h===96?n(h):h===47||h===62||Fe(h)?te(h):(e.consume(h),Z)}function J(h){return h===47||h===62||Fe(h)?te(h):n(h)}function le(h){return h===62?(e.consume(h),e.exit("htmlTextData"),e.exit("htmlText"),t):n(h)}function H(h){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),ce}function ce(h){return fe(h)?xe(e,ve,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):ve(h)}function ve(h){return e.enter("htmlTextData"),l(h)}}const er={name:"labelEnd",tokenize:mc,resolveTo:dc,resolveAll:hc},cc={tokenize:gc},fc={tokenize:yc},pc={tokenize:bc};function hc(e){let t=-1;for(;++t=3&&(c===null||G(c))?(e.exit("thematicBreak"),t(c)):n(c)}function s(c){return c===i?(e.consume(c),r++,s):(e.exit("thematicBreakSequence"),fe(c)?xe(e,a,"whitespace")(c):a(c))}}const Ie={name:"list",tokenize:Ac,continuation:{tokenize:Pc},exit:Rc},Cc={tokenize:Fc,partial:!0},Tc={tokenize:Oc,partial:!0};function Ac(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(p){const m=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Jn(p)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ln,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return n(p)}function s(p){return Jn(p)&&++l<10?(e.consume(p),s):(!r.interrupt||l<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(on,r.interrupt?n:f,e.attempt(Cc,d,u))}function f(p){return r.containerState.initialBlankLine=!0,o++,d(p)}function u(p){return fe(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):n(p)}function d(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Pc(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(on,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,xe(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!fe(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Tc,t,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,xe(e,e.attempt(Ie,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Oc(e,t,n){const r=this;return xe(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function Rc(e){e.exit(this.containerState.type)}function Fc(e,t,n){const r=this;return xe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(o){const l=r.events[r.events.length-1];return!fe(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const mo={name:"setextUnderline",tokenize:jc,resolveTo:Ic};function Ic(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=l,e.push(["exit",l,t]),e}function jc(e,t,n){const r=this;let i;return o;function o(c){let f=r.events.length,u;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){u=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||u)?(e.enter("setextHeadingLine"),i=c,l(c)):n(c)}function l(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),fe(c)?xe(e,s,"lineSuffix")(c):s(c))}function s(c){return c===null||G(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const _c={tokenize:Dc};function Dc(e){const t=this,n=e.attempt(on,r,e.attempt(this.parser.constructs.flowInitial,i,xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Mu,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const zc={resolveAll:yo()},Lc=go("string"),Nc=go("text");function go(e){return{tokenize:t,resolveAll:yo(e==="text"?$c:void 0)};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,a);return l;function l(f){return c(f)?o(f):a(f)}function a(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),s}function s(f){return c(f)?(n.exit("data"),o(f)):(n.consume(f),s)}function c(f){if(f===null)return!0;const u=i[f];let d=-1;if(u)for(;++d-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function Uc(e,t){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const Vc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Wc(e){return e.replace(Vc,Yc)}function Yc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return ko(n.slice(o?2:1),o?16:10)}return Qn(n)||e}const xo={}.hasOwnProperty,Gc=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Jc(n)(Hc(Uc(n).document().write(qc()(e,t,!0))))};function Jc(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(bn),autolinkProtocol:_,autolinkEmail:_,atxHeading:a(qe),blockQuote:a(Se),characterEscape:_,characterReference:_,codeFenced:a(D),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(D,s),codeText:a(Oe,s),codeTextData:_,data:_,codeFlowValue:_,definition:a(M),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(ze),hardBreakEscape:a(lt),hardBreakTrailing:a(lt),htmlFlow:a(Ht,s),htmlFlowData:_,htmlText:a(Ht,s),htmlTextData:_,image:a(St),label:s,link:a(bn),listItem:a(Vt),listItemValue:m,listOrdered:a(kn,p),listUnordered:a(kn),paragraph:a(Br),reference:ne,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(qe),strong:a(Ur),thematicBreak:a(wn)},exit:{atxHeading:f(),atxHeadingSequence:N,autolink:f(),autolinkEmail:K,autolinkProtocol:re,blockQuote:f(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:Y,codeFenced:f(A),codeFencedFence:x,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:z,codeIndented:f(C),codeText:f(H),codeTextData:z,data:z,definition:f(),definitionDestinationString:w,definitionLabelString:j,definitionTitleString:E,emphasis:f(),hardBreakEscape:f(Z),hardBreakTrailing:f(Z),htmlFlow:f(J),htmlFlowData:z,htmlText:f(le),htmlTextData:z,image:f(ve),label:F,labelText:h,lineEnding:Q,link:f(ce),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:$,resourceDestinationString:q,resourceTitleString:y,resource:B,setextHeading:f(v),setextHeadingLineSequence:te,setextHeadingText:U,strong:f(),thematicBreak:f()}};wo(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(S){let I={type:"root",children:[]};const V={stack:[I],tokenStack:[],config:t,enter:c,exit:u,buffer:s,resume:d,setData:o,getData:l},pe=[];let he=-1;for(;++he0){const Le=V.tokenStack[V.tokenStack.length-1];(Le[1]||vo).call(V,void 0,Le[0])}for(I.position={start:ot(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:ot(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he{const r=this.data("settings");return Gc(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Qc(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Zc(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` -`}]}function ef(e,t){const n=t.value?t.value+` -`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function tf(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function nf(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kt(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Eo(e,t){const n=String(t.identifier).toUpperCase(),r=kt(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const l=e.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const s={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,s),e.applyData(t,s)}function rf(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Eo(e,{type:"footnoteReference",identifier:i,position:t.position})}function of(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lf(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function So(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function af(e,t){const n=e.definition(t.identifier);if(!n)return So(e,t);const r={src:kt(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function sf(e,t){const n={src:kt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function uf(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function cf(e,t){const n=e.definition(t.identifier);if(!n)return So(e,t);const r={href:kt(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function ff(e,t){const n={href:kt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function pf(e,t,n){const r=e.all(t),i=n?hf(n):Co(t),o={},l=[];if(typeof t.checked=="boolean"){const f=r[0];let u;f&&f.type==="element"&&f.tagName==="p"?u=f:(u={type:"element",tagName:"p",properties:{},children:[]},r.unshift(u)),u.children.length>0&&u.children.unshift({type:"text",value:" "}),u.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const Yc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Gc(e){return e.replace(Yc,Jc)}function Jc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return ko(n.slice(o?2:1),o?16:10)}return Qn(n)||e}const xo={}.hasOwnProperty,Kc=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Xc(n)(Wc(Hc(n).document().write(Vc()(e,t,!0))))};function Xc(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(bn),autolinkProtocol:j,autolinkEmail:j,atxHeading:a(qe),blockQuote:a(Se),characterEscape:j,characterReference:j,codeFenced:a(D),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(D,s),codeText:a(Oe,s),codeTextData:j,data:j,codeFlowValue:j,definition:a(M),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(ze),hardBreakEscape:a(lt),hardBreakTrailing:a(lt),htmlFlow:a(Ht,s),htmlFlowData:j,htmlText:a(Ht,s),htmlTextData:j,image:a(St),label:s,link:a(bn),listItem:a(Vt),listItemValue:m,listOrdered:a(kn,p),listUnordered:a(kn),paragraph:a(Br),reference:ne,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(qe),strong:a(Ur),thematicBreak:a(wn)},exit:{atxHeading:f(),atxHeadingSequence:N,autolink:f(),autolinkEmail:K,autolinkProtocol:re,blockQuote:f(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:Y,codeFenced:f(A),codeFencedFence:x,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:z,codeIndented:f(T),codeText:f(H),codeTextData:z,data:z,definition:f(),definitionDestinationString:w,definitionLabelString:_,definitionTitleString:E,emphasis:f(),hardBreakEscape:f(Z),hardBreakTrailing:f(Z),htmlFlow:f(J),htmlFlowData:z,htmlText:f(le),htmlTextData:z,image:f(ve),label:F,labelText:h,lineEnding:Q,link:f(ce),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:$,resourceDestinationString:q,resourceTitleString:y,resource:B,setextHeading:f(v),setextHeadingLineSequence:te,setextHeadingText:U,strong:f(),thematicBreak:f()}};wo(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(C){let I={type:"root",children:[]};const V={stack:[I],tokenStack:[],config:t,enter:c,exit:u,buffer:s,resume:d,setData:o,getData:l},pe=[];let he=-1;for(;++he0){const Le=V.tokenStack[V.tokenStack.length-1];(Le[1]||vo).call(V,void 0,Le[0])}for(I.position={start:ot(C.length>0?C[0][1].start:{line:1,column:1,offset:0}),end:ot(C.length>0?C[C.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he{const r=this.data("settings");return Kc(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function ef(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function tf(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` +`}]}function nf(e,t){const n=t.value?t.value+` +`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function rf(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function of(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kt(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Eo(e,t){const n=String(t.identifier).toUpperCase(),r=kt(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const l=e.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const s={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,s),e.applyData(t,s)}function lf(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Eo(e,{type:"footnoteReference",identifier:i,position:t.position})}function af(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function sf(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function So(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function uf(e,t){const n=e.definition(t.identifier);if(!n)return So(e,t);const r={src:kt(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function cf(e,t){const n={src:kt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function ff(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function pf(e,t){const n=e.definition(t.identifier);if(!n)return So(e,t);const r={href:kt(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function hf(e,t){const n={href:kt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function df(e,t,n){const r=e.all(t),i=n?mf(n):Co(t),o={},l=[];if(typeof t.checked=="boolean"){const f=r[0];let u;f&&f.type==="element"&&f.tagName==="p"?u=f:(u={type:"element",tagName:"p",properties:{},children:[]},r.unshift(u)),u.children.length>0&&u.children.unshift({type:"text",value:" "}),u.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a1}function df(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i-1?r.offset:null}}}function kf(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=nr(t.children[1]),s=rr(t.children[t.children.length-1]);a.line&&s.line&&(l.position={start:a,end:s}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function xf(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let s=-1;const c=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Oo(t.slice(i),i>0,!1)),o.join("")}function Oo(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===Ao||o===Po;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===Ao||o===Po;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Ef(e,t){const n={type:"text",value:vf(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Sf(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Cf={blockquote:Qc,break:Zc,code:ef,delete:tf,emphasis:nf,footnoteReference:Eo,footnote:rf,heading:of,html:lf,imageReference:af,image:sf,inlineCode:uf,linkReference:cf,link:ff,listItem:pf,list:df,paragraph:mf,root:gf,strong:yf,table:kf,tableCell:wf,tableRow:xf,text:Ef,thematicBreak:Sf,toml:an,yaml:an,definition:an,footnoteDefinition:an};function an(){return null}const Ro=function(e){if(e==null)return Of;if(typeof e=="string")return Pf(e);if(typeof e=="object")return Array.isArray(e)?Tf(e):Af(e);if(typeof e=="function")return sn(e);throw new Error("Expected function, string, or object as test")};function Tf(e){const t=[];let n=-1;for(;++n":""))+")"})}return u;function u(){let d=[],p,m,g;if((!t||i(a,s,c[c.length-1]||null))&&(d=_f(n(a,c)),d[0]===Fo))return d;if(a.children&&d[0]!==Ff)for(m=(r?a.children.length:-1)+o,g=c.concat(a);m>-1&&m{const i=_o(r.identifier);i&&!Io.call(t,i)&&(t[i]=r)}),n;function n(r){const i=_o(r);return i&&Io.call(t,i)?t[i]:null}}function _o(e){return String(e||"").toUpperCase()}const un={}.hasOwnProperty;function zf(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return l.dangerous=r,l.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,l.footnoteLabel=n.footnoteLabel||"Footnotes",l.footnoteLabelTagName=n.footnoteLabelTagName||"h2",l.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},l.footnoteBackLabel=n.footnoteBackLabel||"Back to content",l.unknownHandler=n.unknownHandler,l.passThrough=n.passThrough,l.handlers={...Cf,...n.handlers},l.definition=Df(e),l.footnoteById=i,l.footnoteOrder=[],l.footnoteCounts={},l.patch=Lf,l.applyData=Nf,l.one=a,l.all=s,l.wrap=Mf,l.augment=o,ir(e,"footnoteDefinition",c=>{const f=String(c.identifier).toUpperCase();un.call(i,f)||(i[f]=c)}),l;function o(c,f){if(c&&"data"in c&&c.data){const u=c.data;u.hName&&(f.type!=="element"&&(f={type:"element",tagName:"",properties:{},children:[]}),f.tagName=u.hName),f.type==="element"&&u.hProperties&&(f.properties={...f.properties,...u.hProperties}),"children"in f&&f.children&&u.hChildren&&(f.children=u.hChildren)}if(c){const u="type"in c?c:{position:c};jf(u)||(f.position={start:nr(u),end:rr(u)})}return f}function l(c,f,u,d){return Array.isArray(u)&&(d=u,u={}),o(c,{type:"element",tagName:f,properties:u||{},children:d||[]})}function a(c,f){return jo(l,c,f)}function s(c){return or(l,c)}}function Lf(e,t){e.position&&(t.position=bf(e))}function Nf(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function jo(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return un.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:or(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):$f(e,t)}function or(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i1}function gf(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i-1?r.offset:null}}}function wf(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=nr(t.children[1]),s=rr(t.children[t.children.length-1]);a.line&&s.line&&(l.position={start:a,end:s}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function vf(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,a=l?l.length:t.children.length;let s=-1;const c=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Oo(t.slice(i),i>0,!1)),o.join("")}function Oo(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===Ao||o===Po;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===Ao||o===Po;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Cf(e,t){const n={type:"text",value:Sf(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Tf(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Af={blockquote:ef,break:tf,code:nf,delete:rf,emphasis:of,footnoteReference:Eo,footnote:lf,heading:af,html:sf,imageReference:uf,image:cf,inlineCode:ff,linkReference:pf,link:hf,listItem:df,list:gf,paragraph:yf,root:bf,strong:kf,table:wf,tableCell:Ef,tableRow:vf,text:Cf,thematicBreak:Tf,toml:an,yaml:an,definition:an,footnoteDefinition:an};function an(){return null}const Ro=function(e){if(e==null)return Ff;if(typeof e=="string")return Rf(e);if(typeof e=="object")return Array.isArray(e)?Pf(e):Of(e);if(typeof e=="function")return sn(e);throw new Error("Expected function, string, or object as test")};function Pf(e){const t=[];let n=-1;for(;++n":""))+")"})}return u;function u(){let d=[],p,m,g;if((!t||i(a,s,c[c.length-1]||null))&&(d=Df(n(a,c)),d[0]===Fo))return d;if(a.children&&d[0]!==jf)for(m=(r?a.children.length:-1)+o,g=c.concat(a);m>-1&&m{const i=jo(r.identifier);i&&!Io.call(t,i)&&(t[i]=r)}),n;function n(r){const i=jo(r);return i&&Io.call(t,i)?t[i]:null}}function jo(e){return String(e||"").toUpperCase()}const un={}.hasOwnProperty;function Nf(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return l.dangerous=r,l.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,l.footnoteLabel=n.footnoteLabel||"Footnotes",l.footnoteLabelTagName=n.footnoteLabelTagName||"h2",l.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},l.footnoteBackLabel=n.footnoteBackLabel||"Back to content",l.unknownHandler=n.unknownHandler,l.passThrough=n.passThrough,l.handlers={...Af,...n.handlers},l.definition=Lf(e),l.footnoteById=i,l.footnoteOrder=[],l.footnoteCounts={},l.patch=$f,l.applyData=Mf,l.one=a,l.all=s,l.wrap=Uf,l.augment=o,ir(e,"footnoteDefinition",c=>{const f=String(c.identifier).toUpperCase();un.call(i,f)||(i[f]=c)}),l;function o(c,f){if(c&&"data"in c&&c.data){const u=c.data;u.hName&&(f.type!=="element"&&(f={type:"element",tagName:"",properties:{},children:[]}),f.tagName=u.hName),f.type==="element"&&u.hProperties&&(f.properties={...f.properties,...u.hProperties}),"children"in f&&f.children&&u.hChildren&&(f.children=u.hChildren)}if(c){const u="type"in c?c:{position:c};zf(u)||(f.position={start:nr(u),end:rr(u)})}return f}function l(c,f,u,d){return Array.isArray(u)&&(d=u,u={}),o(c,{type:"element",tagName:f,properties:u||{},children:d||[]})}function a(c,f){return _o(l,c,f)}function s(c){return or(l,c)}}function $f(e,t){e.position&&(t.position=xf(e))}function Mf(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function _o(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return un.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:or(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):Bf(e,t)}function or(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i0&&n.push({type:"text",value:` -`}),n}function Bf(e){const t=[];let n=-1;for(;++n1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&u.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(u)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const u=c.children[c.children.length-1];u&&u.type==="text"?u.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else i.push(...s);const f={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:e.wrap(i,!0)};e.patch(r,f),t.push(f)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` +`}),n}function qf(e){const t=[];let n=-1;for(;++n1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&u.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(u)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const u=c.children[c.children.length-1];u&&u.type==="text"?u.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else i.push(...s);const f={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:e.wrap(i,!0)};e.patch(r,f),t.push(f)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` -`}]}}function Do(e,t){const n=zf(e,t),r=n.one(e,null),i=Bf(n);return i&&r.children.push({type:"text",value:` -`},i),Array.isArray(r)?{type:"root",children:r}:r}const Uf=function(e,t){return e&&"run"in e?qf(e,t):Hf(e||t)};function qf(e,t){return(n,r,i)=>{e.run(Do(n,t),r,o=>{i(o)})}}function Hf(e){return t=>Do(t,e)}var lr={exports:{}},cn={exports:{}},me={};/** @license React v16.13.1 +`}]}}function Do(e,t){const n=Nf(e,t),r=n.one(e,null),i=qf(n);return i&&r.children.push({type:"text",value:` +`},i),Array.isArray(r)?{type:"root",children:r}:r}const Hf=function(e,t){return e&&"run"in e?Vf(e,t):Wf(e||t)};function Vf(e,t){return(n,r,i)=>{e.run(Do(n,t),r,o=>{i(o)})}}function Wf(e){return t=>Do(t,e)}var lr={exports:{}},cn={exports:{}},me={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var zo;function Vf(){if(zo)return me;zo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function C(E){if(typeof E=="object"&&E!==null){var w=E.$$typeof;switch(w){case t:switch(E=E.type,E){case s:case c:case r:case o:case i:case u:return E;default:switch(E=E&&E.$$typeof,E){case a:case f:case m:case p:case l:return E;default:return w}}case n:return w}}}function j(E){return C(E)===c}return me.AsyncMode=s,me.ConcurrentMode=c,me.ContextConsumer=a,me.ContextProvider=l,me.Element=t,me.ForwardRef=f,me.Fragment=r,me.Lazy=m,me.Memo=p,me.Portal=n,me.Profiler=o,me.StrictMode=i,me.Suspense=u,me.isAsyncMode=function(E){return j(E)||C(E)===s},me.isConcurrentMode=j,me.isContextConsumer=function(E){return C(E)===a},me.isContextProvider=function(E){return C(E)===l},me.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===t},me.isForwardRef=function(E){return C(E)===f},me.isFragment=function(E){return C(E)===r},me.isLazy=function(E){return C(E)===m},me.isMemo=function(E){return C(E)===p},me.isPortal=function(E){return C(E)===n},me.isProfiler=function(E){return C(E)===o},me.isStrictMode=function(E){return C(E)===i},me.isSuspense=function(E){return C(E)===u},me.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===c||E===o||E===i||E===u||E===d||typeof E=="object"&&E!==null&&(E.$$typeof===m||E.$$typeof===p||E.$$typeof===l||E.$$typeof===a||E.$$typeof===f||E.$$typeof===b||E.$$typeof===x||E.$$typeof===A||E.$$typeof===g)},me.typeOf=C,me}var ge={};/** @license React v16.13.1 + */var zo;function Yf(){if(zo)return me;zo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function T(E){if(typeof E=="object"&&E!==null){var w=E.$$typeof;switch(w){case t:switch(E=E.type,E){case s:case c:case r:case o:case i:case u:return E;default:switch(E=E&&E.$$typeof,E){case a:case f:case m:case p:case l:return E;default:return w}}case n:return w}}}function _(E){return T(E)===c}return me.AsyncMode=s,me.ConcurrentMode=c,me.ContextConsumer=a,me.ContextProvider=l,me.Element=t,me.ForwardRef=f,me.Fragment=r,me.Lazy=m,me.Memo=p,me.Portal=n,me.Profiler=o,me.StrictMode=i,me.Suspense=u,me.isAsyncMode=function(E){return _(E)||T(E)===s},me.isConcurrentMode=_,me.isContextConsumer=function(E){return T(E)===a},me.isContextProvider=function(E){return T(E)===l},me.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===t},me.isForwardRef=function(E){return T(E)===f},me.isFragment=function(E){return T(E)===r},me.isLazy=function(E){return T(E)===m},me.isMemo=function(E){return T(E)===p},me.isPortal=function(E){return T(E)===n},me.isProfiler=function(E){return T(E)===o},me.isStrictMode=function(E){return T(E)===i},me.isSuspense=function(E){return T(E)===u},me.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===c||E===o||E===i||E===u||E===d||typeof E=="object"&&E!==null&&(E.$$typeof===m||E.$$typeof===p||E.$$typeof===l||E.$$typeof===a||E.$$typeof===f||E.$$typeof===b||E.$$typeof===x||E.$$typeof===A||E.$$typeof===g)},me.typeOf=T,me}var ge={};/** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Lo;function Wf(){return Lo||(Lo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function C(D){return typeof D=="string"||typeof D=="function"||D===r||D===c||D===o||D===i||D===u||D===d||typeof D=="object"&&D!==null&&(D.$$typeof===m||D.$$typeof===p||D.$$typeof===l||D.$$typeof===a||D.$$typeof===f||D.$$typeof===b||D.$$typeof===x||D.$$typeof===A||D.$$typeof===g)}function j(D){if(typeof D=="object"&&D!==null){var Oe=D.$$typeof;switch(Oe){case t:var M=D.type;switch(M){case s:case c:case r:case o:case i:case u:return M;default:var ze=M&&M.$$typeof;switch(ze){case a:case f:case m:case p:case l:return ze;default:return Oe}}case n:return Oe}}}var E=s,w=c,N=a,U=l,te=t,v=f,_=r,z=m,Q=p,Z=n,J=o,le=i,H=u,ce=!1;function ve(D){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),h(D)||j(D)===s}function h(D){return j(D)===c}function F(D){return j(D)===a}function q(D){return j(D)===l}function y(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function B(D){return j(D)===f}function ne(D){return j(D)===r}function $(D){return j(D)===m}function W(D){return j(D)===p}function Y(D){return j(D)===n}function re(D){return j(D)===o}function K(D){return j(D)===i}function Se(D){return j(D)===u}ge.AsyncMode=E,ge.ConcurrentMode=w,ge.ContextConsumer=N,ge.ContextProvider=U,ge.Element=te,ge.ForwardRef=v,ge.Fragment=_,ge.Lazy=z,ge.Memo=Q,ge.Portal=Z,ge.Profiler=J,ge.StrictMode=le,ge.Suspense=H,ge.isAsyncMode=ve,ge.isConcurrentMode=h,ge.isContextConsumer=F,ge.isContextProvider=q,ge.isElement=y,ge.isForwardRef=B,ge.isFragment=ne,ge.isLazy=$,ge.isMemo=W,ge.isPortal=Y,ge.isProfiler=re,ge.isStrictMode=K,ge.isSuspense=Se,ge.isValidElementType=C,ge.typeOf=j}()),ge}var No;function $o(){return No||(No=1,process.env.NODE_ENV==="production"?cn.exports=Vf():cn.exports=Wf()),cn.exports}/* + */var Lo;function Gf(){return Lo||(Lo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function T(D){return typeof D=="string"||typeof D=="function"||D===r||D===c||D===o||D===i||D===u||D===d||typeof D=="object"&&D!==null&&(D.$$typeof===m||D.$$typeof===p||D.$$typeof===l||D.$$typeof===a||D.$$typeof===f||D.$$typeof===b||D.$$typeof===x||D.$$typeof===A||D.$$typeof===g)}function _(D){if(typeof D=="object"&&D!==null){var Oe=D.$$typeof;switch(Oe){case t:var M=D.type;switch(M){case s:case c:case r:case o:case i:case u:return M;default:var ze=M&&M.$$typeof;switch(ze){case a:case f:case m:case p:case l:return ze;default:return Oe}}case n:return Oe}}}var E=s,w=c,N=a,U=l,te=t,v=f,j=r,z=m,Q=p,Z=n,J=o,le=i,H=u,ce=!1;function ve(D){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),h(D)||_(D)===s}function h(D){return _(D)===c}function F(D){return _(D)===a}function q(D){return _(D)===l}function y(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function B(D){return _(D)===f}function ne(D){return _(D)===r}function $(D){return _(D)===m}function W(D){return _(D)===p}function Y(D){return _(D)===n}function re(D){return _(D)===o}function K(D){return _(D)===i}function Se(D){return _(D)===u}ge.AsyncMode=E,ge.ConcurrentMode=w,ge.ContextConsumer=N,ge.ContextProvider=U,ge.Element=te,ge.ForwardRef=v,ge.Fragment=j,ge.Lazy=z,ge.Memo=Q,ge.Portal=Z,ge.Profiler=J,ge.StrictMode=le,ge.Suspense=H,ge.isAsyncMode=ve,ge.isConcurrentMode=h,ge.isContextConsumer=F,ge.isContextProvider=q,ge.isElement=y,ge.isForwardRef=B,ge.isFragment=ne,ge.isLazy=$,ge.isMemo=W,ge.isPortal=Y,ge.isProfiler=re,ge.isStrictMode=K,ge.isSuspense=Se,ge.isValidElementType=T,ge.typeOf=_}()),ge}var No;function $o(){return No||(No=1,process.env.NODE_ENV==="production"?cn.exports=Yf():cn.exports=Gf()),cn.exports}/* object-assign (c) Sindre Sorhus @license MIT -*/var ar,Mo;function Yf(){if(Mo)return ar;Mo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var l={},a=0;a<10;a++)l["_"+String.fromCharCode(a)]=a;var s=Object.getOwnPropertyNames(l).map(function(f){return l[f]});if(s.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(f){c[f]=f}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ar=i()?Object.assign:function(o,l){for(var a,s=r(o),c,f=1;f1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),l;function F(q,y,B,ne,$){for(var W=q[y],Y=0;Y0?", expected one of type ["+re.join(", ")+"]":"";return new g("Invalid "+W+" `"+Y+"` supplied to "+("`"+$+"`"+Oe+"."))}return b(y)}function v(){function h(F,q,y,B,ne){return Z(F[q])?null:new g("Invalid "+B+" `"+ne+"` supplied to "+("`"+y+"`, expected a ReactNode."))}return b(h)}function _(h,F,q,y,B){return new g((h||"React class")+": "+F+" type `"+q+"."+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function z(h){function F(q,y,B,ne,$){var W=q[y],Y=le(W);if(Y!=="object")return new g("Invalid "+ne+" `"+$+"` of type `"+Y+"` "+("supplied to `"+B+"`, expected `object`."));for(var re in h){var K=h[re];if(typeof K!="function")return _(B,ne,$,re,H(K));var Se=K(W,re,B,ne,$+"."+re,n);if(Se)return Se}return null}return b(F)}function Q(h){function F(q,y,B,ne,$){var W=q[y],Y=le(W);if(Y!=="object")return new g("Invalid "+ne+" `"+$+"` of type `"+Y+"` "+("supplied to `"+B+"`, expected `object`."));var re=t({},q[y],h);for(var K in re){var Se=h[K];if(r(h,K)&&typeof Se!="function")return _(B,ne,$,K,H(Se));if(!Se)return new g("Invalid "+ne+" `"+$+"` key `"+K+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(q[y],null," ")+` -Valid keys: `+JSON.stringify(Object.keys(h),null," "));var D=Se(W,K,B,ne,$+"."+K,n);if(D)return D}return null}return b(F)}function Z(h){switch(typeof h){case"number":case"string":case"undefined":return!0;case"boolean":return!h;case"object":if(Array.isArray(h))return h.every(Z);if(h===null||a(h))return!0;var F=u(h);if(F){var q=F.call(h),y;if(F!==h.entries){for(;!(y=q.next()).done;)if(!Z(y.value))return!1}else for(;!(y=q.next()).done;){var B=y.value;if(B&&!Z(B[1]))return!1}}else return!1;return!0;default:return!1}}function J(h,F){return h==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function le(h){var F=typeof h;return Array.isArray(h)?"array":h instanceof RegExp?"object":J(F,h)?"symbol":F}function H(h){if(typeof h>"u"||h===null)return""+h;var F=le(h);if(F==="object"){if(h instanceof Date)return"date";if(h instanceof RegExp)return"regexp"}return F}function ce(h){var F=H(h);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function ve(h){return!h.constructor||!h.constructor.name?d:h.constructor.name}return p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},pr}var hr,Wo;function Kf(){if(Wo)return hr;Wo=1;var e=ur();function t(){}function n(){}return n.resetWarningCache=t,hr=function(){function r(l,a,s,c,f,u){if(u!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},hr}if(process.env.NODE_ENV!=="production"){var Xf=$o(),Qf=!0;lr.exports=Jf()(Xf.isElement,Qf)}else lr.exports=Kf()();var Zf=lr.exports;const ee=At(Zf);class $t{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}$t.prototype.property={},$t.prototype.normal={},$t.prototype.space=null;function Yo(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&ip.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(nl,sp);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!nl.test(o)){let l=o.replace(op,ap);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=yr}return new i(r,t)}function ap(e){return"-"+e.toLowerCase()}function sp(e){return e.charAt(1).toUpperCase()}const rl={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},up=Yo([Xo,Ko,el,tl,np],"html"),cp=Yo([Xo,Ko,el,tl,rp],"svg");function fp(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{ir(t,"element",(n,r,i)=>{const o=i;let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&typeof r=="number"&&(l=!e.allowElement(n,r,o)),l&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var br={exports:{}},ye={};/** +*/var ar,Mo;function Jf(){if(Mo)return ar;Mo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var l={},a=0;a<10;a++)l["_"+String.fromCharCode(a)]=a;var s=Object.getOwnPropertyNames(l).map(function(f){return l[f]});if(s.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(f){c[f]=f}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ar=i()?Object.assign:function(o,l){for(var a,s=r(o),c,f=1;f1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),l;function F(q,y,B,ne,$){for(var W=q[y],Y=0;Y0?", expected one of type ["+re.join(", ")+"]":"";return new g("Invalid "+W+" `"+Y+"` supplied to "+("`"+$+"`"+Oe+"."))}return b(y)}function v(){function h(F,q,y,B,ne){return Z(F[q])?null:new g("Invalid "+B+" `"+ne+"` supplied to "+("`"+y+"`, expected a ReactNode."))}return b(h)}function j(h,F,q,y,B){return new g((h||"React class")+": "+F+" type `"+q+"."+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function z(h){function F(q,y,B,ne,$){var W=q[y],Y=le(W);if(Y!=="object")return new g("Invalid "+ne+" `"+$+"` of type `"+Y+"` "+("supplied to `"+B+"`, expected `object`."));for(var re in h){var K=h[re];if(typeof K!="function")return j(B,ne,$,re,H(K));var Se=K(W,re,B,ne,$+"."+re,n);if(Se)return Se}return null}return b(F)}function Q(h){function F(q,y,B,ne,$){var W=q[y],Y=le(W);if(Y!=="object")return new g("Invalid "+ne+" `"+$+"` of type `"+Y+"` "+("supplied to `"+B+"`, expected `object`."));var re=t({},q[y],h);for(var K in re){var Se=h[K];if(r(h,K)&&typeof Se!="function")return j(B,ne,$,K,H(Se));if(!Se)return new g("Invalid "+ne+" `"+$+"` key `"+K+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(q[y],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(h),null," "));var D=Se(W,K,B,ne,$+"."+K,n);if(D)return D}return null}return b(F)}function Z(h){switch(typeof h){case"number":case"string":case"undefined":return!0;case"boolean":return!h;case"object":if(Array.isArray(h))return h.every(Z);if(h===null||a(h))return!0;var F=u(h);if(F){var q=F.call(h),y;if(F!==h.entries){for(;!(y=q.next()).done;)if(!Z(y.value))return!1}else for(;!(y=q.next()).done;){var B=y.value;if(B&&!Z(B[1]))return!1}}else return!1;return!0;default:return!1}}function J(h,F){return h==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function le(h){var F=typeof h;return Array.isArray(h)?"array":h instanceof RegExp?"object":J(F,h)?"symbol":F}function H(h){if(typeof h>"u"||h===null)return""+h;var F=le(h);if(F==="object"){if(h instanceof Date)return"date";if(h instanceof RegExp)return"regexp"}return F}function ce(h){var F=H(h);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function ve(h){return!h.constructor||!h.constructor.name?d:h.constructor.name}return p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},pr}var hr,Wo;function Qf(){if(Wo)return hr;Wo=1;var e=ur();function t(){}function n(){}return n.resetWarningCache=t,hr=function(){function r(l,a,s,c,f,u){if(u!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},hr}if(process.env.NODE_ENV!=="production"){var Zf=$o(),ep=!0;lr.exports=Xf()(Zf.isElement,ep)}else lr.exports=Qf()();var tp=lr.exports;const ee=At(tp);class $t{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}$t.prototype.property={},$t.prototype.normal={},$t.prototype.space=null;function Yo(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&lp.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(nl,cp);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!nl.test(o)){let l=o.replace(ap,up);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=yr}return new i(r,t)}function up(e){return"-"+e.toLowerCase()}function cp(e){return e.charAt(1).toUpperCase()}const rl={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fp=Yo([Xo,Ko,el,tl,ip],"html"),pp=Yo([Xo,Ko,el,tl,op],"svg");function hp(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{ir(t,"element",(n,r,i)=>{const o=i;let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&typeof r=="number"&&(l=!e.allowElement(n,r,o)),l&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var br={exports:{}},ye={};/** * @license React * react-is.production.min.js * @@ -72,7 +72,7 @@ Valid keys: `+JSON.stringify(Object.keys(h),null," "));var D=Se(W,K,B,ne,$+"."+ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var il;function pp(){if(il)return ye;il=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),a=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function g(b){if(typeof b=="object"&&b!==null){var x=b.$$typeof;switch(x){case e:switch(b=b.type,b){case n:case i:case r:case c:case f:return b;default:switch(b=b&&b.$$typeof,b){case a:case l:case s:case d:case u:case o:return b;default:return x}}case t:return x}}}return ye.ContextConsumer=l,ye.ContextProvider=o,ye.Element=e,ye.ForwardRef=s,ye.Fragment=n,ye.Lazy=d,ye.Memo=u,ye.Portal=t,ye.Profiler=i,ye.StrictMode=r,ye.Suspense=c,ye.SuspenseList=f,ye.isAsyncMode=function(){return!1},ye.isConcurrentMode=function(){return!1},ye.isContextConsumer=function(b){return g(b)===l},ye.isContextProvider=function(b){return g(b)===o},ye.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},ye.isForwardRef=function(b){return g(b)===s},ye.isFragment=function(b){return g(b)===n},ye.isLazy=function(b){return g(b)===d},ye.isMemo=function(b){return g(b)===u},ye.isPortal=function(b){return g(b)===t},ye.isProfiler=function(b){return g(b)===i},ye.isStrictMode=function(b){return g(b)===r},ye.isSuspense=function(b){return g(b)===c},ye.isSuspenseList=function(b){return g(b)===f},ye.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===i||b===r||b===c||b===f||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===d||b.$$typeof===u||b.$$typeof===o||b.$$typeof===l||b.$$typeof===s||b.$$typeof===m||b.getModuleId!==void 0)},ye.typeOf=g,ye}var be={};/** + */var il;function dp(){if(il)return ye;il=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),a=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function g(b){if(typeof b=="object"&&b!==null){var x=b.$$typeof;switch(x){case e:switch(b=b.type,b){case n:case i:case r:case c:case f:return b;default:switch(b=b&&b.$$typeof,b){case a:case l:case s:case d:case u:case o:return b;default:return x}}case t:return x}}}return ye.ContextConsumer=l,ye.ContextProvider=o,ye.Element=e,ye.ForwardRef=s,ye.Fragment=n,ye.Lazy=d,ye.Memo=u,ye.Portal=t,ye.Profiler=i,ye.StrictMode=r,ye.Suspense=c,ye.SuspenseList=f,ye.isAsyncMode=function(){return!1},ye.isConcurrentMode=function(){return!1},ye.isContextConsumer=function(b){return g(b)===l},ye.isContextProvider=function(b){return g(b)===o},ye.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},ye.isForwardRef=function(b){return g(b)===s},ye.isFragment=function(b){return g(b)===n},ye.isLazy=function(b){return g(b)===d},ye.isMemo=function(b){return g(b)===u},ye.isPortal=function(b){return g(b)===t},ye.isProfiler=function(b){return g(b)===i},ye.isStrictMode=function(b){return g(b)===r},ye.isSuspense=function(b){return g(b)===c},ye.isSuspenseList=function(b){return g(b)===f},ye.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===i||b===r||b===c||b===f||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===d||b.$$typeof===u||b.$$typeof===o||b.$$typeof===l||b.$$typeof===s||b.$$typeof===m||b.getModuleId!==void 0)},ye.typeOf=g,ye}var be={};/** * @license React * react-is.development.js * @@ -80,22 +80,22 @@ Valid keys: `+JSON.stringify(Object.keys(h),null," "));var D=Se(W,K,B,ne,$+"."+ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ol;function hp(){return ol||(ol=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),a=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=!1,g=!1,b=!1,x=!1,A=!1,C;C=Symbol.for("react.module.reference");function j(M){return!!(typeof M=="string"||typeof M=="function"||M===n||M===i||A||M===r||M===c||M===f||x||M===p||m||g||b||typeof M=="object"&&M!==null&&(M.$$typeof===d||M.$$typeof===u||M.$$typeof===o||M.$$typeof===l||M.$$typeof===s||M.$$typeof===C||M.getModuleId!==void 0))}function E(M){if(typeof M=="object"&&M!==null){var ze=M.$$typeof;switch(ze){case e:var qe=M.type;switch(qe){case n:case i:case r:case c:case f:return qe;default:var lt=qe&&qe.$$typeof;switch(lt){case a:case l:case s:case d:case u:case o:return lt;default:return ze}}case t:return ze}}}var w=l,N=o,U=e,te=s,v=n,_=d,z=u,Q=t,Z=i,J=r,le=c,H=f,ce=!1,ve=!1;function h(M){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(M){return ve||(ve=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(M){return E(M)===l}function y(M){return E(M)===o}function B(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function ne(M){return E(M)===s}function $(M){return E(M)===n}function W(M){return E(M)===d}function Y(M){return E(M)===u}function re(M){return E(M)===t}function K(M){return E(M)===i}function Se(M){return E(M)===r}function D(M){return E(M)===c}function Oe(M){return E(M)===f}be.ContextConsumer=w,be.ContextProvider=N,be.Element=U,be.ForwardRef=te,be.Fragment=v,be.Lazy=_,be.Memo=z,be.Portal=Q,be.Profiler=Z,be.StrictMode=J,be.Suspense=le,be.SuspenseList=H,be.isAsyncMode=h,be.isConcurrentMode=F,be.isContextConsumer=q,be.isContextProvider=y,be.isElement=B,be.isForwardRef=ne,be.isFragment=$,be.isLazy=W,be.isMemo=Y,be.isPortal=re,be.isProfiler=K,be.isStrictMode=Se,be.isSuspense=D,be.isSuspenseList=Oe,be.isValidElementType=j,be.typeOf=E}()),be}process.env.NODE_ENV==="production"?br.exports=pp():br.exports=hp();var dp=br.exports;const mp=At(dp);function gp(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function yp(e){return e.join(" ").trim()}function bp(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var kr={exports:{}},ll=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,kp=/\n/g,xp=/^\s*/,wp=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,vp=/^:\s*/,Ep=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Sp=/^[;\s]*/,Cp=/^\s+|\s+$/g,Tp=` -`,al="/",sl="*",st="",Ap="comment",Pp="declaration",Op=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var g=m.match(kp);g&&(n+=g.length);var b=m.lastIndexOf(Tp);r=~b?m.length-b:r+m.length}function o(){var m={line:n,column:r};return function(g){return g.position=new l(m),c(),g}}function l(m){this.start=m,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function a(m){var g=new Error(t.source+":"+n+":"+r+": "+m);if(g.reason=m,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function s(m){var g=m.exec(e);if(g){var b=g[0];return i(b),e=e.slice(b.length),g}}function c(){s(xp)}function f(m){var g;for(m=m||[];g=u();)g!==!1&&m.push(g);return m}function u(){var m=o();if(!(al!=e.charAt(0)||sl!=e.charAt(1))){for(var g=2;st!=e.charAt(g)&&(sl!=e.charAt(g)||al!=e.charAt(g+1));)++g;if(g+=2,st===e.charAt(g-1))return a("End of comment missing");var b=e.slice(2,g-2);return r+=2,i(b),e=e.slice(g),r+=2,m({type:Ap,comment:b})}}function d(){var m=o(),g=s(wp);if(g){if(u(),!s(vp))return a("property missing ':'");var b=s(Ep),x=m({type:Pp,property:ul(g[0].replace(ll,st)),value:b?ul(b[0].replace(ll,st)):st});return s(Sp),x}}function p(){var m=[];f(m);for(var g;g=d();)g!==!1&&(m.push(g),f(m));return m}return c(),p()};function ul(e){return e?e.replace(Cp,st):st}var Rp=Op;function cl(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=Rp(e),o=typeof t=="function",l,a,s=0,c=i.length;s0?ie.createElement(p,s,u):ie.createElement(p,s)}function Dp(e){let t=-1;for(;++t for more info)`),delete fn[o]}const t=Xs().use(Xc).use(e.remarkPlugins||[]).use(Uf,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(fp,e),n=new Di;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=ie.createElement(ie.Fragment,{},fl({options:e,schema:up,listDepth:0},r));return e.className&&(i=ie.createElement("div",{className:e.className},i)),i}vr.propTypes={children:ee.string,className:ee.string,allowElement:ee.func,allowedElements:ee.arrayOf(ee.string),disallowedElements:ee.arrayOf(ee.string),unwrapDisallowed:ee.bool,remarkPlugins:ee.arrayOf(ee.oneOfType([ee.object,ee.func,ee.arrayOf(ee.oneOfType([ee.bool,ee.string,ee.object,ee.func,ee.arrayOf(ee.any)]))])),rehypePlugins:ee.arrayOf(ee.oneOfType([ee.object,ee.func,ee.arrayOf(ee.oneOfType([ee.bool,ee.string,ee.object,ee.func,ee.arrayOf(ee.any)]))])),sourcePos:ee.bool,rawSourcePos:ee.bool,skipHtml:ee.bool,includeElementIndex:ee.bool,transformLinkUri:ee.oneOfType([ee.func,ee.bool]),linkTarget:ee.oneOfType([ee.func,ee.string]),transformImageUri:ee.func,components:ee.object};function hl(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function xg(){}const Bp=Er(/\p{P}/u),Up=Er(/[!-/:-@[-`{-~]/);function qp(e){return Up(e)||Bp(e)}const Hp=Er(/\s/);function Er(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Vp(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Sr=function(e){if(e==null)return Jp;if(typeof e=="function")return pn(e);if(typeof e=="object")return Array.isArray(e)?Wp(e):Yp(e);if(typeof e=="string")return Gp(e);throw new Error("Expected function, string, or object as test")};function Wp(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let p=dl,m,g,b;if((!t||o(s,c,f[f.length-1]||void 0))&&(p=eh(n(s,f)),p[0]===ml))return p;if("children"in s&&s.children){const x=s;if(x.children&&p[0]!==Qp)for(g=(r?x.children.length:-1)+l,b=f.concat(x);g>-1&&g0?{type:"text",value:w}:void 0),w===!1?d.lastIndex=j+1:(m!==j&&A.push({type:"text",value:c.value.slice(m,j)}),Array.isArray(w)?A.push(...w):w&&A.push(w),m=j+C[0].length,x=!0),!d.global)break;C=d.exec(c.value)}return x?(m?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=hl(e,"(");let o=hl(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function gl(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Hp(n)||qp(n))&&(!t||n!==47)}function yl(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}bl.peek=Ah;function yh(){return{enter:{gfmFootnoteDefinition:kh,gfmFootnoteDefinitionLabelString:xh,gfmFootnoteCall:Eh,gfmFootnoteCallString:Sh},exit:{gfmFootnoteDefinition:vh,gfmFootnoteDefinitionLabelString:wh,gfmFootnoteCall:Th,gfmFootnoteCallString:Ch}}}function bh(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Ph,footnoteReference:bl}}}function kh(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function xh(){this.buffer()}function wh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=yl(this.sliceSerialize(e)).toLowerCase()}function vh(e){this.exit(e)}function Eh(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Sh(){this.buffer()}function Ch(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=yl(this.sliceSerialize(e)).toLowerCase()}function Th(e){this.exit(e)}function bl(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),a(),l(),o+=i.move("]"),o}function Ah(){return"["}function Ph(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteDefinition"),a=n.enter("label");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),a(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(e,i.current()),Oh)),l(),o}function Oh(e,t,n){return t===0?e:(n?"":" ")+e}const Rh=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];kl.peek=Dh;function Fh(){return{canContainEols:["delete"],enter:{strikethrough:_h},exit:{strikethrough:jh}}}function Ih(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Rh}],handlers:{delete:kl}}}function _h(e){this.enter({type:"delete",children:[]},e)}function jh(e){this.exit(e)}function kl(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function Dh(){return"~"}function zh(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Nh,i=[],o=[],l=[],a=[];let s=0,c=-1;for(;++cs&&(s=e[c].length);++ba[b])&&(a[b]=A)}m.push(x)}o[c]=m,l[c]=g}let f=-1;if(typeof n=="object"&&"length"in n)for(;++fa[f]&&(a[f]=x),d[f]=x),u[f]=A}o.splice(1,0,u),l.splice(1,0,d),c=-1;const p=[];for(;++c "),o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),Mh);return i(),l}function Mh(e,t,n){return">"+(n?"":" ")+e}function Bh(e,t){return wl(e,t.inConstruct,!0)&&!wl(e,t.notInConstruct,!1)}function wl(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++rl&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function qh(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Hh(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Vh(e,t,n,r){const i=Hh(n),o=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(qh(e,n)){const u=n.enter("codeIndented"),d=n.indentLines(o,Wh);return u(),d}const a=n.createTracker(r),s=i.repeat(Math.max(Uh(o,i)+1,3)),c=n.enter("codeFenced");let f=a.move(s);if(e.lang){const u=n.enter(`codeFencedLang${l}`);f+=a.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...a.current()})),u()}if(e.lang&&e.meta){const u=n.enter(`codeFencedMeta${l}`);f+=a.move(" "),f+=a.move(n.safe(e.meta,{before:f,after:` + */var ol;function mp(){return ol||(ol=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),a=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=!1,g=!1,b=!1,x=!1,A=!1,T;T=Symbol.for("react.module.reference");function _(M){return!!(typeof M=="string"||typeof M=="function"||M===n||M===i||A||M===r||M===c||M===f||x||M===p||m||g||b||typeof M=="object"&&M!==null&&(M.$$typeof===d||M.$$typeof===u||M.$$typeof===o||M.$$typeof===l||M.$$typeof===s||M.$$typeof===T||M.getModuleId!==void 0))}function E(M){if(typeof M=="object"&&M!==null){var ze=M.$$typeof;switch(ze){case e:var qe=M.type;switch(qe){case n:case i:case r:case c:case f:return qe;default:var lt=qe&&qe.$$typeof;switch(lt){case a:case l:case s:case d:case u:case o:return lt;default:return ze}}case t:return ze}}}var w=l,N=o,U=e,te=s,v=n,j=d,z=u,Q=t,Z=i,J=r,le=c,H=f,ce=!1,ve=!1;function h(M){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(M){return ve||(ve=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(M){return E(M)===l}function y(M){return E(M)===o}function B(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function ne(M){return E(M)===s}function $(M){return E(M)===n}function W(M){return E(M)===d}function Y(M){return E(M)===u}function re(M){return E(M)===t}function K(M){return E(M)===i}function Se(M){return E(M)===r}function D(M){return E(M)===c}function Oe(M){return E(M)===f}be.ContextConsumer=w,be.ContextProvider=N,be.Element=U,be.ForwardRef=te,be.Fragment=v,be.Lazy=j,be.Memo=z,be.Portal=Q,be.Profiler=Z,be.StrictMode=J,be.Suspense=le,be.SuspenseList=H,be.isAsyncMode=h,be.isConcurrentMode=F,be.isContextConsumer=q,be.isContextProvider=y,be.isElement=B,be.isForwardRef=ne,be.isFragment=$,be.isLazy=W,be.isMemo=Y,be.isPortal=re,be.isProfiler=K,be.isStrictMode=Se,be.isSuspense=D,be.isSuspenseList=Oe,be.isValidElementType=_,be.typeOf=E}()),be}process.env.NODE_ENV==="production"?br.exports=dp():br.exports=mp();var gp=br.exports;const yp=At(gp);function bp(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function kp(e){return e.join(" ").trim()}function xp(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var kr={exports:{}},ll=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,wp=/\n/g,vp=/^\s*/,Ep=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Sp=/^:\s*/,Cp=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Tp=/^[;\s]*/,Ap=/^\s+|\s+$/g,Pp=` +`,al="/",sl="*",st="",Op="comment",Rp="declaration",Fp=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(m){var g=m.match(wp);g&&(n+=g.length);var b=m.lastIndexOf(Pp);r=~b?m.length-b:r+m.length}function o(){var m={line:n,column:r};return function(g){return g.position=new l(m),c(),g}}function l(m){this.start=m,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function a(m){var g=new Error(t.source+":"+n+":"+r+": "+m);if(g.reason=m,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function s(m){var g=m.exec(e);if(g){var b=g[0];return i(b),e=e.slice(b.length),g}}function c(){s(vp)}function f(m){var g;for(m=m||[];g=u();)g!==!1&&m.push(g);return m}function u(){var m=o();if(!(al!=e.charAt(0)||sl!=e.charAt(1))){for(var g=2;st!=e.charAt(g)&&(sl!=e.charAt(g)||al!=e.charAt(g+1));)++g;if(g+=2,st===e.charAt(g-1))return a("End of comment missing");var b=e.slice(2,g-2);return r+=2,i(b),e=e.slice(g),r+=2,m({type:Op,comment:b})}}function d(){var m=o(),g=s(Ep);if(g){if(u(),!s(Sp))return a("property missing ':'");var b=s(Cp),x=m({type:Rp,property:ul(g[0].replace(ll,st)),value:b?ul(b[0].replace(ll,st)):st});return s(Tp),x}}function p(){var m=[];f(m);for(var g;g=d();)g!==!1&&(m.push(g),f(m));return m}return c(),p()};function ul(e){return e?e.replace(Ap,st):st}var Ip=Fp;function cl(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=Ip(e),o=typeof t=="function",l,a,s=0,c=i.length;s0?ie.createElement(p,s,u):ie.createElement(p,s)}function Lp(e){let t=-1;for(;++t for more info)`),delete fn[o]}const t=Zs().use(Zc).use(e.remarkPlugins||[]).use(Hf,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(hp,e),n=new Di;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=ie.createElement(ie.Fragment,{},fl({options:e,schema:fp,listDepth:0},r));return e.className&&(i=ie.createElement("div",{className:e.className},i)),i}vr.propTypes={children:ee.string,className:ee.string,allowElement:ee.func,allowedElements:ee.arrayOf(ee.string),disallowedElements:ee.arrayOf(ee.string),unwrapDisallowed:ee.bool,remarkPlugins:ee.arrayOf(ee.oneOfType([ee.object,ee.func,ee.arrayOf(ee.oneOfType([ee.bool,ee.string,ee.object,ee.func,ee.arrayOf(ee.any)]))])),rehypePlugins:ee.arrayOf(ee.oneOfType([ee.object,ee.func,ee.arrayOf(ee.oneOfType([ee.bool,ee.string,ee.object,ee.func,ee.arrayOf(ee.any)]))])),sourcePos:ee.bool,rawSourcePos:ee.bool,skipHtml:ee.bool,includeElementIndex:ee.bool,transformLinkUri:ee.oneOfType([ee.func,ee.bool]),linkTarget:ee.oneOfType([ee.func,ee.string]),transformImageUri:ee.func,components:ee.object};function hl(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function vg(){}const qp=Er(/\p{P}/u),Hp=Er(/[!-/:-@[-`{-~]/);function Vp(e){return Hp(e)||qp(e)}const Wp=Er(/\s/);function Er(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Yp(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Sr=function(e){if(e==null)return Xp;if(typeof e=="function")return pn(e);if(typeof e=="object")return Array.isArray(e)?Gp(e):Jp(e);if(typeof e=="string")return Kp(e);throw new Error("Expected function, string, or object as test")};function Gp(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let p=dl,m,g,b;if((!t||o(s,c,f[f.length-1]||void 0))&&(p=nh(n(s,f)),p[0]===ml))return p;if("children"in s&&s.children){const x=s;if(x.children&&p[0]!==eh)for(g=(r?x.children.length:-1)+l,b=f.concat(x);g>-1&&g0?{type:"text",value:w}:void 0),w===!1?d.lastIndex=_+1:(m!==_&&A.push({type:"text",value:c.value.slice(m,_)}),Array.isArray(w)?A.push(...w):w&&A.push(w),m=_+T[0].length,x=!0),!d.global)break;T=d.exec(c.value)}return x?(m?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=hl(e,"(");let o=hl(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function gl(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Wp(n)||Vp(n))&&(!t||n!==47)}function yl(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}bl.peek=Oh;function kh(){return{enter:{gfmFootnoteDefinition:wh,gfmFootnoteDefinitionLabelString:vh,gfmFootnoteCall:Ch,gfmFootnoteCallString:Th},exit:{gfmFootnoteDefinition:Sh,gfmFootnoteDefinitionLabelString:Eh,gfmFootnoteCall:Ph,gfmFootnoteCallString:Ah}}}function xh(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Rh,footnoteReference:bl}}}function wh(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function vh(){this.buffer()}function Eh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=yl(this.sliceSerialize(e)).toLowerCase()}function Sh(e){this.exit(e)}function Ch(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Th(){this.buffer()}function Ah(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=yl(this.sliceSerialize(e)).toLowerCase()}function Ph(e){this.exit(e)}function bl(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),a(),l(),o+=i.move("]"),o}function Oh(){return"["}function Rh(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteDefinition"),a=n.enter("label");return o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"})),a(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(e,i.current()),Fh)),l(),o}function Fh(e,t,n){return t===0?e:(n?"":" ")+e}const Ih=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];kl.peek=Lh;function jh(){return{canContainEols:["delete"],enter:{strikethrough:Dh},exit:{strikethrough:zh}}}function _h(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ih}],handlers:{delete:kl}}}function Dh(e){this.enter({type:"delete",children:[]},e)}function zh(e){this.exit(e)}function kl(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function Lh(){return"~"}function Nh(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Mh,i=[],o=[],l=[],a=[];let s=0,c=-1;for(;++cs&&(s=e[c].length);++ba[b])&&(a[b]=A)}m.push(x)}o[c]=m,l[c]=g}let f=-1;if(typeof n=="object"&&"length"in n)for(;++fa[f]&&(a[f]=x),d[f]=x),u[f]=A}o.splice(1,0,u),l.splice(1,0,d),c=-1;const p=[];for(;++c "),o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),Uh);return i(),l}function Uh(e,t,n){return">"+(n?"":" ")+e}function qh(e,t){return wl(e,t.inConstruct,!0)&&!wl(e,t.notInConstruct,!1)}function wl(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++rl&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function Vh(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Wh(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Yh(e,t,n,r){const i=Wh(n),o=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(Vh(e,n)){const u=n.enter("codeIndented"),d=n.indentLines(o,Gh);return u(),d}const a=n.createTracker(r),s=i.repeat(Math.max(Hh(o,i)+1,3)),c=n.enter("codeFenced");let f=a.move(s);if(e.lang){const u=n.enter(`codeFencedLang${l}`);f+=a.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...a.current()})),u()}if(e.lang&&e.meta){const u=n.enter(`codeFencedMeta${l}`);f+=a.move(" "),f+=a.move(n.safe(e.meta,{before:f,after:` `,encode:["`"],...a.current()})),u()}return f+=a.move(` `),o&&(f+=a.move(o+` -`)),f+=a.move(s),c(),f}function Wh(e,t,n){return(n?"":" ")+e}function Pr(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Yh(e,t,n,r){const i=Pr(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("definition");let a=n.enter("label");const s=n.createTracker(r);let c=s.move("[");return c+=s.move(n.safe(n.associationId(e),{before:c,after:"]",...s.current()})),c+=s.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(a=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":` -`,...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=s.move(" "+i),c+=s.move(n.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),a()),l(),c}function Gh(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}El.peek=Jh;function El(e,t,n,r){const i=Gh(n),o=n.enter("emphasis"),l=n.createTracker(r);let a=l.move(i);return a+=l.move(n.containerPhrasing(e,{before:a,after:i,...l.current()})),a+=l.move(i),o(),a}function Jh(e,t,n){return n.options.emphasis||"*"}const Sl=function(e){if(e==null)return Zh;if(typeof e=="function")return hn(e);if(typeof e=="object")return Array.isArray(e)?Kh(e):Xh(e);if(typeof e=="string")return Qh(e);throw new Error("Expected function, string, or object as test")};function Kh(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let p=Cl,m,g,b;if((!t||o(s,c,f[f.length-1]||void 0))&&(p=id(n(s,f)),p[0]===Or))return p;if("children"in s&&s.children){const x=s;if(x.children&&p[0]!==nd)for(g=(r?x.children.length:-1)+l,b=f.concat(x);g>-1&&g",...s.current()})),c+=s.move(">")):(a=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":` +`,...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=s.move(" "+i),c+=s.move(n.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),a()),l(),c}function Kh(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}El.peek=Xh;function El(e,t,n,r){const i=Kh(n),o=n.enter("emphasis"),l=n.createTracker(r);let a=l.move(i);return a+=l.move(n.containerPhrasing(e,{before:a,after:i,...l.current()})),a+=l.move(i),o(),a}function Xh(e,t,n){return n.options.emphasis||"*"}const Sl=function(e){if(e==null)return td;if(typeof e=="function")return hn(e);if(typeof e=="object")return Array.isArray(e)?Qh(e):Zh(e);if(typeof e=="string")return ed(e);throw new Error("Expected function, string, or object as test")};function Qh(e){const t=[];let n=-1;for(;++n":""))+")"})}return d;function d(){let p=Cl,m,g,b;if((!t||o(s,c,f[f.length-1]||void 0))&&(p=ld(n(s,f)),p[0]===Or))return p;if("children"in s&&s.children){const x=s;if(x.children&&p[0]!==id)for(g=(r?x.children.length:-1)+l,b=f.concat(x);g>-1&&g",...s.current()})),c+=s.move(">")):(a=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=s.move(" "+i),c+=s.move(n.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),a()),c+=s.move(")"),l(),c}function fd(){return"!"}Fl.peek=pd;function Fl(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let l=n.enter("label");const a=n.createTracker(r);let s=a.move("![");const c=n.safe(e.alt,{before:s,after:"]",...a.current()});s+=a.move(c+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const u=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!c||c!==u?s+=a.move(u+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function pd(){return"!"}Il.peek=hd;function Il(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o\u007F]/.test(e.url))}jl.peek=dd;function jl(e,t,n,r){const i=Pr(n),o=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let a,s;if(_l(e,n)){const f=n.stack;n.stack=[],a=n.enter("autolink");let u=l.move("<");return u+=l.move(n.containerPhrasing(e,{before:u,after:">",...l.current()})),u+=l.move(">"),a(),n.stack=f,u}a=n.enter("link"),s=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),a(),c}function dd(e,t,n){return _l(e,n)?"<":"["}Dl.peek=md;function Dl(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let l=n.enter("label");const a=n.createTracker(r);let s=a.move("[");const c=n.containerPhrasing(e,{before:s,after:"]",...a.current()});s+=a.move(c+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const u=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!c||c!==u?s+=a.move(u+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function md(){return"["}function Rr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function gd(e){const t=Rr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function yd(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function zl(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function bd(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let l=e.ordered?yd(n):Rr(n);const a=e.ordered?l==="."?")":".":gd(n);let s=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(s=!0),zl(n)===l&&f){let u=-1;for(;++u-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const a=n.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),f);return s(),c;function f(u,d,p){return d?(p?"":" ".repeat(l))+u:(p?o:o+" ".repeat(l-o.length))+u}}function wd(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l}const Ll=function(e){if(e==null)return Cd;if(typeof e=="function")return dn(e);if(typeof e=="object")return Array.isArray(e)?vd(e):Ed(e);if(typeof e=="string")return Sd(e);throw new Error("Expected function, string, or object as test")};function vd(e){const t=[];let n=-1;for(;++n",...s.current()})),c+=s.move(">")):(a=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=s.move(" "+i),c+=s.move(n.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),a()),c+=s.move(")"),l(),c}function hd(){return"!"}Fl.peek=dd;function Fl(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let l=n.enter("label");const a=n.createTracker(r);let s=a.move("![");const c=n.safe(e.alt,{before:s,after:"]",...a.current()});s+=a.move(c+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const u=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!c||c!==u?s+=a.move(u+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function dd(){return"!"}Il.peek=md;function Il(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o\u007F]/.test(e.url))}_l.peek=gd;function _l(e,t,n,r){const i=Pr(n),o=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let a,s;if(jl(e,n)){const f=n.stack;n.stack=[],a=n.enter("autolink");let u=l.move("<");return u+=l.move(n.containerPhrasing(e,{before:u,after:">",...l.current()})),u+=l.move(">"),a(),n.stack=f,u}a=n.enter("link"),s=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),s()),c+=l.move(")"),a(),c}function gd(e,t,n){return jl(e,n)?"<":"["}Dl.peek=yd;function Dl(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let l=n.enter("label");const a=n.createTracker(r);let s=a.move("[");const c=n.containerPhrasing(e,{before:s,after:"]",...a.current()});s+=a.move(c+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const u=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=f,o(),i==="full"||!c||c!==u?s+=a.move(u+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function yd(){return"["}function Rr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function bd(e){const t=Rr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function kd(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function zl(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function xd(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let l=e.ordered?kd(n):Rr(n);const a=e.ordered?l==="."?")":".":bd(n);let s=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(s=!0),zl(n)===l&&f){let u=-1;for(;++u-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const a=n.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),f);return s(),c;function f(u,d,p){return d?(p?"":" ".repeat(l))+u:(p?o:o+" ".repeat(l-o.length))+u}}function Ed(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l}const Ll=function(e){if(e==null)return Ad;if(typeof e=="function")return dn(e);if(typeof e=="object")return Array.isArray(e)?Sd(e):Cd(e);if(typeof e=="string")return Td(e);throw new Error("Expected function, string, or object as test")};function Sd(e){const t=[];let n=-1;for(;++ni?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o-1&&e.test(String.fromCharCode(n))}}const em={tokenize:lm,partial:!0},Hl={tokenize:am,partial:!0},Vl={tokenize:sm,partial:!0},Wl={tokenize:um,partial:!0},tm={tokenize:cm,partial:!0},Yl={tokenize:im,previous:Jl},Gl={tokenize:om,previous:Kl},et={tokenize:rm,previous:Xl},Xe={};function nm(){return{text:Xe}}let ut=48;for(;ut<123;)Xe[ut]=et,ut++,ut===58?ut=65:ut===91&&(ut=97);Xe[43]=et,Xe[45]=et,Xe[46]=et,Xe[95]=et,Xe[72]=[et,Gl],Xe[104]=[et,Gl],Xe[87]=[et,Yl],Xe[119]=[et,Yl];function rm(e,t,n){const r=this;let i,o;return l;function l(u){return!_r(u)||!Xl.call(r,r.previous)||jr(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(u))}function a(u){return _r(u)?(e.consume(u),a):u===64?(e.consume(u),s):n(u)}function s(u){return u===46?e.check(tm,f,c)(u):u===45||u===95||Ir(u)?(o=!0,e.consume(u),s):f(u)}function c(u){return e.consume(u),i=!0,s}function f(u){return o&&i&&Mt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(u)):n(u)}}function im(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!Jl.call(r,r.previous)||jr(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(em,e.attempt(Hl,e.attempt(Vl,o),n),n)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function om(e,t,n){const r=this;let i="",o=!1;return l;function l(u){return(u===72||u===104)&&Kl.call(r,r.previous)&&!jr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(u),e.consume(u),a):n(u)}function a(u){if(Mt(u)&&i.length<5)return i+=String.fromCodePoint(u),e.consume(u),a;if(u===58){const d=i.toLowerCase();if(d==="http"||d==="https")return e.consume(u),s}return n(u)}function s(u){return u===47?(e.consume(u),o?c:(o=!0,s)):n(u)}function c(u){return u===null||Qd(u)||vt(u)||Bt(u)||ql(u)?n(u):e.attempt(Hl,e.attempt(Vl,f),n)(u)}function f(u){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(u)}}function lm(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function am(e,t,n){let r,i,o;return l;function l(c){return c===46||c===95?e.check(Wl,s,a)(c):c===null||vt(c)||Bt(c)||c!==45&&ql(c)?s(c):(o=!0,e.consume(c),l)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),l}function s(c){return i||r||!o?n(c):t(c)}}function sm(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function fm(e){return e!==null&&e<-2}function mn(e){return e!==null&&(e<0||e===32)}function Dr(e){return e===-2||e===-1||e===32}function zr(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return Dr(s)?(e.enter(n),a(s)):t(s)}function a(s){return Dr(s)&&o++999||u===93&&!l||u===null||u===91||mn(u))return n(u);if(u===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return i.includes(Lr(r.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(u)}return mn(u)||(l=!0),o++,e.consume(u),u===92?f:c}function f(u){return u===91||u===92||u===93?(e.consume(u),o++,c):c(u)}}function km(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,a;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(m)}function f(m){if(l>999||m===93&&!a||m===null||m===91||mn(m))return n(m);if(m===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return o=Lr(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return mn(m)||(a=!0),l++,e.consume(m),m===92?u:f}function u(m){return m===91||m===92||m===93?(e.consume(m),l++,f):f(m)}function d(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(o)||i.push(o),zr(e,p,"gfmFootnoteDefinitionWhitespace")):n(m)}function p(m){return t(m)}}function xm(e,t,n){return e.check(pm,t,e.attempt(dm,t,n))}function wm(e){e.exit("gfmFootnoteDefinition")}function vm(e,t,n){const r=this;return zr(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function Nr(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o-1&&e.test(String.fromCharCode(n))}}function Ql(e){if(e===null||Cm(e)||Am(e))return 1;if(Tm(e))return 2}function Pm(e,t,n){const r=[];let i=-1;for(;++i1?s(m):(l.consume(m),u++,p);if(u<2&&!n)return s(m);const b=l.exit("strikethroughSequenceTemporary"),x=Ql(m);return b._open=!x||x===2&&!!g,b._close=!g||g===2&&!!x,a(m)}}}function gn(e){return e!==null&&e<-2}function Zl(e){return e!==null&&(e<0||e===32)}function ct(e){return e===-2||e===-1||e===32}function qt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return ct(s)?(e.enter(n),a(s)):t(s)}function a(s){return ct(s)&&o++0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function Fm(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const Z=r.events[_][1].type;if(Z==="lineEnding"||Z==="linePrefix")_--;else break}const z=_>-1?r.events[_][1].type:null,Q=z==="tableHead"||z==="tableRow"?w:s;return Q===w&&r.parser.lazy[r.now().line]?n(v):Q(v)}function s(v){return e.enter("tableHead"),e.enter("tableRow"),c(v)}function c(v){return v===124||(l=!0,o+=1),f(v)}function f(v){return v===null?n(v):gn(v)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),p):n(v):ct(v)?qt(e,f,"whitespace")(v):(o+=1,l&&(l=!1,i+=1),v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),u(v)))}function u(v){return v===null||v===124||Zl(v)?(e.exit("data"),f(v)):(e.consume(v),v===92?d:u)}function d(v){return v===92||v===124?(e.consume(v),u):u(v)}function p(v){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(v):(e.enter("tableDelimiterRow"),l=!1,ct(v)?qt(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):m(v))}function m(v){return v===45||v===58?b(v):v===124?(l=!0,e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),g):E(v)}function g(v){return ct(v)?qt(e,b,"whitespace")(v):b(v)}function b(v){return v===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),x):v===45?(o+=1,x(v)):v===null||gn(v)?j(v):E(v)}function x(v){return v===45?(e.enter("tableDelimiterFiller"),A(v)):E(v)}function A(v){return v===45?(e.consume(v),A):v===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(v))}function C(v){return ct(v)?qt(e,j,"whitespace")(v):j(v)}function j(v){return v===124?m(v):v===null||gn(v)?!l||i!==o?E(v):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(v)):E(v)}function E(v){return n(v)}function w(v){return e.enter("tableRow"),N(v)}function N(v){return v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),N):v===null||gn(v)?(e.exit("tableRow"),t(v)):ct(v)?qt(e,N,"whitespace")(v):(e.enter("data"),U(v))}function U(v){return v===null||v===124||Zl(v)?(e.exit("data"),N(v)):(e.consume(v),v===92?te:U)}function te(v){return v===92||v===124?(e.consume(v),U):U(v)}}function Dm(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],a=!1,s=0,c,f,u;const d=new Rm;for(;++nn[2]+1){const m=n[2]+1,g=n[3]-n[2]-1;e.add(m,g,[])}}e.add(n[3]+1,0,[["exit",u,t]])}return i!==void 0&&(o.end=Object.assign({},Et(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function ea(e,t,n,r,i){const o=[],l=Et(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function Et(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}function zm(e){return e!==null&&e<-2}function Lm(e){return e!==null&&(e<0||e===32)}function Mr(e){return e===-2||e===-1||e===32}function Nm(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return Mr(s)?(e.enter(n),a(s)):t(s)}function a(s){return Mr(s)&&o++r.current.scrollIntoView(),o=sessionStorage.getItem("gameID");return T.jsxs("div",{ref:r,className:"flex flex-col items-center m-2 md:m-12",children:[T.jsxs("div",{className:"w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md",children:[T.jsxs("article",{className:"prose dark:prose-invert max-w-fit fade-in",children:[T.jsxs("div",{className:"flex flex-col md:flex-row w-full h-full justify-between items-center",children:[T.jsxs("div",{className:"text-4xl font-black mb-6 md:mb-0",children:[T.jsx("span",{className:`text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`,children:e.key})," Game Rules"]}),T.jsx("button",{onClick:()=>n(o?"/"+o:"/"),className:"bg-blue-500 px-6 py-2 font-bold italic",children:o?"Back":"Play Online"})]}),T.jsx(vr,{children:t,remarkPlugins:[ta]})]}),T.jsx("div",{className:"mt-12 flex flex-col w-full items-center",children:T.jsx("button",{className:"text-zinc-500 font-light italic",onClick:i,children:"back to top 👆"})})]}),T.jsx("div",{className:"mt-8",children:T.jsx(Rt,{})})]})}function Wm({config:e}){const t=ht.useNavigate(),n=ie.useRef(),r=sessionStorage.getItem("gameID"),i=` +`))}function s(p,m,g,b){const x=g.enter("tableCell"),A=g.enter("phrasing"),T=g.containerPhrasing(p,{...b,before:o,after:o});return A(),x(),T}function c(p,m){return Nh(p,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function f(p,m,g){const b=p.children;let x=-1;const A=[],T=m.enter("table");for(;++xi?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o-1&&e.test(String.fromCharCode(n))}}const nm={tokenize:sm,partial:!0},Hl={tokenize:um,partial:!0},Vl={tokenize:cm,partial:!0},Wl={tokenize:fm,partial:!0},rm={tokenize:pm,partial:!0},Yl={tokenize:lm,previous:Jl},Gl={tokenize:am,previous:Kl},et={tokenize:om,previous:Xl},Xe={};function im(){return{text:Xe}}let ut=48;for(;ut<123;)Xe[ut]=et,ut++,ut===58?ut=65:ut===91&&(ut=97);Xe[43]=et,Xe[45]=et,Xe[46]=et,Xe[95]=et,Xe[72]=[et,Gl],Xe[104]=[et,Gl],Xe[87]=[et,Yl],Xe[119]=[et,Yl];function om(e,t,n){const r=this;let i,o;return l;function l(u){return!jr(u)||!Xl.call(r,r.previous)||_r(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(u))}function a(u){return jr(u)?(e.consume(u),a):u===64?(e.consume(u),s):n(u)}function s(u){return u===46?e.check(rm,f,c)(u):u===45||u===95||Ir(u)?(o=!0,e.consume(u),s):f(u)}function c(u){return e.consume(u),i=!0,s}function f(u){return o&&i&&Mt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(u)):n(u)}}function lm(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!Jl.call(r,r.previous)||_r(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(nm,e.attempt(Hl,e.attempt(Vl,o),n),n)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function am(e,t,n){const r=this;let i="",o=!1;return l;function l(u){return(u===72||u===104)&&Kl.call(r,r.previous)&&!_r(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(u),e.consume(u),a):n(u)}function a(u){if(Mt(u)&&i.length<5)return i+=String.fromCodePoint(u),e.consume(u),a;if(u===58){const d=i.toLowerCase();if(d==="http"||d==="https")return e.consume(u),s}return n(u)}function s(u){return u===47?(e.consume(u),o?c:(o=!0,s)):n(u)}function c(u){return u===null||em(u)||vt(u)||Bt(u)||ql(u)?n(u):e.attempt(Hl,e.attempt(Vl,f),n)(u)}function f(u){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(u)}}function sm(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function um(e,t,n){let r,i,o;return l;function l(c){return c===46||c===95?e.check(Wl,s,a)(c):c===null||vt(c)||Bt(c)||c!==45&&ql(c)?s(c):(o=!0,e.consume(c),l)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),l}function s(c){return i||r||!o?n(c):t(c)}}function cm(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function hm(e){return e!==null&&e<-2}function mn(e){return e!==null&&(e<0||e===32)}function Dr(e){return e===-2||e===-1||e===32}function zr(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return Dr(s)?(e.enter(n),a(s)):t(s)}function a(s){return Dr(s)&&o++999||u===93&&!l||u===null||u===91||mn(u))return n(u);if(u===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return i.includes(Lr(r.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(u)}return mn(u)||(l=!0),o++,e.consume(u),u===92?f:c}function f(u){return u===91||u===92||u===93?(e.consume(u),o++,c):c(u)}}function wm(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,a;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(m)}function f(m){if(l>999||m===93&&!a||m===null||m===91||mn(m))return n(m);if(m===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return o=Lr(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return mn(m)||(a=!0),l++,e.consume(m),m===92?u:f}function u(m){return m===91||m===92||m===93?(e.consume(m),l++,f):f(m)}function d(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(o)||i.push(o),zr(e,p,"gfmFootnoteDefinitionWhitespace")):n(m)}function p(m){return t(m)}}function vm(e,t,n){return e.check(dm,t,e.attempt(gm,t,n))}function Em(e){e.exit("gfmFootnoteDefinition")}function Sm(e,t,n){const r=this;return zr(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function Nr(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o-1&&e.test(String.fromCharCode(n))}}function Ql(e){if(e===null||Am(e)||Om(e))return 1;if(Pm(e))return 2}function Rm(e,t,n){const r=[];let i=-1;for(;++i1?s(m):(l.consume(m),u++,p);if(u<2&&!n)return s(m);const b=l.exit("strikethroughSequenceTemporary"),x=Ql(m);return b._open=!x||x===2&&!!g,b._close=!g||g===2&&!!x,a(m)}}}function gn(e){return e!==null&&e<-2}function Zl(e){return e!==null&&(e<0||e===32)}function ct(e){return e===-2||e===-1||e===32}function qt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return ct(s)?(e.enter(n),a(s)):t(s)}function a(s){return ct(s)&&o++0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function jm(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const Z=r.events[j][1].type;if(Z==="lineEnding"||Z==="linePrefix")j--;else break}const z=j>-1?r.events[j][1].type:null,Q=z==="tableHead"||z==="tableRow"?w:s;return Q===w&&r.parser.lazy[r.now().line]?n(v):Q(v)}function s(v){return e.enter("tableHead"),e.enter("tableRow"),c(v)}function c(v){return v===124||(l=!0,o+=1),f(v)}function f(v){return v===null?n(v):gn(v)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),p):n(v):ct(v)?qt(e,f,"whitespace")(v):(o+=1,l&&(l=!1,i+=1),v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),u(v)))}function u(v){return v===null||v===124||Zl(v)?(e.exit("data"),f(v)):(e.consume(v),v===92?d:u)}function d(v){return v===92||v===124?(e.consume(v),u):u(v)}function p(v){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(v):(e.enter("tableDelimiterRow"),l=!1,ct(v)?qt(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):m(v))}function m(v){return v===45||v===58?b(v):v===124?(l=!0,e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),g):E(v)}function g(v){return ct(v)?qt(e,b,"whitespace")(v):b(v)}function b(v){return v===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),x):v===45?(o+=1,x(v)):v===null||gn(v)?_(v):E(v)}function x(v){return v===45?(e.enter("tableDelimiterFiller"),A(v)):E(v)}function A(v){return v===45?(e.consume(v),A):v===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(v))}function T(v){return ct(v)?qt(e,_,"whitespace")(v):_(v)}function _(v){return v===124?m(v):v===null||gn(v)?!l||i!==o?E(v):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(v)):E(v)}function E(v){return n(v)}function w(v){return e.enter("tableRow"),N(v)}function N(v){return v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),N):v===null||gn(v)?(e.exit("tableRow"),t(v)):ct(v)?qt(e,N,"whitespace")(v):(e.enter("data"),U(v))}function U(v){return v===null||v===124||Zl(v)?(e.exit("data"),N(v)):(e.consume(v),v===92?te:U)}function te(v){return v===92||v===124?(e.consume(v),U):U(v)}}function Lm(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],a=!1,s=0,c,f,u;const d=new Im;for(;++nn[2]+1){const m=n[2]+1,g=n[3]-n[2]-1;e.add(m,g,[])}}e.add(n[3]+1,0,[["exit",u,t]])}return i!==void 0&&(o.end=Object.assign({},Et(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function ea(e,t,n,r,i){const o=[],l=Et(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function Et(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}function Nm(e){return e!==null&&e<-2}function $m(e){return e!==null&&(e<0||e===32)}function Mr(e){return e===-2||e===-1||e===32}function Mm(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(s){return Mr(s)?(e.enter(n),a(s)):t(s)}function a(s){return Mr(s)&&o++r.current.scrollIntoView(),o=sessionStorage.getItem("gameID");return S.jsxs("div",{ref:r,className:"flex flex-col items-center m-2 md:m-12",children:[S.jsxs("div",{className:"w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md",children:[S.jsxs("article",{className:"prose dark:prose-invert max-w-fit fade-in",children:[S.jsxs("div",{className:"flex flex-col md:flex-row w-full h-full justify-between items-center",children:[S.jsxs("div",{className:"text-4xl font-black mb-6 md:mb-0",children:[S.jsx("span",{className:`text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`,children:e.key})," Game Rules"]}),S.jsx("button",{onClick:()=>n(o?"/"+o:"/"),className:"bg-blue-500 px-6 py-2 font-bold italic",children:o?"Back":"Play Online"})]}),S.jsx(vr,{children:t,remarkPlugins:[ta]})]}),S.jsx("div",{className:"mt-12 flex flex-col w-full items-center",children:S.jsx("button",{className:"text-zinc-500 font-light italic",onClick:i,children:"back to top 👆"})})]}),S.jsx("div",{className:"mt-8",children:S.jsx(Rt,{})})]})}function Gm({config:e}){const t=ht.useNavigate(),n=ie.useRef(),r=sessionStorage.getItem("gameID"),i=` Find a bug? There are two ways to send a report: 1. Send an email to support@quibbble.com. 2. Join our [Discord](https://discord.gg/VKvjutuhUp) and send a report in the **#bugs** channel. @@ -110,4 +110,4 @@ In your bug report message please include the following: Reports go a long way to improving the site for everyone so they are greatly appreciated. As always, thanks for playing and contributing to [quibbble.com](https://quibbble.com). ~ *Chris* -`;return T.jsxs("div",{ref:n,className:"flex flex-col items-center m-2 md:m-12",children:[T.jsx("div",{className:"w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md",children:T.jsxs("article",{className:"prose dark:prose-invert max-w-fit fade-in",children:[T.jsxs("div",{className:"flex flex-col md:flex-row w-full h-full justify-between items-center",children:[T.jsxs("div",{className:"text-4xl font-black mb-6 md:mb-0",children:[T.jsx("span",{className:`text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`,children:e.key})," Bug Report"]}),T.jsx("button",{onClick:()=>t(r?"/"+r:"/"),className:"bg-blue-500 px-6 py-2 font-bold italic",children:r?"Back":"Play Online"})]}),T.jsx(vr,{children:i,remarkPlugins:[ta]})]})}),T.jsx("div",{className:"mt-8",children:T.jsx(Rt,{})})]})}_e.BugsPage=Wm,_e.DownPage=Es,_e.Footer=Rt,_e.GamePage=js,_e.HomePage=Ss,_e.RulesPage=Vm,Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"})}); +`;return S.jsxs("div",{ref:n,className:"flex flex-col items-center m-2 md:m-12",children:[S.jsx("div",{className:"w-full max-w-3xl bg-zinc-900 p-8 md:p-12 rounded-md",children:S.jsxs("article",{className:"prose dark:prose-invert max-w-fit fade-in",children:[S.jsxs("div",{className:"flex flex-col md:flex-row w-full h-full justify-between items-center",children:[S.jsxs("div",{className:"text-4xl font-black mb-6 md:mb-0",children:[S.jsx("span",{className:`text-5xl font-black font-['${e.font}'] text-${e.color} mr-1`,children:e.key})," Bug Report"]}),S.jsx("button",{onClick:()=>t(r?"/"+r:"/"),className:"bg-blue-500 px-6 py-2 font-bold italic",children:r?"Back":"Play Online"})]}),S.jsx(vr,{children:i,remarkPlugins:[ta]})]})}),S.jsx("div",{className:"mt-8",children:S.jsx(Rt,{})})]})}je.BugsPage=Gm,je.DownPage=Es,je.Footer=Rt,je.GamePage=zs,je.HomePage=Ts,je.RulesPage=Ym,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})}); diff --git a/dist/style.css b/dist/style.css index 2893cf3..807d346 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1 +1 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;-webkit-font-feature-settings:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-8{bottom:2rem}.top-\[-12px\]{top:-12px}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.m-2{margin:.5rem}.m-8{margin:2rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-3{margin-right:.75rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-48{margin-top:12rem}.mt-8{margin-top:2rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-2{height:.5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-\[95\%\]{height:95%}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10\/12{width:83.333333%}.w-2{width:.5rem}.w-2\/12{width:16.666667%}.w-4{width:1rem}.w-6{width:1.5rem}.w-6\/12{width:50%}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-fit{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}.max-w-xl{max-width:36rem}.grow{flex-grow:1}.grow-0{flex-grow:0}.origin-bottom-left{-webkit-transform-origin:bottom left;transform-origin:bottom left}.rotate-45{--tw-rotate: 45deg;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}.animate-ping{-webkit-animation:ping 1s cubic-bezier(0,0,.2,1) infinite;animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}.animate-pulse{-webkit-animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.border{border-width:1px}.border-4{border-width:4px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-500\/0{border-color:#3b82f600}.border-blue-500\/10{border-color:#3b82f61a}.border-blue-500\/100{border-color:#3b82f6}.border-blue-500\/20{border-color:#3b82f633}.border-blue-500\/25{border-color:#3b82f640}.border-blue-500\/30{border-color:#3b82f64d}.border-blue-500\/40{border-color:#3b82f666}.border-blue-500\/5{border-color:#3b82f60d}.border-blue-500\/50{border-color:#3b82f680}.border-blue-500\/60{border-color:#3b82f699}.border-blue-500\/70{border-color:#3b82f6b3}.border-blue-500\/75{border-color:#3b82f6bf}.border-blue-500\/80{border-color:#3b82f6cc}.border-blue-500\/90{border-color:#3b82f6e6}.border-blue-500\/95{border-color:#3b82f6f2}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-green-500\/0{border-color:#22c55e00}.border-green-500\/10{border-color:#22c55e1a}.border-green-500\/100{border-color:#22c55e}.border-green-500\/20{border-color:#22c55e33}.border-green-500\/25{border-color:#22c55e40}.border-green-500\/30{border-color:#22c55e4d}.border-green-500\/40{border-color:#22c55e66}.border-green-500\/5{border-color:#22c55e0d}.border-green-500\/50{border-color:#22c55e80}.border-green-500\/60{border-color:#22c55e99}.border-green-500\/70{border-color:#22c55eb3}.border-green-500\/75{border-color:#22c55ebf}.border-green-500\/80{border-color:#22c55ecc}.border-green-500\/90{border-color:#22c55ee6}.border-green-500\/95{border-color:#22c55ef2}.border-orange-500{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-orange-500\/0{border-color:#f9731600}.border-orange-500\/10{border-color:#f973161a}.border-orange-500\/100{border-color:#f97316}.border-orange-500\/20{border-color:#f9731633}.border-orange-500\/25{border-color:#f9731640}.border-orange-500\/30{border-color:#f973164d}.border-orange-500\/40{border-color:#f9731666}.border-orange-500\/5{border-color:#f973160d}.border-orange-500\/50{border-color:#f9731680}.border-orange-500\/60{border-color:#f9731699}.border-orange-500\/70{border-color:#f97316b3}.border-orange-500\/75{border-color:#f97316bf}.border-orange-500\/80{border-color:#f97316cc}.border-orange-500\/90{border-color:#f97316e6}.border-orange-500\/95{border-color:#f97316f2}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-pink-500\/0{border-color:#ec489900}.border-pink-500\/10{border-color:#ec48991a}.border-pink-500\/100{border-color:#ec4899}.border-pink-500\/20{border-color:#ec489933}.border-pink-500\/25{border-color:#ec489940}.border-pink-500\/30{border-color:#ec48994d}.border-pink-500\/40{border-color:#ec489966}.border-pink-500\/5{border-color:#ec48990d}.border-pink-500\/50{border-color:#ec489980}.border-pink-500\/60{border-color:#ec489999}.border-pink-500\/70{border-color:#ec4899b3}.border-pink-500\/75{border-color:#ec4899bf}.border-pink-500\/80{border-color:#ec4899cc}.border-pink-500\/90{border-color:#ec4899e6}.border-pink-500\/95{border-color:#ec4899f2}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-purple-500\/0{border-color:#a855f700}.border-purple-500\/10{border-color:#a855f71a}.border-purple-500\/100{border-color:#a855f7}.border-purple-500\/20{border-color:#a855f733}.border-purple-500\/25{border-color:#a855f740}.border-purple-500\/30{border-color:#a855f74d}.border-purple-500\/40{border-color:#a855f766}.border-purple-500\/5{border-color:#a855f70d}.border-purple-500\/50{border-color:#a855f780}.border-purple-500\/60{border-color:#a855f799}.border-purple-500\/70{border-color:#a855f7b3}.border-purple-500\/75{border-color:#a855f7bf}.border-purple-500\/80{border-color:#a855f7cc}.border-purple-500\/90{border-color:#a855f7e6}.border-purple-500\/95{border-color:#a855f7f2}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-500\/0{border-color:#ef444400}.border-red-500\/10{border-color:#ef44441a}.border-red-500\/100{border-color:#ef4444}.border-red-500\/20{border-color:#ef444433}.border-red-500\/25{border-color:#ef444440}.border-red-500\/30{border-color:#ef44444d}.border-red-500\/40{border-color:#ef444466}.border-red-500\/5{border-color:#ef44440d}.border-red-500\/50{border-color:#ef444480}.border-red-500\/60{border-color:#ef444499}.border-red-500\/70{border-color:#ef4444b3}.border-red-500\/75{border-color:#ef4444bf}.border-red-500\/80{border-color:#ef4444cc}.border-red-500\/90{border-color:#ef4444e6}.border-red-500\/95{border-color:#ef4444f2}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-teal-500\/0{border-color:#14b8a600}.border-teal-500\/10{border-color:#14b8a61a}.border-teal-500\/100{border-color:#14b8a6}.border-teal-500\/20{border-color:#14b8a633}.border-teal-500\/25{border-color:#14b8a640}.border-teal-500\/30{border-color:#14b8a64d}.border-teal-500\/40{border-color:#14b8a666}.border-teal-500\/5{border-color:#14b8a60d}.border-teal-500\/50{border-color:#14b8a680}.border-teal-500\/60{border-color:#14b8a699}.border-teal-500\/70{border-color:#14b8a6b3}.border-teal-500\/75{border-color:#14b8a6bf}.border-teal-500\/80{border-color:#14b8a6cc}.border-teal-500\/90{border-color:#14b8a6e6}.border-teal-500\/95{border-color:#14b8a6f2}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-yellow-500\/0{border-color:#eab30800}.border-yellow-500\/10{border-color:#eab3081a}.border-yellow-500\/100{border-color:#eab308}.border-yellow-500\/20{border-color:#eab30833}.border-yellow-500\/25{border-color:#eab30840}.border-yellow-500\/30{border-color:#eab3084d}.border-yellow-500\/40{border-color:#eab30866}.border-yellow-500\/5{border-color:#eab3080d}.border-yellow-500\/50{border-color:#eab30880}.border-yellow-500\/60{border-color:#eab30899}.border-yellow-500\/70{border-color:#eab308b3}.border-yellow-500\/75{border-color:#eab308bf}.border-yellow-500\/80{border-color:#eab308cc}.border-yellow-500\/90{border-color:#eab308e6}.border-yellow-500\/95{border-color:#eab308f2}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-500\/0{background-color:#3b82f600}.bg-blue-500\/10{background-color:#3b82f61a}.bg-blue-500\/100{background-color:#3b82f6}.bg-blue-500\/20{background-color:#3b82f633}.bg-blue-500\/25{background-color:#3b82f640}.bg-blue-500\/30{background-color:#3b82f64d}.bg-blue-500\/40{background-color:#3b82f666}.bg-blue-500\/5{background-color:#3b82f60d}.bg-blue-500\/50{background-color:#3b82f680}.bg-blue-500\/60{background-color:#3b82f699}.bg-blue-500\/70{background-color:#3b82f6b3}.bg-blue-500\/75{background-color:#3b82f6bf}.bg-blue-500\/80{background-color:#3b82f6cc}.bg-blue-500\/90{background-color:#3b82f6e6}.bg-blue-500\/95{background-color:#3b82f6f2}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-500\/0{background-color:#22c55e00}.bg-green-500\/10{background-color:#22c55e1a}.bg-green-500\/100{background-color:#22c55e}.bg-green-500\/20{background-color:#22c55e33}.bg-green-500\/25{background-color:#22c55e40}.bg-green-500\/30{background-color:#22c55e4d}.bg-green-500\/40{background-color:#22c55e66}.bg-green-500\/5{background-color:#22c55e0d}.bg-green-500\/50{background-color:#22c55e80}.bg-green-500\/60{background-color:#22c55e99}.bg-green-500\/70{background-color:#22c55eb3}.bg-green-500\/75{background-color:#22c55ebf}.bg-green-500\/80{background-color:#22c55ecc}.bg-green-500\/90{background-color:#22c55ee6}.bg-green-500\/95{background-color:#22c55ef2}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-orange-500\/0{background-color:#f9731600}.bg-orange-500\/10{background-color:#f973161a}.bg-orange-500\/100{background-color:#f97316}.bg-orange-500\/20{background-color:#f9731633}.bg-orange-500\/25{background-color:#f9731640}.bg-orange-500\/30{background-color:#f973164d}.bg-orange-500\/40{background-color:#f9731666}.bg-orange-500\/5{background-color:#f973160d}.bg-orange-500\/50{background-color:#f9731680}.bg-orange-500\/60{background-color:#f9731699}.bg-orange-500\/70{background-color:#f97316b3}.bg-orange-500\/75{background-color:#f97316bf}.bg-orange-500\/80{background-color:#f97316cc}.bg-orange-500\/90{background-color:#f97316e6}.bg-orange-500\/95{background-color:#f97316f2}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.bg-pink-500\/0{background-color:#ec489900}.bg-pink-500\/10{background-color:#ec48991a}.bg-pink-500\/100{background-color:#ec4899}.bg-pink-500\/20{background-color:#ec489933}.bg-pink-500\/25{background-color:#ec489940}.bg-pink-500\/30{background-color:#ec48994d}.bg-pink-500\/40{background-color:#ec489966}.bg-pink-500\/5{background-color:#ec48990d}.bg-pink-500\/50{background-color:#ec489980}.bg-pink-500\/60{background-color:#ec489999}.bg-pink-500\/70{background-color:#ec4899b3}.bg-pink-500\/75{background-color:#ec4899bf}.bg-pink-500\/80{background-color:#ec4899cc}.bg-pink-500\/90{background-color:#ec4899e6}.bg-pink-500\/95{background-color:#ec4899f2}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.bg-purple-500\/0{background-color:#a855f700}.bg-purple-500\/10{background-color:#a855f71a}.bg-purple-500\/100{background-color:#a855f7}.bg-purple-500\/20{background-color:#a855f733}.bg-purple-500\/25{background-color:#a855f740}.bg-purple-500\/30{background-color:#a855f74d}.bg-purple-500\/40{background-color:#a855f766}.bg-purple-500\/5{background-color:#a855f70d}.bg-purple-500\/50{background-color:#a855f780}.bg-purple-500\/60{background-color:#a855f799}.bg-purple-500\/70{background-color:#a855f7b3}.bg-purple-500\/75{background-color:#a855f7bf}.bg-purple-500\/80{background-color:#a855f7cc}.bg-purple-500\/90{background-color:#a855f7e6}.bg-purple-500\/95{background-color:#a855f7f2}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-500\/0{background-color:#ef444400}.bg-red-500\/10{background-color:#ef44441a}.bg-red-500\/100{background-color:#ef4444}.bg-red-500\/20{background-color:#ef444433}.bg-red-500\/25{background-color:#ef444440}.bg-red-500\/30{background-color:#ef44444d}.bg-red-500\/40{background-color:#ef444466}.bg-red-500\/5{background-color:#ef44440d}.bg-red-500\/50{background-color:#ef444480}.bg-red-500\/60{background-color:#ef444499}.bg-red-500\/70{background-color:#ef4444b3}.bg-red-500\/75{background-color:#ef4444bf}.bg-red-500\/80{background-color:#ef4444cc}.bg-red-500\/90{background-color:#ef4444e6}.bg-red-500\/95{background-color:#ef4444f2}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.bg-teal-500\/0{background-color:#14b8a600}.bg-teal-500\/10{background-color:#14b8a61a}.bg-teal-500\/100{background-color:#14b8a6}.bg-teal-500\/20{background-color:#14b8a633}.bg-teal-500\/25{background-color:#14b8a640}.bg-teal-500\/30{background-color:#14b8a64d}.bg-teal-500\/40{background-color:#14b8a666}.bg-teal-500\/5{background-color:#14b8a60d}.bg-teal-500\/50{background-color:#14b8a680}.bg-teal-500\/60{background-color:#14b8a699}.bg-teal-500\/70{background-color:#14b8a6b3}.bg-teal-500\/75{background-color:#14b8a6bf}.bg-teal-500\/80{background-color:#14b8a6cc}.bg-teal-500\/90{background-color:#14b8a6e6}.bg-teal-500\/95{background-color:#14b8a6f2}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-yellow-500\/0{background-color:#eab30800}.bg-yellow-500\/10{background-color:#eab3081a}.bg-yellow-500\/100{background-color:#eab308}.bg-yellow-500\/20{background-color:#eab30833}.bg-yellow-500\/25{background-color:#eab30840}.bg-yellow-500\/30{background-color:#eab3084d}.bg-yellow-500\/40{background-color:#eab30866}.bg-yellow-500\/5{background-color:#eab3080d}.bg-yellow-500\/50{background-color:#eab30880}.bg-yellow-500\/60{background-color:#eab30899}.bg-yellow-500\/70{background-color:#eab308b3}.bg-yellow-500\/75{background-color:#eab308bf}.bg-yellow-500\/80{background-color:#eab308cc}.bg-yellow-500\/90{background-color:#eab308e6}.bg-yellow-500\/95{background-color:#eab308f2}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.bg-zinc-600{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.fill-blue-500{fill:#3b82f6}.fill-blue-500\/0{fill:#3b82f600}.fill-blue-500\/10{fill:#3b82f61a}.fill-blue-500\/100{fill:#3b82f6}.fill-blue-500\/20{fill:#3b82f633}.fill-blue-500\/25{fill:#3b82f640}.fill-blue-500\/30{fill:#3b82f64d}.fill-blue-500\/40{fill:#3b82f666}.fill-blue-500\/5{fill:#3b82f60d}.fill-blue-500\/50{fill:#3b82f680}.fill-blue-500\/60{fill:#3b82f699}.fill-blue-500\/70{fill:#3b82f6b3}.fill-blue-500\/75{fill:#3b82f6bf}.fill-blue-500\/80{fill:#3b82f6cc}.fill-blue-500\/90{fill:#3b82f6e6}.fill-blue-500\/95{fill:#3b82f6f2}.fill-green-500{fill:#22c55e}.fill-green-500\/0{fill:#22c55e00}.fill-green-500\/10{fill:#22c55e1a}.fill-green-500\/100{fill:#22c55e}.fill-green-500\/20{fill:#22c55e33}.fill-green-500\/25{fill:#22c55e40}.fill-green-500\/30{fill:#22c55e4d}.fill-green-500\/40{fill:#22c55e66}.fill-green-500\/5{fill:#22c55e0d}.fill-green-500\/50{fill:#22c55e80}.fill-green-500\/60{fill:#22c55e99}.fill-green-500\/70{fill:#22c55eb3}.fill-green-500\/75{fill:#22c55ebf}.fill-green-500\/80{fill:#22c55ecc}.fill-green-500\/90{fill:#22c55ee6}.fill-green-500\/95{fill:#22c55ef2}.fill-orange-500{fill:#f97316}.fill-orange-500\/0{fill:#f9731600}.fill-orange-500\/10{fill:#f973161a}.fill-orange-500\/100{fill:#f97316}.fill-orange-500\/20{fill:#f9731633}.fill-orange-500\/25{fill:#f9731640}.fill-orange-500\/30{fill:#f973164d}.fill-orange-500\/40{fill:#f9731666}.fill-orange-500\/5{fill:#f973160d}.fill-orange-500\/50{fill:#f9731680}.fill-orange-500\/60{fill:#f9731699}.fill-orange-500\/70{fill:#f97316b3}.fill-orange-500\/75{fill:#f97316bf}.fill-orange-500\/80{fill:#f97316cc}.fill-orange-500\/90{fill:#f97316e6}.fill-orange-500\/95{fill:#f97316f2}.fill-pink-500{fill:#ec4899}.fill-pink-500\/0{fill:#ec489900}.fill-pink-500\/10{fill:#ec48991a}.fill-pink-500\/100{fill:#ec4899}.fill-pink-500\/20{fill:#ec489933}.fill-pink-500\/25{fill:#ec489940}.fill-pink-500\/30{fill:#ec48994d}.fill-pink-500\/40{fill:#ec489966}.fill-pink-500\/5{fill:#ec48990d}.fill-pink-500\/50{fill:#ec489980}.fill-pink-500\/60{fill:#ec489999}.fill-pink-500\/70{fill:#ec4899b3}.fill-pink-500\/75{fill:#ec4899bf}.fill-pink-500\/80{fill:#ec4899cc}.fill-pink-500\/90{fill:#ec4899e6}.fill-pink-500\/95{fill:#ec4899f2}.fill-purple-500{fill:#a855f7}.fill-purple-500\/0{fill:#a855f700}.fill-purple-500\/10{fill:#a855f71a}.fill-purple-500\/100{fill:#a855f7}.fill-purple-500\/20{fill:#a855f733}.fill-purple-500\/25{fill:#a855f740}.fill-purple-500\/30{fill:#a855f74d}.fill-purple-500\/40{fill:#a855f766}.fill-purple-500\/5{fill:#a855f70d}.fill-purple-500\/50{fill:#a855f780}.fill-purple-500\/60{fill:#a855f799}.fill-purple-500\/70{fill:#a855f7b3}.fill-purple-500\/75{fill:#a855f7bf}.fill-purple-500\/80{fill:#a855f7cc}.fill-purple-500\/90{fill:#a855f7e6}.fill-purple-500\/95{fill:#a855f7f2}.fill-red-500{fill:#ef4444}.fill-red-500\/0{fill:#ef444400}.fill-red-500\/10{fill:#ef44441a}.fill-red-500\/100{fill:#ef4444}.fill-red-500\/20{fill:#ef444433}.fill-red-500\/25{fill:#ef444440}.fill-red-500\/30{fill:#ef44444d}.fill-red-500\/40{fill:#ef444466}.fill-red-500\/5{fill:#ef44440d}.fill-red-500\/50{fill:#ef444480}.fill-red-500\/60{fill:#ef444499}.fill-red-500\/70{fill:#ef4444b3}.fill-red-500\/75{fill:#ef4444bf}.fill-red-500\/80{fill:#ef4444cc}.fill-red-500\/90{fill:#ef4444e6}.fill-red-500\/95{fill:#ef4444f2}.fill-teal-500{fill:#14b8a6}.fill-teal-500\/0{fill:#14b8a600}.fill-teal-500\/10{fill:#14b8a61a}.fill-teal-500\/100{fill:#14b8a6}.fill-teal-500\/20{fill:#14b8a633}.fill-teal-500\/25{fill:#14b8a640}.fill-teal-500\/30{fill:#14b8a64d}.fill-teal-500\/40{fill:#14b8a666}.fill-teal-500\/5{fill:#14b8a60d}.fill-teal-500\/50{fill:#14b8a680}.fill-teal-500\/60{fill:#14b8a699}.fill-teal-500\/70{fill:#14b8a6b3}.fill-teal-500\/75{fill:#14b8a6bf}.fill-teal-500\/80{fill:#14b8a6cc}.fill-teal-500\/90{fill:#14b8a6e6}.fill-teal-500\/95{fill:#14b8a6f2}.fill-yellow-500{fill:#eab308}.fill-yellow-500\/0{fill:#eab30800}.fill-yellow-500\/10{fill:#eab3081a}.fill-yellow-500\/100{fill:#eab308}.fill-yellow-500\/20{fill:#eab30833}.fill-yellow-500\/25{fill:#eab30840}.fill-yellow-500\/30{fill:#eab3084d}.fill-yellow-500\/40{fill:#eab30866}.fill-yellow-500\/5{fill:#eab3080d}.fill-yellow-500\/50{fill:#eab30880}.fill-yellow-500\/60{fill:#eab30899}.fill-yellow-500\/70{fill:#eab308b3}.fill-yellow-500\/75{fill:#eab308bf}.fill-yellow-500\/80{fill:#eab308cc}.fill-yellow-500\/90{fill:#eab308e6}.fill-yellow-500\/95{fill:#eab308f2}.p-2{padding:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.text-center{text-align:center}.font-\[\'coquette\'\]{font-family:coquette}.font-\[\'lobster\'\]{font-family:lobster}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\[0\.5rem\]{font-size:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-thin{font-weight:100}.italic{font-style:italic}.not-italic{font-style:normal}.leading-4{line-height:1rem}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-500\/0{color:#3b82f600}.text-blue-500\/10{color:#3b82f61a}.text-blue-500\/100{color:#3b82f6}.text-blue-500\/20{color:#3b82f633}.text-blue-500\/25{color:#3b82f640}.text-blue-500\/30{color:#3b82f64d}.text-blue-500\/40{color:#3b82f666}.text-blue-500\/5{color:#3b82f60d}.text-blue-500\/50{color:#3b82f680}.text-blue-500\/60{color:#3b82f699}.text-blue-500\/70{color:#3b82f6b3}.text-blue-500\/75{color:#3b82f6bf}.text-blue-500\/80{color:#3b82f6cc}.text-blue-500\/90{color:#3b82f6e6}.text-blue-500\/95{color:#3b82f6f2}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-500\/0{color:#22c55e00}.text-green-500\/10{color:#22c55e1a}.text-green-500\/100{color:#22c55e}.text-green-500\/20{color:#22c55e33}.text-green-500\/25{color:#22c55e40}.text-green-500\/30{color:#22c55e4d}.text-green-500\/40{color:#22c55e66}.text-green-500\/5{color:#22c55e0d}.text-green-500\/50{color:#22c55e80}.text-green-500\/60{color:#22c55e99}.text-green-500\/70{color:#22c55eb3}.text-green-500\/75{color:#22c55ebf}.text-green-500\/80{color:#22c55ecc}.text-green-500\/90{color:#22c55ee6}.text-green-500\/95{color:#22c55ef2}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-500\/0{color:#f9731600}.text-orange-500\/10{color:#f973161a}.text-orange-500\/100{color:#f97316}.text-orange-500\/20{color:#f9731633}.text-orange-500\/25{color:#f9731640}.text-orange-500\/30{color:#f973164d}.text-orange-500\/40{color:#f9731666}.text-orange-500\/5{color:#f973160d}.text-orange-500\/50{color:#f9731680}.text-orange-500\/60{color:#f9731699}.text-orange-500\/70{color:#f97316b3}.text-orange-500\/75{color:#f97316bf}.text-orange-500\/80{color:#f97316cc}.text-orange-500\/90{color:#f97316e6}.text-orange-500\/95{color:#f97316f2}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-pink-500\/0{color:#ec489900}.text-pink-500\/10{color:#ec48991a}.text-pink-500\/100{color:#ec4899}.text-pink-500\/20{color:#ec489933}.text-pink-500\/25{color:#ec489940}.text-pink-500\/30{color:#ec48994d}.text-pink-500\/40{color:#ec489966}.text-pink-500\/5{color:#ec48990d}.text-pink-500\/50{color:#ec489980}.text-pink-500\/60{color:#ec489999}.text-pink-500\/70{color:#ec4899b3}.text-pink-500\/75{color:#ec4899bf}.text-pink-500\/80{color:#ec4899cc}.text-pink-500\/90{color:#ec4899e6}.text-pink-500\/95{color:#ec4899f2}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-500\/0{color:#a855f700}.text-purple-500\/10{color:#a855f71a}.text-purple-500\/100{color:#a855f7}.text-purple-500\/20{color:#a855f733}.text-purple-500\/25{color:#a855f740}.text-purple-500\/30{color:#a855f74d}.text-purple-500\/40{color:#a855f766}.text-purple-500\/5{color:#a855f70d}.text-purple-500\/50{color:#a855f780}.text-purple-500\/60{color:#a855f799}.text-purple-500\/70{color:#a855f7b3}.text-purple-500\/75{color:#a855f7bf}.text-purple-500\/80{color:#a855f7cc}.text-purple-500\/90{color:#a855f7e6}.text-purple-500\/95{color:#a855f7f2}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-500\/0{color:#ef444400}.text-red-500\/10{color:#ef44441a}.text-red-500\/100{color:#ef4444}.text-red-500\/20{color:#ef444433}.text-red-500\/25{color:#ef444440}.text-red-500\/30{color:#ef44444d}.text-red-500\/40{color:#ef444466}.text-red-500\/5{color:#ef44440d}.text-red-500\/50{color:#ef444480}.text-red-500\/60{color:#ef444499}.text-red-500\/70{color:#ef4444b3}.text-red-500\/75{color:#ef4444bf}.text-red-500\/80{color:#ef4444cc}.text-red-500\/90{color:#ef4444e6}.text-red-500\/95{color:#ef4444f2}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-teal-500\/0{color:#14b8a600}.text-teal-500\/10{color:#14b8a61a}.text-teal-500\/100{color:#14b8a6}.text-teal-500\/20{color:#14b8a633}.text-teal-500\/25{color:#14b8a640}.text-teal-500\/30{color:#14b8a64d}.text-teal-500\/40{color:#14b8a666}.text-teal-500\/5{color:#14b8a60d}.text-teal-500\/50{color:#14b8a680}.text-teal-500\/60{color:#14b8a699}.text-teal-500\/70{color:#14b8a6b3}.text-teal-500\/75{color:#14b8a6bf}.text-teal-500\/80{color:#14b8a6cc}.text-teal-500\/90{color:#14b8a6e6}.text-teal-500\/95{color:#14b8a6f2}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-500\/0{color:#eab30800}.text-yellow-500\/10{color:#eab3081a}.text-yellow-500\/100{color:#eab308}.text-yellow-500\/20{color:#eab30833}.text-yellow-500\/25{color:#eab30840}.text-yellow-500\/30{color:#eab3084d}.text-yellow-500\/40{color:#eab30866}.text-yellow-500\/5{color:#eab3080d}.text-yellow-500\/50{color:#eab30880}.text-yellow-500\/60{color:#eab30899}.text-yellow-500\/70{color:#eab308b3}.text-yellow-500\/75{color:#eab308bf}.text-yellow-500\/80{color:#eab308cc}.text-yellow-500\/90{color:#eab308e6}.text-yellow-500\/95{color:#eab308f2}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.outline-2{outline-width:2px}.outline-blue-500{outline-color:#3b82f6}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur{--tw-blur: blur(8px);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.fade-in{-webkit-animation:fadeIn .3s ease-in-out;animation:fadeIn .3s ease-in-out}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}html,body{scroll-behavior:smooth;margin:0;padding:0;font-family:Raleway,sans-serif;--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}@media (prefers-color-scheme: dark){.dark\:prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}}.first-line\:p-2:first-line{padding:.5rem}.hover\:text-zinc-100:hover{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline-dashed:focus{outline-style:dashed}@media (min-width: 768px){.md\:bottom-12{bottom:3rem}.md\:order-1{order:1}.md\:order-2{order:2}.md\:m-12{margin:3rem}.md\:mx-4{margin-left:1rem;margin-right:1rem}.md\:my-12{margin-top:3rem;margin-bottom:3rem}.md\:mb-0{margin-bottom:0}.md\:mr-2{margin-right:.5rem}.md\:block{display:block}.md\:hidden{display:none}.md\:flex-row{flex-direction:row}.md\:p-12{padding:3rem}.md\:p-4{padding:1rem}.md\:text-xs{font-size:.75rem;line-height:1rem}} +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;-webkit-font-feature-settings:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-8{bottom:2rem}.top-\[-12px\]{top:-12px}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.m-2{margin:.5rem}.m-8{margin:2rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-3{margin-right:.75rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-48{margin-top:12rem}.mt-8{margin-top:2rem}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-2{height:.5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-\[95\%\]{height:95%}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10\/12{width:83.333333%}.w-2{width:.5rem}.w-2\/12{width:16.666667%}.w-4{width:1rem}.w-6{width:1.5rem}.w-6\/12{width:50%}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-fit{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}.max-w-xl{max-width:36rem}.grow{flex-grow:1}.grow-0{flex-grow:0}.origin-bottom-left{-webkit-transform-origin:bottom left;transform-origin:bottom left}.rotate-45{--tw-rotate: 45deg;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}.animate-ping{-webkit-animation:ping 1s cubic-bezier(0,0,.2,1) infinite;animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}.animate-pulse{-webkit-animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.border{border-width:1px}.border-4{border-width:4px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-500\/0{border-color:#3b82f600}.border-blue-500\/10{border-color:#3b82f61a}.border-blue-500\/100{border-color:#3b82f6}.border-blue-500\/20{border-color:#3b82f633}.border-blue-500\/25{border-color:#3b82f640}.border-blue-500\/30{border-color:#3b82f64d}.border-blue-500\/40{border-color:#3b82f666}.border-blue-500\/5{border-color:#3b82f60d}.border-blue-500\/50{border-color:#3b82f680}.border-blue-500\/60{border-color:#3b82f699}.border-blue-500\/70{border-color:#3b82f6b3}.border-blue-500\/75{border-color:#3b82f6bf}.border-blue-500\/80{border-color:#3b82f6cc}.border-blue-500\/90{border-color:#3b82f6e6}.border-blue-500\/95{border-color:#3b82f6f2}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-green-500\/0{border-color:#22c55e00}.border-green-500\/10{border-color:#22c55e1a}.border-green-500\/100{border-color:#22c55e}.border-green-500\/20{border-color:#22c55e33}.border-green-500\/25{border-color:#22c55e40}.border-green-500\/30{border-color:#22c55e4d}.border-green-500\/40{border-color:#22c55e66}.border-green-500\/5{border-color:#22c55e0d}.border-green-500\/50{border-color:#22c55e80}.border-green-500\/60{border-color:#22c55e99}.border-green-500\/70{border-color:#22c55eb3}.border-green-500\/75{border-color:#22c55ebf}.border-green-500\/80{border-color:#22c55ecc}.border-green-500\/90{border-color:#22c55ee6}.border-green-500\/95{border-color:#22c55ef2}.border-orange-500{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-orange-500\/0{border-color:#f9731600}.border-orange-500\/10{border-color:#f973161a}.border-orange-500\/100{border-color:#f97316}.border-orange-500\/20{border-color:#f9731633}.border-orange-500\/25{border-color:#f9731640}.border-orange-500\/30{border-color:#f973164d}.border-orange-500\/40{border-color:#f9731666}.border-orange-500\/5{border-color:#f973160d}.border-orange-500\/50{border-color:#f9731680}.border-orange-500\/60{border-color:#f9731699}.border-orange-500\/70{border-color:#f97316b3}.border-orange-500\/75{border-color:#f97316bf}.border-orange-500\/80{border-color:#f97316cc}.border-orange-500\/90{border-color:#f97316e6}.border-orange-500\/95{border-color:#f97316f2}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-pink-500\/0{border-color:#ec489900}.border-pink-500\/10{border-color:#ec48991a}.border-pink-500\/100{border-color:#ec4899}.border-pink-500\/20{border-color:#ec489933}.border-pink-500\/25{border-color:#ec489940}.border-pink-500\/30{border-color:#ec48994d}.border-pink-500\/40{border-color:#ec489966}.border-pink-500\/5{border-color:#ec48990d}.border-pink-500\/50{border-color:#ec489980}.border-pink-500\/60{border-color:#ec489999}.border-pink-500\/70{border-color:#ec4899b3}.border-pink-500\/75{border-color:#ec4899bf}.border-pink-500\/80{border-color:#ec4899cc}.border-pink-500\/90{border-color:#ec4899e6}.border-pink-500\/95{border-color:#ec4899f2}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-purple-500\/0{border-color:#a855f700}.border-purple-500\/10{border-color:#a855f71a}.border-purple-500\/100{border-color:#a855f7}.border-purple-500\/20{border-color:#a855f733}.border-purple-500\/25{border-color:#a855f740}.border-purple-500\/30{border-color:#a855f74d}.border-purple-500\/40{border-color:#a855f766}.border-purple-500\/5{border-color:#a855f70d}.border-purple-500\/50{border-color:#a855f780}.border-purple-500\/60{border-color:#a855f799}.border-purple-500\/70{border-color:#a855f7b3}.border-purple-500\/75{border-color:#a855f7bf}.border-purple-500\/80{border-color:#a855f7cc}.border-purple-500\/90{border-color:#a855f7e6}.border-purple-500\/95{border-color:#a855f7f2}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-500\/0{border-color:#ef444400}.border-red-500\/10{border-color:#ef44441a}.border-red-500\/100{border-color:#ef4444}.border-red-500\/20{border-color:#ef444433}.border-red-500\/25{border-color:#ef444440}.border-red-500\/30{border-color:#ef44444d}.border-red-500\/40{border-color:#ef444466}.border-red-500\/5{border-color:#ef44440d}.border-red-500\/50{border-color:#ef444480}.border-red-500\/60{border-color:#ef444499}.border-red-500\/70{border-color:#ef4444b3}.border-red-500\/75{border-color:#ef4444bf}.border-red-500\/80{border-color:#ef4444cc}.border-red-500\/90{border-color:#ef4444e6}.border-red-500\/95{border-color:#ef4444f2}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-teal-500\/0{border-color:#14b8a600}.border-teal-500\/10{border-color:#14b8a61a}.border-teal-500\/100{border-color:#14b8a6}.border-teal-500\/20{border-color:#14b8a633}.border-teal-500\/25{border-color:#14b8a640}.border-teal-500\/30{border-color:#14b8a64d}.border-teal-500\/40{border-color:#14b8a666}.border-teal-500\/5{border-color:#14b8a60d}.border-teal-500\/50{border-color:#14b8a680}.border-teal-500\/60{border-color:#14b8a699}.border-teal-500\/70{border-color:#14b8a6b3}.border-teal-500\/75{border-color:#14b8a6bf}.border-teal-500\/80{border-color:#14b8a6cc}.border-teal-500\/90{border-color:#14b8a6e6}.border-teal-500\/95{border-color:#14b8a6f2}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-yellow-500\/0{border-color:#eab30800}.border-yellow-500\/10{border-color:#eab3081a}.border-yellow-500\/100{border-color:#eab308}.border-yellow-500\/20{border-color:#eab30833}.border-yellow-500\/25{border-color:#eab30840}.border-yellow-500\/30{border-color:#eab3084d}.border-yellow-500\/40{border-color:#eab30866}.border-yellow-500\/5{border-color:#eab3080d}.border-yellow-500\/50{border-color:#eab30880}.border-yellow-500\/60{border-color:#eab30899}.border-yellow-500\/70{border-color:#eab308b3}.border-yellow-500\/75{border-color:#eab308bf}.border-yellow-500\/80{border-color:#eab308cc}.border-yellow-500\/90{border-color:#eab308e6}.border-yellow-500\/95{border-color:#eab308f2}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-500\/0{background-color:#3b82f600}.bg-blue-500\/10{background-color:#3b82f61a}.bg-blue-500\/100{background-color:#3b82f6}.bg-blue-500\/20{background-color:#3b82f633}.bg-blue-500\/25{background-color:#3b82f640}.bg-blue-500\/30{background-color:#3b82f64d}.bg-blue-500\/40{background-color:#3b82f666}.bg-blue-500\/5{background-color:#3b82f60d}.bg-blue-500\/50{background-color:#3b82f680}.bg-blue-500\/60{background-color:#3b82f699}.bg-blue-500\/70{background-color:#3b82f6b3}.bg-blue-500\/75{background-color:#3b82f6bf}.bg-blue-500\/80{background-color:#3b82f6cc}.bg-blue-500\/90{background-color:#3b82f6e6}.bg-blue-500\/95{background-color:#3b82f6f2}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-500\/0{background-color:#22c55e00}.bg-green-500\/10{background-color:#22c55e1a}.bg-green-500\/100{background-color:#22c55e}.bg-green-500\/20{background-color:#22c55e33}.bg-green-500\/25{background-color:#22c55e40}.bg-green-500\/30{background-color:#22c55e4d}.bg-green-500\/40{background-color:#22c55e66}.bg-green-500\/5{background-color:#22c55e0d}.bg-green-500\/50{background-color:#22c55e80}.bg-green-500\/60{background-color:#22c55e99}.bg-green-500\/70{background-color:#22c55eb3}.bg-green-500\/75{background-color:#22c55ebf}.bg-green-500\/80{background-color:#22c55ecc}.bg-green-500\/90{background-color:#22c55ee6}.bg-green-500\/95{background-color:#22c55ef2}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-orange-500\/0{background-color:#f9731600}.bg-orange-500\/10{background-color:#f973161a}.bg-orange-500\/100{background-color:#f97316}.bg-orange-500\/20{background-color:#f9731633}.bg-orange-500\/25{background-color:#f9731640}.bg-orange-500\/30{background-color:#f973164d}.bg-orange-500\/40{background-color:#f9731666}.bg-orange-500\/5{background-color:#f973160d}.bg-orange-500\/50{background-color:#f9731680}.bg-orange-500\/60{background-color:#f9731699}.bg-orange-500\/70{background-color:#f97316b3}.bg-orange-500\/75{background-color:#f97316bf}.bg-orange-500\/80{background-color:#f97316cc}.bg-orange-500\/90{background-color:#f97316e6}.bg-orange-500\/95{background-color:#f97316f2}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.bg-pink-500\/0{background-color:#ec489900}.bg-pink-500\/10{background-color:#ec48991a}.bg-pink-500\/100{background-color:#ec4899}.bg-pink-500\/20{background-color:#ec489933}.bg-pink-500\/25{background-color:#ec489940}.bg-pink-500\/30{background-color:#ec48994d}.bg-pink-500\/40{background-color:#ec489966}.bg-pink-500\/5{background-color:#ec48990d}.bg-pink-500\/50{background-color:#ec489980}.bg-pink-500\/60{background-color:#ec489999}.bg-pink-500\/70{background-color:#ec4899b3}.bg-pink-500\/75{background-color:#ec4899bf}.bg-pink-500\/80{background-color:#ec4899cc}.bg-pink-500\/90{background-color:#ec4899e6}.bg-pink-500\/95{background-color:#ec4899f2}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.bg-purple-500\/0{background-color:#a855f700}.bg-purple-500\/10{background-color:#a855f71a}.bg-purple-500\/100{background-color:#a855f7}.bg-purple-500\/20{background-color:#a855f733}.bg-purple-500\/25{background-color:#a855f740}.bg-purple-500\/30{background-color:#a855f74d}.bg-purple-500\/40{background-color:#a855f766}.bg-purple-500\/5{background-color:#a855f70d}.bg-purple-500\/50{background-color:#a855f780}.bg-purple-500\/60{background-color:#a855f799}.bg-purple-500\/70{background-color:#a855f7b3}.bg-purple-500\/75{background-color:#a855f7bf}.bg-purple-500\/80{background-color:#a855f7cc}.bg-purple-500\/90{background-color:#a855f7e6}.bg-purple-500\/95{background-color:#a855f7f2}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-500\/0{background-color:#ef444400}.bg-red-500\/10{background-color:#ef44441a}.bg-red-500\/100{background-color:#ef4444}.bg-red-500\/20{background-color:#ef444433}.bg-red-500\/25{background-color:#ef444440}.bg-red-500\/30{background-color:#ef44444d}.bg-red-500\/40{background-color:#ef444466}.bg-red-500\/5{background-color:#ef44440d}.bg-red-500\/50{background-color:#ef444480}.bg-red-500\/60{background-color:#ef444499}.bg-red-500\/70{background-color:#ef4444b3}.bg-red-500\/75{background-color:#ef4444bf}.bg-red-500\/80{background-color:#ef4444cc}.bg-red-500\/90{background-color:#ef4444e6}.bg-red-500\/95{background-color:#ef4444f2}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.bg-teal-500\/0{background-color:#14b8a600}.bg-teal-500\/10{background-color:#14b8a61a}.bg-teal-500\/100{background-color:#14b8a6}.bg-teal-500\/20{background-color:#14b8a633}.bg-teal-500\/25{background-color:#14b8a640}.bg-teal-500\/30{background-color:#14b8a64d}.bg-teal-500\/40{background-color:#14b8a666}.bg-teal-500\/5{background-color:#14b8a60d}.bg-teal-500\/50{background-color:#14b8a680}.bg-teal-500\/60{background-color:#14b8a699}.bg-teal-500\/70{background-color:#14b8a6b3}.bg-teal-500\/75{background-color:#14b8a6bf}.bg-teal-500\/80{background-color:#14b8a6cc}.bg-teal-500\/90{background-color:#14b8a6e6}.bg-teal-500\/95{background-color:#14b8a6f2}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-yellow-500\/0{background-color:#eab30800}.bg-yellow-500\/10{background-color:#eab3081a}.bg-yellow-500\/100{background-color:#eab308}.bg-yellow-500\/20{background-color:#eab30833}.bg-yellow-500\/25{background-color:#eab30840}.bg-yellow-500\/30{background-color:#eab3084d}.bg-yellow-500\/40{background-color:#eab30866}.bg-yellow-500\/5{background-color:#eab3080d}.bg-yellow-500\/50{background-color:#eab30880}.bg-yellow-500\/60{background-color:#eab30899}.bg-yellow-500\/70{background-color:#eab308b3}.bg-yellow-500\/75{background-color:#eab308bf}.bg-yellow-500\/80{background-color:#eab308cc}.bg-yellow-500\/90{background-color:#eab308e6}.bg-yellow-500\/95{background-color:#eab308f2}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.bg-zinc-600{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.fill-blue-500{fill:#3b82f6}.fill-blue-500\/0{fill:#3b82f600}.fill-blue-500\/10{fill:#3b82f61a}.fill-blue-500\/100{fill:#3b82f6}.fill-blue-500\/20{fill:#3b82f633}.fill-blue-500\/25{fill:#3b82f640}.fill-blue-500\/30{fill:#3b82f64d}.fill-blue-500\/40{fill:#3b82f666}.fill-blue-500\/5{fill:#3b82f60d}.fill-blue-500\/50{fill:#3b82f680}.fill-blue-500\/60{fill:#3b82f699}.fill-blue-500\/70{fill:#3b82f6b3}.fill-blue-500\/75{fill:#3b82f6bf}.fill-blue-500\/80{fill:#3b82f6cc}.fill-blue-500\/90{fill:#3b82f6e6}.fill-blue-500\/95{fill:#3b82f6f2}.fill-green-500{fill:#22c55e}.fill-green-500\/0{fill:#22c55e00}.fill-green-500\/10{fill:#22c55e1a}.fill-green-500\/100{fill:#22c55e}.fill-green-500\/20{fill:#22c55e33}.fill-green-500\/25{fill:#22c55e40}.fill-green-500\/30{fill:#22c55e4d}.fill-green-500\/40{fill:#22c55e66}.fill-green-500\/5{fill:#22c55e0d}.fill-green-500\/50{fill:#22c55e80}.fill-green-500\/60{fill:#22c55e99}.fill-green-500\/70{fill:#22c55eb3}.fill-green-500\/75{fill:#22c55ebf}.fill-green-500\/80{fill:#22c55ecc}.fill-green-500\/90{fill:#22c55ee6}.fill-green-500\/95{fill:#22c55ef2}.fill-orange-500{fill:#f97316}.fill-orange-500\/0{fill:#f9731600}.fill-orange-500\/10{fill:#f973161a}.fill-orange-500\/100{fill:#f97316}.fill-orange-500\/20{fill:#f9731633}.fill-orange-500\/25{fill:#f9731640}.fill-orange-500\/30{fill:#f973164d}.fill-orange-500\/40{fill:#f9731666}.fill-orange-500\/5{fill:#f973160d}.fill-orange-500\/50{fill:#f9731680}.fill-orange-500\/60{fill:#f9731699}.fill-orange-500\/70{fill:#f97316b3}.fill-orange-500\/75{fill:#f97316bf}.fill-orange-500\/80{fill:#f97316cc}.fill-orange-500\/90{fill:#f97316e6}.fill-orange-500\/95{fill:#f97316f2}.fill-pink-500{fill:#ec4899}.fill-pink-500\/0{fill:#ec489900}.fill-pink-500\/10{fill:#ec48991a}.fill-pink-500\/100{fill:#ec4899}.fill-pink-500\/20{fill:#ec489933}.fill-pink-500\/25{fill:#ec489940}.fill-pink-500\/30{fill:#ec48994d}.fill-pink-500\/40{fill:#ec489966}.fill-pink-500\/5{fill:#ec48990d}.fill-pink-500\/50{fill:#ec489980}.fill-pink-500\/60{fill:#ec489999}.fill-pink-500\/70{fill:#ec4899b3}.fill-pink-500\/75{fill:#ec4899bf}.fill-pink-500\/80{fill:#ec4899cc}.fill-pink-500\/90{fill:#ec4899e6}.fill-pink-500\/95{fill:#ec4899f2}.fill-purple-500{fill:#a855f7}.fill-purple-500\/0{fill:#a855f700}.fill-purple-500\/10{fill:#a855f71a}.fill-purple-500\/100{fill:#a855f7}.fill-purple-500\/20{fill:#a855f733}.fill-purple-500\/25{fill:#a855f740}.fill-purple-500\/30{fill:#a855f74d}.fill-purple-500\/40{fill:#a855f766}.fill-purple-500\/5{fill:#a855f70d}.fill-purple-500\/50{fill:#a855f780}.fill-purple-500\/60{fill:#a855f799}.fill-purple-500\/70{fill:#a855f7b3}.fill-purple-500\/75{fill:#a855f7bf}.fill-purple-500\/80{fill:#a855f7cc}.fill-purple-500\/90{fill:#a855f7e6}.fill-purple-500\/95{fill:#a855f7f2}.fill-red-500{fill:#ef4444}.fill-red-500\/0{fill:#ef444400}.fill-red-500\/10{fill:#ef44441a}.fill-red-500\/100{fill:#ef4444}.fill-red-500\/20{fill:#ef444433}.fill-red-500\/25{fill:#ef444440}.fill-red-500\/30{fill:#ef44444d}.fill-red-500\/40{fill:#ef444466}.fill-red-500\/5{fill:#ef44440d}.fill-red-500\/50{fill:#ef444480}.fill-red-500\/60{fill:#ef444499}.fill-red-500\/70{fill:#ef4444b3}.fill-red-500\/75{fill:#ef4444bf}.fill-red-500\/80{fill:#ef4444cc}.fill-red-500\/90{fill:#ef4444e6}.fill-red-500\/95{fill:#ef4444f2}.fill-teal-500{fill:#14b8a6}.fill-teal-500\/0{fill:#14b8a600}.fill-teal-500\/10{fill:#14b8a61a}.fill-teal-500\/100{fill:#14b8a6}.fill-teal-500\/20{fill:#14b8a633}.fill-teal-500\/25{fill:#14b8a640}.fill-teal-500\/30{fill:#14b8a64d}.fill-teal-500\/40{fill:#14b8a666}.fill-teal-500\/5{fill:#14b8a60d}.fill-teal-500\/50{fill:#14b8a680}.fill-teal-500\/60{fill:#14b8a699}.fill-teal-500\/70{fill:#14b8a6b3}.fill-teal-500\/75{fill:#14b8a6bf}.fill-teal-500\/80{fill:#14b8a6cc}.fill-teal-500\/90{fill:#14b8a6e6}.fill-teal-500\/95{fill:#14b8a6f2}.fill-yellow-500{fill:#eab308}.fill-yellow-500\/0{fill:#eab30800}.fill-yellow-500\/10{fill:#eab3081a}.fill-yellow-500\/100{fill:#eab308}.fill-yellow-500\/20{fill:#eab30833}.fill-yellow-500\/25{fill:#eab30840}.fill-yellow-500\/30{fill:#eab3084d}.fill-yellow-500\/40{fill:#eab30866}.fill-yellow-500\/5{fill:#eab3080d}.fill-yellow-500\/50{fill:#eab30880}.fill-yellow-500\/60{fill:#eab30899}.fill-yellow-500\/70{fill:#eab308b3}.fill-yellow-500\/75{fill:#eab308bf}.fill-yellow-500\/80{fill:#eab308cc}.fill-yellow-500\/90{fill:#eab308e6}.fill-yellow-500\/95{fill:#eab308f2}.p-2{padding:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.text-center{text-align:center}.font-\[\'coquette\'\]{font-family:coquette}.font-\[\'lobster\'\]{font-family:lobster}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-\[0\.5rem\]{font-size:.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-thin{font-weight:100}.italic{font-style:italic}.not-italic{font-style:normal}.leading-4{line-height:1rem}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-500\/0{color:#3b82f600}.text-blue-500\/10{color:#3b82f61a}.text-blue-500\/100{color:#3b82f6}.text-blue-500\/20{color:#3b82f633}.text-blue-500\/25{color:#3b82f640}.text-blue-500\/30{color:#3b82f64d}.text-blue-500\/40{color:#3b82f666}.text-blue-500\/5{color:#3b82f60d}.text-blue-500\/50{color:#3b82f680}.text-blue-500\/60{color:#3b82f699}.text-blue-500\/70{color:#3b82f6b3}.text-blue-500\/75{color:#3b82f6bf}.text-blue-500\/80{color:#3b82f6cc}.text-blue-500\/90{color:#3b82f6e6}.text-blue-500\/95{color:#3b82f6f2}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-500\/0{color:#22c55e00}.text-green-500\/10{color:#22c55e1a}.text-green-500\/100{color:#22c55e}.text-green-500\/20{color:#22c55e33}.text-green-500\/25{color:#22c55e40}.text-green-500\/30{color:#22c55e4d}.text-green-500\/40{color:#22c55e66}.text-green-500\/5{color:#22c55e0d}.text-green-500\/50{color:#22c55e80}.text-green-500\/60{color:#22c55e99}.text-green-500\/70{color:#22c55eb3}.text-green-500\/75{color:#22c55ebf}.text-green-500\/80{color:#22c55ecc}.text-green-500\/90{color:#22c55ee6}.text-green-500\/95{color:#22c55ef2}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-500\/0{color:#f9731600}.text-orange-500\/10{color:#f973161a}.text-orange-500\/100{color:#f97316}.text-orange-500\/20{color:#f9731633}.text-orange-500\/25{color:#f9731640}.text-orange-500\/30{color:#f973164d}.text-orange-500\/40{color:#f9731666}.text-orange-500\/5{color:#f973160d}.text-orange-500\/50{color:#f9731680}.text-orange-500\/60{color:#f9731699}.text-orange-500\/70{color:#f97316b3}.text-orange-500\/75{color:#f97316bf}.text-orange-500\/80{color:#f97316cc}.text-orange-500\/90{color:#f97316e6}.text-orange-500\/95{color:#f97316f2}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-pink-500\/0{color:#ec489900}.text-pink-500\/10{color:#ec48991a}.text-pink-500\/100{color:#ec4899}.text-pink-500\/20{color:#ec489933}.text-pink-500\/25{color:#ec489940}.text-pink-500\/30{color:#ec48994d}.text-pink-500\/40{color:#ec489966}.text-pink-500\/5{color:#ec48990d}.text-pink-500\/50{color:#ec489980}.text-pink-500\/60{color:#ec489999}.text-pink-500\/70{color:#ec4899b3}.text-pink-500\/75{color:#ec4899bf}.text-pink-500\/80{color:#ec4899cc}.text-pink-500\/90{color:#ec4899e6}.text-pink-500\/95{color:#ec4899f2}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-500\/0{color:#a855f700}.text-purple-500\/10{color:#a855f71a}.text-purple-500\/100{color:#a855f7}.text-purple-500\/20{color:#a855f733}.text-purple-500\/25{color:#a855f740}.text-purple-500\/30{color:#a855f74d}.text-purple-500\/40{color:#a855f766}.text-purple-500\/5{color:#a855f70d}.text-purple-500\/50{color:#a855f780}.text-purple-500\/60{color:#a855f799}.text-purple-500\/70{color:#a855f7b3}.text-purple-500\/75{color:#a855f7bf}.text-purple-500\/80{color:#a855f7cc}.text-purple-500\/90{color:#a855f7e6}.text-purple-500\/95{color:#a855f7f2}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-500\/0{color:#ef444400}.text-red-500\/10{color:#ef44441a}.text-red-500\/100{color:#ef4444}.text-red-500\/20{color:#ef444433}.text-red-500\/25{color:#ef444440}.text-red-500\/30{color:#ef44444d}.text-red-500\/40{color:#ef444466}.text-red-500\/5{color:#ef44440d}.text-red-500\/50{color:#ef444480}.text-red-500\/60{color:#ef444499}.text-red-500\/70{color:#ef4444b3}.text-red-500\/75{color:#ef4444bf}.text-red-500\/80{color:#ef4444cc}.text-red-500\/90{color:#ef4444e6}.text-red-500\/95{color:#ef4444f2}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-teal-500\/0{color:#14b8a600}.text-teal-500\/10{color:#14b8a61a}.text-teal-500\/100{color:#14b8a6}.text-teal-500\/20{color:#14b8a633}.text-teal-500\/25{color:#14b8a640}.text-teal-500\/30{color:#14b8a64d}.text-teal-500\/40{color:#14b8a666}.text-teal-500\/5{color:#14b8a60d}.text-teal-500\/50{color:#14b8a680}.text-teal-500\/60{color:#14b8a699}.text-teal-500\/70{color:#14b8a6b3}.text-teal-500\/75{color:#14b8a6bf}.text-teal-500\/80{color:#14b8a6cc}.text-teal-500\/90{color:#14b8a6e6}.text-teal-500\/95{color:#14b8a6f2}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-500\/0{color:#eab30800}.text-yellow-500\/10{color:#eab3081a}.text-yellow-500\/100{color:#eab308}.text-yellow-500\/20{color:#eab30833}.text-yellow-500\/25{color:#eab30840}.text-yellow-500\/30{color:#eab3084d}.text-yellow-500\/40{color:#eab30866}.text-yellow-500\/5{color:#eab3080d}.text-yellow-500\/50{color:#eab30880}.text-yellow-500\/60{color:#eab30899}.text-yellow-500\/70{color:#eab308b3}.text-yellow-500\/75{color:#eab308bf}.text-yellow-500\/80{color:#eab308cc}.text-yellow-500\/90{color:#eab308e6}.text-yellow-500\/95{color:#eab308f2}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.outline-2{outline-width:2px}.outline-blue-500{outline-color:#3b82f6}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur{--tw-blur: blur(8px);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.fade-in{-webkit-animation:fadeIn .3s ease-in-out;animation:fadeIn .3s ease-in-out}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}html,body{scroll-behavior:smooth;margin:0;padding:0;font-family:Raleway,sans-serif;--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}@media (prefers-color-scheme: dark){.dark\:prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}}.first-line\:p-2:first-line{padding:.5rem}.hover\:text-zinc-100:hover{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.hover\:text-zinc-800:hover{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline-dashed:focus{outline-style:dashed}@media (min-width: 768px){.md\:bottom-12{bottom:3rem}.md\:order-1{order:1}.md\:order-2{order:2}.md\:m-12{margin:3rem}.md\:mx-4{margin-left:1rem;margin-right:1rem}.md\:my-12{margin-top:3rem;margin-bottom:3rem}.md\:mb-0{margin-bottom:0}.md\:mr-2{margin-right:.5rem}.md\:block{display:block}.md\:hidden{display:none}.md\:flex-row{flex-direction:row}.md\:p-12{padding:3rem}.md\:p-4{padding:1rem}.md\:text-xs{font-size:.75rem;line-height:1rem}} diff --git a/package-lock.json b/package-lock.json index e867ea4..8aefedf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@quibbble/boardgame", - "version": "1.2.3", + "version": "1.2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@quibbble/boardgame", - "version": "1.2.3", + "version": "1.2.4", "license": "MIT", "devDependencies": { "@tailwindcss/typography": "^0.5.10", @@ -1134,12 +1134,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -1550,9 +1550,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -1562,9 +1562,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true, "funding": [ { @@ -8071,9 +8071,9 @@ } }, "node_modules/vite": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.1.tgz", - "integrity": "sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==", + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.3.tgz", + "integrity": "sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==", "dev": true, "dependencies": { "esbuild": "^0.18.10", diff --git a/package.json b/package.json index 0fb6c62..e562d3f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@quibbble/boardgame", "private": false, - "version": "1.2.3", + "version": "1.2.4", "description": "React component library for Quibbble boardgames.", "main": "dist/index.umd.js", "module": "dist/index.mjs", diff --git a/src/components/Banner.jsx b/src/components/Banner.jsx new file mode 100644 index 0000000..2e5f5b8 --- /dev/null +++ b/src/components/Banner.jsx @@ -0,0 +1,18 @@ +import React from "react"; + +const Link = ({ href, title, className }) => ( + + { title } + +) + + +export function Banner() { + return ( +
+
+ We're moving! Check out the new look out at  . +
+
+ ) +} diff --git a/src/components/HomePage/HomePage.jsx b/src/components/HomePage/HomePage.jsx index 0299560..d95a8b6 100644 --- a/src/components/HomePage/HomePage.jsx +++ b/src/components/HomePage/HomePage.jsx @@ -5,6 +5,7 @@ import { NumToText } from "../../util/util"; import { useNavigate } from "react-router-dom"; import { CreateGame, Health } from "../../api/API"; import { Footer } from "../Footer" +import { Banner } from "../Banner"; export function HomePage(props) { @@ -35,32 +36,37 @@ export function HomePage(props) { } return (
+ +
+ +
+
-
+
Play { config.minTeams === config.maxTeams ? `${ NumToText[config.minTeams] }` : `${ NumToText[config.minTeams] } to ${ NumToText[config.maxTeams] }`} player { config.key } online against friends. To create a game or join an existing one, enter a game ID and click 'Go'.
-
- setGameID(e.target.value) }/> - + + setGameID(e.target.value) }/> +
-
+
- - more quibbble games + more quibbble games
-
+
{ options.Variant ? <>
VARIANT
- setOptions(options => ({...options, ...{Variant: e.target.value.replace(/\s/g, "")}})) }> { config.variants.map(el => ) } : null @@ -68,7 +74,7 @@ export function HomePage(props) { { config.minTeams !== config.maxTeams ? <>
PLAYERS
- setTeams(parseInt(e.target.value)) }> { Array(config.maxTeams - config.minTeams + 1).fill().map((_, idx) => config.minTeams + idx).map(el => ) } : null