var V5 = Object.create; var wi = Object.defineProperty; var z5 = Object.getOwnPropertyDescriptor; var G5 = Object.getOwnPropertyNames; var W5 = Object.getPrototypeOf, Y5 = Object.prototype.hasOwnProperty; var o = (e, t) => wi(e, "name", { value: t, configurable: !0 }), Si = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (t, r) => (typeof require < "u" ? require : t)[r] }) : e)(function(e) { if (typeof require < "u") return require.apply(this, arguments); throw Error('Dynamic require of "' + e + '" is not supported'); }); var K5 = (e, t) => () => (e && (t = e(e = 0)), t); var y = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), st = (e, t) => { for (var r in t) wi(e, r, { get: t[r], enumerable: !0 }); }, pT = (e, t, r, n) => { if (t && typeof t == "object" || typeof t == "function") for (let i of G5(t)) !Y5.call(e, i) && i !== r && wi(e, i, { get: () => t[i], enumerable: !(n = z5(t, i)) || n.enumerable }); return e; }; var Ne = (e, t, r) => (r = e != null ? V5(W5(e)) : {}, pT( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. t || !e || !e.__esModule ? wi(r, "default", { value: e, enumerable: !0 }) : r, e )), X5 = (e) => pT(wi({}, "__esModule", { value: !0 }), e); // ../node_modules/memoizerific/memoizerific.js var Eg = y((O_, vg) => { (function(e) { if (typeof O_ == "object" && typeof vg < "u") vg.exports = e(); else if (typeof define == "function" && define.amd) define([], e); else { var t; typeof window < "u" ? t = window : typeof global < "u" ? t = global : typeof self < "u" ? t = self : t = this, t.memoizerific = e(); } })(function() { var e, t, r; return (/* @__PURE__ */ o(function n(i, s, a) { function l(d, p) { if (!s[d]) { if (!i[d]) { var f = typeof Si == "function" && Si; if (!p && f) return f(d, !0); if (u) return u(d, !0); var m = new Error("Cannot find module '" + d + "'"); throw m.code = "MODULE_NOT_FOUND", m; } var h = s[d] = { exports: {} }; i[d][0].call(h.exports, function(b) { var v = i[d][1][b]; return l(v || b); }, h, h.exports, n, i, s, a); } return s[d].exports; } o(l, "s"); for (var u = typeof Si == "function" && Si, c = 0; c < a.length; c++) l(a[c]); return l; }, "e"))({ 1: [function(n, i, s) { i.exports = function(a) { if (typeof Map != "function" || a) { var l = n("./similar"); return new l(); } else return /* @__PURE__ */ new Map(); }; }, { "./similar": 2 }], 2: [function(n, i, s) { function a() { return this.list = [], this.lastItem = void 0, this.size = 0, this; } o(a, "Similar"), a.prototype.get = function(l) { var u; if (this.lastItem && this.isEqual(this.lastItem.key, l)) return this.lastItem.val; if (u = this.indexOf(l), u >= 0) return this.lastItem = this.list[u], this.list[u].val; }, a.prototype.set = function(l, u) { var c; return this.lastItem && this.isEqual(this.lastItem.key, l) ? (this.lastItem.val = u, this) : (c = this.indexOf(l), c >= 0 ? (this.lastItem = this.list[c], this.list[c].val = u, this) : (this.lastItem = { key: l, val: u }, this.list.push(this.lastItem), this.size++, this)); }, a.prototype.delete = function(l) { var u; if (this.lastItem && this.isEqual(this.lastItem.key, l) && (this.lastItem = void 0), u = this.indexOf(l), u >= 0) return this.size--, this.list.splice(u, 1)[0]; }, a.prototype.has = function(l) { var u; return this.lastItem && this.isEqual(this.lastItem.key, l) ? !0 : (u = this.indexOf(l), u >= 0 ? (this.lastItem = this.list[u], !0) : !1); }, a.prototype.forEach = function(l, u) { var c; for (c = 0; c < this.size; c++) l.call(u || this, this.list[c].val, this.list[c].key, this); }, a.prototype.indexOf = function(l) { var u; for (u = 0; u < this.size; u++) if (this.isEqual(this.list[u].key, l)) return u; return -1; }, a.prototype.isEqual = function(l, u) { return l === u || l !== l && u !== u; }, i.exports = a; }, {}], 3: [function(n, i, s) { var a = n("map-or-similar"); i.exports = function(d) { var p = new a(!1), f = []; return function(m) { var h = /* @__PURE__ */ o(function() { var b = p, v, g, w = arguments.length - 1, E = Array(w + 1), R = !0, T; if ((h.numArgs || h.numArgs === 0) && h.numArgs !== w + 1) throw new Error("Memoizerific functions should always be called with the same number of arguments"); for (T = 0; T < w; T++) { if (E[T] = { cacheItem: b, arg: arguments[T] }, b.has(arguments[T])) { b = b.get(arguments[T]); continue; } R = !1, v = new a(!1), b.set(arguments[T], v), b = v; } return R && (b.has(arguments[w]) ? g = b.get(arguments[w]) : R = !1), R || (g = m.apply(null, arguments), b.set(arguments[w], g)), d > 0 && (E[w] = { cacheItem: b, arg: arguments[w] }, R ? l(f, E) : f.push(E), f.length > d && u(f.shift())), h.wasMemoized = R, h.numArgs = w + 1, g; }, "memoizerific"); return h.limit = d, h.wasMemoized = !1, h.cache = p, h.lru = f, h; }; }; function l(d, p) { var f = d.length, m = p.length, h, b, v; for (b = 0; b < f; b++) { for (h = !0, v = 0; v < m; v++) if (!c(d[b][v].arg, p[v].arg)) { h = !1; break; } if (h) break; } d.push(d.splice(b, 1)[0]); } o(l, "moveToMostRecentLru"); function u(d) { var p = d.length, f = d[p - 1], m, h; for (f.cacheItem.delete(f.arg), h = p - 2; h >= 0 && (f = d[h], m = f.cacheItem.get(f.arg), !m || !m.size); h--) f.cacheItem.delete(f.arg); } o(u, "removeCachedResult"); function c(d, p) { return d === p || d !== d && p !== p; } o(c, "isEqual"); }, { "map-or-similar": 1 }] }, {}, [3])(3); }); }); // ../node_modules/min-indent/index.js var t0 = y((X_e, e0) => { "use strict"; e0.exports = (e) => { let t = e.match(/^[ \t]*(?=\S)/gm); return t ? t.reduce((r, n) => Math.min(r, n.length), 1 / 0) : 0; }; }); // ../node_modules/strip-indent/index.js var n0 = y((J_e, r0) => { "use strict"; var QW = t0(); r0.exports = (e) => { let t = QW(e); if (t === 0) return e; let r = new RegExp(`^[ \\t]{${t}}`, "gm"); return e.replace(r, ""); }; }); // ../node_modules/indent-string/index.js var i0 = y((Q_e, o0) => { "use strict"; o0.exports = (e, t = 1, r) => { if (r = { indent: " ", includeEmptyLines: !1, ...r }, typeof e != "string") throw new TypeError( `Expected \`input\` to be a \`string\`, got \`${typeof e}\`` ); if (typeof t != "number") throw new TypeError( `Expected \`count\` to be a \`number\`, got \`${typeof t}\`` ); if (typeof r.indent != "string") throw new TypeError( `Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\`` ); if (t === 0) return e; let n = r.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm; return e.replace(n, r.indent.repeat(t)); }; }); // ../node_modules/redent/index.js var sE = y((Z_e, s0) => { "use strict"; var ZW = n0(), e8 = i0(); s0.exports = (e, t = 0, r) => e8(ZW(e), t, r); }); // ../node_modules/aria-query/lib/util/iteratorProxy.js var M0 = y((zl) => { "use strict"; Object.defineProperty(zl, "__esModule", { value: !0 }); zl.default = void 0; function j8() { var e = this, t = 0, r = { "@@iterator": /* @__PURE__ */ o(function() { return r; }, "iterator"), next: /* @__PURE__ */ o(function() { if (t < e.length) { var i = e[t]; return t = t + 1, { done: !1, value: i }; } else return { done: !0 }; }, "next") }; return r; } o(j8, "iteratorProxy"); var FCe = zl.default = j8; }); // ../node_modules/aria-query/lib/util/iterationDecorator.js var Oo = y((yE) => { "use strict"; Object.defineProperty(yE, "__esModule", { value: !0 }); yE.default = F8; var k8 = L8(M0()); function L8(e) { return e && e.__esModule ? e : { default: e }; } o(L8, "_interopRequireDefault"); function hE(e) { "@babel/helpers - typeof"; return hE = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, hE(e); } o(hE, "_typeof"); function F8(e, t) { return typeof Symbol == "function" && hE(Symbol.iterator) === "symbol" && Object.defineProperty(e, Symbol.iterator, { value: k8.default.bind(t) }), e; } o(F8, "iterationDecorator"); }); // ../node_modules/aria-query/lib/ariaPropsMap.js var j0 = y((Gl) => { "use strict"; Object.defineProperty(Gl, "__esModule", { value: !0 }); Gl.default = void 0; var D8 = $8(Oo()); function $8(e) { return e && e.__esModule ? e : { default: e }; } o($8, "_interopRequireDefault"); function bE(e, t) { return V8(e) || H8(e, t) || U8(e, t) || B8(); } o(bE, "_slicedToArray"); function B8() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(B8, "_nonIterableRest"); function U8(e, t) { if (e) { if (typeof e == "string") return N0(e, t); var r = {}.toString.call(e).slice(8, -1); return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/. test(r) ? N0(e, t) : void 0; } } o(U8, "_unsupportedIterableToArray"); function N0(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r]; return n; } o(N0, "_arrayLikeToArray"); function H8(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n, i, s, a, l = [], u = !0, c = !1; try { if (s = (r = r.call(e)).next, t === 0) { if (Object(r) !== r) return; u = !1; } else for (; !(u = (n = s.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ; } catch (d) { c = !0, i = d; } finally { try { if (!u && r.return != null && (a = r.return(), Object(a) !== a)) return; } finally { if (c) throw i; } } return l; } } o(H8, "_iterableToArrayLimit"); function V8(e) { if (Array.isArray(e)) return e; } o(V8, "_arrayWithHoles"); var qo = [["aria-activedescendant", { type: "id" }], ["aria-atomic", { type: "boolean" }], ["aria-autocomplete", { type: "token", values: ["inline", "list", "both", "none"] }], ["aria-braillelabel", { type: "string" }], ["aria-brailleroledescription", { type: "string" }], ["aria-busy", { type: "boolean" }], ["aria-checked", { type: "tristate" }], ["aria-colcount", { type: "integer" }], ["aria-colindex", { type: "integer" }], ["aria-colspan", { type: "integer" }], ["aria-controls", { type: "idlist" }], ["aria-current", { type: "token", values: ["page", "step", "location", "date", "time", !0, !1] }], ["aria-describedby", { type: "idlist" }], ["aria-description", { type: "string" }], ["aria-details", { type: "id" }], ["aria-disabled", { type: "boolean" }], ["aria-dropeffect", { type: "tokenlist", values: ["copy", "execute", "link", "move", "none", "popup"] }], ["aria-errormessage", { type: "id" }], ["aria-expanded", { type: "boolean", allowundefined: !0 }], ["aria-flowto", { type: "idlist" }], ["aria-grabbed", { type: "boolean", allowundefined: !0 }], ["aria-haspopup", { type: "token", values: [!1, !0, "menu", "listbox", "tree", "grid", "dialog"] }], ["aria-hidden", { type: "boolean", allowundefined: !0 }], ["aria-invalid", { type: "token", values: ["grammar", !1, "spelling", !0] }], ["aria-keyshortcuts", { type: "string" }], ["aria-label", { type: "string" }], ["aria-labelledby", { type: "idlist" }], ["aria-level", { type: "integer" }], ["aria-live", { type: "token", values: ["assertive", "off", "polite"] }], ["aria-modal", { type: "boolean" }], ["aria-multiline", { type: "boolean" }], ["aria-multiselectable", { type: "boolean" }], ["aria-orientation", { type: "token", values: ["vertical", "undefined", "horizontal"] }], ["aria-owns", { type: "idlist" }], ["aria-placeholder", { type: "string" }], ["aria-posinset", { type: "integer" }], ["aria-pressed", { type: "tristate" }], ["aria-readonly", { type: "boolean" }], ["aria-relevant", { type: "tokenlist", values: ["additions", "all", "removals", "text"] }], ["aria-required", { type: "boolean" }], ["aria-roledescription", { type: "string" }], ["aria-rowcount", { type: "integer" }], ["aria-rowindex", { type: "integer" }], ["aria-rowspan", { type: "integer" }], ["aria-selected", { type: "boolean", allowundefined: !0 }], ["aria-setsize", { type: "integer" }], ["aria-sort", { type: "token", values: ["ascending", "descending", "none", "other"] }], ["aria-valuemax", { type: "number" }], ["aria-valuemin", { type: "number" }], ["aria-valuenow", { type: "number" }], ["aria-valuetext", { type: "string" }]], gE = { entries: /* @__PURE__ */ o(function() { return qo; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = qo; n < i.length; n++) { var s = bE(i[n], 2), a = s[0], l = s[1]; t.call(r, l, a, qo); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = qo.filter(function(n) { return n[0] === t; })[0]; return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!gE.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return qo.map(function(t) { var r = bE(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return qo.map(function(t) { var r = bE(t, 2), n = r[1]; return n; }); }, "values") }, HCe = Gl.default = (0, D8.default)(gE, gE.entries()); }); // ../node_modules/aria-query/lib/domMap.js var L0 = y((Wl) => { "use strict"; Object.defineProperty(Wl, "__esModule", { value: !0 }); Wl.default = void 0; var z8 = G8(Oo()); function G8(e) { return e && e.__esModule ? e : { default: e }; } o(G8, "_interopRequireDefault"); function vE(e, t) { return X8(e) || K8(e, t) || Y8(e, t) || W8(); } o(vE, "_slicedToArray"); function W8() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(W8, "_nonIterableRest"); function Y8(e, t) { if (e) { if (typeof e == "string") return k0(e, t); var r = {}.toString.call(e).slice(8, -1); return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/. test(r) ? k0(e, t) : void 0; } } o(Y8, "_unsupportedIterableToArray"); function k0(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r]; return n; } o(k0, "_arrayLikeToArray"); function K8(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n, i, s, a, l = [], u = !0, c = !1; try { if (s = (r = r.call(e)).next, t === 0) { if (Object(r) !== r) return; u = !1; } else for (; !(u = (n = s.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ; } catch (d) { c = !0, i = d; } finally { try { if (!u && r.return != null && (a = r.return(), Object(a) !== a)) return; } finally { if (c) throw i; } } return l; } } o(K8, "_iterableToArrayLimit"); function X8(e) { if (Array.isArray(e)) return e; } o(X8, "_arrayWithHoles"); var Io = [["a", { reserved: !1 }], ["abbr", { reserved: !1 }], ["acronym", { reserved: !1 }], ["address", { reserved: !1 }], ["applet", { reserved: !1 }], ["area", { reserved: !1 }], ["article", { reserved: !1 }], ["aside", { reserved: !1 }], ["audio", { reserved: !1 }], ["b", { reserved: !1 }], ["base", { reserved: !0 }], ["bdi", { reserved: !1 }], ["bdo", { reserved: !1 }], ["big", { reserved: !1 }], ["blink", { reserved: !1 }], ["blockquote", { reserved: !1 }], ["body", { reserved: !1 }], ["br", { reserved: !1 }], ["button", { reserved: !1 }], ["canvas", { reserved: !1 }], ["caption", { reserved: !1 }], ["center", { reserved: !1 }], ["cite", { reserved: !1 }], ["code", { reserved: !1 }], ["col", { reserved: !0 }], ["colgroup", { reserved: !0 }], ["content", { reserved: !1 }], ["data", { reserved: !1 }], ["datalist", { reserved: !1 }], ["dd", { reserved: !1 }], ["del", { reserved: !1 }], ["details", { reserved: !1 }], ["dfn", { reserved: !1 }], ["dialog", { reserved: !1 }], ["dir", { reserved: !1 }], ["div", { reserved: !1 }], ["dl", { reserved: !1 }], ["dt", { reserved: !1 }], ["em", { reserved: !1 }], ["embed", { reserved: !1 }], ["fieldset", { reserved: !1 }], ["figcaption", { reserved: !1 }], ["figure", { reserved: !1 }], ["font", { reserved: !1 }], ["footer", { reserved: !1 }], ["form", { reserved: !1 }], ["frame", { reserved: !1 }], ["frameset", { reserved: !1 }], ["h1", { reserved: !1 }], ["h2", { reserved: !1 }], ["h3", { reserved: !1 }], ["h4", { reserved: !1 }], ["h5", { reserved: !1 }], ["h6", { reserved: !1 }], ["head", { reserved: !0 }], ["header", { reserved: !1 }], ["hgroup", { reserved: !1 }], ["hr", { reserved: !1 }], ["html", { reserved: !0 }], ["i", { reserved: !1 }], ["iframe", { reserved: !1 }], ["img", { reserved: !1 }], ["input", { reserved: !1 }], ["ins", { reserved: !1 }], ["kbd", { reserved: !1 }], ["keygen", { reserved: !1 }], ["label", { reserved: !1 }], ["legend", { reserved: !1 }], ["li", { reserved: !1 }], ["link", { reserved: !0 }], ["main", { reserved: !1 }], ["map", { reserved: !1 }], ["mark", { reserved: !1 }], ["marquee", { reserved: !1 }], ["menu", { reserved: !1 }], ["menuitem", { reserved: !1 }], ["meta", { reserved: !0 }], ["meter", { reserved: !1 }], ["nav", { reserved: !1 }], ["noembed", { reserved: !0 }], ["noscript", { reserved: !0 }], ["object", { reserved: !1 }], ["ol", { reserved: !1 }], ["optgroup", { reserved: !1 }], ["option", { reserved: !1 }], ["output", { reserved: !1 }], ["p", { reserved: !1 }], ["param", { reserved: !0 }], ["picture", { reserved: !0 }], ["pre", { reserved: !1 }], ["progress", { reserved: !1 }], ["q", { reserved: !1 }], ["rp", { reserved: !1 }], ["rt", { reserved: !1 }], ["rtc", { reserved: !1 }], ["ruby", { reserved: !1 }], ["s", { reserved: !1 }], ["samp", { reserved: !1 }], ["script", { reserved: !0 }], ["section", { reserved: !1 }], ["select", { reserved: !1 }], ["small", { reserved: !1 }], ["source", { reserved: !0 }], ["spacer", { reserved: !1 }], ["span", { reserved: !1 }], ["strike", { reserved: !1 }], ["strong", { reserved: !1 }], ["style", { reserved: !0 }], ["sub", { reserved: !1 }], ["summary", { reserved: !1 }], ["sup", { reserved: !1 }], ["table", { reserved: !1 }], ["tbody", { reserved: !1 }], ["td", { reserved: !1 }], ["textarea", { reserved: !1 }], ["tfoot", { reserved: !1 }], ["th", { reserved: !1 }], ["thead", { reserved: !1 }], ["time", { reserved: !1 }], ["title", { reserved: !0 }], ["tr", { reserved: !1 }], ["track", { reserved: !0 }], ["tt", { reserved: !1 }], ["u", { reserved: !1 }], ["ul", { reserved: !1 }], ["var", { reserved: !1 }], ["video", { reserved: !1 }], ["wbr", { reserved: !1 }], ["xmp", { reserved: !1 }]], EE = { entries: /* @__PURE__ */ o(function() { return Io; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = Io; n < i.length; n++) { var s = vE(i[n], 2), a = s[0], l = s[1]; t.call(r, l, a, Io); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = Io.filter(function(n) { return n[0] === t; })[0]; return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!EE.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return Io.map(function(t) { var r = vE(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return Io.map(function(t) { var r = vE(t, 2), n = r[1]; return n; }); }, "values") }, GCe = Wl.default = (0, z8.default)(EE, EE.entries()); }); // ../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js var F0 = y((Yl) => { "use strict"; Object.defineProperty(Yl, "__esModule", { value: !0 }); Yl.default = void 0; var J8 = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget"]] }, KCe = Yl.default = J8; }); // ../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js var D0 = y((Kl) => { "use strict"; Object.defineProperty(Kl, "__esModule", { value: !0 }); Kl.default = void 0; var Q8 = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-disabled": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget"]] }, JCe = Kl.default = Q8; }); // ../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js var $0 = y((Xl) => { "use strict"; Object.defineProperty(Xl, "__esModule", { value: !0 }); Xl.default = void 0; var Z8 = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null }, relatedConcepts: [{ concept: { name: "input" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget"]] }, ZCe = Xl.default = Z8; }); // ../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js var B0 = y((Jl) => { "use strict"; Object.defineProperty(Jl, "__esModule", { value: !0 }); Jl.default = void 0; var eY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, tPe = Jl.default = eY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js var U0 = y((Ql) => { "use strict"; Object.defineProperty(Ql, "__esModule", { value: !0 }); Ql.default = void 0; var tY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-valuemax": null, "aria-valuemin": null, "aria-valuenow": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, nPe = Ql.default = tY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js var H0 = y((Zl) => { "use strict"; Object.defineProperty(Zl, "__esModule", { value: !0 }); Zl.default = void 0; var rY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: { "aria-atomic": null, "aria-busy": null, "aria-controls": null, "aria-current": null, "aria-describedby": null, "aria-details": null, "aria-dropeffect": null, "aria-flowto": null, "aria-grabbed": null, "aria-hidden": null, "aria-keyshortcuts": null, "aria-label": null, "aria-labelledby": null, "aria-live": null, "aria-owns": null, "aria-relevant": null, "aria-roledescription": null }, relatedConcepts: [{ concept: { name: "role" }, module: "XHTML" }, { concept: { name: "type" }, module: "Dublin Core" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [] }, iPe = Zl.default = rY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js var V0 = y((eu) => { "use strict"; Object.defineProperty(eu, "__esModule", { value: !0 }); eu.default = void 0; var nY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "frontmatter" }, module: "DTB" }, { concept: { name: "level" }, module: "DTB" }, { concept: { name: "level" }, module: "SMIL" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, aPe = eu.default = nY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js var z0 = y((tu) => { "use strict"; Object.defineProperty(tu, "__esModule", { value: !0 }); tu.default = void 0; var oY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, uPe = tu.default = oY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js var G0 = y((ru) => { "use strict"; Object.defineProperty(ru, "__esModule", { value: !0 }); ru.default = void 0; var iY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "group"]] }, dPe = ru.default = iY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js var W0 = y((nu) => { "use strict"; Object.defineProperty(nu, "__esModule", { value: !0 }); nu.default = void 0; var sY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype"]] }, fPe = nu.default = sY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js var Y0 = y((ou) => { "use strict"; Object.defineProperty(ou, "__esModule", { value: !0 }); ou.default = void 0; var aY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype"]] }, hPe = ou.default = aY; }); // ../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js var K0 = y((iu) => { "use strict"; Object.defineProperty(iu, "__esModule", { value: !0 }); iu.default = void 0; var lY = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-modal": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype"]] }, bPe = iu.default = lY; }); // ../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js var X0 = y((su) => { "use strict"; Object.defineProperty(su, "__esModule", { value: !0 }); su.default = void 0; var uY = At(F0()), cY = At(D0()), dY = At($0()), pY = At(B0()), fY = At(U0()), mY = At(H0()), hY = At(V0()), yY = At(z0()), bY = At(G0()), gY = At(W0()), vY = At(Y0()), EY = At(K0()); function At(e) { return e && e.__esModule ? e : { default: e }; } o(At, "_interopRequireDefault"); var xY = [["command", uY.default], ["composite", cY.default], ["input", dY.default], ["landmark", pY.default], ["range", fY.default], ["ro\ letype", mY.default], ["section", hY.default], ["sectionhead", yY.default], ["select", bY.default], ["structure", gY.default], ["widget", vY. default], ["window", EY.default]], vPe = su.default = xY; }); // ../node_modules/aria-query/lib/etc/roles/literal/alertRole.js var J0 = y((au) => { "use strict"; Object.defineProperty(au, "__esModule", { value: !0 }); au.default = void 0; var wY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-atomic": "true", "aria-live": "assertive" }, relatedConcepts: [{ concept: { name: "alert" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, wPe = au.default = wY; }); // ../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js var Q0 = y((lu) => { "use strict"; Object.defineProperty(lu, "__esModule", { value: !0 }); lu.default = void 0; var SY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "alert" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "alert"], ["roletype", "window", "dialog"]] }, RPe = lu.default = SY; }); // ../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js var Z0 = y((uu) => { "use strict"; Object.defineProperty(uu, "__esModule", { value: !0 }); uu.default = void 0; var RY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "Device Independence Delivery Unit" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, _Pe = uu.default = RY; }); // ../node_modules/aria-query/lib/etc/roles/literal/articleRole.js var eA = y((cu) => { "use strict"; Object.defineProperty(cu, "__esModule", { value: !0 }); cu.default = void 0; var TY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { name: "article" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "document"]] }, PPe = cu.default = TY; }); // ../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js var tA = y((du) => { "use strict"; Object.defineProperty(du, "__esModule", { value: !0 }); du.default = void 0; var _Y = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { constraints: ["scoped to the body element"], name: "header" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, OPe = du.default = _Y; }); // ../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js var rA = y((pu) => { "use strict"; Object.defineProperty(pu, "__esModule", { value: !0 }); pu.default = void 0; var CY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "blockquote" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, IPe = pu.default = CY; }); // ../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js var nA = y((fu) => { "use strict"; Object.defineProperty(fu, "__esModule", { value: !0 }); fu.default = void 0; var PY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null, "aria-pressed": null }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "button" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ name: "type", value: "image" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ name: "type", value: "reset" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ name: "type", value: "submit" }], name: "input" }, module: "HTML" }, { concept: { name: "button" }, module: "HTML" }, { concept: { name: "trigger" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command"]] }, NPe = fu.default = PY; }); // ../node_modules/aria-query/lib/etc/roles/literal/captionRole.js var oA = y((mu) => { "use strict"; Object.defineProperty(mu, "__esModule", { value: !0 }); mu.default = void 0; var AY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "caption" }, module: "HTML" }], requireContextRole: ["figure", "grid", "table"], requiredContextRole: ["figure", "grid", "table"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, kPe = mu.default = AY; }); // ../node_modules/aria-query/lib/etc/roles/literal/cellRole.js var iA = y((hu) => { "use strict"; Object.defineProperty(hu, "__esModule", { value: !0 }); hu.default = void 0; var OY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-colindex": null, "aria-colspan": null, "aria-rowindex": null, "aria-rowspan": null }, relatedConcepts: [{ concept: { constraints: ["ancestor table element has table role"], name: "td" }, module: "HTML" }], requireContextRole: ["row"], requiredContextRole: ["row"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, FPe = hu.default = OY; }); // ../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js var sA = y((yu) => { "use strict"; Object.defineProperty(yu, "__esModule", { value: !0 }); yu.default = void 0; var qY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-checked": null, "aria-errormessage": null, "aria-expanded": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "checkbox" }], name: "input" }, module: "HTML" }, { concept: { name: "option" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input"]] }, $Pe = yu.default = qY; }); // ../node_modules/aria-query/lib/etc/roles/literal/codeRole.js var aA = y((bu) => { "use strict"; Object.defineProperty(bu, "__esModule", { value: !0 }); bu.default = void 0; var IY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "code" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, UPe = bu.default = IY; }); // ../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js var lA = y((gu) => { "use strict"; Object.defineProperty(gu, "__esModule", { value: !0 }); gu.default = void 0; var MY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-sort": null }, relatedConcepts: [{ concept: { name: "th" }, module: "HTML" }, { concept: { attributes: [{ name: "scope", value: "col" }], name: "th" }, module: "HTML" }, { concept: { attributes: [{ name: "scope", value: "colgroup" }], name: "th" }, module: "HTML" }], requireContextRole: ["row"], requiredContextRole: ["row"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\ t", "gridcell"], ["roletype", "structure", "sectionhead"]] }, VPe = gu.default = MY; }); // ../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js var uA = y((vu) => { "use strict"; Object.defineProperty(vu, "__esModule", { value: !0 }); vu.default = void 0; var NY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-autocomplete": null, "aria-errormessage": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null, "aria-expanded": "false", "aria-haspopup": "listbox" }, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "email" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "search" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "tel" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "text" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "url" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "url" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "multiple" }, { constraints: ["undefined"], name: "size" }], constraints: ["the multiple attribute is not set and the size attribute does not have a value greater than 1"], name: "select" }, module: "HTML" }, { concept: { name: "select" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-controls": null, "aria-expanded": "false" }, superClass: [["roletype", "widget", "input"]] }, GPe = vu.default = NY; }); // ../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js var cA = y((Eu) => { "use strict"; Object.defineProperty(Eu, "__esModule", { value: !0 }); Eu.default = void 0; var jY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { constraints: ["scoped to the body element", "scoped to the main element"], name: "aside" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-label" }], constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"], name: "aside" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-labelledby" }], constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"], name: "aside" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, YPe = Eu.default = jY; }); // ../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js var dA = y((xu) => { "use strict"; Object.defineProperty(xu, "__esModule", { value: !0 }); xu.default = void 0; var kY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { constraints: ["scoped to the body element"], name: "footer" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, XPe = xu.default = kY; }); // ../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js var pA = y((wu) => { "use strict"; Object.defineProperty(wu, "__esModule", { value: !0 }); wu.default = void 0; var LY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "dd" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, QPe = wu.default = LY; }); // ../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js var fA = y((Su) => { "use strict"; Object.defineProperty(Su, "__esModule", { value: !0 }); Su.default = void 0; var FY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "del" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, e0e = Su.default = FY; }); // ../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js var mA = y((Ru) => { "use strict"; Object.defineProperty(Ru, "__esModule", { value: !0 }); Ru.default = void 0; var DY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "dialog" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "window"]] }, r0e = Ru.default = DY; }); // ../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js var hA = y((Tu) => { "use strict"; Object.defineProperty(Tu, "__esModule", { value: !0 }); Tu.default = void 0; var $Y = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ module: "DAISY Guide" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "list"]] }, o0e = Tu.default = $Y; }); // ../node_modules/aria-query/lib/etc/roles/literal/documentRole.js var yA = y((_u) => { "use strict"; Object.defineProperty(_u, "__esModule", { value: !0 }); _u.default = void 0; var BY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "Device Independence Delivery Unit" } }, { concept: { name: "html" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, s0e = _u.default = BY; }); // ../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js var bA = y((Cu) => { "use strict"; Object.defineProperty(Cu, "__esModule", { value: !0 }); Cu.default = void 0; var UY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "em" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, l0e = Cu.default = UY; }); // ../node_modules/aria-query/lib/etc/roles/literal/feedRole.js var gA = y((Pu) => { "use strict"; Object.defineProperty(Pu, "__esModule", { value: !0 }); Pu.default = void 0; var HY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["article"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "list"]] }, c0e = Pu.default = HY; }); // ../node_modules/aria-query/lib/etc/roles/literal/figureRole.js var vA = y((Au) => { "use strict"; Object.defineProperty(Au, "__esModule", { value: !0 }); Au.default = void 0; var VY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "figure" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, p0e = Au.default = VY; }); // ../node_modules/aria-query/lib/etc/roles/literal/formRole.js var EA = y((Ou) => { "use strict"; Object.defineProperty(Ou, "__esModule", { value: !0 }); Ou.default = void 0; var zY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "aria-label" }], name: "form" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-labelledby" }], name: "form" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "name" }], name: "form" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, m0e = Ou.default = zY; }); // ../node_modules/aria-query/lib/etc/roles/literal/genericRole.js var xA = y((qu) => { "use strict"; Object.defineProperty(qu, "__esModule", { value: !0 }); qu.default = void 0; var GY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "a" }, module: "HTML" }, { concept: { name: "area" }, module: "HTML" }, { concept: { name: "aside" }, module: "HTML" }, { concept: { name: "b" }, module: "HTML" }, { concept: { name: "bdo" }, module: "HTML" }, { concept: { name: "body" }, module: "HTML" }, { concept: { name: "data" }, module: "HTML" }, { concept: { name: "div" }, module: "HTML" }, { concept: { constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\ n body"], name: "footer" }, module: "HTML" }, { concept: { constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\ n body"], name: "header" }, module: "HTML" }, { concept: { name: "hgroup" }, module: "HTML" }, { concept: { name: "i" }, module: "HTML" }, { concept: { name: "pre" }, module: "HTML" }, { concept: { name: "q" }, module: "HTML" }, { concept: { name: "samp" }, module: "HTML" }, { concept: { name: "section" }, module: "HTML" }, { concept: { name: "small" }, module: "HTML" }, { concept: { name: "span" }, module: "HTML" }, { concept: { name: "u" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, y0e = qu.default = GY; }); // ../node_modules/aria-query/lib/etc/roles/literal/gridRole.js var wA = y((Iu) => { "use strict"; Object.defineProperty(Iu, "__esModule", { value: !0 }); Iu.default = void 0; var WY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-multiselectable": null, "aria-readonly": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["row"], ["row", "rowgroup"]], requiredProps: {}, superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "table"]] }, g0e = Iu.default = WY; }); // ../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js var SA = y((Mu) => { "use strict"; Object.defineProperty(Mu, "__esModule", { value: !0 }); Mu.default = void 0; var YY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null, "aria-selected": null }, relatedConcepts: [{ concept: { constraints: ["ancestor table element has grid role", "ancestor table element has treegrid role"], name: "td" }, module: "HTML" }], requireContextRole: ["row"], requiredContextRole: ["row"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "cell"], ["roletype", "widget"]] }, E0e = Mu.default = YY; }); // ../node_modules/aria-query/lib/etc/roles/literal/groupRole.js var RA = y((Nu) => { "use strict"; Object.defineProperty(Nu, "__esModule", { value: !0 }); Nu.default = void 0; var KY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-disabled": null }, relatedConcepts: [{ concept: { name: "details" }, module: "HTML" }, { concept: { name: "fieldset" }, module: "HTML" }, { concept: { name: "optgroup" }, module: "HTML" }, { concept: { name: "address" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, w0e = Nu.default = KY; }); // ../node_modules/aria-query/lib/etc/roles/literal/headingRole.js var TA = y((ju) => { "use strict"; Object.defineProperty(ju, "__esModule", { value: !0 }); ju.default = void 0; var XY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-level": "2" }, relatedConcepts: [{ concept: { name: "h1" }, module: "HTML" }, { concept: { name: "h2" }, module: "HTML" }, { concept: { name: "h3" }, module: "HTML" }, { concept: { name: "h4" }, module: "HTML" }, { concept: { name: "h5" }, module: "HTML" }, { concept: { name: "h6" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-level": "2" }, superClass: [["roletype", "structure", "sectionhead"]] }, R0e = ju.default = XY; }); // ../node_modules/aria-query/lib/etc/roles/literal/imgRole.js var _A = y((ku) => { "use strict"; Object.defineProperty(ku, "__esModule", { value: !0 }); ku.default = void 0; var JY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "alt" }], name: "img" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "alt" }], name: "img" }, module: "HTML" }, { concept: { name: "imggroup" }, module: "DTB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, _0e = ku.default = JY; }); // ../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js var CA = y((Lu) => { "use strict"; Object.defineProperty(Lu, "__esModule", { value: !0 }); Lu.default = void 0; var QY = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "ins" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, P0e = Lu.default = QY; }); // ../node_modules/aria-query/lib/etc/roles/literal/linkRole.js var PA = y((Fu) => { "use strict"; Object.defineProperty(Fu, "__esModule", { value: !0 }); Fu.default = void 0; var ZY = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null }, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "href" }], name: "a" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "href" }], name: "area" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command"]] }, O0e = Fu.default = ZY; }); // ../node_modules/aria-query/lib/etc/roles/literal/listRole.js var AA = y((Du) => { "use strict"; Object.defineProperty(Du, "__esModule", { value: !0 }); Du.default = void 0; var e9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "menu" }, module: "HTML" }, { concept: { name: "ol" }, module: "HTML" }, { concept: { name: "ul" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["listitem"]], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, I0e = Du.default = e9; }); // ../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js var OA = y(($u) => { "use strict"; Object.defineProperty($u, "__esModule", { value: !0 }); $u.default = void 0; var t9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-expanded": null, "aria-invalid": null, "aria-multiselectable": null, "aria-readonly": null, "aria-required": null, "aria-orientation": "vertical" }, relatedConcepts: [{ concept: { attributes: [{ constraints: [">1"], name: "size" }], constraints: ["the size attribute value is greater than 1"], name: "select" }, module: "HTML" }, { concept: { attributes: [{ name: "multiple" }], name: "select" }, module: "HTML" }, { concept: { name: "datalist" }, module: "HTML" }, { concept: { name: "list" }, module: "ARIA" }, { concept: { name: "select" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["option", "group"], ["option"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, N0e = $u.default = t9; }); // ../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js var qA = y((Bu) => { "use strict"; Object.defineProperty(Bu, "__esModule", { value: !0 }); Bu.default = void 0; var r9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-level": null, "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { constraints: ["direct descendant of ol", "direct descendant of ul", "direct descendant of menu"], name: "li" }, module: "HTML" }, { concept: { name: "item" }, module: "XForms" }], requireContextRole: ["directory", "list"], requiredContextRole: ["directory", "list"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, k0e = Bu.default = r9; }); // ../node_modules/aria-query/lib/etc/roles/literal/logRole.js var IA = y((Uu) => { "use strict"; Object.defineProperty(Uu, "__esModule", { value: !0 }); Uu.default = void 0; var n9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-live": "polite" }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, F0e = Uu.default = n9; }); // ../node_modules/aria-query/lib/etc/roles/literal/mainRole.js var MA = y((Hu) => { "use strict"; Object.defineProperty(Hu, "__esModule", { value: !0 }); Hu.default = void 0; var o9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "main" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, $0e = Hu.default = o9; }); // ../node_modules/aria-query/lib/etc/roles/literal/markRole.js var NA = y((Vu) => { "use strict"; Object.defineProperty(Vu, "__esModule", { value: !0 }); Vu.default = void 0; var i9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: [], props: { "aria-braillelabel": null, "aria-brailleroledescription": null, "aria-description": null }, relatedConcepts: [{ concept: { name: "mark" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, U0e = Vu.default = i9; }); // ../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js var jA = y((zu) => { "use strict"; Object.defineProperty(zu, "__esModule", { value: !0 }); zu.default = void 0; var s9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, V0e = zu.default = s9; }); // ../node_modules/aria-query/lib/etc/roles/literal/mathRole.js var kA = y((Gu) => { "use strict"; Object.defineProperty(Gu, "__esModule", { value: !0 }); Gu.default = void 0; var a9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "math" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, G0e = Gu.default = a9; }); // ../node_modules/aria-query/lib/etc/roles/literal/menuRole.js var LA = y((Wu) => { "use strict"; Object.defineProperty(Wu, "__esModule", { value: !0 }); Wu.default = void 0; var l9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": "vertical" }, relatedConcepts: [{ concept: { name: "MENU" }, module: "JAPI" }, { concept: { name: "list" }, module: "ARIA" }, { concept: { name: "select" }, module: "XForms" }, { concept: { name: "sidebar" }, module: "DTB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\ ox"], ["menuitemradio"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, Y0e = Wu.default = l9; }); // ../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js var FA = y((Yu) => { "use strict"; Object.defineProperty(Yu, "__esModule", { value: !0 }); Yu.default = void 0; var u9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": "horizontal" }, relatedConcepts: [{ concept: { name: "toolbar" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\ ox"], ["menuitemradio"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select", "menu"], ["roletype", "structure", "section", "group", "select", "menu"]] }, X0e = Yu.default = u9; }); // ../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js var DA = y((Ku) => { "use strict"; Object.defineProperty(Ku, "__esModule", { value: !0 }); Ku.default = void 0; var c9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null, "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { name: "MENU_ITEM" }, module: "JAPI" }, { concept: { name: "listitem" }, module: "ARIA" }, { concept: { name: "option" }, module: "ARIA" }], requireContextRole: ["group", "menu", "menubar"], requiredContextRole: ["group", "menu", "menubar"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command"]] }, Q0e = Ku.default = c9; }); // ../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js var $A = y((Xu) => { "use strict"; Object.defineProperty(Xu, "__esModule", { value: !0 }); Xu.default = void 0; var d9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "menuitem" }, module: "ARIA" }], requireContextRole: ["group", "menu", "menubar"], requiredContextRole: ["group", "menu", "menubar"], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input", "checkbox"], ["roletype", "widget", "command", "menuitem"]] }, eAe = Xu.default = d9; }); // ../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js var BA = y((Ju) => { "use strict"; Object.defineProperty(Ju, "__esModule", { value: !0 }); Ju.default = void 0; var p9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "menuitem" }, module: "ARIA" }], requireContextRole: ["group", "menu", "menubar"], requiredContextRole: ["group", "menu", "menubar"], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input", "checkbox", "menuitemcheckbox"], ["roletype", "widget", "command", "menuitem", "menuitemche\ ckbox"], ["roletype", "widget", "input", "radio"]] }, rAe = Ju.default = p9; }); // ../node_modules/aria-query/lib/etc/roles/literal/meterRole.js var UA = y((Qu) => { "use strict"; Object.defineProperty(Qu, "__esModule", { value: !0 }); Qu.default = void 0; var f9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-valuetext": null, "aria-valuemax": "100", "aria-valuemin": "0" }, relatedConcepts: [{ concept: { name: "meter" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-valuenow": null }, superClass: [["roletype", "structure", "range"]] }, oAe = Qu.default = f9; }); // ../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js var HA = y((Zu) => { "use strict"; Object.defineProperty(Zu, "__esModule", { value: !0 }); Zu.default = void 0; var m9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "nav" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, sAe = Zu.default = m9; }); // ../node_modules/aria-query/lib/etc/roles/literal/noneRole.js var VA = y((ec) => { "use strict"; Object.defineProperty(ec, "__esModule", { value: !0 }); ec.default = void 0; var h9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [] }, lAe = ec.default = h9; }); // ../node_modules/aria-query/lib/etc/roles/literal/noteRole.js var zA = y((tc) => { "use strict"; Object.defineProperty(tc, "__esModule", { value: !0 }); tc.default = void 0; var y9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, cAe = tc.default = y9; }); // ../node_modules/aria-query/lib/etc/roles/literal/optionRole.js var GA = y((rc) => { "use strict"; Object.defineProperty(rc, "__esModule", { value: !0 }); rc.default = void 0; var b9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-checked": null, "aria-posinset": null, "aria-setsize": null, "aria-selected": "false" }, relatedConcepts: [{ concept: { name: "item" }, module: "XForms" }, { concept: { name: "listitem" }, module: "ARIA" }, { concept: { name: "option" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-selected": "false" }, superClass: [["roletype", "widget", "input"]] }, pAe = rc.default = b9; }); // ../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js var WA = y((nc) => { "use strict"; Object.defineProperty(nc, "__esModule", { value: !0 }); nc.default = void 0; var g9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "p" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, mAe = nc.default = g9; }); // ../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js var YA = y((oc) => { "use strict"; Object.defineProperty(oc, "__esModule", { value: !0 }); oc.default = void 0; var v9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { attributes: [{ name: "alt", value: "" }], name: "img" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, yAe = oc.default = v9; }); // ../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js var KA = y((ic) => { "use strict"; Object.defineProperty(ic, "__esModule", { value: !0 }); ic.default = void 0; var E9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-valuetext": null }, relatedConcepts: [{ concept: { name: "progress" }, module: "HTML" }, { concept: { name: "status" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "range"], ["roletype", "widget"]] }, gAe = ic.default = E9; }); // ../node_modules/aria-query/lib/etc/roles/literal/radioRole.js var XA = y((sc) => { "use strict"; Object.defineProperty(sc, "__esModule", { value: !0 }); sc.default = void 0; var x9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-checked": null, "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "radio" }], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input"]] }, EAe = sc.default = x9; }); // ../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js var JA = y((ac) => { "use strict"; Object.defineProperty(ac, "__esModule", { value: !0 }); ac.default = void 0; var w9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null }, relatedConcepts: [{ concept: { name: "list" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["radio"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, wAe = ac.default = w9; }); // ../node_modules/aria-query/lib/etc/roles/literal/regionRole.js var QA = y((lc) => { "use strict"; Object.defineProperty(lc, "__esModule", { value: !0 }); lc.default = void 0; var S9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "aria-label" }], name: "section" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-labelledby" }], name: "section" }, module: "HTML" }, { concept: { name: "Device Independence Glossart perceivable unit" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, RAe = lc.default = S9; }); // ../node_modules/aria-query/lib/etc/roles/literal/rowRole.js var ZA = y((uc) => { "use strict"; Object.defineProperty(uc, "__esModule", { value: !0 }); uc.default = void 0; var R9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-colindex": null, "aria-expanded": null, "aria-level": null, "aria-posinset": null, "aria-rowindex": null, "aria-selected": null, "aria-setsize": null }, relatedConcepts: [{ concept: { name: "tr" }, module: "HTML" }], requireContextRole: ["grid", "rowgroup", "table", "treegrid"], requiredContextRole: ["grid", "rowgroup", "table", "treegrid"], requiredOwnedElements: [["cell"], ["columnheader"], ["gridcell"], ["rowheader"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "group"], ["roletype", "widget"]] }, _Ae = uc.default = R9; }); // ../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js var eO = y((cc) => { "use strict"; Object.defineProperty(cc, "__esModule", { value: !0 }); cc.default = void 0; var T9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "tbody" }, module: "HTML" }, { concept: { name: "tfoot" }, module: "HTML" }, { concept: { name: "thead" }, module: "HTML" }], requireContextRole: ["grid", "table", "treegrid"], requiredContextRole: ["grid", "table", "treegrid"], requiredOwnedElements: [["row"]], requiredProps: {}, superClass: [["roletype", "structure"]] }, PAe = cc.default = T9; }); // ../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js var tO = y((dc) => { "use strict"; Object.defineProperty(dc, "__esModule", { value: !0 }); dc.default = void 0; var _9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-sort": null }, relatedConcepts: [{ concept: { attributes: [{ name: "scope", value: "row" }], name: "th" }, module: "HTML" }, { concept: { attributes: [{ name: "scope", value: "rowgroup" }], name: "th" }, module: "HTML" }], requireContextRole: ["row", "rowgroup"], requiredContextRole: ["row", "rowgroup"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\ t", "gridcell"], ["roletype", "structure", "sectionhead"]] }, OAe = dc.default = _9; }); // ../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js var rO = y((pc) => { "use strict"; Object.defineProperty(pc, "__esModule", { value: !0 }); pc.default = void 0; var C9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-valuetext": null, "aria-orientation": "vertical", "aria-valuemax": "100", "aria-valuemin": "0" }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-controls": null, "aria-valuenow": null }, superClass: [["roletype", "structure", "range"], ["roletype", "widget"]] }, IAe = pc.default = C9; }); // ../node_modules/aria-query/lib/etc/roles/literal/searchRole.js var nO = y((fc) => { "use strict"; Object.defineProperty(fc, "__esModule", { value: !0 }); fc.default = void 0; var P9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, NAe = fc.default = P9; }); // ../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js var oO = y((mc) => { "use strict"; Object.defineProperty(mc, "__esModule", { value: !0 }); mc.default = void 0; var A9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "search" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "input", "textbox"]] }, kAe = mc.default = A9; }); // ../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js var iO = y((hc) => { "use strict"; Object.defineProperty(hc, "__esModule", { value: !0 }); hc.default = void 0; var O9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-orientation": "horizontal", "aria-valuemax": "100", "aria-valuemin": "0", "aria-valuenow": null, "aria-valuetext": null }, relatedConcepts: [{ concept: { name: "hr" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, FAe = hc.default = O9; }); // ../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js var sO = y((yc) => { "use strict"; Object.defineProperty(yc, "__esModule", { value: !0 }); yc.default = void 0; var q9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-haspopup": null, "aria-invalid": null, "aria-readonly": null, "aria-valuetext": null, "aria-orientation": "horizontal", "aria-valuemax": "100", "aria-valuemin": "0" }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "range" }], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-valuenow": null }, superClass: [["roletype", "widget", "input"], ["roletype", "structure", "range"]] }, $Ae = yc.default = q9; }); // ../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js var aO = y((bc) => { "use strict"; Object.defineProperty(bc, "__esModule", { value: !0 }); bc.default = void 0; var I9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null, "aria-valuetext": null, "aria-valuenow": "0" }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "number" }], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "composite"], ["roletype", "widget", "input"], ["roletype", "structure", "range"]] }, UAe = bc.default = I9; }); // ../node_modules/aria-query/lib/etc/roles/literal/statusRole.js var lO = y((gc) => { "use strict"; Object.defineProperty(gc, "__esModule", { value: !0 }); gc.default = void 0; var M9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-atomic": "true", "aria-live": "polite" }, relatedConcepts: [{ concept: { name: "output" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, VAe = gc.default = M9; }); // ../node_modules/aria-query/lib/etc/roles/literal/strongRole.js var uO = y((vc) => { "use strict"; Object.defineProperty(vc, "__esModule", { value: !0 }); vc.default = void 0; var N9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "strong" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, GAe = vc.default = N9; }); // ../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js var cO = y((Ec) => { "use strict"; Object.defineProperty(Ec, "__esModule", { value: !0 }); Ec.default = void 0; var j9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "sub" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, YAe = Ec.default = j9; }); // ../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js var dO = y((xc) => { "use strict"; Object.defineProperty(xc, "__esModule", { value: !0 }); xc.default = void 0; var k9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "sup" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, XAe = xc.default = k9; }); // ../node_modules/aria-query/lib/etc/roles/literal/switchRole.js var pO = y((wc) => { "use strict"; Object.defineProperty(wc, "__esModule", { value: !0 }); wc.default = void 0; var L9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "button" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input", "checkbox"]] }, QAe = wc.default = L9; }); // ../node_modules/aria-query/lib/etc/roles/literal/tabRole.js var fO = y((Sc) => { "use strict"; Object.defineProperty(Sc, "__esModule", { value: !0 }); Sc.default = void 0; var F9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null, "aria-posinset": null, "aria-setsize": null, "aria-selected": "false" }, relatedConcepts: [], requireContextRole: ["tablist"], requiredContextRole: ["tablist"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "sectionhead"], ["roletype", "widget"]] }, eOe = Sc.default = F9; }); // ../node_modules/aria-query/lib/etc/roles/literal/tableRole.js var mO = y((Rc) => { "use strict"; Object.defineProperty(Rc, "__esModule", { value: !0 }); Rc.default = void 0; var D9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-colcount": null, "aria-rowcount": null }, relatedConcepts: [{ concept: { name: "table" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["row"], ["row", "rowgroup"]], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, rOe = Rc.default = D9; }); // ../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js var hO = y((Tc) => { "use strict"; Object.defineProperty(Tc, "__esModule", { value: !0 }); Tc.default = void 0; var $9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-level": null, "aria-multiselectable": null, "aria-orientation": "horizontal" }, relatedConcepts: [{ module: "DAISY", concept: { name: "guide" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["tab"]], requiredProps: {}, superClass: [["roletype", "widget", "composite"]] }, oOe = Tc.default = $9; }); // ../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js var yO = y((_c) => { "use strict"; Object.defineProperty(_c, "__esModule", { value: !0 }); _c.default = void 0; var B9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, sOe = _c.default = B9; }); // ../node_modules/aria-query/lib/etc/roles/literal/termRole.js var bO = y((Cc) => { "use strict"; Object.defineProperty(Cc, "__esModule", { value: !0 }); Cc.default = void 0; var U9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "dfn" }, module: "HTML" }, { concept: { name: "dt" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, lOe = Cc.default = U9; }); // ../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js var gO = y((Pc) => { "use strict"; Object.defineProperty(Pc, "__esModule", { value: !0 }); Pc.default = void 0; var H9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-autocomplete": null, "aria-errormessage": null, "aria-haspopup": null, "aria-invalid": null, "aria-multiline": null, "aria-placeholder": null, "aria-readonly": null, "aria-required": null }, relatedConcepts: [{ concept: { attributes: [{ constraints: ["undefined"], name: "type" }, { constraints: ["undefined"], name: "list" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "email" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "tel" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "text" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "url" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { name: "input" }, module: "XForms" }, { concept: { name: "textarea" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "input"]] }, cOe = Pc.default = H9; }); // ../node_modules/aria-query/lib/etc/roles/literal/timeRole.js var vO = y((Ac) => { "use strict"; Object.defineProperty(Ac, "__esModule", { value: !0 }); Ac.default = void 0; var V9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "time" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, pOe = Ac.default = V9; }); // ../node_modules/aria-query/lib/etc/roles/literal/timerRole.js var EO = y((Oc) => { "use strict"; Object.defineProperty(Oc, "__esModule", { value: !0 }); Oc.default = void 0; var z9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "status"]] }, mOe = Oc.default = z9; }); // ../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js var xO = y((qc) => { "use strict"; Object.defineProperty(qc, "__esModule", { value: !0 }); qc.default = void 0; var G9 = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": "horizontal" }, relatedConcepts: [{ concept: { name: "menubar" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "group"]] }, yOe = qc.default = G9; }); // ../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js var wO = y((Ic) => { "use strict"; Object.defineProperty(Ic, "__esModule", { value: !0 }); Ic.default = void 0; var W9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, gOe = Ic.default = W9; }); // ../node_modules/aria-query/lib/etc/roles/literal/treeRole.js var SO = y((Mc) => { "use strict"; Object.defineProperty(Mc, "__esModule", { value: !0 }); Mc.default = void 0; var Y9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null, "aria-multiselectable": null, "aria-required": null, "aria-orientation": "vertical" }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["treeitem", "group"], ["treeitem"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, EOe = Mc.default = Y9; }); // ../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js var RO = y((Nc) => { "use strict"; Object.defineProperty(Nc, "__esModule", { value: !0 }); Nc.default = void 0; var K9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["row"], ["row", "rowgroup"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "grid"], ["roletype", "structure", "section", "table", "grid"], ["roletype", "widget", "\ composite", "select", "tree"], ["roletype", "structure", "section", "group", "select", "tree"]] }, wOe = Nc.default = K9; }); // ../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js var TO = y((jc) => { "use strict"; Object.defineProperty(jc, "__esModule", { value: !0 }); jc.default = void 0; var X9 = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-expanded": null, "aria-haspopup": null }, relatedConcepts: [], requireContextRole: ["group", "tree"], requiredContextRole: ["group", "tree"], requiredOwnedElements: [], requiredProps: { "aria-selected": null }, superClass: [["roletype", "structure", "section", "listitem"], ["roletype", "widget", "input", "option"]] }, ROe = jc.default = X9; }); // ../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js var _O = y((kc) => { "use strict"; Object.defineProperty(kc, "__esModule", { value: !0 }); kc.default = void 0; var J9 = $(J0()), Q9 = $(Q0()), Z9 = $(Z0()), e7 = $(eA()), t7 = $(tA()), r7 = $(rA()), n7 = $(nA()), o7 = $(oA()), i7 = $(iA()), s7 = $(sA()), a7 = $(aA()), l7 = $(lA()), u7 = $(uA()), c7 = $(cA()), d7 = $(dA()), p7 = $(pA()), f7 = $(fA()), m7 = $(mA()), h7 = $(hA()), y7 = $(yA()), b7 = $(bA()), g7 = $(gA()), v7 = $(vA()), E7 = $(EA()), x7 = $(xA()), w7 = $(wA()), S7 = $(SA()), R7 = $(RA()), T7 = $(TA()), _7 = $(_A()), C7 = $(CA()), P7 = $(PA()), A7 = $(AA()), O7 = $(OA()), q7 = $(qA()), I7 = $(IA()), M7 = $(MA()), N7 = $(NA()), j7 = $(jA()), k7 = $(kA()), L7 = $(LA()), F7 = $(FA()), D7 = $(DA()), $7 = $($A()), B7 = $(BA()), U7 = $(UA()), H7 = $(HA()), V7 = $(VA()), z7 = $(zA()), G7 = $(GA()), W7 = $(WA()), Y7 = $(YA()), K7 = $(KA()), X7 = $(XA()), J7 = $(JA()), Q7 = $(QA()), Z7 = $(ZA()), eK = $(eO()), tK = $(tO()), rK = $(rO()), nK = $(nO()), oK = $(oO()), iK = $(iO()), sK = $(sO()), aK = $(aO()), lK = $(lO()), uK = $(uO()), cK = $(cO()), dK = $(dO()), pK = $(pO()), fK = $(fO()), mK = $(mO()), hK = $(hO()), yK = $(yO()), bK = $(bO()), gK = $(gO()), vK = $(vO()), EK = $(EO()), xK = $(xO()), wK = $(wO()), SK = $(SO()), RK = $(RO()), TK = $(TO()); function $(e) { return e && e.__esModule ? e : { default: e }; } o($, "_interopRequireDefault"); var _K = [["alert", J9.default], ["alertdialog", Q9.default], ["application", Z9.default], ["article", e7.default], ["banner", t7.default], ["blockquote", r7.default], ["button", n7.default], ["caption", o7.default], ["cell", i7.default], ["checkbox", s7.default], ["code", a7.default], ["columnheader", l7.default], ["combobox", u7.default], ["complementary", c7.default], ["contentinfo", d7.default], ["definition", p7.default], ["deletion", f7.default], ["dialog", m7.default], ["directory", h7.default], ["document", y7.default], ["emphasis", b7.default], ["feed", g7. default], ["figure", v7.default], ["form", E7.default], ["generic", x7.default], ["grid", w7.default], ["gridcell", S7.default], ["group", R7.default], ["heading", T7.default], ["img", _7.default], ["insertion", C7.default], ["link", P7.default], ["list", A7.default], ["listbo\ x", O7.default], ["listitem", q7.default], ["log", I7.default], ["main", M7.default], ["mark", N7.default], ["marquee", j7.default], ["math", k7.default], ["menu", L7.default], ["menubar", F7.default], ["menuitem", D7.default], ["menuitemcheckbox", $7.default], ["menuitemradio", B7. default], ["meter", U7.default], ["navigation", H7.default], ["none", V7.default], ["note", z7.default], ["option", G7.default], ["paragra\ ph", W7.default], ["presentation", Y7.default], ["progressbar", K7.default], ["radio", X7.default], ["radiogroup", J7.default], ["region", Q7. default], ["row", Z7.default], ["rowgroup", eK.default], ["rowheader", tK.default], ["scrollbar", rK.default], ["search", nK.default], ["s\ earchbox", oK.default], ["separator", iK.default], ["slider", sK.default], ["spinbutton", aK.default], ["status", lK.default], ["strong", uK. default], ["subscript", cK.default], ["superscript", dK.default], ["switch", pK.default], ["tab", fK.default], ["table", mK.default], ["ta\ blist", hK.default], ["tabpanel", yK.default], ["term", bK.default], ["textbox", gK.default], ["time", vK.default], ["timer", EK.default], [ "toolbar", xK.default], ["tooltip", wK.default], ["tree", SK.default], ["treegrid", RK.default], ["treeitem", TK.default]], _Oe = kc.default = _K; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js var CO = y((Lc) => { "use strict"; Object.defineProperty(Lc, "__esModule", { value: !0 }); Lc.default = void 0; var CK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "abstract [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, AOe = Lc.default = CK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js var PO = y((Fc) => { "use strict"; Object.defineProperty(Fc, "__esModule", { value: !0 }); Fc.default = void 0; var PK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "acknowledgments [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, qOe = Fc.default = PK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js var AO = y((Dc) => { "use strict"; Object.defineProperty(Dc, "__esModule", { value: !0 }); Dc.default = void 0; var AK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "afterword [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, MOe = Dc.default = AK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js var OO = y(($c) => { "use strict"; Object.defineProperty($c, "__esModule", { value: !0 }); $c.default = void 0; var OK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "appendix [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, jOe = $c.default = OK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js var qO = y((Bc) => { "use strict"; Object.defineProperty(Bc, "__esModule", { value: !0 }); Bc.default = void 0; var qK = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "referrer [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, LOe = Bc.default = qK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js var IO = y((Uc) => { "use strict"; Object.defineProperty(Uc, "__esModule", { value: !0 }); Uc.default = void 0; var IK = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "EPUB biblioentry [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: ["doc-bibliography"], requiredContextRole: ["doc-bibliography"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "listitem"]] }, DOe = Uc.default = IK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js var MO = y((Hc) => { "use strict"; Object.defineProperty(Hc, "__esModule", { value: !0 }); Hc.default = void 0; var MK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "bibliography [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["doc-biblioentry"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, BOe = Hc.default = MK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js var NO = y((Vc) => { "use strict"; Object.defineProperty(Vc, "__esModule", { value: !0 }); Vc.default = void 0; var NK = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "biblioref [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, HOe = Vc.default = NK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js var jO = y((zc) => { "use strict"; Object.defineProperty(zc, "__esModule", { value: !0 }); zc.default = void 0; var jK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "chapter [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, zOe = zc.default = jK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js var kO = y((Gc) => { "use strict"; Object.defineProperty(Gc, "__esModule", { value: !0 }); Gc.default = void 0; var kK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "colophon [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, WOe = Gc.default = kK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js var LO = y((Wc) => { "use strict"; Object.defineProperty(Wc, "__esModule", { value: !0 }); Wc.default = void 0; var LK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "conclusion [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, KOe = Wc.default = LK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js var FO = y((Yc) => { "use strict"; Object.defineProperty(Yc, "__esModule", { value: !0 }); Yc.default = void 0; var FK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "cover [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "img"]] }, JOe = Yc.default = FK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js var DO = y((Kc) => { "use strict"; Object.defineProperty(Kc, "__esModule", { value: !0 }); Kc.default = void 0; var DK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "credit [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, ZOe = Kc.default = DK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js var $O = y((Xc) => { "use strict"; Object.defineProperty(Xc, "__esModule", { value: !0 }); Xc.default = void 0; var $K = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "credits [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, tqe = Xc.default = $K; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js var BO = y((Jc) => { "use strict"; Object.defineProperty(Jc, "__esModule", { value: !0 }); Jc.default = void 0; var BK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "dedication [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, nqe = Jc.default = BK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js var UO = y((Qc) => { "use strict"; Object.defineProperty(Qc, "__esModule", { value: !0 }); Qc.default = void 0; var UK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "rearnote [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: ["doc-endnotes"], requiredContextRole: ["doc-endnotes"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "listitem"]] }, iqe = Qc.default = UK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js var HO = y((Zc) => { "use strict"; Object.defineProperty(Zc, "__esModule", { value: !0 }); Zc.default = void 0; var HK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "rearnotes [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["doc-endnote"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, aqe = Zc.default = HK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js var VO = y((ed) => { "use strict"; Object.defineProperty(ed, "__esModule", { value: !0 }); ed.default = void 0; var VK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "epigraph [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, uqe = ed.default = VK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js var zO = y((td) => { "use strict"; Object.defineProperty(td, "__esModule", { value: !0 }); td.default = void 0; var zK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "epilogue [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, dqe = td.default = zK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js var GO = y((rd) => { "use strict"; Object.defineProperty(rd, "__esModule", { value: !0 }); rd.default = void 0; var GK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "errata [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, fqe = rd.default = GK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js var WO = y((nd) => { "use strict"; Object.defineProperty(nd, "__esModule", { value: !0 }); nd.default = void 0; var WK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, hqe = nd.default = WK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js var YO = y((od) => { "use strict"; Object.defineProperty(od, "__esModule", { value: !0 }); od.default = void 0; var YK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "footnote [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, bqe = od.default = YK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js var KO = y((id) => { "use strict"; Object.defineProperty(id, "__esModule", { value: !0 }); id.default = void 0; var KK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "foreword [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, vqe = id.default = KK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js var XO = y((sd) => { "use strict"; Object.defineProperty(sd, "__esModule", { value: !0 }); sd.default = void 0; var XK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "glossary [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["definition"], ["term"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, xqe = sd.default = XK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js var JO = y((ad) => { "use strict"; Object.defineProperty(ad, "__esModule", { value: !0 }); ad.default = void 0; var JK = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "glossref [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, Sqe = ad.default = JK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js var QO = y((ld) => { "use strict"; Object.defineProperty(ld, "__esModule", { value: !0 }); ld.default = void 0; var QK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "index [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark", "navigation"]] }, Tqe = ld.default = QK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js var ZO = y((ud) => { "use strict"; Object.defineProperty(ud, "__esModule", { value: !0 }); ud.default = void 0; var ZK = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "introduction [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Cqe = ud.default = ZK; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js var eq = y((cd) => { "use strict"; Object.defineProperty(cd, "__esModule", { value: !0 }); cd.default = void 0; var eX = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "noteref [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, Aqe = cd.default = eX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js var tq = y((dd) => { "use strict"; Object.defineProperty(dd, "__esModule", { value: !0 }); dd.default = void 0; var tX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "notice [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "note"]] }, qqe = dd.default = tX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js var rq = y((pd) => { "use strict"; Object.defineProperty(pd, "__esModule", { value: !0 }); pd.default = void 0; var rX = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "pagebreak [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "separator"]] }, Mqe = pd.default = rX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js var nq = y((fd) => { "use strict"; Object.defineProperty(fd, "__esModule", { value: !0 }); fd.default = void 0; var nX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: [], props: { "aria-braillelabel": null, "aria-brailleroledescription": null, "aria-description": null, "aria-disabled": null, "aria-errormessage": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, jqe = fd.default = nX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js var oq = y((md) => { "use strict"; Object.defineProperty(md, "__esModule", { value: !0 }); md.default = void 0; var oX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: [], props: { "aria-braillelabel": null, "aria-brailleroledescription": null, "aria-description": null, "aria-disabled": null, "aria-errormessage": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Lqe = md.default = oX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js var iq = y((hd) => { "use strict"; Object.defineProperty(hd, "__esModule", { value: !0 }); hd.default = void 0; var iX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "page-list [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark", "navigation"]] }, Dqe = hd.default = iX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js var sq = y((yd) => { "use strict"; Object.defineProperty(yd, "__esModule", { value: !0 }); yd.default = void 0; var sX = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "part [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Bqe = yd.default = sX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js var aq = y((bd) => { "use strict"; Object.defineProperty(bd, "__esModule", { value: !0 }); bd.default = void 0; var aX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "preface [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Hqe = bd.default = aX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js var lq = y((gd) => { "use strict"; Object.defineProperty(gd, "__esModule", { value: !0 }); gd.default = void 0; var lX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "prologue [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, zqe = gd.default = lX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js var uq = y((vd) => { "use strict"; Object.defineProperty(vd, "__esModule", { value: !0 }); vd.default = void 0; var uX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "pullquote [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["none"]] }, Wqe = vd.default = uX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js var cq = y((Ed) => { "use strict"; Object.defineProperty(Ed, "__esModule", { value: !0 }); Ed.default = void 0; var cX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "qna [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Kqe = Ed.default = cX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js var dq = y((xd) => { "use strict"; Object.defineProperty(xd, "__esModule", { value: !0 }); xd.default = void 0; var dX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "subtitle [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "sectionhead"]] }, Jqe = xd.default = dX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js var pq = y((wd) => { "use strict"; Object.defineProperty(wd, "__esModule", { value: !0 }); wd.default = void 0; var pX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "help [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "note"]] }, Zqe = wd.default = pX; }); // ../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js var fq = y((Sd) => { "use strict"; Object.defineProperty(Sd, "__esModule", { value: !0 }); Sd.default = void 0; var fX = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "toc [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark", "navigation"]] }, t1e = Sd.default = fX; }); // ../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js var mq = y((Rd) => { "use strict"; Object.defineProperty(Rd, "__esModule", { value: !0 }); Rd.default = void 0; var mX = re(CO()), hX = re(PO()), yX = re(AO()), bX = re(OO()), gX = re(qO()), vX = re(IO()), EX = re(MO()), xX = re(NO()), wX = re(jO()), SX = re(kO()), RX = re(LO()), TX = re(FO()), _X = re(DO()), CX = re($O()), PX = re(BO()), AX = re(UO()), OX = re(HO()), qX = re(VO()), IX = re( zO()), MX = re(GO()), NX = re(WO()), jX = re(YO()), kX = re(KO()), LX = re(XO()), FX = re(JO()), DX = re(QO()), $X = re(ZO()), BX = re(eq()), UX = re(tq()), HX = re(rq()), VX = re(nq()), zX = re(oq()), GX = re(iq()), WX = re(sq()), YX = re(aq()), KX = re(lq()), XX = re(uq()), JX = re( cq()), QX = re(dq()), ZX = re(pq()), eJ = re(fq()); function re(e) { return e && e.__esModule ? e : { default: e }; } o(re, "_interopRequireDefault"); var tJ = [["doc-abstract", mX.default], ["doc-acknowledgments", hX.default], ["doc-afterword", yX.default], ["doc-appendix", bX.default], [ "doc-backlink", gX.default], ["doc-biblioentry", vX.default], ["doc-bibliography", EX.default], ["doc-biblioref", xX.default], ["doc-chapt\ er", wX.default], ["doc-colophon", SX.default], ["doc-conclusion", RX.default], ["doc-cover", TX.default], ["doc-credit", _X.default], ["doc\ -credits", CX.default], ["doc-dedication", PX.default], ["doc-endnote", AX.default], ["doc-endnotes", OX.default], ["doc-epigraph", qX.default], ["doc-epilogue", IX.default], ["doc-errata", MX.default], ["doc-example", NX.default], ["doc-footnote", jX.default], ["doc-foreword", kX.default], ["doc-glossary", LX.default], ["doc-glossref", FX.default], ["doc-index", DX.default], ["doc-introduction", $X.default], ["doc-noteref", BX. default], ["doc-notice", UX.default], ["doc-pagebreak", HX.default], ["doc-pagefooter", VX.default], ["doc-pageheader", zX.default], ["doc\ -pagelist", GX.default], ["doc-part", WX.default], ["doc-preface", YX.default], ["doc-prologue", KX.default], ["doc-pullquote", XX.default], ["doc-qna", JX.default], ["doc-subtitle", QX.default], ["doc-tip", ZX.default], ["doc-toc", eJ.default]], n1e = Rd.default = tJ; }); // ../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js var hq = y((Td) => { "use strict"; Object.defineProperty(Td, "__esModule", { value: !0 }); Td.default = void 0; var rJ = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ module: "GRAPHICS", concept: { name: "graphics-object" } }, { module: "ARIA", concept: { name: "img" } }, { module: "ARIA", concept: { name: "article" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "document"]] }, s1e = Td.default = rJ; }); // ../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js var yq = y((_d) => { "use strict"; Object.defineProperty(_d, "__esModule", { value: !0 }); _d.default = void 0; var nJ = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ module: "GRAPHICS", concept: { name: "graphics-document" } }, { module: "ARIA", concept: { name: "group" } }, { module: "ARIA", concept: { name: "img" } }, { module: "GRAPHICS", concept: { name: "graphics-symbol" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "group"]] }, l1e = _d.default = nJ; }); // ../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js var bq = y((Cd) => { "use strict"; Object.defineProperty(Cd, "__esModule", { value: !0 }); Cd.default = void 0; var oJ = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "img"]] }, c1e = Cd.default = oJ; }); // ../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js var gq = y((Pd) => { "use strict"; Object.defineProperty(Pd, "__esModule", { value: !0 }); Pd.default = void 0; var iJ = xE(hq()), sJ = xE(yq()), aJ = xE(bq()); function xE(e) { return e && e.__esModule ? e : { default: e }; } o(xE, "_interopRequireDefault"); var lJ = [["graphics-document", iJ.default], ["graphics-object", sJ.default], ["graphics-symbol", aJ.default]], p1e = Pd.default = lJ; }); // ../node_modules/aria-query/lib/rolesMap.js var Od = y((Ad) => { "use strict"; Object.defineProperty(Ad, "__esModule", { value: !0 }); Ad.default = void 0; var uJ = ds(X0()), cJ = ds(_O()), dJ = ds(mq()), pJ = ds(gq()), fJ = ds(Oo()); function ds(e) { return e && e.__esModule ? e : { default: e }; } o(ds, "_interopRequireDefault"); function wE(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = Eq(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ o(function() { }, "F"); return { s: i, n: /* @__PURE__ */ o(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ o(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s, a = !0, l = !1; return { s: /* @__PURE__ */ o(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ o(function() { var c = r.next(); return a = c.done, c; }, "n"), e: /* @__PURE__ */ o(function(c) { l = !0, s = c; }, "e"), f: /* @__PURE__ */ o(function() { try { a || r.return == null || r.return(); } finally { if (l) throw s; } }, "f") }; } o(wE, "_createForOfIteratorHelper"); function cs(e, t) { return yJ(e) || hJ(e, t) || Eq(e, t) || mJ(); } o(cs, "_slicedToArray"); function mJ() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(mJ, "_nonIterableRest"); function Eq(e, t) { if (e) { if (typeof e == "string") return vq(e, t); var r = {}.toString.call(e).slice(8, -1); return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/. test(r) ? vq(e, t) : void 0; } } o(Eq, "_unsupportedIterableToArray"); function vq(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r]; return n; } o(vq, "_arrayLikeToArray"); function hJ(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n, i, s, a, l = [], u = !0, c = !1; try { if (s = (r = r.call(e)).next, t === 0) { if (Object(r) !== r) return; u = !1; } else for (; !(u = (n = s.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ; } catch (d) { c = !0, i = d; } finally { try { if (!u && r.return != null && (a = r.return(), Object(a) !== a)) return; } finally { if (c) throw i; } } return l; } } o(hJ, "_iterableToArrayLimit"); function yJ(e) { if (Array.isArray(e)) return e; } o(yJ, "_arrayWithHoles"); var Dr = [].concat(uJ.default, cJ.default, dJ.default, pJ.default); Dr.forEach(function(e) { var t = cs(e, 2), r = t[1], n = wE(r.superClass), i; try { for (n.s(); !(i = n.n()).done; ) { var s = i.value, a = wE(s), l; try { var u = /* @__PURE__ */ o(function() { var d = l.value, p = Dr.filter(function(v) { var g = cs(v, 1), w = g[0]; return w === d; })[0]; if (p) for (var f = p[1], m = 0, h = Object.keys(f.props); m < h.length; m++) { var b = h[m]; Object.prototype.hasOwnProperty.call(r.props, b) || (r.props[b] = f.props[b]); } }, "_loop"); for (a.s(); !(l = a.n()).done; ) u(); } catch (c) { a.e(c); } finally { a.f(); } } } catch (c) { n.e(c); } finally { n.f(); } }); var SE = { entries: /* @__PURE__ */ o(function() { return Dr; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = wE(Dr), i; try { for (n.s(); !(i = n.n()).done; ) { var s = cs(i.value, 2), a = s[0], l = s[1]; t.call(r, l, a, Dr); } } catch (u) { n.e(u); } finally { n.f(); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = Dr.filter(function(n) { return n[0] === t; })[0]; return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!SE.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return Dr.map(function(t) { var r = cs(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return Dr.map(function(t) { var r = cs(t, 2), n = r[1]; return n; }); }, "values") }, h1e = Ad.default = (0, fJ.default)(SE, SE.entries()); }); // ../node_modules/aria-query/lib/elementRoleMap.js var Cq = y((jd) => { "use strict"; Object.defineProperty(jd, "__esModule", { value: !0 }); jd.default = void 0; var bJ = Tq(Oo()), Rq = Tq(Od()); function Tq(e) { return e && e.__esModule ? e : { default: e }; } o(Tq, "_interopRequireDefault"); function RE(e, t) { return xJ(e) || EJ(e, t) || vJ(e, t) || gJ(); } o(RE, "_slicedToArray"); function gJ() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(gJ, "_nonIterableRest"); function vJ(e, t) { if (e) { if (typeof e == "string") return xq(e, t); var r = {}.toString.call(e).slice(8, -1); return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/. test(r) ? xq(e, t) : void 0; } } o(vJ, "_unsupportedIterableToArray"); function xq(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r]; return n; } o(xq, "_arrayLikeToArray"); function EJ(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n, i, s, a, l = [], u = !0, c = !1; try { if (s = (r = r.call(e)).next, t === 0) { if (Object(r) !== r) return; u = !1; } else for (; !(u = (n = s.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ; } catch (d) { c = !0, i = d; } finally { try { if (!u && r.return != null && (a = r.return(), Object(a) !== a)) return; } finally { if (c) throw i; } } return l; } } o(EJ, "_iterableToArrayLimit"); function xJ(e) { if (Array.isArray(e)) return e; } o(xJ, "_arrayWithHoles"); var $r = [], wq = Rq.default.keys(); for (qd = 0; qd < wq.length; qd++) if (Id = wq[qd], Md = Rq.default.get(Id), Md) for (TE = [].concat(Md.baseConcepts, Md.relatedConcepts), Sq = /* @__PURE__ */ o(function() { var t = TE[Nd]; if (t.module === "HTML") { var r = t.concept; if (r) { var n = $r.filter(function(l) { return wJ(l[0], r); })[0], i; n ? i = n[1] : i = []; for (var s = !0, a = 0; a < i.length; a++) if (i[a] === Id) { s = !1; break; } s && i.push(Id), n || $r.push([r, i]); } } }, "_loop"), Nd = 0; Nd < TE.length; Nd++) Sq(); var Id, Md, TE, Sq, Nd, qd, _E = { entries: /* @__PURE__ */ o(function() { return $r; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = $r; n < i.length; n++) { var s = RE(i[n], 2), a = s[0], l = s[1]; t.call(r, l, a, $r); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = $r.filter(function(n) { return t.name === n[0].name && _q(t.attributes, n[0].attributes); })[0]; return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!_E.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return $r.map(function(t) { var r = RE(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return $r.map(function(t) { var r = RE(t, 2), n = r[1]; return n; }); }, "values") }; function wJ(e, t) { return e.name === t.name && SJ(e.constraints, t.constraints) && _q(e.attributes, t.attributes); } o(wJ, "ariaRoleRelationConceptEquals"); function SJ(e, t) { if (e === void 0 && t !== void 0 || e !== void 0 && t === void 0) return !1; if (e !== void 0 && t !== void 0) { if (e.length !== t.length) return !1; for (var r = 0; r < e.length; r++) if (e[r] !== t[r]) return !1; } return !0; } o(SJ, "ariaRoleRelationConstraintsEquals"); function _q(e, t) { if (e === void 0 && t !== void 0 || e !== void 0 && t === void 0) return !1; if (e !== void 0 && t !== void 0) { if (e.length !== t.length) return !1; for (var r = 0; r < e.length; r++) { if (e[r].name !== t[r].name || e[r].value !== t[r].value || e[r].constraints === void 0 && t[r].constraints !== void 0 || e[r].constraints !== void 0 && t[r].constraints === void 0) return !1; if (e[r].constraints !== void 0 && t[r].constraints !== void 0) { if (e[r].constraints.length !== t[r].constraints.length) return !1; for (var n = 0; n < e[r].constraints.length; n++) if (e[r].constraints[n] !== t[r].constraints[n]) return !1; } } } return !0; } o(_q, "ariaRoleRelationConceptAttributeEquals"); var g1e = jd.default = (0, bJ.default)(_E, _E.entries()); }); // ../node_modules/aria-query/lib/roleElementMap.js var Iq = y(($d) => { "use strict"; Object.defineProperty($d, "__esModule", { value: !0 }); $d.default = void 0; var RJ = qq(Oo()), Oq = qq(Od()); function qq(e) { return e && e.__esModule ? e : { default: e }; } o(qq, "_interopRequireDefault"); function CE(e, t) { return PJ(e) || CJ(e, t) || _J(e, t) || TJ(); } o(CE, "_slicedToArray"); function TJ() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(TJ, "_nonIterableRest"); function _J(e, t) { if (e) { if (typeof e == "string") return Pq(e, t); var r = {}.toString.call(e).slice(8, -1); return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/. test(r) ? Pq(e, t) : void 0; } } o(_J, "_unsupportedIterableToArray"); function Pq(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r]; return n; } o(Pq, "_arrayLikeToArray"); function CJ(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n, i, s, a, l = [], u = !0, c = !1; try { if (s = (r = r.call(e)).next, t === 0) { if (Object(r) !== r) return; u = !1; } else for (; !(u = (n = s.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) ; } catch (d) { c = !0, i = d; } finally { try { if (!u && r.return != null && (a = r.return(), Object(a) !== a)) return; } finally { if (c) throw i; } } return l; } } o(CJ, "_iterableToArrayLimit"); function PJ(e) { if (Array.isArray(e)) return e; } o(PJ, "_arrayWithHoles"); var _n = [], Aq = Oq.default.keys(); for (kd = 0; kd < Aq.length; kd++) if (PE = Aq[kd], Ld = Oq.default.get(PE), Fd = [], Ld) { for (AE = [].concat(Ld.baseConcepts, Ld.relatedConcepts), Dd = 0; Dd < AE.length; Dd++) OE = AE[Dd], OE.module === "HTML" && (qE = OE.concept, qE != null && Fd.push(qE)); Fd.length > 0 && _n.push([PE, Fd]); } var PE, Ld, Fd, AE, OE, qE, Dd, kd, IE = { entries: /* @__PURE__ */ o(function() { return _n; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = _n; n < i.length; n++) { var s = CE(i[n], 2), a = s[0], l = s[1]; t.call(r, l, a, _n); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = _n.filter(function(n) { return n[0] === t; })[0]; return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!IE.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return _n.map(function(t) { var r = CE(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return _n.map(function(t) { var r = CE(t, 2), n = r[1]; return n; }); }, "values") }, x1e = $d.default = (0, RJ.default)(IE, IE.entries()); }); // ../node_modules/aria-query/lib/index.js var ME = y((Ot) => { "use strict"; Object.defineProperty(Ot, "__esModule", { value: !0 }); Ot.roles = Ot.roleElements = Ot.elementRoles = Ot.dom = Ot.aria = void 0; var AJ = ps(j0()), OJ = ps(L0()), qJ = ps(Od()), IJ = ps(Cq()), MJ = ps(Iq()); function ps(e) { return e && e.__esModule ? e : { default: e }; } o(ps, "_interopRequireDefault"); var R1e = Ot.aria = AJ.default, T1e = Ot.dom = OJ.default, _1e = Ot.roles = qJ.default, C1e = Ot.elementRoles = IJ.default, P1e = Ot.roleElements = MJ.default; }); // ../node_modules/color-name/index.js var Nq = y((q1e, Mq) => { "use strict"; Mq.exports = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] }; }); // ../node_modules/color-convert/conversions.js var NE = y((I1e, kq) => { var fs = Nq(), jq = {}; for (let e of Object.keys(fs)) jq[fs[e]] = e; var z = { rgb: { channels: 3, labels: "rgb" }, hsl: { channels: 3, labels: "hsl" }, hsv: { channels: 3, labels: "hsv" }, hwb: { channels: 3, labels: "hwb" }, cmyk: { channels: 4, labels: "cmyk" }, xyz: { channels: 3, labels: "xyz" }, lab: { channels: 3, labels: "lab" }, lch: { channels: 3, labels: "lch" }, hex: { channels: 1, labels: ["hex"] }, keyword: { channels: 1, labels: ["keyword"] }, ansi16: { channels: 1, labels: ["ansi16"] }, ansi256: { channels: 1, labels: ["ansi256"] }, hcg: { channels: 3, labels: ["h", "c", "g"] }, apple: { channels: 3, labels: ["r16", "g16", "b16"] }, gray: { channels: 1, labels: ["gray"] } }; kq.exports = z; for (let e of Object.keys(z)) { if (!("channels" in z[e])) throw new Error("missing channels property: " + e); if (!("labels" in z[e])) throw new Error("missing channel labels property: " + e); if (z[e].labels.length !== z[e].channels) throw new Error("channel and label counts mismatch: " + e); let { channels: t, labels: r } = z[e]; delete z[e].channels, delete z[e].labels, Object.defineProperty(z[e], "channels", { value: t }), Object.defineProperty(z[e], "labels", { value: r }); } z.rgb.hsl = function(e) { let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.min(t, r, n), s = Math.max(t, r, n), a = s - i, l, u; s === i ? l = 0 : t === s ? l = (r - n) / a : r === s ? l = 2 + (n - t) / a : n === s && (l = 4 + (t - r) / a), l = Math.min(l * 60, 360), l < 0 && (l += 360); let c = (i + s) / 2; return s === i ? u = 0 : c <= 0.5 ? u = a / (s + i) : u = a / (2 - s - i), [l, u * 100, c * 100]; }; z.rgb.hsv = function(e) { let t, r, n, i, s, a = e[0] / 255, l = e[1] / 255, u = e[2] / 255, c = Math.max(a, l, u), d = c - Math.min(a, l, u), p = /* @__PURE__ */ o( function(f) { return (c - f) / 6 / d + 1 / 2; }, "diffc"); return d === 0 ? (i = 0, s = 0) : (s = d / c, t = p(a), r = p(l), n = p(u), a === c ? i = n - r : l === c ? i = 1 / 3 + t - n : u === c && (i = 2 / 3 + r - t), i < 0 ? i += 1 : i > 1 && (i -= 1)), [ i * 360, s * 100, c * 100 ]; }; z.rgb.hwb = function(e) { let t = e[0], r = e[1], n = e[2], i = z.rgb.hsl(e)[0], s = 1 / 255 * Math.min(t, Math.min(r, n)); return n = 1 - 1 / 255 * Math.max(t, Math.max(r, n)), [i, s * 100, n * 100]; }; z.rgb.cmyk = function(e) { let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.min(1 - t, 1 - r, 1 - n), s = (1 - t - i) / (1 - i) || 0, a = (1 - r - i) / (1 - i) || 0, l = (1 - n - i) / (1 - i) || 0; return [s * 100, a * 100, l * 100, i * 100]; }; function NJ(e, t) { return (e[0] - t[0]) ** 2 + (e[1] - t[1]) ** 2 + (e[2] - t[2]) ** 2; } o(NJ, "comparativeDistance"); z.rgb.keyword = function(e) { let t = jq[e]; if (t) return t; let r = 1 / 0, n; for (let i of Object.keys(fs)) { let s = fs[i], a = NJ(e, s); a < r && (r = a, n = i); } return n; }; z.keyword.rgb = function(e) { return fs[e]; }; z.rgb.xyz = function(e) { let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255; t = t > 0.04045 ? ((t + 0.055) / 1.055) ** 2.4 : t / 12.92, r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92, n = n > 0.04045 ? ((n + 0.055) / 1.055) ** 2.4 : n / 12.92; let i = t * 0.4124 + r * 0.3576 + n * 0.1805, s = t * 0.2126 + r * 0.7152 + n * 0.0722, a = t * 0.0193 + r * 0.1192 + n * 0.9505; return [i * 100, s * 100, a * 100]; }; z.rgb.lab = function(e) { let t = z.rgb.xyz(e), r = t[0], n = t[1], i = t[2]; r /= 95.047, n /= 100, i /= 108.883, r = r > 8856e-6 ? r ** (1 / 3) : 7.787 * r + 16 / 116, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n + 16 / 116, i = i > 8856e-6 ? i ** (1 / 3) : 7.787 * i + 16 / 116; let s = 116 * n - 16, a = 500 * (r - n), l = 200 * (n - i); return [s, a, l]; }; z.hsl.rgb = function(e) { let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, i, s, a; if (r === 0) return a = n * 255, [a, a, a]; n < 0.5 ? i = n * (1 + r) : i = n + r - n * r; let l = 2 * n - i, u = [0, 0, 0]; for (let c = 0; c < 3; c++) s = t + 1 / 3 * -(c - 1), s < 0 && s++, s > 1 && s--, 6 * s < 1 ? a = l + (i - l) * 6 * s : 2 * s < 1 ? a = i : 3 * s < 2 ? a = l + (i - l) * (2 / 3 - s) * 6 : a = l, u[c] = a * 255; return u; }; z.hsl.hsv = function(e) { let t = e[0], r = e[1] / 100, n = e[2] / 100, i = r, s = Math.max(n, 0.01); n *= 2, r *= n <= 1 ? n : 2 - n, i *= s <= 1 ? s : 2 - s; let a = (n + r) / 2, l = n === 0 ? 2 * i / (s + i) : 2 * r / (n + r); return [t, l * 100, a * 100]; }; z.hsv.rgb = function(e) { let t = e[0] / 60, r = e[1] / 100, n = e[2] / 100, i = Math.floor(t) % 6, s = t - Math.floor(t), a = 255 * n * (1 - r), l = 255 * n * (1 - r * s), u = 255 * n * (1 - r * (1 - s)); switch (n *= 255, i) { case 0: return [n, u, a]; case 1: return [l, n, a]; case 2: return [a, n, u]; case 3: return [a, l, n]; case 4: return [u, a, n]; case 5: return [n, a, l]; } }; z.hsv.hsl = function(e) { let t = e[0], r = e[1] / 100, n = e[2] / 100, i = Math.max(n, 0.01), s, a; a = (2 - r) * n; let l = (2 - r) * i; return s = r * i, s /= l <= 1 ? l : 2 - l, s = s || 0, a /= 2, [t, s * 100, a * 100]; }; z.hwb.rgb = function(e) { let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, i = r + n, s; i > 1 && (r /= i, n /= i); let a = Math.floor(6 * t), l = 1 - n; s = 6 * t - a, (a & 1) !== 0 && (s = 1 - s); let u = r + s * (l - r), c, d, p; switch (a) { default: case 6: case 0: c = l, d = u, p = r; break; case 1: c = u, d = l, p = r; break; case 2: c = r, d = l, p = u; break; case 3: c = r, d = u, p = l; break; case 4: c = u, d = r, p = l; break; case 5: c = l, d = r, p = u; break; } return [c * 255, d * 255, p * 255]; }; z.cmyk.rgb = function(e) { let t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, i = e[3] / 100, s = 1 - Math.min(1, t * (1 - i) + i), a = 1 - Math.min(1, r * (1 - i) + i), l = 1 - Math.min(1, n * (1 - i) + i); return [s * 255, a * 255, l * 255]; }; z.xyz.rgb = function(e) { let t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, i, s, a; return i = t * 3.2406 + r * -1.5372 + n * -0.4986, s = t * -0.9689 + r * 1.8758 + n * 0.0415, a = t * 0.0557 + r * -0.204 + n * 1.057, i = i > 31308e-7 ? 1.055 * i ** (1 / 2.4) - 0.055 : i * 12.92, s = s > 31308e-7 ? 1.055 * s ** (1 / 2.4) - 0.055 : s * 12.92, a = a > 31308e-7 ? 1.055 * a ** (1 / 2.4) - 0.055 : a * 12.92, i = Math.min(Math.max(0, i), 1), s = Math.min(Math.max(0, s), 1), a = Math.min(Math.max(0, a), 1), [i * 255, s * 255, a * 255]; }; z.xyz.lab = function(e) { let t = e[0], r = e[1], n = e[2]; t /= 95.047, r /= 100, n /= 108.883, t = t > 8856e-6 ? t ** (1 / 3) : 7.787 * t + 16 / 116, r = r > 8856e-6 ? r ** (1 / 3) : 7.787 * r + 16 / 116, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n + 16 / 116; let i = 116 * r - 16, s = 500 * (t - r), a = 200 * (r - n); return [i, s, a]; }; z.lab.xyz = function(e) { let t = e[0], r = e[1], n = e[2], i, s, a; s = (t + 16) / 116, i = r / 500 + s, a = s - n / 200; let l = s ** 3, u = i ** 3, c = a ** 3; return s = l > 8856e-6 ? l : (s - 16 / 116) / 7.787, i = u > 8856e-6 ? u : (i - 16 / 116) / 7.787, a = c > 8856e-6 ? c : (a - 16 / 116) / 7.787, i *= 95.047, s *= 100, a *= 108.883, [i, s, a]; }; z.lab.lch = function(e) { let t = e[0], r = e[1], n = e[2], i; i = Math.atan2(n, r) * 360 / 2 / Math.PI, i < 0 && (i += 360); let a = Math.sqrt(r * r + n * n); return [t, a, i]; }; z.lch.lab = function(e) { let t = e[0], r = e[1], i = e[2] / 360 * 2 * Math.PI, s = r * Math.cos(i), a = r * Math.sin(i); return [t, s, a]; }; z.rgb.ansi16 = function(e, t = null) { let [r, n, i] = e, s = t === null ? z.rgb.hsv(e)[2] : t; if (s = Math.round(s / 50), s === 0) return 30; let a = 30 + (Math.round(i / 255) << 2 | Math.round(n / 255) << 1 | Math.round(r / 255)); return s === 2 && (a += 60), a; }; z.hsv.ansi16 = function(e) { return z.rgb.ansi16(z.hsv.rgb(e), e[2]); }; z.rgb.ansi256 = function(e) { let t = e[0], r = e[1], n = e[2]; return t === r && r === n ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math. round(r / 255 * 5) + Math.round(n / 255 * 5); }; z.ansi16.rgb = function(e) { let t = e % 10; if (t === 0 || t === 7) return e > 50 && (t += 3.5), t = t / 10.5 * 255, [t, t, t]; let r = (~~(e > 50) + 1) * 0.5, n = (t & 1) * r * 255, i = (t >> 1 & 1) * r * 255, s = (t >> 2 & 1) * r * 255; return [n, i, s]; }; z.ansi256.rgb = function(e) { if (e >= 232) { let s = (e - 232) * 10 + 8; return [s, s, s]; } e -= 16; let t, r = Math.floor(e / 36) / 5 * 255, n = Math.floor((t = e % 36) / 6) / 5 * 255, i = t % 6 / 5 * 255; return [r, n, i]; }; z.rgb.hex = function(e) { let r = (((Math.round(e[0]) & 255) << 16) + ((Math.round(e[1]) & 255) << 8) + (Math.round(e[2]) & 255)).toString(16).toUpperCase(); return "000000".substring(r.length) + r; }; z.hex.rgb = function(e) { let t = e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); if (!t) return [0, 0, 0]; let r = t[0]; t[0].length === 3 && (r = r.split("").map((l) => l + l).join("")); let n = parseInt(r, 16), i = n >> 16 & 255, s = n >> 8 & 255, a = n & 255; return [i, s, a]; }; z.rgb.hcg = function(e) { let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.max(Math.max(t, r), n), s = Math.min(Math.min(t, r), n), a = i - s, l, u; return a < 1 ? l = s / (1 - a) : l = 0, a <= 0 ? u = 0 : i === t ? u = (r - n) / a % 6 : i === r ? u = 2 + (n - t) / a : u = 4 + (t - r) / a, u /= 6, u %= 1, [u * 360, a * 100, l * 100]; }; z.hsl.hcg = function(e) { let t = e[1] / 100, r = e[2] / 100, n = r < 0.5 ? 2 * t * r : 2 * t * (1 - r), i = 0; return n < 1 && (i = (r - 0.5 * n) / (1 - n)), [e[0], n * 100, i * 100]; }; z.hsv.hcg = function(e) { let t = e[1] / 100, r = e[2] / 100, n = t * r, i = 0; return n < 1 && (i = (r - n) / (1 - n)), [e[0], n * 100, i * 100]; }; z.hcg.rgb = function(e) { let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100; if (r === 0) return [n * 255, n * 255, n * 255]; let i = [0, 0, 0], s = t % 1 * 6, a = s % 1, l = 1 - a, u = 0; switch (Math.floor(s)) { case 0: i[0] = 1, i[1] = a, i[2] = 0; break; case 1: i[0] = l, i[1] = 1, i[2] = 0; break; case 2: i[0] = 0, i[1] = 1, i[2] = a; break; case 3: i[0] = 0, i[1] = l, i[2] = 1; break; case 4: i[0] = a, i[1] = 0, i[2] = 1; break; default: i[0] = 1, i[1] = 0, i[2] = l; } return u = (1 - r) * n, [ (r * i[0] + u) * 255, (r * i[1] + u) * 255, (r * i[2] + u) * 255 ]; }; z.hcg.hsv = function(e) { let t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t), i = 0; return n > 0 && (i = t / n), [e[0], i * 100, n * 100]; }; z.hcg.hsl = function(e) { let t = e[1] / 100, n = e[2] / 100 * (1 - t) + 0.5 * t, i = 0; return n > 0 && n < 0.5 ? i = t / (2 * n) : n >= 0.5 && n < 1 && (i = t / (2 * (1 - n))), [e[0], i * 100, n * 100]; }; z.hcg.hwb = function(e) { let t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t); return [e[0], (n - t) * 100, (1 - n) * 100]; }; z.hwb.hcg = function(e) { let t = e[1] / 100, n = 1 - e[2] / 100, i = n - t, s = 0; return i < 1 && (s = (n - i) / (1 - i)), [e[0], i * 100, s * 100]; }; z.apple.rgb = function(e) { return [e[0] / 65535 * 255, e[1] / 65535 * 255, e[2] / 65535 * 255]; }; z.rgb.apple = function(e) { return [e[0] / 255 * 65535, e[1] / 255 * 65535, e[2] / 255 * 65535]; }; z.gray.rgb = function(e) { return [e[0] / 100 * 255, e[0] / 100 * 255, e[0] / 100 * 255]; }; z.gray.hsl = function(e) { return [0, 0, e[0]]; }; z.gray.hsv = z.gray.hsl; z.gray.hwb = function(e) { return [0, 100, e[0]]; }; z.gray.cmyk = function(e) { return [0, 0, 0, e[0]]; }; z.gray.lab = function(e) { return [e[0], 0, 0]; }; z.gray.hex = function(e) { let t = Math.round(e[0] / 100 * 255) & 255, n = ((t << 16) + (t << 8) + t).toString(16).toUpperCase(); return "000000".substring(n.length) + n; }; z.rgb.gray = function(e) { return [(e[0] + e[1] + e[2]) / 3 / 255 * 100]; }; }); // ../node_modules/color-convert/route.js var Fq = y((N1e, Lq) => { var Bd = NE(); function jJ() { let e = {}, t = Object.keys(Bd); for (let r = t.length, n = 0; n < r; n++) e[t[n]] = { // http://jsperf.com/1-vs-infinity // micro-opt, but this is simple. distance: -1, parent: null }; return e; } o(jJ, "buildGraph"); function kJ(e) { let t = jJ(), r = [e]; for (t[e].distance = 0; r.length; ) { let n = r.pop(), i = Object.keys(Bd[n]); for (let s = i.length, a = 0; a < s; a++) { let l = i[a], u = t[l]; u.distance === -1 && (u.distance = t[n].distance + 1, u.parent = n, r.unshift(l)); } } return t; } o(kJ, "deriveBFS"); function LJ(e, t) { return function(r) { return t(e(r)); }; } o(LJ, "link"); function FJ(e, t) { let r = [t[e].parent, e], n = Bd[t[e].parent][e], i = t[e].parent; for (; t[i].parent; ) r.unshift(t[i].parent), n = LJ(Bd[t[i].parent][i], n), i = t[i].parent; return n.conversion = r, n; } o(FJ, "wrapConversion"); Lq.exports = function(e) { let t = kJ(e), r = {}, n = Object.keys(t); for (let i = n.length, s = 0; s < i; s++) { let a = n[s]; t[a].parent !== null && (r[a] = FJ(a, t)); } return r; }; }); // ../node_modules/color-convert/index.js var $q = y((k1e, Dq) => { var jE = NE(), DJ = Fq(), Mo = {}, $J = Object.keys(jE); function BJ(e) { let t = /* @__PURE__ */ o(function(...r) { let n = r[0]; return n == null ? n : (n.length > 1 && (r = n), e(r)); }, "wrappedFn"); return "conversion" in e && (t.conversion = e.conversion), t; } o(BJ, "wrapRaw"); function UJ(e) { let t = /* @__PURE__ */ o(function(...r) { let n = r[0]; if (n == null) return n; n.length > 1 && (r = n); let i = e(r); if (typeof i == "object") for (let s = i.length, a = 0; a < s; a++) i[a] = Math.round(i[a]); return i; }, "wrappedFn"); return "conversion" in e && (t.conversion = e.conversion), t; } o(UJ, "wrapRounded"); $J.forEach((e) => { Mo[e] = {}, Object.defineProperty(Mo[e], "channels", { value: jE[e].channels }), Object.defineProperty(Mo[e], "labels", { value: jE[e].labels }); let t = DJ(e); Object.keys(t).forEach((n) => { let i = t[n]; Mo[e][n] = UJ(i), Mo[e][n].raw = BJ(i); }); }); Dq.exports = Mo; }); // ../node_modules/ansi-styles/index.js var Gq = y((F1e, zq) => { "use strict"; var Bq = /* @__PURE__ */ o((e, t) => (...r) => `\x1B[${e(...r) + t}m`, "wrapAnsi16"), Uq = /* @__PURE__ */ o((e, t) => (...r) => { let n = e(...r); return `\x1B[${38 + t};5;${n}m`; }, "wrapAnsi256"), Hq = /* @__PURE__ */ o((e, t) => (...r) => { let n = e(...r); return `\x1B[${38 + t};2;${n[0]};${n[1]};${n[2]}m`; }, "wrapAnsi16m"), Ud = /* @__PURE__ */ o((e) => e, "ansi2ansi"), Vq = /* @__PURE__ */ o((e, t, r) => [e, t, r], "rgb2rgb"), No = /* @__PURE__ */ o( (e, t, r) => { Object.defineProperty(e, t, { get: /* @__PURE__ */ o(() => { let n = r(); return Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0 }), n; }, "get"), enumerable: !0, configurable: !0 }); }, "setLazyProperty"), kE, jo = /* @__PURE__ */ o((e, t, r, n) => { kE === void 0 && (kE = $q()); let i = n ? 10 : 0, s = {}; for (let [a, l] of Object.entries(kE)) { let u = a === "ansi16" ? "ansi" : a; a === t ? s[u] = e(r, i) : typeof l == "object" && (s[u] = e(l[t], i)); } return s; }, "makeDynamicStyles"); function HJ() { let e = /* @__PURE__ */ new Map(), t = { modifier: { reset: [0, 0], // 21 isn't widely supported and 22 does the same thing bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], // Bright color blackBright: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], // Bright color bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } }; t.color.gray = t.color.blackBright, t.bgColor.bgGray = t.bgColor.bgBlackBright, t.color.grey = t.color.blackBright, t.bgColor.bgGrey = t. bgColor.bgBlackBright; for (let [r, n] of Object.entries(t)) { for (let [i, s] of Object.entries(n)) t[i] = { open: `\x1B[${s[0]}m`, close: `\x1B[${s[1]}m` }, n[i] = t[i], e.set(s[0], s[1]); Object.defineProperty(t, r, { value: n, enumerable: !1 }); } return Object.defineProperty(t, "codes", { value: e, enumerable: !1 }), t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", No(t.color, "ansi", () => jo(Bq, "ansi16", Ud, !1)), No(t.color, "ansi256", () => jo(Uq, "ansi256", Ud, !1)), No(t.color, "ansi16m", () => jo(Hq, "rgb", Vq, !1)), No(t.bgColor, "ansi", () => jo(Bq, "ansi16", Ud, !0)), No(t.bgColor, "ansi256", () => jo(Uq, "ansi256", Ud, !0)), No(t.bgColor, "ansi16m", () => jo(Hq, "rgb", Vq, !0)), t; } o(HJ, "assembleStyles"); Object.defineProperty(zq, "exports", { enumerable: !0, get: HJ }); }); // ../node_modules/supports-color/browser.js var Yq = y(($1e, Wq) => { "use strict"; Wq.exports = { stdout: !1, stderr: !1 }; }); // ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js var Xq = y((B1e, Kq) => { "use strict"; var VJ = /* @__PURE__ */ o((e, t, r) => { let n = e.indexOf(t); if (n === -1) return e; let i = t.length, s = 0, a = ""; do a += e.substr(s, n - s) + t + r, s = n + i, n = e.indexOf(t, s); while (n !== -1); return a += e.substr(s), a; }, "stringReplaceAll"), zJ = /* @__PURE__ */ o((e, t, r, n) => { let i = 0, s = ""; do { let a = e[n - 1] === "\r"; s += e.substr(i, (a ? n - 1 : n) - i) + t + (a ? `\r ` : ` `) + r, i = n + 1, n = e.indexOf(` `, i); } while (n !== -1); return s += e.substr(i), s; }, "stringEncaseCRLFWithFirstIndex"); Kq.exports = { stringReplaceAll: VJ, stringEncaseCRLFWithFirstIndex: zJ }; }); // ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js var t1 = y((H1e, e1) => { "use strict"; var GJ = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi, Jq = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, WJ = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, YJ = /\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi, KJ = /* @__PURE__ */ new Map([ ["n", ` `], ["r", "\r"], ["t", " "], ["b", "\b"], ["f", "\f"], ["v", "\v"], ["0", "\0"], ["\\", "\\"], ["e", "\x1B"], ["a", "\x07"] ]); function Zq(e) { let t = e[0] === "u", r = e[1] === "{"; return t && !r && e.length === 5 || e[0] === "x" && e.length === 3 ? String.fromCharCode(parseInt(e.slice(1), 16)) : t && r ? String.fromCodePoint( parseInt(e.slice(2, -1), 16)) : KJ.get(e) || e; } o(Zq, "unescape"); function XJ(e, t) { let r = [], n = t.trim().split(/\s*,\s*/g), i; for (let s of n) { let a = Number(s); if (!Number.isNaN(a)) r.push(a); else if (i = s.match(WJ)) r.push(i[2].replace(YJ, (l, u, c) => u ? Zq(u) : c)); else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`); } return r; } o(XJ, "parseArguments"); function JJ(e) { Jq.lastIndex = 0; let t = [], r; for (; (r = Jq.exec(e)) !== null; ) { let n = r[1]; if (r[2]) { let i = XJ(n, r[2]); t.push([n].concat(i)); } else t.push([n]); } return t; } o(JJ, "parseStyle"); function Qq(e, t) { let r = {}; for (let i of t) for (let s of i.styles) r[s[0]] = i.inverse ? null : s.slice(1); let n = e; for (let [i, s] of Object.entries(r)) if (Array.isArray(s)) { if (!(i in n)) throw new Error(`Unknown Chalk style: ${i}`); n = s.length > 0 ? n[i](...s) : n[i]; } return n; } o(Qq, "buildStyle"); e1.exports = (e, t) => { let r = [], n = [], i = []; if (t.replace(GJ, (s, a, l, u, c, d) => { if (a) i.push(Zq(a)); else if (u) { let p = i.join(""); i = [], n.push(r.length === 0 ? p : Qq(e, r)(p)), r.push({ inverse: l, styles: JJ(u) }); } else if (c) { if (r.length === 0) throw new Error("Found extraneous } in Chalk template literal"); n.push(Qq(e, r)(i.join(""))), i = [], r.pop(); } else i.push(d); }), n.push(i.join("")), r.length > 0) { let s = `Chalk template literal is missing ${r.length} closing bracket${r.length === 1 ? "" : "s"} (\`}\`)`; throw new Error(s); } return n.join(""); }; }); // ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js var HE = y((z1e, i1) => { "use strict"; var ms = Gq(), { stdout: FE, stderr: DE } = Yq(), { stringReplaceAll: QJ, stringEncaseCRLFWithFirstIndex: ZJ } = Xq(), r1 = [ "ansi", "ansi", "ansi256", "ansi16m" ], ko = /* @__PURE__ */ Object.create(null), eQ = /* @__PURE__ */ o((e, t = {}) => { if (t.level > 3 || t.level < 0) throw new Error("The `level` option should be an integer from 0 to 3"); let r = FE ? FE.level : 0; e.level = t.level === void 0 ? r : t.level; }, "applyOptions"), UE = class UE { constructor(t) { return n1(t); } }; o(UE, "ChalkClass"); var $E = UE, n1 = /* @__PURE__ */ o((e) => { let t = {}; return eQ(t, e), t.template = (...r) => nQ(t.template, ...r), Object.setPrototypeOf(t, Hd.prototype), Object.setPrototypeOf(t.template, t), t.template.constructor = () => { throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead."); }, t.template.Instance = $E, t.template; }, "chalkFactory"); function Hd(e) { return n1(e); } o(Hd, "Chalk"); for (let [e, t] of Object.entries(ms)) ko[e] = { get() { let r = Vd(this, BE(t.open, t.close, this._styler), this._isEmpty); return Object.defineProperty(this, e, { value: r }), r; } }; ko.visible = { get() { let e = Vd(this, this._styler, !0); return Object.defineProperty(this, "visible", { value: e }), e; } }; var o1 = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"]; for (let e of o1) ko[e] = { get() { let { level: t } = this; return function(...r) { let n = BE(ms.color[r1[t]][e](...r), ms.color.close, this._styler); return Vd(this, n, this._isEmpty); }; } }; for (let e of o1) { let t = "bg" + e[0].toUpperCase() + e.slice(1); ko[t] = { get() { let { level: r } = this; return function(...n) { let i = BE(ms.bgColor[r1[r]][e](...n), ms.bgColor.close, this._styler); return Vd(this, i, this._isEmpty); }; } }; } var tQ = Object.defineProperties(() => { }, { ...ko, level: { enumerable: !0, get() { return this._generator.level; }, set(e) { this._generator.level = e; } } }), BE = /* @__PURE__ */ o((e, t, r) => { let n, i; return r === void 0 ? (n = e, i = t) : (n = r.openAll + e, i = t + r.closeAll), { open: e, close: t, openAll: n, closeAll: i, parent: r }; }, "createStyler"), Vd = /* @__PURE__ */ o((e, t, r) => { let n = /* @__PURE__ */ o((...i) => rQ(n, i.length === 1 ? "" + i[0] : i.join(" ")), "builder"); return n.__proto__ = tQ, n._generator = e, n._styler = t, n._isEmpty = r, n; }, "createBuilder"), rQ = /* @__PURE__ */ o((e, t) => { if (e.level <= 0 || !t) return e._isEmpty ? "" : t; let r = e._styler; if (r === void 0) return t; let { openAll: n, closeAll: i } = r; if (t.indexOf("\x1B") !== -1) for (; r !== void 0; ) t = QJ(t, r.close, r.open), r = r.parent; let s = t.indexOf(` `); return s !== -1 && (t = ZJ(t, i, n, s)), n + t + i; }, "applyStyle"), LE, nQ = /* @__PURE__ */ o((e, ...t) => { let [r] = t; if (!Array.isArray(r)) return t.join(" "); let n = t.slice(1), i = [r.raw[0]]; for (let s = 1; s < r.length; s++) i.push( String(n[s - 1]).replace(/[{}\\]/g, "\\$&"), String(r.raw[s]) ); return LE === void 0 && (LE = t1()), LE(e, i.join("")); }, "chalkTag"); Object.defineProperties(Hd.prototype, ko); var hs = Hd(); hs.supportsColor = FE; hs.stderr = Hd({ level: DE ? DE.level : 0 }); hs.stderr.supportsColor = DE; hs.Level = { None: 0, Basic: 1, Ansi256: 2, TrueColor: 3, 0: "None", 1: "Basic", 2: "Ansi256", 3: "TrueColor" }; i1.exports = hs; }); // ../node_modules/lodash/_listCacheClear.js var a1 = y((W1e, s1) => { function oQ() { this.__data__ = [], this.size = 0; } o(oQ, "listCacheClear"); s1.exports = oQ; }); // ../node_modules/lodash/eq.js var VE = y((K1e, l1) => { function iQ(e, t) { return e === t || e !== e && t !== t; } o(iQ, "eq"); l1.exports = iQ; }); // ../node_modules/lodash/_assocIndexOf.js var ys = y((J1e, u1) => { var sQ = VE(); function aQ(e, t) { for (var r = e.length; r--; ) if (sQ(e[r][0], t)) return r; return -1; } o(aQ, "assocIndexOf"); u1.exports = aQ; }); // ../node_modules/lodash/_listCacheDelete.js var d1 = y((Z1e, c1) => { var lQ = ys(), uQ = Array.prototype, cQ = uQ.splice; function dQ(e) { var t = this.__data__, r = lQ(t, e); if (r < 0) return !1; var n = t.length - 1; return r == n ? t.pop() : cQ.call(t, r, 1), --this.size, !0; } o(dQ, "listCacheDelete"); c1.exports = dQ; }); // ../node_modules/lodash/_listCacheGet.js var f1 = y((tIe, p1) => { var pQ = ys(); function fQ(e) { var t = this.__data__, r = pQ(t, e); return r < 0 ? void 0 : t[r][1]; } o(fQ, "listCacheGet"); p1.exports = fQ; }); // ../node_modules/lodash/_listCacheHas.js var h1 = y((nIe, m1) => { var mQ = ys(); function hQ(e) { return mQ(this.__data__, e) > -1; } o(hQ, "listCacheHas"); m1.exports = hQ; }); // ../node_modules/lodash/_listCacheSet.js var b1 = y((iIe, y1) => { var yQ = ys(); function bQ(e, t) { var r = this.__data__, n = yQ(r, e); return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this; } o(bQ, "listCacheSet"); y1.exports = bQ; }); // ../node_modules/lodash/_ListCache.js var bs = y((aIe, g1) => { var gQ = a1(), vQ = d1(), EQ = f1(), xQ = h1(), wQ = b1(); function Lo(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } o(Lo, "ListCache"); Lo.prototype.clear = gQ; Lo.prototype.delete = vQ; Lo.prototype.get = EQ; Lo.prototype.has = xQ; Lo.prototype.set = wQ; g1.exports = Lo; }); // ../node_modules/lodash/_stackClear.js var E1 = y((uIe, v1) => { var SQ = bs(); function RQ() { this.__data__ = new SQ(), this.size = 0; } o(RQ, "stackClear"); v1.exports = RQ; }); // ../node_modules/lodash/_stackDelete.js var w1 = y((dIe, x1) => { function TQ(e) { var t = this.__data__, r = t.delete(e); return this.size = t.size, r; } o(TQ, "stackDelete"); x1.exports = TQ; }); // ../node_modules/lodash/_stackGet.js var R1 = y((fIe, S1) => { function _Q(e) { return this.__data__.get(e); } o(_Q, "stackGet"); S1.exports = _Q; }); // ../node_modules/lodash/_stackHas.js var _1 = y((hIe, T1) => { function CQ(e) { return this.__data__.has(e); } o(CQ, "stackHas"); T1.exports = CQ; }); // ../node_modules/lodash/_freeGlobal.js var zE = y((bIe, C1) => { var PQ = typeof global == "object" && global && global.Object === Object && global; C1.exports = PQ; }); // ../node_modules/lodash/_root.js var or = y((gIe, P1) => { var AQ = zE(), OQ = typeof self == "object" && self && self.Object === Object && self, qQ = AQ || OQ || Function("return this")(); P1.exports = qQ; }); // ../node_modules/lodash/_Symbol.js var zd = y((vIe, A1) => { var IQ = or(), MQ = IQ.Symbol; A1.exports = MQ; }); // ../node_modules/lodash/_getRawTag.js var M1 = y((EIe, I1) => { var O1 = zd(), q1 = Object.prototype, NQ = q1.hasOwnProperty, jQ = q1.toString, gs = O1 ? O1.toStringTag : void 0; function kQ(e) { var t = NQ.call(e, gs), r = e[gs]; try { e[gs] = void 0; var n = !0; } catch { } var i = jQ.call(e); return n && (t ? e[gs] = r : delete e[gs]), i; } o(kQ, "getRawTag"); I1.exports = kQ; }); // ../node_modules/lodash/_objectToString.js var j1 = y((wIe, N1) => { var LQ = Object.prototype, FQ = LQ.toString; function DQ(e) { return FQ.call(e); } o(DQ, "objectToString"); N1.exports = DQ; }); // ../node_modules/lodash/_baseGetTag.js var vs = y((RIe, F1) => { var k1 = zd(), $Q = M1(), BQ = j1(), UQ = "[object Null]", HQ = "[object Undefined]", L1 = k1 ? k1.toStringTag : void 0; function VQ(e) { return e == null ? e === void 0 ? HQ : UQ : L1 && L1 in Object(e) ? $Q(e) : BQ(e); } o(VQ, "baseGetTag"); F1.exports = VQ; }); // ../node_modules/lodash/isObject.js var GE = y((_Ie, D1) => { function zQ(e) { var t = typeof e; return e != null && (t == "object" || t == "function"); } o(zQ, "isObject"); D1.exports = zQ; }); // ../node_modules/lodash/isFunction.js var WE = y((PIe, $1) => { var GQ = vs(), WQ = GE(), YQ = "[object AsyncFunction]", KQ = "[object Function]", XQ = "[object GeneratorFunction]", JQ = "[object Proxy]"; function QQ(e) { if (!WQ(e)) return !1; var t = GQ(e); return t == KQ || t == XQ || t == YQ || t == JQ; } o(QQ, "isFunction"); $1.exports = QQ; }); // ../node_modules/lodash/_coreJsData.js var U1 = y((OIe, B1) => { var ZQ = or(), eZ = ZQ["__core-js_shared__"]; B1.exports = eZ; }); // ../node_modules/lodash/_isMasked.js var z1 = y((qIe, V1) => { var YE = U1(), H1 = function() { var e = /[^.]+$/.exec(YE && YE.keys && YE.keys.IE_PROTO || ""); return e ? "Symbol(src)_1." + e : ""; }(); function tZ(e) { return !!H1 && H1 in e; } o(tZ, "isMasked"); V1.exports = tZ; }); // ../node_modules/lodash/_toSource.js var KE = y((MIe, G1) => { var rZ = Function.prototype, nZ = rZ.toString; function oZ(e) { if (e != null) { try { return nZ.call(e); } catch { } try { return e + ""; } catch { } } return ""; } o(oZ, "toSource"); G1.exports = oZ; }); // ../node_modules/lodash/_baseIsNative.js var Y1 = y((jIe, W1) => { var iZ = WE(), sZ = z1(), aZ = GE(), lZ = KE(), uZ = /[\\^$.*+?()[\]{}|]/g, cZ = /^\[object .+?Constructor\]$/, dZ = Function.prototype, pZ = Object. prototype, fZ = dZ.toString, mZ = pZ.hasOwnProperty, hZ = RegExp( "^" + fZ.call(mZ).replace(uZ, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); function yZ(e) { if (!aZ(e) || sZ(e)) return !1; var t = iZ(e) ? hZ : cZ; return t.test(lZ(e)); } o(yZ, "baseIsNative"); W1.exports = yZ; }); // ../node_modules/lodash/_getValue.js var X1 = y((LIe, K1) => { function bZ(e, t) { return e?.[t]; } o(bZ, "getValue"); K1.exports = bZ; }); // ../node_modules/lodash/_getNative.js var Cn = y((DIe, J1) => { var gZ = Y1(), vZ = X1(); function EZ(e, t) { var r = vZ(e, t); return gZ(r) ? r : void 0; } o(EZ, "getNative"); J1.exports = EZ; }); // ../node_modules/lodash/_Map.js var Gd = y((BIe, Q1) => { var xZ = Cn(), wZ = or(), SZ = xZ(wZ, "Map"); Q1.exports = SZ; }); // ../node_modules/lodash/_nativeCreate.js var Es = y((UIe, Z1) => { var RZ = Cn(), TZ = RZ(Object, "create"); Z1.exports = TZ; }); // ../node_modules/lodash/_hashClear.js var rI = y((HIe, tI) => { var eI = Es(); function _Z() { this.__data__ = eI ? eI(null) : {}, this.size = 0; } o(_Z, "hashClear"); tI.exports = _Z; }); // ../node_modules/lodash/_hashDelete.js var oI = y((zIe, nI) => { function CZ(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t; } o(CZ, "hashDelete"); nI.exports = CZ; }); // ../node_modules/lodash/_hashGet.js var sI = y((WIe, iI) => { var PZ = Es(), AZ = "__lodash_hash_undefined__", OZ = Object.prototype, qZ = OZ.hasOwnProperty; function IZ(e) { var t = this.__data__; if (PZ) { var r = t[e]; return r === AZ ? void 0 : r; } return qZ.call(t, e) ? t[e] : void 0; } o(IZ, "hashGet"); iI.exports = IZ; }); // ../node_modules/lodash/_hashHas.js var lI = y((KIe, aI) => { var MZ = Es(), NZ = Object.prototype, jZ = NZ.hasOwnProperty; function kZ(e) { var t = this.__data__; return MZ ? t[e] !== void 0 : jZ.call(t, e); } o(kZ, "hashHas"); aI.exports = kZ; }); // ../node_modules/lodash/_hashSet.js var cI = y((JIe, uI) => { var LZ = Es(), FZ = "__lodash_hash_undefined__"; function DZ(e, t) { var r = this.__data__; return this.size += this.has(e) ? 0 : 1, r[e] = LZ && t === void 0 ? FZ : t, this; } o(DZ, "hashSet"); uI.exports = DZ; }); // ../node_modules/lodash/_Hash.js var pI = y((ZIe, dI) => { var $Z = rI(), BZ = oI(), UZ = sI(), HZ = lI(), VZ = cI(); function Fo(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } o(Fo, "Hash"); Fo.prototype.clear = $Z; Fo.prototype.delete = BZ; Fo.prototype.get = UZ; Fo.prototype.has = HZ; Fo.prototype.set = VZ; dI.exports = Fo; }); // ../node_modules/lodash/_mapCacheClear.js var hI = y((tMe, mI) => { var fI = pI(), zZ = bs(), GZ = Gd(); function WZ() { this.size = 0, this.__data__ = { hash: new fI(), map: new (GZ || zZ)(), string: new fI() }; } o(WZ, "mapCacheClear"); mI.exports = WZ; }); // ../node_modules/lodash/_isKeyable.js var bI = y((nMe, yI) => { function YZ(e) { var t = typeof e; return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null; } o(YZ, "isKeyable"); yI.exports = YZ; }); // ../node_modules/lodash/_getMapData.js var xs = y((iMe, gI) => { var KZ = bI(); function XZ(e, t) { var r = e.__data__; return KZ(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map; } o(XZ, "getMapData"); gI.exports = XZ; }); // ../node_modules/lodash/_mapCacheDelete.js var EI = y((aMe, vI) => { var JZ = xs(); function QZ(e) { var t = JZ(this, e).delete(e); return this.size -= t ? 1 : 0, t; } o(QZ, "mapCacheDelete"); vI.exports = QZ; }); // ../node_modules/lodash/_mapCacheGet.js var wI = y((uMe, xI) => { var ZZ = xs(); function eee(e) { return ZZ(this, e).get(e); } o(eee, "mapCacheGet"); xI.exports = eee; }); // ../node_modules/lodash/_mapCacheHas.js var RI = y((dMe, SI) => { var tee = xs(); function ree(e) { return tee(this, e).has(e); } o(ree, "mapCacheHas"); SI.exports = ree; }); // ../node_modules/lodash/_mapCacheSet.js var _I = y((fMe, TI) => { var nee = xs(); function oee(e, t) { var r = nee(this, e), n = r.size; return r.set(e, t), this.size += r.size == n ? 0 : 1, this; } o(oee, "mapCacheSet"); TI.exports = oee; }); // ../node_modules/lodash/_MapCache.js var XE = y((hMe, CI) => { var iee = hI(), see = EI(), aee = wI(), lee = RI(), uee = _I(); function Do(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } o(Do, "MapCache"); Do.prototype.clear = iee; Do.prototype.delete = see; Do.prototype.get = aee; Do.prototype.has = lee; Do.prototype.set = uee; CI.exports = Do; }); // ../node_modules/lodash/_stackSet.js var AI = y((bMe, PI) => { var cee = bs(), dee = Gd(), pee = XE(), fee = 200; function mee(e, t) { var r = this.__data__; if (r instanceof cee) { var n = r.__data__; if (!dee || n.length < fee - 1) return n.push([e, t]), this.size = ++r.size, this; r = this.__data__ = new pee(n); } return r.set(e, t), this.size = r.size, this; } o(mee, "stackSet"); PI.exports = mee; }); // ../node_modules/lodash/_Stack.js var qI = y((vMe, OI) => { var hee = bs(), yee = E1(), bee = w1(), gee = R1(), vee = _1(), Eee = AI(); function $o(e) { var t = this.__data__ = new hee(e); this.size = t.size; } o($o, "Stack"); $o.prototype.clear = yee; $o.prototype.delete = bee; $o.prototype.get = gee; $o.prototype.has = vee; $o.prototype.set = Eee; OI.exports = $o; }); // ../node_modules/lodash/_setCacheAdd.js var MI = y((xMe, II) => { var xee = "__lodash_hash_undefined__"; function wee(e) { return this.__data__.set(e, xee), this; } o(wee, "setCacheAdd"); II.exports = wee; }); // ../node_modules/lodash/_setCacheHas.js var jI = y((SMe, NI) => { function See(e) { return this.__data__.has(e); } o(See, "setCacheHas"); NI.exports = See; }); // ../node_modules/lodash/_SetCache.js var LI = y((TMe, kI) => { var Ree = XE(), Tee = MI(), _ee = jI(); function Wd(e) { var t = -1, r = e == null ? 0 : e.length; for (this.__data__ = new Ree(); ++t < r; ) this.add(e[t]); } o(Wd, "SetCache"); Wd.prototype.add = Wd.prototype.push = Tee; Wd.prototype.has = _ee; kI.exports = Wd; }); // ../node_modules/lodash/_arraySome.js var DI = y((CMe, FI) => { function Cee(e, t) { for (var r = -1, n = e == null ? 0 : e.length; ++r < n; ) if (t(e[r], r, e)) return !0; return !1; } o(Cee, "arraySome"); FI.exports = Cee; }); // ../node_modules/lodash/_cacheHas.js var BI = y((AMe, $I) => { function Pee(e, t) { return e.has(t); } o(Pee, "cacheHas"); $I.exports = Pee; }); // ../node_modules/lodash/_equalArrays.js var JE = y((qMe, UI) => { var Aee = LI(), Oee = DI(), qee = BI(), Iee = 1, Mee = 2; function Nee(e, t, r, n, i, s) { var a = r & Iee, l = e.length, u = t.length; if (l != u && !(a && u > l)) return !1; var c = s.get(e), d = s.get(t); if (c && d) return c == t && d == e; var p = -1, f = !0, m = r & Mee ? new Aee() : void 0; for (s.set(e, t), s.set(t, e); ++p < l; ) { var h = e[p], b = t[p]; if (n) var v = a ? n(b, h, p, t, e, s) : n(h, b, p, e, t, s); if (v !== void 0) { if (v) continue; f = !1; break; } if (m) { if (!Oee(t, function(g, w) { if (!qee(m, w) && (h === g || i(h, g, r, n, s))) return m.push(w); })) { f = !1; break; } } else if (!(h === b || i(h, b, r, n, s))) { f = !1; break; } } return s.delete(e), s.delete(t), f; } o(Nee, "equalArrays"); UI.exports = Nee; }); // ../node_modules/lodash/_Uint8Array.js var VI = y((MMe, HI) => { var jee = or(), kee = jee.Uint8Array; HI.exports = kee; }); // ../node_modules/lodash/_mapToArray.js var GI = y((NMe, zI) => { function Lee(e) { var t = -1, r = Array(e.size); return e.forEach(function(n, i) { r[++t] = [i, n]; }), r; } o(Lee, "mapToArray"); zI.exports = Lee; }); // ../node_modules/lodash/_setToArray.js var YI = y((kMe, WI) => { function Fee(e) { var t = -1, r = Array(e.size); return e.forEach(function(n) { r[++t] = n; }), r; } o(Fee, "setToArray"); WI.exports = Fee; }); // ../node_modules/lodash/_equalByTag.js var ZI = y((FMe, QI) => { var KI = zd(), XI = VI(), Dee = VE(), $ee = JE(), Bee = GI(), Uee = YI(), Hee = 1, Vee = 2, zee = "[object Boolean]", Gee = "[object Date]", Wee = "[object Error]", Yee = "[object Map]", Kee = "[object Number]", Xee = "[object RegExp]", Jee = "[object Set]", Qee = "[object Strin\ g]", Zee = "[object Symbol]", ete = "[object ArrayBuffer]", tte = "[object DataView]", JI = KI ? KI.prototype : void 0, QE = JI ? JI.valueOf : void 0; function rte(e, t, r, n, i, s, a) { switch (r) { case tte: if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1; e = e.buffer, t = t.buffer; case ete: return !(e.byteLength != t.byteLength || !s(new XI(e), new XI(t))); case zee: case Gee: case Kee: return Dee(+e, +t); case Wee: return e.name == t.name && e.message == t.message; case Xee: case Qee: return e == t + ""; case Yee: var l = Bee; case Jee: var u = n & Hee; if (l || (l = Uee), e.size != t.size && !u) return !1; var c = a.get(e); if (c) return c == t; n |= Vee, a.set(e, t); var d = $ee(l(e), l(t), n, i, s, a); return a.delete(e), d; case Zee: if (QE) return QE.call(e) == QE.call(t); } return !1; } o(rte, "equalByTag"); QI.exports = rte; }); // ../node_modules/lodash/_arrayPush.js var tM = y(($Me, eM) => { function nte(e, t) { for (var r = -1, n = t.length, i = e.length; ++r < n; ) e[i + r] = t[r]; return e; } o(nte, "arrayPush"); eM.exports = nte; }); // ../node_modules/lodash/isArray.js var Yd = y((UMe, rM) => { var ote = Array.isArray; rM.exports = ote; }); // ../node_modules/lodash/_baseGetAllKeys.js var oM = y((HMe, nM) => { var ite = tM(), ste = Yd(); function ate(e, t, r) { var n = t(e); return ste(e) ? n : ite(n, r(e)); } o(ate, "baseGetAllKeys"); nM.exports = ate; }); // ../node_modules/lodash/_arrayFilter.js var sM = y((zMe, iM) => { function lte(e, t) { for (var r = -1, n = e == null ? 0 : e.length, i = 0, s = []; ++r < n; ) { var a = e[r]; t(a, r, e) && (s[i++] = a); } return s; } o(lte, "arrayFilter"); iM.exports = lte; }); // ../node_modules/lodash/stubArray.js var lM = y((WMe, aM) => { function ute() { return []; } o(ute, "stubArray"); aM.exports = ute; }); // ../node_modules/lodash/_getSymbols.js var dM = y((KMe, cM) => { var cte = sM(), dte = lM(), pte = Object.prototype, fte = pte.propertyIsEnumerable, uM = Object.getOwnPropertySymbols, mte = uM ? function(e) { return e == null ? [] : (e = Object(e), cte(uM(e), function(t) { return fte.call(e, t); })); } : dte; cM.exports = mte; }); // ../node_modules/lodash/_baseTimes.js var fM = y((XMe, pM) => { function hte(e, t) { for (var r = -1, n = Array(e); ++r < e; ) n[r] = t(r); return n; } o(hte, "baseTimes"); pM.exports = hte; }); // ../node_modules/lodash/isObjectLike.js var ws = y((QMe, mM) => { function yte(e) { return e != null && typeof e == "object"; } o(yte, "isObjectLike"); mM.exports = yte; }); // ../node_modules/lodash/_baseIsArguments.js var yM = y((eNe, hM) => { var bte = vs(), gte = ws(), vte = "[object Arguments]"; function Ete(e) { return gte(e) && bte(e) == vte; } o(Ete, "baseIsArguments"); hM.exports = Ete; }); // ../node_modules/lodash/isArguments.js var EM = y((rNe, vM) => { var bM = yM(), xte = ws(), gM = Object.prototype, wte = gM.hasOwnProperty, Ste = gM.propertyIsEnumerable, Rte = bM(/* @__PURE__ */ function() { return arguments; }()) ? bM : function(e) { return xte(e) && wte.call(e, "callee") && !Ste.call(e, "callee"); }; vM.exports = Rte; }); // ../node_modules/lodash/stubFalse.js var wM = y((nNe, xM) => { function Tte() { return !1; } o(Tte, "stubFalse"); xM.exports = Tte; }); // ../node_modules/lodash/isBuffer.js var ZE = y((Ss, Bo) => { var _te = or(), Cte = wM(), TM = typeof Ss == "object" && Ss && !Ss.nodeType && Ss, SM = TM && typeof Bo == "object" && Bo && !Bo.nodeType && Bo, Pte = SM && SM.exports === TM, RM = Pte ? _te.Buffer : void 0, Ate = RM ? RM.isBuffer : void 0, Ote = Ate || Cte; Bo.exports = Ote; }); // ../node_modules/lodash/_isIndex.js var CM = y((iNe, _M) => { var qte = 9007199254740991, Ite = /^(?:0|[1-9]\d*)$/; function Mte(e, t) { var r = typeof e; return t = t ?? qte, !!t && (r == "number" || r != "symbol" && Ite.test(e)) && e > -1 && e % 1 == 0 && e < t; } o(Mte, "isIndex"); _M.exports = Mte; }); // ../node_modules/lodash/isLength.js var ex = y((aNe, PM) => { var Nte = 9007199254740991; function jte(e) { return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Nte; } o(jte, "isLength"); PM.exports = jte; }); // ../node_modules/lodash/_baseIsTypedArray.js var OM = y((uNe, AM) => { var kte = vs(), Lte = ex(), Fte = ws(), Dte = "[object Arguments]", $te = "[object Array]", Bte = "[object Boolean]", Ute = "[object Date]", Hte = "[object Error]", Vte = "[object Function]", zte = "[object Map]", Gte = "[object Number]", Wte = "[object Object]", Yte = "[object \ RegExp]", Kte = "[object Set]", Xte = "[object String]", Jte = "[object WeakMap]", Qte = "[object ArrayBuffer]", Zte = "[object DataView]", ere = "\ [object Float32Array]", tre = "[object Float64Array]", rre = "[object Int8Array]", nre = "[object Int16Array]", ore = "[object Int32Array]", ire = "[object Uint8Array]", sre = "[object Uint8ClampedArray]", are = "[object Uint16Array]", lre = "[object Uint32Array]", Te = {}; Te[ere] = Te[tre] = Te[rre] = Te[nre] = Te[ore] = Te[ire] = Te[sre] = Te[are] = Te[lre] = !0; Te[Dte] = Te[$te] = Te[Qte] = Te[Bte] = Te[Zte] = Te[Ute] = Te[Hte] = Te[Vte] = Te[zte] = Te[Gte] = Te[Wte] = Te[Yte] = Te[Kte] = Te[Xte] = Te[Jte] = !1; function ure(e) { return Fte(e) && Lte(e.length) && !!Te[kte(e)]; } o(ure, "baseIsTypedArray"); AM.exports = ure; }); // ../node_modules/lodash/_baseUnary.js var IM = y((dNe, qM) => { function cre(e) { return function(t) { return e(t); }; } o(cre, "baseUnary"); qM.exports = cre; }); // ../node_modules/lodash/_nodeUtil.js var NM = y((Rs, Uo) => { var dre = zE(), MM = typeof Rs == "object" && Rs && !Rs.nodeType && Rs, Ts = MM && typeof Uo == "object" && Uo && !Uo.nodeType && Uo, pre = Ts && Ts.exports === MM, tx = pre && dre.process, fre = function() { try { var e = Ts && Ts.require && Ts.require("util").types; return e || tx && tx.binding && tx.binding("util"); } catch { } }(); Uo.exports = fre; }); // ../node_modules/lodash/isTypedArray.js var rx = y((fNe, LM) => { var mre = OM(), hre = IM(), jM = NM(), kM = jM && jM.isTypedArray, yre = kM ? hre(kM) : mre; LM.exports = yre; }); // ../node_modules/lodash/_arrayLikeKeys.js var DM = y((mNe, FM) => { var bre = fM(), gre = EM(), vre = Yd(), Ere = ZE(), xre = CM(), wre = rx(), Sre = Object.prototype, Rre = Sre.hasOwnProperty; function Tre(e, t) { var r = vre(e), n = !r && gre(e), i = !r && !n && Ere(e), s = !r && !n && !i && wre(e), a = r || n || i || s, l = a ? bre(e.length, String) : [], u = l.length; for (var c in e) (t || Rre.call(e, c)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode. (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers. i && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays. s && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties. xre(c, u))) && l.push(c); return l; } o(Tre, "arrayLikeKeys"); FM.exports = Tre; }); // ../node_modules/lodash/_isPrototype.js var BM = y((yNe, $M) => { var _re = Object.prototype; function Cre(e) { var t = e && e.constructor, r = typeof t == "function" && t.prototype || _re; return e === r; } o(Cre, "isPrototype"); $M.exports = Cre; }); // ../node_modules/lodash/_overArg.js var HM = y((gNe, UM) => { function Pre(e, t) { return function(r) { return e(t(r)); }; } o(Pre, "overArg"); UM.exports = Pre; }); // ../node_modules/lodash/_nativeKeys.js var zM = y((ENe, VM) => { var Are = HM(), Ore = Are(Object.keys, Object); VM.exports = Ore; }); // ../node_modules/lodash/_baseKeys.js var WM = y((xNe, GM) => { var qre = BM(), Ire = zM(), Mre = Object.prototype, Nre = Mre.hasOwnProperty; function jre(e) { if (!qre(e)) return Ire(e); var t = []; for (var r in Object(e)) Nre.call(e, r) && r != "constructor" && t.push(r); return t; } o(jre, "baseKeys"); GM.exports = jre; }); // ../node_modules/lodash/isArrayLike.js var KM = y((SNe, YM) => { var kre = WE(), Lre = ex(); function Fre(e) { return e != null && Lre(e.length) && !kre(e); } o(Fre, "isArrayLike"); YM.exports = Fre; }); // ../node_modules/lodash/keys.js var JM = y((TNe, XM) => { var Dre = DM(), $re = WM(), Bre = KM(); function Ure(e) { return Bre(e) ? Dre(e) : $re(e); } o(Ure, "keys"); XM.exports = Ure; }); // ../node_modules/lodash/_getAllKeys.js var ZM = y((CNe, QM) => { var Hre = oM(), Vre = dM(), zre = JM(); function Gre(e) { return Hre(e, zre, Vre); } o(Gre, "getAllKeys"); QM.exports = Gre; }); // ../node_modules/lodash/_equalObjects.js var rN = y((ANe, tN) => { var eN = ZM(), Wre = 1, Yre = Object.prototype, Kre = Yre.hasOwnProperty; function Xre(e, t, r, n, i, s) { var a = r & Wre, l = eN(e), u = l.length, c = eN(t), d = c.length; if (u != d && !a) return !1; for (var p = u; p--; ) { var f = l[p]; if (!(a ? f in t : Kre.call(t, f))) return !1; } var m = s.get(e), h = s.get(t); if (m && h) return m == t && h == e; var b = !0; s.set(e, t), s.set(t, e); for (var v = a; ++p < u; ) { f = l[p]; var g = e[f], w = t[f]; if (n) var E = a ? n(w, g, f, t, e, s) : n(g, w, f, e, t, s); if (!(E === void 0 ? g === w || i(g, w, r, n, s) : E)) { b = !1; break; } v || (v = f == "constructor"); } if (b && !v) { var R = e.constructor, T = t.constructor; R != T && "constructor" in e && "constructor" in t && !(typeof R == "function" && R instanceof R && typeof T == "function" && T instanceof T) && (b = !1); } return s.delete(e), s.delete(t), b; } o(Xre, "equalObjects"); tN.exports = Xre; }); // ../node_modules/lodash/_DataView.js var oN = y((qNe, nN) => { var Jre = Cn(), Qre = or(), Zre = Jre(Qre, "DataView"); nN.exports = Zre; }); // ../node_modules/lodash/_Promise.js var sN = y((INe, iN) => { var ene = Cn(), tne = or(), rne = ene(tne, "Promise"); iN.exports = rne; }); // ../node_modules/lodash/_Set.js var lN = y((MNe, aN) => { var nne = Cn(), one = or(), ine = nne(one, "Set"); aN.exports = ine; }); // ../node_modules/lodash/_WeakMap.js var cN = y((NNe, uN) => { var sne = Cn(), ane = or(), lne = sne(ane, "WeakMap"); uN.exports = lne; }); // ../node_modules/lodash/_getTag.js var gN = y((jNe, bN) => { var nx = oN(), ox = Gd(), ix = sN(), sx = lN(), ax = cN(), yN = vs(), Ho = KE(), dN = "[object Map]", une = "[object Object]", pN = "[obje\ ct Promise]", fN = "[object Set]", mN = "[object WeakMap]", hN = "[object DataView]", cne = Ho(nx), dne = Ho(ox), pne = Ho(ix), fne = Ho(sx), mne = Ho(ax), Pn = yN; (nx && Pn(new nx(new ArrayBuffer(1))) != hN || ox && Pn(new ox()) != dN || ix && Pn(ix.resolve()) != pN || sx && Pn(new sx()) != fN || ax && Pn(new ax()) != mN) && (Pn = /* @__PURE__ */ o(function(e) { var t = yN(e), r = t == une ? e.constructor : void 0, n = r ? Ho(r) : ""; if (n) switch (n) { case cne: return hN; case dne: return dN; case pne: return pN; case fne: return fN; case mne: return mN; } return t; }, "getTag")); bN.exports = Pn; }); // ../node_modules/lodash/_baseIsEqualDeep.js var _N = y((LNe, TN) => { var lx = qI(), hne = JE(), yne = ZI(), bne = rN(), vN = gN(), EN = Yd(), xN = ZE(), gne = rx(), vne = 1, wN = "[object Arguments]", SN = "\ [object Array]", Kd = "[object Object]", Ene = Object.prototype, RN = Ene.hasOwnProperty; function xne(e, t, r, n, i, s) { var a = EN(e), l = EN(t), u = a ? SN : vN(e), c = l ? SN : vN(t); u = u == wN ? Kd : u, c = c == wN ? Kd : c; var d = u == Kd, p = c == Kd, f = u == c; if (f && xN(e)) { if (!xN(t)) return !1; a = !0, d = !1; } if (f && !d) return s || (s = new lx()), a || gne(e) ? hne(e, t, r, n, i, s) : yne(e, t, u, r, n, i, s); if (!(r & vne)) { var m = d && RN.call(e, "__wrapped__"), h = p && RN.call(t, "__wrapped__"); if (m || h) { var b = m ? e.value() : e, v = h ? t.value() : t; return s || (s = new lx()), i(b, v, r, n, s); } } return f ? (s || (s = new lx()), bne(e, t, r, n, i, s)) : !1; } o(xne, "baseIsEqualDeep"); TN.exports = xne; }); // ../node_modules/lodash/_baseIsEqual.js var ON = y((DNe, AN) => { var wne = _N(), CN = ws(); function PN(e, t, r, n, i) { return e === t ? !0 : e == null || t == null || !CN(e) && !CN(t) ? e !== e && t !== t : wne(e, t, r, n, PN, i); } o(PN, "baseIsEqual"); AN.exports = PN; }); // ../node_modules/lodash/isEqualWith.js var ux = y((BNe, qN) => { var Sne = ON(); function Rne(e, t, r) { r = typeof r == "function" ? r : void 0; var n = r ? r(e, t) : void 0; return n === void 0 ? Sne(e, t, void 0, r) : !!n; } o(Rne, "isEqualWith"); qN.exports = Rne; }); // ../node_modules/css.escape/css.escape.js var dx = y((cx, IN) => { (function(e, t) { typeof cx == "object" ? IN.exports = t(e) : typeof define == "function" && define.amd ? define([], t.bind(e, e)) : t(e); })(typeof global < "u" ? global : cx, function(e) { if (e.CSS && e.CSS.escape) return e.CSS.escape; var t = /* @__PURE__ */ o(function(r) { if (arguments.length == 0) throw new TypeError("`CSS.escape` requires an argument."); for (var n = String(r), i = n.length, s = -1, a, l = "", u = n.charCodeAt(0); ++s < i; ) { if (a = n.charCodeAt(s), a == 0) { l += "\uFFFD"; continue; } if ( // If the character is in the range [\1-\1F] (U+0001 to U+001F) or is // U+007F, […] a >= 1 && a <= 31 || a == 127 || // If the character is the first character and is in the range [0-9] // (U+0030 to U+0039), […] s == 0 && a >= 48 && a <= 57 || // If the character is the second character and is in the range [0-9] // (U+0030 to U+0039) and the first character is a `-` (U+002D), […] s == 1 && a >= 48 && a <= 57 && u == 45 ) { l += "\\" + a.toString(16) + " "; continue; } if ( // If the character is the first character and is a `-` (U+002D), and // there is no second character, […] s == 0 && i == 1 && a == 45 ) { l += "\\" + n.charAt(s); continue; } if (a >= 128 || a == 45 || a == 95 || a >= 48 && a <= 57 || a >= 65 && a <= 90 || a >= 97 && a <= 122) { l += n.charAt(s); continue; } l += "\\" + n.charAt(s); } return l; }, "cssEscape"); return e.CSS || (e.CSS = {}), e.CSS.escape = t, t; }); }); // ../node_modules/pretty-format/node_modules/ansi-styles/index.js var bw = y((Hje, _j) => { "use strict"; var Rj = /* @__PURE__ */ o((e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, "wrapAnsi256"), Tj = /* @__PURE__ */ o((e = 0) => (t, r, n) => `\x1B[${38 + e};2;${t};${r};${n}m`, "wrapAnsi16m"); function lie() { let e = /* @__PURE__ */ new Map(), t = { modifier: { reset: [0, 0], // 21 isn't widely supported and 22 does the same thing bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], overline: [53, 55], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], // Bright color blackBright: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], // Bright color bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } }; t.color.gray = t.color.blackBright, t.bgColor.bgGray = t.bgColor.bgBlackBright, t.color.grey = t.color.blackBright, t.bgColor.bgGrey = t. bgColor.bgBlackBright; for (let [r, n] of Object.entries(t)) { for (let [i, s] of Object.entries(n)) t[i] = { open: `\x1B[${s[0]}m`, close: `\x1B[${s[1]}m` }, n[i] = t[i], e.set(s[0], s[1]); Object.defineProperty(t, r, { value: n, enumerable: !1 }); } return Object.defineProperty(t, "codes", { value: e, enumerable: !1 }), t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", t.color.ansi256 = Rj(), t.color.ansi16m = Tj(), t.bgColor.ansi256 = Rj(10), t.bgColor.ansi16m = Tj(10), Object.defineProperties(t, { rgbToAnsi256: { value: /* @__PURE__ */ o((r, n, i) => r === n && n === i ? r < 8 ? 16 : r > 248 ? 231 : Math.round((r - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(n / 255 * 5) + Math.round(i / 255 * 5), "value"), enumerable: !1 }, hexToRgb: { value: /* @__PURE__ */ o((r) => { let n = /(?[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16)); if (!n) return [0, 0, 0]; let { colorString: i } = n.groups; i.length === 3 && (i = i.split("").map((a) => a + a).join("")); let s = Number.parseInt(i, 16); return [ s >> 16 & 255, s >> 8 & 255, s & 255 ]; }, "value"), enumerable: !1 }, hexToAnsi256: { value: /* @__PURE__ */ o((r) => t.rgbToAnsi256(...t.hexToRgb(r)), "value"), enumerable: !1 } }), t; } o(lie, "assembleStyles"); Object.defineProperty(_j, "exports", { enumerable: !0, get: lie }); }); // ../node_modules/pretty-format/build/collections.js var js = y((Wo) => { "use strict"; Object.defineProperty(Wo, "__esModule", { value: !0 }); Wo.printIteratorEntries = cie; Wo.printIteratorValues = die; Wo.printListItems = pie; Wo.printObjectProperties = fie; var uie = /* @__PURE__ */ o((e, t) => { let r = Object.keys(e).sort(t); return Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(e).forEach((n) => { Object.getOwnPropertyDescriptor(e, n).enumerable && r.push(n); }), r; }, "getKeysOfEnumerableProperties"); function cie(e, t, r, n, i, s, a = ": ") { let l = "", u = e.next(); if (!u.done) { l += t.spacingOuter; let c = r + t.indent; for (; !u.done; ) { let d = s( u.value[0], t, c, n, i ), p = s( u.value[1], t, c, n, i ); l += c + d + a + p, u = e.next(), u.done ? t.min || (l += ",") : l += "," + t.spacingInner; } l += t.spacingOuter + r; } return l; } o(cie, "printIteratorEntries"); function die(e, t, r, n, i, s) { let a = "", l = e.next(); if (!l.done) { a += t.spacingOuter; let u = r + t.indent; for (; !l.done; ) a += u + s(l.value, t, u, n, i), l = e.next(), l.done ? t.min || (a += ",") : a += "," + t.spacingInner; a += t.spacingOuter + r; } return a; } o(die, "printIteratorValues"); function pie(e, t, r, n, i, s) { let a = ""; if (e.length) { a += t.spacingOuter; let l = r + t.indent; for (let u = 0; u < e.length; u++) a += l, u in e && (a += s(e[u], t, l, n, i)), u < e.length - 1 ? a += "," + t.spacingInner : t.min || (a += ","); a += t.spacingOuter + r; } return a; } o(pie, "printListItems"); function fie(e, t, r, n, i, s) { let a = "", l = uie(e, t.compareKeys); if (l.length) { a += t.spacingOuter; let u = r + t.indent; for (let c = 0; c < l.length; c++) { let d = l[c], p = s(d, t, u, n, i), f = s(e[d], t, u, n, i); a += u + p + ": " + f, c < l.length - 1 ? a += "," + t.spacingInner : t.min || (a += ","); } a += t.spacingOuter + r; } return a; } o(fie, "printObjectProperties"); }); // ../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js var Oj = y((Vr) => { "use strict"; Object.defineProperty(Vr, "__esModule", { value: !0 }); Vr.test = Vr.serialize = Vr.default = void 0; var Cj = js(), Sp = function() { return typeof globalThis < "u" ? globalThis : typeof Sp < "u" ? Sp : typeof self < "u" ? self : typeof window < "u" ? window : Function( "return this")(); }(), gw = Sp["jest-symbol-do-not-touch"] || Sp.Symbol, mie = typeof gw == "function" && gw.for ? gw.for("jest.asymmetricMatcher") : 1267621, wp = " ", Pj = /* @__PURE__ */ o((e, t, r, n, i, s) => { let a = e.toString(); return a === "ArrayContaining" || a === "ArrayNotContaining" ? ++n > t.maxDepth ? "[" + a + "]" : a + wp + "[" + (0, Cj.printListItems)( e.sample, t, r, n, i, s ) + "]" : a === "ObjectContaining" || a === "ObjectNotContaining" ? ++n > t.maxDepth ? "[" + a + "]" : a + wp + "{" + (0, Cj.printObjectProperties)( e.sample, t, r, n, i, s ) + "}" : a === "StringMatching" || a === "StringNotMatching" || a === "StringContaining" || a === "StringNotContaining" ? a + wp + s(e. sample, t, r, n, i) : e.toAsymmetricMatcher(); }, "serialize"); Vr.serialize = Pj; var Aj = /* @__PURE__ */ o((e) => e && e.$$typeof === mie, "test"); Vr.test = Aj; var hie = { serialize: Pj, test: Aj }, yie = hie; Vr.default = yie; }); // ../node_modules/pretty-format/node_modules/ansi-regex/index.js var Ij = y((Kje, qj) => { "use strict"; qj.exports = ({ onlyFirst: e = !1 } = {}) => { let t = [ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))" ].join("|"); return new RegExp(t, e ? void 0 : "g"); }; }); // ../node_modules/pretty-format/build/plugins/ConvertAnsi.js var Lj = y((zr) => { "use strict"; Object.defineProperty(zr, "__esModule", { value: !0 }); zr.test = zr.serialize = zr.default = void 0; var Mj = Nj(Ij()), xe = Nj(bw()); function Nj(e) { return e && e.__esModule ? e : { default: e }; } o(Nj, "_interopRequireDefault"); var bie = /* @__PURE__ */ o((e) => e.replace((0, Mj.default)(), (t) => { switch (t) { case xe.default.red.close: case xe.default.green.close: case xe.default.cyan.close: case xe.default.gray.close: case xe.default.white.close: case xe.default.yellow.close: case xe.default.bgRed.close: case xe.default.bgGreen.close: case xe.default.bgYellow.close: case xe.default.inverse.close: case xe.default.dim.close: case xe.default.bold.close: case xe.default.reset.open: case xe.default.reset.close: return ""; case xe.default.red.open: return ""; case xe.default.green.open: return ""; case xe.default.cyan.open: return ""; case xe.default.gray.open: return ""; case xe.default.white.open: return ""; case xe.default.yellow.open: return ""; case xe.default.bgRed.open: return ""; case xe.default.bgGreen.open: return ""; case xe.default.bgYellow.open: return ""; case xe.default.inverse.open: return ""; case xe.default.dim.open: return ""; case xe.default.bold.open: return ""; default: return ""; } }), "toHumanReadableAnsi"), jj = /* @__PURE__ */ o((e) => typeof e == "string" && !!e.match((0, Mj.default)()), "test"); zr.test = jj; var kj = /* @__PURE__ */ o((e, t, r, n, i, s) => s(bie(e), t, r, n, i), "serialize"); zr.serialize = kj; var gie = { serialize: kj, test: jj }, vie = gie; zr.default = vie; }); // ../node_modules/pretty-format/build/plugins/DOMCollection.js var Uj = y((Gr) => { "use strict"; Object.defineProperty(Gr, "__esModule", { value: !0 }); Gr.test = Gr.serialize = Gr.default = void 0; var Fj = js(), Eie = " ", Dj = ["DOMStringMap", "NamedNodeMap"], xie = /^(HTML\w*Collection|NodeList)$/, wie = /* @__PURE__ */ o((e) => Dj. indexOf(e) !== -1 || xie.test(e), "testName"), $j = /* @__PURE__ */ o((e) => e && e.constructor && !!e.constructor.name && wie(e.constructor. name), "test"); Gr.test = $j; var Sie = /* @__PURE__ */ o((e) => e.constructor.name === "NamedNodeMap", "isNamedNodeMap"), Bj = /* @__PURE__ */ o((e, t, r, n, i, s) => { let a = e.constructor.name; return ++n > t.maxDepth ? "[" + a + "]" : (t.min ? "" : a + Eie) + (Dj.indexOf(a) !== -1 ? "{" + (0, Fj.printObjectProperties)( Sie(e) ? Array.from(e).reduce((l, u) => (l[u.name] = u.value, l), {}) : { ...e }, t, r, n, i, s ) + "}" : "[" + (0, Fj.printListItems)( Array.from(e), t, r, n, i, s ) + "]"); }, "serialize"); Gr.serialize = Bj; var Rie = { serialize: Bj, test: $j }, Tie = Rie; Gr.default = Tie; }); // ../node_modules/pretty-format/build/plugins/lib/escapeHTML.js var Hj = y((vw) => { "use strict"; Object.defineProperty(vw, "__esModule", { value: !0 }); vw.default = _ie; function _ie(e) { return e.replace(//g, ">"); } o(_ie, "escapeHTML"); }); // ../node_modules/pretty-format/build/plugins/lib/markup.js var Rp = y((ft) => { "use strict"; Object.defineProperty(ft, "__esModule", { value: !0 }); ft.printText = ft.printProps = ft.printElementAsLeaf = ft.printElement = ft.printComment = ft.printChildren = void 0; var Vj = Cie(Hj()); function Cie(e) { return e && e.__esModule ? e : { default: e }; } o(Cie, "_interopRequireDefault"); var Pie = /* @__PURE__ */ o((e, t, r, n, i, s, a) => { let l = n + r.indent, u = r.colors; return e.map((c) => { let d = t[c], p = a(d, r, l, i, s); return typeof d != "string" && (p.indexOf(` `) !== -1 && (p = r.spacingOuter + l + p + r.spacingOuter + n), p = "{" + p + "}"), r.spacingInner + n + u.prop.open + c + u.prop.close + "=" + u.value.open + p + u.value.close; }).join(""); }, "printProps"); ft.printProps = Pie; var Aie = /* @__PURE__ */ o((e, t, r, n, i, s) => e.map( (a) => t.spacingOuter + r + (typeof a == "string" ? zj(a, t) : s(a, t, r, n, i)) ).join(""), "printChildren"); ft.printChildren = Aie; var zj = /* @__PURE__ */ o((e, t) => { let r = t.colors.content; return r.open + (0, Vj.default)(e) + r.close; }, "printText"); ft.printText = zj; var Oie = /* @__PURE__ */ o((e, t) => { let r = t.colors.comment; return r.open + "" + r.close; }, "printComment"); ft.printComment = Oie; var qie = /* @__PURE__ */ o((e, t, r, n, i) => { let s = n.colors.tag; return s.open + "<" + e + (t && s.close + t + n.spacingOuter + i + s.open) + (r ? ">" + s.close + r + n.spacingOuter + i + s.open + "" + s.close; }, "printElement"); ft.printElement = qie; var Iie = /* @__PURE__ */ o((e, t) => { let r = t.colors.tag; return r.open + "<" + e + r.close + " \u2026" + r.open + " />" + r.close; }, "printElementAsLeaf"); ft.printElementAsLeaf = Iie; }); // ../node_modules/pretty-format/build/plugins/DOMElement.js var Jj = y((Wr) => { "use strict"; Object.defineProperty(Wr, "__esModule", { value: !0 }); Wr.test = Wr.serialize = Wr.default = void 0; var Yo = Rp(), Mie = 1, Gj = 3, Wj = 8, Yj = 11, Nie = /^((HTML|SVG)\w*)?Element$/, jie = /* @__PURE__ */ o((e) => { try { return typeof e.hasAttribute == "function" && e.hasAttribute("is"); } catch { return !1; } }, "testHasAttribute"), kie = /* @__PURE__ */ o((e) => { let t = e.constructor.name, { nodeType: r, tagName: n } = e, i = typeof n == "string" && n.includes("-") || jie(e); return r === Mie && (Nie.test(t) || i) || r === Gj && t === "Text" || r === Wj && t === "Comment" || r === Yj && t === "DocumentFragment"; }, "testNode"), Kj = /* @__PURE__ */ o((e) => { var t; return (e == null || (t = e.constructor) === null || t === void 0 ? void 0 : t.name) && kie(e); }, "test"); Wr.test = Kj; function Lie(e) { return e.nodeType === Gj; } o(Lie, "nodeIsText"); function Fie(e) { return e.nodeType === Wj; } o(Fie, "nodeIsComment"); function Ew(e) { return e.nodeType === Yj; } o(Ew, "nodeIsFragment"); var Xj = /* @__PURE__ */ o((e, t, r, n, i, s) => { if (Lie(e)) return (0, Yo.printText)(e.data, t); if (Fie(e)) return (0, Yo.printComment)(e.data, t); let a = Ew(e) ? "DocumentFragment" : e.tagName.toLowerCase(); return ++n > t.maxDepth ? (0, Yo.printElementAsLeaf)(a, t) : (0, Yo.printElement)( a, (0, Yo.printProps)( Ew(e) ? [] : Array.from(e.attributes).map((l) => l.name).sort(), Ew(e) ? {} : Array.from(e.attributes).reduce((l, u) => (l[u.name] = u.value, l), {}), t, r + t.indent, n, i, s ), (0, Yo.printChildren)( Array.prototype.slice.call(e.childNodes || e.children), t, r + t.indent, n, i, s ), t, r ); }, "serialize"); Wr.serialize = Xj; var Die = { serialize: Xj, test: Kj }, $ie = Die; Wr.default = $ie; }); // ../node_modules/pretty-format/build/plugins/Immutable.js var rk = y((Yr) => { "use strict"; Object.defineProperty(Yr, "__esModule", { value: !0 }); Yr.test = Yr.serialize = Yr.default = void 0; var ks = js(), Bie = "@@__IMMUTABLE_ITERABLE__@@", Uie = "@@__IMMUTABLE_LIST__@@", Hie = "@@__IMMUTABLE_KEYED__@@", Vie = "@@__IMMUTABLE_M\ AP__@@", Qj = "@@__IMMUTABLE_ORDERED__@@", zie = "@@__IMMUTABLE_RECORD__@@", Gie = "@@__IMMUTABLE_SEQ__@@", Wie = "@@__IMMUTABLE_SET__@@", Yie = "\ @@__IMMUTABLE_STACK__@@", Ko = /* @__PURE__ */ o((e) => "Immutable." + e, "getImmutableName"), Tp = /* @__PURE__ */ o((e) => "[" + e + "]", "\ printAsLeaf"), Ls = " ", Zj = "\u2026", Kie = /* @__PURE__ */ o((e, t, r, n, i, s, a) => ++n > t.maxDepth ? Tp(Ko(a)) : Ko(a) + Ls + "{" + (0, ks. printIteratorEntries)( e.entries(), t, r, n, i, s ) + "}", "printImmutableEntries"); function Xie(e) { let t = 0; return { next() { if (t < e._keys.length) { let r = e._keys[t++]; return { done: !1, value: [r, e.get(r)] }; } return { done: !0, value: void 0 }; } }; } o(Xie, "getRecordEntries"); var Jie = /* @__PURE__ */ o((e, t, r, n, i, s) => { let a = Ko(e._name || "Record"); return ++n > t.maxDepth ? Tp(a) : a + Ls + "{" + (0, ks.printIteratorEntries)( Xie(e), t, r, n, i, s ) + "}"; }, "printImmutableRecord"), Qie = /* @__PURE__ */ o((e, t, r, n, i, s) => { let a = Ko("Seq"); return ++n > t.maxDepth ? Tp(a) : e[Hie] ? a + Ls + "{" + // from Immutable collection of entries or from ECMAScript object (e._iter || e._object ? (0, ks.printIteratorEntries)( e.entries(), t, r, n, i, s ) : Zj) + "}" : a + Ls + "[" + (e._iter || // from Immutable collection of values e._array || // from ECMAScript array e._collection || // from ECMAScript collection in immutable v4 e._iterable ? (0, ks.printIteratorValues)( e.values(), t, r, n, i, s ) : Zj) + "]"; }, "printImmutableSeq"), xw = /* @__PURE__ */ o((e, t, r, n, i, s, a) => ++n > t.maxDepth ? Tp(Ko(a)) : Ko(a) + Ls + "[" + (0, ks.printIteratorValues)( e.values(), t, r, n, i, s ) + "]", "printImmutableValues"), ek = /* @__PURE__ */ o((e, t, r, n, i, s) => e[Vie] ? Kie( e, t, r, n, i, s, e[Qj] ? "OrderedMap" : "Map" ) : e[Uie] ? xw( e, t, r, n, i, s, "List" ) : e[Wie] ? xw( e, t, r, n, i, s, e[Qj] ? "OrderedSet" : "Set" ) : e[Yie] ? xw( e, t, r, n, i, s, "Stack" ) : e[Gie] ? Qie(e, t, r, n, i, s) : Jie(e, t, r, n, i, s), "serialize"); Yr.serialize = ek; var tk = /* @__PURE__ */ o((e) => e && (e[Bie] === !0 || e[zie] === !0), "test"); Yr.test = tk; var Zie = { serialize: ek, test: tk }, ese = Zie; Yr.default = ese; }); // ../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js var lk = y((ge) => { "use strict"; var _p = 60103, Cp = 60106, Fs = 60107, Ds = 60108, $s = 60114, Bs = 60109, Us = 60110, Hs = 60112, Vs = 60113, ww = 60120, zs = 60115, Gs = 60116, nk = 60121, ok = 60122, ik = 60117, sk = 60129, ak = 60131; typeof Symbol == "function" && Symbol.for && (ze = Symbol.for, _p = ze("react.element"), Cp = ze("react.portal"), Fs = ze("react.fragment"), Ds = ze("react.strict_mode"), $s = ze("react.profiler"), Bs = ze("react.provider"), Us = ze("react.context"), Hs = ze("react.forward_ref"), Vs = ze("react.suspense"), ww = ze("react.suspense_list"), zs = ze("react.memo"), Gs = ze("react.lazy"), nk = ze("react.block"), ok = ze("\ react.server.block"), ik = ze("react.fundamental"), sk = ze("react.debug_trace_mode"), ak = ze("react.legacy_hidden")); var ze; function Vt(e) { if (typeof e == "object" && e !== null) { var t = e.$$typeof; switch (t) { case _p: switch (e = e.type, e) { case Fs: case $s: case Ds: case Vs: case ww: return e; default: switch (e = e && e.$$typeof, e) { case Us: case Hs: case Gs: case zs: case Bs: return e; default: return t; } } case Cp: return t; } } } o(Vt, "y"); var tse = Bs, rse = _p, nse = Hs, ose = Fs, ise = Gs, sse = zs, ase = Cp, lse = $s, use = Ds, cse = Vs; ge.ContextConsumer = Us; ge.ContextProvider = tse; ge.Element = rse; ge.ForwardRef = nse; ge.Fragment = ose; ge.Lazy = ise; ge.Memo = sse; ge.Portal = ase; ge.Profiler = lse; ge.StrictMode = use; ge.Suspense = cse; ge.isAsyncMode = function() { return !1; }; ge.isConcurrentMode = function() { return !1; }; ge.isContextConsumer = function(e) { return Vt(e) === Us; }; ge.isContextProvider = function(e) { return Vt(e) === Bs; }; ge.isElement = function(e) { return typeof e == "object" && e !== null && e.$$typeof === _p; }; ge.isForwardRef = function(e) { return Vt(e) === Hs; }; ge.isFragment = function(e) { return Vt(e) === Fs; }; ge.isLazy = function(e) { return Vt(e) === Gs; }; ge.isMemo = function(e) { return Vt(e) === zs; }; ge.isPortal = function(e) { return Vt(e) === Cp; }; ge.isProfiler = function(e) { return Vt(e) === $s; }; ge.isStrictMode = function(e) { return Vt(e) === Ds; }; ge.isSuspense = function(e) { return Vt(e) === Vs; }; ge.isValidElementType = function(e) { return typeof e == "string" || typeof e == "function" || e === Fs || e === $s || e === sk || e === Ds || e === Vs || e === ww || e === ak || typeof e == "object" && e !== null && (e.$$typeof === Gs || e.$$typeof === zs || e.$$typeof === Bs || e.$$typeof === Us || e.$$typeof === Hs || e.$$typeof === ik || e.$$typeof === nk || e[0] === ok); }; ge.typeOf = Vt; }); // ../node_modules/pretty-format/node_modules/react-is/index.js var ck = y((cke, uk) => { "use strict"; uk.exports = lk(); }); // ../node_modules/pretty-format/build/plugins/ReactElement.js var yk = y((Kr) => { "use strict"; Object.defineProperty(Kr, "__esModule", { value: !0 }); Kr.test = Kr.serialize = Kr.default = void 0; var An = dse(ck()), Pp = Rp(); function pk(e) { if (typeof WeakMap != "function") return null; var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(); return (pk = /* @__PURE__ */ o(function(n) { return n ? r : t; }, "_getRequireWildcardCache"))(e); } o(pk, "_getRequireWildcardCache"); function dse(e, t) { if (!t && e && e.__esModule) return e; if (e === null || typeof e != "object" && typeof e != "function") return { default: e }; var r = pk(t); if (r && r.has(e)) return r.get(e); var n = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var s in e) if (s !== "default" && Object.prototype.hasOwnProperty.call(e, s)) { var a = i ? Object.getOwnPropertyDescriptor(e, s) : null; a && (a.get || a.set) ? Object.defineProperty(n, s, a) : n[s] = e[s]; } return n.default = e, r && r.set(e, n), n; } o(dse, "_interopRequireWildcard"); var fk = /* @__PURE__ */ o((e, t = []) => (Array.isArray(e) ? e.forEach((r) => { fk(r, t); }) : e != null && e !== !1 && t.push(e), t), "getChildren"), dk = /* @__PURE__ */ o((e) => { let t = e.type; if (typeof t == "string") return t; if (typeof t == "function") return t.displayName || t.name || "Unknown"; if (An.isFragment(e)) return "React.Fragment"; if (An.isSuspense(e)) return "React.Suspense"; if (typeof t == "object" && t !== null) { if (An.isContextProvider(e)) return "Context.Provider"; if (An.isContextConsumer(e)) return "Context.Consumer"; if (An.isForwardRef(e)) { if (t.displayName) return t.displayName; let r = t.render.displayName || t.render.name || ""; return r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"; } if (An.isMemo(e)) { let r = t.displayName || t.type.displayName || t.type.name || ""; return r !== "" ? "Memo(" + r + ")" : "Memo"; } } return "UNDEFINED"; }, "getType"), pse = /* @__PURE__ */ o((e) => { let { props: t } = e; return Object.keys(t).filter((r) => r !== "children" && t[r] !== void 0).sort(); }, "getPropKeys"), mk = /* @__PURE__ */ o((e, t, r, n, i, s) => ++n > t.maxDepth ? (0, Pp.printElementAsLeaf)(dk(e), t) : (0, Pp.printElement)( dk(e), (0, Pp.printProps)( pse(e), e.props, t, r + t.indent, n, i, s ), (0, Pp.printChildren)( fk(e.props.children), t, r + t.indent, n, i, s ), t, r ), "serialize"); Kr.serialize = mk; var hk = /* @__PURE__ */ o((e) => e != null && An.isElement(e), "test"); Kr.test = hk; var fse = { serialize: mk, test: hk }, mse = fse; Kr.default = mse; }); // ../node_modules/pretty-format/build/plugins/ReactTestComponent.js var vk = y((Xr) => { "use strict"; Object.defineProperty(Xr, "__esModule", { value: !0 }); Xr.test = Xr.serialize = Xr.default = void 0; var Ap = Rp(), Op = function() { return typeof globalThis < "u" ? globalThis : typeof Op < "u" ? Op : typeof self < "u" ? self : typeof window < "u" ? window : Function( "return this")(); }(), Sw = Op["jest-symbol-do-not-touch"] || Op.Symbol, hse = typeof Sw == "function" && Sw.for ? Sw.for("react.test.json") : 245830487, yse = /* @__PURE__ */ o( (e) => { let { props: t } = e; return t ? Object.keys(t).filter((r) => t[r] !== void 0).sort() : []; }, "getPropKeys"), bk = /* @__PURE__ */ o((e, t, r, n, i, s) => ++n > t.maxDepth ? (0, Ap.printElementAsLeaf)(e.type, t) : (0, Ap.printElement)( e.type, e.props ? (0, Ap.printProps)( yse(e), e.props, t, r + t.indent, n, i, s ) : "", e.children ? (0, Ap.printChildren)( e.children, t, r + t.indent, n, i, s ) : "", t, r ), "serialize"); Xr.serialize = bk; var gk = /* @__PURE__ */ o((e) => e && e.$$typeof === hse, "test"); Xr.test = gk; var bse = { serialize: bk, test: gk }, gse = bse; Xr.default = gse; }); // ../node_modules/pretty-format/build/index.js var jk = y((br) => { "use strict"; Object.defineProperty(br, "__esModule", { value: !0 }); br.default = br.DEFAULT_OPTIONS = void 0; br.format = Nk; br.plugins = void 0; var vse = Qr(bw()), Ws = js(), Ese = Qr( Oj() ), xse = Qr(Lj()), wse = Qr(Uj()), Sse = Qr(Jj()), Rse = Qr(rk()), Tse = Qr(yk()), _se = Qr( vk() ); function Qr(e) { return e && e.__esModule ? e : { default: e }; } o(Qr, "_interopRequireDefault"); var Tk = Object.prototype.toString, Cse = Date.prototype.toISOString, Pse = Error.prototype.toString, Ek = RegExp.prototype.toString, Rw = /* @__PURE__ */ o( (e) => typeof e.constructor == "function" && e.constructor.name || "Object", "getConstructorName"), Ase = /* @__PURE__ */ o((e) => typeof window < "u" && e === window, "isWindow"), Ose = /^Symbol\((.*)\)(.*)$/, qse = /\n/gi, _w = class _w extends Error { constructor(t, r) { super(t), this.stack = r, this.name = this.constructor.name; } }; o(_w, "PrettyFormatPluginError"); var qp = _w; function Ise(e) { return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[o\ bject Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Arra\ y]" || e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]"; } o(Ise, "isToStringedArrayType"); function Mse(e) { return Object.is(e, -0) ? "-0" : String(e); } o(Mse, "printNumber"); function Nse(e) { return `${e}n`; } o(Nse, "printBigInt"); function xk(e, t) { return t ? "[Function " + (e.name || "anonymous") + "]" : "[Function]"; } o(xk, "printFunction"); function wk(e) { return String(e).replace(Ose, "Symbol($1)"); } o(wk, "printSymbol"); function Sk(e) { return "[" + Pse.call(e) + "]"; } o(Sk, "printError"); function _k(e, t, r, n) { if (e === !0 || e === !1) return "" + e; if (e === void 0) return "undefined"; if (e === null) return "null"; let i = typeof e; if (i === "number") return Mse(e); if (i === "bigint") return Nse(e); if (i === "string") return n ? '"' + e.replace(/"|\\/g, "\\$&") + '"' : '"' + e + '"'; if (i === "function") return xk(e, t); if (i === "symbol") return wk(e); let s = Tk.call(e); return s === "[object WeakMap]" ? "WeakMap {}" : s === "[object WeakSet]" ? "WeakSet {}" : s === "[object Function]" || s === "[object G\ eneratorFunction]" ? xk(e, t) : s === "[object Symbol]" ? wk(e) : s === "[object Date]" ? isNaN(+e) ? "Date { NaN }" : Cse.call(e) : s === "\ [object Error]" ? Sk(e) : s === "[object RegExp]" ? r ? Ek.call(e).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : Ek.call(e) : e instanceof Error ? Sk(e) : null; } o(_k, "printBasicValue"); function Ck(e, t, r, n, i, s) { if (i.indexOf(e) !== -1) return "[Circular]"; i = i.slice(), i.push(e); let a = ++n > t.maxDepth, l = t.min; if (t.callToJSON && !a && e.toJSON && typeof e.toJSON == "function" && !s) return Jr(e.toJSON(), t, r, n, i, !0); let u = Tk.call(e); return u === "[object Arguments]" ? a ? "[Arguments]" : (l ? "" : "Arguments ") + "[" + (0, Ws.printListItems)( e, t, r, n, i, Jr ) + "]" : Ise(u) ? a ? "[" + e.constructor.name + "]" : (l || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : e.constructor. name + " ") + "[" + (0, Ws.printListItems)( e, t, r, n, i, Jr ) + "]" : u === "[object Map]" ? a ? "[Map]" : "Map {" + (0, Ws.printIteratorEntries)( e.entries(), t, r, n, i, Jr, " => " ) + "}" : u === "[object Set]" ? a ? "[Set]" : "Set {" + (0, Ws.printIteratorValues)( e.values(), t, r, n, i, Jr ) + "}" : a || Ase(e) ? "[" + Rw(e) + "]" : (l || !t.printBasicPrototype && Rw(e) === "Object" ? "" : Rw(e) + " ") + "{" + (0, Ws.printObjectProperties)( e, t, r, n, i, Jr ) + "}"; } o(Ck, "printComplexValue"); function jse(e) { return e.serialize != null; } o(jse, "isNewPlugin"); function Pk(e, t, r, n, i, s) { let a; try { a = jse(e) ? e.serialize(t, r, n, i, s, Jr) : e.print( t, (l) => Jr(l, r, n, i, s), (l) => { let u = n + r.indent; return u + l.replace(qse, ` ` + u); }, { edgeSpacing: r.spacingOuter, min: r.min, spacing: r.spacingInner }, r.colors ); } catch (l) { throw new qp(l.message, l.stack); } if (typeof a != "string") throw new Error( `pretty-format: Plugin must return type "string" but instead returned "${typeof a}".` ); return a; } o(Pk, "printPlugin"); function Ak(e, t) { for (let r = 0; r < e.length; r++) try { if (e[r].test(t)) return e[r]; } catch (n) { throw new qp(n.message, n.stack); } return null; } o(Ak, "findPlugin"); function Jr(e, t, r, n, i, s) { let a = Ak(t.plugins, e); if (a !== null) return Pk(a, e, t, r, n, i); let l = _k( e, t.printFunctionName, t.escapeRegex, t.escapeString ); return l !== null ? l : Ck( e, t, r, n, i, s ); } o(Jr, "printer"); var Tw = { comment: "gray", content: "reset", prop: "yellow", tag: "cyan", value: "green" }, Ok = Object.keys(Tw), zt = { callToJSON: !0, compareKeys: void 0, escapeRegex: !1, escapeString: !0, highlight: !1, indent: 2, maxDepth: 1 / 0, min: !1, plugins: [], printBasicPrototype: !0, printFunctionName: !0, theme: Tw }; br.DEFAULT_OPTIONS = zt; function kse(e) { if (Object.keys(e).forEach((t) => { if (!zt.hasOwnProperty(t)) throw new Error(`pretty-format: Unknown option "${t}".`); }), e.min && e.indent !== void 0 && e.indent !== 0) throw new Error( 'pretty-format: Options "min" and "indent" cannot be used together.' ); if (e.theme !== void 0) { if (e.theme === null) throw new Error('pretty-format: Option "theme" must not be null.'); if (typeof e.theme != "object") throw new Error( `pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".` ); } } o(kse, "validateOptions"); var Lse = /* @__PURE__ */ o((e) => Ok.reduce((t, r) => { let n = e.theme && e.theme[r] !== void 0 ? e.theme[r] : Tw[r], i = n && vse.default[n]; if (i && typeof i.close == "string" && typeof i.open == "string") t[r] = i; else throw new Error( `pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.` ); return t; }, /* @__PURE__ */ Object.create(null)), "getColorsHighlight"), Fse = /* @__PURE__ */ o(() => Ok.reduce((e, t) => (e[t] = { close: "", open: "" }, e), /* @__PURE__ */ Object.create(null)), "getColorsEmpty"), qk = /* @__PURE__ */ o((e) => e && e.printFunctionName !== void 0 ? e.printFunctionName : zt.printFunctionName, "getPrintFunctionName"), Ik = /* @__PURE__ */ o((e) => e && e.escapeRegex !== void 0 ? e.escapeRegex : zt.escapeRegex, "getEscapeRegex"), Mk = /* @__PURE__ */ o((e) => e && e.escapeString !== void 0 ? e.escapeString : zt.escapeString, "getEscapeString"), Rk = /* @__PURE__ */ o( (e) => { var t; return { callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON : zt.callToJSON, colors: e && e.highlight ? Lse(e) : Fse(), compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys : zt.compareKeys, escapeRegex: Ik(e), escapeString: Mk(e), indent: e && e.min ? "" : Dse( e && e.indent !== void 0 ? e.indent : zt.indent ), maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth : zt.maxDepth, min: e && e.min !== void 0 ? e.min : zt.min, plugins: e && e.plugins !== void 0 ? e.plugins : zt.plugins, printBasicPrototype: (t = e?.printBasicPrototype) !== null && t !== void 0 ? t : !0, printFunctionName: qk(e), spacingInner: e && e.min ? " " : ` `, spacingOuter: e && e.min ? "" : ` ` }; }, "getConfig"); function Dse(e) { return new Array(e + 1).join(" "); } o(Dse, "createIndent"); function Nk(e, t) { if (t && (kse(t), t.plugins)) { let n = Ak(t.plugins, e); if (n !== null) return Pk(n, e, Rk(t), "", 0, []); } let r = _k( e, qk(t), Ik(t), Mk(t) ); return r !== null ? r : Ck(e, Rk(t), "", 0, []); } o(Nk, "format"); var $se = { AsymmetricMatcher: Ese.default, ConvertAnsi: xse.default, DOMCollection: wse.default, DOMElement: Sse.default, Immutable: Rse.default, ReactElement: Tse.default, ReactTestComponent: _se.default }; br.plugins = $se; var Bse = Nk; br.default = Bse; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js var oL = y((jp) => { "use strict"; Object.defineProperty(jp, "__esModule", { value: !0 }); jp.default = void 0; function vae() { var e = this, t = 0, r = { "@@iterator": /* @__PURE__ */ o(function() { return r; }, "iterator"), next: /* @__PURE__ */ o(function() { if (t < e.length) { var i = e[t]; return t = t + 1, { done: !1, value: i }; } else return { done: !0 }; }, "next") }; return r; } o(vae, "iteratorProxy"); var Eae = vae; jp.default = Eae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js var Jo = y((Aw) => { "use strict"; Object.defineProperty(Aw, "__esModule", { value: !0 }); Aw.default = Sae; var xae = wae(oL()); function wae(e) { return e && e.__esModule ? e : { default: e }; } o(wae, "_interopRequireDefault"); function Pw(e) { "@babel/helpers - typeof"; return Pw = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, Pw(e); } o(Pw, "_typeof"); function Sae(e, t) { return typeof Symbol == "function" && Pw(Symbol.iterator) === "symbol" && Object.defineProperty(e, Symbol.iterator, { value: xae.default.bind(t) }), e; } o(Sae, "iterationDecorator"); }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js var aL = y((kp) => { "use strict"; Object.defineProperty(kp, "__esModule", { value: !0 }); kp.default = void 0; var Rae = Tae(Jo()); function Tae(e) { return e && e.__esModule ? e : { default: e }; } o(Tae, "_interopRequireDefault"); function Ow(e, t) { return Pae(e) || Cae(e, t) || sL(e, t) || _ae(); } o(Ow, "_slicedToArray"); function _ae() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(_ae, "_nonIterableRest"); function Cae(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n = [], i = !0, s = !1, a, l; try { for (r = r.call(e); !(i = (a = r.next()).done) && (n.push(a.value), !(t && n.length === t)); i = !0) ; } catch (u) { s = !0, l = u; } finally { try { !i && r.return != null && r.return(); } finally { if (s) throw l; } } return n; } } o(Cae, "_iterableToArrayLimit"); function Pae(e) { if (Array.isArray(e)) return e; } o(Pae, "_arrayWithHoles"); function Aae(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = sL(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ o(function() { }, "F"); return { s: i, n: /* @__PURE__ */ o(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ o(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, a = !1, l; return { s: /* @__PURE__ */ o(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ o(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ o(function(c) { a = !0, l = c; }, "e"), f: /* @__PURE__ */ o(function() { try { !s && r.return != null && r.return(); } finally { if (a) throw l; } }, "f") }; } o(Aae, "_createForOfIteratorHelper"); function sL(e, t) { if (e) { if (typeof e == "string") return iL(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return iL(e, t); } } o(sL, "_unsupportedIterableToArray"); function iL(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } o(iL, "_arrayLikeToArray"); var Qo = [["aria-activedescendant", { type: "id" }], ["aria-atomic", { type: "boolean" }], ["aria-autocomplete", { type: "token", values: ["inline", "list", "both", "none"] }], ["aria-braillelabel", { type: "string" }], ["aria-brailleroledescription", { type: "string" }], ["aria-busy", { type: "boolean" }], ["aria-checked", { type: "tristate" }], ["aria-colcount", { type: "integer" }], ["aria-colindex", { type: "integer" }], ["aria-colspan", { type: "integer" }], ["aria-controls", { type: "idlist" }], ["aria-current", { type: "token", values: ["page", "step", "location", "date", "time", !0, !1] }], ["aria-describedby", { type: "idlist" }], ["aria-description", { type: "string" }], ["aria-details", { type: "id" }], ["aria-disabled", { type: "boolean" }], ["aria-dropeffect", { type: "tokenlist", values: ["copy", "execute", "link", "move", "none", "popup"] }], ["aria-errormessage", { type: "id" }], ["aria-expanded", { type: "boolean", allowundefined: !0 }], ["aria-flowto", { type: "idlist" }], ["aria-grabbed", { type: "boolean", allowundefined: !0 }], ["aria-haspopup", { type: "token", values: [!1, !0, "menu", "listbox", "tree", "grid", "dialog"] }], ["aria-hidden", { type: "boolean", allowundefined: !0 }], ["aria-invalid", { type: "token", values: ["grammar", !1, "spelling", !0] }], ["aria-keyshortcuts", { type: "string" }], ["aria-label", { type: "string" }], ["aria-labelledby", { type: "idlist" }], ["aria-level", { type: "integer" }], ["aria-live", { type: "token", values: ["assertive", "off", "polite"] }], ["aria-modal", { type: "boolean" }], ["aria-multiline", { type: "boolean" }], ["aria-multiselectable", { type: "boolean" }], ["aria-orientation", { type: "token", values: ["vertical", "undefined", "horizontal"] }], ["aria-owns", { type: "idlist" }], ["aria-placeholder", { type: "string" }], ["aria-posinset", { type: "integer" }], ["aria-pressed", { type: "tristate" }], ["aria-readonly", { type: "boolean" }], ["aria-relevant", { type: "tokenlist", values: ["additions", "all", "removals", "text"] }], ["aria-required", { type: "boolean" }], ["aria-roledescription", { type: "string" }], ["aria-rowcount", { type: "integer" }], ["aria-rowindex", { type: "integer" }], ["aria-rowspan", { type: "integer" }], ["aria-selected", { type: "boolean", allowundefined: !0 }], ["aria-setsize", { type: "integer" }], ["aria-sort", { type: "token", values: ["ascending", "descending", "none", "other"] }], ["aria-valuemax", { type: "number" }], ["aria-valuemin", { type: "number" }], ["aria-valuenow", { type: "number" }], ["aria-valuetext", { type: "string" }]], qw = { entries: /* @__PURE__ */ o(function() { return Qo; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = Aae(Qo), i; try { for (n.s(); !(i = n.n()).done; ) { var s = Ow(i.value, 2), a = s[0], l = s[1]; t.call(r, l, a, Qo); } } catch (u) { n.e(u); } finally { n.f(); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = Qo.find(function(n) { return n[0] === t; }); return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!qw.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return Qo.map(function(t) { var r = Ow(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return Qo.map(function(t) { var r = Ow(t, 2), n = r[1]; return n; }); }, "values") }, Oae = (0, Rae.default)(qw, qw.entries()); kp.default = Oae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js var cL = y((Lp) => { "use strict"; Object.defineProperty(Lp, "__esModule", { value: !0 }); Lp.default = void 0; var qae = Iae(Jo()); function Iae(e) { return e && e.__esModule ? e : { default: e }; } o(Iae, "_interopRequireDefault"); function Iw(e, t) { return jae(e) || Nae(e, t) || uL(e, t) || Mae(); } o(Iw, "_slicedToArray"); function Mae() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(Mae, "_nonIterableRest"); function Nae(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n = [], i = !0, s = !1, a, l; try { for (r = r.call(e); !(i = (a = r.next()).done) && (n.push(a.value), !(t && n.length === t)); i = !0) ; } catch (u) { s = !0, l = u; } finally { try { !i && r.return != null && r.return(); } finally { if (s) throw l; } } return n; } } o(Nae, "_iterableToArrayLimit"); function jae(e) { if (Array.isArray(e)) return e; } o(jae, "_arrayWithHoles"); function kae(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = uL(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ o(function() { }, "F"); return { s: i, n: /* @__PURE__ */ o(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ o(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, a = !1, l; return { s: /* @__PURE__ */ o(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ o(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ o(function(c) { a = !0, l = c; }, "e"), f: /* @__PURE__ */ o(function() { try { !s && r.return != null && r.return(); } finally { if (a) throw l; } }, "f") }; } o(kae, "_createForOfIteratorHelper"); function uL(e, t) { if (e) { if (typeof e == "string") return lL(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return lL(e, t); } } o(uL, "_unsupportedIterableToArray"); function lL(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } o(lL, "_arrayLikeToArray"); var Zo = [["a", { reserved: !1 }], ["abbr", { reserved: !1 }], ["acronym", { reserved: !1 }], ["address", { reserved: !1 }], ["applet", { reserved: !1 }], ["area", { reserved: !1 }], ["article", { reserved: !1 }], ["aside", { reserved: !1 }], ["audio", { reserved: !1 }], ["b", { reserved: !1 }], ["base", { reserved: !0 }], ["bdi", { reserved: !1 }], ["bdo", { reserved: !1 }], ["big", { reserved: !1 }], ["blink", { reserved: !1 }], ["blockquote", { reserved: !1 }], ["body", { reserved: !1 }], ["br", { reserved: !1 }], ["button", { reserved: !1 }], ["canvas", { reserved: !1 }], ["caption", { reserved: !1 }], ["center", { reserved: !1 }], ["cite", { reserved: !1 }], ["code", { reserved: !1 }], ["col", { reserved: !0 }], ["colgroup", { reserved: !0 }], ["content", { reserved: !1 }], ["data", { reserved: !1 }], ["datalist", { reserved: !1 }], ["dd", { reserved: !1 }], ["del", { reserved: !1 }], ["details", { reserved: !1 }], ["dfn", { reserved: !1 }], ["dialog", { reserved: !1 }], ["dir", { reserved: !1 }], ["div", { reserved: !1 }], ["dl", { reserved: !1 }], ["dt", { reserved: !1 }], ["em", { reserved: !1 }], ["embed", { reserved: !1 }], ["fieldset", { reserved: !1 }], ["figcaption", { reserved: !1 }], ["figure", { reserved: !1 }], ["font", { reserved: !1 }], ["footer", { reserved: !1 }], ["form", { reserved: !1 }], ["frame", { reserved: !1 }], ["frameset", { reserved: !1 }], ["h1", { reserved: !1 }], ["h2", { reserved: !1 }], ["h3", { reserved: !1 }], ["h4", { reserved: !1 }], ["h5", { reserved: !1 }], ["h6", { reserved: !1 }], ["head", { reserved: !0 }], ["header", { reserved: !1 }], ["hgroup", { reserved: !1 }], ["hr", { reserved: !1 }], ["html", { reserved: !0 }], ["i", { reserved: !1 }], ["iframe", { reserved: !1 }], ["img", { reserved: !1 }], ["input", { reserved: !1 }], ["ins", { reserved: !1 }], ["kbd", { reserved: !1 }], ["keygen", { reserved: !1 }], ["label", { reserved: !1 }], ["legend", { reserved: !1 }], ["li", { reserved: !1 }], ["link", { reserved: !0 }], ["main", { reserved: !1 }], ["map", { reserved: !1 }], ["mark", { reserved: !1 }], ["marquee", { reserved: !1 }], ["menu", { reserved: !1 }], ["menuitem", { reserved: !1 }], ["meta", { reserved: !0 }], ["meter", { reserved: !1 }], ["nav", { reserved: !1 }], ["noembed", { reserved: !0 }], ["noscript", { reserved: !0 }], ["object", { reserved: !1 }], ["ol", { reserved: !1 }], ["optgroup", { reserved: !1 }], ["option", { reserved: !1 }], ["output", { reserved: !1 }], ["p", { reserved: !1 }], ["param", { reserved: !0 }], ["picture", { reserved: !0 }], ["pre", { reserved: !1 }], ["progress", { reserved: !1 }], ["q", { reserved: !1 }], ["rp", { reserved: !1 }], ["rt", { reserved: !1 }], ["rtc", { reserved: !1 }], ["ruby", { reserved: !1 }], ["s", { reserved: !1 }], ["samp", { reserved: !1 }], ["script", { reserved: !0 }], ["section", { reserved: !1 }], ["select", { reserved: !1 }], ["small", { reserved: !1 }], ["source", { reserved: !0 }], ["spacer", { reserved: !1 }], ["span", { reserved: !1 }], ["strike", { reserved: !1 }], ["strong", { reserved: !1 }], ["style", { reserved: !0 }], ["sub", { reserved: !1 }], ["summary", { reserved: !1 }], ["sup", { reserved: !1 }], ["table", { reserved: !1 }], ["tbody", { reserved: !1 }], ["td", { reserved: !1 }], ["textarea", { reserved: !1 }], ["tfoot", { reserved: !1 }], ["th", { reserved: !1 }], ["thead", { reserved: !1 }], ["time", { reserved: !1 }], ["title", { reserved: !0 }], ["tr", { reserved: !1 }], ["track", { reserved: !0 }], ["tt", { reserved: !1 }], ["u", { reserved: !1 }], ["ul", { reserved: !1 }], ["var", { reserved: !1 }], ["video", { reserved: !1 }], ["wbr", { reserved: !1 }], ["xmp", { reserved: !1 }]], Mw = { entries: /* @__PURE__ */ o(function() { return Zo; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = kae(Zo), i; try { for (n.s(); !(i = n.n()).done; ) { var s = Iw(i.value, 2), a = s[0], l = s[1]; t.call(r, l, a, Zo); } } catch (u) { n.e(u); } finally { n.f(); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = Zo.find(function(n) { return n[0] === t; }); return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!Mw.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return Zo.map(function(t) { var r = Iw(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return Zo.map(function(t) { var r = Iw(t, 2), n = r[1]; return n; }); }, "values") }, Lae = (0, qae.default)(Mw, Mw.entries()); Lp.default = Lae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js var dL = y((Fp) => { "use strict"; Object.defineProperty(Fp, "__esModule", { value: !0 }); Fp.default = void 0; var Fae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget"]] }, Dae = Fae; Fp.default = Dae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js var pL = y((Dp) => { "use strict"; Object.defineProperty(Dp, "__esModule", { value: !0 }); Dp.default = void 0; var $ae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-disabled": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget"]] }, Bae = $ae; Dp.default = Bae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js var fL = y(($p) => { "use strict"; Object.defineProperty($p, "__esModule", { value: !0 }); $p.default = void 0; var Uae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null }, relatedConcepts: [{ concept: { name: "input" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget"]] }, Hae = Uae; $p.default = Hae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js var mL = y((Bp) => { "use strict"; Object.defineProperty(Bp, "__esModule", { value: !0 }); Bp.default = void 0; var Vae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, zae = Vae; Bp.default = zae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js var hL = y((Up) => { "use strict"; Object.defineProperty(Up, "__esModule", { value: !0 }); Up.default = void 0; var Gae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-valuemax": null, "aria-valuemin": null, "aria-valuenow": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, Wae = Gae; Up.default = Wae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js var yL = y((Hp) => { "use strict"; Object.defineProperty(Hp, "__esModule", { value: !0 }); Hp.default = void 0; var Yae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: { "aria-atomic": null, "aria-busy": null, "aria-controls": null, "aria-current": null, "aria-describedby": null, "aria-details": null, "aria-dropeffect": null, "aria-flowto": null, "aria-grabbed": null, "aria-hidden": null, "aria-keyshortcuts": null, "aria-label": null, "aria-labelledby": null, "aria-live": null, "aria-owns": null, "aria-relevant": null, "aria-roledescription": null }, relatedConcepts: [{ concept: { name: "role" }, module: "XHTML" }, { concept: { name: "type" }, module: "Dublin Core" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [] }, Kae = Yae; Hp.default = Kae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js var bL = y((Vp) => { "use strict"; Object.defineProperty(Vp, "__esModule", { value: !0 }); Vp.default = void 0; var Xae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "frontmatter" }, module: "DTB" }, { concept: { name: "level" }, module: "DTB" }, { concept: { name: "level" }, module: "SMIL" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, Jae = Xae; Vp.default = Jae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js var gL = y((zp) => { "use strict"; Object.defineProperty(zp, "__esModule", { value: !0 }); zp.default = void 0; var Qae = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, Zae = Qae; zp.default = Zae; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js var vL = y((Gp) => { "use strict"; Object.defineProperty(Gp, "__esModule", { value: !0 }); Gp.default = void 0; var ele = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "group"]] }, tle = ele; Gp.default = tle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js var EL = y((Wp) => { "use strict"; Object.defineProperty(Wp, "__esModule", { value: !0 }); Wp.default = void 0; var rle = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype"]] }, nle = rle; Wp.default = nle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js var xL = y((Yp) => { "use strict"; Object.defineProperty(Yp, "__esModule", { value: !0 }); Yp.default = void 0; var ole = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype"]] }, ile = ole; Yp.default = ile; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js var wL = y((Kp) => { "use strict"; Object.defineProperty(Kp, "__esModule", { value: !0 }); Kp.default = void 0; var sle = { abstract: !0, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-modal": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype"]] }, ale = sle; Kp.default = ale; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js var SL = y((Xp) => { "use strict"; Object.defineProperty(Xp, "__esModule", { value: !0 }); Xp.default = void 0; var lle = It(dL()), ule = It(pL()), cle = It(fL()), dle = It(mL()), ple = It(hL()), fle = It(yL()), mle = It(bL()), hle = It(gL()), yle = It( vL()), ble = It(EL()), gle = It(xL()), vle = It(wL()); function It(e) { return e && e.__esModule ? e : { default: e }; } o(It, "_interopRequireDefault"); var Ele = [["command", lle.default], ["composite", ule.default], ["input", cle.default], ["landmark", dle.default], ["range", ple.default], ["roletype", fle.default], ["section", mle.default], ["sectionhead", hle.default], ["select", yle.default], ["structure", ble.default], ["\ widget", gle.default], ["window", vle.default]], xle = Ele; Xp.default = xle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js var RL = y((Jp) => { "use strict"; Object.defineProperty(Jp, "__esModule", { value: !0 }); Jp.default = void 0; var wle = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-atomic": "true", "aria-live": "assertive" }, relatedConcepts: [{ concept: { name: "alert" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Sle = wle; Jp.default = Sle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js var TL = y((Qp) => { "use strict"; Object.defineProperty(Qp, "__esModule", { value: !0 }); Qp.default = void 0; var Rle = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "alert" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "alert"], ["roletype", "window", "dialog"]] }, Tle = Rle; Qp.default = Tle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js var _L = y((Zp) => { "use strict"; Object.defineProperty(Zp, "__esModule", { value: !0 }); Zp.default = void 0; var _le = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "Device Independence Delivery Unit" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, Cle = _le; Zp.default = Cle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js var CL = y((ef) => { "use strict"; Object.defineProperty(ef, "__esModule", { value: !0 }); ef.default = void 0; var Ple = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { name: "article" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "document"]] }, Ale = Ple; ef.default = Ale; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js var PL = y((tf) => { "use strict"; Object.defineProperty(tf, "__esModule", { value: !0 }); tf.default = void 0; var Ole = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { constraints: ["scoped to the body element"], name: "header" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, qle = Ole; tf.default = qle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js var AL = y((rf) => { "use strict"; Object.defineProperty(rf, "__esModule", { value: !0 }); rf.default = void 0; var Ile = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "blockquote" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Mle = Ile; rf.default = Mle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js var OL = y((nf) => { "use strict"; Object.defineProperty(nf, "__esModule", { value: !0 }); nf.default = void 0; var Nle = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null, "aria-pressed": null }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "button" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ name: "type", value: "image" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ name: "type", value: "reset" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ name: "type", value: "submit" }], name: "input" }, module: "HTML" }, { concept: { name: "button" }, module: "HTML" }, { concept: { name: "trigger" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command"]] }, jle = Nle; nf.default = jle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js var qL = y((of) => { "use strict"; Object.defineProperty(of, "__esModule", { value: !0 }); of.default = void 0; var kle = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "caption" }, module: "HTML" }], requireContextRole: ["figure", "grid", "table"], requiredContextRole: ["figure", "grid", "table"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Lle = kle; of.default = Lle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js var IL = y((sf) => { "use strict"; Object.defineProperty(sf, "__esModule", { value: !0 }); sf.default = void 0; var Fle = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-colindex": null, "aria-colspan": null, "aria-rowindex": null, "aria-rowspan": null }, relatedConcepts: [{ concept: { constraints: ["ancestor table element has table role"], name: "td" }, module: "HTML" }], requireContextRole: ["row"], requiredContextRole: ["row"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Dle = Fle; sf.default = Dle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js var ML = y((af) => { "use strict"; Object.defineProperty(af, "__esModule", { value: !0 }); af.default = void 0; var $le = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-checked": null, "aria-errormessage": null, "aria-expanded": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "checkbox" }], name: "input" }, module: "HTML" }, { concept: { name: "option" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input"]] }, Ble = $le; af.default = Ble; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js var NL = y((lf) => { "use strict"; Object.defineProperty(lf, "__esModule", { value: !0 }); lf.default = void 0; var Ule = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "code" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Hle = Ule; lf.default = Hle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js var jL = y((uf) => { "use strict"; Object.defineProperty(uf, "__esModule", { value: !0 }); uf.default = void 0; var Vle = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-sort": null }, relatedConcepts: [{ concept: { name: "th" }, module: "HTML" }, { concept: { attributes: [{ name: "scope", value: "col" }], name: "th" }, module: "HTML" }, { concept: { attributes: [{ name: "scope", value: "colgroup" }], name: "th" }, module: "HTML" }], requireContextRole: ["row"], requiredContextRole: ["row"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\ t", "gridcell"], ["roletype", "structure", "sectionhead"]] }, zle = Vle; uf.default = zle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js var kL = y((cf) => { "use strict"; Object.defineProperty(cf, "__esModule", { value: !0 }); cf.default = void 0; var Gle = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-autocomplete": null, "aria-errormessage": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null, "aria-expanded": "false", "aria-haspopup": "listbox" }, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "email" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "search" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "tel" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "text" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "url" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "list" }, { name: "type", value: "url" }], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "multiple" }, { constraints: ["undefined"], name: "size" }], constraints: ["the multiple attribute is not set and the size attribute does not have a value greater than 1"], name: "select" }, module: "HTML" }, { concept: { name: "select" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-controls": null, "aria-expanded": "false" }, superClass: [["roletype", "widget", "input"]] }, Wle = Gle; cf.default = Wle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js var LL = y((df) => { "use strict"; Object.defineProperty(df, "__esModule", { value: !0 }); df.default = void 0; var Yle = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "aside" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-label" }], constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"], name: "aside" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-labelledby" }], constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"], name: "aside" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Kle = Yle; df.default = Kle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js var FL = y((pf) => { "use strict"; Object.defineProperty(pf, "__esModule", { value: !0 }); pf.default = void 0; var Xle = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { constraints: ["scoped to the body element"], name: "footer" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Jle = Xle; pf.default = Jle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js var DL = y((ff) => { "use strict"; Object.defineProperty(ff, "__esModule", { value: !0 }); ff.default = void 0; var Qle = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "dd" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Zle = Qle; ff.default = Zle; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js var $L = y((mf) => { "use strict"; Object.defineProperty(mf, "__esModule", { value: !0 }); mf.default = void 0; var eue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "del" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, tue = eue; mf.default = tue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js var BL = y((hf) => { "use strict"; Object.defineProperty(hf, "__esModule", { value: !0 }); hf.default = void 0; var rue = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "dialog" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "window"]] }, nue = rue; hf.default = nue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js var UL = y((yf) => { "use strict"; Object.defineProperty(yf, "__esModule", { value: !0 }); yf.default = void 0; var oue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ module: "DAISY Guide" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "list"]] }, iue = oue; yf.default = iue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js var HL = y((bf) => { "use strict"; Object.defineProperty(bf, "__esModule", { value: !0 }); bf.default = void 0; var sue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "Device Independence Delivery Unit" } }, { concept: { name: "html" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, aue = sue; bf.default = aue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js var VL = y((gf) => { "use strict"; Object.defineProperty(gf, "__esModule", { value: !0 }); gf.default = void 0; var lue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "em" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, uue = lue; gf.default = uue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js var zL = y((vf) => { "use strict"; Object.defineProperty(vf, "__esModule", { value: !0 }); vf.default = void 0; var cue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["article"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "list"]] }, due = cue; vf.default = due; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js var GL = y((Ef) => { "use strict"; Object.defineProperty(Ef, "__esModule", { value: !0 }); Ef.default = void 0; var pue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "figure" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, fue = pue; Ef.default = fue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js var WL = y((xf) => { "use strict"; Object.defineProperty(xf, "__esModule", { value: !0 }); xf.default = void 0; var mue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "aria-label" }], name: "form" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-labelledby" }], name: "form" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "name" }], name: "form" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, hue = mue; xf.default = hue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js var YL = y((wf) => { "use strict"; Object.defineProperty(wf, "__esModule", { value: !0 }); wf.default = void 0; var yue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "a" }, module: "HTML" }, { concept: { name: "area" }, module: "HTML" }, { concept: { name: "aside" }, module: "HTML" }, { concept: { name: "b" }, module: "HTML" }, { concept: { name: "bdo" }, module: "HTML" }, { concept: { name: "body" }, module: "HTML" }, { concept: { name: "data" }, module: "HTML" }, { concept: { name: "div" }, module: "HTML" }, { concept: { constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\ n body"], name: "footer" }, module: "HTML" }, { concept: { constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\ n body"], name: "header" }, module: "HTML" }, { concept: { name: "hgroup" }, module: "HTML" }, { concept: { name: "i" }, module: "HTML" }, { concept: { name: "pre" }, module: "HTML" }, { concept: { name: "q" }, module: "HTML" }, { concept: { name: "samp" }, module: "HTML" }, { concept: { name: "section" }, module: "HTML" }, { concept: { name: "small" }, module: "HTML" }, { concept: { name: "span" }, module: "HTML" }, { concept: { name: "u" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, bue = yue; wf.default = bue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js var KL = y((Sf) => { "use strict"; Object.defineProperty(Sf, "__esModule", { value: !0 }); Sf.default = void 0; var gue = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-multiselectable": null, "aria-readonly": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["row"], ["row", "rowgroup"]], requiredProps: {}, superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "table"]] }, vue = gue; Sf.default = vue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js var XL = y((Rf) => { "use strict"; Object.defineProperty(Rf, "__esModule", { value: !0 }); Rf.default = void 0; var Eue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null, "aria-selected": null }, relatedConcepts: [{ concept: { constraints: ["ancestor table element has grid role", "ancestor table element has treegrid role"], name: "td" }, module: "HTML" }], requireContextRole: ["row"], requiredContextRole: ["row"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "cell"], ["roletype", "widget"]] }, xue = Eue; Rf.default = xue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js var JL = y((Tf) => { "use strict"; Object.defineProperty(Tf, "__esModule", { value: !0 }); Tf.default = void 0; var wue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-disabled": null }, relatedConcepts: [{ concept: { name: "details" }, module: "HTML" }, { concept: { name: "fieldset" }, module: "HTML" }, { concept: { name: "optgroup" }, module: "HTML" }, { concept: { name: "address" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Sue = wue; Tf.default = Sue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js var QL = y((_f) => { "use strict"; Object.defineProperty(_f, "__esModule", { value: !0 }); _f.default = void 0; var Rue = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-level": "2" }, relatedConcepts: [{ concept: { name: "h1" }, module: "HTML" }, { concept: { name: "h2" }, module: "HTML" }, { concept: { name: "h3" }, module: "HTML" }, { concept: { name: "h4" }, module: "HTML" }, { concept: { name: "h5" }, module: "HTML" }, { concept: { name: "h6" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-level": "2" }, superClass: [["roletype", "structure", "sectionhead"]] }, Tue = Rue; _f.default = Tue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js var ZL = y((Cf) => { "use strict"; Object.defineProperty(Cf, "__esModule", { value: !0 }); Cf.default = void 0; var _ue = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "alt" }], name: "img" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "alt" }], name: "img" }, module: "HTML" }, { concept: { name: "imggroup" }, module: "DTB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Cue = _ue; Cf.default = Cue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js var eF = y((Pf) => { "use strict"; Object.defineProperty(Pf, "__esModule", { value: !0 }); Pf.default = void 0; var Pue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "ins" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Aue = Pue; Pf.default = Aue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js var tF = y((Af) => { "use strict"; Object.defineProperty(Af, "__esModule", { value: !0 }); Af.default = void 0; var Oue = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null }, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "href" }], name: "a" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "href" }], name: "area" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command"]] }, que = Oue; Af.default = que; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js var rF = y((Of) => { "use strict"; Object.defineProperty(Of, "__esModule", { value: !0 }); Of.default = void 0; var Iue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "menu" }, module: "HTML" }, { concept: { name: "ol" }, module: "HTML" }, { concept: { name: "ul" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["listitem"]], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Mue = Iue; Of.default = Mue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js var nF = y((qf) => { "use strict"; Object.defineProperty(qf, "__esModule", { value: !0 }); qf.default = void 0; var Nue = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-expanded": null, "aria-invalid": null, "aria-multiselectable": null, "aria-readonly": null, "aria-required": null, "aria-orientation": "vertical" }, relatedConcepts: [{ concept: { attributes: [{ constraints: [">1"], name: "size" }], constraints: ["the size attribute value is greater than 1"], name: "select" }, module: "HTML" }, { concept: { attributes: [{ name: "multiple" }], name: "select" }, module: "HTML" }, { concept: { name: "datalist" }, module: "HTML" }, { concept: { name: "list" }, module: "ARIA" }, { concept: { name: "select" }, module: "XForms" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["option", "group"], ["option"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, jue = Nue; qf.default = jue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js var oF = y((If) => { "use strict"; Object.defineProperty(If, "__esModule", { value: !0 }); If.default = void 0; var kue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-level": null, "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { constraints: ["direct descendant of ol", "direct descendant of ul", "direct descendant of menu"], name: "li" }, module: "HTML" }, { concept: { name: "item" }, module: "XForms" }], requireContextRole: ["directory", "list"], requiredContextRole: ["directory", "list"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Lue = kue; If.default = Lue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js var iF = y((Mf) => { "use strict"; Object.defineProperty(Mf, "__esModule", { value: !0 }); Mf.default = void 0; var Fue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-live": "polite" }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Due = Fue; Mf.default = Due; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js var sF = y((Nf) => { "use strict"; Object.defineProperty(Nf, "__esModule", { value: !0 }); Nf.default = void 0; var $ue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "main" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Bue = $ue; Nf.default = Bue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js var aF = y((jf) => { "use strict"; Object.defineProperty(jf, "__esModule", { value: !0 }); jf.default = void 0; var Uue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: [], props: { "aria-braillelabel": null, "aria-brailleroledescription": null, "aria-description": null }, relatedConcepts: [{ concept: { name: "mark" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Hue = Uue; jf.default = Hue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js var lF = y((kf) => { "use strict"; Object.defineProperty(kf, "__esModule", { value: !0 }); kf.default = void 0; var Vue = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, zue = Vue; kf.default = zue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js var uF = y((Lf) => { "use strict"; Object.defineProperty(Lf, "__esModule", { value: !0 }); Lf.default = void 0; var Gue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "math" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Wue = Gue; Lf.default = Wue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js var cF = y((Ff) => { "use strict"; Object.defineProperty(Ff, "__esModule", { value: !0 }); Ff.default = void 0; var Yue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": "vertical" }, relatedConcepts: [{ concept: { name: "MENU" }, module: "JAPI" }, { concept: { name: "list" }, module: "ARIA" }, { concept: { name: "select" }, module: "XForms" }, { concept: { name: "sidebar" }, module: "DTB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\ ox"], ["menuitemradio"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, Kue = Yue; Ff.default = Kue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js var dF = y((Df) => { "use strict"; Object.defineProperty(Df, "__esModule", { value: !0 }); Df.default = void 0; var Xue = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": "horizontal" }, relatedConcepts: [{ concept: { name: "toolbar" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\ ox"], ["menuitemradio"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select", "menu"], ["roletype", "structure", "section", "group", "select", "menu"]] }, Jue = Xue; Df.default = Jue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js var pF = y(($f) => { "use strict"; Object.defineProperty($f, "__esModule", { value: !0 }); $f.default = void 0; var Que = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null, "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { name: "MENU_ITEM" }, module: "JAPI" }, { concept: { name: "listitem" }, module: "ARIA" }, { concept: { name: "option" }, module: "ARIA" }], requireContextRole: ["group", "menu", "menubar"], requiredContextRole: ["group", "menu", "menubar"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command"]] }, Zue = Que; $f.default = Zue; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js var fF = y((Bf) => { "use strict"; Object.defineProperty(Bf, "__esModule", { value: !0 }); Bf.default = void 0; var ece = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "menuitem" }, module: "ARIA" }], requireContextRole: ["group", "menu", "menubar"], requiredContextRole: ["group", "menu", "menubar"], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input", "checkbox"], ["roletype", "widget", "command", "menuitem"]] }, tce = ece; Bf.default = tce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js var mF = y((Uf) => { "use strict"; Object.defineProperty(Uf, "__esModule", { value: !0 }); Uf.default = void 0; var rce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "menuitem" }, module: "ARIA" }], requireContextRole: ["group", "menu", "menubar"], requiredContextRole: ["group", "menu", "menubar"], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input", "checkbox", "menuitemcheckbox"], ["roletype", "widget", "command", "menuitem", "menuitemche\ ckbox"], ["roletype", "widget", "input", "radio"]] }, nce = rce; Uf.default = nce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js var hF = y((Hf) => { "use strict"; Object.defineProperty(Hf, "__esModule", { value: !0 }); Hf.default = void 0; var oce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-valuetext": null, "aria-valuemax": "100", "aria-valuemin": "0" }, relatedConcepts: [{ concept: { name: "meter" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-valuenow": null }, superClass: [["roletype", "structure", "range"]] }, ice = oce; Hf.default = ice; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js var yF = y((Vf) => { "use strict"; Object.defineProperty(Vf, "__esModule", { value: !0 }); Vf.default = void 0; var sce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "nav" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, ace = sce; Vf.default = ace; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js var bF = y((zf) => { "use strict"; Object.defineProperty(zf, "__esModule", { value: !0 }); zf.default = void 0; var lce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: [], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [] }, uce = lce; zf.default = uce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js var gF = y((Gf) => { "use strict"; Object.defineProperty(Gf, "__esModule", { value: !0 }); Gf.default = void 0; var cce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, dce = cce; Gf.default = dce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js var vF = y((Wf) => { "use strict"; Object.defineProperty(Wf, "__esModule", { value: !0 }); Wf.default = void 0; var pce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-checked": null, "aria-posinset": null, "aria-setsize": null, "aria-selected": "false" }, relatedConcepts: [{ concept: { name: "item" }, module: "XForms" }, { concept: { name: "listitem" }, module: "ARIA" }, { concept: { name: "option" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-selected": "false" }, superClass: [["roletype", "widget", "input"]] }, fce = pce; Wf.default = fce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js var EF = y((Yf) => { "use strict"; Object.defineProperty(Yf, "__esModule", { value: !0 }); Yf.default = void 0; var mce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "p" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, hce = mce; Yf.default = hce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js var xF = y((Kf) => { "use strict"; Object.defineProperty(Kf, "__esModule", { value: !0 }); Kf.default = void 0; var yce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { attributes: [{ name: "alt", value: "" }], name: "img" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, bce = yce; Kf.default = bce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js var wF = y((Xf) => { "use strict"; Object.defineProperty(Xf, "__esModule", { value: !0 }); Xf.default = void 0; var gce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-valuetext": null }, relatedConcepts: [{ concept: { name: "progress" }, module: "HTML" }, { concept: { name: "status" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "range"], ["roletype", "widget"]] }, vce = gce; Xf.default = vce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js var SF = y((Jf) => { "use strict"; Object.defineProperty(Jf, "__esModule", { value: !0 }); Jf.default = void 0; var Ece = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-checked": null, "aria-posinset": null, "aria-setsize": null }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "radio" }], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input"]] }, xce = Ece; Jf.default = xce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js var RF = y((Qf) => { "use strict"; Object.defineProperty(Qf, "__esModule", { value: !0 }); Qf.default = void 0; var wce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null }, relatedConcepts: [{ concept: { name: "list" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["radio"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, Sce = wce; Qf.default = Sce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js var TF = y((Zf) => { "use strict"; Object.defineProperty(Zf, "__esModule", { value: !0 }); Zf.default = void 0; var Rce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["set"], name: "aria-label" }], name: "section" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["set"], name: "aria-labelledby" }], name: "section" }, module: "HTML" }, { concept: { name: "Device Independence Glossart perceivable unit" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Tce = Rce; Zf.default = Tce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js var _F = y((em) => { "use strict"; Object.defineProperty(em, "__esModule", { value: !0 }); em.default = void 0; var _ce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-colindex": null, "aria-expanded": null, "aria-level": null, "aria-posinset": null, "aria-rowindex": null, "aria-selected": null, "aria-setsize": null }, relatedConcepts: [{ concept: { name: "tr" }, module: "HTML" }], requireContextRole: ["grid", "rowgroup", "table", "treegrid"], requiredContextRole: ["grid", "rowgroup", "table", "treegrid"], requiredOwnedElements: [["cell"], ["columnheader"], ["gridcell"], ["rowheader"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "group"], ["roletype", "widget"]] }, Cce = _ce; em.default = Cce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js var CF = y((tm) => { "use strict"; Object.defineProperty(tm, "__esModule", { value: !0 }); tm.default = void 0; var Pce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "tbody" }, module: "HTML" }, { concept: { name: "tfoot" }, module: "HTML" }, { concept: { name: "thead" }, module: "HTML" }], requireContextRole: ["grid", "table", "treegrid"], requiredContextRole: ["grid", "table", "treegrid"], requiredOwnedElements: [["row"]], requiredProps: {}, superClass: [["roletype", "structure"]] }, Ace = Pce; tm.default = Ace; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js var PF = y((rm) => { "use strict"; Object.defineProperty(rm, "__esModule", { value: !0 }); rm.default = void 0; var Oce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-sort": null }, relatedConcepts: [{ concept: { attributes: [{ name: "scope", value: "row" }], name: "th" }, module: "HTML" }, { concept: { attributes: [{ name: "scope", value: "rowgroup" }], name: "th" }, module: "HTML" }], requireContextRole: ["row", "rowgroup"], requiredContextRole: ["row", "rowgroup"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\ t", "gridcell"], ["roletype", "structure", "sectionhead"]] }, qce = Oce; rm.default = qce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js var AF = y((nm) => { "use strict"; Object.defineProperty(nm, "__esModule", { value: !0 }); nm.default = void 0; var Ice = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-valuetext": null, "aria-orientation": "vertical", "aria-valuemax": "100", "aria-valuemin": "0" }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-controls": null, "aria-valuenow": null }, superClass: [["roletype", "structure", "range"], ["roletype", "widget"]] }, Mce = Ice; nm.default = Mce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js var OF = y((om) => { "use strict"; Object.defineProperty(om, "__esModule", { value: !0 }); om.default = void 0; var Nce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, jce = Nce; om.default = jce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js var qF = y((im) => { "use strict"; Object.defineProperty(im, "__esModule", { value: !0 }); im.default = void 0; var kce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "search" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "input", "textbox"]] }, Lce = kce; im.default = Lce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js var IF = y((sm) => { "use strict"; Object.defineProperty(sm, "__esModule", { value: !0 }); sm.default = void 0; var Fce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-orientation": "horizontal", "aria-valuemax": "100", "aria-valuemin": "0", "aria-valuenow": null, "aria-valuetext": null }, relatedConcepts: [{ concept: { name: "hr" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure"]] }, Dce = Fce; sm.default = Dce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js var MF = y((am) => { "use strict"; Object.defineProperty(am, "__esModule", { value: !0 }); am.default = void 0; var $ce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-haspopup": null, "aria-invalid": null, "aria-readonly": null, "aria-valuetext": null, "aria-orientation": "horizontal", "aria-valuemax": "100", "aria-valuemin": "0" }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "range" }], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-valuenow": null }, superClass: [["roletype", "widget", "input"], ["roletype", "structure", "range"]] }, Bce = $ce; am.default = Bce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js var NF = y((lm) => { "use strict"; Object.defineProperty(lm, "__esModule", { value: !0 }); lm.default = void 0; var Uce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null, "aria-readonly": null, "aria-required": null, "aria-valuetext": null, "aria-valuenow": "0" }, relatedConcepts: [{ concept: { attributes: [{ name: "type", value: "number" }], name: "input" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "composite"], ["roletype", "widget", "input"], ["roletype", "structure", "range"]] }, Hce = Uce; lm.default = Hce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js var jF = y((um) => { "use strict"; Object.defineProperty(um, "__esModule", { value: !0 }); um.default = void 0; var Vce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-atomic": "true", "aria-live": "polite" }, relatedConcepts: [{ concept: { name: "output" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, zce = Vce; um.default = zce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js var kF = y((cm) => { "use strict"; Object.defineProperty(cm, "__esModule", { value: !0 }); cm.default = void 0; var Gce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "strong" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Wce = Gce; cm.default = Wce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js var LF = y((dm) => { "use strict"; Object.defineProperty(dm, "__esModule", { value: !0 }); dm.default = void 0; var Yce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "sub" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Kce = Yce; dm.default = Kce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js var FF = y((pm) => { "use strict"; Object.defineProperty(pm, "__esModule", { value: !0 }); pm.default = void 0; var Xce = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["prohibited"], prohibitedProps: ["aria-label", "aria-labelledby"], props: {}, relatedConcepts: [{ concept: { name: "sup" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Jce = Xce; pm.default = Jce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js var DF = y((fm) => { "use strict"; Object.defineProperty(fm, "__esModule", { value: !0 }); fm.default = void 0; var Qce = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "button" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: { "aria-checked": null }, superClass: [["roletype", "widget", "input", "checkbox"]] }, Zce = Qce; fm.default = Zce; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js var $F = y((mm) => { "use strict"; Object.defineProperty(mm, "__esModule", { value: !0 }); mm.default = void 0; var ede = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-disabled": null, "aria-expanded": null, "aria-haspopup": null, "aria-posinset": null, "aria-setsize": null, "aria-selected": "false" }, relatedConcepts: [], requireContextRole: ["tablist"], requiredContextRole: ["tablist"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "sectionhead"], ["roletype", "widget"]] }, tde = ede; mm.default = tde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js var BF = y((hm) => { "use strict"; Object.defineProperty(hm, "__esModule", { value: !0 }); hm.default = void 0; var rde = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-colcount": null, "aria-rowcount": null }, relatedConcepts: [{ concept: { name: "table" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["row"], ["row", "rowgroup"]], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, nde = rde; hm.default = nde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js var UF = y((ym) => { "use strict"; Object.defineProperty(ym, "__esModule", { value: !0 }); ym.default = void 0; var ode = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-level": null, "aria-multiselectable": null, "aria-orientation": "horizontal" }, relatedConcepts: [{ module: "DAISY", concept: { name: "guide" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["tab"]], requiredProps: {}, superClass: [["roletype", "widget", "composite"]] }, ide = ode; ym.default = ide; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js var HF = y((bm) => { "use strict"; Object.defineProperty(bm, "__esModule", { value: !0 }); bm.default = void 0; var sde = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, ade = sde; bm.default = ade; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js var VF = y((gm) => { "use strict"; Object.defineProperty(gm, "__esModule", { value: !0 }); gm.default = void 0; var lde = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "dfn" }, module: "HTML" }, { concept: { name: "dt" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, ude = lde; gm.default = ude; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js var zF = y((vm) => { "use strict"; Object.defineProperty(vm, "__esModule", { value: !0 }); vm.default = void 0; var cde = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-activedescendant": null, "aria-autocomplete": null, "aria-errormessage": null, "aria-haspopup": null, "aria-invalid": null, "aria-multiline": null, "aria-placeholder": null, "aria-readonly": null, "aria-required": null }, relatedConcepts: [{ concept: { attributes: [{ constraints: ["undefined"], name: "type" }, { constraints: ["undefined"], name: "list" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "email" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "tel" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "text" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { attributes: [{ constraints: ["undefined"], name: "list" }, { name: "type", value: "url" }], constraints: ["the list attribute is not set"], name: "input" }, module: "HTML" }, { concept: { name: "input" }, module: "XForms" }, { concept: { name: "textarea" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "input"]] }, dde = cde; vm.default = dde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js var GF = y((Em) => { "use strict"; Object.defineProperty(Em, "__esModule", { value: !0 }); Em.default = void 0; var pde = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "time" }, module: "HTML" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, fde = pde; Em.default = fde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js var WF = y((xm) => { "use strict"; Object.defineProperty(xm, "__esModule", { value: !0 }); xm.default = void 0; var mde = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "status"]] }, hde = mde; xm.default = hde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js var YF = y((wm) => { "use strict"; Object.defineProperty(wm, "__esModule", { value: !0 }); wm.default = void 0; var yde = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-orientation": "horizontal" }, relatedConcepts: [{ concept: { name: "menubar" }, module: "ARIA" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "group"]] }, bde = yde; wm.default = bde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js var KF = y((Sm) => { "use strict"; Object.defineProperty(Sm, "__esModule", { value: !0 }); Sm.default = void 0; var gde = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, vde = gde; Sm.default = vde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js var XF = y((Rm) => { "use strict"; Object.defineProperty(Rm, "__esModule", { value: !0 }); Rm.default = void 0; var Ede = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null, "aria-multiselectable": null, "aria-required": null, "aria-orientation": "vertical" }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["treeitem", "group"], ["treeitem"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]] }, xde = Ede; Rm.default = xde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js var JF = y((Tm) => { "use strict"; Object.defineProperty(Tm, "__esModule", { value: !0 }); Tm.default = void 0; var wde = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["row"], ["row", "rowgroup"]], requiredProps: {}, superClass: [["roletype", "widget", "composite", "grid"], ["roletype", "structure", "section", "table", "grid"], ["roletype", "widget", "\ composite", "select", "tree"], ["roletype", "structure", "section", "group", "select", "tree"]] }, Sde = wde; Tm.default = Sde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js var QF = y((_m) => { "use strict"; Object.defineProperty(_m, "__esModule", { value: !0 }); _m.default = void 0; var Rde = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-expanded": null, "aria-haspopup": null }, relatedConcepts: [], requireContextRole: ["group", "tree"], requiredContextRole: ["group", "tree"], requiredOwnedElements: [], requiredProps: { "aria-selected": null }, superClass: [["roletype", "structure", "section", "listitem"], ["roletype", "widget", "input", "option"]] }, Tde = Rde; _m.default = Tde; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js var ZF = y((Cm) => { "use strict"; Object.defineProperty(Cm, "__esModule", { value: !0 }); Cm.default = void 0; var _de = B(RL()), Cde = B(TL()), Pde = B(_L()), Ade = B(CL()), Ode = B(PL()), qde = B(AL()), Ide = B(OL()), Mde = B(qL()), Nde = B(IL()), jde = B(ML()), kde = B(NL()), Lde = B(jL()), Fde = B(kL()), Dde = B(LL()), $de = B(FL()), Bde = B(DL()), Ude = B($L()), Hde = B(BL()), Vde = B( UL()), zde = B(HL()), Gde = B(VL()), Wde = B(zL()), Yde = B(GL()), Kde = B(WL()), Xde = B(YL()), Jde = B(KL()), Qde = B(XL()), Zde = B(JL()), epe = B(QL()), tpe = B(ZL()), rpe = B(eF()), npe = B(tF()), ope = B(rF()), ipe = B(nF()), spe = B(oF()), ape = B(iF()), lpe = B(sF()), upe = B( aF()), cpe = B(lF()), dpe = B(uF()), ppe = B(cF()), fpe = B(dF()), mpe = B(pF()), hpe = B(fF()), ype = B(mF()), bpe = B(hF()), gpe = B(yF()), vpe = B(bF()), Epe = B(gF()), xpe = B(vF()), wpe = B(EF()), Spe = B(xF()), Rpe = B(wF()), Tpe = B(SF()), _pe = B(RF()), Cpe = B(TF()), Ppe = B( _F()), Ape = B(CF()), Ope = B(PF()), qpe = B(AF()), Ipe = B(OF()), Mpe = B(qF()), Npe = B(IF()), jpe = B(MF()), kpe = B(NF()), Lpe = B(jF()), Fpe = B(kF()), Dpe = B(LF()), $pe = B(FF()), Bpe = B(DF()), Upe = B($F()), Hpe = B(BF()), Vpe = B(UF()), zpe = B(HF()), Gpe = B(VF()), Wpe = B( zF()), Ype = B(GF()), Kpe = B(WF()), Xpe = B(YF()), Jpe = B(KF()), Qpe = B(XF()), Zpe = B(JF()), efe = B(QF()); function B(e) { return e && e.__esModule ? e : { default: e }; } o(B, "_interopRequireDefault"); var tfe = [["alert", _de.default], ["alertdialog", Cde.default], ["application", Pde.default], ["article", Ade.default], ["banner", Ode.default], ["blockquote", qde.default], ["button", Ide.default], ["caption", Mde.default], ["cell", Nde.default], ["checkbox", jde.default], ["code", kde.default], ["columnheader", Lde.default], ["combobox", Fde.default], ["complementary", Dde.default], ["contentinfo", $de.default], ["de\ finition", Bde.default], ["deletion", Ude.default], ["dialog", Hde.default], ["directory", Vde.default], ["document", zde.default], ["emphas\ is", Gde.default], ["feed", Wde.default], ["figure", Yde.default], ["form", Kde.default], ["generic", Xde.default], ["grid", Jde.default], [ "gridcell", Qde.default], ["group", Zde.default], ["heading", epe.default], ["img", tpe.default], ["insertion", rpe.default], ["link", npe. default], ["list", ope.default], ["listbox", ipe.default], ["listitem", spe.default], ["log", ape.default], ["main", lpe.default], ["mark", upe.default], ["marquee", cpe.default], ["math", dpe.default], ["menu", ppe.default], ["menubar", fpe.default], ["menuitem", mpe.default], ["menuitemcheckbox", hpe.default], ["menuitemradio", ype.default], ["meter", bpe.default], ["navigation", gpe.default], ["none", vpe.default], ["note", Epe.default], ["option", xpe.default], ["paragraph", wpe.default], ["presentation", Spe.default], ["progressbar", Rpe.default], [ "radio", Tpe.default], ["radiogroup", _pe.default], ["region", Cpe.default], ["row", Ppe.default], ["rowgroup", Ape.default], ["rowheader", Ope.default], ["scrollbar", qpe.default], ["search", Ipe.default], ["searchbox", Mpe.default], ["separator", Npe.default], ["slider", jpe. default], ["spinbutton", kpe.default], ["status", Lpe.default], ["strong", Fpe.default], ["subscript", Dpe.default], ["superscript", $pe.default], ["switch", Bpe.default], ["tab", Upe.default], ["table", Hpe.default], ["tablist", Vpe.default], ["tabpanel", zpe.default], ["term", Gpe.default], ["textbox", Wpe.default], ["time", Ype.default], ["timer", Kpe.default], ["toolbar", Xpe.default], ["tooltip", Jpe.default], ["tree", Qpe. default], ["treegrid", Zpe.default], ["treeitem", efe.default]], rfe = tfe; Cm.default = rfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js var eD = y((Pm) => { "use strict"; Object.defineProperty(Pm, "__esModule", { value: !0 }); Pm.default = void 0; var nfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "abstract [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, ofe = nfe; Pm.default = ofe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js var tD = y((Am) => { "use strict"; Object.defineProperty(Am, "__esModule", { value: !0 }); Am.default = void 0; var ife = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "acknowledgments [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, sfe = ife; Am.default = sfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js var rD = y((Om) => { "use strict"; Object.defineProperty(Om, "__esModule", { value: !0 }); Om.default = void 0; var afe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "afterword [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, lfe = afe; Om.default = lfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js var nD = y((qm) => { "use strict"; Object.defineProperty(qm, "__esModule", { value: !0 }); qm.default = void 0; var ufe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "appendix [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, cfe = ufe; qm.default = cfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js var oD = y((Im) => { "use strict"; Object.defineProperty(Im, "__esModule", { value: !0 }); Im.default = void 0; var dfe = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "referrer [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, pfe = dfe; Im.default = pfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js var iD = y((Mm) => { "use strict"; Object.defineProperty(Mm, "__esModule", { value: !0 }); Mm.default = void 0; var ffe = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "EPUB biblioentry [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: ["doc-bibliography"], requiredContextRole: ["doc-bibliography"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "listitem"]] }, mfe = ffe; Mm.default = mfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js var sD = y((Nm) => { "use strict"; Object.defineProperty(Nm, "__esModule", { value: !0 }); Nm.default = void 0; var hfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "bibliography [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["doc-biblioentry"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, yfe = hfe; Nm.default = yfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js var aD = y((jm) => { "use strict"; Object.defineProperty(jm, "__esModule", { value: !0 }); jm.default = void 0; var bfe = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "biblioref [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, gfe = bfe; jm.default = gfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js var lD = y((km) => { "use strict"; Object.defineProperty(km, "__esModule", { value: !0 }); km.default = void 0; var vfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "chapter [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Efe = vfe; km.default = Efe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js var uD = y((Lm) => { "use strict"; Object.defineProperty(Lm, "__esModule", { value: !0 }); Lm.default = void 0; var xfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "colophon [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, wfe = xfe; Lm.default = wfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js var cD = y((Fm) => { "use strict"; Object.defineProperty(Fm, "__esModule", { value: !0 }); Fm.default = void 0; var Sfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "conclusion [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Rfe = Sfe; Fm.default = Rfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js var dD = y((Dm) => { "use strict"; Object.defineProperty(Dm, "__esModule", { value: !0 }); Dm.default = void 0; var Tfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "cover [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "img"]] }, _fe = Tfe; Dm.default = _fe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js var pD = y(($m) => { "use strict"; Object.defineProperty($m, "__esModule", { value: !0 }); $m.default = void 0; var Cfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "credit [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Pfe = Cfe; $m.default = Pfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js var fD = y((Bm) => { "use strict"; Object.defineProperty(Bm, "__esModule", { value: !0 }); Bm.default = void 0; var Afe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "credits [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Ofe = Afe; Bm.default = Ofe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js var mD = y((Um) => { "use strict"; Object.defineProperty(Um, "__esModule", { value: !0 }); Um.default = void 0; var qfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "dedication [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Ife = qfe; Um.default = Ife; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js var hD = y((Hm) => { "use strict"; Object.defineProperty(Hm, "__esModule", { value: !0 }); Hm.default = void 0; var Mfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "rearnote [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: ["doc-endnotes"], requiredContextRole: ["doc-endnotes"], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "listitem"]] }, Nfe = Mfe; Hm.default = Nfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js var yD = y((Vm) => { "use strict"; Object.defineProperty(Vm, "__esModule", { value: !0 }); Vm.default = void 0; var jfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "rearnotes [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["doc-endnote"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, kfe = jfe; Vm.default = kfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js var bD = y((zm) => { "use strict"; Object.defineProperty(zm, "__esModule", { value: !0 }); zm.default = void 0; var Lfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "epigraph [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Ffe = Lfe; zm.default = Ffe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js var gD = y((Gm) => { "use strict"; Object.defineProperty(Gm, "__esModule", { value: !0 }); Gm.default = void 0; var Dfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "epilogue [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, $fe = Dfe; Gm.default = $fe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js var vD = y((Wm) => { "use strict"; Object.defineProperty(Wm, "__esModule", { value: !0 }); Wm.default = void 0; var Bfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "errata [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Ufe = Bfe; Wm.default = Ufe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js var ED = y((Ym) => { "use strict"; Object.defineProperty(Ym, "__esModule", { value: !0 }); Ym.default = void 0; var Hfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Vfe = Hfe; Ym.default = Vfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js var xD = y((Km) => { "use strict"; Object.defineProperty(Km, "__esModule", { value: !0 }); Km.default = void 0; var zfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "footnote [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Gfe = zfe; Km.default = Gfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js var wD = y((Xm) => { "use strict"; Object.defineProperty(Xm, "__esModule", { value: !0 }); Xm.default = void 0; var Wfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "foreword [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Yfe = Wfe; Xm.default = Yfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js var SD = y((Jm) => { "use strict"; Object.defineProperty(Jm, "__esModule", { value: !0 }); Jm.default = void 0; var Kfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "glossary [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [["definition"], ["term"]], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, Xfe = Kfe; Jm.default = Xfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js var RD = y((Qm) => { "use strict"; Object.defineProperty(Qm, "__esModule", { value: !0 }); Qm.default = void 0; var Jfe = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "glossref [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, Qfe = Jfe; Qm.default = Qfe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js var TD = y((Zm) => { "use strict"; Object.defineProperty(Zm, "__esModule", { value: !0 }); Zm.default = void 0; var Zfe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "index [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark", "navigation"]] }, eme = Zfe; Zm.default = eme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js var _D = y((eh) => { "use strict"; Object.defineProperty(eh, "__esModule", { value: !0 }); eh.default = void 0; var tme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "introduction [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, rme = tme; eh.default = rme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js var CD = y((th) => { "use strict"; Object.defineProperty(th, "__esModule", { value: !0 }); th.default = void 0; var nme = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "noteref [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "widget", "command", "link"]] }, ome = nme; th.default = ome; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js var PD = y((rh) => { "use strict"; Object.defineProperty(rh, "__esModule", { value: !0 }); rh.default = void 0; var ime = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "notice [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "note"]] }, sme = ime; rh.default = sme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js var AD = y((nh) => { "use strict"; Object.defineProperty(nh, "__esModule", { value: !0 }); nh.default = void 0; var ame = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "pagebreak [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "separator"]] }, lme = ame; nh.default = lme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js var OD = y((oh) => { "use strict"; Object.defineProperty(oh, "__esModule", { value: !0 }); oh.default = void 0; var ume = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "page-list [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark", "navigation"]] }, cme = ume; oh.default = cme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js var qD = y((ih) => { "use strict"; Object.defineProperty(ih, "__esModule", { value: !0 }); ih.default = void 0; var dme = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "part [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, pme = dme; ih.default = pme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js var ID = y((sh) => { "use strict"; Object.defineProperty(sh, "__esModule", { value: !0 }); sh.default = void 0; var fme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "preface [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, mme = fme; sh.default = mme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js var MD = y((ah) => { "use strict"; Object.defineProperty(ah, "__esModule", { value: !0 }); ah.default = void 0; var hme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "prologue [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark"]] }, yme = hme; ah.default = yme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js var ND = y((lh) => { "use strict"; Object.defineProperty(lh, "__esModule", { value: !0 }); lh.default = void 0; var bme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: {}, relatedConcepts: [{ concept: { name: "pullquote [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["none"]] }, gme = bme; lh.default = gme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js var jD = y((uh) => { "use strict"; Object.defineProperty(uh, "__esModule", { value: !0 }); uh.default = void 0; var vme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "qna [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section"]] }, Eme = vme; uh.default = Eme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js var kD = y((ch) => { "use strict"; Object.defineProperty(ch, "__esModule", { value: !0 }); ch.default = void 0; var xme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "subtitle [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "sectionhead"]] }, wme = xme; ch.default = wme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js var LD = y((dh) => { "use strict"; Object.defineProperty(dh, "__esModule", { value: !0 }); dh.default = void 0; var Sme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "help [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "note"]] }, Rme = Sme; dh.default = Rme; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js var FD = y((ph) => { "use strict"; Object.defineProperty(ph, "__esModule", { value: !0 }); ph.default = void 0; var Tme = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ concept: { name: "toc [EPUB-SSV]" }, module: "EPUB" }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "landmark", "navigation"]] }, _me = Tme; ph.default = _me; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js var DD = y((fh) => { "use strict"; Object.defineProperty(fh, "__esModule", { value: !0 }); fh.default = void 0; var Cme = ne(eD()), Pme = ne(tD()), Ame = ne(rD()), Ome = ne(nD()), qme = ne(oD()), Ime = ne(iD()), Mme = ne(sD()), Nme = ne(aD()), jme = ne( lD()), kme = ne(uD()), Lme = ne(cD()), Fme = ne(dD()), Dme = ne(pD()), $me = ne(fD()), Bme = ne(mD()), Ume = ne(hD()), Hme = ne(yD()), Vme = ne( bD()), zme = ne(gD()), Gme = ne(vD()), Wme = ne(ED()), Yme = ne(xD()), Kme = ne(wD()), Xme = ne(SD()), Jme = ne(RD()), Qme = ne(TD()), Zme = ne( _D()), ehe = ne(CD()), the = ne(PD()), rhe = ne(AD()), nhe = ne(OD()), ohe = ne(qD()), ihe = ne(ID()), she = ne(MD()), ahe = ne(ND()), lhe = ne( jD()), uhe = ne(kD()), che = ne(LD()), dhe = ne(FD()); function ne(e) { return e && e.__esModule ? e : { default: e }; } o(ne, "_interopRequireDefault"); var phe = [["doc-abstract", Cme.default], ["doc-acknowledgments", Pme.default], ["doc-afterword", Ame.default], ["doc-appendix", Ome.default], ["doc-backlink", qme.default], ["doc-biblioentry", Ime.default], ["doc-bibliography", Mme.default], ["doc-biblioref", Nme.default], ["doc-\ chapter", jme.default], ["doc-colophon", kme.default], ["doc-conclusion", Lme.default], ["doc-cover", Fme.default], ["doc-credit", Dme.default], ["doc-credits", $me.default], ["doc-dedication", Bme.default], ["doc-endnote", Ume.default], ["doc-endnotes", Hme.default], ["doc-epigraph", Vme.default], ["doc-epilogue", zme.default], ["doc-errata", Gme.default], ["doc-example", Wme.default], ["doc-footnote", Yme.default], ["d\ oc-foreword", Kme.default], ["doc-glossary", Xme.default], ["doc-glossref", Jme.default], ["doc-index", Qme.default], ["doc-introduction", Zme. default], ["doc-noteref", ehe.default], ["doc-notice", the.default], ["doc-pagebreak", rhe.default], ["doc-pagelist", nhe.default], ["doc-\ part", ohe.default], ["doc-preface", ihe.default], ["doc-prologue", she.default], ["doc-pullquote", ahe.default], ["doc-qna", lhe.default], [ "doc-subtitle", uhe.default], ["doc-tip", che.default], ["doc-toc", dhe.default]], fhe = phe; fh.default = fhe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js var $D = y((mh) => { "use strict"; Object.defineProperty(mh, "__esModule", { value: !0 }); mh.default = void 0; var mhe = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ module: "GRAPHICS", concept: { name: "graphics-object" } }, { module: "ARIA", concept: { name: "img" } }, { module: "ARIA", concept: { name: "article" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "document"]] }, hhe = mhe; mh.default = hhe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js var BD = y((hh) => { "use strict"; Object.defineProperty(hh, "__esModule", { value: !0 }); hh.default = void 0; var yhe = { abstract: !1, accessibleNameRequired: !1, baseConcepts: [], childrenPresentational: !1, nameFrom: ["author", "contents"], prohibitedProps: [], props: { "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [{ module: "GRAPHICS", concept: { name: "graphics-document" } }, { module: "ARIA", concept: { name: "group" } }, { module: "ARIA", concept: { name: "img" } }, { module: "GRAPHICS", concept: { name: "graphics-symbol" } }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "group"]] }, bhe = yhe; hh.default = bhe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js var UD = y((yh) => { "use strict"; Object.defineProperty(yh, "__esModule", { value: !0 }); yh.default = void 0; var ghe = { abstract: !1, accessibleNameRequired: !0, baseConcepts: [], childrenPresentational: !0, nameFrom: ["author"], prohibitedProps: [], props: { "aria-disabled": null, "aria-errormessage": null, "aria-expanded": null, "aria-haspopup": null, "aria-invalid": null }, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, superClass: [["roletype", "structure", "section", "img"]] }, vhe = ghe; yh.default = vhe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js var HD = y((bh) => { "use strict"; Object.defineProperty(bh, "__esModule", { value: !0 }); bh.default = void 0; var Ehe = Nw($D()), xhe = Nw(BD()), whe = Nw(UD()); function Nw(e) { return e && e.__esModule ? e : { default: e }; } o(Nw, "_interopRequireDefault"); var She = [["graphics-document", Ehe.default], ["graphics-object", xhe.default], ["graphics-symbol", whe.default]], Rhe = She; bh.default = Rhe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js var vh = y((gh) => { "use strict"; Object.defineProperty(gh, "__esModule", { value: !0 }); gh.default = void 0; var The = Zs(SL()), _he = Zs(ZF()), Che = Zs(DD()), Phe = Zs(HD()), Ahe = Zs(Jo()); function Zs(e) { return e && e.__esModule ? e : { default: e }; } o(Zs, "_interopRequireDefault"); function Ohe(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } o(Ohe, "_defineProperty"); function jw(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = zD(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ o(function() { }, "F"); return { s: i, n: /* @__PURE__ */ o(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ o(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, a = !1, l; return { s: /* @__PURE__ */ o(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ o(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ o(function(c) { a = !0, l = c; }, "e"), f: /* @__PURE__ */ o(function() { try { !s && r.return != null && r.return(); } finally { if (a) throw l; } }, "f") }; } o(jw, "_createForOfIteratorHelper"); function Qs(e, t) { return Mhe(e) || Ihe(e, t) || zD(e, t) || qhe(); } o(Qs, "_slicedToArray"); function qhe() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(qhe, "_nonIterableRest"); function zD(e, t) { if (e) { if (typeof e == "string") return VD(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return VD(e, t); } } o(zD, "_unsupportedIterableToArray"); function VD(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } o(VD, "_arrayLikeToArray"); function Ihe(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n = [], i = !0, s = !1, a, l; try { for (r = r.call(e); !(i = (a = r.next()).done) && (n.push(a.value), !(t && n.length === t)); i = !0) ; } catch (u) { s = !0, l = u; } finally { try { !i && r.return != null && r.return(); } finally { if (s) throw l; } } return n; } } o(Ihe, "_iterableToArrayLimit"); function Mhe(e) { if (Array.isArray(e)) return e; } o(Mhe, "_arrayWithHoles"); var Zr = [].concat(The.default, _he.default, Che.default, Phe.default); Zr.forEach(function(e) { var t = Qs(e, 2), r = t[1], n = jw(r.superClass), i; try { for (n.s(); !(i = n.n()).done; ) { var s = i.value, a = jw(s), l; try { var u = /* @__PURE__ */ o(function() { var d = l.value, p = Zr.find(function(v) { var g = Qs(v, 1), w = g[0]; return w === d; }); if (p) for (var f = p[1], m = 0, h = Object.keys(f.props); m < h.length; m++) { var b = h[m]; Object.prototype.hasOwnProperty.call(r.props, b) || Object.assign(r.props, Ohe({}, b, f.props[b])); } }, "_loop"); for (a.s(); !(l = a.n()).done; ) u(); } catch (c) { a.e(c); } finally { a.f(); } } } catch (c) { n.e(c); } finally { n.f(); } }); var kw = { entries: /* @__PURE__ */ o(function() { return Zr; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = jw(Zr), i; try { for (n.s(); !(i = n.n()).done; ) { var s = Qs(i.value, 2), a = s[0], l = s[1]; t.call(r, l, a, Zr); } } catch (u) { n.e(u); } finally { n.f(); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = Zr.find(function(n) { return n[0] === t; }); return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!kw.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return Zr.map(function(t) { var r = Qs(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return Zr.map(function(t) { var r = Qs(t, 2), n = r[1]; return n; }); }, "values") }, Nhe = (0, Ahe.default)(kw, kw.entries()); gh.default = Nhe; }); // ../node_modules/dequal/lite/index.mjs var WD = {}; st(WD, { dequal: () => Lw }); function Lw(e, t) { var r, n; if (e === t) return !0; if (e && t && (r = e.constructor) === t.constructor) { if (r === Date) return e.getTime() === t.getTime(); if (r === RegExp) return e.toString() === t.toString(); if (r === Array) { if ((n = e.length) === t.length) for (; n-- && Lw(e[n], t[n]); ) ; return n === -1; } if (!r || typeof e == "object") { n = 0; for (r in e) if (GD.call(e, r) && ++n && !GD.call(t, r) || !(r in t) || !Lw(e[r], t[r])) return !1; return Object.keys(t).length === n; } } return e !== e && t !== t; } var GD, YD = K5(() => { GD = Object.prototype.hasOwnProperty; o(Lw, "dequal"); }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js var t$ = y((Rh) => { "use strict"; Object.defineProperty(Rh, "__esModule", { value: !0 }); Rh.default = void 0; var JD = (YD(), X5(WD)), jhe = ZD(Jo()), QD = ZD(vh()); function ZD(e) { return e && e.__esModule ? e : { default: e }; } o(ZD, "_interopRequireDefault"); function Fw(e, t) { return Fhe(e) || Lhe(e, t) || e$(e, t) || khe(); } o(Fw, "_slicedToArray"); function khe() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(khe, "_nonIterableRest"); function Lhe(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n = [], i = !0, s = !1, a, l; try { for (r = r.call(e); !(i = (a = r.next()).done) && (n.push(a.value), !(t && n.length === t)); i = !0) ; } catch (u) { s = !0, l = u; } finally { try { !i && r.return != null && r.return(); } finally { if (s) throw l; } } return n; } } o(Lhe, "_iterableToArrayLimit"); function Fhe(e) { if (Array.isArray(e)) return e; } o(Fhe, "_arrayWithHoles"); function Dhe(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = e$(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ o(function() { }, "F"); return { s: i, n: /* @__PURE__ */ o(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ o(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, a = !1, l; return { s: /* @__PURE__ */ o(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ o(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ o(function(c) { a = !0, l = c; }, "e"), f: /* @__PURE__ */ o(function() { try { !s && r.return != null && r.return(); } finally { if (a) throw l; } }, "f") }; } o(Dhe, "_createForOfIteratorHelper"); function e$(e, t) { if (e) { if (typeof e == "string") return KD(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return KD(e, t); } } o(e$, "_unsupportedIterableToArray"); function KD(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } o(KD, "_arrayLikeToArray"); var en = [], XD = QD.default.keys(); for (Eh = 0; Eh < XD.length; Eh++) if (xh = XD[Eh], wh = QD.default.get(xh), wh) for (Dw = [].concat(wh.baseConcepts, wh.relatedConcepts), Sh = 0; Sh < Dw.length; Sh++) $w = Dw[Sh], $w.module === "HTML" && function() { var e = $w.concept; if (e) { var t = en.find(function(s) { return (0, JD.dequal)(s, e); }), r; t ? r = t[1] : r = []; for (var n = !0, i = 0; i < r.length; i++) if (r[i] === xh) { n = !1; break; } n && r.push(xh), en.push([e, r]); } }(); var xh, wh, Dw, $w, Sh, Eh, Bw = { entries: /* @__PURE__ */ o(function() { return en; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = Dhe(en), i; try { for (n.s(); !(i = n.n()).done; ) { var s = Fw(i.value, 2), a = s[0], l = s[1]; t.call(r, l, a, en); } } catch (u) { n.e(u); } finally { n.f(); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = en.find(function(n) { return t.name === n[0].name && (0, JD.dequal)(t.attributes, n[0].attributes); }); return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!Bw.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return en.map(function(t) { var r = Fw(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return en.map(function(t) { var r = Fw(t, 2), n = r[1]; return n; }); }, "values") }, $he = (0, jhe.default)(Bw, Bw.entries()); Rh.default = $he; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js var a$ = y((Ah) => { "use strict"; Object.defineProperty(Ah, "__esModule", { value: !0 }); Ah.default = void 0; var Bhe = i$(Jo()), o$ = i$(vh()); function i$(e) { return e && e.__esModule ? e : { default: e }; } o(i$, "_interopRequireDefault"); function Uw(e, t) { return Vhe(e) || Hhe(e, t) || s$(e, t) || Uhe(); } o(Uw, "_slicedToArray"); function Uhe() { throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } o(Uhe, "_nonIterableRest"); function Hhe(e, t) { var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (r != null) { var n = [], i = !0, s = !1, a, l; try { for (r = r.call(e); !(i = (a = r.next()).done) && (n.push(a.value), !(t && n.length === t)); i = !0) ; } catch (u) { s = !0, l = u; } finally { try { !i && r.return != null && r.return(); } finally { if (s) throw l; } } return n; } } o(Hhe, "_iterableToArrayLimit"); function Vhe(e) { if (Array.isArray(e)) return e; } o(Vhe, "_arrayWithHoles"); function zhe(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = s$(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ o(function() { }, "F"); return { s: i, n: /* @__PURE__ */ o(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ o(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, a = !1, l; return { s: /* @__PURE__ */ o(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ o(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ o(function(c) { a = !0, l = c; }, "e"), f: /* @__PURE__ */ o(function() { try { !s && r.return != null && r.return(); } finally { if (a) throw l; } }, "f") }; } o(zhe, "_createForOfIteratorHelper"); function s$(e, t) { if (e) { if (typeof e == "string") return r$(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return r$(e, t); } } o(s$, "_unsupportedIterableToArray"); function r$(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } o(r$, "_arrayLikeToArray"); var On = [], n$ = o$.default.keys(); for (Th = 0; Th < n$.length; Th++) if (Hw = n$[Th], _h = o$.default.get(Hw), Ch = [], _h) { for (Vw = [].concat(_h.baseConcepts, _h.relatedConcepts), Ph = 0; Ph < Vw.length; Ph++) zw = Vw[Ph], zw.module === "HTML" && (Gw = zw.concept, Gw != null && Ch.push(Gw)); Ch.length > 0 && On.push([Hw, Ch]); } var Hw, _h, Ch, Vw, zw, Gw, Ph, Th, Ww = { entries: /* @__PURE__ */ o(function() { return On; }, "entries"), forEach: /* @__PURE__ */ o(function(t) { var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = zhe(On), i; try { for (n.s(); !(i = n.n()).done; ) { var s = Uw(i.value, 2), a = s[0], l = s[1]; t.call(r, l, a, On); } } catch (u) { n.e(u); } finally { n.f(); } }, "forEach"), get: /* @__PURE__ */ o(function(t) { var r = On.find(function(n) { return n[0] === t; }); return r && r[1]; }, "get"), has: /* @__PURE__ */ o(function(t) { return !!Ww.get(t); }, "has"), keys: /* @__PURE__ */ o(function() { return On.map(function(t) { var r = Uw(t, 1), n = r[0]; return n; }); }, "keys"), values: /* @__PURE__ */ o(function() { return On.map(function(t) { var r = Uw(t, 2), n = r[1]; return n; }); }, "values") }, Ghe = (0, Bhe.default)(Ww, Ww.entries()); Ah.default = Ghe; }); // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js var l$ = y((Mt) => { "use strict"; Object.defineProperty(Mt, "__esModule", { value: !0 }); Mt.roles = Mt.roleElements = Mt.elementRoles = Mt.dom = Mt.aria = void 0; var Whe = ea(aL()), Yhe = ea(cL()), Khe = ea(vh()), Xhe = ea(t$()), Jhe = ea(a$()); function ea(e) { return e && e.__esModule ? e : { default: e }; } o(ea, "_interopRequireDefault"); var Qhe = Whe.default; Mt.aria = Qhe; var Zhe = Yhe.default; Mt.dom = Zhe; var eye = Khe.default; Mt.roles = eye; var tye = Xhe.default; Mt.elementRoles = tye; var rye = Jhe.default; Mt.roleElements = rye; }); // ../node_modules/lz-string/libs/lz-string.js var u$ = y((WDe, Oh) => { var Yw = function() { var e = String.fromCharCode, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabc\ defghijklmnopqrstuvwxyz0123456789+-$", n = {}; function i(a, l) { if (!n[a]) { n[a] = {}; for (var u = 0; u < a.length; u++) n[a][a.charAt(u)] = u; } return n[a][l]; } o(i, "getBaseValue"); var s = { compressToBase64: /* @__PURE__ */ o(function(a) { if (a == null) return ""; var l = s._compress(a, 6, function(u) { return t.charAt(u); }); switch (l.length % 4) { // To produce valid Base64 default: // When could this happen ? case 0: return l; case 1: return l + "==="; case 2: return l + "=="; case 3: return l + "="; } }, "compressToBase64"), decompressFromBase64: /* @__PURE__ */ o(function(a) { return a == null ? "" : a == "" ? null : s._decompress(a.length, 32, function(l) { return i(t, a.charAt(l)); }); }, "decompressFromBase64"), compressToUTF16: /* @__PURE__ */ o(function(a) { return a == null ? "" : s._compress(a, 15, function(l) { return e(l + 32); }) + " "; }, "compressToUTF16"), decompressFromUTF16: /* @__PURE__ */ o(function(a) { return a == null ? "" : a == "" ? null : s._decompress(a.length, 16384, function(l) { return a.charCodeAt(l) - 32; }); }, "decompressFromUTF16"), //compress into uint8array (UCS-2 big endian format) compressToUint8Array: /* @__PURE__ */ o(function(a) { for (var l = s.compress(a), u = new Uint8Array(l.length * 2), c = 0, d = l.length; c < d; c++) { var p = l.charCodeAt(c); u[c * 2] = p >>> 8, u[c * 2 + 1] = p % 256; } return u; }, "compressToUint8Array"), //decompress from uint8array (UCS-2 big endian format) decompressFromUint8Array: /* @__PURE__ */ o(function(a) { if (a == null) return s.decompress(a); for (var l = new Array(a.length / 2), u = 0, c = l.length; u < c; u++) l[u] = a[u * 2] * 256 + a[u * 2 + 1]; var d = []; return l.forEach(function(p) { d.push(e(p)); }), s.decompress(d.join("")); }, "decompressFromUint8Array"), //compress into a string that is already URI encoded compressToEncodedURIComponent: /* @__PURE__ */ o(function(a) { return a == null ? "" : s._compress(a, 6, function(l) { return r.charAt(l); }); }, "compressToEncodedURIComponent"), //decompress from an output of compressToEncodedURIComponent decompressFromEncodedURIComponent: /* @__PURE__ */ o(function(a) { return a == null ? "" : a == "" ? null : (a = a.replace(/ /g, "+"), s._decompress(a.length, 32, function(l) { return i(r, a.charAt(l)); })); }, "decompressFromEncodedURIComponent"), compress: /* @__PURE__ */ o(function(a) { return s._compress(a, 16, function(l) { return e(l); }); }, "compress"), _compress: /* @__PURE__ */ o(function(a, l, u) { if (a == null) return ""; var c, d, p = {}, f = {}, m = "", h = "", b = "", v = 2, g = 3, w = 2, E = [], R = 0, T = 0, P; for (P = 0; P < a.length; P += 1) if (m = a.charAt(P), Object.prototype.hasOwnProperty.call(p, m) || (p[m] = g++, f[m] = !0), h = b + m, Object.prototype.hasOwnProperty. call(p, h)) b = h; else { if (Object.prototype.hasOwnProperty.call(f, b)) { if (b.charCodeAt(0) < 256) { for (c = 0; c < w; c++) R = R << 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++; for (d = b.charCodeAt(0), c = 0; c < 8; c++) R = R << 1 | d & 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = d >> 1; } else { for (d = 1, c = 0; c < w; c++) R = R << 1 | d, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = 0; for (d = b.charCodeAt(0), c = 0; c < 16; c++) R = R << 1 | d & 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = d >> 1; } v--, v == 0 && (v = Math.pow(2, w), w++), delete f[b]; } else for (d = p[b], c = 0; c < w; c++) R = R << 1 | d & 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = d >> 1; v--, v == 0 && (v = Math.pow(2, w), w++), p[h] = g++, b = String(m); } if (b !== "") { if (Object.prototype.hasOwnProperty.call(f, b)) { if (b.charCodeAt(0) < 256) { for (c = 0; c < w; c++) R = R << 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++; for (d = b.charCodeAt(0), c = 0; c < 8; c++) R = R << 1 | d & 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = d >> 1; } else { for (d = 1, c = 0; c < w; c++) R = R << 1 | d, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = 0; for (d = b.charCodeAt(0), c = 0; c < 16; c++) R = R << 1 | d & 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = d >> 1; } v--, v == 0 && (v = Math.pow(2, w), w++), delete f[b]; } else for (d = p[b], c = 0; c < w; c++) R = R << 1 | d & 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = d >> 1; v--, v == 0 && (v = Math.pow(2, w), w++); } for (d = 2, c = 0; c < w; c++) R = R << 1 | d & 1, T == l - 1 ? (T = 0, E.push(u(R)), R = 0) : T++, d = d >> 1; for (; ; ) if (R = R << 1, T == l - 1) { E.push(u(R)); break; } else T++; return E.join(""); }, "_compress"), decompress: /* @__PURE__ */ o(function(a) { return a == null ? "" : a == "" ? null : s._decompress(a.length, 32768, function(l) { return a.charCodeAt(l); }); }, "decompress"), _decompress: /* @__PURE__ */ o(function(a, l, u) { var c = [], d, p = 4, f = 4, m = 3, h = "", b = [], v, g, w, E, R, T, P, _ = { val: u(0), position: l, index: 1 }; for (v = 0; v < 3; v += 1) c[v] = v; for (w = 0, R = Math.pow(2, 2), T = 1; T != R; ) E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * T, T <<= 1; switch (d = w) { case 0: for (w = 0, R = Math.pow(2, 8), T = 1; T != R; ) E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * T, T <<= 1; P = e(w); break; case 1: for (w = 0, R = Math.pow(2, 16), T = 1; T != R; ) E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * T, T <<= 1; P = e(w); break; case 2: return ""; } for (c[3] = P, g = P, b.push(P); ; ) { if (_.index > a) return ""; for (w = 0, R = Math.pow(2, m), T = 1; T != R; ) E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * T, T <<= 1; switch (P = w) { case 0: for (w = 0, R = Math.pow(2, 8), T = 1; T != R; ) E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * T, T <<= 1; c[f++] = e(w), P = f - 1, p--; break; case 1: for (w = 0, R = Math.pow(2, 16), T = 1; T != R; ) E = _.val & _.position, _.position >>= 1, _.position == 0 && (_.position = l, _.val = u(_.index++)), w |= (E > 0 ? 1 : 0) * T, T <<= 1; c[f++] = e(w), P = f - 1, p--; break; case 2: return b.join(""); } if (p == 0 && (p = Math.pow(2, m), m++), c[P]) h = c[P]; else if (P === f) h = g + g.charAt(0); else return null; b.push(h), c[f++] = g + h.charAt(0), p--, g = h, p == 0 && (p = Math.pow(2, m), m++); } }, "_decompress") }; return s; }(); typeof define == "function" && define.amd ? define(function() { return Yw; }) : typeof Oh < "u" && Oh != null ? Oh.exports = Yw : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("\ LZString", function() { return Yw; }); }); // ../node_modules/@ngard/tiny-isequal/index.js var cH = y((xR) => { Object.defineProperty(xR, "__esModule", { value: !0 }), xR.isEqual = /* @__PURE__ */ function() { var e = Object.prototype.toString, t = Object.getPrototypeOf, r = Object.getOwnPropertySymbols ? function(n) { return Object.keys(n).concat(Object.getOwnPropertySymbols(n)); } : Object.keys; return function(n, i) { return (/* @__PURE__ */ o(function s(a, l, u) { var c, d, p, f = e.call(a), m = e.call(l); if (a === l) return !0; if (a == null || l == null) return !1; if (u.indexOf(a) > -1 && u.indexOf(l) > -1) return !0; if (u.push(a, l), f != m || (c = r(a), d = r(l), c.length != d.length || c.some(function(h) { return !s(a[h], l[h], u); }))) return !1; switch (f.slice(8, -1)) { case "Symbol": return a.valueOf() == l.valueOf(); case "Date": case "Number": return +a == +l || +a != +a && +l != +l; case "RegExp": case "Function": case "String": case "Boolean": return "" + a == "" + l; case "Set": case "Map": c = a.entries(), d = l.entries(); do if (!s((p = c.next()).value, d.next().value, u)) return !1; while (!p.done); return !0; case "ArrayBuffer": a = new Uint8Array(a), l = new Uint8Array(l); case "DataView": a = new Uint8Array(a.buffer), l = new Uint8Array(l.buffer); case "Float32Array": case "Float64Array": case "Int8Array": case "Int16Array": case "Int32Array": case "Uint8Array": case "Uint16Array": case "Uint32Array": case "Uint8ClampedArray": case "Arguments": case "Array": if (a.length != l.length) return !1; for (p = 0; p < a.length; p++) if ((p in a || p in l) && (p in a != p in l || !s(a[p], l[p], u))) return !1; return !0; case "Object": return s(t(a), t(l), u); default: return !1; } }, "n"))(n, i, []); }; }(); }); // ../node_modules/picoquery/lib/string-util.js var UR = y((BR) => { "use strict"; Object.defineProperty(BR, "__esModule", { value: !0 }); BR.encodeString = sxe; var lr = Array.from({ length: 256 }, (e, t) => "%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase()), ixe = new Int8Array([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0 ]); function sxe(e) { let t = e.length; if (t === 0) return ""; let r = "", n = 0, i = 0; e: for (; i < t; i++) { let s = e.charCodeAt(i); for (; s < 128; ) { if (ixe[s] !== 1 && (n < i && (r += e.slice(n, i)), n = i + 1, r += lr[s]), ++i === t) break e; s = e.charCodeAt(i); } if (n < i && (r += e.slice(n, i)), s < 2048) { n = i + 1, r += lr[192 | s >> 6] + lr[128 | s & 63]; continue; } if (s < 55296 || s >= 57344) { n = i + 1, r += lr[224 | s >> 12] + lr[128 | s >> 6 & 63] + lr[128 | s & 63]; continue; } if (++i, i >= t) throw new Error("URI malformed"); let a = e.charCodeAt(i) & 1023; n = i + 1, s = 65536 + ((s & 1023) << 10 | a), r += lr[240 | s >> 18] + lr[128 | s >> 12 & 63] + lr[128 | s >> 6 & 63] + lr[128 | s & 63]; } return n === 0 ? e : n < t ? r + e.slice(n) : r; } o(sxe, "encodeString"); }); // ../node_modules/picoquery/lib/shared.js var Cy = y((ur) => { "use strict"; Object.defineProperty(ur, "__esModule", { value: !0 }); ur.defaultOptions = ur.defaultShouldSerializeObject = ur.defaultValueSerializer = void 0; var HR = UR(), axe = /* @__PURE__ */ o((e) => { switch (typeof e) { case "string": return (0, HR.encodeString)(e); case "bigint": case "boolean": return "" + e; case "number": if (Number.isFinite(e)) return e < 1e21 ? "" + e : (0, HR.encodeString)("" + e); break; } return e instanceof Date ? (0, HR.encodeString)(e.toISOString()) : ""; }, "defaultValueSerializer"); ur.defaultValueSerializer = axe; var lxe = /* @__PURE__ */ o((e) => e instanceof Date, "defaultShouldSerializeObject"); ur.defaultShouldSerializeObject = lxe; var LH = /* @__PURE__ */ o((e) => e, "identityFunc"); ur.defaultOptions = { nesting: !0, nestingSyntax: "dot", arrayRepeat: !1, arrayRepeatSyntax: "repeat", delimiter: 38, valueDeserializer: LH, valueSerializer: ur.defaultValueSerializer, keyDeserializer: LH, shouldSerializeObject: ur.defaultShouldSerializeObject }; }); // ../node_modules/picoquery/lib/object-util.js var VR = y((Py) => { "use strict"; Object.defineProperty(Py, "__esModule", { value: !0 }); Py.getDeepObject = dxe; Py.stringifyObject = FH; var eo = Cy(), uxe = UR(); function cxe(e) { return e === "__proto__" || e === "constructor" || e === "prototype"; } o(cxe, "isPrototypeKey"); function dxe(e, t, r, n, i) { if (cxe(t)) return e; let s = e[t]; return typeof s == "object" && s !== null ? s : !n && (i || typeof r == "number" || typeof r == "string" && r * 0 === 0 && r.indexOf(".") === -1) ? e[t] = [] : e[t] = {}; } o(dxe, "getDeepObject"); var pxe = 20, fxe = "[]", mxe = "[", hxe = "]", yxe = "."; function FH(e, t, r = 0, n, i) { let { nestingSyntax: s = eo.defaultOptions.nestingSyntax, arrayRepeat: a = eo.defaultOptions.arrayRepeat, arrayRepeatSyntax: l = eo.defaultOptions. arrayRepeatSyntax, nesting: u = eo.defaultOptions.nesting, delimiter: c = eo.defaultOptions.delimiter, valueSerializer: d = eo.defaultOptions. valueSerializer, shouldSerializeObject: p = eo.defaultOptions.shouldSerializeObject } = t, f = typeof c == "number" ? String.fromCharCode( c) : c, m = i === !0 && a, h = s === "dot" || s === "js" && !i; if (r > pxe) return ""; let b = "", v = !0, g = !1; for (let w in e) { let E = e[w], R; n ? (R = n, m ? l === "bracket" && (R += fxe) : h ? (R += yxe, R += w) : (R += mxe, R += w, R += hxe)) : R = w, v || (b += f), typeof E == "object" && E !== null && !p(E) ? (g = E.pop !== void 0, (u || a && g) && (b += FH(E, t, r + 1, R, g))) : (b += (0, uxe.encodeString)( R), b += "=", b += d(E, w)), v && (v = !1); } return b; } o(FH, "stringifyObject"); }); // ../node_modules/fast-decode-uri-component/index.js var UH = y((eYe, BH) => { "use strict"; var DH = 12, bxe = 0, zR = [ // The first part of the table maps bytes to character to a transition. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 10, 9, 9, 9, 11, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, // The second part of the table maps a state to a new state when adding a // transition. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 24, 36, 48, 60, 72, 84, 96, 0, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 24, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // The third part maps the current transition to a mask that needs to apply // to the byte. 127, 63, 63, 63, 0, 31, 15, 15, 15, 7, 7, 7 ]; function gxe(e) { var t = e.indexOf("%"); if (t === -1) return e; for (var r = e.length, n = "", i = 0, s = 0, a = t, l = DH; t > -1 && t < r; ) { var u = $H(e[t + 1], 4), c = $H(e[t + 2], 0), d = u | c, p = zR[d]; if (l = zR[256 + l + p], s = s << 6 | d & zR[364 + p], l === DH) n += e.slice(i, a), n += s <= 65535 ? String.fromCharCode(s) : String.fromCharCode( 55232 + (s >> 10), 56320 + (s & 1023) ), s = 0, i = t + 3, t = a = e.indexOf("%", i); else { if (l === bxe) return null; if (t += 3, t < r && e.charCodeAt(t) === 37) continue; return null; } } return n + e.slice(i); } o(gxe, "decodeURIComponent"); var vxe = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, a: 10, A: 10, b: 11, B: 11, c: 12, C: 12, d: 13, D: 13, e: 14, E: 14, f: 15, F: 15 }; function $H(e, t) { var r = vxe[e]; return r === void 0 ? 255 : r << t; } o($H, "hexCodeToInt"); BH.exports = gxe; }); // ../node_modules/picoquery/lib/parse.js var GH = y((Pr) => { "use strict"; var Exe = Pr && Pr.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Pr, "__esModule", { value: !0 }); Pr.numberValueDeserializer = Pr.numberKeyDeserializer = void 0; Pr.parse = Sxe; var Ay = VR(), to = Cy(), HH = Exe(UH()), xxe = /* @__PURE__ */ o((e) => { let t = Number(e); return Number.isNaN(t) ? e : t; }, "numberKeyDeserializer"); Pr.numberKeyDeserializer = xxe; var wxe = /* @__PURE__ */ o((e) => { let t = Number(e); return Number.isNaN(t) ? e : t; }, "numberValueDeserializer"); Pr.numberValueDeserializer = wxe; var VH = /\+/g, zH = /* @__PURE__ */ o(function() { }, "Empty"); zH.prototype = /* @__PURE__ */ Object.create(null); function Oy(e, t, r, n, i) { let s = e.substring(t, r); return n && (s = s.replace(VH, " ")), i && (s = (0, HH.default)(s) || s), s; } o(Oy, "computeKeySlice"); function Sxe(e, t) { let { valueDeserializer: r = to.defaultOptions.valueDeserializer, keyDeserializer: n = to.defaultOptions.keyDeserializer, arrayRepeatSyntax: i = to. defaultOptions.arrayRepeatSyntax, nesting: s = to.defaultOptions.nesting, arrayRepeat: a = to.defaultOptions.arrayRepeat, nestingSyntax: l = to. defaultOptions.nestingSyntax, delimiter: u = to.defaultOptions.delimiter } = t ?? {}, c = typeof u == "string" ? u.charCodeAt(0) : u, d = l === "js", p = new zH(); if (typeof e != "string") return p; let f = e.length, m = "", h = -1, b = -1, v = -1, g = p, w, E = "", R = "", T = !1, P = !1, _ = !1, C = !1, O = !1, L = !1, q = !1, D = 0, U = -1, M = -1, H = -1; for (let N = 0; N < f + 1; N++) { if (D = N !== f ? e.charCodeAt(N) : c, D === c) { if (q = b > h, q || (b = N), v !== b - 1 && (R = Oy(e, v + 1, U > -1 ? U : b, _, T), E = n(R), w !== void 0 && (g = (0, Ay.getDeepObject)( g, w, E, d && O, d && L))), q || E !== "") { q && (m = e.slice(b + 1, N), C && (m = m.replace(VH, " ")), P && (m = (0, HH.default)(m) || m)); let W = r(m, E); if (a) { let Y = g[E]; Y === void 0 ? U > -1 ? g[E] = [W] : g[E] = W : Y.pop ? Y.push(W) : g[E] = [Y, W]; } else g[E] = W; } m = "", h = N, b = N, T = !1, P = !1, _ = !1, C = !1, O = !1, L = !1, U = -1, v = N, g = p, w = void 0, E = ""; } else D === 93 ? (a && i === "bracket" && H === 91 && (U = M), s && (l === "index" || d) && b <= h && (v !== M && (R = Oy(e, v + 1, N, _, T), E = n(R), w !== void 0 && (g = (0, Ay.getDeepObject)(g, w, E, void 0, d)), w = E, _ = !1, T = !1), v = N, L = !0, O = !1)) : D === 46 ? s && (l === "dot" || d) && b <= h && (v !== M && (R = Oy(e, v + 1, N, _, T), E = n(R), w !== void 0 && (g = (0, Ay.getDeepObject)( g, w, E, d)), w = E, _ = !1, T = !1), O = !0, L = !1, v = N) : D === 91 ? s && (l === "index" || d) && b <= h && (v !== M && (R = Oy(e, v + 1, N, _, T), E = n(R), d && w !== void 0 && (g = (0, Ay.getDeepObject)(g, w, E, d)), w = E, _ = !1, T = !1, O = !1, L = !0), v = N) : D === 61 ? b <= h ? b = N : P = !0 : D === 43 ? b > h ? C = !0 : _ = !0 : D === 37 && (b > h ? P = !0 : T = !0); M = N, H = D; } return p; } o(Sxe, "parse"); }); // ../node_modules/picoquery/lib/stringify.js var WH = y((GR) => { "use strict"; Object.defineProperty(GR, "__esModule", { value: !0 }); GR.stringify = Txe; var Rxe = VR(); function Txe(e, t) { if (e === null || typeof e != "object") return ""; let r = t ?? {}; return (0, Rxe.stringifyObject)(e, r); } o(Txe, "stringify"); }); // ../node_modules/picoquery/lib/main.js var qy = y((Zt) => { "use strict"; var _xe = Zt && Zt.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r); var i = Object.getOwnPropertyDescriptor(t, r); (!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: /* @__PURE__ */ o(function() { return t[r]; }, "get") }), Object.defineProperty(e, n, i); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), Cxe = Zt && Zt.__exportStar || function(e, t) { for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(t, r) && _xe(t, e, r); }; Object.defineProperty(Zt, "__esModule", { value: !0 }); Zt.stringify = Zt.parse = void 0; var Pxe = GH(); Object.defineProperty(Zt, "parse", { enumerable: !0, get: /* @__PURE__ */ o(function() { return Pxe.parse; }, "get") }); var Axe = WH(); Object.defineProperty(Zt, "stringify", { enumerable: !0, get: /* @__PURE__ */ o(function() { return Axe.stringify; }, "get") }); Cxe(Cy(), Zt); }); // ../node_modules/entities/lib/maps/entities.json var XR = y((bYe, kxe) => { kxe.exports = { Aacute: "\xC1", aacute: "\xE1", Abreve: "\u0102", abreve: "\u0103", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", Acirc: "\ \xC2", acirc: "\xE2", acute: "\xB4", Acy: "\u0410", acy: "\u0430", AElig: "\xC6", aelig: "\xE6", af: "\u2061", Afr: "\u{1D504}", afr: "\u{1D51E}", Agrave: "\xC0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", Alpha: "\u0391", alpha: "\u03B1", Amacr: "\u0100", amacr: "\u0101", amalg: "\ \u2A3F", amp: "&", AMP: "&", andand: "\u2A55", And: "\u2A53", and: "\u2227", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\ \u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angmsd: "\u2221", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", Aogon: "\u0104", aogon: "\u0105", Aopf: "\u{1D538}", aopf: "\u{1D552}", apacir: "\u2A6F", ap: "\u2248", apE: "\ \u2A70", ape: "\u224A", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", Aring: "\xC5", aring: "\xE5", Ascr: "\u{1D49C}", ascr: "\u{1D4B6}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", Atilde: "\xC3", atilde: "\xE3", Auml: "\ \xC4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\ \u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", Bcy: "\u0411", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\ \u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", Beta: "\u0392", beta: "\u03B2", beth: "\u2136", between: "\ \u226C", Bfr: "\u{1D505}", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\ \u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\ \u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\ \u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\ \u2261\u20E5", bNot: "\u2AED", bnot: "\u2310", Bopf: "\u{1D539}", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\ \u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxHd: "\u2564", boxhD: "\u2565", boxHD: "\u2566", boxhu: "\u2534", boxHu: "\u2567", boxhU: "\ \u2568", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\ \u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\ \u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsolb: "\u29C5", bsol: "\\", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\ \u2AAE", bumpe: "\u224F", Bumpeq: "\u224E", bumpeq: "\u224F", Cacute: "\u0106", cacute: "\u0107", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\ \u2A4B", cap: "\u2229", Cap: "\u22D2", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", Ccaron: "\u010C", ccaron: "\u010D", Ccedil: "\xC7", ccedil: "\xE7", Ccirc: "\u0108", ccirc: "\ \u0109", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", Cdot: "\u010A", cdot: "\u010B", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", CHcy: "\u0427", chcy: "\u0447", check: "\u2713", checkmark: "\ \u2713", Chi: "\u03A7", chi: "\u03C7", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\ \u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\ \u2295", CircleTimes: "\u2297", cir: "\u25CB", cirE: "\u29C3", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\ \u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", Colone: "\ \u2A74", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\ \u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\ \u21B5", cross: "\u2717", Cross: "\u2A2F", Cscr: "\u{1D49E}", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cup: "\u222A", Cup: "\u22D3", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", Darr: "\u21A1", dArr: "\u21D3", dash: "\u2010", Dashv: "\u2AE4", dashv: "\ \u22A3", dbkarow: "\u290F", dblac: "\u02DD", Dcaron: "\u010E", dcaron: "\u010F", Dcy: "\u0414", dcy: "\u0434", ddagger: "\u2021", ddarr: "\u21CA", DD: "\u2145", dd: "\u2146", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", Delta: "\u0394", delta: "\u03B4", demptyv: "\ \u29B1", dfisht: "\u297F", Dfr: "\u{1D507}", dfr: "\u{1D521}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\ \u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", DJcy: "\u0402", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", Dopf: "\u{1D53B}", dopf: "\u{1D555}", Dot: "\xA8", dot: "\u02D9", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\ \u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\ \u21D5", DoubleVerticalBar: "\u2225", DownArrowBar: "\u2913", downarrow: "\u2193", DownArrow: "\u2193", Downarrow: "\u21D3", DownArrowUpArrow: "\ \u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVectorBar: "\u2956", DownLeftVector: "\u21BD", DownRightTeeVector: "\u295F", DownRightVectorBar: "\u2957", DownRightVector: "\u21C1", DownTeeArrow: "\u21A7", DownTee: "\u22A4", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", Dscr: "\u{1D49F}", dscr: "\u{1D4B9}", DScy: "\u0405", dscy: "\u0455", dsol: "\u29F6", Dstrok: "\u0110", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\ \u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", DZcy: "\u040F", dzcy: "\u045F", dzigrarr: "\u27FF", Eacute: "\xC9", eacute: "\xE9", easter: "\u2A6E", Ecaron: "\u011A", ecaron: "\u011B", Ecirc: "\xCA", ecirc: "\xEA", ecir: "\u2256", ecolon: "\u2255", Ecy: "\u042D", ecy: "\ \u044D", eDDot: "\u2A77", Edot: "\u0116", edot: "\u0117", eDot: "\u2251", ee: "\u2147", efDot: "\u2252", Efr: "\u{1D508}", efr: "\u{1D522}", eg: "\u2A9A", Egrave: "\xC8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\ \u2113", els: "\u2A95", elsdot: "\u2A97", Emacr: "\u0112", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", ENG: "\u014A", eng: "\u014B", ensp: "\ \u2002", Eogon: "\u0118", eogon: "\u0119", Eopf: "\u{1D53C}", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", Epsilon: "\u0395", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\ \u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\ \u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", Esim: "\u2A73", esim: "\u2242", Eta: "\u0397", eta: "\ \u03B7", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", Fcy: "\u0424", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", Ffr: "\u{1D509}", ffr: "\u{1D523}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\ \u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", Fopf: "\u{1D53D}", fopf: "\u{1D557}", forall: "\u2200", ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131", gacute: "\u01F5", Gamma: "\u0393", gamma: "\u03B3", Gammad: "\u03DC", gammad: "\u03DD", gap: "\u2A86", Gbreve: "\u011E", gbreve: "\u011F", Gcedil: "\u0122", Gcirc: "\u011C", gcirc: "\u011D", Gcy: "\u0413", gcy: "\u0433", Gdot: "\u0120", gdot: "\u0121", ge: "\u2265", gE: "\u2267", gEl: "\u2A8C", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", gescc: "\u2AA9", ges: "\u2A7E", gesdot: "\u2A80", gesdoto: "\ \u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", Gfr: "\u{1D50A}", gfr: "\u{1D524}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", GJcy: "\u0403", gjcy: "\u0453", gla: "\u2AA5", gl: "\u2277", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", Gopf: "\u{1D53E}", gopf: "\u{1D558}", grave: "`", GreaterEqual: "\ \u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gt: ">", GT: ">", Gt: "\u226B", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", HARDcy: "\u042A", hardcy: "\u044A", harrcir: "\u2948", harr: "\u2194", hArr: "\u21D4", harrw: "\ \u21AD", Hat: "^", hbar: "\u210F", Hcirc: "\u0124", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\ \u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\ \u210B", hslash: "\u210F", Hstrok: "\u0126", hstrok: "\u0127", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", Iacute: "\xCD", iacute: "\xED", ic: "\u2063", Icirc: "\xCE", icirc: "\xEE", Icy: "\u0418", icy: "\u0438", Idot: "\u0130", IEcy: "\u0415", iecy: "\ \u0435", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", Igrave: "\xCC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\ \u222D", iinfin: "\u29DC", iiota: "\u2129", IJlig: "\u0132", ijlig: "\u0133", Imacr: "\u012A", imacr: "\u012B", image: "\u2111", ImaginaryI: "\ \u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", Im: "\u2111", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", incare: "\ \u2105", in: "\u2208", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", intcal: "\u22BA", int: "\u222B", Int: "\u222C", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\ \u2062", IOcy: "\u0401", iocy: "\u0451", Iogon: "\u012E", iogon: "\u012F", Iopf: "\u{1D540}", iopf: "\u{1D55A}", Iota: "\u0399", iota: "\u03B9", iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\ \u22F3", isinv: "\u2208", it: "\u2062", Itilde: "\u0128", itilde: "\u0129", Iukcy: "\u0406", iukcy: "\u0456", Iuml: "\xCF", iuml: "\xEF", Jcirc: "\ \u0134", jcirc: "\u0135", Jcy: "\u0419", jcy: "\u0439", Jfr: "\u{1D50D}", jfr: "\u{1D527}", jmath: "\u0237", Jopf: "\u{1D541}", jopf: "\u{1D55B}", Jscr: "\u{1D4A5}", jscr: "\u{1D4BF}", Jsercy: "\u0408", jsercy: "\u0458", Jukcy: "\u0404", jukcy: "\u0454", Kappa: "\u039A", kappa: "\u03BA", kappav: "\u03F0", Kcedil: "\u0136", kcedil: "\u0137", Kcy: "\u041A", kcy: "\u043A", Kfr: "\u{1D50E}", kfr: "\u{1D528}", kgreen: "\u0138", KHcy: "\ \u0425", khcy: "\u0445", KJcy: "\u040C", kjcy: "\u045C", Kopf: "\u{1D542}", kopf: "\u{1D55C}", Kscr: "\u{1D4A6}", kscr: "\u{1D4C0}", lAarr: "\ \u21DA", Lacute: "\u0139", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", Lambda: "\u039B", lambda: "\u03BB", lang: "\u27E8", Lang: "\ \u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larrb: "\u21E4", larrbfs: "\u291F", larr: "\u2190", Larr: "\u219E", lArr: "\u21D0", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", latail: "\u2919", lAtail: "\u291B", lat: "\u2AAB", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", Lcaron: "\u013D", lcaron: "\u013E", Lcedil: "\u013B", lcedil: "\ \u013C", lceil: "\u2308", lcub: "{", Lcy: "\u041B", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\ \u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", LeftArrowBar: "\u21E4", leftarrow: "\u2190", LeftArrow: "\u2190", Leftarrow: "\u21D0", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\ \u2961", LeftDownVectorBar: "\u2959", LeftDownVector: "\u21C3", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\ \u21C7", leftrightarrow: "\u2194", LeftRightArrow: "\u2194", Leftrightarrow: "\u21D4", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTeeArrow: "\u21A4", LeftTee: "\u22A3", LeftTeeVector: "\u295A", leftthreetimes: "\ \u22CB", LeftTriangleBar: "\u29CF", LeftTriangle: "\u22B2", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVectorBar: "\u2958", LeftUpVector: "\u21BF", LeftVectorBar: "\u2952", LeftVector: "\u21BC", lEg: "\u2A8B", leg: "\u22DA", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", lescc: "\u2AA8", les: "\u2A7D", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\ \u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\ \u297C", lfloor: "\u230A", Lfr: "\u{1D50F}", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", LJcy: "\u0409", ljcy: "\u0459", llarr: "\u21C7", ll: "\u226A", Ll: "\u22D8", llcorner: "\u231E", Lleftarrow: "\ \u21DA", llhard: "\u296B", lltri: "\u25FA", Lmidot: "\u013F", lmidot: "\u0140", lmoustache: "\u23B0", lmoust: "\u23B0", lnap: "\u2A89", lnapprox: "\ \u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\ \u27F5", LongLeftArrow: "\u27F5", Longleftarrow: "\u27F8", longleftrightarrow: "\u27F7", LongLeftRightArrow: "\u27F7", Longleftrightarrow: "\ \u27FA", longmapsto: "\u27FC", longrightarrow: "\u27F6", LongRightArrow: "\u27F6", Longrightarrow: "\u27F9", looparrowleft: "\u21AB", looparrowright: "\ \u21AC", lopar: "\u2985", Lopf: "\u{1D543}", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\ \u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\ \u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", Lscr: "\u2112", lsh: "\u21B0", Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", Lstrok: "\u0141", lstrok: "\ \u0142", ltcc: "\u2AA6", ltcir: "\u2A79", lt: "<", LT: "<", Lt: "\u226A", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\ \u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", Map: "\u2905", map: "\u21A6", mapsto: "\ \u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", Mcy: "\u041C", mcy: "\u043C", mdash: "\ \u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", Mfr: "\u{1D510}", mfr: "\u{1D52A}", mho: "\u2127", micro: "\xB5", midast: "*", midcir: "\u2AF0", mid: "\u2223", middot: "\xB7", minusb: "\u229F", minus: "\u2212", minusd: "\u2238", minusdu: "\ \u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", Mopf: "\u{1D544}", mopf: "\u{1D55E}", mp: "\ \u2213", mscr: "\u{1D4C2}", Mscr: "\u2133", mstpos: "\u223E", Mu: "\u039C", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207", Nacute: "\u0143", nacute: "\u0144", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\ \u2249", natural: "\u266E", naturals: "\u2115", natur: "\u266E", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", Ncaron: "\u0147", ncaron: "\u0148", Ncedil: "\u0145", ncedil: "\u0146", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", Ncy: "\u041D", ncy: "\u043D", ndash: "\u2013", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", ne: "\u2260", nedot: "\u2250\u0338", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: ` `, nexist: "\u2204", nexists: "\u2204", Nfr: "\u{1D511}", nfr: "\u{1D52B}", ngE: "\u2267\u0338", nge: "\u2271", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", nGt: "\u226B\u20D2", ngt: "\u226F", ngtr: "\u226F", nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", NJcy: "\ \u040A", njcy: "\u045A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nlE: "\u2266\u0338", nle: "\u2270", nleftarrow: "\u219A", nLeftarrow: "\ \u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nLt: "\u226A\u20D2", nlt: "\u226E", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338", nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\u{1D55F}", Nopf: "\u2115", Not: "\u2AEC", not: "\xAC", NotCongruent: "\ \u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\ \u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\ \u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\ \u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangle: "\u22EA", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\ \u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\ \u22E0", NotReverseElement: "\u220C", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangle: "\u22EB", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\ \u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\ \u2249", NotVerticalBar: "\u2224", nparallel: "\u2226", npar: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\ \u2280", nprcue: "\u22E0", nprec: "\u2280", npreceq: "\u2AAF\u0338", npre: "\u2AAF\u0338", nrarrc: "\u2933\u0338", nrarr: "\u219B", nrArr: "\ \u21CF", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", Nscr: "\u{1D4A9}", nscr: "\u{1D4C3}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsube: "\u2288", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupE: "\ \u2AC6\u0338", nsupe: "\u2289", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", Ntilde: "\xD1", ntilde: "\ \xF1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", Nu: "\u039D", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\u22AE", nVDash: "\ \u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6", nwarrow: "\u2196", nwnear: "\u2927", Oacute: "\xD3", oacute: "\xF3", oast: "\u229B", Ocirc: "\xD4", ocirc: "\xF4", ocir: "\u229A", Ocy: "\u041E", ocy: "\u043E", odash: "\u229D", Odblac: "\u0150", odblac: "\u0151", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", OElig: "\u0152", oelig: "\ \u0153", ofcir: "\u29BF", Ofr: "\u{1D512}", ofr: "\u{1D52C}", ogon: "\u02DB", Ograve: "\xD2", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", Omacr: "\u014C", omacr: "\ \u014D", Omega: "\u03A9", omega: "\u03C9", Omicron: "\u039F", omicron: "\u03BF", omid: "\u29B6", ominus: "\u2296", Oopf: "\u{1D546}", oopf: "\ \u{1D560}", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", orarr: "\u21BB", Or: "\ \u2A54", or: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\ \u2A57", orv: "\u2A5B", oS: "\u24C8", Oscr: "\u{1D4AA}", oscr: "\u2134", Oslash: "\xD8", oslash: "\xF8", osol: "\u2298", Otilde: "\xD5", otilde: "\ \xF5", otimesas: "\u2A36", Otimes: "\u2A37", otimes: "\u2297", Ouml: "\xD6", ouml: "\xF6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", para: "\xB6", parallel: "\u2225", par: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\ \u2202", PartialD: "\u2202", Pcy: "\u041F", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", Pfr: "\ \u{1D513}", pfr: "\u{1D52D}", Phi: "\u03A6", phi: "\u03C6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", Pi: "\u03A0", pi: "\u03C0", pitchfork: "\ \u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plus: "\ +", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", Poincareplane: "\u210C", pointint: "\u2A15", popf: "\u{1D561}", Popf: "\u2119", pound: "\xA3", prap: "\u2AB7", Pr: "\u2ABB", pr: "\u227A", prcue: "\u227C", precapprox: "\u2AB7", prec: "\u227A", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\ \u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", pre: "\u2AAF", prE: "\u2AB3", precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\ \u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportional: "\u221D", Proportion: "\u2237", propto: "\ \u221D", prsim: "\u227E", prurel: "\u22B0", Pscr: "\u{1D4AB}", pscr: "\u{1D4C5}", Psi: "\u03A8", psi: "\u03C8", puncsp: "\u2008", Qfr: "\u{1D514}", qfr: "\u{1D52E}", qint: "\u2A0C", qopf: "\u{1D562}", Qopf: "\u211A", qprime: "\u2057", Qscr: "\u{1D4AC}", qscr: "\u{1D4C6}", quaternions: "\ \u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\u223D\u0331", Racute: "\u0154", racute: "\ \u0155", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raquo: "\xBB", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarr: "\u2192", Rarr: "\u21A0", rArr: "\u21D2", rarrfs: "\u291E", rarrhk: "\ \u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", Rarrtl: "\u2916", rarrtl: "\u21A3", rarrw: "\u219D", ratail: "\u291A", rAtail: "\ \u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", Rcaron: "\u0158", rcaron: "\u0159", Rcedil: "\u0156", rcedil: "\u0157", rceil: "\u2309", rcub: "}", Rcy: "\u0420", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", Re: "\u211C", rect: "\u25AD", reg: "\xAE", REG: "\xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\ \u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", Rho: "\u03A1", rho: "\u03C1", rhov: "\u03F1", RightAngleBracket: "\u27E9", RightArrowBar: "\u21E5", rightarrow: "\ \u2192", RightArrow: "\u2192", Rightarrow: "\u21D2", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\ \u27E7", RightDownTeeVector: "\u295D", RightDownVectorBar: "\u2955", RightDownVector: "\u21C2", RightFloor: "\u230B", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTeeArrow: "\ \u21A6", RightTee: "\u22A2", RightTeeVector: "\u295B", rightthreetimes: "\u22CC", RightTriangleBar: "\u29D0", RightTriangle: "\u22B3", RightTriangleEqual: "\ \u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVectorBar: "\u2954", RightUpVector: "\u21BE", RightVectorBar: "\u2953", RightVector: "\u21C0", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoustache: "\u23B1", rmoust: "\ \u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", Ropf: "\u211D", roplus: "\u2A2E", rotimes: "\u2A35", RoundImplies: "\u2970", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\ \u203A", rscr: "\u{1D4C7}", Rscr: "\u211B", rsh: "\u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\ \u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", Sacute: "\ \u015A", sacute: "\u015B", sbquo: "\u201A", scap: "\u2AB8", Scaron: "\u0160", scaron: "\u0161", Sc: "\u2ABC", sc: "\u227B", sccue: "\u227D", sce: "\u2AB0", scE: "\u2AB4", Scedil: "\u015E", scedil: "\u015F", Scirc: "\u015C", scirc: "\u015D", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\ \u22E9", scpolint: "\u2A13", scsim: "\u227F", Scy: "\u0421", scy: "\u0441", sdotb: "\u22A1", sdot: "\u22C5", sdote: "\u2A66", searhk: "\u2925", searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\ \u2736", Sfr: "\u{1D516}", sfr: "\u{1D530}", sfrown: "\u2322", sharp: "\u266F", SHCHcy: "\u0429", shchcy: "\u0449", SHcy: "\u0428", shcy: "\u0448", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\ \u2191", shy: "\xAD", Sigma: "\u03A3", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\ \u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", SOFTcy: "\u042C", softcy: "\u044C", solbar: "\u233F", solb: "\u29C4", sol: "/", Sopf: "\u{1D54A}", sopf: "\ \u{1D564}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\ \u2290", sqsupseteq: "\u2292", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\ \u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squ: "\u25A1", squf: "\u25AA", srarr: "\ \u2192", Sscr: "\u{1D4AE}", sscr: "\u{1D4C8}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", Star: "\u22C6", star: "\u2606", starf: "\ \u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", subE: "\u2AC5", sube: "\ \u2286", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subne: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\ \u22D0", subseteq: "\u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\ \u2AD5", subsup: "\u2AD3", succapprox: "\u2AB8", succ: "\u227B", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\ \u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\ \u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", sup: "\u2283", Sup: "\u22D1", supdot: "\u2ABE", supdsub: "\u2AD8", supE: "\u2AC6", supe: "\u2287", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\ \u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supne: "\u228B", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\ \u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926", swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: " ", target: "\u2316", Tau: "\u03A4", tau: "\u03C4", tbrk: "\u23B4", Tcaron: "\u0164", tcaron: "\u0165", Tcedil: "\u0162", tcedil: "\u0163", Tcy: "\u0422", tcy: "\u0442", tdot: "\u20DB", telrec: "\ \u2315", Tfr: "\u{1D517}", tfr: "\u{1D531}", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", Theta: "\u0398", theta: "\u03B8", thetasym: "\ \u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", thkap: "\ \u2248", thksim: "\u223C", THORN: "\xDE", thorn: "\xFE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\ \u2248", timesbar: "\u2A31", timesb: "\u22A0", times: "\xD7", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", topbot: "\u2336", topcir: "\u2AF1", top: "\u22A4", Topf: "\u{1D54B}", topf: "\u{1D565}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\ \u2A3B", trpezium: "\u23E2", Tscr: "\u{1D4AF}", tscr: "\u{1D4C9}", TScy: "\u0426", tscy: "\u0446", TSHcy: "\u040B", tshcy: "\u045B", Tstrok: "\ \u0166", tstrok: "\u0167", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", Uacute: "\xDA", uacute: "\xFA", uarr: "\ \u2191", Uarr: "\u219F", uArr: "\u21D1", Uarrocir: "\u2949", Ubrcy: "\u040E", ubrcy: "\u045E", Ubreve: "\u016C", ubreve: "\u016D", Ucirc: "\xDB", ucirc: "\xFB", Ucy: "\u0423", ucy: "\u0443", udarr: "\u21C5", Udblac: "\u0170", udblac: "\u0171", udhar: "\u296E", ufisht: "\u297E", Ufr: "\ \u{1D518}", ufr: "\u{1D532}", Ugrave: "\xD9", ugrave: "\xF9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", Umacr: "\u016A", umacr: "\u016B", uml: "\xA8", UnderBar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", Uogon: "\u0172", uogon: "\u0173", Uopf: "\u{1D54C}", uopf: "\u{1D566}", UpArrowBar: "\u2912", uparrow: "\u2191", UpArrow: "\u2191", Uparrow: "\u21D1", UpArrowDownArrow: "\u21C5", updownarrow: "\ \u2195", UpDownArrow: "\u2195", Updownarrow: "\u21D5", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", upsilon: "\u03C5", UpTeeArrow: "\u21A5", UpTee: "\u22A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", Uring: "\u016E", uring: "\ \u016F", urtri: "\u25F9", Uscr: "\u{1D4B0}", uscr: "\u{1D4CA}", utdot: "\u22F0", Utilde: "\u0168", utilde: "\u0169", utri: "\u25B5", utrif: "\ \u25B4", uuarr: "\u21C8", Uuml: "\xDC", uuml: "\xFC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\ \u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\ \u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\ \u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", Vcy: "\u0412", vcy: "\u0432", vdash: "\u22A2", vDash: "\ \u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", veebar: "\u22BB", vee: "\u2228", Vee: "\u22C1", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\ \u2240", VeryThinSpace: "\u200A", Vfr: "\u{1D519}", vfr: "\u{1D533}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", Vopf: "\ \u{1D54D}", vopf: "\u{1D567}", vprop: "\u221D", vrtri: "\u22B3", Vscr: "\u{1D4B1}", vscr: "\u{1D4CB}", vsubnE: "\u2ACB\uFE00", vsubne: "\u228A\uFE00", vsupnE: "\u2ACC\uFE00", vsupne: "\u228B\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", Wcirc: "\u0174", wcirc: "\u0175", wedbar: "\u2A5F", wedge: "\ \u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", Wfr: "\u{1D51A}", wfr: "\u{1D534}", Wopf: "\u{1D54E}", wopf: "\u{1D568}", wp: "\ \u2118", wr: "\u2240", wreath: "\u2240", Wscr: "\u{1D4B2}", wscr: "\u{1D4CC}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD", Xfr: "\u{1D51B}", xfr: "\u{1D535}", xharr: "\u27F7", xhArr: "\u27FA", Xi: "\u039E", xi: "\u03BE", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\ \u27FC", xnis: "\u22FB", xodot: "\u2A00", Xopf: "\u{1D54F}", xopf: "\u{1D569}", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\ \u27F9", Xscr: "\u{1D4B3}", xscr: "\u{1D4CD}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", Yacute: "\ \xDD", yacute: "\xFD", YAcy: "\u042F", yacy: "\u044F", Ycirc: "\u0176", ycirc: "\u0177", Ycy: "\u042B", ycy: "\u044B", yen: "\xA5", Yfr: "\u{1D51C}", yfr: "\u{1D536}", YIcy: "\u0407", yicy: "\u0457", Yopf: "\u{1D550}", yopf: "\u{1D56A}", Yscr: "\u{1D4B4}", yscr: "\u{1D4CE}", YUcy: "\u042E", yucy: "\u044E", yuml: "\xFF", Yuml: "\u0178", Zacute: "\u0179", zacute: "\u017A", Zcaron: "\u017D", zcaron: "\u017E", Zcy: "\u0417", zcy: "\ \u0437", Zdot: "\u017B", zdot: "\u017C", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", Zeta: "\u0396", zeta: "\u03B6", zfr: "\u{1D537}", Zfr: "\ \u2128", ZHcy: "\u0416", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", Zopf: "\u2124", Zscr: "\u{1D4B5}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" }; }); // ../node_modules/entities/lib/maps/legacy.json var e5 = y((gYe, Lxe) => { Lxe.exports = { Aacute: "\xC1", aacute: "\xE1", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", AElig: "\xC6", aelig: "\xE6", Agrave: "\xC0", agrave: "\xE0", amp: "&", AMP: "&", Aring: "\xC5", aring: "\xE5", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", brvbar: "\xA6", Ccedil: "\xC7", ccedil: "\xE7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", COPY: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", Eacute: "\ \xC9", eacute: "\xE9", Ecirc: "\xCA", ecirc: "\xEA", Egrave: "\xC8", egrave: "\xE8", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", frac12: "\ \xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", GT: ">", Iacute: "\xCD", iacute: "\xED", Icirc: "\xCE", icirc: "\xEE", iexcl: "\xA1", Igrave: "\ \xCC", igrave: "\xEC", iquest: "\xBF", Iuml: "\xCF", iuml: "\xEF", laquo: "\xAB", lt: "<", LT: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7", nbsp: "\xA0", not: "\xAC", Ntilde: "\xD1", ntilde: "\xF1", Oacute: "\xD3", oacute: "\xF3", Ocirc: "\xD4", ocirc: "\xF4", Ograve: "\xD2", ograve: "\ \xF2", ordf: "\xAA", ordm: "\xBA", Oslash: "\xD8", oslash: "\xF8", Otilde: "\xD5", otilde: "\xF5", Ouml: "\xD6", ouml: "\xF6", para: "\xB6", plusmn: "\xB1", pound: "\xA3", quot: '"', QUOT: '"', raquo: "\xBB", reg: "\xAE", REG: "\xAE", sect: "\xA7", shy: "\xAD", sup1: "\xB9", sup2: "\ \xB2", sup3: "\xB3", szlig: "\xDF", THORN: "\xDE", thorn: "\xFE", times: "\xD7", Uacute: "\xDA", uacute: "\xFA", Ucirc: "\xDB", ucirc: "\xFB", Ugrave: "\xD9", ugrave: "\xF9", uml: "\xA8", Uuml: "\xDC", uuml: "\xFC", Yacute: "\xDD", yacute: "\xFD", yen: "\xA5", yuml: "\xFF" }; }); // ../node_modules/entities/lib/maps/xml.json var JR = y((vYe, Fxe) => { Fxe.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' }; }); // ../node_modules/entities/lib/maps/decode.json var t5 = y((EYe, Dxe) => { Dxe.exports = { "0": 65533, "128": 8364, "130": 8218, "131": 402, "132": 8222, "133": 8230, "134": 8224, "135": 8225, "136": 710, "137": 8240, "138": 352, "139": 8249, "140": 338, "142": 381, "145": 8216, "146": 8217, "147": 8220, "148": 8221, "149": 8226, "150": 8211, "151": 8212, "152": 732, "153": 8482, "154": 353, "155": 8250, "156": 339, "158": 382, "159": 376 }; }); // ../node_modules/entities/lib/decode_codepoint.js var n5 = y((qa) => { "use strict"; var $xe = qa && qa.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(qa, "__esModule", { value: !0 }); var r5 = $xe(t5()), Bxe = ( // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition String.fromCodePoint || function(e) { var t = ""; return e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), t += String.fromCharCode(e), t; } ); function Uxe(e) { return e >= 55296 && e <= 57343 || e > 1114111 ? "\uFFFD" : (e in r5.default && (e = r5.default[e]), Bxe(e)); } o(Uxe, "decodeCodePoint"); qa.default = Uxe; }); // ../node_modules/entities/lib/decode.js var ZR = y((cr) => { "use strict"; var Iy = cr && cr.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(cr, "__esModule", { value: !0 }); cr.decodeHTML = cr.decodeHTMLStrict = cr.decodeXML = void 0; var QR = Iy(XR()), Hxe = Iy(e5()), Vxe = Iy(JR()), o5 = Iy(n5()), zxe = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g; cr.decodeXML = s5(Vxe.default); cr.decodeHTMLStrict = s5(QR.default); function s5(e) { var t = a5(e); return function(r) { return String(r).replace(zxe, t); }; } o(s5, "getStrictDecoder"); var i5 = /* @__PURE__ */ o(function(e, t) { return e < t ? 1 : -1; }, "sorter"); cr.decodeHTML = function() { for (var e = Object.keys(Hxe.default).sort(i5), t = Object.keys(QR.default).sort(i5), r = 0, n = 0; r < t.length; r++) e[n] === t[r] ? (t[r] += ";?", n++) : t[r] += ";"; var i = new RegExp("&(?:" + t.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", "g"), s = a5(QR.default); function a(l) { return l.substr(-1) !== ";" && (l += ";"), s(l); } return o(a, "replacer"), function(l) { return String(l).replace(i, a); }; }(); function a5(e) { return /* @__PURE__ */ o(function(r) { if (r.charAt(1) === "#") { var n = r.charAt(2); return n === "X" || n === "x" ? o5.default(parseInt(r.substr(3), 16)) : o5.default(parseInt(r.substr(2), 10)); } return e[r.slice(1, -1)] || r; }, "replace"); } o(a5, "getReplacer"); }); // ../node_modules/entities/lib/encode.js var tT = y((yt) => { "use strict"; var l5 = yt && yt.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(yt, "__esModule", { value: !0 }); yt.escapeUTF8 = yt.escape = yt.encodeNonAsciiHTML = yt.encodeHTML = yt.encodeXML = void 0; var Gxe = l5(JR()), u5 = d5(Gxe.default), c5 = p5(u5); yt.encodeXML = h5(u5); var Wxe = l5(XR()), eT = d5(Wxe.default), Yxe = p5(eT); yt.encodeHTML = Xxe(eT, Yxe); yt.encodeNonAsciiHTML = h5(eT); function d5(e) { return Object.keys(e).sort().reduce(function(t, r) { return t[e[r]] = "&" + r + ";", t; }, {}); } o(d5, "getInverseObj"); function p5(e) { for (var t = [], r = [], n = 0, i = Object.keys(e); n < i.length; n++) { var s = i[n]; s.length === 1 ? t.push("\\" + s) : r.push(s); } t.sort(); for (var a = 0; a < t.length - 1; a++) { for (var l = a; l < t.length - 1 && t[l].charCodeAt(1) + 1 === t[l + 1].charCodeAt(1); ) l += 1; var u = 1 + l - a; u < 3 || t.splice(a, u, t[a] + "-" + t[l]); } return r.unshift("[" + t.join("") + "]"), new RegExp(r.join("|"), "g"); } o(p5, "getInverseReplacer"); var f5 = /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, Kxe = ( // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition String.prototype.codePointAt != null ? ( // eslint-disable-next-line @typescript-eslint/no-non-null-assertion function(e) { return e.codePointAt(0); } ) : ( // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae function(e) { return (e.charCodeAt(0) - 55296) * 1024 + e.charCodeAt(1) - 56320 + 65536; } ) ); function My(e) { return "&#x" + (e.length > 1 ? Kxe(e) : e.charCodeAt(0)).toString(16).toUpperCase() + ";"; } o(My, "singleCharReplacer"); function Xxe(e, t) { return function(r) { return r.replace(t, function(n) { return e[n]; }).replace(f5, My); }; } o(Xxe, "getInverse"); var m5 = new RegExp(c5.source + "|" + f5.source, "g"); function Jxe(e) { return e.replace(m5, My); } o(Jxe, "escape"); yt.escape = Jxe; function Qxe(e) { return e.replace(c5, My); } o(Qxe, "escapeUTF8"); yt.escapeUTF8 = Qxe; function h5(e) { return function(t) { return t.replace(m5, function(r) { return e[r] || My(r); }); }; } o(h5, "getASCIIEncoder"); }); // ../node_modules/entities/lib/index.js var b5 = y((oe) => { "use strict"; Object.defineProperty(oe, "__esModule", { value: !0 }); oe.decodeXMLStrict = oe.decodeHTML5Strict = oe.decodeHTML4Strict = oe.decodeHTML5 = oe.decodeHTML4 = oe.decodeHTMLStrict = oe.decodeHTML = oe.decodeXML = oe.encodeHTML5 = oe.encodeHTML4 = oe.escapeUTF8 = oe.escape = oe.encodeNonAsciiHTML = oe.encodeHTML = oe.encodeXML = oe.encode = oe.decodeStrict = oe.decode = void 0; var Ny = ZR(), y5 = tT(); function Zxe(e, t) { return (!t || t <= 0 ? Ny.decodeXML : Ny.decodeHTML)(e); } o(Zxe, "decode"); oe.decode = Zxe; function ewe(e, t) { return (!t || t <= 0 ? Ny.decodeXML : Ny.decodeHTMLStrict)(e); } o(ewe, "decodeStrict"); oe.decodeStrict = ewe; function twe(e, t) { return (!t || t <= 0 ? y5.encodeXML : y5.encodeHTML)(e); } o(twe, "encode"); oe.encode = twe; var no = tT(); Object.defineProperty(oe, "encodeXML", { enumerable: !0, get: /* @__PURE__ */ o(function() { return no.encodeXML; }, "get") }); Object.defineProperty(oe, "encodeHTML", { enumerable: !0, get: /* @__PURE__ */ o(function() { return no.encodeHTML; }, "get") }); Object.defineProperty(oe, "encodeNonAsciiHTML", { enumerable: !0, get: /* @__PURE__ */ o(function() { return no.encodeNonAsciiHTML; }, "get") }); Object.defineProperty(oe, "escape", { enumerable: !0, get: /* @__PURE__ */ o(function() { return no.escape; }, "get") }); Object.defineProperty(oe, "escapeUTF8", { enumerable: !0, get: /* @__PURE__ */ o(function() { return no.escapeUTF8; }, "get") }); Object.defineProperty(oe, "encodeHTML4", { enumerable: !0, get: /* @__PURE__ */ o(function() { return no.encodeHTML; }, "get") }); Object.defineProperty(oe, "encodeHTML5", { enumerable: !0, get: /* @__PURE__ */ o(function() { return no.encodeHTML; }, "get") }); var hn = ZR(); Object.defineProperty(oe, "decodeXML", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeXML; }, "get") }); Object.defineProperty(oe, "decodeHTML", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeHTML; }, "get") }); Object.defineProperty(oe, "decodeHTMLStrict", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeHTMLStrict; }, "get") }); Object.defineProperty(oe, "decodeHTML4", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeHTML; }, "get") }); Object.defineProperty(oe, "decodeHTML5", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeHTML; }, "get") }); Object.defineProperty(oe, "decodeHTML4Strict", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeHTMLStrict; }, "get") }); Object.defineProperty(oe, "decodeHTML5Strict", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeHTMLStrict; }, "get") }); Object.defineProperty(oe, "decodeXMLStrict", { enumerable: !0, get: /* @__PURE__ */ o(function() { return hn.decodeXML; }, "get") }); }); // ../node_modules/ansi-to-html/lib/ansi_to_html.js var P5 = y((AYe, C5) => { "use strict"; function rwe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } o(rwe, "_classCallCheck"); function g5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } o(g5, "_defineProperties"); function nwe(e, t, r) { return t && g5(e.prototype, t), r && g5(e, r), e; } o(nwe, "_createClass"); function R5(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = owe(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ o(function() { }, "F"); return { s: i, n: /* @__PURE__ */ o(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ o(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, a = !1, l; return { s: /* @__PURE__ */ o(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ o(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ o(function(c) { a = !0, l = c; }, "e"), f: /* @__PURE__ */ o(function() { try { !s && r.return != null && r.return(); } finally { if (a) throw l; } }, "f") }; } o(R5, "_createForOfIteratorHelper"); function owe(e, t) { if (e) { if (typeof e == "string") return v5(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return v5(e, t); } } o(owe, "_unsupportedIterableToArray"); function v5(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } o(v5, "_arrayLikeToArray"); var iwe = b5(), E5 = { fg: "#FFF", bg: "#000", newline: !1, escapeXML: !1, stream: !1, colors: swe() }; function swe() { var e = { 0: "#000", 1: "#A00", 2: "#0A0", 3: "#A50", 4: "#00A", 5: "#A0A", 6: "#0AA", 7: "#AAA", 8: "#555", 9: "#F55", 10: "#5F5", 11: "#FF5", 12: "#55F", 13: "#F5F", 14: "#5FF", 15: "#FFF" }; return jy(0, 5).forEach(function(t) { jy(0, 5).forEach(function(r) { jy(0, 5).forEach(function(n) { return awe(t, r, n, e); }); }); }), jy(0, 23).forEach(function(t) { var r = t + 232, n = T5(t * 10 + 8); e[r] = "#" + n + n + n; }), e; } o(swe, "getDefaultColors"); function awe(e, t, r, n) { var i = 16 + e * 36 + t * 6 + r, s = e > 0 ? e * 40 + 55 : 0, a = t > 0 ? t * 40 + 55 : 0, l = r > 0 ? r * 40 + 55 : 0; n[i] = lwe([s, a, l]); } o(awe, "setStyleColor"); function T5(e) { for (var t = e.toString(16); t.length < 2; ) t = "0" + t; return t; } o(T5, "toHexString"); function lwe(e) { var t = [], r = R5(e), n; try { for (r.s(); !(n = r.n()).done; ) { var i = n.value; t.push(T5(i)); } } catch (s) { r.e(s); } finally { r.f(); } return "#" + t.join(""); } o(lwe, "toColorHexString"); function x5(e, t, r, n) { var i; return t === "text" ? i = pwe(r, n) : t === "display" ? i = cwe(e, r, n) : t === "xterm256Foreground" ? i = Ly(e, n.colors[r]) : t === "\ xterm256Background" ? i = Fy(e, n.colors[r]) : t === "rgb" && (i = uwe(e, r)), i; } o(x5, "generateOutput"); function uwe(e, t) { t = t.substring(2).slice(0, -1); var r = +t.substr(0, 2), n = t.substring(5).split(";"), i = n.map(function(s) { return ("0" + Number(s).toString(16)).substr(-2); }).join(""); return ky(e, (r === 38 ? "color:#" : "background-color:#") + i); } o(uwe, "handleRgb"); function cwe(e, t, r) { t = parseInt(t, 10); var n = { "-1": /* @__PURE__ */ o(function() { return "
"; }, "_"), 0: /* @__PURE__ */ o(function() { return e.length && _5(e); }, "_"), 1: /* @__PURE__ */ o(function() { return yn(e, "b"); }, "_"), 3: /* @__PURE__ */ o(function() { return yn(e, "i"); }, "_"), 4: /* @__PURE__ */ o(function() { return yn(e, "u"); }, "_"), 8: /* @__PURE__ */ o(function() { return ky(e, "display:none"); }, "_"), 9: /* @__PURE__ */ o(function() { return yn(e, "strike"); }, "_"), 22: /* @__PURE__ */ o(function() { return ky(e, "font-weight:normal;text-decoration:none;font-style:normal"); }, "_"), 23: /* @__PURE__ */ o(function() { return S5(e, "i"); }, "_"), 24: /* @__PURE__ */ o(function() { return S5(e, "u"); }, "_"), 39: /* @__PURE__ */ o(function() { return Ly(e, r.fg); }, "_"), 49: /* @__PURE__ */ o(function() { return Fy(e, r.bg); }, "_"), 53: /* @__PURE__ */ o(function() { return ky(e, "text-decoration:overline"); }, "_") }, i; return n[t] ? i = n[t]() : 4 < t && t < 7 ? i = yn(e, "blink") : 29 < t && t < 38 ? i = Ly(e, r.colors[t - 30]) : 39 < t && t < 48 ? i = Fy(e, r.colors[t - 40]) : 89 < t && t < 98 ? i = Ly(e, r.colors[8 + (t - 90)]) : 99 < t && t < 108 && (i = Fy(e, r.colors[8 + (t - 100)])), i; } o(cwe, "handleDisplay"); function _5(e) { var t = e.slice(0); return e.length = 0, t.reverse().map(function(r) { return ""; }).join(""); } o(_5, "resetStyles"); function jy(e, t) { for (var r = [], n = e; n <= t; n++) r.push(n); return r; } o(jy, "range"); function dwe(e) { return function(t) { return (e === null || t.category !== e) && e !== "all"; }; } o(dwe, "notCategory"); function w5(e) { e = parseInt(e, 10); var t = null; return e === 0 ? t = "all" : e === 1 ? t = "bold" : 2 < e && e < 5 ? t = "underline" : 4 < e && e < 7 ? t = "blink" : e === 8 ? t = "hid\ e" : e === 9 ? t = "strike" : 29 < e && e < 38 || e === 39 || 89 < e && e < 98 ? t = "foreground-color" : (39 < e && e < 48 || e === 49 || 99 < e && e < 108) && (t = "background-color"), t; } o(w5, "categoryForCode"); function pwe(e, t) { return t.escapeXML ? iwe.encodeXML(e) : e; } o(pwe, "pushText"); function yn(e, t, r) { return r || (r = ""), e.push(t), "<".concat(t).concat(r ? ' style="'.concat(r, '"') : "", ">"); } o(yn, "pushTag"); function ky(e, t) { return yn(e, "span", t); } o(ky, "pushStyle"); function Ly(e, t) { return yn(e, "span", "color:" + t); } o(Ly, "pushForegroundColor"); function Fy(e, t) { return yn(e, "span", "background-color:" + t); } o(Fy, "pushBackgroundColor"); function S5(e, t) { var r; if (e.slice(-1)[0] === t && (r = e.pop()), r) return ""; } o(S5, "closeTag"); function fwe(e, t, r) { var n = !1, i = 3; function s() { return ""; } o(s, "remove"); function a(T, P) { return r("xterm256Foreground", P), ""; } o(a, "removeXterm256Foreground"); function l(T, P) { return r("xterm256Background", P), ""; } o(l, "removeXterm256Background"); function u(T) { return t.newline ? r("display", -1) : r("text", T), ""; } o(u, "newline"); function c(T, P) { n = !0, P.trim().length === 0 && (P = "0"), P = P.trimRight(";").split(";"); var _ = R5(P), C; try { for (_.s(); !(C = _.n()).done; ) { var O = C.value; r("display", O); } } catch (L) { _.e(L); } finally { _.f(); } return ""; } o(c, "ansiMess"); function d(T) { return r("text", T), ""; } o(d, "realText"); function p(T) { return r("rgb", T), ""; } o(p, "rgb"); var f = [{ pattern: /^\x08+/, sub: s }, { pattern: /^\x1b\[[012]?K/, sub: s }, { pattern: /^\x1b\[\(B/, sub: s }, { pattern: /^\x1b\[[34]8;2;\d+;\d+;\d+m/, sub: p }, { pattern: /^\x1b\[38;5;(\d+)m/, sub: a }, { pattern: /^\x1b\[48;5;(\d+)m/, sub: l }, { pattern: /^\n/, sub: u }, { pattern: /^\r+\n/, sub: u }, { pattern: /^\r/, sub: u }, { pattern: /^\x1b\[((?:\d{1,3};?)+|)m/, sub: c }, { // CSI n J // ED - Erase in Display Clears part of the screen. // If n is 0 (or missing), clear from cursor to end of screen. // If n is 1, clear from cursor to beginning of the screen. // If n is 2, clear entire screen (and moves cursor to upper left on DOS ANSI.SYS). // If n is 3, clear entire screen and delete all lines saved in the scrollback buffer // (this feature was added for xterm and is supported by other terminal applications). pattern: /^\x1b\[\d?J/, sub: s }, { // CSI n ; m f // HVP - Horizontal Vertical Position Same as CUP pattern: /^\x1b\[\d{0,3};\d{0,3}f/, sub: s }, { // catch-all for CSI sequences? pattern: /^\x1b\[?[\d;]{0,3}/, sub: s }, { /** * extracts real text - not containing: * - `\x1b' - ESC - escape (Ascii 27) * - '\x08' - BS - backspace (Ascii 8) * - `\n` - Newline - linefeed (LF) (ascii 10) * - `\r` - Windows Carriage Return (CR) */ pattern: /^(([^\x1b\x08\r\n])+)/, sub: d }]; function m(T, P) { P > i && n || (n = !1, e = e.replace(T.pattern, T.sub)); } o(m, "process"); var h = [], b = e, v = b.length; e: for (; v > 0; ) { for (var g = 0, w = 0, E = f.length; w < E; g = ++w) { var R = f[g]; if (m(R, g), e.length !== v) { v = e.length; continue e; } } if (e.length === v) break; h.push(0), v = e.length; } return h; } o(fwe, "tokenize"); function mwe(e, t, r) { return t !== "text" && (e = e.filter(dwe(w5(r))), e.push({ token: t, data: r, category: w5(r) })), e; } o(mwe, "updateStickyStack"); var hwe = /* @__PURE__ */ function() { function e(t) { rwe(this, e), t = t || {}, t.colors && (t.colors = Object.assign({}, E5.colors, t.colors)), this.options = Object.assign({}, E5, t), this. stack = [], this.stickyStack = []; } return o(e, "Filter"), nwe(e, [{ key: "toHtml", value: /* @__PURE__ */ o(function(r) { var n = this; r = typeof r == "string" ? [r] : r; var i = this.stack, s = this.options, a = []; return this.stickyStack.forEach(function(l) { var u = x5(i, l.token, l.data, s); u && a.push(u); }), fwe(r.join(""), s, function(l, u) { var c = x5(i, l, u, s); c && a.push(c), s.stream && (n.stickyStack = mwe(n.stickyStack, l, u)); }), i.length && a.push(_5(i)), a.join(""); }, "toHtml") }]), e; }(); C5.exports = hwe; }); // ../node_modules/browser-dtector/browser-dtector.umd.min.js var B5 = y((uT, cT) => { (function(e, t) { typeof uT == "object" && typeof cT < "u" ? cT.exports = t() : typeof define == "function" && define.amd ? define(t) : (e = typeof globalThis < "u" ? globalThis : e || self).BrowserDetector = t(); })(uT, function() { "use strict"; function e(a, l) { for (var u = 0; u < l.length; u++) { var c = l[u]; c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(a, (d = c.key, p = void 0, typeof (p = function(f, m) { if (typeof f != "object" || f === null) return f; var h = f[Symbol.toPrimitive]; if (h !== void 0) { var b = h.call(f, m || "default"); if (typeof b != "object") return b; throw new TypeError("@@toPrimitive must return a primitive value."); } return (m === "string" ? String : Number)(f); }(d, "string")) == "symbol" ? p : String(p)), c); } var d, p; } o(e, "e"); var t = { chrome: "Google Chrome", brave: "Brave", crios: "Google Chrome", edge: "Microsoft Edge", edg: "Microsoft Edge", edgios: "Micro\ soft Edge", fennec: "Mozilla Firefox", jsdom: "JsDOM", mozilla: "Mozilla Firefox", fxios: "Mozilla Firefox", msie: "Microsoft Internet Explo\ rer", opera: "Opera", opios: "Opera", opr: "Opera", opt: "Opera", rv: "Microsoft Internet Explorer", safari: "Safari", samsungbrowser: "Sams\ ung Browser", electron: "Electron" }, r = { android: "Android", androidTablet: "Android Tablet", cros: "Chrome OS", fennec: "Android Tablet", ipad: "IPad", iphone: "IPhone", jsdom: "JsDOM", linux: "Linux", mac: "Macintosh", tablet: "Android Tablet", win: "Windows", "windows pho\ ne": "Windows Phone", xbox: "Microsoft Xbox" }, n = /* @__PURE__ */ o(function(a) { var l = new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, "})?")), u = Number( a).toString().match(l); return u ? u[0] : null; }, "n"), i = /* @__PURE__ */ o(function() { return typeof window < "u" ? window.navigator : null; }, "i"), s = function() { function a(d) { var p; (function(f, m) { if (!(f instanceof m)) throw new TypeError("Cannot call a class as a function"); })(this, a), this.userAgent = d || ((p = i()) === null || p === void 0 ? void 0 : p.userAgent) || null; } o(a, "t"); var l, u, c; return l = a, u = [{ key: "parseUserAgent", value: /* @__PURE__ */ o(function(d) { var p, f, m, h = {}, b = d || this.userAgent || "", v = b.toLowerCase().replace(/\s\s+/g, " "), g = /(edge)\/([\w.]+)/.exec(v) || /(edg)[/]([\w.]+)/. exec(v) || /(opr)[/]([\w.]+)/.exec(v) || /(opt)[/]([\w.]+)/.exec(v) || /(fxios)[/]([\w.]+)/.exec(v) || /(edgios)[/]([\w.]+)/.exec(v) || /(jsdom)[/]([\w.]+)/.exec(v) || /(samsungbrowser)[/]([\w.]+)/.exec(v) || /(electron)[/]([\w.]+)/.exec(v) || /(chrome)[/]([\w.]+)/.exec( v) || /(crios)[/]([\w.]+)/.exec(v) || /(opios)[/]([\w.]+)/.exec(v) || /(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec( v) || /(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v) || /(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec( v) || /(webkit)[/]([\w.]+)/.exec(v) || /(opera)(?:.*version|)[/]([\w.]+)/.exec(v) || /(msie) ([\w.]+)/.exec(v) || /(fennec)[/]([\w.]+)/. exec(v) || v.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(v) || v.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/. exec(v) || [], w = /(ipad)/.exec(v) || /(ipod)/.exec(v) || /(iphone)/.exec(v) || /(jsdom)/.exec(v) || /(windows phone)/.exec(v) || /(xbox)/. exec(v) || /(win)/.exec(v) || /(tablet)/.exec(v) || /(android)/.test(v) && /(mobile)/.test(v) === !1 && ["androidTablet"] || /(android)/. exec(v) || /(mac)/.exec(v) || /(linux)/.exec(v) || /(cros)/.exec(v) || [], E = g[5] || g[3] || g[1] || null, R = w[0] || null, T = g[4] || g[2] || null, P = i(); E === "chrome" && typeof (P == null || (p = P.brave) === null || p === void 0 ? void 0 : p.isBrave) == "function" && (E = "brave"), E && (h[E] = !0), R && (h[R] = !0); var _ = !!(h.tablet || h.android || h.androidTablet), C = !!(h.ipad || h.tablet || h.androidTablet), O = !!(h.android || h.androidTablet || h.tablet || h.ipad || h.ipod || h.iphone || h["windows phone"]), L = !!(h.cros || h.mac || h.linux || h.win), q = !!(h.brave || h.chrome || h.crios || h.opr || h.safari || h.edg || h.electron), D = !!(h.msie || h.rv); return { name: (f = t[E]) !== null && f !== void 0 ? f : null, platform: (m = r[R]) !== null && m !== void 0 ? m : null, userAgent: b, version: T, shortVersion: T ? n(parseFloat(T), 2) : null, isAndroid: _, isTablet: C, isMobile: O, isDesktop: L, isWebkit: q, isIE: D }; }, "value") }, { key: "getBrowserInfo", value: /* @__PURE__ */ o(function() { var d = this.parseUserAgent(); return { name: d.name, platform: d.platform, userAgent: d.userAgent, version: d.version, shortVersion: d.shortVersion }; }, "value") }], c = [{ key: "VERSION", get: /* @__PURE__ */ o(function() { return "3.4.0"; }, "get") }], u && e(l.prototype, u), c && e(l, c), Object.defineProperty(l, "prototype", { writable: !1 }), a; }(); return s; }); }); // src/core-events/index.ts var co = {}; st(co, { ARGTYPES_INFO_REQUEST: () => sb, ARGTYPES_INFO_RESPONSE: () => Ba, CHANNEL_CREATED: () => Q5, CHANNEL_WS_DISCONNECT: () => Uy, CONFIG_ERROR: () => Hy, CREATE_NEW_STORYFILE_REQUEST: () => Z5, CREATE_NEW_STORYFILE_RESPONSE: () => e3, CURRENT_STORY_WAS_SET: () => Fa, DOCS_PREPARED: () => Vy, DOCS_RENDERED: () => Ri, FILE_COMPONENT_SEARCH_REQUEST: () => t3, FILE_COMPONENT_SEARCH_RESPONSE: () => r3, FORCE_REMOUNT: () => lo, FORCE_RE_RENDER: () => Ti, GLOBALS_UPDATED: () => bn, NAVIGATE_URL: () => n3, PLAY_FUNCTION_THREW_EXCEPTION: () => zy, PRELOAD_ENTRIES: () => Wy, PREVIEW_BUILDER_PROGRESS: () => o3, PREVIEW_KEYDOWN: () => Yy, REGISTER_SUBSCRIPTION: () => i3, REQUEST_WHATS_NEW_DATA: () => y3, RESET_STORY_ARGS: () => _i, RESULT_WHATS_NEW_DATA: () => b3, SAVE_STORY_REQUEST: () => E3, SAVE_STORY_RESPONSE: () => x3, SELECT_STORY: () => s3, SET_CONFIG: () => a3, SET_CURRENT_STORY: () => Ci, SET_FILTER: () => l3, SET_GLOBALS: () => Ky, SET_INDEX: () => u3, SET_STORIES: () => c3, SET_WHATS_NEW_CACHE: () => g3, SHARED_STATE_CHANGED: () => d3, SHARED_STATE_SET: () => p3, STORIES_COLLAPSE_ALL: () => f3, STORIES_EXPAND_ALL: () => m3, STORY_ARGS_UPDATED: () => Xy, STORY_CHANGED: () => Jy, STORY_ERRORED: () => Qy, STORY_FINISHED: () => $a, STORY_HOT_UPDATED: () => h3, STORY_INDEX_INVALIDATED: () => Zy, STORY_MISSING: () => Da, STORY_PREPARED: () => eb, STORY_RENDERED: () => uo, STORY_RENDER_PHASE_CHANGED: () => jt, STORY_SPECIFIED: () => tb, STORY_THREW_EXCEPTION: () => rb, STORY_UNCHANGED: () => nb, TELEMETRY_ERROR: () => ib, TOGGLE_WHATS_NEW_NOTIFICATIONS: () => v3, UNHANDLED_ERRORS_WHILE_PLAYING: () => Gy, UPDATE_GLOBALS: () => Pi, UPDATE_QUERY_PARAMS: () => ob, UPDATE_STORY_ARGS: () => Ai, default: () => J5 }); var By = /* @__PURE__ */ ((V) => (V.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", V.CHANNEL_CREATED = "channelCreated", V.CONFIG_ERROR = "c\ onfigError", V.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", V.STORY_SPECIFIED = "storySpecified", V.SET_CONFIG = "setConfig", V.SET_STORIES = "setStories", V.SET_INDEX = "setIndex", V.SET_CURRENT_STORY = "setCurrentStory", V.CURRENT_STORY_WAS_SET = "currentStoryWasSet", V.FORCE_RE_RENDER = "forceReRender", V.FORCE_REMOUNT = "forceRemount", V.PRELOAD_ENTRIES = "preloadStories", V.STORY_PREPARED = "storyPrepared", V.DOCS_PREPARED = "docsPrepared", V.STORY_CHANGED = "storyChanged", V.STORY_UNCHANGED = "storyUnchanged", V.STORY_RENDERED = "storyRendered", V.STORY_FINISHED = "storyFinished", V.STORY_MISSING = "storyMissing", V.STORY_ERRORED = "storyErrored", V.STORY_THREW_EXCEPTION = "storyThrewException", V.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", V.STORY_HOT_UPDATED = "storyHotUpdated", V.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", V.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", V.UPDATE_STORY_ARGS = "updateStoryArgs", V.STORY_ARGS_UPDATED = "storyArgsUpdated", V.RESET_STORY_ARGS = "res\ etStoryArgs", V.SET_FILTER = "setFilter", V.SET_GLOBALS = "setGlobals", V.UPDATE_GLOBALS = "updateGlobals", V.GLOBALS_UPDATED = "globalsUpda\ ted", V.REGISTER_SUBSCRIPTION = "registerSubscription", V.PREVIEW_KEYDOWN = "previewKeydown", V.PREVIEW_BUILDER_PROGRESS = "preview_builder_\ progress", V.SELECT_STORY = "selectStory", V.STORIES_COLLAPSE_ALL = "storiesCollapseAll", V.STORIES_EXPAND_ALL = "storiesExpandAll", V.DOCS_RENDERED = "docsRendered", V.SHARED_STATE_CHANGED = "sharedStateChanged", V.SHARED_STATE_SET = "sharedStateSet", V.NAVIGATE_URL = "navigateUrl", V.UPDATE_QUERY_PARAMS = "updateQueryParams", V.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", V.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", V.SET_WHATS_NEW_CACHE = "setWhatsNewCache", V.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", V.TELEMETRY_ERROR = "telemetryError", V.FILE_COMPONENT_SEARCH_REQUEST = "fileComponentSearchRequest", V.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", V.SAVE_STORY_REQUEST = "saveStoryRequest", V. SAVE_STORY_RESPONSE = "saveStoryResponse", V.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", V.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", V.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", V.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", V))(By || {}), J5 = By, { CHANNEL_WS_DISCONNECT: Uy, CHANNEL_CREATED: Q5, CONFIG_ERROR: Hy, CREATE_NEW_STORYFILE_REQUEST: Z5, CREATE_NEW_STORYFILE_RESPONSE: e3, CURRENT_STORY_WAS_SET: Fa, DOCS_PREPARED: Vy, DOCS_RENDERED: Ri, FILE_COMPONENT_SEARCH_REQUEST: t3, FILE_COMPONENT_SEARCH_RESPONSE: r3, FORCE_RE_RENDER: Ti, FORCE_REMOUNT: lo, GLOBALS_UPDATED: bn, NAVIGATE_URL: n3, PLAY_FUNCTION_THREW_EXCEPTION: zy, UNHANDLED_ERRORS_WHILE_PLAYING: Gy, PRELOAD_ENTRIES: Wy, PREVIEW_BUILDER_PROGRESS: o3, PREVIEW_KEYDOWN: Yy, REGISTER_SUBSCRIPTION: i3, RESET_STORY_ARGS: _i, SELECT_STORY: s3, SET_CONFIG: a3, SET_CURRENT_STORY: Ci, SET_FILTER: l3, SET_GLOBALS: Ky, SET_INDEX: u3, SET_STORIES: c3, SHARED_STATE_CHANGED: d3, SHARED_STATE_SET: p3, STORIES_COLLAPSE_ALL: f3, STORIES_EXPAND_ALL: m3, STORY_ARGS_UPDATED: Xy, STORY_CHANGED: Jy, STORY_ERRORED: Qy, STORY_INDEX_INVALIDATED: Zy, STORY_MISSING: Da, STORY_PREPARED: eb, STORY_RENDER_PHASE_CHANGED: jt, STORY_RENDERED: uo, STORY_FINISHED: $a, STORY_SPECIFIED: tb, STORY_THREW_EXCEPTION: rb, STORY_UNCHANGED: nb, STORY_HOT_UPDATED: h3, UPDATE_GLOBALS: Pi, UPDATE_QUERY_PARAMS: ob, UPDATE_STORY_ARGS: Ai, REQUEST_WHATS_NEW_DATA: y3, RESULT_WHATS_NEW_DATA: b3, SET_WHATS_NEW_CACHE: g3, TOGGLE_WHATS_NEW_NOTIFICATIONS: v3, TELEMETRY_ERROR: ib, SAVE_STORY_REQUEST: E3, SAVE_STORY_RESPONSE: x3, ARGTYPES_INFO_REQUEST: sb, ARGTYPES_INFO_RESPONSE: Ba } = By; // ../node_modules/@storybook/global/dist/index.mjs var ab = {}; st(ab, { global: () => k }); var k = (() => { let e; return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? e = self : e = {}, e; })(); // src/preview/globals/globals.ts var lb = { "@storybook/global": "__STORYBOOK_MODULE_GLOBAL__", "storybook/test": "__STORYBOOK_MODULE_TEST__", "storybook/actions": "__STORYBOOK_MODULE_ACTIONS__", "storybook/preview-api": "__STORYBOOK_MODULE_PREVIEW_API__", "storybook/internal/channels": "__STORYBOOK_MODULE_CHANNELS__", "storybook/internal/client-logger": "__STORYBOOK_MODULE_CLIENT_LOGGER__", "storybook/internal/core-events": "__STORYBOOK_MODULE_CORE_EVENTS__", "storybook/internal/preview-errors": "__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__", "storybook/internal/types": "__STORYBOOK_MODULE_TYPES__", // @deprecated TODO: Remove in 9.1 "storybook/internal/preview-api": "__STORYBOOK_MODULE_PREVIEW_API__" }, fT = Object.keys(lb); // src/channels/index.ts var Ob = {}; st(Ob, { Channel: () => Ar, HEARTBEAT_INTERVAL: () => Cb, HEARTBEAT_MAX_LATENCY: () => Pb, PostMessageTransport: () => go, WebsocketTransport: () => vo, createBrowserChannel: () => NG, default: () => MG }); // ../node_modules/ts-dedent/esm/index.js function Q(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; var n = Array.from(typeof e == "string" ? [e] : e); n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, ""); var i = n.reduce(function(l, u) { var c = u.match(/\n([\t ]+|(?!\s).)/g); return c ? l.concat(c.map(function(d) { var p, f; return (f = (p = d.match(/[\t ]/g)) === null || p === void 0 ? void 0 : p.length) !== null && f !== void 0 ? f : 0; })) : l; }, []); if (i.length) { var s = new RegExp(` [ ]{` + Math.min.apply(Math, i) + "}", "g"); n = n.map(function(l) { return l.replace(s, ` `); }); } n[0] = n[0].replace(/^\r?\n/, ""); var a = n[0]; return t.forEach(function(l, u) { var c = a.match(/(?:^|\n)( *)$/), d = c ? c[1] : "", p = l; typeof l == "string" && l.includes(` `) && (p = String(l).split(` `).map(function(f, m) { return m === 0 ? f : "" + d + f; }).join(` `)), a += p + n[u + 1]; }), a; } o(Q, "dedent"); var mT = Q; // src/shared/universal-store/instances.ts var ub = /* @__PURE__ */ new Map(); // src/shared/universal-store/index.ts var w3 = "UNIVERSAL_STORE:", Rt = { PENDING: "PENDING", RESOLVED: "RESOLVED", REJECTED: "REJECTED" }, J = class J { constructor(t, r) { /** Enable debug logs for this store */ this.debugging = !1; // TODO: narrow type of listeners based on event type this.listeners = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set()]]); /** Gets the current state */ this.getState = /* @__PURE__ */ o(() => (this.debug("getState", { state: this.state }), this.state), "getState"); /** * Subscribes to store events * * @returns A function to unsubscribe */ this.subscribe = /* @__PURE__ */ o((t, r) => { let n = typeof t == "function", i = n ? "*" : t, s = n ? t : r; if (this.debug("subscribe", { eventType: i, listener: s }), !s) throw new TypeError( `Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'` ); return this.listeners.has(i) || this.listeners.set(i, /* @__PURE__ */ new Set()), this.listeners.get(i).add(s), () => { this.debug("unsubscribe", { eventType: i, listener: s }), this.listeners.has(i) && (this.listeners.get(i).delete(s), this.listeners. get(i)?.size === 0 && this.listeners.delete(i)); }; }, "subscribe"); /** Sends a custom event to the other stores */ this.send = /* @__PURE__ */ o((t) => { if (this.debug("send", { event: t }), this.status !== J.Status.READY) throw new TypeError( Q`Cannot send event before store is ready. You can get the current status with store.status, or await store.readyPromise to wait for the store to be ready before sending events. ${JSON.stringify( { event: t, id: this.id, actor: this.actor, environment: this.environment }, null, 2 )}` ); this.emitToListeners(t, { actor: this.actor }), this.emitToChannel(t, { actor: this.actor }); }, "send"); if (this.debugging = t.debug ?? !1, !J.isInternalConstructing) throw new TypeError( "UniversalStore is not constructable - use UniversalStore.create() instead" ); if (J.isInternalConstructing = !1, this.id = t.id, this.actorId = Date.now().toString(36) + Math.random().toString(36).substring(2), this. actorType = t.leader ? J.ActorType.LEADER : J.ActorType.FOLLOWER, this.state = t.initialState, this.channelEventName = `${w3}${this.id}`, this.debug("constructor", { options: t, environmentOverrides: r, channelEventName: this.channelEventName }), this.actor.type === J.ActorType.LEADER) this.syncing = { state: Rt.RESOLVED, promise: Promise.resolve() }; else { let n, i, s = new Promise((a, l) => { n = /* @__PURE__ */ o(() => { this.syncing.state === Rt.PENDING && (this.syncing.state = Rt.RESOLVED, a()); }, "syncingResolve"), i = /* @__PURE__ */ o((u) => { this.syncing.state === Rt.PENDING && (this.syncing.state = Rt.REJECTED, l(u)); }, "syncingReject"); }); this.syncing = { state: Rt.PENDING, promise: s, resolve: n, reject: i }; } this.getState = this.getState.bind(this), this.setState = this.setState.bind(this), this.subscribe = this.subscribe.bind(this), this.onStateChange = this.onStateChange.bind(this), this.send = this.send.bind(this), this.emitToChannel = this.emitToChannel.bind(this), this.prepareThis = this. prepareThis.bind(this), this.emitToListeners = this.emitToListeners.bind(this), this.handleChannelEvents = this.handleChannelEvents.bind( this), this.debug = this.debug.bind(this), this.channel = r?.channel ?? J.preparation.channel, this.environment = r?.environment ?? J.preparation. environment, this.channel && this.environment ? (J.preparation.resolve({ channel: this.channel, environment: this.environment }), this.prepareThis( { channel: this.channel, environment: this.environment })) : J.preparation.promise.then(this.prepareThis); } static setupPreparationPromise() { let t, r, n = new Promise( (i, s) => { t = /* @__PURE__ */ o((a) => { i(a); }, "resolveRef"), r = /* @__PURE__ */ o((...a) => { s(a); }, "rejectRef"); } ); J.preparation = { resolve: t, reject: r, promise: n }; } /** The actor object representing the store instance with a unique ID and a type */ get actor() { return Object.freeze({ id: this.actorId, type: this.actorType, environment: this.environment ?? J.Environment.UNKNOWN }); } /** * The current state of the store, that signals both if the store is prepared by Storybook and * also - in the case of a follower - if the state has been synced with the leader's state. */ get status() { if (!this.channel || !this.environment) return J.Status.UNPREPARED; switch (this.syncing?.state) { case Rt.PENDING: case void 0: return J.Status.SYNCING; case Rt.REJECTED: return J.Status.ERROR; case Rt.RESOLVED: default: return J.Status.READY; } } /** * A promise that resolves when the store is fully ready. A leader will be ready when the store * has been prepared by Storybook, which is almost instantly. * * A follower will be ready when the state has been synced with the leader's state, within a few * hundred milliseconds. */ untilReady() { return Promise.all([J.preparation.promise, this.syncing?.promise]); } /** Creates a new instance of UniversalStore */ static create(t) { if (!t || typeof t?.id != "string") throw new TypeError("id is required and must be a string, when creating a UniversalStore"); t.debug && console.debug( Q`[UniversalStore] create`, { options: t } ); let r = ub.get(t.id); if (r) return console.warn(Q`UniversalStore with id "${t.id}" already exists in this environment, re-using existing. You should reuse the existing instance instead of trying to create a new one.`), r; J.isInternalConstructing = !0; let n = new J(t); return ub.set(t.id, n), n; } /** * Used by Storybook to set the channel for all instances of UniversalStore in the given * environment. * * @internal */ static __prepare(t, r) { J.preparation.channel = t, J.preparation.environment = r, J.preparation.resolve({ channel: t, environment: r }); } /** * Updates the store's state * * Either a new state or a state updater function can be passed to the method. */ setState(t) { let r = this.state, n = typeof t == "function" ? t(r) : t; if (this.debug("setState", { newState: n, previousState: r, updater: t }), this.status !== J.Status.READY) throw new TypeError( Q`Cannot set state before store is ready. You can get the current status with store.status, or await store.readyPromise to wait for the store to be ready before sending events. ${JSON.stringify( { newState: n, id: this.id, actor: this.actor, environment: this.environment }, null, 2 )}` ); this.state = n; let i = { type: J.InternalEventType.SET_STATE, payload: { state: n, previousState: r } }; this.emitToChannel(i, { actor: this.actor }), this.emitToListeners(i, { actor: this.actor }); } /** * Subscribes to state changes * * @returns Unsubscribe function */ onStateChange(t) { return this.debug("onStateChange", { listener: t }), this.subscribe( J.InternalEventType.SET_STATE, ({ payload: r }, n) => { t(r.state, r.previousState, n); } ); } emitToChannel(t, r) { this.debug("emitToChannel", { event: t, eventInfo: r, channel: !!this.channel }), this.channel?.emit(this.channelEventName, { event: t, eventInfo: r }); } prepareThis({ channel: t, environment: r }) { this.channel = t, this.environment = r, this.debug("prepared", { channel: !!t, environment: r }), this.channel.on(this.channelEventName, this.handleChannelEvents), this.actor.type === J.ActorType.LEADER ? this.emitToChannel( { type: J.InternalEventType.LEADER_CREATED }, { actor: this.actor } ) : (this.emitToChannel( { type: J.InternalEventType.FOLLOWER_CREATED }, { actor: this.actor } ), this.emitToChannel( { type: J.InternalEventType.EXISTING_STATE_REQUEST }, { actor: this.actor } ), setTimeout(() => { this.syncing.reject( new TypeError( `No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower\ .` ) ); }, 1e3)); } emitToListeners(t, r) { let n = this.listeners.get(t.type), i = this.listeners.get("*"); this.debug("emitToListeners", { event: t, eventInfo: r, eventTypeListeners: n, everythingListeners: i }), [...n ?? [], ...i ?? []].forEach( (s) => s(t, r) ); } handleChannelEvents(t) { let { event: r, eventInfo: n } = t; if ([n.actor.id, n.forwardingActor?.id].includes(this.actor.id)) { this.debug("handleChannelEvents: Ignoring event from self", { channelEvent: t }); return; } else if (this.syncing?.state === Rt.PENDING && r.type !== J.InternalEventType.EXISTING_STATE_RESPONSE) { this.debug("handleChannelEvents: Ignoring event while syncing", { channelEvent: t }); return; } if (this.debug("handleChannelEvents", { channelEvent: t }), this.actor.type === J.ActorType.LEADER) { let i = !0; switch (r.type) { case J.InternalEventType.EXISTING_STATE_REQUEST: i = !1; let s = { type: J.InternalEventType.EXISTING_STATE_RESPONSE, payload: this.state }; this.debug("handleChannelEvents: responding to existing state request", { responseEvent: s }), this.emitToChannel(s, { actor: this.actor }), this.emitToListeners(s, { actor: this.actor }); break; case J.InternalEventType.LEADER_CREATED: i = !1, this.syncing.state = Rt.REJECTED, this.debug("handleChannelEvents: erroring due to second leader being created", { event: r }), console.error( Q`Detected multiple UniversalStore leaders created with the same id "${this.id}". Only one leader can exists at a time, your stores are now in an invalid state. Leaders detected: this: ${JSON.stringify(this.actor, null, 2)} other: ${JSON.stringify(n.actor, null, 2)}` ); break; } i && (this.debug("handleChannelEvents: forwarding event", { channelEvent: t }), this.emitToChannel(r, { actor: n.actor, forwardingActor: this. actor })); } if (this.actor.type === J.ActorType.FOLLOWER) switch (r.type) { case J.InternalEventType.EXISTING_STATE_RESPONSE: if (this.debug("handleChannelEvents: Setting state from leader's existing state response", { event: r }), this.syncing?.state !== Rt.PENDING) break; this.syncing.resolve?.(); let i = { type: J.InternalEventType.SET_STATE, payload: { state: r.payload, previousState: this.state } }; this.state = r.payload, this.emitToListeners(i, n); break; } switch (r.type) { case J.InternalEventType.SET_STATE: this.debug("handleChannelEvents: Setting state", { event: r }), this.state = r.payload.state; break; } this.emitToListeners(r, { actor: n.actor }); } debug(t, r) { this.debugging && console.debug( Q`[UniversalStore::${this.id}::${this.environment ?? J.Environment.UNKNOWN}] ${t}`, JSON.stringify( { data: r, actor: this.actor, state: this.state, status: this.status }, null, 2 ) ); } /** * Used to reset the static fields of the UniversalStore class when cleaning up tests * * @internal */ static __reset() { J.preparation.reject(new Error("reset")), J.setupPreparationPromise(), J.isInternalConstructing = !1; } }; o(J, "UniversalStore"), /** * Defines the possible actor types in the store system * * @readonly */ J.ActorType = { LEADER: "LEADER", FOLLOWER: "FOLLOWER" }, /** * Defines the possible environments the store can run in * * @readonly */ J.Environment = { SERVER: "SERVER", MANAGER: "MANAGER", PREVIEW: "PREVIEW", UNKNOWN: "UNKNOWN", MOCK: "MOCK" }, /** * Internal event types used for store synchronization * * @readonly */ J.InternalEventType = { EXISTING_STATE_REQUEST: "__EXISTING_STATE_REQUEST", EXISTING_STATE_RESPONSE: "__EXISTING_STATE_RESPONSE", SET_STATE: "__SET_STATE", LEADER_CREATED: "__LEADER_CREATED", FOLLOWER_CREATED: "__FOLLOWER_CREATED" }, J.Status = { UNPREPARED: "UNPREPARED", SYNCING: "SYNCING", READY: "READY", ERROR: "ERROR" }, // This is used to check if constructor was called from the static factory create() J.isInternalConstructing = !1, J.setupPreparationPromise(); var po = J; // src/channels/main.ts var S3 = /* @__PURE__ */ o((e) => e.transports !== void 0, "isMulti"), R3 = /* @__PURE__ */ o(() => Math.random().toString(16).slice(2), "ge\ nerateRandomId"), cb = class cb { constructor(t = {}) { this.sender = R3(); this.events = {}; this.data = {}; this.transports = []; this.isAsync = t.async || !1, S3(t) ? (this.transports = t.transports || [], this.transports.forEach((r) => { r.setHandler((n) => this.handleEvent(n)); })) : this.transports = t.transport ? [t.transport] : [], this.transports.forEach((r) => { r.setHandler((n) => this.handleEvent(n)); }); } get hasTransport() { return this.transports.length > 0; } addListener(t, r) { this.events[t] = this.events[t] || [], this.events[t].push(r); } emit(t, ...r) { let n = { type: t, args: r, from: this.sender }, i = {}; r.length >= 1 && r[0] && r[0].options && (i = r[0].options); let s = /* @__PURE__ */ o(() => { this.transports.forEach((a) => { a.send(n, i); }), this.handleEvent(n); }, "handler"); this.isAsync ? setImmediate(s) : s(); } last(t) { return this.data[t]; } eventNames() { return Object.keys(this.events); } listenerCount(t) { let r = this.listeners(t); return r ? r.length : 0; } listeners(t) { return this.events[t] || void 0; } once(t, r) { let n = this.onceListener(t, r); this.addListener(t, n); } removeAllListeners(t) { t ? this.events[t] && delete this.events[t] : this.events = {}; } removeListener(t, r) { let n = this.listeners(t); n && (this.events[t] = n.filter((i) => i !== r)); } on(t, r) { this.addListener(t, r); } off(t, r) { this.removeListener(t, r); } handleEvent(t) { let r = this.listeners(t.type); r && r.length && r.forEach((n) => { n.apply(t, t.args); }), this.data[t.type] = t.args; } onceListener(t, r) { let n = /* @__PURE__ */ o((...i) => (this.removeListener(t, n), r(...i)), "onceListener"); return n; } }; o(cb, "Channel"); var Ar = cb; // src/client-logger/index.ts var pb = {}; st(pb, { deprecate: () => Oi, logger: () => se, once: () => be, pretty: () => pt }); var { LOGLEVEL: T3 } = k, Or = { trace: 1, debug: 2, info: 3, warn: 4, error: 5, silent: 10 }, _3 = T3, fo = Or[_3] || Or.info, se = { trace: /* @__PURE__ */ o((e, ...t) => { fo <= Or.trace && console.trace(e, ...t); }, "trace"), debug: /* @__PURE__ */ o((e, ...t) => { fo <= Or.debug && console.debug(e, ...t); }, "debug"), info: /* @__PURE__ */ o((e, ...t) => { fo <= Or.info && console.info(e, ...t); }, "info"), warn: /* @__PURE__ */ o((e, ...t) => { fo <= Or.warn && console.warn(e, ...t); }, "warn"), error: /* @__PURE__ */ o((e, ...t) => { fo <= Or.error && console.error(e, ...t); }, "error"), log: /* @__PURE__ */ o((e, ...t) => { fo < Or.silent && console.log(e, ...t); }, "log") }, db = /* @__PURE__ */ new Set(), be = /* @__PURE__ */ o((e) => (t, ...r) => { if (!db.has(t)) return db.add(t), se[e](t, ...r); }, "once"); be.clear = () => db.clear(); be.trace = be("trace"); be.debug = be("debug"); be.info = be("info"); be.warn = be("warn"); be.error = be("error"); be.log = be("log"); var Oi = be("warn"), pt = /* @__PURE__ */ o((e) => (...t) => { let r = []; if (t.length) { let n = //gi, i = /<\/span>/gi, s; for (r.push(t[0].replace(n, "%c").replace(i, "%c")); s = n.exec(t[0]); ) r.push(s[2]), r.push(""); for (let a = 1; a < t.length; a++) r.push(t[a]); } se[e].apply(se, r); }, "pretty"); pt.trace = pt("trace"); pt.debug = pt("debug"); pt.info = pt("info"); pt.warn = pt("warn"); pt.error = pt("error"); // ../node_modules/telejson/dist/chunk-EAFQLD22.mjs var C3 = Object.create, hT = Object.defineProperty, P3 = Object.getOwnPropertyDescriptor, yT = Object.getOwnPropertyNames, A3 = Object.getPrototypeOf, O3 = Object.prototype.hasOwnProperty, te = /* @__PURE__ */ o((e, t) => /* @__PURE__ */ o(function() { return t || (0, e[yT(e)[0]])((t = { exports: {} }).exports, t), t.exports; }, "__require"), "__commonJS"), q3 = /* @__PURE__ */ o((e, t, r, n) => { if (t && typeof t == "object" || typeof t == "function") for (let i of yT(t)) !O3.call(e, i) && i !== r && hT(e, i, { get: /* @__PURE__ */ o(() => t[i], "get"), enumerable: !(n = P3(t, i)) || n.enumerable }); return e; }, "__copyProps"), Ua = /* @__PURE__ */ o((e, t, r) => (r = e != null ? C3(A3(e)) : {}, q3( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. t || !e || !e.__esModule ? hT(r, "default", { value: e, enumerable: !0 }) : r, e )), "__toESM"), I3 = [ "bubbles", "cancelBubble", "cancelable", "composed", "currentTarget", "defaultPrevented", "eventPhase", "isTrusted", "returnValue", "srcElement", "target", "timeStamp", "type" ], M3 = ["detail"]; function bT(e) { let t = I3.filter((r) => e[r] !== void 0).reduce((r, n) => (r[n] = e[n], r), {}); if (e instanceof CustomEvent) for (let r of M3.filter( (n) => e[n] !== void 0 )) t[r] = e[r]; return t; } o(bT, "extractEventHiddenProperties"); // ../node_modules/telejson/dist/index.mjs var ST = te({ "node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e, t) { "use strict"; t.exports = Object; } }), N3 = te({ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e, t) { "use strict"; t.exports = Error; } }), j3 = te({ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e, t) { "use strict"; t.exports = EvalError; } }), k3 = te({ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e, t) { "use strict"; t.exports = RangeError; } }), L3 = te({ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e, t) { "use strict"; t.exports = ReferenceError; } }), F3 = te({ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e, t) { "use strict"; t.exports = SyntaxError; } }), mb = te({ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e, t) { "use strict"; t.exports = TypeError; } }), D3 = te({ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e, t) { "use strict"; t.exports = URIError; } }), $3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e, t) { "use strict"; t.exports = Math.abs; } }), B3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e, t) { "use strict"; t.exports = Math.floor; } }), U3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e, t) { "use strict"; t.exports = Math.max; } }), H3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e, t) { "use strict"; t.exports = Math.min; } }), V3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e, t) { "use strict"; t.exports = Math.pow; } }), z3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e, t) { "use strict"; t.exports = Math.round; } }), G3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e, t) { "use strict"; t.exports = Number.isNaN || /* @__PURE__ */ o(function(n) { return n !== n; }, "isNaN2"); } }), W3 = te({ "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e, t) { "use strict"; var r = G3(); t.exports = /* @__PURE__ */ o(function(i) { return r(i) || i === 0 ? i : i < 0 ? -1 : 1; }, "sign"); } }), Y3 = te({ "node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e, t) { "use strict"; t.exports = Object.getOwnPropertyDescriptor; } }), hb = te({ "node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e, t) { "use strict"; var r = Y3(); if (r) try { r([], "length"); } catch { r = null; } t.exports = r; } }), K3 = te({ "node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e, t) { "use strict"; var r = Object.defineProperty || !1; if (r) try { r({}, "a", { value: 1 }); } catch { r = !1; } t.exports = r; } }), RT = te({ "node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e, t) { "use strict"; t.exports = /* @__PURE__ */ o(function() { if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1; if (typeof Symbol.iterator == "symbol") return !0; var n = {}, i = Symbol("test"), s = Object(i); if (typeof i == "string" || Object.prototype.toString.call(i) !== "[object Symbol]" || Object.prototype.toString.call(s) !== "[object \ Symbol]") return !1; var a = 42; n[i] = a; for (var l in n) return !1; if (typeof Object.keys == "function" && Object.keys(n).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames( n).length !== 0) return !1; var u = Object.getOwnPropertySymbols(n); if (u.length !== 1 || u[0] !== i || !Object.prototype.propertyIsEnumerable.call(n, i)) return !1; if (typeof Object.getOwnPropertyDescriptor == "function") { var c = ( /** @type {PropertyDescriptor} */ Object.getOwnPropertyDescriptor(n, i) ); if (c.value !== a || c.enumerable !== !0) return !1; } return !0; }, "hasSymbols"); } }), TT = te({ "node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e, t) { "use strict"; var r = typeof Symbol < "u" && Symbol, n = RT(); t.exports = /* @__PURE__ */ o(function() { return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : n(); }, "hasNativeSymbols"); } }), _T = te({ "node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e, t) { "use strict"; t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null; } }), CT = te({ "node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e, t) { "use strict"; var r = ST(); t.exports = r.getPrototypeOf || null; } }), X3 = te({ "node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e, t) { "use strict"; var r = "Function.prototype.bind called on incompatible ", n = Object.prototype.toString, i = Math.max, s = "[object Function]", a = /* @__PURE__ */ o( function(d, p) { for (var f = [], m = 0; m < d.length; m += 1) f[m] = d[m]; for (var h = 0; h < p.length; h += 1) f[h + d.length] = p[h]; return f; }, "concatty2"), l = /* @__PURE__ */ o(function(d, p) { for (var f = [], m = p || 0, h = 0; m < d.length; m += 1, h += 1) f[h] = d[m]; return f; }, "slicy2"), u = /* @__PURE__ */ o(function(c, d) { for (var p = "", f = 0; f < c.length; f += 1) p += c[f], f + 1 < c.length && (p += d); return p; }, "joiny"); t.exports = /* @__PURE__ */ o(function(d) { var p = this; if (typeof p != "function" || n.apply(p) !== s) throw new TypeError(r + p); for (var f = l(arguments, 1), m, h = /* @__PURE__ */ o(function() { if (this instanceof m) { var E = p.apply( this, a(f, arguments) ); return Object(E) === E ? E : this; } return p.apply( d, a(f, arguments) ); }, "binder"), b = i(0, p.length - f.length), v = [], g = 0; g < b; g++) v[g] = "$" + g; if (m = Function("binder", "return function (" + u(v, ",") + "){ return binder.apply(this,arguments); }")(h), p.prototype) { var w = /* @__PURE__ */ o(function() { }, "Empty2"); w.prototype = p.prototype, m.prototype = new w(), w.prototype = null; } return m; }, "bind"); } }), Ha = te({ "node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e, t) { "use strict"; var r = X3(); t.exports = Function.prototype.bind || r; } }), yb = te({ "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e, t) { "use strict"; t.exports = Function.prototype.call; } }), PT = te({ "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e, t) { "use strict"; t.exports = Function.prototype.apply; } }), J3 = te({ "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e, t) { "use strict"; t.exports = typeof Reflect < "u" && Reflect && Reflect.apply; } }), Q3 = te({ "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e, t) { "use strict"; var r = Ha(), n = PT(), i = yb(), s = J3(); t.exports = s || r.call(i, n); } }), AT = te({ "node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e, t) { "use strict"; var r = Ha(), n = mb(), i = yb(), s = Q3(); t.exports = /* @__PURE__ */ o(function(l) { if (l.length < 1 || typeof l[0] != "function") throw new n("a function is required"); return s(r, i, l); }, "callBindBasic"); } }), Z3 = te({ "node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e, t) { "use strict"; var r = AT(), n = hb(), i; try { i = /** @type {{ __proto__?: typeof Array.prototype }} */ [].__proto__ === Array.prototype; } catch (u) { if (!u || typeof u != "object" || !("code" in u) || u.code !== "ERR_PROTO_ACCESS") throw u; } var s = !!i && n && n( Object.prototype, /** @type {keyof typeof Object.prototype} */ "__proto__" ), a = Object, l = a.getPrototypeOf; t.exports = s && typeof s.get == "function" ? r([s.get]) : typeof l == "function" ? ( /** @type {import('./get')} */ /* @__PURE__ */ o(function(c) { return l(c == null ? c : a(c)); }, "getDunder") ) : !1; } }), eV = te({ "node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e, t) { "use strict"; var r = _T(), n = CT(), i = Z3(); t.exports = r ? /* @__PURE__ */ o(function(a) { return r(a); }, "getProto") : n ? /* @__PURE__ */ o(function(a) { if (!a || typeof a != "object" && typeof a != "function") throw new TypeError("getProto: not an object"); return n(a); }, "getProto") : i ? /* @__PURE__ */ o(function(a) { return i(a); }, "getProto") : null; } }), OT = te({ "node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e, t) { "use strict"; var r = Function.prototype.call, n = Object.prototype.hasOwnProperty, i = Ha(); t.exports = i.call(r, n); } }), tV = te({ "node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e, t) { "use strict"; var r, n = ST(), i = N3(), s = j3(), a = k3(), l = L3(), u = F3(), c = mb(), d = D3(), p = $3(), f = B3(), m = U3(), h = H3(), b = V3(), v = z3(), g = W3(), w = Function, E = /* @__PURE__ */ o(function(bt) { try { return w('"use strict"; return (' + bt + ").constructor;")(); } catch { } }, "getEvalledConstructor"), R = hb(), T = K3(), P = /* @__PURE__ */ o(function() { throw new c(); }, "throwTypeError"), _ = R ? function() { try { return arguments.callee, P; } catch { try { return R(arguments, "callee").get; } catch { return P; } } }() : P, C = TT()(), O = eV(), L = CT(), q = _T(), D = PT(), U = yb(), M = {}, H = typeof Uint8Array > "u" || !O ? r : O(Uint8Array), N = { __proto__: null, "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, "%Array%": Array, "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, "%ArrayIteratorPrototype%": C && O ? O([][Symbol.iterator]()) : r, "%AsyncFromSyncIteratorPrototype%": r, "%AsyncFunction%": M, "%AsyncGenerator%": M, "%AsyncGeneratorFunction%": M, "%AsyncIteratorPrototype%": M, "%Atomics%": typeof Atomics > "u" ? r : Atomics, "%BigInt%": typeof BigInt > "u" ? r : BigInt, "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, "%Boolean%": Boolean, "%DataView%": typeof DataView > "u" ? r : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": i, "%eval%": eval, // eslint-disable-line no-eval "%EvalError%": s, "%Float16Array%": typeof Float16Array > "u" ? r : Float16Array, "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, "%Function%": w, "%GeneratorFunction%": M, "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": C && O ? O(O([][Symbol.iterator]())) : r, "%JSON%": typeof JSON == "object" ? JSON : r, "%Map%": typeof Map > "u" ? r : Map, "%MapIteratorPrototype%": typeof Map > "u" || !C || !O ? r : O((/* @__PURE__ */ new Map())[Symbol.iterator]()), "%Math%": Math, "%Number%": Number, "%Object%": n, "%Object.getOwnPropertyDescriptor%": R, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": typeof Promise > "u" ? r : Promise, "%Proxy%": typeof Proxy > "u" ? r : Proxy, "%RangeError%": a, "%ReferenceError%": l, "%Reflect%": typeof Reflect > "u" ? r : Reflect, "%RegExp%": RegExp, "%Set%": typeof Set > "u" ? r : Set, "%SetIteratorPrototype%": typeof Set > "u" || !C || !O ? r : O((/* @__PURE__ */ new Set())[Symbol.iterator]()), "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": C && O ? O(""[Symbol.iterator]()) : r, "%Symbol%": C ? Symbol : r, "%SyntaxError%": u, "%ThrowTypeError%": _, "%TypedArray%": H, "%TypeError%": c, "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, "%URIError%": d, "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, "%Function.prototype.call%": U, "%Function.prototype.apply%": D, "%Object.defineProperty%": T, "%Object.getPrototypeOf%": L, "%Math.abs%": p, "%Math.floor%": f, "%Math.max%": m, "%Math.min%": h, "%Math.pow%": b, "%Math.round%": v, "%Math.sign%": g, "%Reflect.getPrototypeOf%": q }; if (O) try { null.error; } catch (bt) { W = O(O(bt)), N["%Error.prototype%"] = W; } var W, Y = /* @__PURE__ */ o(function bt(we) { var Ze; if (we === "%AsyncFunction%") Ze = E("async function () {}"); else if (we === "%GeneratorFunction%") Ze = E("function* () {}"); else if (we === "%AsyncGeneratorFunction%") Ze = E("async function* () {}"); else if (we === "%AsyncGenerator%") { var je = bt("%AsyncGeneratorFunction%"); je && (Ze = je.prototype); } else if (we === "%AsyncIteratorPrototype%") { var it = bt("%AsyncGenerator%"); it && O && (Ze = O(it.prototype)); } return N[we] = Ze, Ze; }, "doEval2"), ae = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, de = Ha(), Oe = OT(), F = de.call(U, Array.prototype.concat), j = de.call(D, Array.prototype.splice), K = de.call(U, String.prototype. replace), G = de.call(U, String.prototype.slice), Z = de.call(U, RegExp.prototype.exec), ve = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, qe = /\\(\\)?/g, Qe = /* @__PURE__ */ o(function(we) { var Ze = G(we, 0, 1), je = G(we, -1); if (Ze === "%" && je !== "%") throw new u("invalid intrinsic syntax, expected closing `%`"); if (je === "%" && Ze !== "%") throw new u("invalid intrinsic syntax, expected opening `%`"); var it = []; return K(we, ve, function(er, ao, dt, Na) { it[it.length] = dt ? K(Na, qe, "$1") : ao || er; }), it; }, "stringToPath3"), Ei = /* @__PURE__ */ o(function(we, Ze) { var je = we, it; if (Oe(ae, je) && (it = ae[je], je = "%" + it[0] + "%"), Oe(N, je)) { var er = N[je]; if (er === M && (er = Y(je)), typeof er > "u" && !Ze) throw new c("intrinsic " + we + " exists, but is not available. Please file an issue!"); return { alias: it, name: je, value: er }; } throw new u("intrinsic " + we + " does not exist!"); }, "getBaseIntrinsic2"); t.exports = /* @__PURE__ */ o(function(we, Ze) { if (typeof we != "string" || we.length === 0) throw new c("intrinsic name must be a non-empty string"); if (arguments.length > 1 && typeof Ze != "boolean") throw new c('"allowMissing" argument must be a boolean'); if (Z(/^%?[^%]*%?$/, we) === null) throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); var je = Qe(we), it = je.length > 0 ? je[0] : "", er = Ei("%" + it + "%", Ze), ao = er.name, dt = er.value, Na = !1, $y = er.alias; $y && (it = $y[0], j(je, F([0, 1], $y))); for (var V = 1, xi = !0; V < je.length; V += 1) { var dr = je[V], ja = G(dr, 0, 1), ka = G(dr, -1); if ((ja === '"' || ja === "'" || ja === "`" || ka === '"' || ka === "'" || ka === "`") && ja !== ka) throw new u("property names with quotes must have matching quotes"); if ((dr === "constructor" || !xi) && (Na = !0), it += "." + dr, ao = "%" + it + "%", Oe(N, ao)) dt = N[ao]; else if (dt != null) { if (!(dr in dt)) { if (!Ze) throw new c("base intrinsic for " + we + " exists, but the property is not available."); return; } if (R && V + 1 >= je.length) { var La = R(dt, dr); xi = !!La, xi && "get" in La && !("originalValue" in La.get) ? dt = La.get : dt = dt[dr]; } else xi = Oe(dt, dr), dt = dt[dr]; xi && !Na && (N[ao] = dt); } } return dt; }, "GetIntrinsic"); } }), bb = te({ "node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e, t) { "use strict"; var r = tV(), n = AT(), i = n([r("%String.prototype.indexOf%")]); t.exports = /* @__PURE__ */ o(function(a, l) { var u = ( /** @type {(this: unknown, ...args: unknown[]) => unknown} */ r(a, !!l) ); return typeof u == "function" && i(a, ".prototype.") > -1 ? n( /** @type {const} */ [u] ) : u; }, "callBoundIntrinsic"); } }), rV = te({ "node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e, t) { "use strict"; var r = RT(); t.exports = /* @__PURE__ */ o(function() { return r() && !!Symbol.toStringTag; }, "hasToStringTagShams"); } }), qT = te({ "node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e, t) { "use strict"; var r = bb(), n = rV()(), i = OT(), s = hb(), a; n ? (l = r("RegExp.prototype.exec"), u = {}, c = /* @__PURE__ */ o(function() { throw u; }, "throwRegexMarker"), d = { toString: c, valueOf: c }, typeof Symbol.toPrimitive == "symbol" && (d[Symbol.toPrimitive] = c), a = /* @__PURE__ */ o(function(h) { if (!h || typeof h != "object") return !1; var b = ( /** @type {NonNullable} */ s( /** @type {{ lastIndex?: unknown }} */ h, "lastIndex" ) ), v = b && i(b, "value"); if (!v) return !1; try { l( h, /** @type {string} */ /** @type {unknown} */ d ); } catch (g) { return g === u; } }, "isRegex")) : (p = r("Object.prototype.toString"), f = "[object RegExp]", a = /* @__PURE__ */ o(function(h) { return !h || typeof h != "object" && typeof h != "function" ? !1 : p(h) === f; }, "isRegex")); var l, u, c, d, p, f; t.exports = a; } }), nV = te({ "node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e, t) { t.exports = n; var r = Object.prototype.toString; function n(i) { if (!i) return !1; var s = r.call(i); return s === "[object Function]" || typeof i == "function" && s !== "[object RegExp]" || typeof window < "u" && // IE8 and below (i === window.setTimeout || i === window.alert || i === window.confirm || i === window.prompt); } o(n, "isFunction3"); } }), oV = te({ "node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e, t) { "use strict"; var r = bb(), n = qT(), i = r("RegExp.prototype.exec"), s = mb(); t.exports = /* @__PURE__ */ o(function(l) { if (!n(l)) throw new s("`regex` must be a RegExp"); return /* @__PURE__ */ o(function(c) { return i(l, c) !== null; }, "test"); }, "regexTester"); } }), iV = te({ "node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e, t) { "use strict"; var r = bb(), n = r("Object.prototype.toString"), i = TT()(), s = oV(); i ? (a = r("Symbol.prototype.toString"), l = s(/^Symbol\(.*\)$/), u = /* @__PURE__ */ o(function(d) { return typeof d.valueOf() != "symbol" ? !1 : l(a(d)); }, "isRealSymbolObject"), t.exports = /* @__PURE__ */ o(function(d) { if (typeof d == "symbol") return !0; if (!d || typeof d != "object" || n(d) !== "[object Symbol]") return !1; try { return u(d); } catch { return !1; } }, "isSymbol3")) : t.exports = /* @__PURE__ */ o(function(d) { return !1; }, "isSymbol3"); var a, l, u; } }), sV = Ua(qT()), aV = Ua(nV()), lV = Ua(iV()); function uV(e) { return e != null && typeof e == "object" && Array.isArray(e) === !1; } o(uV, "isObject"); var cV = typeof global == "object" && global && global.Object === Object && global, dV = cV, pV = typeof self == "object" && self && self.Object === Object && self, fV = dV || pV || Function("return this")(), gb = fV, mV = gb.Symbol, mo = mV, IT = Object.prototype, hV = IT.hasOwnProperty, yV = IT.toString, qi = mo ? mo.toStringTag : void 0; function bV(e) { var t = hV.call(e, qi), r = e[qi]; try { e[qi] = void 0; var n = !0; } catch { } var i = yV.call(e); return n && (t ? e[qi] = r : delete e[qi]), i; } o(bV, "getRawTag"); var gV = bV, vV = Object.prototype, EV = vV.toString; function xV(e) { return EV.call(e); } o(xV, "objectToString"); var wV = xV, SV = "[object Null]", RV = "[object Undefined]", gT = mo ? mo.toStringTag : void 0; function TV(e) { return e == null ? e === void 0 ? RV : SV : gT && gT in Object(e) ? gV(e) : wV(e); } o(TV, "baseGetTag"); var MT = TV; function _V(e) { return e != null && typeof e == "object"; } o(_V, "isObjectLike"); var CV = _V, PV = "[object Symbol]"; function AV(e) { return typeof e == "symbol" || CV(e) && MT(e) == PV; } o(AV, "isSymbol"); var vb = AV; function OV(e, t) { for (var r = -1, n = e == null ? 0 : e.length, i = Array(n); ++r < n; ) i[r] = t(e[r], r, e); return i; } o(OV, "arrayMap"); var qV = OV, IV = Array.isArray, Eb = IV, MV = 1 / 0, vT = mo ? mo.prototype : void 0, ET = vT ? vT.toString : void 0; function NT(e) { if (typeof e == "string") return e; if (Eb(e)) return qV(e, NT) + ""; if (vb(e)) return ET ? ET.call(e) : ""; var t = e + ""; return t == "0" && 1 / e == -MV ? "-0" : t; } o(NT, "baseToString"); var NV = NT; function jV(e) { var t = typeof e; return e != null && (t == "object" || t == "function"); } o(jV, "isObject2"); var jT = jV, kV = "[object AsyncFunction]", LV = "[object Function]", FV = "[object GeneratorFunction]", DV = "[object Proxy]"; function $V(e) { if (!jT(e)) return !1; var t = MT(e); return t == LV || t == FV || t == kV || t == DV; } o($V, "isFunction"); var BV = $V, UV = gb["__core-js_shared__"], fb = UV, xT = function() { var e = /[^.]+$/.exec(fb && fb.keys && fb.keys.IE_PROTO || ""); return e ? "Symbol(src)_1." + e : ""; }(); function HV(e) { return !!xT && xT in e; } o(HV, "isMasked"); var VV = HV, zV = Function.prototype, GV = zV.toString; function WV(e) { if (e != null) { try { return GV.call(e); } catch { } try { return e + ""; } catch { } } return ""; } o(WV, "toSource"); var YV = WV, KV = /[\\^$.*+?()[\]{}|]/g, XV = /^\[object .+?Constructor\]$/, JV = Function.prototype, QV = Object.prototype, ZV = JV.toString, ez = QV.hasOwnProperty, tz = RegExp( "^" + ZV.call(ez).replace(KV, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); function rz(e) { if (!jT(e) || VV(e)) return !1; var t = BV(e) ? tz : XV; return t.test(YV(e)); } o(rz, "baseIsNative"); var nz = rz; function oz(e, t) { return e?.[t]; } o(oz, "getValue"); var iz = oz; function sz(e, t) { var r = iz(e, t); return nz(r) ? r : void 0; } o(sz, "getNative"); var kT = sz; function az(e, t) { return e === t || e !== e && t !== t; } o(az, "eq"); var lz = az, uz = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, cz = /^\w*$/; function dz(e, t) { if (Eb(e)) return !1; var r = typeof e; return r == "number" || r == "symbol" || r == "boolean" || e == null || vb(e) ? !0 : cz.test(e) || !uz.test(e) || t != null && e in Object( t); } o(dz, "isKey"); var pz = dz, fz = kT(Object, "create"), Ii = fz; function mz() { this.__data__ = Ii ? Ii(null) : {}, this.size = 0; } o(mz, "hashClear"); var hz = mz; function yz(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t; } o(yz, "hashDelete"); var bz = yz, gz = "__lodash_hash_undefined__", vz = Object.prototype, Ez = vz.hasOwnProperty; function xz(e) { var t = this.__data__; if (Ii) { var r = t[e]; return r === gz ? void 0 : r; } return Ez.call(t, e) ? t[e] : void 0; } o(xz, "hashGet"); var wz = xz, Sz = Object.prototype, Rz = Sz.hasOwnProperty; function Tz(e) { var t = this.__data__; return Ii ? t[e] !== void 0 : Rz.call(t, e); } o(Tz, "hashHas"); var _z = Tz, Cz = "__lodash_hash_undefined__"; function Pz(e, t) { var r = this.__data__; return this.size += this.has(e) ? 0 : 1, r[e] = Ii && t === void 0 ? Cz : t, this; } o(Pz, "hashSet"); var Az = Pz; function ho(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } o(ho, "Hash"); ho.prototype.clear = hz; ho.prototype.delete = bz; ho.prototype.get = wz; ho.prototype.has = _z; ho.prototype.set = Az; var wT = ho; function Oz() { this.__data__ = [], this.size = 0; } o(Oz, "listCacheClear"); var qz = Oz; function Iz(e, t) { for (var r = e.length; r--; ) if (lz(e[r][0], t)) return r; return -1; } o(Iz, "assocIndexOf"); var Va = Iz, Mz = Array.prototype, Nz = Mz.splice; function jz(e) { var t = this.__data__, r = Va(t, e); if (r < 0) return !1; var n = t.length - 1; return r == n ? t.pop() : Nz.call(t, r, 1), --this.size, !0; } o(jz, "listCacheDelete"); var kz = jz; function Lz(e) { var t = this.__data__, r = Va(t, e); return r < 0 ? void 0 : t[r][1]; } o(Lz, "listCacheGet"); var Fz = Lz; function Dz(e) { return Va(this.__data__, e) > -1; } o(Dz, "listCacheHas"); var $z = Dz; function Bz(e, t) { var r = this.__data__, n = Va(r, e); return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this; } o(Bz, "listCacheSet"); var Uz = Bz; function yo(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } o(yo, "ListCache"); yo.prototype.clear = qz; yo.prototype.delete = kz; yo.prototype.get = Fz; yo.prototype.has = $z; yo.prototype.set = Uz; var Hz = yo, Vz = kT(gb, "Map"), zz = Vz; function Gz() { this.size = 0, this.__data__ = { hash: new wT(), map: new (zz || Hz)(), string: new wT() }; } o(Gz, "mapCacheClear"); var Wz = Gz; function Yz(e) { var t = typeof e; return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null; } o(Yz, "isKeyable"); var Kz = Yz; function Xz(e, t) { var r = e.__data__; return Kz(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map; } o(Xz, "getMapData"); var za = Xz; function Jz(e) { var t = za(this, e).delete(e); return this.size -= t ? 1 : 0, t; } o(Jz, "mapCacheDelete"); var Qz = Jz; function Zz(e) { return za(this, e).get(e); } o(Zz, "mapCacheGet"); var eG = Zz; function tG(e) { return za(this, e).has(e); } o(tG, "mapCacheHas"); var rG = tG; function nG(e, t) { var r = za(this, e), n = r.size; return r.set(e, t), this.size += r.size == n ? 0 : 1, this; } o(nG, "mapCacheSet"); var oG = nG; function bo(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } o(bo, "MapCache"); bo.prototype.clear = Wz; bo.prototype.delete = Qz; bo.prototype.get = eG; bo.prototype.has = rG; bo.prototype.set = oG; var LT = bo, iG = "Expected a function"; function xb(e, t) { if (typeof e != "function" || t != null && typeof t != "function") throw new TypeError(iG); var r = /* @__PURE__ */ o(function() { var n = arguments, i = t ? t.apply(this, n) : n[0], s = r.cache; if (s.has(i)) return s.get(i); var a = e.apply(this, n); return r.cache = s.set(i, a) || s, a; }, "memoized"); return r.cache = new (xb.Cache || LT)(), r; } o(xb, "memoize"); xb.Cache = LT; var sG = xb, aG = 500; function lG(e) { var t = sG(e, function(n) { return r.size === aG && r.clear(), n; }), r = t.cache; return t; } o(lG, "memoizeCapped"); var uG = lG, cG = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, dG = /\\(\\)?/g, pG = uG( function(e) { var t = []; return e.charCodeAt(0) === 46 && t.push(""), e.replace(cG, function(r, n, i, s) { t.push(i ? s.replace(dG, "$1") : n || r); }), t; }), fG = pG; function mG(e) { return e == null ? "" : NV(e); } o(mG, "toString"); var hG = mG; function yG(e, t) { return Eb(e) ? e : pz(e, t) ? [e] : fG(hG(e)); } o(yG, "castPath"); var bG = yG, gG = 1 / 0; function vG(e) { if (typeof e == "string" || vb(e)) return e; var t = e + ""; return t == "0" && 1 / e == -gG ? "-0" : t; } o(vG, "toKey"); var EG = vG; function xG(e, t) { t = bG(t, e); for (var r = 0, n = t.length; e != null && r < n; ) e = e[EG(t[r++])]; return r && r == n ? e : void 0; } o(xG, "baseGet"); var wG = xG; function SG(e, t, r) { var n = e == null ? void 0 : wG(e, t); return n === void 0 ? r : n; } o(SG, "get"); var RG = SG, wb = uV, TG = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/, Mi = /* @__PURE__ */ o((e) => e.match(/^[\[\{\"\}].*[\]\}\"]$/), "isJSON"); function FT(e) { if (!wb(e)) return e; let t = e, r = !1; return typeof Event < "u" && e instanceof Event && (t = bT(t), r = !0), t = Object.keys(t).reduce((n, i) => { try { t[i] && t[i].toJSON, n[i] = t[i]; } catch { r = !0; } return n; }, {}), r ? t : e; } o(FT, "convertUnconventionalData"); var _G = /* @__PURE__ */ o(function(t) { let r, n, i, s; return /* @__PURE__ */ o(function(l, u) { try { if (l === "") return s = [], r = /* @__PURE__ */ new Map([[u, "[]"]]), n = /* @__PURE__ */ new Map(), i = [], u; let c = n.get(this) || this; for (; i.length && c !== i[0]; ) i.shift(), s.pop(); if (typeof u == "boolean") return u; if (u === void 0) return t.allowUndefined ? "_undefined_" : void 0; if (u === null) return null; if (typeof u == "number") return u === Number.NEGATIVE_INFINITY ? "_-Infinity_" : u === Number.POSITIVE_INFINITY ? "_Infinity_" : Number.isNaN(u) ? "_NaN_" : u; if (typeof u == "bigint") return `_bigint_${u.toString()}`; if (typeof u == "string") return TG.test(u) ? t.allowDate ? `_date_${u}` : void 0 : u; if ((0, sV.default)(u)) return t.allowRegExp ? `_regexp_${u.flags}|${u.source}` : void 0; if ((0, aV.default)(u)) return; if ((0, lV.default)(u)) { if (!t.allowSymbol) return; let p = Symbol.keyFor(u); return p !== void 0 ? `_gsymbol_${p}` : `_symbol_${u.toString().slice(7, -1)}`; } if (i.length >= t.maxDepth) return Array.isArray(u) ? `[Array(${u.length})]` : "[Object]"; if (u === this) return `_duplicate_${JSON.stringify(s)}`; if (u instanceof Error && t.allowError) return { __isConvertedError__: !0, errorProperties: { // @ts-expect-error cause is not defined in the current tsconfig target(es2020) ...u.cause ? { cause: u.cause } : {}, ...u, name: u.name, message: u.message, stack: u.stack, "_constructor-name_": u.constructor.name } }; if (u?.constructor?.name && u.constructor.name !== "Object" && !Array.isArray(u)) { let p = r.get(u); if (!p) { let f = { __isClassInstance__: !0, __className__: u.constructor.name, ...Object.getOwnPropertyNames(u).reduce( (m, h) => { try { m[h] = u[h]; } catch { } return m; }, {} ) }; return s.push(l), i.unshift(f), r.set(u, JSON.stringify(s)), u !== f && n.set(u, f), f; } return `_duplicate_${p}`; } let d = r.get(u); if (!d) { let p = Array.isArray(u) ? u : FT(u); return s.push(l), i.unshift(p), r.set(u, JSON.stringify(s)), u !== p && n.set(u, p), p; } return `_duplicate_${d}`; } catch { return; } }, "replace"); }, "replacer2"), CG = /* @__PURE__ */ o(function(t) { let r = [], n; return /* @__PURE__ */ o(function(s, a) { if (s === "" && (n = a, r.forEach(({ target: l, container: u, replacement: c }) => { let d = Mi(c) ? JSON.parse(c) : c.split("."); d.length === 0 ? u[l] = n : u[l] = RG(n, d); })), s === "_constructor-name_") return a; if (wb(a) && a.__isConvertedError__) { let { message: l, ...u } = a.errorProperties, c = new Error(l); return Object.assign(c, u), c; } if (typeof a == "string" && a.startsWith("_regexp_") && t.allowRegExp) { let [, l, u] = a.match(/_regexp_([^|]*)\|(.*)/) || []; return new RegExp(u, l); } return typeof a == "string" && a.startsWith("_date_") && t.allowDate ? new Date(a.replace("_date_", "")) : typeof a == "string" && a.startsWith( "_duplicate_") ? (r.push({ target: s, container: this, replacement: a.replace(/^_duplicate_/, "") }), null) : typeof a == "string" && a. startsWith("_symbol_") && t.allowSymbol ? Symbol(a.replace("_symbol_", "")) : typeof a == "string" && a.startsWith("_gsymbol_") && t.allowSymbol ? Symbol.for(a.replace("_gsymbol_", "")) : typeof a == "string" && a === "_-Infinity_" ? Number.NEGATIVE_INFINITY : typeof a == "string" && a === "_Infinity_" ? Number.POSITIVE_INFINITY : typeof a == "string" && a === "_NaN_" ? Number.NaN : typeof a == "string" && a.startsWith( "_bigint_") && typeof BigInt == "function" ? BigInt(a.replace("_bigint_", "")) : a; }, "revive"); }, "reviver2"), DT = { maxDepth: 10, space: void 0, allowRegExp: !0, allowDate: !0, allowError: !0, allowUndefined: !0, allowSymbol: !0 }, Ga = /* @__PURE__ */ o((e, t = {}) => { let r = { ...DT, ...t }; return JSON.stringify(FT(e), _G(r), t.space); }, "stringify"), PG = /* @__PURE__ */ o(() => { let e = /* @__PURE__ */ new Map(); return /* @__PURE__ */ o(function t(r) { wb(r) && Object.entries(r).forEach(([n, i]) => { i === "_undefined_" ? r[n] = void 0 : e.get(i) || (e.set(i, !0), t(i)); }), Array.isArray(r) && r.forEach((n, i) => { n === "_undefined_" ? (e.set(n, !0), r[i] = void 0) : e.get(n) || (e.set(n, !0), t(n)); }); }, "mutateUndefined"); }, "mutator"), Wa = /* @__PURE__ */ o((e, t = {}) => { let r = { ...DT, ...t }, n = JSON.parse(e, CG(r)); return PG()(n), n; }, "parse"); // ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js var AG = !0, Sb = "Invariant failed"; function gt(e, t) { if (!e) { if (AG) throw new Error(Sb); var r = typeof t == "function" ? t() : t, n = r ? "".concat(Sb, ": ").concat(r) : Sb; throw new Error(n); } } o(gt, "invariant"); // src/channels/postmessage/getEventSourceUrl.ts var $T = /* @__PURE__ */ o((e) => { let t = Array.from( document.querySelectorAll("iframe[data-is-storybook]") ), [r, ...n] = t.filter((s) => { try { return s.contentWindow?.location.origin === e.source.location.origin && s.contentWindow?.location.pathname === e.source.location.pathname; } catch { } try { return s.contentWindow === e.source; } catch { } let a = s.getAttribute("src"), l; try { if (!a) return !1; ({ origin: l } = new URL(a, document.location.toString())); } catch { return !1; } return l === e.origin; }), i = r?.getAttribute("src"); if (i && n.length === 0) { let { protocol: s, host: a, pathname: l } = new URL(i, document.location.toString()); return `${s}//${a}${l}`; } return n.length > 0 && se.error("found multiple candidates for event source"), null; }, "getEventSourceUrl"); // src/channels/postmessage/index.ts var { document: Rb, location: Tb } = k, BT = "storybook-channel", OG = { maxDepth: 25 }, _b = class _b { constructor(t) { this.config = t; this.connected = !1; if (this.buffer = [], typeof k?.addEventListener == "function" && k.addEventListener("message", this.handleEvent.bind(this), !1), t.page !== "manager" && t.page !== "preview") throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`); } setHandler(t) { this.handler = (...r) => { t.apply(this, r), !this.connected && this.getLocalFrame().length && (this.flush(), this.connected = !0); }; } /** * Sends `event` to the associated window. If the window does not yet exist the event will be * stored in a buffer and sent when the window exists. * * @param event */ send(t, r) { let { target: n, // telejson options allowRegExp: i, allowSymbol: s, allowDate: a, allowError: l, allowUndefined: u, maxDepth: c, space: d } = r || {}, p = Object.fromEntries( Object.entries({ allowRegExp: i, allowSymbol: s, allowDate: a, allowError: l, allowUndefined: u, maxDepth: c, space: d }).filter(([v, g]) => typeof g < "u") ), f = { ...OG, ...k.CHANNEL_OPTIONS || {}, ...p }, m = this.getFrames(n), h = new URLSearchParams(Tb?.search || ""), b = Ga( { key: BT, event: t, refId: h.get("refId") }, f ); return m.length ? (this.buffer.length && this.flush(), m.forEach((v) => { try { v.postMessage(b, "*"); } catch { se.error("sending over postmessage fail"); } }), Promise.resolve(null)) : new Promise((v, g) => { this.buffer.push({ event: t, resolve: v, reject: g }); }); } flush() { let { buffer: t } = this; this.buffer = [], t.forEach((r) => { this.send(r.event).then(r.resolve).catch(r.reject); }); } getFrames(t) { if (this.config.page === "manager") { let n = Array.from( Rb.querySelectorAll("iframe[data-is-storybook][data-is-loaded]") ).flatMap((i) => { try { return i.contentWindow && i.dataset.isStorybook !== void 0 && i.id === t ? [i.contentWindow] : []; } catch { return []; } }); return n?.length ? n : this.getCurrentFrames(); } return k && k.parent && k.parent !== k.self ? [k.parent] : []; } getCurrentFrames() { return this.config.page === "manager" ? Array.from( Rb.querySelectorAll('[data-is-storybook="true"]') ).flatMap((r) => r.contentWindow ? [r.contentWindow] : []) : k && k.parent ? [k.parent] : []; } getLocalFrame() { return this.config.page === "manager" ? Array.from( Rb.querySelectorAll("#storybook-preview-iframe") ).flatMap((r) => r.contentWindow ? [r.contentWindow] : []) : k && k.parent ? [k.parent] : []; } handleEvent(t) { try { let { data: r } = t, { key: n, event: i, refId: s } = typeof r == "string" && Mi(r) ? Wa(r, k.CHANNEL_OPTIONS || {}) : r; if (n === BT) { let a = this.config.page === "manager" ? ' manager ' : ' preview ', l = Object.values(co).includes(i.type) ? `${i.type}` : `${i.type}`; if (s && (i.refId = s), i.source = this.config.page === "preview" ? t.origin : $T(t), !i.source) { pt.error( `${a} received ${l} but was unable to determine the source of the event` ); return; } let u = `${a} received ${l} (${r.length})`; pt.debug( Tb.origin !== i.source ? u : `${u} (on ${Tb.origin} from ${i.source})`, ...i.args ), gt(this.handler, "ChannelHandler should be set"), this.handler(i); } } catch (r) { se.error(r); } } }; o(_b, "PostMessageTransport"); var go = _b; // src/channels/websocket/index.ts var { WebSocket: qG } = k, Cb = 15e3, Pb = 5e3, Ab = class Ab { constructor({ url: t, onError: r, page: n }) { this.buffer = []; this.isReady = !1; this.isClosed = !1; this.pingTimeout = 0; this.socket = new qG(t), this.socket.onopen = () => { this.isReady = !0, this.heartbeat(), this.flush(); }, this.socket.onmessage = ({ data: i }) => { let s = typeof i == "string" && Mi(i) ? Wa(i) : i; gt(this.handler, "WebsocketTransport handler should be set"), this.handler(s), s.type === "ping" && (this.heartbeat(), this.send({ type: "\ pong" })); }, this.socket.onerror = (i) => { r && r(i); }, this.socket.onclose = (i) => { gt(this.handler, "WebsocketTransport handler should be set"), this.handler({ type: Uy, args: [{ reason: i.reason, code: i.code }], from: n || "preview" }), this.isClosed = !0, clearTimeout(this.pingTimeout); }; } heartbeat() { clearTimeout(this.pingTimeout), this.pingTimeout = setTimeout(() => { this.socket.close(3008, "timeout"); }, Cb + Pb); } setHandler(t) { this.handler = t; } send(t) { this.isClosed || (this.isReady ? this.sendNow(t) : this.sendLater(t)); } sendLater(t) { this.buffer.push(t); } sendNow(t) { let r = Ga(t, { maxDepth: 15, ...k.CHANNEL_OPTIONS }); this.socket.send(r); } flush() { let { buffer: t } = this; this.buffer = [], t.forEach((r) => this.send(r)); } }; o(Ab, "WebsocketTransport"); var vo = Ab; // src/channels/index.ts var { CONFIG_TYPE: IG } = k, MG = Ar; function NG({ page: e, extraTransports: t = [] }) { let r = [new go({ page: e }), ...t]; if (IG === "DEVELOPMENT") { let i = window.location.protocol === "http:" ? "ws" : "wss", { hostname: s, port: a } = window.location, l = `${i}://${s}:${a}/storybook\ -server-channel`; r.push(new vo({ url: l, onError: /* @__PURE__ */ o(() => { }, "onError"), page: e })); } let n = new Ar({ transports: r }); return po.__prepare( n, e === "manager" ? po.Environment.MANAGER : po.Environment.PREVIEW ), n; } o(NG, "createBrowserChannel"); // src/preview-errors.ts var Lb = {}; st(Lb, { CalledExtractOnStoreError: () => ki, CalledPreviewMethodBeforeInitializationError: () => We, Category: () => HT, ElementA11yParameterError: () => kb, EmptyIndexError: () => $i, ImplicitActionsDuringRendering: () => ji, MdxFileWithNoCsfReferencesError: () => Di, MissingRenderToCanvasError: () => Li, MissingStoryAfterHmrError: () => Ni, MissingStoryFromCsfFileError: () => Ui, MountMustBeDestructuredError: () => gn, NextJsSharpError: () => Ib, NextjsRouterMocksNotAvailable: () => Mb, NoRenderFunctionError: () => Vi, NoStoryMatchError: () => Bi, NoStoryMountedError: () => zi, StatusTypeIdMismatchError: () => qb, StoryIndexFetchError: () => Fi, StoryStoreAccessedBeforeInitializationError: () => Hi, UnknownArgTypesError: () => Nb, UnsupportedViewportDimensionError: () => jb }); // src/storybook-error.ts function UT({ code: e, category: t }) { let r = String(e).padStart(4, "0"); return `SB_${t}_${r}`; } o(UT, "parseErrorCode"); var Ya = class Ya extends Error { constructor(r) { super(Ya.getFullMessage(r)); /** * Data associated with the error. Used to provide additional information in the error message or * to be passed to telemetry. */ this.data = {}; /** Flag used to easily determine if the error originates from Storybook. */ this.fromStorybook = !0; this.category = r.category, this.documentation = r.documentation ?? !1, this.code = r.code; } get fullErrorCode() { return UT({ code: this.code, category: this.category }); } /** Overrides the default `Error.name` property in the format: SB__. */ get name() { let r = this.constructor.name; return `${this.fullErrorCode} (${r})`; } /** Generates the error message along with additional documentation link (if applicable). */ static getFullMessage({ documentation: r, code: n, category: i, message: s }) { let a; return r === !0 ? a = `https://storybook.js.org/error/${UT({ code: n, category: i })}` : typeof r == "string" ? a = r : Array.isArray(r) && (a = ` ${r.map((l) => ` - ${l}`).join(` `)}`), `${s}${a != null ? ` More info: ${a} ` : ""}`; } }; o(Ya, "StorybookError"); var Pe = Ya; // src/preview-errors.ts var HT = /* @__PURE__ */ ((T) => (T.BLOCKS = "BLOCKS", T.DOCS_TOOLS = "DOCS-TOOLS", T.PREVIEW_CLIENT_LOGGER = "PREVIEW_CLIENT-LOGGER", T.PREVIEW_CHANNELS = "PREVIEW_CHANNELS", T.PREVIEW_CORE_EVENTS = "PREVIEW_CORE-EVENTS", T.PREVIEW_INSTRUMENTER = "PREVIEW_INSTRUMENTER", T.PREVIEW_API = "PREVIEW\ _API", T.PREVIEW_REACT_DOM_SHIM = "PREVIEW_REACT-DOM-SHIM", T.PREVIEW_ROUTER = "PREVIEW_ROUTER", T.PREVIEW_THEMING = "PREVIEW_THEMING", T.RENDERER_HTML = "RENDERER_HTML", T.RENDERER_PREACT = "RENDERER_PREACT", T.RENDERER_REACT = "RENDERER_REACT", T.RENDERER_SERVER = "RENDERER_SERVER", T.RENDERER_SVELTE = "RENDERER_SVELTE", T.RENDERER_VUE = "RENDERER_VUE", T.RENDERER_VUE3 = "RENDERER_VUE3", T.RENDERER_WEB_COMPONENTS = "RENDERER_WEB-COMPONENTS", T.FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS", T.ADDON_VITEST = "ADDON_VITEST", T.ADDON_A11Y = "ADDON_A11Y", T))(HT || {}), Fb = class Fb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 1, message: Q` Couldn't find story matching id '${r.storyId}' after HMR. - Did you just rename a story? - Did you remove it from your CSF file? - Are you sure a story with the id '${r.storyId}' exists? - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - Also check the browser console and terminal for potential error messages.` }); this.data = r; } }; o(Fb, "MissingStoryAfterHmrError"); var Ni = Fb, Db = class Db extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 2, documentation: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-\ for-example-in-the-play-function", message: Q` We detected that you use an implicit action arg while ${r.phase} of your story. ${r.deprecated ? ` This is deprecated and won't work in Storybook 8 anymore. ` : ""} Please provide an explicit spy to your args like this: import { fn } from 'storybook/test'; ... args: { ${r.name}: fn() }` }); this.data = r; } }; o(Db, "ImplicitActionsDuringRendering"); var ji = Db, $b = class $b extends Pe { constructor() { super({ category: "PREVIEW_API", code: 3, message: Q` Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. You probably meant to call \`await preview.extract()\` which does the above for you.` }); } }; o($b, "CalledExtractOnStoreError"); var ki = $b, Bb = class Bb extends Pe { constructor() { super({ category: "PREVIEW_API", code: 4, message: Q` Expected your framework's preset to export a \`renderToCanvas\` field. Perhaps it needs to be upgraded for Storybook 7.0?`, documentation: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field" }); } }; o(Bb, "MissingRenderToCanvasError"); var Li = Bb, Ub = class Ub extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 5, message: Q` Called \`Preview.${r.methodName}()\` before initialization. The preview needs to load the story index before most methods can be called. If you want to call \`${r.methodName}\`, try \`await preview.initializationPromise;\` first. If you didn't call the above code, then likely it was called by an addon that needs to do the above.` }); this.data = r; } }; o(Ub, "CalledPreviewMethodBeforeInitializationError"); var We = Ub, Hb = class Hb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 6, message: Q` Error fetching \`/index.json\`: ${r.text} If you are in development, this likely indicates a problem with your Storybook process, check the terminal for errors. If you are in a deployed Storybook, there may have been an issue deploying the full Storybook build.` }); this.data = r; } }; o(Hb, "StoryIndexFetchError"); var Fi = Hb, Vb = class Vb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 7, message: Q` Tried to render docs entry ${r.storyId} but it is a MDX file that has no CSF references, or autodocs for a CSF file that some doesn't refer to itself. This likely is an internal error in Storybook's indexing, or you've attached the \`attached-mdx\` tag to an MDX file that is not attached.` }); this.data = r; } }; o(Vb, "MdxFileWithNoCsfReferencesError"); var Di = Vb, zb = class zb extends Pe { constructor() { super({ category: "PREVIEW_API", code: 8, message: Q` Couldn't find any stories in your Storybook. - Please check your stories field of your main.js config: does it match correctly? - Also check the browser console and terminal for error messages.` }); } }; o(zb, "EmptyIndexError"); var $i = zb, Gb = class Gb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 9, message: Q` Couldn't find story matching '${r.storySpecifier}'. - Are you sure a story with that id exists? - Please check your stories field of your main.js config. - Also check the browser console and terminal for error messages.` }); this.data = r; } }; o(Gb, "NoStoryMatchError"); var Bi = Gb, Wb = class Wb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 10, message: Q` Couldn't find story matching id '${r.storyId}' after importing a CSF file. The file was indexed as if the story was there, but then after importing the file in the browser we didn't find the story. Possible reasons: - You are using a custom story indexer that is misbehaving. - You have a custom file loader that is removing or renaming exports. Please check your browser console and terminal for errors that may explain the issue.` }); this.data = r; } }; o(Wb, "MissingStoryFromCsfFileError"); var Ui = Wb, Yb = class Yb extends Pe { constructor() { super({ category: "PREVIEW_API", code: 11, message: Q` Cannot access the Story Store until the index is ready. It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will remove access to the store entirely` }); } }; o(Yb, "StoryStoreAccessedBeforeInitializationError"); var Hi = Yb, Kb = class Kb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 12, message: Q` Incorrect use of mount in the play function. To use mount in the play function, you must satisfy the following two requirements: 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). This makes sure that Storybook does not start rendering the story before the play function begins. 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. This is because destructuring statements and async/await usages are otherwise transpiled away, which prevents Storybook from recognizing your usage of \`mount\`. Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered Received the following play function: ${r.playFunction}` }); this.data = r; } }; o(Kb, "MountMustBeDestructuredError"); var gn = Kb, Xb = class Xb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 14, message: Q` No render function available for storyId '${r.id}' ` }); this.data = r; } }; o(Xb, "NoRenderFunctionError"); var Vi = Xb, Jb = class Jb extends Pe { constructor() { super({ category: "PREVIEW_API", code: 15, message: Q` No component is mounted in your story. This usually occurs when you destructure mount in the play function, but forget to call it. For example: async play({ mount, canvasElement }) { // 👈 mount should be called: await mount(); const canvas = within(canvasElement); const button = await canvas.findByRole('button'); await userEvent.click(button); }; Make sure to either remove it or call mount in your play function. ` }); } }; o(Jb, "NoStoryMountedError"); var zi = Jb, Qb = class Qb extends Pe { constructor(r) { super({ category: "PREVIEW_API", code: 16, message: `Status has typeId "${r.status.typeId}" but was added to store with typeId "${r.typeId}". Full status: ${JSON.stringify( r.status, null, 2 )}` }); this.data = r; } }; o(Qb, "StatusTypeIdMismatchError"); var qb = Qb, Zb = class Zb extends Pe { constructor() { super({ category: "FRAMEWORK_NEXTJS", code: 1, documentation: "https://storybook.js.org/docs/get-started/nextjs#faq", message: Q` You are importing avif images, but you don't have sharp installed. You have to install sharp in order to use image optimization features in Next.js. ` }); } }; o(Zb, "NextJsSharpError"); var Ib = Zb, eg = class eg extends Pe { constructor(r) { super({ category: "FRAMEWORK_NEXTJS", code: 2, message: Q` Tried to access router mocks from "${r.importType}" but they were not created yet. You might be running code in an unsupported environment. ` }); this.data = r; } }; o(eg, "NextjsRouterMocksNotAvailable"); var Mb = eg, tg = class tg extends Pe { constructor(r) { super({ category: "DOCS-TOOLS", code: 1, documentation: "https://github.com/storybookjs/storybook/issues/26606", message: Q` There was a failure when generating detailed ArgTypes in ${r.language} for: ${JSON.stringify(r.type, null, 2)} Storybook will fall back to use a generic type description instead. This type is either not supported or it is a bug in the docgen generation in Storybook. If you think this is a bug, please detail it as much as possible in the Github issue. ` }); this.data = r; } }; o(tg, "UnknownArgTypesError"); var Nb = tg, rg = class rg extends Pe { constructor(r) { super({ category: "ADDON_VITEST", code: 1, // TODO: Add documentation about viewports support // documentation: '', message: Q` Encountered an unsupported value "${r.value}" when setting the viewport ${r.dimension} dimension. The Storybook plugin only supports values in the following units: - px, vh, vw, em, rem and %. You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags ` }); this.data = r; } }; o(rg, "UnsupportedViewportDimensionError"); var jb = rg, ng = class ng extends Pe { constructor() { super({ category: "ADDON_A11Y", code: 1, documentation: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-para\ meter", message: 'The "element" parameter in parameters.a11y has been removed. Use "context" instead.' }); } }; o(ng, "ElementA11yParameterError"); var kb = ng; // src/types/index.ts var og = {}; st(og, { Addon_TypesEnum: () => VT }); // src/types/modules/addons.ts var VT = /* @__PURE__ */ ((l) => (l.TAB = "tab", l.PANEL = "panel", l.TOOL = "tool", l.TOOLEXTRA = "toolextra", l.PREVIEW = "preview", l.experimental_PAGE = "page", l.experimental_TEST_PROVIDER = "test-provider", l))(VT || {}); // src/actions/index.ts var lT = {}; st(lT, { ADDON_ID: () => Ka, CLEAR_ID: () => LG, CYCLIC_KEY: () => FG, EVENT_ID: () => ig, PANEL_ID: () => kG, PARAM_KEY: () => jG, action: () => Ir, actions: () => wwe, config: () => so, configureActions: () => vwe }); // src/actions/constants.ts var jG = "actions", Ka = "storybook/actions", kG = `${Ka}/panel`, ig = `${Ka}/action-event`, LG = `${Ka}/action-clear`, FG = "$___storybook.\ isCyclic"; // src/preview-api/index.ts var Dy = {}; st(Dy, { DocsContext: () => Cr, HooksContext: () => qr, Preview: () => Qn, PreviewWeb: () => Ia, PreviewWithSelection: () => Zn, ReporterAPI: () => dn, StoryStore: () => Xn, UrlStore: () => ro, WebView: () => oo, addons: () => Ue, applyHooks: () => Ja, combineArgs: () => hi, combineParameters: () => St, composeConfigs: () => _r, composeStepRunners: () => wy, composeStories: () => _H, composeStory: () => OR, createPlaywrightTest: () => CH, decorateStory: () => TR, defaultDecorateStory: () => vy, definePreview: () => ug, emitTransformCode: () => aT, filterArgTypes: () => Ra, getCoreAnnotations: () => fi, getCsfFactoryAnnotations: () => Ty, inferControls: () => vi, makeDecorator: () => r_, mockChannel: () => Xa, normalizeProjectAnnotations: () => Wn, normalizeStory: () => Gn, pauseAnimations: () => Yn, prepareMeta: () => Ey, prepareStory: () => gi, sanitizeStoryContextUpdate: () => _R, setDefaultProjectAnnotations: () => RH, setProjectAnnotations: () => TH, simulateDOMContentLoaded: () => Ma, simulatePageLoad: () => sT, sortStoriesV7: () => MH, useArgs: () => e_, useCallback: () => Eo, useChannel: () => QT, useEffect: () => kt, useGlobals: () => t_, useMemo: () => Za, useParameter: () => ZT, useReducer: () => JT, useRef: () => YT, useState: () => XT, useStoryContext: () => Gi, userOrAutoTitle: () => OH, userOrAutoTitleFromSpecifier: () => MR, waitForAnimations: () => Kn }); // src/preview-api/modules/addons/storybook-channel-mock.ts function Xa() { let e = { setHandler: /* @__PURE__ */ o(() => { }, "setHandler"), send: /* @__PURE__ */ o(() => { }, "send") }; return new Ar({ transport: e }); } o(Xa, "mockChannel"); // src/preview-api/modules/addons/main.ts var lg = class lg { constructor() { this.getChannel = /* @__PURE__ */ o(() => { if (!this.channel) { let t = Xa(); return this.setChannel(t), t; } return this.channel; }, "getChannel"); this.ready = /* @__PURE__ */ o(() => this.promise, "ready"); this.hasChannel = /* @__PURE__ */ o(() => !!this.channel, "hasChannel"); this.setChannel = /* @__PURE__ */ o((t) => { this.channel = t, this.resolve(); }, "setChannel"); this.promise = new Promise((t) => { this.resolve = () => t(this.getChannel()); }); } }; o(lg, "AddonStore"); var ag = lg, sg = "__STORYBOOK_ADDONS_PREVIEW"; function DG() { return k[sg] || (k[sg] = new ag()), k[sg]; } o(DG, "getAddonsStore"); var Ue = DG(); // src/preview-api/modules/addons/definePreview.ts function ug(e) { return e; } o(ug, "definePreview"); // src/preview-api/modules/addons/hooks.ts var fg = class fg { constructor() { this.hookListsMap = void 0; this.mountedDecorators = void 0; this.prevMountedDecorators = void 0; this.currentHooks = void 0; this.nextHookIndex = void 0; this.currentPhase = void 0; this.currentEffects = void 0; this.prevEffects = void 0; this.currentDecoratorName = void 0; this.hasUpdates = void 0; this.currentContext = void 0; this.renderListener = /* @__PURE__ */ o((t) => { t === this.currentContext?.id && (this.triggerEffects(), this.currentContext = null, this.removeRenderListeners()); }, "renderListener"); this.init(); } init() { this.hookListsMap = /* @__PURE__ */ new WeakMap(), this.mountedDecorators = /* @__PURE__ */ new Set(), this.prevMountedDecorators = /* @__PURE__ */ new Set(), this.currentHooks = [], this.nextHookIndex = 0, this.currentPhase = "NONE", this.currentEffects = [], this.prevEffects = [], this.currentDecoratorName = null, this.hasUpdates = !1, this.currentContext = null; } clean() { this.prevEffects.forEach((t) => { t.destroy && t.destroy(); }), this.init(), this.removeRenderListeners(); } getNextHook() { let t = this.currentHooks[this.nextHookIndex]; return this.nextHookIndex += 1, t; } triggerEffects() { this.prevEffects.forEach((t) => { !this.currentEffects.includes(t) && t.destroy && t.destroy(); }), this.currentEffects.forEach((t) => { this.prevEffects.includes(t) || (t.destroy = t.create()); }), this.prevEffects = this.currentEffects, this.currentEffects = []; } addRenderListeners() { this.removeRenderListeners(), Ue.getChannel().on(uo, this.renderListener); } removeRenderListeners() { Ue.getChannel().removeListener(uo, this.renderListener); } }; o(fg, "HooksContext"); var qr = fg; function zT(e) { let t = /* @__PURE__ */ o((...r) => { let { hooks: n } = typeof r[0] == "function" ? r[1] : r[0], i = n.currentPhase, s = n.currentHooks, a = n.nextHookIndex, l = n.currentDecoratorName; n.currentDecoratorName = e.name, n.prevMountedDecorators.has(e) ? (n.currentPhase = "UPDATE", n.currentHooks = n.hookListsMap.get(e) || []) : (n.currentPhase = "MOUNT", n.currentHooks = [], n.hookListsMap.set(e, n.currentHooks), n.prevMountedDecorators.add(e)), n.nextHookIndex = 0; let u = k.STORYBOOK_HOOKS_CONTEXT; k.STORYBOOK_HOOKS_CONTEXT = n; let c = e(...r); if (k.STORYBOOK_HOOKS_CONTEXT = u, n.currentPhase === "UPDATE" && n.getNextHook() != null) throw new Error( "Rendered fewer hooks than expected. This may be caused by an accidental early return statement." ); return n.currentPhase = i, n.currentHooks = s, n.nextHookIndex = a, n.currentDecoratorName = l, c; }, "hookified"); return t.originalFn = e, t; } o(zT, "hookify"); var cg = 0, $G = 25, Ja = /* @__PURE__ */ o((e) => (t, r) => { let n = e( zT(t), r.map((i) => zT(i)) ); return (i) => { let { hooks: s } = i; s.prevMountedDecorators ??= /* @__PURE__ */ new Set(), s.mountedDecorators = /* @__PURE__ */ new Set([t, ...r]), s.currentContext = i, s. hasUpdates = !1; let a = n(i); for (cg = 1; s.hasUpdates; ) if (s.hasUpdates = !1, s.currentEffects = [], a = n(i), cg += 1, cg > $G) throw new Error( "Too many re-renders. Storybook limits the number of renders to prevent an infinite loop." ); return s.addRenderListeners(), a; }; }, "applyHooks"), BG = /* @__PURE__ */ o((e, t) => e.length === t.length && e.every((r, n) => r === t[n]), "areDepsEqual"), dg = /* @__PURE__ */ o( () => new Error("Storybook preview hooks can only be called inside decorators and story functions."), "invalidHooksError"); function GT() { return k.STORYBOOK_HOOKS_CONTEXT || null; } o(GT, "getHooksContextOrNull"); function pg() { let e = GT(); if (e == null) throw dg(); return e; } o(pg, "getHooksContextOrThrow"); function UG(e, t, r) { let n = pg(); if (n.currentPhase === "MOUNT") { r != null && !Array.isArray(r) && se.warn( `${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.` ); let i = { name: e, deps: r }; return n.currentHooks.push(i), t(i), i; } if (n.currentPhase === "UPDATE") { let i = n.getNextHook(); if (i == null) throw new Error("Rendered more hooks than during the previous render."); return i.name !== e && se.warn( `Storybook has detected a change in the order of Hooks${n.currentDecoratorName ? ` called by ${n.currentDecoratorName}` : ""}. This wi\ ll lead to bugs and errors if not fixed.` ), r != null && i.deps == null && se.warn( `${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, it\ s type cannot change between renders.` ), r != null && i.deps != null && r.length !== i.deps.length && se.warn(`The final argument passed to ${e} changed size between renders.\ The order and size of this array must remain constant. Previous: ${i.deps} Incoming: ${r}`), (r == null || i.deps == null || !BG(r, i.deps)) && (t(i), i.deps = r), i; } throw dg(); } o(UG, "useHook"); function Qa(e, t, r) { let { memoizedState: n } = UG( e, (i) => { i.memoizedState = t(); }, r ); return n; } o(Qa, "useMemoLike"); function Za(e, t) { return Qa("useMemo", e, t); } o(Za, "useMemo"); function Eo(e, t) { return Qa("useCallback", () => e, t); } o(Eo, "useCallback"); function WT(e, t) { return Qa(e, () => ({ current: t }), []); } o(WT, "useRefLike"); function YT(e) { return WT("useRef", e); } o(YT, "useRef"); function HG() { let e = GT(); if (e != null && e.currentPhase !== "NONE") e.hasUpdates = !0; else try { Ue.getChannel().emit(Ti); } catch { se.warn("State updates of Storybook preview hooks work only in browser"); } } o(HG, "triggerUpdate"); function KT(e, t) { let r = WT( e, // @ts-expect-error S type should never be function, but there's no way to tell that to TypeScript typeof t == "function" ? t() : t ), n = /* @__PURE__ */ o((i) => { r.current = typeof i == "function" ? i(r.current) : i, HG(); }, "setState"); return [r.current, n]; } o(KT, "useStateLike"); function XT(e) { return KT("useState", e); } o(XT, "useState"); function JT(e, t, r) { let n = r != null ? () => r(t) : t, [i, s] = KT("useReducer", n); return [i, /* @__PURE__ */ o((l) => s((u) => e(u, l)), "dispatch")]; } o(JT, "useReducer"); function kt(e, t) { let r = pg(), n = Qa("useEffect", () => ({ create: e }), t); r.currentEffects.includes(n) || r.currentEffects.push(n); } o(kt, "useEffect"); function QT(e, t = []) { let r = Ue.getChannel(); return kt(() => (Object.entries(e).forEach(([n, i]) => r.on(n, i)), () => { Object.entries(e).forEach( ([n, i]) => r.removeListener(n, i) ); }), [...Object.keys(e), ...t]), Eo(r.emit.bind(r), [r]); } o(QT, "useChannel"); function Gi() { let { currentContext: e } = pg(); if (e == null) throw dg(); return e; } o(Gi, "useStoryContext"); function ZT(e, t) { let { parameters: r } = Gi(); if (e) return r[e] ?? t; } o(ZT, "useParameter"); function e_() { let e = Ue.getChannel(), { id: t, args: r } = Gi(), n = Eo( (s) => e.emit(Ai, { storyId: t, updatedArgs: s }), [e, t] ), i = Eo( (s) => e.emit(_i, { storyId: t, argNames: s }), [e, t] ); return [r, n, i]; } o(e_, "useArgs"); function t_() { let e = Ue.getChannel(), { globals: t } = Gi(), r = Eo( (n) => e.emit(Pi, { globals: n }), [e] ); return [t, r]; } o(t_, "useGlobals"); // src/preview-api/modules/addons/make-decorator.ts var r_ = /* @__PURE__ */ o(({ name: e, parameterName: t, wrapper: r, skipIfNoParametersOrOptions: n = !1 }) => { let i = /* @__PURE__ */ o((s) => (a, l) => { let u = l.parameters && l.parameters[t]; return u && u.disable || n && !s && !u ? a(l) : r(a, l, { options: s, parameters: u }); }, "decorator"); return (...s) => typeof s[0] == "function" ? i()(...s) : (...a) => { if (a.length > 1) return s.length > 1 ? i(s)(...a) : i(...s)(...a); throw new Error( `Passing stories directly into ${e}() is not allowed, instead use addDecorator(${e}) and pass options with the '${t}' parameter` ); }; }, "makeDecorator"); // ../node_modules/es-toolkit/dist/function/noop.mjs function n_() { } o(n_, "noop"); // ../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs function mg(e) { return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t)); } o(mg, "getSymbols"); // ../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs function hg(e) { return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e); } o(hg, "getTag"); // ../node_modules/es-toolkit/dist/compat/_internal/tags.mjs var o_ = "[object RegExp]", i_ = "[object String]", s_ = "[object Number]", a_ = "[object Boolean]", yg = "[object Arguments]", l_ = "[objec\ t Symbol]", u_ = "[object Date]", c_ = "[object Map]", d_ = "[object Set]", p_ = "[object Array]", f_ = "[object Function]", m_ = "[object A\ rrayBuffer]", el = "[object Object]", h_ = "[object Error]", y_ = "[object DataView]", b_ = "[object Uint8Array]", g_ = "[object Uint8Clampe\ dArray]", v_ = "[object Uint16Array]", E_ = "[object Uint32Array]", x_ = "[object BigUint64Array]", w_ = "[object Int8Array]", S_ = "[object\ Int16Array]", R_ = "[object Int32Array]", T_ = "[object BigInt64Array]", __ = "[object Float32Array]", C_ = "[object Float64Array]"; // ../node_modules/es-toolkit/dist/predicate/isPlainObject.mjs function at(e) { if (!e || typeof e != "object") return !1; let t = Object.getPrototypeOf(e); return t === null || t === Object.prototype || Object.getPrototypeOf(t) === null ? Object.prototype.toString.call(e) === "[object Object]" : !1; } o(at, "isPlainObject"); // ../node_modules/es-toolkit/dist/object/mapValues.mjs function pr(e, t) { let r = {}, n = Object.keys(e); for (let i = 0; i < n.length; i++) { let s = n[i], a = e[s]; r[s] = t(a, s, e); } return r; } o(pr, "mapValues"); // ../node_modules/es-toolkit/dist/object/pickBy.mjs function bg(e, t) { let r = {}, n = Object.keys(e); for (let i = 0; i < n.length; i++) { let s = n[i], a = e[s]; t(a, s) && (r[s] = a); } return r; } o(bg, "pickBy"); // ../node_modules/es-toolkit/dist/compat/util/eq.mjs function P_(e, t) { return e === t || Number.isNaN(e) && Number.isNaN(t); } o(P_, "eq"); // ../node_modules/es-toolkit/dist/predicate/isEqualWith.mjs function A_(e, t, r) { return Wi(e, t, void 0, void 0, void 0, void 0, r); } o(A_, "isEqualWith"); function Wi(e, t, r, n, i, s, a) { let l = a(e, t, r, n, i, s); if (l !== void 0) return l; if (typeof e == typeof t) switch (typeof e) { case "bigint": case "string": case "boolean": case "symbol": case "undefined": return e === t; case "number": return e === t || Object.is(e, t); case "function": return e === t; case "object": return Yi(e, t, s, a); } return Yi(e, t, s, a); } o(Wi, "isEqualWithImpl"); function Yi(e, t, r, n) { if (Object.is(e, t)) return !0; let i = hg(e), s = hg(t); if (i === yg && (i = el), s === yg && (s = el), i !== s) return !1; switch (i) { case i_: return e.toString() === t.toString(); case s_: { let u = e.valueOf(), c = t.valueOf(); return P_(u, c); } case a_: case u_: case l_: return Object.is(e.valueOf(), t.valueOf()); case o_: return e.source === t.source && e.flags === t.flags; case f_: return e === t; } r = r ?? /* @__PURE__ */ new Map(); let a = r.get(e), l = r.get(t); if (a != null && l != null) return a === t; r.set(e, t), r.set(t, e); try { switch (i) { case c_: { if (e.size !== t.size) return !1; for (let [u, c] of e.entries()) if (!t.has(u) || !Wi(c, t.get(u), u, e, t, r, n)) return !1; return !0; } case d_: { if (e.size !== t.size) return !1; let u = Array.from(e.values()), c = Array.from(t.values()); for (let d = 0; d < u.length; d++) { let p = u[d], f = c.findIndex((m) => Wi(p, m, void 0, e, t, r, n)); if (f === -1) return !1; c.splice(f, 1); } return !0; } case p_: case b_: case g_: case v_: case E_: case x_: case w_: case S_: case R_: case T_: case __: case C_: { if (typeof Buffer < "u" && Buffer.isBuffer(e) !== Buffer.isBuffer(t) || e.length !== t.length) return !1; for (let u = 0; u < e.length; u++) if (!Wi(e[u], t[u], u, e, t, r, n)) return !1; return !0; } case m_: return e.byteLength !== t.byteLength ? !1 : Yi(new Uint8Array(e), new Uint8Array(t), r, n); case y_: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : Yi(new Uint8Array(e), new Uint8Array(t), r, n); case h_: return e.name === t.name && e.message === t.message; case el: { if (!(Yi(e.constructor, t.constructor, r, n) || at(e) && at(t))) return !1; let c = [...Object.keys(e), ...mg(e)], d = [...Object.keys(t), ...mg(t)]; if (c.length !== d.length) return !1; for (let p = 0; p < c.length; p++) { let f = c[p], m = e[f]; if (!Object.hasOwn(t, f)) return !1; let h = t[f]; if (!Wi(m, h, f, e, t, r, n)) return !1; } return !0; } default: return !1; } } finally { r.delete(e), r.delete(t); } } o(Yi, "areObjectsEqual"); // ../node_modules/es-toolkit/dist/predicate/isEqual.mjs function gg(e, t) { return A_(e, t, n_); } o(gg, "isEqual"); // src/preview-api/modules/store/StoryStore.ts var _y = Ne(Eg(), 1); // src/actions/addArgs.ts var xg = {}; st(xg, { argsEnhancers: () => VG }); // src/actions/addArgsHelpers.ts var q_ = /* @__PURE__ */ o((e, t) => typeof t[e] > "u" && !(e in t), "isInInitialArgs"), I_ = /* @__PURE__ */ o((e) => { let { initialArgs: t, argTypes: r, id: n, parameters: { actions: i } } = e; if (!i || i.disable || !i.argTypesRegex || !r) return {}; let s = new RegExp(i.argTypesRegex); return Object.entries(r).filter( ([l]) => !!s.test(l) ).reduce((l, [u, c]) => (q_(u, t) && (l[u] = Ir(u, { implicit: !0, id: n })), l), {}); }, "inferActionsFromArgTypesRegex"), M_ = /* @__PURE__ */ o((e) => { let { initialArgs: t, argTypes: r, parameters: { actions: n } } = e; return n?.disable || !r ? {} : Object.entries(r).filter(([s, a]) => !!a.action).reduce((s, [a, l]) => (q_(a, t) && (s[a] = Ir(typeof l.action == "string" ? l.action : a)), s), {}); }, "addActionsFromArgTypes"); // src/actions/addArgs.ts var VG = [ M_, I_ ]; // src/actions/loaders.ts var KS = {}; st(KS, { loaders: () => Kve }); // src/test/index.ts var YS = {}; st(YS, { buildQueries: () => Age, clearAllMocks: () => mw, configure: () => Oge, createEvent: () => qge, expect: () => Wve, findAllByAltText: () => Mge, findAllByDisplayValue: () => Nge, findAllByLabelText: () => jge, findAllByPlaceholderText: () => kge, findAllByRole: () => Lge, findAllByTestId: () => Fge, findAllByText: () => Dge, findAllByTitle: () => $ge, findByAltText: () => Bge, findByDisplayValue: () => Uge, findByLabelText: () => Hge, findByPlaceholderText: () => Vge, findByRole: () => zge, findByTestId: () => Gge, findByText: () => Wge, findByTitle: () => Yge, fireEvent: () => Ige, fn: () => fw, getAllByAltText: () => Kge, getAllByDisplayValue: () => Xge, getAllByLabelText: () => Jge, getAllByPlaceholderText: () => Qge, getAllByRole: () => Zge, getAllByTestId: () => eve, getAllByText: () => tve, getAllByTitle: () => rve, getByAltText: () => nve, getByDisplayValue: () => ove, getByLabelText: () => ive, getByPlaceholderText: () => sve, getByRole: () => ave, getByTestId: () => lve, getByText: () => uve, getByTitle: () => cve, getConfig: () => dve, getDefaultNormalizer: () => pve, getElementError: () => fve, getNodeText: () => mve, getQueriesForElement: () => hve, getRoles: () => yve, getSuggestedQuery: () => bve, isInaccessible: () => gve, isMockFunction: () => yr, logDOM: () => vve, logRoles: () => Eve, mocked: () => aie, mocks: () => Go, onMockCall: () => pw, prettyDOM: () => xve, prettyFormat: () => zve, queries: () => wve, queryAllByAltText: () => Sve, queryAllByAttribute: () => Rve, queryAllByDisplayValue: () => Tve, queryAllByLabelText: () => _ve, queryAllByPlaceholderText: () => Cve, queryAllByRole: () => Pve, queryAllByTestId: () => Ave, queryAllByText: () => Ove, queryAllByTitle: () => qve, queryByAltText: () => Ive, queryByAttribute: () => Mve, queryByDisplayValue: () => Nve, queryByLabelText: () => jve, queryByPlaceholderText: () => kve, queryByRole: () => Lve, queryByTestId: () => Fve, queryByText: () => Dve, queryByTitle: () => $ve, queryHelpers: () => Bve, resetAllMocks: () => hw, restoreAllMocks: () => yw, screen: () => Uve, spyOn: () => sie, uninstrumentedUserEvent: () => WS, userEvent: () => Gve, waitFor: () => Hve, waitForElementToBeRemoved: () => Vve, within: () => GS }); // ../node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js var zG = { reset: [0, 0], bold: [1, 22, "\x1B[22m\x1B[1m"], dim: [2, 22, "\x1B[22m\x1B[2m"], italic: [3, 23], underline: [4, 24], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29], black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], gray: [90, 39], bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], blackBright: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39], bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] }, GG = Object.entries(zG); function wg(e) { return String(e); } o(wg, "a"); wg.open = ""; wg.close = ""; function N_(e = !1) { let t = typeof process < "u" ? process : void 0, r = t?.env || {}, n = t?.argv || []; return !("NO_COLOR" in r || n.includes("--no-color")) && ("FORCE_COLOR" in r || n.includes("--color") || t?.platform === "win32" || e && r. TERM !== "dumb" || "CI" in r) || typeof window < "u" && !!window.chrome; } o(N_, "C"); function j_(e = !1) { let t = N_(e), r = /* @__PURE__ */ o((a, l, u, c) => { let d = "", p = 0; do d += a.substring(p, c) + u, p = c + l.length, c = a.indexOf(l, p); while (~c); return d + a.substring(p); }, "i"), n = /* @__PURE__ */ o((a, l, u = a) => { let c = /* @__PURE__ */ o((d) => { let p = String(d), f = p.indexOf(l, a.length); return ~f ? a + r(p, l, u, f) + l : a + p + l; }, "o"); return c.open = a, c.close = l, c; }, "g"), i = { isColorSupported: t }, s = /* @__PURE__ */ o((a) => `\x1B[${a}m`, "d"); for (let [a, l] of GG) i[a] = t ? n( s(l[0]), s(l[1]), l[2] ) : wg; return i; } o(j_, "p"); // ../node_modules/tinyrainbow/dist/browser.js var Ee = j_(); // ../node_modules/@vitest/pretty-format/dist/index.js function Y_(e, t) { return t.forEach(function(r) { r && typeof r != "string" && !Array.isArray(r) && Object.keys(r).forEach(function(n) { if (n !== "default" && !(n in e)) { var i = Object.getOwnPropertyDescriptor(r, n); Object.defineProperty(e, n, i.get ? i : { enumerable: !0, get: /* @__PURE__ */ o(function() { return r[n]; }, "get") }); } }); }), Object.freeze(e); } o(Y_, "_mergeNamespaces"); function WG(e, t) { let r = Object.keys(e), n = t === null ? r : r.sort(t); if (Object.getOwnPropertySymbols) for (let i of Object.getOwnPropertySymbols(e)) Object.getOwnPropertyDescriptor(e, i).enumerable && n.push(i); return n; } o(WG, "getKeysOfEnumerableProperties"); function Xi(e, t, r, n, i, s, a = ": ") { let l = "", u = 0, c = e.next(); if (!c.done) { l += t.spacingOuter; let d = r + t.indent; for (; !c.done; ) { if (l += d, u++ === t.maxWidth) { l += "\u2026"; break; } let p = s(c.value[0], t, d, n, i), f = s(c.value[1], t, d, n, i); l += p + a + f, c = e.next(), c.done ? t.min || (l += ",") : l += `,${t.spacingInner}`; } l += t.spacingOuter + r; } return l; } o(Xi, "printIteratorEntries"); function Cg(e, t, r, n, i, s) { let a = "", l = 0, u = e.next(); if (!u.done) { a += t.spacingOuter; let c = r + t.indent; for (; !u.done; ) { if (a += c, l++ === t.maxWidth) { a += "\u2026"; break; } a += s(u.value, t, c, n, i), u = e.next(), u.done ? t.min || (a += ",") : a += `,${t.spacingInner}`; } a += t.spacingOuter + r; } return a; } o(Cg, "printIteratorValues"); function nl(e, t, r, n, i, s) { let a = ""; e = e instanceof ArrayBuffer ? new DataView(e) : e; let l = /* @__PURE__ */ o((c) => c instanceof DataView, "isDataView"), u = l(e) ? e.byteLength : e.length; if (u > 0) { a += t.spacingOuter; let c = r + t.indent; for (let d = 0; d < u; d++) { if (a += c, d === t.maxWidth) { a += "\u2026"; break; } (l(e) || d in e) && (a += s(l(e) ? e.getInt8(d) : e[d], t, c, n, i)), d < u - 1 ? a += `,${t.spacingInner}` : t.min || (a += ","); } a += t.spacingOuter + r; } return a; } o(nl, "printListItems"); function Pg(e, t, r, n, i, s) { let a = "", l = WG(e, t.compareKeys); if (l.length > 0) { a += t.spacingOuter; let u = r + t.indent; for (let c = 0; c < l.length; c++) { let d = l[c], p = s(d, t, u, n, i), f = s(e[d], t, u, n, i); a += `${u + p}: ${f}`, c < l.length - 1 ? a += `,${t.spacingInner}` : t.min || (a += ","); } a += t.spacingOuter + r; } return a; } o(Pg, "printObjectProperties"); var YG = typeof Symbol == "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621, tl = " ", KG = /* @__PURE__ */ o((e, t, r, n, i, s) => { let a = e.toString(); if (a === "ArrayContaining" || a === "ArrayNotContaining") return ++n > t.maxDepth ? `[${a}]` : `${a + tl}[${nl(e.sample, t, r, n, i, s)}]`; if (a === "ObjectContaining" || a === "ObjectNotContaining") return ++n > t.maxDepth ? `[${a}]` : `${a + tl}{${Pg(e.sample, t, r, n, i, s)}}`; if (a === "StringMatching" || a === "StringNotMatching" || a === "StringContaining" || a === "StringNotContaining") return a + tl + s(e.sample, t, r, n, i); if (typeof e.toAsymmetricMatcher != "function") throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`); return e.toAsymmetricMatcher(); }, "serialize$5"), XG = /* @__PURE__ */ o((e) => e && e.$$typeof === YG, "test$5"), JG = { serialize: KG, test: XG }, QG = " ", K_ = /* @__PURE__ */ new Set(["DOMStringMap", "NamedNodeMap"]), ZG = /^(?:HTML\w*Collection|NodeList)$/; function e4(e) { return K_.has(e) || ZG.test(e); } o(e4, "testName"); var t4 = /* @__PURE__ */ o((e) => e && e.constructor && !!e.constructor.name && e4(e.constructor.name), "test$4"); function r4(e) { return e.constructor.name === "NamedNodeMap"; } o(r4, "isNamedNodeMap"); var n4 = /* @__PURE__ */ o((e, t, r, n, i, s) => { let a = e.constructor.name; return ++n > t.maxDepth ? `[${a}]` : (t.min ? "" : a + QG) + (K_.has(a) ? `{${Pg(r4(e) ? [...e].reduce((l, u) => (l[u.name] = u.value, l), {}) : { ...e }, t, r, n, i, s)}}` : `[${nl([...e], t, r, n, i, s)}]`); }, "serialize$4"), o4 = { serialize: n4, test: t4 }; function X_(e) { return e.replaceAll("<", "<").replaceAll(">", ">"); } o(X_, "escapeHTML"); function Ag(e, t, r, n, i, s, a) { let l = n + r.indent, u = r.colors; return e.map((c) => { let d = t[c], p = a(d, r, l, i, s); return typeof d != "string" && (p.includes(` `) && (p = r.spacingOuter + l + p + r.spacingOuter + n), p = `{${p}}`), `${r.spacingInner + n + u.prop.open + c + u.prop.close}=${u.value.open}${p}${u. value.close}`; }).join(""); } o(Ag, "printProps"); function Og(e, t, r, n, i, s) { return e.map((a) => t.spacingOuter + r + (typeof a == "string" ? J_(a, t) : s(a, t, r, n, i))).join(""); } o(Og, "printChildren"); function J_(e, t) { let r = t.colors.content; return r.open + X_(e) + r.close; } o(J_, "printText"); function i4(e, t) { let r = t.colors.comment; return `${r.open}${r.close}`; } o(i4, "printComment"); function qg(e, t, r, n, i) { let s = n.colors.tag; return `${s.open}<${e}${t && s.close + t + n.spacingOuter + i + s.open}${r ? `>${s.close}${r}${n.spacingOuter}${i}${s.open}${s.close}`; } o(qg, "printElement"); function Ig(e, t) { let r = t.colors.tag; return `${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`; } o(Ig, "printElementAsLeaf"); var s4 = 1, Q_ = 3, Z_ = 8, eC = 11, a4 = /^(?:(?:HTML|SVG)\w*)?Element$/; function l4(e) { try { return typeof e.hasAttribute == "function" && e.hasAttribute("is"); } catch { return !1; } } o(l4, "testHasAttribute"); function u4(e) { let t = e.constructor.name, { nodeType: r, tagName: n } = e, i = typeof n == "string" && n.includes("-") || l4(e); return r === s4 && (a4.test(t) || i) || r === Q_ && t === "Text" || r === Z_ && t === "Comment" || r === eC && t === "DocumentFragment"; } o(u4, "testNode"); var c4 = /* @__PURE__ */ o((e) => { var t; return (e == null || (t = e.constructor) === null || t === void 0 ? void 0 : t.name) && u4(e); }, "test$3"); function d4(e) { return e.nodeType === Q_; } o(d4, "nodeIsText"); function p4(e) { return e.nodeType === Z_; } o(p4, "nodeIsComment"); function Sg(e) { return e.nodeType === eC; } o(Sg, "nodeIsFragment"); var f4 = /* @__PURE__ */ o((e, t, r, n, i, s) => { if (d4(e)) return J_(e.data, t); if (p4(e)) return i4(e.data, t); let a = Sg(e) ? "DocumentFragment" : e.tagName.toLowerCase(); return ++n > t.maxDepth ? Ig(a, t) : qg(a, Ag(Sg(e) ? [] : Array.from(e.attributes, (l) => l.name).sort(), Sg(e) ? {} : [...e.attributes]. reduce((l, u) => (l[u.name] = u.value, l), {}), t, r + t.indent, n, i, s), Og(Array.prototype.slice.call(e.childNodes || e.children), t, r + t.indent, n, i, s), t, r); }, "serialize$3"), m4 = { serialize: f4, test: c4 }, h4 = "@@__IMMUTABLE_ITERABLE__@@", y4 = "@@__IMMUTABLE_LIST__@@", b4 = "@@__IMMUTABLE_KEYED__@@", g4 = "@@__IMMUTABLE_MAP__@@", k_ = "@@_\ _IMMUTABLE_ORDERED__@@", v4 = "@@__IMMUTABLE_RECORD__@@", E4 = "@@__IMMUTABLE_SEQ__@@", x4 = "@@__IMMUTABLE_SET__@@", w4 = "@@__IMMUTABLE_ST\ ACK__@@", xo = /* @__PURE__ */ o((e) => `Immutable.${e}`, "getImmutableName"), il = /* @__PURE__ */ o((e) => `[${e}]`, "printAsLeaf"), Ki = "\ ", L_ = "\u2026"; function S4(e, t, r, n, i, s, a) { return ++n > t.maxDepth ? il(xo(a)) : `${xo(a) + Ki}{${Xi(e.entries(), t, r, n, i, s)}}`; } o(S4, "printImmutableEntries"); function R4(e) { let t = 0; return { next() { if (t < e._keys.length) { let r = e._keys[t++]; return { done: !1, value: [r, e.get(r)] }; } return { done: !0, value: void 0 }; } }; } o(R4, "getRecordEntries"); function T4(e, t, r, n, i, s) { let a = xo(e._name || "Record"); return ++n > t.maxDepth ? il(a) : `${a + Ki}{${Xi(R4(e), t, r, n, i, s)}}`; } o(T4, "printImmutableRecord"); function _4(e, t, r, n, i, s) { let a = xo("Seq"); return ++n > t.maxDepth ? il(a) : e[b4] ? `${a + Ki}{${e._iter || e._object ? Xi(e.entries(), t, r, n, i, s) : L_}}` : `${a + Ki}[${e._iter || e._array || e._collection || e._iterable ? Cg(e.values(), t, r, n, i, s) : L_}]`; } o(_4, "printImmutableSeq"); function Rg(e, t, r, n, i, s, a) { return ++n > t.maxDepth ? il(xo(a)) : `${xo(a) + Ki}[${Cg(e.values(), t, r, n, i, s)}]`; } o(Rg, "printImmutableValues"); var C4 = /* @__PURE__ */ o((e, t, r, n, i, s) => e[g4] ? S4(e, t, r, n, i, s, e[k_] ? "OrderedMap" : "Map") : e[y4] ? Rg(e, t, r, n, i, s, "\ List") : e[x4] ? Rg(e, t, r, n, i, s, e[k_] ? "OrderedSet" : "Set") : e[w4] ? Rg(e, t, r, n, i, s, "Stack") : e[E4] ? _4(e, t, r, n, i, s) : T4(e, t, r, n, i, s), "serialize$2"), P4 = /* @__PURE__ */ o((e) => e && (e[h4] === !0 || e[v4] === !0), "test$2"), A4 = { serialize: C4, test: P4 }; function tC(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } o(tC, "getDefaultExportFromCjs"); var Tg = { exports: {} }, he = {}; var F_; function O4() { if (F_) return he; F_ = 1; var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.\ strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.fo\ rward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.la\ zy"), f = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference"); function h(b) { if (typeof b == "object" && b !== null) { var v = b.$$typeof; switch (v) { case e: switch (b = b.type, b) { case r: case i: case n: case u: case c: case f: return b; default: switch (b = b && b.$$typeof, b) { case a: case l: case p: case d: return b; case s: return b; default: return v; } } case t: return v; } } } return o(h, "typeOf"), he.ContextConsumer = s, he.ContextProvider = a, he.Element = e, he.ForwardRef = l, he.Fragment = r, he.Lazy = p, he. Memo = d, he.Portal = t, he.Profiler = i, he.StrictMode = n, he.Suspense = u, he.SuspenseList = c, he.isContextConsumer = function(b) { return h(b) === s; }, he.isContextProvider = function(b) { return h(b) === a; }, he.isElement = function(b) { return typeof b == "object" && b !== null && b.$$typeof === e; }, he.isForwardRef = function(b) { return h(b) === l; }, he.isFragment = function(b) { return h(b) === r; }, he.isLazy = function(b) { return h(b) === p; }, he.isMemo = function(b) { return h(b) === d; }, he.isPortal = function(b) { return h(b) === t; }, he.isProfiler = function(b) { return h(b) === i; }, he.isStrictMode = function(b) { return h(b) === n; }, he.isSuspense = function(b) { return h(b) === u; }, he.isSuspenseList = function(b) { return h(b) === c; }, he.isValidElementType = function(b) { return typeof b == "string" || typeof b == "function" || b === r || b === i || b === n || b === u || b === c || typeof b == "object" && b !== null && (b.$$typeof === p || b.$$typeof === d || b.$$typeof === a || b.$$typeof === s || b.$$typeof === l || b.$$typeof === m || b.getModuleId !== void 0); }, he.typeOf = h, he; } o(O4, "requireReactIs_production"); var D_; function q4() { return D_ || (D_ = 1, Tg.exports = O4()), Tg.exports; } o(q4, "requireReactIs$1"); var rC = q4(), I4 = /* @__PURE__ */ tC(rC), M4 = /* @__PURE__ */ Y_({ __proto__: null, default: I4 }, [rC]), _g = { exports: {} }, pe = {}; var $_; function N4() { if ($_) return pe; $_ = 1; var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h; h = Symbol.for("react.module.reference"); function b(v) { if (typeof v == "object" && v !== null) { var g = v.$$typeof; switch (g) { case e: switch (v = v.type, v) { case r: case i: case n: case c: case d: return v; default: switch (v = v && v.$$typeof, v) { case l: case a: case u: case f: case p: case s: return v; default: return g; } } case t: return g; } } } return o(b, "v"), pe.ContextConsumer = a, pe.ContextProvider = s, pe.Element = e, pe.ForwardRef = u, pe.Fragment = r, pe.Lazy = f, pe.Memo = p, pe.Portal = t, pe.Profiler = i, pe.StrictMode = n, pe.Suspense = c, pe.SuspenseList = d, pe.isAsyncMode = function() { return !1; }, pe.isConcurrentMode = function() { return !1; }, pe.isContextConsumer = function(v) { return b(v) === a; }, pe.isContextProvider = function(v) { return b(v) === s; }, pe.isElement = function(v) { return typeof v == "object" && v !== null && v.$$typeof === e; }, pe.isForwardRef = function(v) { return b(v) === u; }, pe.isFragment = function(v) { return b(v) === r; }, pe.isLazy = function(v) { return b(v) === f; }, pe.isMemo = function(v) { return b(v) === p; }, pe.isPortal = function(v) { return b(v) === t; }, pe.isProfiler = function(v) { return b(v) === i; }, pe.isStrictMode = function(v) { return b(v) === n; }, pe.isSuspense = function(v) { return b(v) === c; }, pe.isSuspenseList = function(v) { return b(v) === d; }, pe.isValidElementType = function(v) { return typeof v == "string" || typeof v == "function" || v === r || v === i || v === n || v === c || v === d || v === m || typeof v == "\ object" && v !== null && (v.$$typeof === f || v.$$typeof === p || v.$$typeof === s || v.$$typeof === a || v.$$typeof === u || v.$$typeof === h || v.getModuleId !== void 0); }, pe.typeOf = b, pe; } o(N4, "requireReactIs_production_min"); var B_; function j4() { return B_ || (B_ = 1, _g.exports = N4()), _g.exports; } o(j4, "requireReactIs"); var nC = j4(), k4 = /* @__PURE__ */ tC(nC), L4 = /* @__PURE__ */ Y_({ __proto__: null, default: k4 }, [nC]), F4 = [ "isAsyncMode", "isConcurrentMode", "isContextConsumer", "isContextProvider", "isElement", "isForwardRef", "isFragment", "isLazy", "isMemo", "isPortal", "isProfiler", "isStrictMode", "isSuspense", "isSuspenseList", "isValidElementType" ], vn = Object.fromEntries(F4.map((e) => [e, (t) => L4[e](t) || M4[e](t)])); function oC(e, t = []) { if (Array.isArray(e)) for (let r of e) oC(r, t); else e != null && e !== !1 && e !== "" && t.push(e); return t; } o(oC, "getChildren"); function U_(e) { let t = e.type; if (typeof t == "string") return t; if (typeof t == "function") return t.displayName || t.name || "Unknown"; if (vn.isFragment(e)) return "React.Fragment"; if (vn.isSuspense(e)) return "React.Suspense"; if (typeof t == "object" && t !== null) { if (vn.isContextProvider(e)) return "Context.Provider"; if (vn.isContextConsumer(e)) return "Context.Consumer"; if (vn.isForwardRef(e)) { if (t.displayName) return t.displayName; let r = t.render.displayName || t.render.name || ""; return r === "" ? "ForwardRef" : `ForwardRef(${r})`; } if (vn.isMemo(e)) { let r = t.displayName || t.type.displayName || t.type.name || ""; return r === "" ? "Memo" : `Memo(${r})`; } } return "UNDEFINED"; } o(U_, "getType"); function D4(e) { let { props: t } = e; return Object.keys(t).filter((r) => r !== "children" && t[r] !== void 0).sort(); } o(D4, "getPropKeys$1"); var $4 = /* @__PURE__ */ o((e, t, r, n, i, s) => ++n > t.maxDepth ? Ig(U_(e), t) : qg(U_(e), Ag(D4(e), e.props, t, r + t.indent, n, i, s), Og( oC(e.props.children), t, r + t.indent, n, i, s), t, r), "serialize$1"), B4 = /* @__PURE__ */ o((e) => e != null && vn.isElement(e), "test$1"), U4 = { serialize: $4, test: B4 }, H4 = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487; function V4(e) { let { props: t } = e; return t ? Object.keys(t).filter((r) => t[r] !== void 0).sort() : []; } o(V4, "getPropKeys"); var z4 = /* @__PURE__ */ o((e, t, r, n, i, s) => ++n > t.maxDepth ? Ig(e.type, t) : qg(e.type, e.props ? Ag(V4(e), e.props, t, r + t.indent, n, i, s) : "", e.children ? Og(e.children, t, r + t.indent, n, i, s) : "", t, r), "serialize"), G4 = /* @__PURE__ */ o((e) => e && e.$$typeof === H4, "test"), W4 = { serialize: z4, test: G4 }, iC = Object.prototype.toString, Y4 = Date.prototype.toISOString, K4 = Error.prototype.toString, H_ = RegExp.prototype.toString; function rl(e) { return typeof e.constructor == "function" && e.constructor.name || "Object"; } o(rl, "getConstructorName"); function X4(e) { return typeof window < "u" && e === window; } o(X4, "isWindow"); var J4 = /^Symbol\((.*)\)(.*)$/, Q4 = /\n/g, Ng = class Ng extends Error { constructor(t, r) { super(t), this.stack = r, this.name = this.constructor.name; } }; o(Ng, "PrettyFormatPluginError"); var ol = Ng; function Z4(e) { return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[obj\ ect Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Array]" || e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]"; } o(Z4, "isToStringedArrayType"); function e6(e) { return Object.is(e, -0) ? "-0" : String(e); } o(e6, "printNumber"); function t6(e) { return `${e}n`; } o(t6, "printBigInt"); function V_(e, t) { return t ? `[Function ${e.name || "anonymous"}]` : "[Function]"; } o(V_, "printFunction"); function z_(e) { return String(e).replace(J4, "Symbol($1)"); } o(z_, "printSymbol"); function G_(e) { return `[${K4.call(e)}]`; } o(G_, "printError"); function sC(e, t, r, n) { if (e === !0 || e === !1) return `${e}`; if (e === void 0) return "undefined"; if (e === null) return "null"; let i = typeof e; if (i === "number") return e6(e); if (i === "bigint") return t6(e); if (i === "string") return n ? `"${e.replaceAll(/"|\\/g, "\\$&")}"` : `"${e}"`; if (i === "function") return V_(e, t); if (i === "symbol") return z_(e); let s = iC.call(e); return s === "[object WeakMap]" ? "WeakMap {}" : s === "[object WeakSet]" ? "WeakSet {}" : s === "[object Function]" || s === "[object Gen\ eratorFunction]" ? V_(e, t) : s === "[object Symbol]" ? z_(e) : s === "[object Date]" ? Number.isNaN(+e) ? "Date { NaN }" : Y4.call(e) : s === "[object Error]" ? G_(e) : s === "[object RegExp]" ? r ? H_.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g, "\\$&") : H_.call(e) : e instanceof Error ? G_(e) : null; } o(sC, "printBasicValue"); function aC(e, t, r, n, i, s) { if (i.includes(e)) return "[Circular]"; i = [...i], i.push(e); let a = ++n > t.maxDepth, l = t.min; if (t.callToJSON && !a && e.toJSON && typeof e.toJSON == "function" && !s) return Mr(e.toJSON(), t, r, n, i, !0); let u = iC.call(e); return u === "[object Arguments]" ? a ? "[Arguments]" : `${l ? "" : "Arguments "}[${nl(e, t, r, n, i, Mr)}]` : Z4(u) ? a ? `[${e.constructor. name}]` : `${l || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : `${e.constructor.name} `}[${nl(e, t, r, n, i, Mr)}]` : u === "[object Map]" ? a ? "[Map]" : `Map {${Xi(e.entries(), t, r, n, i, Mr, " => ")}}` : u === "[object Set]" ? a ? "[Set]" : `Set {${Cg(e.values(), t, r, n, i, Mr)}}` : a || X4(e) ? `[${rl(e)}]` : `${l || !t.printBasicPrototype && rl(e) === "Object" ? "" : `${rl(e)} `}{${Pg(e, t, r, n, i, Mr)}}`; } o(aC, "printComplexValue"); var r6 = { test: /* @__PURE__ */ o((e) => e && e instanceof Error, "test"), serialize(e, t, r, n, i, s) { if (i.includes(e)) return "[Circular]"; i = [...i, e]; let a = ++n > t.maxDepth, { message: l, cause: u, ...c } = e, d = { message: l, ...typeof u < "u" ? { cause: u } : {}, ...e instanceof AggregateError ? { errors: e.errors } : {}, ...c }, p = e.name !== "Error" ? e.name : rl(e); return a ? `[${p}]` : `${p} {${Xi(Object.entries(d).values(), t, r, n, i, s)}}`; } }; function n6(e) { return e.serialize != null; } o(n6, "isNewPlugin"); function lC(e, t, r, n, i, s) { let a; try { a = n6(e) ? e.serialize(t, r, n, i, s, Mr) : e.print(t, (l) => Mr(l, r, n, i, s), (l) => { let u = n + r.indent; return u + l.replaceAll(Q4, ` ${u}`); }, { edgeSpacing: r.spacingOuter, min: r.min, spacing: r.spacingInner }, r.colors); } catch (l) { throw new ol(l.message, l.stack); } if (typeof a != "string") throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`); return a; } o(lC, "printPlugin"); function uC(e, t) { for (let r of e) try { if (r.test(t)) return r; } catch (n) { throw new ol(n.message, n.stack); } return null; } o(uC, "findPlugin"); function Mr(e, t, r, n, i, s) { let a = uC(t.plugins, e); if (a !== null) return lC(a, e, t, r, n, i); let l = sC(e, t.printFunctionName, t.escapeRegex, t.escapeString); return l !== null ? l : aC(e, t, r, n, i, s); } o(Mr, "printer"); var Mg = { comment: "gray", content: "reset", prop: "yellow", tag: "cyan", value: "green" }, cC = Object.keys(Mg), Lt = { callToJSON: !0, compareKeys: void 0, escapeRegex: !1, escapeString: !0, highlight: !1, indent: 2, maxDepth: Number.POSITIVE_INFINITY, maxWidth: Number.POSITIVE_INFINITY, min: !1, plugins: [], printBasicPrototype: !0, printFunctionName: !0, theme: Mg }; function o6(e) { for (let t of Object.keys(e)) if (!Object.prototype.hasOwnProperty.call(Lt, t)) throw new Error(`pretty-format: Unknown option "${t}".`); if (e.min && e.indent !== void 0 && e.indent !== 0) throw new Error('pretty-format: Options "min" and "indent" cannot be used together.'); } o(o6, "validateOptions"); function i6() { return cC.reduce((e, t) => { let r = Mg[t], n = r && Ee[r]; if (n && typeof n.close == "string" && typeof n.open == "string") e[t] = n; else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`); return e; }, /* @__PURE__ */ Object.create(null)); } o(i6, "getColorsHighlight"); function s6() { return cC.reduce((e, t) => (e[t] = { close: "", open: "" }, e), /* @__PURE__ */ Object.create(null)); } o(s6, "getColorsEmpty"); function dC(e) { return e?.printFunctionName ?? Lt.printFunctionName; } o(dC, "getPrintFunctionName"); function pC(e) { return e?.escapeRegex ?? Lt.escapeRegex; } o(pC, "getEscapeRegex"); function fC(e) { return e?.escapeString ?? Lt.escapeString; } o(fC, "getEscapeString"); function W_(e) { return { callToJSON: e?.callToJSON ?? Lt.callToJSON, colors: e?.highlight ? i6() : s6(), compareKeys: typeof e?.compareKeys == "function" || e?.compareKeys === null ? e.compareKeys : Lt.compareKeys, escapeRegex: pC(e), escapeString: fC(e), indent: e?.min ? "" : a6(e?.indent ?? Lt.indent), maxDepth: e?.maxDepth ?? Lt.maxDepth, maxWidth: e?.maxWidth ?? Lt.maxWidth, min: e?.min ?? Lt.min, plugins: e?.plugins ?? Lt.plugins, printBasicPrototype: e?.printBasicPrototype ?? !0, printFunctionName: dC(e), spacingInner: e?.min ? " " : ` `, spacingOuter: e?.min ? "" : ` ` }; } o(W_, "getConfig"); function a6(e) { return Array.from({ length: e + 1 }).join(" "); } o(a6, "createIndent"); function Tt(e, t) { if (t && (o6(t), t.plugins)) { let n = uC(t.plugins, e); if (n !== null) return lC(n, e, W_(t), "", 0, []); } let r = sC(e, dC(t), pC(t), fC(t)); return r !== null ? r : aC(e, W_(t), "", 0, []); } o(Tt, "format"); var Ji = { AsymmetricMatcher: JG, DOMCollection: o4, DOMElement: m4, Immutable: A4, ReactElement: U4, ReactTestComponent: W4, Error: r6 }; // ../node_modules/loupe/lib/helpers.js var mC = { bold: ["1", "22"], dim: ["2", "22"], italic: ["3", "23"], underline: ["4", "24"], // 5 & 6 are blinking inverse: ["7", "27"], hidden: ["8", "28"], strike: ["9", "29"], // 10-20 are fonts // 21-29 are resets for 1-9 black: ["30", "39"], red: ["31", "39"], green: ["32", "39"], yellow: ["33", "39"], blue: ["34", "39"], magenta: ["35", "39"], cyan: ["36", "39"], white: ["37", "39"], brightblack: ["30;1", "39"], brightred: ["31;1", "39"], brightgreen: ["32;1", "39"], brightyellow: ["33;1", "39"], brightblue: ["34;1", "39"], brightmagenta: ["35;1", "39"], brightcyan: ["36;1", "39"], brightwhite: ["37;1", "39"], grey: ["90", "39"] }, l6 = { special: "cyan", number: "yellow", bigint: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", symbol: "green", date: "magenta", regexp: "red" }, fr = "\u2026"; function u6(e, t) { let r = mC[l6[t]] || mC[t] || ""; return r ? `\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m` : String(e); } o(u6, "colorise"); function hC({ showHidden: e = !1, depth: t = 2, colors: r = !1, customInspect: n = !0, showProxy: i = !1, maxArrayLength: s = 1 / 0, breakLength: a = 1 / 0, seen: l = [], // eslint-disable-next-line no-shadow truncate: u = 1 / 0, stylize: c = String } = {}, d) { let p = { showHidden: !!e, depth: Number(t), colors: !!r, customInspect: !!n, showProxy: !!i, maxArrayLength: Number(s), breakLength: Number(a), truncate: Number(u), seen: l, inspect: d, stylize: c }; return p.colors && (p.stylize = u6), p; } o(hC, "normaliseOptions"); function c6(e) { return e >= "\uD800" && e <= "\uDBFF"; } o(c6, "isHighSurrogate"); function et(e, t, r = fr) { e = String(e); let n = r.length, i = e.length; if (n > t && i > n) return r; if (i > t && i > n) { let s = t - n; return s > 0 && c6(e[s - 1]) && (s = s - 1), `${e.slice(0, s)}${r}`; } return e; } o(et, "truncate"); function Fe(e, t, r, n = ", ") { r = r || t.inspect; let i = e.length; if (i === 0) return ""; let s = t.truncate, a = "", l = "", u = ""; for (let c = 0; c < i; c += 1) { let d = c + 1 === e.length, p = c + 2 === e.length; u = `${fr}(${e.length - c})`; let f = e[c]; t.truncate = s - a.length - (d ? 0 : n.length); let m = l || r(f, t) + (d ? "" : n), h = a.length + m.length, b = h + u.length; if (d && h > s && a.length + u.length <= s || !d && !p && b > s || (l = d ? "" : r(e[c + 1], t) + (p ? "" : n), !d && p && b > s && h + l. length > s)) break; if (a += m, !d && !p && h + l.length >= s) { u = `${fr}(${e.length - c - 1})`; break; } u = ""; } return `${a}${u}`; } o(Fe, "inspectList"); function d6(e) { return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) ? e : JSON.stringify(e).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"); } o(d6, "quoteComplexKey"); function mr([e, t], r) { return r.truncate -= 2, typeof e == "string" ? e = d6(e) : typeof e != "number" && (e = `[${r.inspect(e, r)}]`), r.truncate -= e.length, t = r.inspect(t, r), `${e}: ${t}`; } o(mr, "inspectProperty"); // ../node_modules/loupe/lib/array.js function jg(e, t) { let r = Object.keys(e).slice(e.length); if (!e.length && !r.length) return "[]"; t.truncate -= 4; let n = Fe(e, t); t.truncate -= n.length; let i = ""; return r.length && (i = Fe(r.map((s) => [s, e[s]]), t, mr)), `[ ${n}${i ? `, ${i}` : ""} ]`; } o(jg, "inspectArray"); // ../node_modules/loupe/lib/typedarray.js var p6 = /* @__PURE__ */ o((e) => typeof Buffer == "function" && e instanceof Buffer ? "Buffer" : e[Symbol.toStringTag] ? e[Symbol.toStringTag] : e.constructor.name, "getArrayName"); function Ft(e, t) { let r = p6(e); t.truncate -= r.length + 4; let n = Object.keys(e).slice(e.length); if (!e.length && !n.length) return `${r}[]`; let i = ""; for (let a = 0; a < e.length; a++) { let l = `${t.stylize(et(e[a], t.truncate), "number")}${a === e.length - 1 ? "" : ", "}`; if (t.truncate -= l.length, e[a] !== e.length && t.truncate <= 3) { i += `${fr}(${e.length - e[a] + 1})`; break; } i += l; } let s = ""; return n.length && (s = Fe(n.map((a) => [a, e[a]]), t, mr)), `${r}[ ${i}${s ? `, ${s}` : ""} ]`; } o(Ft, "inspectTypedArray"); // ../node_modules/loupe/lib/date.js function kg(e, t) { let r = e.toJSON(); if (r === null) return "Invalid Date"; let n = r.split("T"), i = n[0]; return t.stylize(`${i}T${et(n[1], t.truncate - i.length - 1)}`, "date"); } o(kg, "inspectDate"); // ../node_modules/loupe/lib/function.js function sl(e, t) { let r = e[Symbol.toStringTag] || "Function", n = e.name; return n ? t.stylize(`[${r} ${et(n, t.truncate - 11)}]`, "special") : t.stylize(`[${r}]`, "special"); } o(sl, "inspectFunction"); // ../node_modules/loupe/lib/map.js function f6([e, t], r) { return r.truncate -= 4, e = r.inspect(e, r), r.truncate -= e.length, t = r.inspect(t, r), `${e} => ${t}`; } o(f6, "inspectMapEntry"); function m6(e) { let t = []; return e.forEach((r, n) => { t.push([n, r]); }), t; } o(m6, "mapToEntries"); function Lg(e, t) { return e.size === 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${Fe(m6(e), t, f6)} }`); } o(Lg, "inspectMap"); // ../node_modules/loupe/lib/number.js var h6 = Number.isNaN || ((e) => e !== e); function al(e, t) { return h6(e) ? t.stylize("NaN", "number") : e === 1 / 0 ? t.stylize("Infinity", "number") : e === -1 / 0 ? t.stylize("-Infinity", "number") : e === 0 ? t.stylize(1 / e === 1 / 0 ? "+0" : "-0", "number") : t.stylize(et(String(e), t.truncate), "number"); } o(al, "inspectNumber"); // ../node_modules/loupe/lib/bigint.js function ll(e, t) { let r = et(e.toString(), t.truncate - 1); return r !== fr && (r += "n"), t.stylize(r, "bigint"); } o(ll, "inspectBigInt"); // ../node_modules/loupe/lib/regexp.js function Fg(e, t) { let r = e.toString().split("/")[2], n = t.truncate - (2 + r.length), i = e.source; return t.stylize(`/${et(i, n)}/${r}`, "regexp"); } o(Fg, "inspectRegExp"); // ../node_modules/loupe/lib/set.js function y6(e) { let t = []; return e.forEach((r) => { t.push(r); }), t; } o(y6, "arrayFromSet"); function Dg(e, t) { return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${Fe(y6(e), t)} }`); } o(Dg, "inspectSet"); // ../node_modules/loupe/lib/string.js var yC = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\u\ ffff]", "g"), b6 = { "\b": "\\b", " ": "\\t", "\n": "\\n", "\f": "\\f", "\r": "\\r", "'": "\\'", "\\": "\\\\" }, g6 = 16, v6 = 4; function E6(e) { return b6[e] || `\\u${`0000${e.charCodeAt(0).toString(g6)}`.slice(-v6)}`; } o(E6, "escape"); function ul(e, t) { return yC.test(e) && (e = e.replace(yC, E6)), t.stylize(`'${et(e, t.truncate - 2)}'`, "string"); } o(ul, "inspectString"); // ../node_modules/loupe/lib/symbol.js function cl(e) { return "description" in Symbol.prototype ? e.description ? `Symbol(${e.description})` : "Symbol()" : e.toString(); } o(cl, "inspectSymbol"); // ../node_modules/loupe/lib/promise.js var bC = /* @__PURE__ */ o(() => "Promise{\u2026}", "getPromiseValue"); try { let { getPromiseDetails: e, kPending: t, kRejected: r } = process.binding("util"); Array.isArray(e(Promise.resolve())) && (bC = /* @__PURE__ */ o((n, i) => { let [s, a] = e(n); return s === t ? "Promise{}" : `Promise${s === r ? "!" : ""}{${i.inspect(a, i)}}`; }, "getPromiseValue")); } catch { } var gC = bC; // ../node_modules/loupe/lib/object.js function En(e, t) { let r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e) : []; if (r.length === 0 && n.length === 0) return "{}"; if (t.truncate -= 4, t.seen = t.seen || [], t.seen.includes(e)) return "[Circular]"; t.seen.push(e); let i = Fe(r.map((l) => [l, e[l]]), t, mr), s = Fe(n.map((l) => [l, e[l]]), t, mr); t.seen.pop(); let a = ""; return i && s && (a = ", "), `{ ${i}${a}${s} }`; } o(En, "inspectObject"); // ../node_modules/loupe/lib/class.js var $g = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1; function Bg(e, t) { let r = ""; return $g && $g in e && (r = e[$g]), r = r || e.constructor.name, (!r || r === "_class") && (r = ""), t.truncate -= r.length, `${r}${En(e, t)}`; } o(Bg, "inspectClass"); // ../node_modules/loupe/lib/arguments.js function Ug(e, t) { return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${Fe(e, t)} ]`); } o(Ug, "inspectArguments"); // ../node_modules/loupe/lib/error.js var x6 = [ "stack", "line", "column", "name", "message", "fileName", "lineNumber", "columnNumber", "number", "description", "cause" ]; function Hg(e, t) { let r = Object.getOwnPropertyNames(e).filter((a) => x6.indexOf(a) === -1), n = e.name; t.truncate -= n.length; let i = ""; if (typeof e.message == "string" ? i = et(e.message, t.truncate) : r.unshift("message"), i = i ? `: ${i}` : "", t.truncate -= i.length + 5, t.seen = t.seen || [], t.seen.includes(e)) return "[Circular]"; t.seen.push(e); let s = Fe(r.map((a) => [a, e[a]]), t, mr); return `${n}${i}${s ? ` { ${s} }` : ""}`; } o(Hg, "inspectObject"); // ../node_modules/loupe/lib/html.js function w6([e, t], r) { return r.truncate -= 3, t ? `${r.stylize(String(e), "yellow")}=${r.stylize(`"${t}"`, "string")}` : `${r.stylize(String(e), "yellow")}`; } o(w6, "inspectAttribute"); function dl(e, t) { return Fe(e, t, S6, ` `); } o(dl, "inspectNodeCollection"); function S6(e, t) { switch (e.nodeType) { case 1: return pl(e, t); case 3: return t.inspect(e.data, t); default: return t.inspect(e, t); } } o(S6, "inspectNode"); function pl(e, t) { let r = e.getAttributeNames(), n = e.tagName.toLowerCase(), i = t.stylize(`<${n}`, "special"), s = t.stylize(">", "special"), a = t.stylize( ``, "special"); t.truncate -= n.length * 2 + 5; let l = ""; r.length > 0 && (l += " ", l += Fe(r.map((d) => [d, e.getAttribute(d)]), t, w6, " ")), t.truncate -= l.length; let u = t.truncate, c = dl(e.children, t); return c && c.length > u && (c = `${fr}(${e.children.length})`), `${i}${l}${s}${c}${a}`; } o(pl, "inspectHTML"); // ../node_modules/loupe/lib/index.js var R6 = typeof Symbol == "function" && typeof Symbol.for == "function", Vg = R6 ? Symbol.for("chai/inspect") : "@@chai/inspect", zg = Symbol. for("nodejs.util.inspect.custom"), vC = /* @__PURE__ */ new WeakMap(), EC = {}, xC = { undefined: /* @__PURE__ */ o((e, t) => t.stylize("undefined", "undefined"), "undefined"), null: /* @__PURE__ */ o((e, t) => t.stylize("null", "null"), "null"), boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "boolean"), Boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "Boolean"), number: al, Number: al, bigint: ll, BigInt: ll, string: ul, String: ul, function: sl, Function: sl, symbol: cl, // A Symbol polyfill will return `Symbol` not `symbol` from typedetect Symbol: cl, Array: jg, Date: kg, Map: Lg, Set: Dg, RegExp: Fg, Promise: gC, // WeakSet, WeakMap are totally opaque to us WeakSet: /* @__PURE__ */ o((e, t) => t.stylize("WeakSet{\u2026}", "special"), "WeakSet"), WeakMap: /* @__PURE__ */ o((e, t) => t.stylize("WeakMap{\u2026}", "special"), "WeakMap"), Arguments: Ug, Int8Array: Ft, Uint8Array: Ft, Uint8ClampedArray: Ft, Int16Array: Ft, Uint16Array: Ft, Int32Array: Ft, Uint32Array: Ft, Float32Array: Ft, Float64Array: Ft, Generator: /* @__PURE__ */ o(() => "", "Generator"), DataView: /* @__PURE__ */ o(() => "", "DataView"), ArrayBuffer: /* @__PURE__ */ o(() => "", "ArrayBuffer"), Error: Hg, HTMLCollection: dl, NodeList: dl }, T6 = /* @__PURE__ */ o((e, t, r) => Vg in e && typeof e[Vg] == "function" ? e[Vg](t) : zg in e && typeof e[zg] == "function" ? e[zg](t.depth, t) : "inspect" in e && typeof e.inspect == "function" ? e.inspect(t.depth, t) : "constructor" in e && vC.has(e.constructor) ? vC.get(e.constructor)( e, t) : EC[r] ? EC[r](e, t) : "", "inspectCustom"), _6 = Object.prototype.toString; function fl(e, t = {}) { let r = hC(t, fl), { customInspect: n } = r, i = e === null ? "null" : typeof e; if (i === "object" && (i = _6.call(e).slice(8, -1)), i in xC) return xC[i](e, r); if (n && e) { let a = T6(e, r, i); if (a) return typeof a == "string" ? a : fl(a, r); } let s = e ? Object.getPrototypeOf(e) : !1; return s === Object.prototype || s === null ? En(e, r) : e && typeof HTMLElement == "function" && e instanceof HTMLElement ? pl(e, r) : "c\ onstructor" in e ? e.constructor !== Object ? Bg(e, r) : En(e, r) : e === Object(e) ? En(e, r) : r.stylize(String(e), i); } o(fl, "inspect"); // ../node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js var { AsymmetricMatcher: P6, DOMCollection: A6, DOMElement: O6, Immutable: q6, ReactElement: I6, ReactTestComponent: M6 } = Ji, wC = [ M6, I6, O6, A6, q6, P6 ]; function Ye(e, t = 10, { maxLength: r, ...n } = {}) { let i = r ?? 1e4, s; try { s = Tt(e, { maxDepth: t, escapeString: !1, plugins: wC, ...n }); } catch { s = Tt(e, { callToJSON: !1, maxDepth: t, escapeString: !1, plugins: wC, ...n }); } return s.length >= i && t > 1 ? Ye(e, Math.floor(Math.min(t, Number.MAX_SAFE_INTEGER) / 2), { maxLength: r, ...n }) : s; } o(Ye, "stringify"); var N6 = /%[sdjifoOc%]/g; function Gg(...e) { if (typeof e[0] != "string") { let s = []; for (let a = 0; a < e.length; a++) s.push(wo(e[a], { depth: 0, colors: !1 })); return s.join(" "); } let t = e.length, r = 1, n = e[0], i = String(n).replace(N6, (s) => { if (s === "%%") return "%"; if (r >= t) return s; switch (s) { case "%s": { let a = e[r++]; return typeof a == "bigint" ? `${a.toString()}n` : typeof a == "number" && a === 0 && 1 / a < 0 ? "-0" : typeof a == "object" && a !== null ? typeof a.toString == "function" && a.toString !== Object.prototype.toString ? a.toString() : wo(a, { depth: 0, colors: !1 }) : String(a); } case "%d": { let a = e[r++]; return typeof a == "bigint" ? `${a.toString()}n` : Number(a).toString(); } case "%i": { let a = e[r++]; return typeof a == "bigint" ? `${a.toString()}n` : Number.parseInt(String(a)).toString(); } case "%f": return Number.parseFloat(String(e[r++])).toString(); case "%o": return wo(e[r++], { showHidden: !0, showProxy: !0 }); case "%O": return wo(e[r++]); case "%c": return r++, ""; case "%j": try { return JSON.stringify(e[r++]); } catch (a) { let l = a.message; if (l.includes("circular structure") || l.includes("cyclic structures") || l.includes("cyclic object")) return "[Circular]"; throw a; } default: return s; } }); for (let s = e[r]; r < t; s = e[++r]) s === null || typeof s != "object" ? i += ` ${s}` : i += ` ${wo(s)}`; return i; } o(Gg, "format"); function wo(e, t = {}) { return t.truncate === 0 && (t.truncate = Number.POSITIVE_INFINITY), fl(e, t); } o(wo, "inspect"); function SC(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } o(SC, "getDefaultExportFromCjs"); // ../node_modules/@vitest/utils/dist/helpers.js function Dt(e, t, r) { let n = typeof e; if (!r.includes(n)) throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`); } o(Dt, "assertTypes"); function So(e) { return e != null && typeof e == "object" && !Array.isArray(e); } o(So, "isObject"); function j6(e) { return e === Object.prototype || e === Function.prototype || e === RegExp.prototype; } o(j6, "isFinalObj"); function xn(e) { return Object.prototype.toString.apply(e).slice(8, -1); } o(xn, "getType"); function k6(e, t) { let r = typeof t == "function" ? t : (n) => t.add(n); Object.getOwnPropertyNames(e).forEach(r), Object.getOwnPropertySymbols(e).forEach(r); } o(k6, "collectOwnProperties"); function hl(e) { let t = /* @__PURE__ */ new Set(); return j6(e) ? [] : (k6(e, t), Array.from(t)); } o(hl, "getOwnProperties"); var RC = { forceWritable: !1 }; function yl(e, t = RC) { return ml(e, /* @__PURE__ */ new WeakMap(), t); } o(yl, "deepClone"); function ml(e, t, r = RC) { let n, i; if (t.has(e)) return t.get(e); if (Array.isArray(e)) { for (i = Array.from({ length: n = e.length }), t.set(e, i); n--; ) i[n] = ml(e[n], t, r); return i; } if (Object.prototype.toString.call(e) === "[object Object]") { i = Object.create(Object.getPrototypeOf(e)), t.set(e, i); let s = hl(e); for (let a of s) { let l = Object.getOwnPropertyDescriptor(e, a); if (!l) continue; let u = ml(e[a], t, r); r.forceWritable ? Object.defineProperty(i, a, { enumerable: l.enumerable, configurable: !0, writable: !0, value: u }) : "get" in l ? Object.defineProperty(i, a, { ...l, get() { return u; } }) : Object.defineProperty(i, a, { ...l, value: u }); } return i; } return e; } o(ml, "clone"); function Wg() { } o(Wg, "noop"); // ../node_modules/@vitest/utils/dist/diff.js var tt = -1, Ke = 1, Ie = 0, rv = class rv { 0; 1; constructor(t, r) { this[0] = t, this[1] = r; } }; o(rv, "Diff"); var Se = rv; function L6(e, t) { if (!e || !t || e.charAt(0) !== t.charAt(0)) return 0; let r = 0, n = Math.min(e.length, t.length), i = n, s = 0; for (; r < i; ) e.substring(s, i) === t.substring(s, i) ? (r = i, s = r) : n = i, i = Math.floor((n - r) / 2 + r); return i; } o(L6, "diff_commonPrefix"); function $C(e, t) { if (!e || !t || e.charAt(e.length - 1) !== t.charAt(t.length - 1)) return 0; let r = 0, n = Math.min(e.length, t.length), i = n, s = 0; for (; r < i; ) e.substring(e.length - i, e.length - s) === t.substring(t.length - i, t.length - s) ? (r = i, s = r) : n = i, i = Math.floor((n - r) / 2 + r); return i; } o($C, "diff_commonSuffix"); function TC(e, t) { let r = e.length, n = t.length; if (r === 0 || n === 0) return 0; r > n ? e = e.substring(r - n) : r < n && (t = t.substring(0, r)); let i = Math.min(r, n); if (e === t) return i; let s = 0, a = 1; for (; ; ) { let l = e.substring(i - a), u = t.indexOf(l); if (u === -1) return s; a += u, (u === 0 || e.substring(i - a) === t.substring(0, a)) && (s = a, a++); } } o(TC, "diff_commonOverlap_"); function F6(e) { let t = !1, r = [], n = 0, i = null, s = 0, a = 0, l = 0, u = 0, c = 0; for (; s < e.length; ) e[s][0] === Ie ? (r[n++] = s, a = u, l = c, u = 0, c = 0, i = e[s][1]) : (e[s][0] === Ke ? u += e[s][1].length : c += e[s][1].length, i && i.length <= Math.max(a, l) && i.length <= Math.max(u, c) && (e.splice(r[n - 1], 0, new Se(tt, i)), e[r[n - 1] + 1][0] = Ke, n--, n--, s = n > 0 ? r[n - 1] : -1, a = 0, l = 0, u = 0, c = 0, i = null, t = !0)), s++; for (t && BC(e), B6(e), s = 1; s < e.length; ) { if (e[s - 1][0] === tt && e[s][0] === Ke) { let d = e[s - 1][1], p = e[s][1], f = TC(d, p), m = TC(p, d); f >= m ? (f >= d.length / 2 || f >= p.length / 2) && (e.splice(s, 0, new Se(Ie, p.substring(0, f))), e[s - 1][1] = d.substring(0, d.length - f), e[s + 1][1] = p.substring(f), s++) : (m >= d.length / 2 || m >= p.length / 2) && (e.splice(s, 0, new Se(Ie, d.substring(0, m))), e[s - 1][0] = Ke, e[s - 1][1] = p.substring(0, p.length - m), e[s + 1][0] = tt, e[s + 1][1] = d.substring(m), s++), s++; } s++; } } o(F6, "diff_cleanupSemantic"); var _C = /[^a-z0-9]/i, CC = /\s/, PC = /[\r\n]/, D6 = /\n\r?\n$/, $6 = /^\r?\n\r?\n/; function B6(e) { let t = 1; for (; t < e.length - 1; ) { if (e[t - 1][0] === Ie && e[t + 1][0] === Ie) { let r = e[t - 1][1], n = e[t][1], i = e[t + 1][1], s = $C(r, n); if (s) { let d = n.substring(n.length - s); r = r.substring(0, r.length - s), n = d + n.substring(0, n.length - s), i = d + i; } let a = r, l = n, u = i, c = bl(r, n) + bl(n, i); for (; n.charAt(0) === i.charAt(0); ) { r += n.charAt(0), n = n.substring(1) + i.charAt(0), i = i.substring(1); let d = bl(r, n) + bl(n, i); d >= c && (c = d, a = r, l = n, u = i); } e[t - 1][1] !== a && (a ? e[t - 1][1] = a : (e.splice(t - 1, 1), t--), e[t][1] = l, u ? e[t + 1][1] = u : (e.splice(t + 1, 1), t--)); } t++; } } o(B6, "diff_cleanupSemanticLossless"); function BC(e) { e.push(new Se(Ie, "")); let t = 0, r = 0, n = 0, i = "", s = "", a; for (; t < e.length; ) switch (e[t][0]) { case Ke: n++, s += e[t][1], t++; break; case tt: r++, i += e[t][1], t++; break; case Ie: r + n > 1 ? (r !== 0 && n !== 0 && (a = L6(s, i), a !== 0 && (t - r - n > 0 && e[t - r - n - 1][0] === Ie ? e[t - r - n - 1][1] += s. substring(0, a) : (e.splice(0, 0, new Se(Ie, s.substring(0, a))), t++), s = s.substring(a), i = i.substring(a)), a = $C(s, i), a !== 0 && (e[t][1] = s.substring(s.length - a) + e[t][1], s = s.substring(0, s.length - a), i = i.substring(0, i.length - a))), t -= r + n, e.splice(t, r + n), i.length && (e.splice(t, 0, new Se(tt, i)), t++), s.length && (e.splice(t, 0, new Se(Ke, s)), t++), t++) : t !== 0 && e[t - 1][0] === Ie ? (e[t - 1][1] += e[t][1], e.splice(t, 1)) : t++, n = 0, r = 0, i = "", s = ""; break; } e[e.length - 1][1] === "" && e.pop(); let l = !1; for (t = 1; t < e.length - 1; ) e[t - 1][0] === Ie && e[t + 1][0] === Ie && (e[t][1].substring(e[t][1].length - e[t - 1][1].length) === e[t - 1][1] ? (e[t][1] = e[t - 1][1] + e[t][1].substring(0, e[t][1].length - e[t - 1][1].length), e[t + 1][1] = e[t - 1][1] + e[t + 1][1], e.splice(t - 1, 1), l = !0) : e[t][1]. substring(0, e[t + 1][1].length) === e[t + 1][1] && (e[t - 1][1] += e[t + 1][1], e[t][1] = e[t][1].substring(e[t + 1][1].length) + e[t + 1][1], e.splice(t + 1, 1), l = !0)), t++; l && BC(e); } o(BC, "diff_cleanupMerge"); function bl(e, t) { if (!e || !t) return 6; let r = e.charAt(e.length - 1), n = t.charAt(0), i = r.match(_C), s = n.match(_C), a = i && r.match(CC), l = s && n.match(CC), u = a && r. match(PC), c = l && n.match(PC), d = u && e.match(D6), p = c && t.match($6); return d || p ? 5 : u || c ? 4 : i && !a && l ? 3 : a || l ? 2 : i || s ? 1 : 0; } o(bl, "diff_cleanupSemanticScore_"); var UC = "Compared values have no visual difference.", U6 = "Compared values serialize to the same structure.\nPrinting internal object struc\ ture without calling `toJSON` instead.", gl = {}, AC; function H6() { if (AC) return gl; AC = 1, Object.defineProperty(gl, "__esModule", { value: !0 }), gl.default = f; let e = "diff-sequences", t = 0, r = /* @__PURE__ */ o((m, h, b, v, g) => { let w = 0; for (; m < h && b < v && g(m, b); ) m += 1, b += 1, w += 1; return w; }, "countCommonItemsF"), n = /* @__PURE__ */ o((m, h, b, v, g) => { let w = 0; for (; m <= h && b <= v && g(h, v); ) h -= 1, v -= 1, w += 1; return w; }, "countCommonItemsR"), i = /* @__PURE__ */ o((m, h, b, v, g, w, E) => { let R = 0, T = -m, P = w[R], _ = P; w[R] += r( P + 1, h, v + P - T + 1, b, g ); let C = m < E ? m : E; for (R += 1, T += 2; R <= C; R += 1, T += 2) { if (R !== m && _ < w[R]) P = w[R]; else if (P = _ + 1, h <= P) return R - 1; _ = w[R], w[R] = P + r(P + 1, h, v + P - T + 1, b, g); } return E; }, "extendPathsF"), s = /* @__PURE__ */ o((m, h, b, v, g, w, E) => { let R = 0, T = m, P = w[R], _ = P; w[R] -= n( h, P - 1, b, v + P - T - 1, g ); let C = m < E ? m : E; for (R += 1, T -= 2; R <= C; R += 1, T -= 2) { if (R !== m && w[R] < _) P = w[R]; else if (P = _ - 1, P < h) return R - 1; _ = w[R], w[R] = P - n( h, P - 1, b, v + P - T - 1, g ); } return E; }, "extendPathsR"), a = /* @__PURE__ */ o((m, h, b, v, g, w, E, R, T, P, _) => { let C = v - h, O = b - h, q = g - v - O, D = -q - (m - 1), U = -q + (m - 1), M = t, H = m < R ? m : R; for (let N = 0, W = -m; N <= H; N += 1, W += 2) { let Y = N === 0 || N !== m && M < E[N], ae = Y ? E[N] : M, de = Y ? ae : ae + 1, Oe = C + de - W, F = r( de + 1, b, Oe + 1, g, w ), j = de + F; if (M = E[N], E[N] = j, D <= W && W <= U) { let K = (m - 1 - (W + q)) / 2; if (K <= P && T[K] - 1 <= j) { let G = C + ae - (Y ? W + 1 : W - 1), Z = n( h, ae, v, G, w ), ve = ae - Z, qe = G - Z, Qe = ve + 1, Ei = qe + 1; _.nChangePreceding = m - 1, m - 1 === Qe + Ei - h - v ? (_.aEndPreceding = h, _.bEndPreceding = v) : (_.aEndPreceding = Qe, _.bEndPreceding = Ei), _.nCommonPreceding = Z, Z !== 0 && (_.aCommonPreceding = Qe, _.bCommonPreceding = Ei), _.nCommonFollowing = F, F !== 0 && (_. aCommonFollowing = de + 1, _.bCommonFollowing = Oe + 1); let bt = j + 1, we = Oe + F + 1; return _.nChangeFollowing = m - 1, m - 1 === b + g - bt - we ? (_.aStartFollowing = b, _.bStartFollowing = g) : (_.aStartFollowing = bt, _.bStartFollowing = we), !0; } } } return !1; }, "extendOverlappablePathsF"), l = /* @__PURE__ */ o((m, h, b, v, g, w, E, R, T, P, _) => { let C = g - b, O = b - h, q = g - v - O, D = q - m, U = q + m, M = t, H = m < P ? m : P; for (let N = 0, W = m; N <= H; N += 1, W -= 2) { let Y = N === 0 || N !== m && T[N] < M, ae = Y ? T[N] : M, de = Y ? ae : ae - 1, Oe = C + de - W, F = n( h, de - 1, v, Oe - 1, w ), j = de - F; if (M = T[N], T[N] = j, D <= W && W <= U) { let K = (m + (W - q)) / 2; if (K <= R && j - 1 <= E[K]) { let G = Oe - F; if (_.nChangePreceding = m, m === j + G - h - v ? (_.aEndPreceding = h, _.bEndPreceding = v) : (_.aEndPreceding = j, _.bEndPreceding = G), _.nCommonPreceding = F, F !== 0 && (_.aCommonPreceding = j, _.bCommonPreceding = G), _.nChangeFollowing = m - 1, m === 1) _.nCommonFollowing = 0, _.aStartFollowing = b, _.bStartFollowing = g; else { let Z = C + ae - (Y ? W - 1 : W + 1), ve = r( ae, b, Z, g, w ); _.nCommonFollowing = ve, ve !== 0 && (_.aCommonFollowing = ae, _.bCommonFollowing = Z); let qe = ae + ve, Qe = Z + ve; m - 1 === b + g - qe - Qe ? (_.aStartFollowing = b, _.bStartFollowing = g) : (_.aStartFollowing = qe, _.bStartFollowing = Qe); } return !0; } } } return !1; }, "extendOverlappablePathsR"), u = /* @__PURE__ */ o((m, h, b, v, g, w, E, R, T) => { let P = v - h, _ = g - b, C = b - h, O = g - v, L = O - C, q = C, D = C; if (E[0] = h - 1, R[0] = b, L % 2 === 0) { let U = (m || L) / 2, M = (C + O) / 2; for (let H = 1; H <= M; H += 1) if (q = i(H, b, g, P, w, E, q), H < U) D = s(H, h, v, _, w, R, D); else if ( // If a reverse path overlaps a forward path in the same diagonal, // return a division of the index intervals at the middle change. l( H, h, b, v, g, w, E, q, R, D, T ) ) return; } else { let U = ((m || L) + 1) / 2, M = (C + O + 1) / 2, H = 1; for (q = i(H, b, g, P, w, E, q), H += 1; H <= M; H += 1) if (D = s( H - 1, h, v, _, w, R, D ), H < U) q = i(H, b, g, P, w, E, q); else if ( // If a forward path overlaps a reverse path in the same diagonal, // return a division of the index intervals at the middle change. a( H, h, b, v, g, w, E, q, R, D, T ) ) return; } throw new Error( `${e}: no overlap aStart=${h} aEnd=${b} bStart=${v} bEnd=${g}` ); }, "divide"), c = /* @__PURE__ */ o((m, h, b, v, g, w, E, R, T, P) => { if (g - v < b - h) { if (w = !w, w && E.length === 1) { let { foundSubsequence: j, isCommon: K } = E[0]; E[1] = { foundSubsequence: /* @__PURE__ */ o((G, Z, ve) => { j(G, ve, Z); }, "foundSubsequence"), isCommon: /* @__PURE__ */ o((G, Z) => K(Z, G), "isCommon") }; } let Oe = h, F = b; h = v, b = g, v = Oe, g = F; } let { foundSubsequence: _, isCommon: C } = E[w ? 1 : 0]; u( m, h, b, v, g, C, R, T, P ); let { nChangePreceding: O, aEndPreceding: L, bEndPreceding: q, nCommonPreceding: D, aCommonPreceding: U, bCommonPreceding: M, nCommonFollowing: H, aCommonFollowing: N, bCommonFollowing: W, nChangeFollowing: Y, aStartFollowing: ae, bStartFollowing: de } = P; h < L && v < q && c( O, h, L, v, q, w, E, R, T, P ), D !== 0 && _(D, U, M), H !== 0 && _(H, N, W), ae < b && de < g && c( Y, ae, b, de, g, w, E, R, T, P ); }, "findSubsequences"), d = /* @__PURE__ */ o((m, h) => { if (typeof h != "number") throw new TypeError(`${e}: ${m} typeof ${typeof h} is not a number`); if (!Number.isSafeInteger(h)) throw new RangeError(`${e}: ${m} value ${h} is not a safe integer`); if (h < 0) throw new RangeError(`${e}: ${m} value ${h} is a negative integer`); }, "validateLength"), p = /* @__PURE__ */ o((m, h) => { let b = typeof h; if (b !== "function") throw new TypeError(`${e}: ${m} typeof ${b} is not a function`); }, "validateCallback"); function f(m, h, b, v) { d("aLength", m), d("bLength", h), p("isCommon", b), p("foundSubsequence", v); let g = r(0, m, 0, h, b); if (g !== 0 && v(g, 0, 0), m !== g || h !== g) { let w = g, E = g, R = n( w, m - 1, E, h - 1, b ), T = m - R, P = h - R, _ = g + R; m !== _ && h !== _ && c( 0, w, T, E, P, !1, [ { foundSubsequence: v, isCommon: b } ], [t], [t], { aCommonFollowing: t, aCommonPreceding: t, aEndPreceding: t, aStartFollowing: t, bCommonFollowing: t, bCommonPreceding: t, bEndPreceding: t, bStartFollowing: t, nChangeFollowing: t, nChangePreceding: t, nCommonFollowing: t, nCommonPreceding: t } ), R !== 0 && v(R, T, P); } } return o(f, "diffSequence"), gl; } o(H6, "requireBuild"); var V6 = H6(), HC = /* @__PURE__ */ SC(V6); function z6(e, t) { return e.replace(/\s+$/, (r) => t(r)); } o(z6, "formatTrailingSpaces"); function ev(e, t, r, n, i, s) { return e.length !== 0 ? r(`${n} ${z6(e, i)}`) : n !== " " ? r(n) : t && s.length !== 0 ? r(`${n} ${s}`) : ""; } o(ev, "printDiffLine"); function VC(e, t, { aColor: r, aIndicator: n, changeLineTrailingSpaceColor: i, emptyFirstOrLastLinePlaceholder: s }) { return ev(e, t, r, n, i, s); } o(VC, "printDeleteLine"); function zC(e, t, { bColor: r, bIndicator: n, changeLineTrailingSpaceColor: i, emptyFirstOrLastLinePlaceholder: s }) { return ev(e, t, r, n, i, s); } o(zC, "printInsertLine"); function GC(e, t, { commonColor: r, commonIndicator: n, commonLineTrailingSpaceColor: i, emptyFirstOrLastLinePlaceholder: s }) { return ev(e, t, r, n, i, s); } o(GC, "printCommonLine"); function OC(e, t, r, n, { patchColor: i }) { return i(`@@ -${e + 1},${t - e} +${r + 1},${n - r} @@`); } o(OC, "createPatchMark"); function G6(e, t) { let r = e.length, n = t.contextLines, i = n + n, s = r, a = !1, l = 0, u = 0; for (; u !== r; ) { let R = u; for (; u !== r && e[u][0] === Ie; ) u += 1; if (R !== u) if (R === 0) u > n && (s -= u - n, a = !0); else if (u === r) { let T = u - R; T > n && (s -= T - n, a = !0); } else { let T = u - R; T > i && (s -= T - i, l += 1); } for (; u !== r && e[u][0] !== Ie; ) u += 1; } let c = l !== 0 || a; l !== 0 ? s += l + 1 : a && (s += 1); let d = s - 1, p = [], f = 0; c && p.push(""); let m = 0, h = 0, b = 0, v = 0, g = /* @__PURE__ */ o((R) => { let T = p.length; p.push(GC(R, T === 0 || T === d, t)), b += 1, v += 1; }, "pushCommonLine"), w = /* @__PURE__ */ o((R) => { let T = p.length; p.push(VC(R, T === 0 || T === d, t)), b += 1; }, "pushDeleteLine"), E = /* @__PURE__ */ o((R) => { let T = p.length; p.push(zC(R, T === 0 || T === d, t)), v += 1; }, "pushInsertLine"); for (u = 0; u !== r; ) { let R = u; for (; u !== r && e[u][0] === Ie; ) u += 1; if (R !== u) if (R === 0) { u > n && (R = u - n, m = R, h = R, b = m, v = h); for (let T = R; T !== u; T += 1) g(e[T][1]); } else if (u === r) { let T = u - R > n ? R + n : u; for (let P = R; P !== T; P += 1) g(e[P][1]); } else { let T = u - R; if (T > i) { let P = R + n; for (let C = R; C !== P; C += 1) g(e[C][1]); p[f] = OC(m, b, h, v, t), f = p.length, p.push(""); let _ = T - i; m = b + _, h = v + _, b = m, v = h; for (let C = u - n; C !== u; C += 1) g(e[C][1]); } else for (let P = R; P !== u; P += 1) g(e[P][1]); } for (; u !== r && e[u][0] === tt; ) w(e[u][1]), u += 1; for (; u !== r && e[u][0] === Ke; ) E(e[u][1]), u += 1; } return c && (p[f] = OC(m, b, h, v, t)), p.join(` `); } o(G6, "joinAlignedDiffsNoExpand"); function W6(e, t) { return e.map((r, n, i) => { let s = r[1], a = n === 0 || n === i.length - 1; switch (r[0]) { case tt: return VC(s, a, t); case Ke: return zC(s, a, t); default: return GC(s, a, t); } }).join(` `); } o(W6, "joinAlignedDiffsExpand"); var Yg = /* @__PURE__ */ o((e) => e, "noColor"), WC = 5, Y6 = 0; function K6() { return { aAnnotation: "Expected", aColor: Ee.green, aIndicator: "-", bAnnotation: "Received", bColor: Ee.red, bIndicator: "+", changeColor: Ee.inverse, changeLineTrailingSpaceColor: Yg, commonColor: Ee.dim, commonIndicator: " ", commonLineTrailingSpaceColor: Yg, compareKeys: void 0, contextLines: WC, emptyFirstOrLastLinePlaceholder: "", expand: !1, includeChangeCounts: !1, omitAnnotationLines: !1, patchColor: Ee.yellow, printBasicPrototype: !1, truncateThreshold: Y6, truncateAnnotation: "... Diff result is truncated", truncateAnnotationColor: Yg }; } o(K6, "getDefaultOptions"); function X6(e) { return e && typeof e == "function" ? e : void 0; } o(X6, "getCompareKeys"); function J6(e) { return typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : WC; } o(J6, "getContextLines"); function wn(e = {}) { return { ...K6(), ...e, compareKeys: X6(e.compareKeys), contextLines: J6(e.contextLines) }; } o(wn, "normalizeDiffOptions"); function Ro(e) { return e.length === 1 && e[0].length === 0; } o(Ro, "isEmptyString"); function Q6(e) { let t = 0, r = 0; return e.forEach((n) => { switch (n[0]) { case tt: t += 1; break; case Ke: r += 1; break; } }), { a: t, b: r }; } o(Q6, "countChanges"); function Z6({ aAnnotation: e, aColor: t, aIndicator: r, bAnnotation: n, bColor: i, bIndicator: s, includeChangeCounts: a, omitAnnotationLines: l }, u) { if (l) return ""; let c = "", d = ""; if (a) { let m = String(u.a), h = String(u.b), b = n.length - e.length, v = " ".repeat(Math.max(0, b)), g = " ".repeat(Math.max(0, -b)), w = h.length - m.length, E = " ".repeat(Math.max(0, w)), R = " ".repeat(Math.max(0, -w)); c = `${v} ${r} ${E}${m}`, d = `${g} ${s} ${R}${h}`; } let p = `${r} ${e}${c}`, f = `${s} ${n}${d}`; return `${t(p)} ${i(f)} `; } o(Z6, "printAnnotation"); function tv(e, t, r) { return Z6(r, Q6(e)) + (r.expand ? W6(e, r) : G6(e, r)) + (t ? r.truncateAnnotationColor(` ${r.truncateAnnotation}`) : ""); } o(tv, "printDiffLines"); function El(e, t, r) { let n = wn(r), [i, s] = YC(Ro(e) ? [] : e, Ro(t) ? [] : t, n); return tv(i, s, n); } o(El, "diffLinesUnified"); function eW(e, t, r, n, i) { if (Ro(e) && Ro(r) && (e = [], r = []), Ro(t) && Ro(n) && (t = [], n = []), e.length !== r.length || t.length !== n.length) return El(e, t, i); let [s, a] = YC(r, n, i), l = 0, u = 0; return s.forEach((c) => { switch (c[0]) { case tt: c[1] = e[l], l += 1; break; case Ke: c[1] = t[u], u += 1; break; default: c[1] = t[u], l += 1, u += 1; } }), tv(s, a, wn(i)); } o(eW, "diffLinesUnified2"); function YC(e, t, r) { let n = r?.truncateThreshold ?? !1, i = Math.max(Math.floor(r?.truncateThreshold ?? 0), 0), s = n ? Math.min(e.length, i) : e.length, a = n ? Math.min(t.length, i) : t.length, l = s !== e.length || a !== t.length, u = /* @__PURE__ */ o((m, h) => e[m] === t[h], "isCommon"), c = [], d = 0, p = 0; for (HC(s, a, u, /* @__PURE__ */ o((m, h, b) => { for (; d !== h; d += 1) c.push(new Se(tt, e[d])); for (; p !== b; p += 1) c.push(new Se(Ke, t[p])); for (; m !== 0; m -= 1, d += 1, p += 1) c.push(new Se(Ie, t[p])); }, "foundSubsequence")); d !== s; d += 1) c.push(new Se(tt, e[d])); for (; p !== a; p += 1) c.push(new Se(Ke, t[p])); return [c, l]; } o(YC, "diffLinesRaw"); function qC(e) { if (e === void 0) return "undefined"; if (e === null) return "null"; if (Array.isArray(e)) return "array"; if (typeof e == "boolean") return "boolean"; if (typeof e == "function") return "function"; if (typeof e == "number") return "number"; if (typeof e == "string") return "string"; if (typeof e == "bigint") return "bigint"; if (typeof e == "object") { if (e != null) { if (e.constructor === RegExp) return "regexp"; if (e.constructor === Map) return "map"; if (e.constructor === Set) return "set"; if (e.constructor === Date) return "date"; } return "object"; } else if (typeof e == "symbol") return "symbol"; throw new Error(`value of unknown type: ${e}`); } o(qC, "getType"); function IC(e) { return e.includes(`\r `) ? `\r ` : ` `; } o(IC, "getNewLineSymbol"); function tW(e, t, r) { let n = r?.truncateThreshold ?? !1, i = Math.max(Math.floor(r?.truncateThreshold ?? 0), 0), s = e.length, a = t.length; if (n) { let m = e.includes(` `), h = t.includes(` `), b = IC(e), v = IC(t), g = m ? `${e.split(b, i).join(b)} ` : e, w = h ? `${t.split(v, i).join(v)} ` : t; s = g.length, a = w.length; } let l = s !== e.length || a !== t.length, u = /* @__PURE__ */ o((m, h) => e[m] === t[h], "isCommon"), c = 0, d = 0, p = []; return HC(s, a, u, /* @__PURE__ */ o((m, h, b) => { c !== h && p.push(new Se(tt, e.slice(c, h))), d !== b && p.push(new Se(Ke, t.slice(d, b))), c = h + m, d = b + m, p.push(new Se(Ie, t.slice( b, d))); }, "foundSubsequence")), c !== s && p.push(new Se(tt, e.slice(c))), d !== a && p.push(new Se(Ke, t.slice(d))), [p, l]; } o(tW, "diffStrings"); function rW(e, t, r) { return t.reduce((n, i) => n + (i[0] === Ie ? i[1] : i[0] === e && i[1].length !== 0 ? r(i[1]) : ""), ""); } o(rW, "concatenateRelevantDiffs"); var nv = class nv { op; line; lines; changeColor; constructor(t, r) { this.op = t, this.line = [], this.lines = [], this.changeColor = r; } pushSubstring(t) { this.pushDiff(new Se(this.op, t)); } pushLine() { this.lines.push(this.line.length !== 1 ? new Se(this.op, rW(this.op, this.line, this.changeColor)) : this.line[0][0] === this.op ? this. line[0] : new Se(this.op, this.line[0][1])), this.line.length = 0; } isLineEmpty() { return this.line.length === 0; } // Minor input to buffer. pushDiff(t) { this.line.push(t); } // Main input to buffer. align(t) { let r = t[1]; if (r.includes(` `)) { let n = r.split(` `), i = n.length - 1; n.forEach((s, a) => { a < i ? (this.pushSubstring(s), this.pushLine()) : s.length !== 0 && this.pushSubstring(s); }); } else this.pushDiff(t); } // Output from buffer. moveLinesTo(t) { this.isLineEmpty() || this.pushLine(), t.push(...this.lines), this.lines.length = 0; } }; o(nv, "ChangeBuffer"); var vl = nv, ov = class ov { deleteBuffer; insertBuffer; lines; constructor(t, r) { this.deleteBuffer = t, this.insertBuffer = r, this.lines = []; } pushDiffCommonLine(t) { this.lines.push(t); } pushDiffChangeLines(t) { let r = t[1].length === 0; (!r || this.deleteBuffer.isLineEmpty()) && this.deleteBuffer.pushDiff(t), (!r || this.insertBuffer.isLineEmpty()) && this.insertBuffer.pushDiff( t); } flushChangeLines() { this.deleteBuffer.moveLinesTo(this.lines), this.insertBuffer.moveLinesTo(this.lines); } // Input to buffer. align(t) { let r = t[0], n = t[1]; if (n.includes(` `)) { let i = n.split(` `), s = i.length - 1; i.forEach((a, l) => { if (l === 0) { let u = new Se(r, a); this.deleteBuffer.isLineEmpty() && this.insertBuffer.isLineEmpty() ? (this.flushChangeLines(), this.pushDiffCommonLine(u)) : (this. pushDiffChangeLines(u), this.flushChangeLines()); } else l < s ? this.pushDiffCommonLine(new Se(r, a)) : a.length !== 0 && this.pushDiffChangeLines(new Se(r, a)); }); } else this.pushDiffChangeLines(t); } // Output from buffer. getLines() { return this.flushChangeLines(), this.lines; } }; o(ov, "CommonBuffer"); var Xg = ov; function nW(e, t) { let r = new vl(tt, t), n = new vl(Ke, t), i = new Xg(r, n); return e.forEach((s) => { switch (s[0]) { case tt: r.align(s); break; case Ke: n.align(s); break; default: i.align(s); } }), i.getLines(); } o(nW, "getAlignedDiffs"); function oW(e, t) { if (t) { let r = e.length - 1; return e.some((n, i) => n[0] === Ie && (i !== r || n[1] !== ` `)); } return e.some((r) => r[0] === Ie); } o(oW, "hasCommonDiff"); function iW(e, t, r) { if (e !== t && e.length !== 0 && t.length !== 0) { let n = e.includes(` `) || t.includes(` `), [i, s] = KC(n ? `${e} ` : e, n ? `${t} ` : t, !0, r); if (oW(i, n)) { let a = wn(r), l = nW(i, a.changeColor); return tv(l, s, a); } } return El(e.split(` `), t.split(` `), r); } o(iW, "diffStringsUnified"); function KC(e, t, r, n) { let [i, s] = tW(e, t, n); return r && F6(i), [i, s]; } o(KC, "diffStringsRaw"); function Jg(e, t) { let { commonColor: r } = wn(t); return r(e); } o(Jg, "getCommonMessage"); var { AsymmetricMatcher: sW, DOMCollection: aW, DOMElement: lW, Immutable: uW, ReactElement: cW, ReactTestComponent: dW } = Ji, XC = [ dW, cW, lW, aW, uW, sW, Ji.Error ], Qg = { maxDepth: 20, plugins: XC }, JC = { callToJSON: !1, maxDepth: 8, plugins: XC }; function Sn(e, t, r) { if (Object.is(e, t)) return ""; let n = qC(e), i = n, s = !1; if (n === "object" && typeof e.asymmetricMatch == "function") { if (e.$$typeof !== Symbol.for("jest.asymmetricMatcher") || typeof e.getExpectedType != "function") return; i = e.getExpectedType(), s = i === "string"; } if (i !== qC(t)) { let v = function(E) { return E.length <= b ? E : `${E.slice(0, b)}...`; }; o(v, "truncate"); let { aAnnotation: a, aColor: l, aIndicator: u, bAnnotation: c, bColor: d, bIndicator: p } = wn(r), f = Zg(JC, r), m = Tt(e, f), h = Tt( t, f), b = 1e5; m = v(m), h = v(h); let g = `${l(`${u} ${a}:`)} ${m}`, w = `${d(`${p} ${c}:`)} ${h}`; return `${g} ${w}`; } if (!s) switch (n) { case "string": return El(e.split(` `), t.split(` `), r); case "boolean": case "number": return pW(e, t, r); case "map": return Kg(MC(e), MC(t), r); case "set": return Kg(NC(e), NC(t), r); default: return Kg(e, t, r); } } o(Sn, "diff"); function pW(e, t, r) { let n = Tt(e, Qg), i = Tt(t, Qg); return n === i ? "" : El(n.split(` `), i.split(` `), r); } o(pW, "comparePrimitive"); function MC(e) { return new Map(Array.from(e.entries()).sort()); } o(MC, "sortMap"); function NC(e) { return new Set(Array.from(e.values()).sort()); } o(NC, "sortSet"); function Kg(e, t, r) { let n, i = !1; try { let a = Zg(Qg, r); n = jC(e, t, a, r); } catch { i = !0; } let s = Jg(UC, r); if (n === void 0 || n === s) { let a = Zg(JC, r); n = jC(e, t, a, r), n !== s && !i && (n = `${Jg(U6, r)} ${n}`); } return n; } o(Kg, "compareObjects"); function Zg(e, t) { let { compareKeys: r, printBasicPrototype: n, maxDepth: i } = wn(t); return { ...e, compareKeys: r, printBasicPrototype: n, maxDepth: i ?? e.maxDepth }; } o(Zg, "getFormatOptions"); function jC(e, t, r, n) { let i = { ...r, indent: 0 }, s = Tt(e, i), a = Tt(t, i); if (s === a) return Jg(UC, n); { let l = Tt(e, r), u = Tt(t, r); return eW(l.split(` `), u.split(` `), s.split(` `), a.split(` `), n); } } o(jC, "getObjectsDifference"); var kC = 2e4; function LC(e) { return xn(e) === "Object" && typeof e.asymmetricMatch == "function"; } o(LC, "isAsymmetricMatcher"); function FC(e, t) { let r = xn(e), n = xn(t); return r === n && (r === "Object" || r === "Array"); } o(FC, "isReplaceable"); function xl(e, t, r) { let { aAnnotation: n, bAnnotation: i } = wn(r); if (typeof t == "string" && typeof e == "string" && t.length > 0 && e.length > 0 && t.length <= kC && e.length <= kC && t !== e) { if (t.includes(` `) || e.includes(` `)) return iW(t, e, r); let [d] = KC(t, e, !0), p = d.some((b) => b[0] === Ie), f = fW(n, i), m = f(n) + yW(DC(d, tt, p)), h = f(i) + hW(DC(d, Ke, p)); return `${m} ${h}`; } let s = yl(t, { forceWritable: !0 }), a = yl(e, { forceWritable: !0 }), { replacedExpected: l, replacedActual: u } = QC(a, s); return Sn(l, u, r); } o(xl, "printDiffOrStringify"); function QC(e, t, r = /* @__PURE__ */ new WeakSet(), n = /* @__PURE__ */ new WeakSet()) { return e instanceof Error && t instanceof Error && typeof e.cause < "u" && typeof t.cause > "u" ? (delete e.cause, { replacedActual: e, replacedExpected: t }) : FC(e, t) ? r.has(e) || n.has(t) ? { replacedActual: e, replacedExpected: t } : (r.add(e), n.add(t), hl(t).forEach((i) => { let s = t[i], a = e[i]; if (LC(s)) s.asymmetricMatch(a) && (e[i] = s); else if (LC(a)) a.asymmetricMatch(s) && (t[i] = a); else if (FC(a, s)) { let l = QC(a, s, r, n); e[i] = l.replacedActual, t[i] = l.replacedExpected; } }), { replacedActual: e, replacedExpected: t }) : { replacedActual: e, replacedExpected: t }; } o(QC, "replaceAsymmetricMatcher"); function fW(...e) { let t = e.reduce((r, n) => n.length > r ? n.length : r, 0); return (r) => `${r}: ${" ".repeat(t - r.length)}`; } o(fW, "getLabelPrinter"); var mW = "\xB7"; function ZC(e) { return e.replace(/\s+$/gm, (t) => mW.repeat(t.length)); } o(ZC, "replaceTrailingSpaces"); function hW(e) { return Ee.red(ZC(Ye(e))); } o(hW, "printReceived"); function yW(e) { return Ee.green(ZC(Ye(e))); } o(yW, "printExpected"); function DC(e, t, r) { return e.reduce((n, i) => n + (i[0] === Ie ? i[1] : i[0] === t ? r ? Ee.inverse(i[1]) : i[1] : ""), ""); } o(DC, "getCommonAndChangedSubstrings"); // ../node_modules/@vitest/utils/dist/error.js var bW = "@@__IMMUTABLE_RECORD__@@", gW = "@@__IMMUTABLE_ITERABLE__@@"; function vW(e) { return e && (e[gW] || e[bW]); } o(vW, "isImmutable"); var EW = Object.getPrototypeOf({}); function eP(e) { return e instanceof Error ? `: ${e.message}` : typeof e == "string" ? `: ${e}` : ""; } o(eP, "getUnserializableMessage"); function Nr(e, t = /* @__PURE__ */ new WeakMap()) { if (!e || typeof e == "string") return e; if (e instanceof Error && "toJSON" in e && typeof e.toJSON == "function") { let r = e.toJSON(); return r && r !== e && typeof r == "object" && (typeof e.message == "string" && wl(() => r.message ?? (r.message = e.message)), typeof e. stack == "string" && wl(() => r.stack ?? (r.stack = e.stack)), typeof e.name == "string" && wl(() => r.name ?? (r.name = e.name)), e.cause != null && wl(() => r.cause ?? (r.cause = Nr(e.cause, t)))), Nr(r, t); } if (typeof e == "function") return `Function<${e.name || "anonymous"}>`; if (typeof e == "symbol") return e.toString(); if (typeof e != "object") return e; if (typeof Buffer < "u" && e instanceof Buffer) return ``; if (typeof Uint8Array < "u" && e instanceof Uint8Array) return ``; if (vW(e)) return Nr(e.toJSON(), t); if (e instanceof Promise || e.constructor && e.constructor.prototype === "AsyncFunction") return "Promise"; if (typeof Element < "u" && e instanceof Element) return e.tagName; if (typeof e.asymmetricMatch == "function") return `${e.toString()} ${Gg(e.sample)}`; if (typeof e.toJSON == "function") return Nr(e.toJSON(), t); if (t.has(e)) return t.get(e); if (Array.isArray(e)) { let r = new Array(e.length); return t.set(e, r), e.forEach((n, i) => { try { r[i] = Nr(n, t); } catch (s) { r[i] = eP(s); } }), r; } else { let r = /* @__PURE__ */ Object.create(null); t.set(e, r); let n = e; for (; n && n !== EW; ) Object.getOwnPropertyNames(n).forEach((i) => { if (!(i in r)) try { r[i] = Nr(e[i], t); } catch (s) { delete r[i], r[i] = eP(s); } }), n = Object.getPrototypeOf(n); return r; } } o(Nr, "serializeValue"); function wl(e) { try { return e(); } catch { } } o(wl, "safe"); function xW(e) { return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g, ""); } o(xW, "normalizeErrorMessage"); function Qi(e, t, r = /* @__PURE__ */ new WeakSet()) { if (!e || typeof e != "object") return { message: String(e) }; let n = e; (n.showDiff || n.showDiff === void 0 && n.expected !== void 0 && n.actual !== void 0) && (n.diff = xl(n.actual, n.expected, { ...t, ...n.diffOptions })), "expected" in n && typeof n.expected != "string" && (n.expected = Ye(n.expected, 10)), "actual" in n && typeof n.actual != "string" && (n.actual = Ye(n.actual, 10)); try { typeof n.message == "string" && (n.message = xW(n.message)); } catch { } try { !r.has(n) && typeof n.cause == "object" && (r.add(n), n.cause = Qi(n.cause, t, r)); } catch { } try { return Nr(n); } catch (i) { return Nr(new Error(`Failed to fully serialize error: ${i?.message} Inner error message: ${n?.message}`)); } } o(Qi, "processError"); // src/instrumenter/EVENTS.ts var tr = { CALL: "storybook/instrumenter/call", SYNC: "storybook/instrumenter/sync", START: "storybook/instrumenter/start", BACK: "storybook/instrumenter/back", GOTO: "storybook/instrumenter/goto", NEXT: "storybook/instrumenter/next", END: "storybook/instrumenter/end" }; // src/instrumenter/preview-api.ts var Sl = globalThis.__STORYBOOK_ADDONS_PREVIEW; // src/instrumenter/instrumenter.ts var wW = new Error( "This function ran after the play function completed. Did you forget to `await` it?" ), tP = /* @__PURE__ */ o((e) => Object.prototype.toString.call(e) === "[object Object]", "isObject"), SW = /* @__PURE__ */ o((e) => Object. prototype.toString.call(e) === "[object Module]", "isModule"), RW = /* @__PURE__ */ o((e) => { if (!tP(e) && !SW(e)) return !1; if (e.constructor === void 0) return !0; let t = e.constructor.prototype; return !!tP(t); }, "isInstrumentable"), TW = /* @__PURE__ */ o((e) => { try { return new e.constructor(); } catch { return {}; } }, "construct"), iv = /* @__PURE__ */ o(() => ({ renderPhase: void 0, isDebugging: !1, isPlaying: !1, isLocked: !1, cursor: 0, calls: [], shadowCalls: [], callRefsByResult: /* @__PURE__ */ new Map(), chainedCallIds: /* @__PURE__ */ new Set(), ancestors: [], playUntil: void 0, resolvers: {}, syncTimeout: void 0 }), "getInitialState"), rP = /* @__PURE__ */ o((e, t = !1) => { let r = (t ? e.shadowCalls : e.calls).filter((i) => i.retain); if (!r.length) return; let n = new Map( Array.from(e.callRefsByResult.entries()).filter(([, i]) => i.retain) ); return { cursor: r.length, calls: r, callRefsByResult: n }; }, "getRetainedState"), av = class av { constructor() { this.detached = !1; this.initialized = !1; // State is tracked per story to deal with multiple stories on the same canvas (i.e. docs mode) this.state = {}; this.loadParentWindowState = /* @__PURE__ */ o(() => { try { this.state = k.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ || {}; } catch { this.detached = !0; } }, "loadParentWindowState"); this.updateParentWindowState = /* @__PURE__ */ o(() => { try { k.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ = this.state; } catch { this.detached = !0; } }, "updateParentWindowState"); this.loadParentWindowState(); let t = /* @__PURE__ */ o(({ storyId: u, isPlaying: c = !0, isDebugging: d = !1 }) => { let p = this.getState(u); this.setState(u, { ...iv(), ...rP(p, d), shadowCalls: d ? p.shadowCalls : [], chainedCallIds: d ? p.chainedCallIds : /* @__PURE__ */ new Set(), playUntil: d ? p.playUntil : void 0, isPlaying: c, isDebugging: d }), this.sync(u); }, "resetState"), r = /* @__PURE__ */ o((u) => ({ storyId: c, playUntil: d }) => { this.getState(c).isDebugging || this.setState(c, ({ calls: f }) => ({ calls: [], shadowCalls: f.map((m) => ({ ...m, status: "waiting" })), isDebugging: !0 })); let p = this.getLog(c); this.setState(c, ({ shadowCalls: f }) => { if (d || !p.length) return { playUntil: d }; let m = f.findIndex((h) => h.id === p[0].callId); return { playUntil: f.slice(0, m).filter((h) => h.interceptable && !h.ancestors?.length).slice(-1)[0]?.id }; }), u.emit(lo, { storyId: c, isDebugging: !0 }); }, "start"), n = /* @__PURE__ */ o((u) => ({ storyId: c }) => { let d = this.getLog(c).filter((f) => !f.ancestors?.length), p = d.reduceRight((f, m, h) => f >= 0 || m.status === "waiting" ? f : h, -1); r(u)({ storyId: c, playUntil: d[p - 1]?.callId }); }, "back"), i = /* @__PURE__ */ o((u) => ({ storyId: c, callId: d }) => { let { calls: p, shadowCalls: f, resolvers: m } = this.getState(c), h = p.find(({ id: v }) => v === d), b = f.find(({ id: v }) => v === d); if (!h && b && Object.values(m).length > 0) { let v = this.getLog(c).find((g) => g.status === "waiting")?.callId; b.id !== v && this.setState(c, { playUntil: b.id }), Object.values(m).forEach((g) => g()); } else r(u)({ storyId: c, playUntil: d }); }, "goto"), s = /* @__PURE__ */ o((u) => ({ storyId: c }) => { let { resolvers: d } = this.getState(c); if (Object.values(d).length > 0) Object.values(d).forEach((p) => p()); else { let p = this.getLog(c).find((f) => f.status === "waiting")?.callId; p ? r(u)({ storyId: c, playUntil: p }) : a({ storyId: c }); } }, "next"), a = /* @__PURE__ */ o(({ storyId: u }) => { this.setState(u, { playUntil: void 0, isDebugging: !1 }), Object.values(this.getState(u).resolvers).forEach((c) => c()); }, "end"), l = /* @__PURE__ */ o(({ storyId: u, newPhase: c }) => { let { isDebugging: d } = this.getState(u); this.setState(u, { renderPhase: c }), c === "preparing" && d && t({ storyId: u }), c === "playing" && t({ storyId: u, isDebugging: d }), c === "played" && this.setState(u, { isLocked: !1, isPlaying: !1, isDebugging: !1 }), c === "errored" && this.setState(u, { isLocked: !1, isPlaying: !1 }); }, "renderPhaseChanged"); Sl && Sl.ready().then(() => { this.channel = Sl.getChannel(), this.channel.on(lo, t), this.channel.on(jt, l), this.channel.on(Ci, () => { this.initialized ? this.cleanup() : this.initialized = !0; }), this.channel.on(tr.START, r(this.channel)), this.channel.on(tr.BACK, n(this.channel)), this.channel.on(tr.GOTO, i(this.channel)), this. channel.on(tr.NEXT, s(this.channel)), this.channel.on(tr.END, a); }); } getState(t) { return this.state[t] || iv(); } setState(t, r) { let n = this.getState(t), i = typeof r == "function" ? r(n) : r; this.state = { ...this.state, [t]: { ...n, ...i } }, this.updateParentWindowState(); } cleanup() { this.state = Object.entries(this.state).reduce( (n, [i, s]) => { let a = rP(s); return a && (n[i] = Object.assign(iv(), a)), n; }, {} ); let r = { controlStates: { detached: this.detached, start: !1, back: !1, goto: !1, next: !1, end: !1 }, logItems: [] }; this.channel?.emit(tr.SYNC, r), this.updateParentWindowState(); } getLog(t) { let { calls: r, shadowCalls: n } = this.getState(t), i = [...n]; r.forEach((a, l) => { i[l] = a; }); let s = /* @__PURE__ */ new Set(); return i.reduceRight((a, l) => (l.args.forEach((u) => { u?.__callId__ && s.add(u.__callId__); }), l.path.forEach((u) => { u.__callId__ && s.add(u.__callId__); }), (l.interceptable || l.exception) && !s.has(l.id) && (a.unshift({ callId: l.id, status: l.status, ancestors: l.ancestors }), s.add(l. id)), a), []); } // Traverses the object structure to recursively patch all function properties. // Returns the original object, or a new object with the same constructor, // depending on whether it should mutate. instrument(t, r, n = 0) { if (!RW(t)) return t; let { mutate: i = !1, path: s = [] } = r, a = r.getKeys ? r.getKeys(t, n) : Object.keys(t); return n += 1, a.reduce( (l, u) => { let c = _W(t, u); if (typeof c?.get == "function") { if (c.configurable) { let p = /* @__PURE__ */ o(() => c?.get?.bind(t)?.(), "getter"); Object.defineProperty(l, u, { get: /* @__PURE__ */ o(() => this.instrument(p(), { ...r, path: s.concat(u) }, n), "get") }); } return l; } let d = t[u]; return typeof d != "function" ? (l[u] = this.instrument(d, { ...r, path: s.concat(u) }, n), l) : "__originalFn__" in d && typeof d.__originalFn__ == "function" ? (l[u] = d, l) : (l[u] = (...p) => this.track(u, d, t, p, r), l[u].__originalFn__ = d, Object.defineProperty(l[u], "name", { value: u, writable: !1 }), Object.keys(d).length > 0 && Object.assign( l[u], this.instrument({ ...d }, { ...r, path: s.concat(u) }, n) ), l); }, i ? t : TW(t) ); } // Monkey patch an object method to record calls. // Returns a function that invokes the original function, records the invocation ("call") and // returns the original result. track(t, r, n, i, s) { let a = i?.[0]?.__storyId__ || k.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId, { cursor: l, ancestors: u } = this.getState( a); this.setState(a, { cursor: l + 1 }); let c = `${u.slice(-1)[0] || a} [${l}] ${t}`, { path: d = [], intercept: p = !1, retain: f = !1 } = s, m = typeof p == "function" ? p(t, d) : p, h = { id: c, cursor: l, storyId: a, ancestors: u, path: d, method: t, args: i, interceptable: m, retain: f }, v = (m && !u.length ? this.intercept : this.invoke).call(this, r, n, h, s); return this.instrument(v, { ...s, mutate: !0, path: [{ __callId__: h.id }] }); } intercept(t, r, n, i) { let { chainedCallIds: s, isDebugging: a, playUntil: l } = this.getState(n.storyId), u = s.has(n.id); return !a || u || l ? (l === n.id && this.setState(n.storyId, { playUntil: void 0 }), this.invoke(t, r, n, i)) : new Promise((c) => { this.setState(n.storyId, ({ resolvers: d }) => ({ isLocked: !1, resolvers: { ...d, [n.id]: c } })); }).then(() => (this.setState(n.storyId, (c) => { let { [n.id]: d, ...p } = c.resolvers; return { isLocked: !0, resolvers: p }; }), this.invoke(t, r, n, i))); } invoke(t, r, n, i) { let { callRefsByResult: s, renderPhase: a } = this.getState(n.storyId), l = 25, u = /* @__PURE__ */ o((p, f, m) => { if (m.includes(p)) return "[Circular]"; if (m = [...m, p], f > l) return "..."; if (s.has(p)) return s.get(p); if (p instanceof Array) return p.map((h) => u(h, ++f, m)); if (p instanceof Date) return { __date__: { value: p.toISOString() } }; if (p instanceof Error) { let { name: h, message: b, stack: v } = p; return { __error__: { name: h, message: b, stack: v } }; } if (p instanceof RegExp) { let { flags: h, source: b } = p; return { __regexp__: { flags: h, source: b } }; } if (p instanceof k.window?.HTMLElement) { let { prefix: h, localName: b, id: v, classList: g, innerText: w } = p, E = Array.from(g); return { __element__: { prefix: h, localName: b, id: v, classNames: E, innerText: w } }; } return typeof p == "function" ? { __function__: { name: "getMockName" in p ? p.getMockName() : p.name } } : typeof p == "symbol" ? { __symbol__: { description: p.description } } : typeof p == "object" && p?.constructor?.name && p?.constructor?. name !== "Object" ? { __class__: { name: p.constructor.name } } : Object.prototype.toString.call(p) === "[object Object]" ? Object.fromEntries( Object.entries(p).map(([h, b]) => [h, u(b, ++f, m)]) ) : p; }, "serializeValues"), c = { ...n, args: n.args.map((p) => u(p, 0, [])) }; n.path.forEach((p) => { p?.__callId__ && this.setState(n.storyId, ({ chainedCallIds: f }) => ({ chainedCallIds: new Set(Array.from(f).concat(p.__callId__)) })); }); let d = /* @__PURE__ */ o((p) => { if (p instanceof Error) { let { name: f, message: m, stack: h, callId: b = n.id } = p, { showDiff: v = void 0, diff: g = void 0, actual: w = void 0, expected: E = void 0 } = p.name === "AssertionError" ? Qi(p) : p, R = { name: f, message: m, stack: h, callId: b, showDiff: v, diff: g, actual: w, expected: E }; if (this.update({ ...c, status: "error", exception: R }), this.setState(n.storyId, (T) => ({ callRefsByResult: new Map([ ...Array.from(T.callRefsByResult.entries()), [p, { __callId__: n.id, retain: n.retain }] ]) })), n.ancestors?.length) throw Object.prototype.hasOwnProperty.call(p, "callId") || Object.defineProperty(p, "callId", { value: n.id }), p; } throw p; }, "handleException"); try { if (a === "played" && !n.retain) throw wW; let f = (i.getArgs ? i.getArgs(n, this.getState(n.storyId)) : n.args).map((h) => typeof h != "function" || CW(h) || Object.keys(h).length ? h : (...b) => { let { cursor: v, ancestors: g } = this.getState(n.storyId); this.setState(n.storyId, { cursor: 0, ancestors: [...g, n.id] }); let w = /* @__PURE__ */ o(() => this.setState(n.storyId, { cursor: v, ancestors: g }), "restore"), E = !1; try { let R = h(...b); return R instanceof Promise ? (E = !0, R.finally(w)) : R; } finally { E || w(); } }), m = t.apply(r, f); return m && ["object", "function", "symbol"].includes(typeof m) && this.setState(n.storyId, (h) => ({ callRefsByResult: new Map([ ...Array.from(h.callRefsByResult.entries()), [m, { __callId__: n.id, retain: n.retain }] ]) })), this.update({ ...c, status: m instanceof Promise ? "active" : "done" }), m instanceof Promise ? m.then((h) => (this.update({ ...c, status: "done" }), h), d) : m; } catch (p) { return d(p); } } // Sends the call info to the manager and synchronizes the log. update(t) { this.channel?.emit(tr.CALL, t), this.setState(t.storyId, ({ calls: r }) => { let n = r.concat(t).reduce((i, s) => Object.assign(i, { [s.id]: s }), {}); return { // Calls are sorted to ensure parent calls always come before calls in their callback. calls: Object.values(n).sort( (i, s) => i.id.localeCompare(s.id, void 0, { numeric: !0 }) ) }; }), this.sync(t.storyId); } // Builds a log of interceptable calls and control states and sends it to the manager. // Uses a 0ms debounce because this might get called many times in one tick. sync(t) { let r = /* @__PURE__ */ o(() => { let { isLocked: n, isPlaying: i } = this.getState(t), s = this.getLog(t), a = s.filter(({ ancestors: p }) => !p.length).find((p) => p. status === "waiting")?.callId, l = s.some((p) => p.status === "active"); if (this.detached || n || l || s.length === 0) { let f = { controlStates: { detached: this.detached, start: !1, back: !1, goto: !1, next: !1, end: !1 }, logItems: s }; this.channel?.emit(tr.SYNC, f); return; } let u = s.some( (p) => p.status === "done" || p.status === "error" ), d = { controlStates: { detached: this.detached, start: u, back: u, goto: !0, next: i, end: i }, logItems: s, pausedAt: a }; this.channel?.emit(tr.SYNC, d); }, "synchronize"); this.setState(t, ({ syncTimeout: n }) => (clearTimeout(n), { syncTimeout: setTimeout(r, 0) })); } }; o(av, "Instrumenter"); var sv = av; function rr(e, t = {}) { try { let r = !1, n = !1; return k.window?.location?.search?.includes("instrument=true") ? r = !0 : k.window?.location?.search?.includes("instrument=false") && (n = !0), k.window?.parent === k.window && !r || n ? e : (k.window && !k.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ && (k.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ = new sv()), (k.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e, t)); } catch (r) { return be.warn(r), e; } } o(rr, "instrument"); function _W(e, t) { let r = e; for (; r != null; ) { let n = Object.getOwnPropertyDescriptor(r, t); if (n) return n; r = Object.getPrototypeOf(r); } } o(_W, "getPropertyDescriptor"); function CW(e) { if (typeof e != "function") return !1; let t = Object.getOwnPropertyDescriptor(e, "prototype"); return t ? !t.writable : !1; } o(CW, "isClass"); // ../node_modules/chai/chai.js var pP = Object.defineProperty, PW = Object.getOwnPropertyNames, I = /* @__PURE__ */ o((e, t) => pP(e, "name", { value: t, configurable: !0 }), "__name"), AW = /* @__PURE__ */ o((e, t) => /* @__PURE__ */ o(function() { return t || (0, e[PW(e)[0]])((t = { exports: {} }).exports, t), t.exports; }, "__require"), "__commonJS"), Rv = /* @__PURE__ */ o((e, t) => { for (var r in t) pP(e, r, { get: t[r], enumerable: !0 }); }, "__export"), OW = AW({ "(disabled):util"() { } }), _t = {}; Rv(_t, { addChainableMethod: /* @__PURE__ */ o(() => kv, "addChainableMethod"), addLengthGuard: /* @__PURE__ */ o(() => ns, "addLengthGuard"), addMethod: /* @__PURE__ */ o(() => Mv, "addMethod"), addProperty: /* @__PURE__ */ o(() => Iv, "addProperty"), checkError: /* @__PURE__ */ o(() => vt, "checkError"), compareByInspect: /* @__PURE__ */ o(() => Cl, "compareByInspect"), eql: /* @__PURE__ */ o(() => DP, "eql"), expectTypes: /* @__PURE__ */ o(() => vP, "expectTypes"), flag: /* @__PURE__ */ o(() => ee, "flag"), getActual: /* @__PURE__ */ o(() => Il, "getActual"), getMessage: /* @__PURE__ */ o(() => Cv, "getMessage"), getName: /* @__PURE__ */ o(() => Nl, "getName"), getOperator: /* @__PURE__ */ o(() => $v, "getOperator"), getOwnEnumerableProperties: /* @__PURE__ */ o(() => Dv, "getOwnEnumerableProperties"), getOwnEnumerablePropertySymbols: /* @__PURE__ */ o(() => Fv, "getOwnEnumerablePropertySymbols"), getPathInfo: /* @__PURE__ */ o(() => qv, "getPathInfo"), hasProperty: /* @__PURE__ */ o(() => Ml, "hasProperty"), inspect: /* @__PURE__ */ o(() => le, "inspect"), isNaN: /* @__PURE__ */ o(() => Pl, "isNaN"), isNumeric: /* @__PURE__ */ o(() => He, "isNumeric"), isProxyEnabled: /* @__PURE__ */ o(() => rs, "isProxyEnabled"), isRegExp: /* @__PURE__ */ o(() => Al, "isRegExp"), objDisplay: /* @__PURE__ */ o(() => Rn, "objDisplay"), overwriteChainableMethod: /* @__PURE__ */ o(() => Lv, "overwriteChainableMethod"), overwriteMethod: /* @__PURE__ */ o(() => jv, "overwriteMethod"), overwriteProperty: /* @__PURE__ */ o(() => Nv, "overwriteProperty"), proxify: /* @__PURE__ */ o(() => Po, "proxify"), test: /* @__PURE__ */ o(() => Tv, "test"), transferFlags: /* @__PURE__ */ o(() => $t, "transferFlags"), type: /* @__PURE__ */ o(() => ye, "type") }); var vt = {}; Rv(vt, { compatibleConstructor: /* @__PURE__ */ o(() => hP, "compatibleConstructor"), compatibleInstance: /* @__PURE__ */ o(() => mP, "compatibleInstance"), compatibleMessage: /* @__PURE__ */ o(() => yP, "compatibleMessage"), getConstructorName: /* @__PURE__ */ o(() => bP, "getConstructorName"), getMessage: /* @__PURE__ */ o(() => gP, "getMessage") }); function ql(e) { return e instanceof Error || Object.prototype.toString.call(e) === "[object Error]"; } o(ql, "isErrorInstance"); I(ql, "isErrorInstance"); function fP(e) { return Object.prototype.toString.call(e) === "[object RegExp]"; } o(fP, "isRegExp"); I(fP, "isRegExp"); function mP(e, t) { return ql(t) && e === t; } o(mP, "compatibleInstance"); I(mP, "compatibleInstance"); function hP(e, t) { return ql(t) ? e.constructor === t.constructor || e instanceof t.constructor : (typeof t == "object" || typeof t == "function") && t.prototype ? e.constructor === t || e instanceof t : !1; } o(hP, "compatibleConstructor"); I(hP, "compatibleConstructor"); function yP(e, t) { let r = typeof e == "string" ? e : e.message; return fP(t) ? t.test(r) : typeof t == "string" ? r.indexOf(t) !== -1 : !1; } o(yP, "compatibleMessage"); I(yP, "compatibleMessage"); function bP(e) { let t = e; return ql(e) ? t = e.constructor.name : typeof e == "function" && (t = e.name, t === "" && (t = new e().name || t)), t; } o(bP, "getConstructorName"); I(bP, "getConstructorName"); function gP(e) { let t = ""; return e && e.message ? t = e.message : typeof e == "string" && (t = e), t; } o(gP, "getMessage"); I(gP, "getMessage"); function ee(e, t, r) { var n = e.__flags || (e.__flags = /* @__PURE__ */ Object.create(null)); if (arguments.length === 3) n[t] = r; else return n[t]; } o(ee, "flag"); I(ee, "flag"); function Tv(e, t) { var r = ee(e, "negate"), n = t[0]; return r ? !n : n; } o(Tv, "test"); I(Tv, "test"); function ye(e) { if (typeof e > "u") return "undefined"; if (e === null) return "null"; let t = e[Symbol.toStringTag]; return typeof t == "string" ? t : Object.prototype.toString.call(e).slice(8, -1); } o(ye, "type"); I(ye, "type"); var qW = "captureStackTrace" in Error, kr, ue = (kr = class extends Error { message; get name() { return "AssertionError"; } get ok() { return !1; } constructor(t = "Unspecified AssertionError", r, n) { super(t), this.message = t, qW && Error.captureStackTrace(this, n || kr); for (let i in r) i in this || (this[i] = r[i]); } toJSON(t) { return { ...this, name: this.name, message: this.message, ok: !1, stack: t !== !1 ? this.stack : void 0 }; } }, o(kr, "_AssertionError"), I(kr, "AssertionError"), kr); function vP(e, t) { var r = ee(e, "message"), n = ee(e, "ssfi"); r = r ? r + ": " : "", e = ee(e, "object"), t = t.map(function(a) { return a.toLowerCase(); }), t.sort(); var i = t.map(function(a, l) { var u = ~["a", "e", "i", "o", "u"].indexOf(a.charAt(0)) ? "an" : "a", c = t.length > 1 && l === t.length - 1 ? "or " : ""; return c + u + " " + a; }).join(", "), s = ye(e).toLowerCase(); if (!t.some(function(a) { return s === a; })) throw new ue( r + "object tested must be " + i + ", but " + s + " given", void 0, n ); } o(vP, "expectTypes"); I(vP, "expectTypes"); function Il(e, t) { return t.length > 4 ? t[4] : e._obj; } o(Il, "getActual"); I(Il, "getActual"); var nP = { bold: ["1", "22"], dim: ["2", "22"], italic: ["3", "23"], underline: ["4", "24"], // 5 & 6 are blinking inverse: ["7", "27"], hidden: ["8", "28"], strike: ["9", "29"], // 10-20 are fonts // 21-29 are resets for 1-9 black: ["30", "39"], red: ["31", "39"], green: ["32", "39"], yellow: ["33", "39"], blue: ["34", "39"], magenta: ["35", "39"], cyan: ["36", "39"], white: ["37", "39"], brightblack: ["30;1", "39"], brightred: ["31;1", "39"], brightgreen: ["32;1", "39"], brightyellow: ["33;1", "39"], brightblue: ["34;1", "39"], brightmagenta: ["35;1", "39"], brightcyan: ["36;1", "39"], brightwhite: ["37;1", "39"], grey: ["90", "39"] }, IW = { special: "cyan", number: "yellow", bigint: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", symbol: "green", date: "magenta", regexp: "red" }, _o = "\u2026"; function EP(e, t) { let r = nP[IW[t]] || nP[t] || ""; return r ? `\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m` : String(e); } o(EP, "colorise"); I(EP, "colorise"); function xP({ showHidden: e = !1, depth: t = 2, colors: r = !1, customInspect: n = !0, showProxy: i = !1, maxArrayLength: s = 1 / 0, breakLength: a = 1 / 0, seen: l = [], // eslint-disable-next-line no-shadow truncate: u = 1 / 0, stylize: c = String } = {}, d) { let p = { showHidden: !!e, depth: Number(t), colors: !!r, customInspect: !!n, showProxy: !!i, maxArrayLength: Number(s), breakLength: Number(a), truncate: Number(u), seen: l, inspect: d, stylize: c }; return p.colors && (p.stylize = EP), p; } o(xP, "normaliseOptions"); I(xP, "normaliseOptions"); function wP(e) { return e >= "\uD800" && e <= "\uDBFF"; } o(wP, "isHighSurrogate"); I(wP, "isHighSurrogate"); function hr(e, t, r = _o) { e = String(e); let n = r.length, i = e.length; if (n > t && i > n) return r; if (i > t && i > n) { let s = t - n; return s > 0 && wP(e[s - 1]) && (s = s - 1), `${e.slice(0, s)}${r}`; } return e; } o(hr, "truncate"); I(hr, "truncate"); function Ct(e, t, r, n = ", ") { r = r || t.inspect; let i = e.length; if (i === 0) return ""; let s = t.truncate, a = "", l = "", u = ""; for (let c = 0; c < i; c += 1) { let d = c + 1 === e.length, p = c + 2 === e.length; u = `${_o}(${e.length - c})`; let f = e[c]; t.truncate = s - a.length - (d ? 0 : n.length); let m = l || r(f, t) + (d ? "" : n), h = a.length + m.length, b = h + u.length; if (d && h > s && a.length + u.length <= s || !d && !p && b > s || (l = d ? "" : r(e[c + 1], t) + (p ? "" : n), !d && p && b > s && h + l. length > s)) break; if (a += m, !d && !p && h + l.length >= s) { u = `${_o}(${e.length - c - 1})`; break; } u = ""; } return `${a}${u}`; } o(Ct, "inspectList"); I(Ct, "inspectList"); function SP(e) { return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) ? e : JSON.stringify(e).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"); } o(SP, "quoteComplexKey"); I(SP, "quoteComplexKey"); function Co([e, t], r) { return r.truncate -= 2, typeof e == "string" ? e = SP(e) : typeof e != "number" && (e = `[${r.inspect(e, r)}]`), r.truncate -= e.length, t = r.inspect(t, r), `${e}: ${t}`; } o(Co, "inspectProperty"); I(Co, "inspectProperty"); function RP(e, t) { let r = Object.keys(e).slice(e.length); if (!e.length && !r.length) return "[]"; t.truncate -= 4; let n = Ct(e, t); t.truncate -= n.length; let i = ""; return r.length && (i = Ct(r.map((s) => [s, e[s]]), t, Co)), `[ ${n}${i ? `, ${i}` : ""} ]`; } o(RP, "inspectArray"); I(RP, "inspectArray"); var MW = /* @__PURE__ */ I((e) => typeof Buffer == "function" && e instanceof Buffer ? "Buffer" : e[Symbol.toStringTag] ? e[Symbol.toStringTag] : e.constructor.name, "getArrayName"); function nr(e, t) { let r = MW(e); t.truncate -= r.length + 4; let n = Object.keys(e).slice(e.length); if (!e.length && !n.length) return `${r}[]`; let i = ""; for (let a = 0; a < e.length; a++) { let l = `${t.stylize(hr(e[a], t.truncate), "number")}${a === e.length - 1 ? "" : ", "}`; if (t.truncate -= l.length, e[a] !== e.length && t.truncate <= 3) { i += `${_o}(${e.length - e[a] + 1})`; break; } i += l; } let s = ""; return n.length && (s = Ct(n.map((a) => [a, e[a]]), t, Co)), `${r}[ ${i}${s ? `, ${s}` : ""} ]`; } o(nr, "inspectTypedArray"); I(nr, "inspectTypedArray"); function TP(e, t) { let r = e.toJSON(); if (r === null) return "Invalid Date"; let n = r.split("T"), i = n[0]; return t.stylize(`${i}T${hr(n[1], t.truncate - i.length - 1)}`, "date"); } o(TP, "inspectDate"); I(TP, "inspectDate"); function cv(e, t) { let r = e[Symbol.toStringTag] || "Function", n = e.name; return n ? t.stylize(`[${r} ${hr(n, t.truncate - 11)}]`, "special") : t.stylize(`[${r}]`, "special"); } o(cv, "inspectFunction"); I(cv, "inspectFunction"); function _P([e, t], r) { return r.truncate -= 4, e = r.inspect(e, r), r.truncate -= e.length, t = r.inspect(t, r), `${e} => ${t}`; } o(_P, "inspectMapEntry"); I(_P, "inspectMapEntry"); function CP(e) { let t = []; return e.forEach((r, n) => { t.push([n, r]); }), t; } o(CP, "mapToEntries"); I(CP, "mapToEntries"); function PP(e, t) { return e.size - 1 <= 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${Ct(CP(e), t, _P)} }`); } o(PP, "inspectMap"); I(PP, "inspectMap"); var NW = Number.isNaN || ((e) => e !== e); function dv(e, t) { return NW(e) ? t.stylize("NaN", "number") : e === 1 / 0 ? t.stylize("Infinity", "number") : e === -1 / 0 ? t.stylize("-Infinity", "number") : e === 0 ? t.stylize(1 / e === 1 / 0 ? "+0" : "-0", "number") : t.stylize(hr(String(e), t.truncate), "number"); } o(dv, "inspectNumber"); I(dv, "inspectNumber"); function pv(e, t) { let r = hr(e.toString(), t.truncate - 1); return r !== _o && (r += "n"), t.stylize(r, "bigint"); } o(pv, "inspectBigInt"); I(pv, "inspectBigInt"); function AP(e, t) { let r = e.toString().split("/")[2], n = t.truncate - (2 + r.length), i = e.source; return t.stylize(`/${hr(i, n)}/${r}`, "regexp"); } o(AP, "inspectRegExp"); I(AP, "inspectRegExp"); function OP(e) { let t = []; return e.forEach((r) => { t.push(r); }), t; } o(OP, "arrayFromSet"); I(OP, "arrayFromSet"); function qP(e, t) { return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${Ct(OP(e), t)} }`); } o(qP, "inspectSet"); I(qP, "inspectSet"); var oP = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\u\ ffff]", "g"), jW = { "\b": "\\b", " ": "\\t", "\n": "\\n", "\f": "\\f", "\r": "\\r", "'": "\\'", "\\": "\\\\" }, kW = 16, LW = 4; function IP(e) { return jW[e] || `\\u${`0000${e.charCodeAt(0).toString(kW)}`.slice(-LW)}`; } o(IP, "escape"); I(IP, "escape"); function fv(e, t) { return oP.test(e) && (e = e.replace(oP, IP)), t.stylize(`'${hr(e, t.truncate - 2)}'`, "string"); } o(fv, "inspectString"); I(fv, "inspectString"); function mv(e) { return "description" in Symbol.prototype ? e.description ? `Symbol(${e.description})` : "Symbol()" : e.toString(); } o(mv, "inspectSymbol"); I(mv, "inspectSymbol"); var MP = /* @__PURE__ */ I(() => "Promise{\u2026}", "getPromiseValue"); try { let { getPromiseDetails: e, kPending: t, kRejected: r } = process.binding("util"); Array.isArray(e(Promise.resolve())) && (MP = /* @__PURE__ */ I((n, i) => { let [s, a] = e(n); return s === t ? "Promise{}" : `Promise${s === r ? "!" : ""}{${i.inspect(a, i)}}`; }, "getPromiseValue")); } catch { } var FW = MP; function es(e, t) { let r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e) : []; if (r.length === 0 && n.length === 0) return "{}"; if (t.truncate -= 4, t.seen = t.seen || [], t.seen.includes(e)) return "[Circular]"; t.seen.push(e); let i = Ct(r.map((l) => [l, e[l]]), t, Co), s = Ct(n.map((l) => [l, e[l]]), t, Co); t.seen.pop(); let a = ""; return i && s && (a = ", "), `{ ${i}${a}${s} }`; } o(es, "inspectObject"); I(es, "inspectObject"); var lv = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1; function NP(e, t) { let r = ""; return lv && lv in e && (r = e[lv]), r = r || e.constructor.name, (!r || r === "_class") && (r = ""), t.truncate -= r.length, `${r}${es(e, t)}`; } o(NP, "inspectClass"); I(NP, "inspectClass"); function jP(e, t) { return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${Ct(e, t)} ]`); } o(jP, "inspectArguments"); I(jP, "inspectArguments"); var DW = [ "stack", "line", "column", "name", "message", "fileName", "lineNumber", "columnNumber", "number", "description", "cause" ]; function kP(e, t) { let r = Object.getOwnPropertyNames(e).filter((a) => DW.indexOf(a) === -1), n = e.name; t.truncate -= n.length; let i = ""; if (typeof e.message == "string" ? i = hr(e.message, t.truncate) : r.unshift("message"), i = i ? `: ${i}` : "", t.truncate -= i.length + 5, t.seen = t.seen || [], t.seen.includes(e)) return "[Circular]"; t.seen.push(e); let s = Ct(r.map((a) => [a, e[a]]), t, Co); return `${n}${i}${s ? ` { ${s} }` : ""}`; } o(kP, "inspectObject2"); I(kP, "inspectObject"); function LP([e, t], r) { return r.truncate -= 3, t ? `${r.stylize(String(e), "yellow")}=${r.stylize(`"${t}"`, "string")}` : `${r.stylize(String(e), "yellow")}`; } o(LP, "inspectAttribute"); I(LP, "inspectAttribute"); function Rl(e, t) { return Ct(e, t, _v, ` `); } o(Rl, "inspectHTMLCollection"); I(Rl, "inspectHTMLCollection"); function _v(e, t) { let r = e.getAttributeNames(), n = e.tagName.toLowerCase(), i = t.stylize(`<${n}`, "special"), s = t.stylize(">", "special"), a = t.stylize( ``, "special"); t.truncate -= n.length * 2 + 5; let l = ""; r.length > 0 && (l += " ", l += Ct(r.map((d) => [d, e.getAttribute(d)]), t, LP, " ")), t.truncate -= l.length; let u = t.truncate, c = Rl(e.children, t); return c && c.length > u && (c = `${_o}(${e.children.length})`), `${i}${l}${s}${c}${a}`; } o(_v, "inspectHTML"); I(_v, "inspectHTML"); var $W = typeof Symbol == "function" && typeof Symbol.for == "function", uv = $W ? Symbol.for("chai/inspect") : "@@chai/inspect", To = !1; try { let e = OW(); To = e.inspect ? e.inspect.custom : !1; } catch { To = !1; } var iP = /* @__PURE__ */ new WeakMap(), sP = {}, aP = { undefined: /* @__PURE__ */ o((e, t) => t.stylize("undefined", "undefined"), "undefined"), null: /* @__PURE__ */ o((e, t) => t.stylize("null", "null"), "null"), boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "boolean"), Boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "Boolean"), number: dv, Number: dv, bigint: pv, BigInt: pv, string: fv, String: fv, function: cv, Function: cv, symbol: mv, // A Symbol polyfill will return `Symbol` not `symbol` from typedetect Symbol: mv, Array: RP, Date: TP, Map: PP, Set: qP, RegExp: AP, Promise: FW, // WeakSet, WeakMap are totally opaque to us WeakSet: /* @__PURE__ */ o((e, t) => t.stylize("WeakSet{\u2026}", "special"), "WeakSet"), WeakMap: /* @__PURE__ */ o((e, t) => t.stylize("WeakMap{\u2026}", "special"), "WeakMap"), Arguments: jP, Int8Array: nr, Uint8Array: nr, Uint8ClampedArray: nr, Int16Array: nr, Uint16Array: nr, Int32Array: nr, Uint32Array: nr, Float32Array: nr, Float64Array: nr, Generator: /* @__PURE__ */ o(() => "", "Generator"), DataView: /* @__PURE__ */ o(() => "", "DataView"), ArrayBuffer: /* @__PURE__ */ o(() => "", "ArrayBuffer"), Error: kP, HTMLCollection: Rl, NodeList: Rl }, BW = /* @__PURE__ */ I((e, t, r) => uv in e && typeof e[uv] == "function" ? e[uv](t) : To && To in e && typeof e[To] == "function" ? e[To]( t.depth, t) : "inspect" in e && typeof e.inspect == "function" ? e.inspect(t.depth, t) : "constructor" in e && iP.has(e.constructor) ? iP.get( e.constructor)(e, t) : sP[r] ? sP[r](e, t) : "", "inspectCustom"), UW = Object.prototype.toString; function Tl(e, t = {}) { let r = xP(t, Tl), { customInspect: n } = r, i = e === null ? "null" : typeof e; if (i === "object" && (i = UW.call(e).slice(8, -1)), i in aP) return aP[i](e, r); if (n && e) { let a = BW(e, r, i); if (a) return typeof a == "string" ? a : Tl(a, r); } let s = e ? Object.getPrototypeOf(e) : !1; return s === Object.prototype || s === null ? es(e, r) : e && typeof HTMLElement == "function" && e instanceof HTMLElement ? _v(e, r) : "c\ onstructor" in e ? e.constructor !== Object ? NP(e, r) : es(e, r) : e === Object(e) ? es(e, r) : r.stylize(String(e), i); } o(Tl, "inspect"); I(Tl, "inspect"); var lt = { /** * ### config.includeStack * * User configurable property, influences whether stack trace * is included in Assertion error message. Default of false * suppresses stack trace in the error message. * * chai.config.includeStack = true; // enable stack on error * * @param {boolean} * @public */ includeStack: !1, /** * ### config.showDiff * * User configurable property, influences whether or not * the `showDiff` flag should be included in the thrown * AssertionErrors. `false` will always be `false`; `true` * will be true when the assertion has requested a diff * be shown. * * @param {boolean} * @public */ showDiff: !0, /** * ### config.truncateThreshold * * User configurable property, sets length threshold for actual and * expected values in assertion errors. If this threshold is exceeded, for * example for large data structures, the value is replaced with something * like `[ Array(3) ]` or `{ Object (prop1, prop2) }`. * * Set it to zero if you want to disable truncating altogether. * * This is especially userful when doing assertions on arrays: having this * set to a reasonable large value makes the failure messages readily * inspectable. * * chai.config.truncateThreshold = 0; // disable truncating * * @param {number} * @public */ truncateThreshold: 40, /** * ### config.useProxy * * User configurable property, defines if chai will use a Proxy to throw * an error when a non-existent property is read, which protects users * from typos when using property-based assertions. * * Set it to false if you want to disable this feature. * * chai.config.useProxy = false; // disable use of Proxy * * This feature is automatically disabled regardless of this config value * in environments that don't support proxies. * * @param {boolean} * @public */ useProxy: !0, /** * ### config.proxyExcludedKeys * * User configurable property, defines which properties should be ignored * instead of throwing an error if they do not exist on the assertion. * This is only applied if the environment Chai is running in supports proxies and * if the `useProxy` configuration setting is enabled. * By default, `then` and `inspect` will not throw an error if they do not exist on the * assertion object because the `.inspect` property is read by `util.inspect` (for example, when * using `console.log` on the assertion object) and `.then` is necessary for promise type-checking. * * // By default these keys will not throw an error if they do not exist on the assertion object * chai.config.proxyExcludedKeys = ['then', 'inspect']; * * @param {Array} * @public */ proxyExcludedKeys: ["then", "catch", "inspect", "toJSON"], /** * ### config.deepEqual * * User configurable property, defines which a custom function to use for deepEqual * comparisons. * By default, the function used is the one from the `deep-eql` package without custom comparator. * * // use a custom comparator * chai.config.deepEqual = (expected, actual) => { * return chai.util.eql(expected, actual, { * comparator: (expected, actual) => { * // for non number comparison, use the default behavior * if(typeof expected !== 'number') return null; * // allow a difference of 10 between compared numbers * return typeof actual === 'number' && Math.abs(actual - expected) < 10 * } * }) * }; * * @param {Function} * @public */ deepEqual: null }; function le(e, t, r, n) { var i = { colors: n, depth: typeof r > "u" ? 2 : r, showHidden: t, truncate: lt.truncateThreshold ? lt.truncateThreshold : 1 / 0 }; return Tl(e, i); } o(le, "inspect2"); I(le, "inspect"); function Rn(e) { var t = le(e), r = Object.prototype.toString.call(e); if (lt.truncateThreshold && t.length >= lt.truncateThreshold) { if (r === "[object Function]") return !e.name || e.name === "" ? "[Function]" : "[Function: " + e.name + "]"; if (r === "[object Array]") return "[ Array(" + e.length + ") ]"; if (r === "[object Object]") { var n = Object.keys(e), i = n.length > 2 ? n.splice(0, 2).join(", ") + ", ..." : n.join(", "); return "{ Object (" + i + ") }"; } else return t; } else return t; } o(Rn, "objDisplay"); I(Rn, "objDisplay"); function Cv(e, t) { var r = ee(e, "negate"), n = ee(e, "object"), i = t[3], s = Il(e, t), a = r ? t[2] : t[1], l = ee(e, "message"); return typeof a == "function" && (a = a()), a = a || "", a = a.replace(/#\{this\}/g, function() { return Rn(n); }).replace(/#\{act\}/g, function() { return Rn(s); }).replace(/#\{exp\}/g, function() { return Rn(i); }), l ? l + ": " + a : a; } o(Cv, "getMessage2"); I(Cv, "getMessage"); function $t(e, t, r) { var n = e.__flags || (e.__flags = /* @__PURE__ */ Object.create(null)); t.__flags || (t.__flags = /* @__PURE__ */ Object.create(null)), r = arguments.length === 3 ? r : !0; for (var i in n) (r || i !== "object" && i !== "ssfi" && i !== "lockSsfi" && i != "message") && (t.__flags[i] = n[i]); } o($t, "transferFlags"); I($t, "transferFlags"); function hv(e) { if (typeof e > "u") return "undefined"; if (e === null) return "null"; let t = e[Symbol.toStringTag]; return typeof t == "string" ? t : Object.prototype.toString.call(e).slice(8, -1); } o(hv, "type2"); I(hv, "type"); function Pv() { this._key = "chai/deep-eql__" + Math.random() + Date.now(); } o(Pv, "FakeMap"); I(Pv, "FakeMap"); Pv.prototype = { get: /* @__PURE__ */ I(/* @__PURE__ */ o(function(t) { return t[this._key]; }, "get"), "get"), set: /* @__PURE__ */ I(/* @__PURE__ */ o(function(t, r) { Object.isExtensible(t) && Object.defineProperty(t, this._key, { value: r, configurable: !0 }); }, "set"), "set") }; var FP = typeof WeakMap == "function" ? WeakMap : Pv; function yv(e, t, r) { if (!r || Tn(e) || Tn(t)) return null; var n = r.get(e); if (n) { var i = n.get(t); if (typeof i == "boolean") return i; } return null; } o(yv, "memoizeCompare"); I(yv, "memoizeCompare"); function Zi(e, t, r, n) { if (!(!r || Tn(e) || Tn(t))) { var i = r.get(e); i ? i.set(t, n) : (i = new FP(), i.set(t, n), r.set(e, i)); } } o(Zi, "memoizeSet"); I(Zi, "memoizeSet"); var DP = ts; function ts(e, t, r) { if (r && r.comparator) return bv(e, t, r); var n = Av(e, t); return n !== null ? n : bv(e, t, r); } o(ts, "deepEqual"); I(ts, "deepEqual"); function Av(e, t) { return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && // eslint-disable-line no-self-compare t !== t ? !0 : Tn(e) || Tn(t) ? !1 : null; } o(Av, "simpleEqual"); I(Av, "simpleEqual"); function bv(e, t, r) { r = r || {}, r.memoize = r.memoize === !1 ? !1 : r.memoize || new FP(); var n = r && r.comparator, i = yv(e, t, r.memoize); if (i !== null) return i; var s = yv(t, e, r.memoize); if (s !== null) return s; if (n) { var a = n(e, t); if (a === !1 || a === !0) return Zi(e, t, r.memoize, a), a; var l = Av(e, t); if (l !== null) return l; } var u = hv(e); if (u !== hv(t)) return Zi(e, t, r.memoize, !1), !1; Zi(e, t, r.memoize, !0); var c = $P(e, t, u, r); return Zi(e, t, r.memoize, c), c; } o(bv, "extensiveDeepEqual"); I(bv, "extensiveDeepEqual"); function $P(e, t, r, n) { switch (r) { case "String": case "Number": case "Boolean": case "Date": return ts(e.valueOf(), t.valueOf()); case "Promise": case "Symbol": case "function": case "WeakMap": case "WeakSet": return e === t; case "Error": return Ov(e, t, ["name", "message", "code"], n); case "Arguments": case "Int8Array": case "Uint8Array": case "Uint8ClampedArray": case "Int16Array": case "Uint16Array": case "Int32Array": case "Uint32Array": case "Float32Array": case "Float64Array": case "Array": return jr(e, t, n); case "RegExp": return BP(e, t); case "Generator": return UP(e, t, n); case "DataView": return jr(new Uint8Array(e.buffer), new Uint8Array(t.buffer), n); case "ArrayBuffer": return jr(new Uint8Array(e), new Uint8Array(t), n); case "Set": return gv(e, t, n); case "Map": return gv(e, t, n); case "Temporal.PlainDate": case "Temporal.PlainTime": case "Temporal.PlainDateTime": case "Temporal.Instant": case "Temporal.ZonedDateTime": case "Temporal.PlainYearMonth": case "Temporal.PlainMonthDay": return e.equals(t); case "Temporal.Duration": return e.total("nanoseconds") === t.total("nanoseconds"); case "Temporal.TimeZone": case "Temporal.Calendar": return e.toString() === t.toString(); default: return VP(e, t, n); } } o($P, "extensiveDeepEqualByType"); I($P, "extensiveDeepEqualByType"); function BP(e, t) { return e.toString() === t.toString(); } o(BP, "regexpEqual"); I(BP, "regexpEqual"); function gv(e, t, r) { try { if (e.size !== t.size) return !1; if (e.size === 0) return !0; } catch { return !1; } var n = [], i = []; return e.forEach(/* @__PURE__ */ I(/* @__PURE__ */ o(function(a, l) { n.push([a, l]); }, "gatherEntries"), "gatherEntries")), t.forEach(/* @__PURE__ */ I(/* @__PURE__ */ o(function(a, l) { i.push([a, l]); }, "gatherEntries"), "gatherEntries")), jr(n.sort(), i.sort(), r); } o(gv, "entriesEqual"); I(gv, "entriesEqual"); function jr(e, t, r) { var n = e.length; if (n !== t.length) return !1; if (n === 0) return !0; for (var i = -1; ++i < n; ) if (ts(e[i], t[i], r) === !1) return !1; return !0; } o(jr, "iterableEqual"); I(jr, "iterableEqual"); function UP(e, t, r) { return jr(_l(e), _l(t), r); } o(UP, "generatorEqual"); I(UP, "generatorEqual"); function HP(e) { return typeof Symbol < "u" && typeof e == "object" && typeof Symbol.iterator < "u" && typeof e[Symbol.iterator] == "function"; } o(HP, "hasIteratorFunction"); I(HP, "hasIteratorFunction"); function vv(e) { if (HP(e)) try { return _l(e[Symbol.iterator]()); } catch { return []; } return []; } o(vv, "getIteratorEntries"); I(vv, "getIteratorEntries"); function _l(e) { for (var t = e.next(), r = [t.value]; t.done === !1; ) t = e.next(), r.push(t.value); return r; } o(_l, "getGeneratorEntries"); I(_l, "getGeneratorEntries"); function Ev(e) { var t = []; for (var r in e) t.push(r); return t; } o(Ev, "getEnumerableKeys"); I(Ev, "getEnumerableKeys"); function xv(e) { for (var t = [], r = Object.getOwnPropertySymbols(e), n = 0; n < r.length; n += 1) { var i = r[n]; Object.getOwnPropertyDescriptor(e, i).enumerable && t.push(i); } return t; } o(xv, "getEnumerableSymbols"); I(xv, "getEnumerableSymbols"); function Ov(e, t, r, n) { var i = r.length; if (i === 0) return !0; for (var s = 0; s < i; s += 1) if (ts(e[r[s]], t[r[s]], n) === !1) return !1; return !0; } o(Ov, "keysEqual"); I(Ov, "keysEqual"); function VP(e, t, r) { var n = Ev(e), i = Ev(t), s = xv(e), a = xv(t); if (n = n.concat(s), i = i.concat(a), n.length && n.length === i.length) return jr(wv(n).sort(), wv(i).sort()) === !1 ? !1 : Ov(e, t, n, r); var l = vv(e), u = vv(t); return l.length && l.length === u.length ? (l.sort(), u.sort(), jr(l, u, r)) : n.length === 0 && l.length === 0 && i.length === 0 && u.length === 0; } o(VP, "objectEqual"); I(VP, "objectEqual"); function Tn(e) { return e === null || typeof e != "object"; } o(Tn, "isPrimitive"); I(Tn, "isPrimitive"); function wv(e) { return e.map(/* @__PURE__ */ I(/* @__PURE__ */ o(function(r) { return typeof r == "symbol" ? r.toString() : r; }, "mapSymbol"), "mapSymbol")); } o(wv, "mapSymbols"); I(wv, "mapSymbols"); function Ml(e, t) { return typeof e > "u" || e === null ? !1 : t in Object(e); } o(Ml, "hasProperty"); I(Ml, "hasProperty"); function zP(e) { return e.replace(/([^\\])\[/g, "$1.[").match(/(\\\.|[^.]+?)+/g).map((n) => { if (n === "constructor" || n === "__proto__" || n === "prototype") return {}; let s = /^\[(\d+)\]$/.exec(n), a = null; return s ? a = { i: parseFloat(s[1]) } : a = { p: n.replace(/\\([.[\]])/g, "$1") }, a; }); } o(zP, "parsePath"); I(zP, "parsePath"); function Sv(e, t, r) { let n = e, i = null; r = typeof r > "u" ? t.length : r; for (let s = 0; s < r; s++) { let a = t[s]; n && (typeof a.p > "u" ? n = n[a.i] : n = n[a.p], s === r - 1 && (i = n)); } return i; } o(Sv, "internalGetPathValue"); I(Sv, "internalGetPathValue"); function qv(e, t) { let r = zP(t), n = r[r.length - 1], i = { parent: r.length > 1 ? Sv(e, r, r.length - 1) : e, name: n.p || n.i, value: Sv(e, r) }; return i.exists = Ml(i.parent, i.name), i; } o(qv, "getPathInfo"); I(qv, "getPathInfo"); function S(e, t, r, n) { return ee(this, "ssfi", r || S), ee(this, "lockSsfi", n), ee(this, "object", e), ee(this, "message", t), ee(this, "eql", lt.deepEqual || DP), Po(this); } o(S, "Assertion"); I(S, "Assertion"); Object.defineProperty(S, "includeStack", { get: /* @__PURE__ */ o(function() { return console.warn( "Assertion.includeStack is deprecated, use chai.config.includeStack instead." ), lt.includeStack; }, "get"), set: /* @__PURE__ */ o(function(e) { console.warn( "Assertion.includeStack is deprecated, use chai.config.includeStack instead." ), lt.includeStack = e; }, "set") }); Object.defineProperty(S, "showDiff", { get: /* @__PURE__ */ o(function() { return console.warn( "Assertion.showDiff is deprecated, use chai.config.showDiff instead." ), lt.showDiff; }, "get"), set: /* @__PURE__ */ o(function(e) { console.warn( "Assertion.showDiff is deprecated, use chai.config.showDiff instead." ), lt.showDiff = e; }, "set") }); S.addProperty = function(e, t) { Iv(this.prototype, e, t); }; S.addMethod = function(e, t) { Mv(this.prototype, e, t); }; S.addChainableMethod = function(e, t, r) { kv(this.prototype, e, t, r); }; S.overwriteProperty = function(e, t) { Nv(this.prototype, e, t); }; S.overwriteMethod = function(e, t) { jv(this.prototype, e, t); }; S.overwriteChainableMethod = function(e, t, r) { Lv(this.prototype, e, t, r); }; S.prototype.assert = function(e, t, r, n, i, s) { var a = Tv(this, arguments); if (s !== !1 && (s = !0), n === void 0 && i === void 0 && (s = !1), lt.showDiff !== !0 && (s = !1), !a) { t = Cv(this, arguments); var l = Il(this, arguments), u = { actual: l, expected: n, showDiff: s }, c = $v(this, arguments); throw c && (u.operator = c), new ue( t, u, lt.includeStack ? this.assert : ee(this, "ssfi") ); } }; Object.defineProperty(S.prototype, "_obj", { get: /* @__PURE__ */ o(function() { return ee(this, "object"); }, "get"), set: /* @__PURE__ */ o(function(e) { ee(this, "object", e); }, "set") }); function rs() { return lt.useProxy && typeof Proxy < "u" && typeof Reflect < "u"; } o(rs, "isProxyEnabled"); I(rs, "isProxyEnabled"); function Iv(e, t, r) { r = r === void 0 ? function() { } : r, Object.defineProperty(e, t, { get: /* @__PURE__ */ I(/* @__PURE__ */ o(function n() { !rs() && !ee(this, "lockSsfi") && ee(this, "ssfi", n); var i = r.call(this); if (i !== void 0) return i; var s = new S(); return $t(this, s), s; }, "propertyGetter"), "propertyGetter"), configurable: !0 }); } o(Iv, "addProperty"); I(Iv, "addProperty"); var HW = Object.getOwnPropertyDescriptor(function() { }, "length"); function ns(e, t, r) { return HW.configurable && Object.defineProperty(e, "length", { get: /* @__PURE__ */ o(function() { throw Error( r ? "Invalid Chai property: " + t + '.length. Due to a compatibility issue, "length" cannot directly follow "' + t + '". Use "' + t + '.lengthOf" instead.' : "Invalid Chai property: " + t + '.length. See docs for proper usage of "' + t + '".' ); }, "get") }), e; } o(ns, "addLengthGuard"); I(ns, "addLengthGuard"); function GP(e) { var t = Object.getOwnPropertyNames(e); function r(i) { t.indexOf(i) === -1 && t.push(i); } o(r, "addProperty2"), I(r, "addProperty"); for (var n = Object.getPrototypeOf(e); n !== null; ) Object.getOwnPropertyNames(n).forEach(r), n = Object.getPrototypeOf(n); return t; } o(GP, "getProperties"); I(GP, "getProperties"); var lP = ["__flags", "__methods", "_obj", "assert"]; function Po(e, t) { return rs() ? new Proxy(e, { get: /* @__PURE__ */ I(/* @__PURE__ */ o(function r(n, i) { if (typeof i == "string" && lt.proxyExcludedKeys.indexOf(i) === -1 && !Reflect.has(n, i)) { if (t) throw Error( "Invalid Chai property: " + t + "." + i + '. See docs for proper usage of "' + t + '".' ); var s = null, a = 4; throw GP(n).forEach(function(l) { if ( // we actually mean to check `Object.prototype` here // eslint-disable-next-line no-prototype-builtins !Object.prototype.hasOwnProperty(l) && lP.indexOf(l) === -1 ) { var u = WP(i, l, a); u < a && (s = l, a = u); } }), Error( s !== null ? "Invalid Chai property: " + i + '. Did you mean "' + s + '"?' : "Invalid Chai property: " + i ); } return lP.indexOf(i) === -1 && !ee(n, "lockSsfi") && ee(n, "ssfi", r), Reflect.get(n, i); }, "proxyGetter"), "proxyGetter") }) : e; } o(Po, "proxify"); I(Po, "proxify"); function WP(e, t, r) { if (Math.abs(e.length - t.length) >= r) return r; var n = []; for (let s = 0; s <= e.length; s++) n[s] = Array(t.length + 1).fill(0), n[s][0] = s; for (let s = 0; s < t.length; s++) n[0][s] = s; for (let s = 1; s <= e.length; s++) { var i = e.charCodeAt(s - 1); for (let a = 1; a <= t.length; a++) { if (Math.abs(s - a) >= r) { n[s][a] = r; continue; } n[s][a] = Math.min( n[s - 1][a] + 1, n[s][a - 1] + 1, n[s - 1][a - 1] + (i === t.charCodeAt(a - 1) ? 0 : 1) ); } } return n[e.length][t.length]; } o(WP, "stringDistanceCapped"); I(WP, "stringDistanceCapped"); function Mv(e, t, r) { var n = /* @__PURE__ */ I(function() { ee(this, "lockSsfi") || ee(this, "ssfi", n); var i = r.apply(this, arguments); if (i !== void 0) return i; var s = new S(); return $t(this, s), s; }, "methodWrapper"); ns(n, t, !1), e[t] = Po(n, t); } o(Mv, "addMethod"); I(Mv, "addMethod"); function Nv(e, t, r) { var n = Object.getOwnPropertyDescriptor(e, t), i = /* @__PURE__ */ I(function() { }, "_super"); n && typeof n.get == "function" && (i = n.get), Object.defineProperty(e, t, { get: /* @__PURE__ */ I(/* @__PURE__ */ o(function s() { !rs() && !ee(this, "lockSsfi") && ee(this, "ssfi", s); var a = ee(this, "lockSsfi"); ee(this, "lockSsfi", !0); var l = r(i).call(this); if (ee(this, "lockSsfi", a), l !== void 0) return l; var u = new S(); return $t(this, u), u; }, "overwritingPropertyGetter"), "overwritingPropertyGetter"), configurable: !0 }); } o(Nv, "overwriteProperty"); I(Nv, "overwriteProperty"); function jv(e, t, r) { var n = e[t], i = /* @__PURE__ */ I(function() { throw new Error(t + " is not a function"); }, "_super"); n && typeof n == "function" && (i = n); var s = /* @__PURE__ */ I(function() { ee(this, "lockSsfi") || ee(this, "ssfi", s); var a = ee(this, "lockSsfi"); ee(this, "lockSsfi", !0); var l = r(i).apply(this, arguments); if (ee(this, "lockSsfi", a), l !== void 0) return l; var u = new S(); return $t(this, u), u; }, "overwritingMethodWrapper"); ns(s, t, !1), e[t] = Po(s, t); } o(jv, "overwriteMethod"); I(jv, "overwriteMethod"); var VW = typeof Object.setPrototypeOf == "function", uP = /* @__PURE__ */ I(function() { }, "testFn"), zW = Object.getOwnPropertyNames(uP).filter(function(e) { var t = Object.getOwnPropertyDescriptor(uP, e); return typeof t != "object" ? !0 : !t.configurable; }), GW = Function.prototype.call, WW = Function.prototype.apply; function kv(e, t, r, n) { typeof n != "function" && (n = /* @__PURE__ */ I(function() { }, "chainingBehavior")); var i = { method: r, chainingBehavior: n }; e.__methods || (e.__methods = {}), e.__methods[t] = i, Object.defineProperty(e, t, { get: /* @__PURE__ */ I(/* @__PURE__ */ o(function() { i.chainingBehavior.call(this); var a = /* @__PURE__ */ I(function() { ee(this, "lockSsfi") || ee(this, "ssfi", a); var c = i.method.apply(this, arguments); if (c !== void 0) return c; var d = new S(); return $t(this, d), d; }, "chainableMethodWrapper"); if (ns(a, t, !0), VW) { var l = Object.create(this); l.call = GW, l.apply = WW, Object.setPrototypeOf(a, l); } else { var u = Object.getOwnPropertyNames(e); u.forEach(function(c) { if (zW.indexOf(c) === -1) { var d = Object.getOwnPropertyDescriptor(e, c); Object.defineProperty(a, c, d); } }); } return $t(this, a), Po(a); }, "chainableMethodGetter"), "chainableMethodGetter"), configurable: !0 }); } o(kv, "addChainableMethod"); I(kv, "addChainableMethod"); function Lv(e, t, r, n) { var i = e.__methods[t], s = i.chainingBehavior; i.chainingBehavior = /* @__PURE__ */ I(/* @__PURE__ */ o(function() { var u = n(s).call(this); if (u !== void 0) return u; var c = new S(); return $t(this, c), c; }, "overwritingChainableMethodGetter"), "overwritingChainableMethodGetter"); var a = i.method; i.method = /* @__PURE__ */ I(/* @__PURE__ */ o(function() { var u = r(a).apply(this, arguments); if (u !== void 0) return u; var c = new S(); return $t(this, c), c; }, "overwritingChainableMethodWrapper"), "overwritingChainableMethodWrapper"); } o(Lv, "overwriteChainableMethod"); I(Lv, "overwriteChainableMethod"); function Cl(e, t) { return le(e) < le(t) ? -1 : 1; } o(Cl, "compareByInspect"); I(Cl, "compareByInspect"); function Fv(e) { return typeof Object.getOwnPropertySymbols != "function" ? [] : Object.getOwnPropertySymbols(e).filter(function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; }); } o(Fv, "getOwnEnumerablePropertySymbols"); I(Fv, "getOwnEnumerablePropertySymbols"); function Dv(e) { return Object.keys(e).concat(Fv(e)); } o(Dv, "getOwnEnumerableProperties"); I(Dv, "getOwnEnumerableProperties"); var Pl = Number.isNaN; function YP(e) { var t = ye(e), r = ["Array", "Object", "Function"]; return r.indexOf(t) !== -1; } o(YP, "isObjectType"); I(YP, "isObjectType"); function $v(e, t) { var r = ee(e, "operator"), n = ee(e, "negate"), i = t[3], s = n ? t[2] : t[1]; if (r) return r; if (typeof s == "function" && (s = s()), s = s || "", !!s && !/\shave\s/.test(s)) { var a = YP(i); return /\snot\s/.test(s) ? a ? "notDeepStrictEqual" : "notStrictEqual" : a ? "deepStrictEqual" : "strictEqual"; } } o($v, "getOperator"); I($v, "getOperator"); function Nl(e) { return e.name; } o(Nl, "getName"); I(Nl, "getName"); function Al(e) { return Object.prototype.toString.call(e) === "[object RegExp]"; } o(Al, "isRegExp2"); I(Al, "isRegExp"); function He(e) { return ["Number", "BigInt"].includes(ye(e)); } o(He, "isNumeric"); I(He, "isNumeric"); var { flag: A } = _t; [ "to", "be", "been", "is", "and", "has", "have", "with", "that", "which", "at", "of", "same", "but", "does", "still", "also" ].forEach(function(e) { S.addProperty(e); }); S.addProperty("not", function() { A(this, "negate", !0); }); S.addProperty("deep", function() { A(this, "deep", !0); }); S.addProperty("nested", function() { A(this, "nested", !0); }); S.addProperty("own", function() { A(this, "own", !0); }); S.addProperty("ordered", function() { A(this, "ordered", !0); }); S.addProperty("any", function() { A(this, "any", !0), A(this, "all", !1); }); S.addProperty("all", function() { A(this, "all", !0), A(this, "any", !1); }); var cP = { function: [ "function", "asyncfunction", "generatorfunction", "asyncgeneratorfunction" ], asyncfunction: ["asyncfunction", "asyncgeneratorfunction"], generatorfunction: ["generatorfunction", "asyncgeneratorfunction"], asyncgeneratorfunction: ["asyncgeneratorfunction"] }; function Bv(e, t) { t && A(this, "message", t), e = e.toLowerCase(); var r = A(this, "object"), n = ~["a", "e", "i", "o", "u"].indexOf(e.charAt(0)) ? "an " : "a "; let i = ye(r).toLowerCase(); cP.function.includes(e) ? this.assert( cP[e].includes(i), "expected #{this} to be " + n + e, "expected #{this} not to be " + n + e ) : this.assert( e === i, "expected #{this} to be " + n + e, "expected #{this} not to be " + n + e ); } o(Bv, "an"); I(Bv, "an"); S.addChainableMethod("an", Bv); S.addChainableMethod("a", Bv); function KP(e, t) { return Pl(e) && Pl(t) || e === t; } o(KP, "SameValueZero"); I(KP, "SameValueZero"); function os() { A(this, "contains", !0); } o(os, "includeChainingBehavior"); I(os, "includeChainingBehavior"); function is(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = ye(r).toLowerCase(), i = A(this, "message"), s = A(this, "negate"), a = A(this, "ssfi"), l = A(this, "deep"), u = l ? "deep " : "", c = l ? A(this, "eql") : KP; i = i ? i + ": " : ""; var d = !1; switch (n) { case "string": d = r.indexOf(e) !== -1; break; case "weakset": if (l) throw new ue( i + "unable to use .deep.include with WeakSet", void 0, a ); d = r.has(e); break; case "map": r.forEach(function(h) { d = d || c(h, e); }); break; case "set": l ? r.forEach(function(h) { d = d || c(h, e); }) : d = r.has(e); break; case "array": l ? d = r.some(function(h) { return c(h, e); }) : d = r.indexOf(e) !== -1; break; default: if (e !== Object(e)) throw new ue( i + "the given combination of arguments (" + n + " and " + ye(e).toLowerCase() + ") is invalid for this assertion. You can use an \ array, a map, an object, a set, a string, or a weakset instead of a " + ye(e).toLowerCase(), void 0, a ); var p = Object.keys(e), f = null, m = 0; if (p.forEach(function(h) { var b = new S(r); if ($t(this, b, !0), A(b, "lockSsfi", !0), !s || p.length === 1) { b.property(h, e[h]); return; } try { b.property(h, e[h]); } catch (v) { if (!vt.compatibleConstructor(v, ue)) throw v; f === null && (f = v), m++; } }, this), s && p.length > 1 && m === p.length) throw f; return; } this.assert( d, "expected #{this} to " + u + "include " + le(e), "expected #{this} to not " + u + "include " + le(e) ); } o(is, "include"); I(is, "include"); S.addChainableMethod("include", is, os); S.addChainableMethod("contain", is, os); S.addChainableMethod("contains", is, os); S.addChainableMethod("includes", is, os); S.addProperty("ok", function() { this.assert( A(this, "object"), "expected #{this} to be truthy", "expected #{this} to be falsy" ); }); S.addProperty("true", function() { this.assert( A(this, "object") === !0, "expected #{this} to be true", "expected #{this} to be false", !A(this, "negate") ); }); S.addProperty("numeric", function() { let e = A(this, "object"); this.assert( ["Number", "BigInt"].includes(ye(e)), "expected #{this} to be numeric", "expected #{this} to not be numeric", !A(this, "negate") ); }); S.addProperty("callable", function() { let e = A(this, "object"), t = A(this, "ssfi"), r = A(this, "message"), n = r ? `${r}: ` : "", i = A(this, "negate"), s = i ? `${n}expecte\ d ${le(e)} not to be a callable function` : `${n}expected ${le(e)} to be a callable function`, a = [ "Function", "AsyncFunction", "GeneratorFunction", "AsyncGeneratorFunction" ].includes(ye(e)); if (a && i || !a && !i) throw new ue(s, void 0, t); }); S.addProperty("false", function() { this.assert( A(this, "object") === !1, "expected #{this} to be false", "expected #{this} to be true", !!A(this, "negate") ); }); S.addProperty("null", function() { this.assert( A(this, "object") === null, "expected #{this} to be null", "expected #{this} not to be null" ); }); S.addProperty("undefined", function() { this.assert( A(this, "object") === void 0, "expected #{this} to be undefined", "expected #{this} not to be undefined" ); }); S.addProperty("NaN", function() { this.assert( Pl(A(this, "object")), "expected #{this} to be NaN", "expected #{this} not to be NaN" ); }); function Uv() { var e = A(this, "object"); this.assert( e != null, "expected #{this} to exist", "expected #{this} to not exist" ); } o(Uv, "assertExist"); I(Uv, "assertExist"); S.addProperty("exist", Uv); S.addProperty("exists", Uv); S.addProperty("empty", function() { var e = A(this, "object"), t = A(this, "ssfi"), r = A(this, "message"), n; switch (r = r ? r + ": " : "", ye(e).toLowerCase()) { case "array": case "string": n = e.length; break; case "map": case "set": n = e.size; break; case "weakmap": case "weakset": throw new ue( r + ".empty was passed a weak collection", void 0, t ); case "function": var i = r + ".empty was passed a function " + Nl(e); throw new ue(i.trim(), void 0, t); default: if (e !== Object(e)) throw new ue( r + ".empty was passed non-string primitive " + le(e), void 0, t ); n = Object.keys(e).length; } this.assert( n === 0, "expected #{this} to be empty", "expected #{this} not to be empty" ); }); function Hv() { var e = A(this, "object"), t = ye(e); this.assert( t === "Arguments", "expected #{this} to be arguments but got " + t, "expected #{this} to not be arguments" ); } o(Hv, "checkArguments"); I(Hv, "checkArguments"); S.addProperty("arguments", Hv); S.addProperty("Arguments", Hv); function jl(e, t) { t && A(this, "message", t); var r = A(this, "object"); if (A(this, "deep")) { var n = A(this, "lockSsfi"); A(this, "lockSsfi", !0), this.eql(e), A(this, "lockSsfi", n); } else this.assert( e === r, "expected #{this} to equal #{exp}", "expected #{this} to not equal #{exp}", e, this._obj, !0 ); } o(jl, "assertEqual"); I(jl, "assertEqual"); S.addMethod("equal", jl); S.addMethod("equals", jl); S.addMethod("eq", jl); function Vv(e, t) { t && A(this, "message", t); var r = A(this, "eql"); this.assert( r(e, A(this, "object")), "expected #{this} to deeply equal #{exp}", "expected #{this} to not deeply equal #{exp}", e, this._obj, !0 ); } o(Vv, "assertEql"); I(Vv, "assertEql"); S.addMethod("eql", Vv); S.addMethod("eqls", Vv); function kl(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "doLength"), i = A(this, "message"), s = i ? i + ": " : "", a = A(this, "ssfi"), l = ye(r).toLowerCase(), u = ye(e).toLowerCase(); if (n && l !== "map" && l !== "set" && new S(r, i, a, !0).to.have.property("length"), !n && l === "date" && u !== "date") throw new ue( s + "the argument to above must be a date", void 0, a ); if (!He(e) && (n || He(r))) throw new ue( s + "the argument to above must be a number", void 0, a ); if (!n && l !== "date" && !He(r)) { var c = l === "string" ? "'" + r + "'" : r; throw new ue( s + "expected " + c + " to be a number or a date", void 0, a ); } if (n) { var d = "length", p; l === "map" || l === "set" ? (d = "size", p = r.size) : p = r.length, this.assert( p > e, "expected #{this} to have a " + d + " above #{exp} but got #{act}", "expected #{this} to not have a " + d + " above #{exp}", e, p ); } else this.assert( r > e, "expected #{this} to be above #{exp}", "expected #{this} to be at most #{exp}", e ); } o(kl, "assertAbove"); I(kl, "assertAbove"); S.addMethod("above", kl); S.addMethod("gt", kl); S.addMethod("greaterThan", kl); function Ll(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "doLength"), i = A(this, "message"), s = i ? i + ": " : "", a = A(this, "ssfi"), l = ye(r).toLowerCase(), u = ye(e).toLowerCase(), c, d = !0; if (n && l !== "map" && l !== "set" && new S(r, i, a, !0).to.have.property("length"), !n && l === "date" && u !== "date") c = s + "the argument to least must be a date"; else if (!He(e) && (n || He(r))) c = s + "the argument to least must be a number"; else if (!n && l !== "date" && !He(r)) { var p = l === "string" ? "'" + r + "'" : r; c = s + "expected " + p + " to be a number or a date"; } else d = !1; if (d) throw new ue(c, void 0, a); if (n) { var f = "length", m; l === "map" || l === "set" ? (f = "size", m = r.size) : m = r.length, this.assert( m >= e, "expected #{this} to have a " + f + " at least #{exp} but got #{act}", "expected #{this} to have a " + f + " below #{exp}", e, m ); } else this.assert( r >= e, "expected #{this} to be at least #{exp}", "expected #{this} to be below #{exp}", e ); } o(Ll, "assertLeast"); I(Ll, "assertLeast"); S.addMethod("least", Ll); S.addMethod("gte", Ll); S.addMethod("greaterThanOrEqual", Ll); function Fl(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "doLength"), i = A(this, "message"), s = i ? i + ": " : "", a = A(this, "ssfi"), l = ye(r).toLowerCase(), u = ye(e).toLowerCase(), c, d = !0; if (n && l !== "map" && l !== "set" && new S(r, i, a, !0).to.have.property("length"), !n && l === "date" && u !== "date") c = s + "the argument to below must be a date"; else if (!He(e) && (n || He(r))) c = s + "the argument to below must be a number"; else if (!n && l !== "date" && !He(r)) { var p = l === "string" ? "'" + r + "'" : r; c = s + "expected " + p + " to be a number or a date"; } else d = !1; if (d) throw new ue(c, void 0, a); if (n) { var f = "length", m; l === "map" || l === "set" ? (f = "size", m = r.size) : m = r.length, this.assert( m < e, "expected #{this} to have a " + f + " below #{exp} but got #{act}", "expected #{this} to not have a " + f + " below #{exp}", e, m ); } else this.assert( r < e, "expected #{this} to be below #{exp}", "expected #{this} to be at least #{exp}", e ); } o(Fl, "assertBelow"); I(Fl, "assertBelow"); S.addMethod("below", Fl); S.addMethod("lt", Fl); S.addMethod("lessThan", Fl); function Dl(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "doLength"), i = A(this, "message"), s = i ? i + ": " : "", a = A(this, "ssfi"), l = ye(r).toLowerCase(), u = ye(e).toLowerCase(), c, d = !0; if (n && l !== "map" && l !== "set" && new S(r, i, a, !0).to.have.property("length"), !n && l === "date" && u !== "date") c = s + "the argument to most must be a date"; else if (!He(e) && (n || He(r))) c = s + "the argument to most must be a number"; else if (!n && l !== "date" && !He(r)) { var p = l === "string" ? "'" + r + "'" : r; c = s + "expected " + p + " to be a number or a date"; } else d = !1; if (d) throw new ue(c, void 0, a); if (n) { var f = "length", m; l === "map" || l === "set" ? (f = "size", m = r.size) : m = r.length, this.assert( m <= e, "expected #{this} to have a " + f + " at most #{exp} but got #{act}", "expected #{this} to have a " + f + " above #{exp}", e, m ); } else this.assert( r <= e, "expected #{this} to be at most #{exp}", "expected #{this} to be above #{exp}", e ); } o(Dl, "assertMost"); I(Dl, "assertMost"); S.addMethod("most", Dl); S.addMethod("lte", Dl); S.addMethod("lessThanOrEqual", Dl); S.addMethod("within", function(e, t, r) { r && A(this, "message", r); var n = A(this, "object"), i = A(this, "doLength"), s = A(this, "message"), a = s ? s + ": " : "", l = A(this, "ssfi"), u = ye(n).toLowerCase(), c = ye(e).toLowerCase(), d = ye(t).toLowerCase(), p, f = !0, m = c === "date" && d === "date" ? e.toISOString() + ".." + t.toISOString() : e + ".." + t; if (i && u !== "map" && u !== "set" && new S(n, s, l, !0).to.have.property("length"), !i && u === "date" && (c !== "date" || d !== "date")) p = a + "the arguments to within must be dates"; else if ((!He(e) || !He(t)) && (i || He(n))) p = a + "the arguments to within must be numbers"; else if (!i && u !== "date" && !He(n)) { var h = u === "string" ? "'" + n + "'" : n; p = a + "expected " + h + " to be a number or a date"; } else f = !1; if (f) throw new ue(p, void 0, l); if (i) { var b = "length", v; u === "map" || u === "set" ? (b = "size", v = n.size) : v = n.length, this.assert( v >= e && v <= t, "expected #{this} to have a " + b + " within " + m, "expected #{this} to not have a " + b + " within " + m ); } else this.assert( n >= e && n <= t, "expected #{this} to be within " + m, "expected #{this} to not be within " + m ); }); function zv(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "ssfi"), i = A(this, "message"); try { var s = r instanceof e; } catch (l) { throw l instanceof TypeError ? (i = i ? i + ": " : "", new ue( i + "The instanceof assertion needs a constructor but " + ye(e) + " was given.", void 0, n )) : l; } var a = Nl(e); a == null && (a = "an unnamed constructor"), this.assert( s, "expected #{this} to be an instance of " + a, "expected #{this} to not be an instance of " + a ); } o(zv, "assertInstanceOf"); I(zv, "assertInstanceOf"); S.addMethod("instanceof", zv); S.addMethod("instanceOf", zv); function Gv(e, t, r) { r && A(this, "message", r); var n = A(this, "nested"), i = A(this, "own"), s = A(this, "message"), a = A(this, "object"), l = A(this, "ssfi"), u = typeof e; if (s = s ? s + ": " : "", n) { if (u !== "string") throw new ue( s + "the argument to property must be a string when using nested syntax", void 0, l ); } else if (u !== "string" && u !== "number" && u !== "symbol") throw new ue( s + "the argument to property must be a string, number, or symbol", void 0, l ); if (n && i) throw new ue( s + 'The "nested" and "own" flags cannot be combined.', void 0, l ); if (a == null) throw new ue( s + "Target cannot be null or undefined.", void 0, l ); var c = A(this, "deep"), d = A(this, "negate"), p = n ? qv(a, e) : null, f = n ? p.value : a[e], m = c ? A(this, "eql") : (v, g) => v === g, h = ""; c && (h += "deep "), i && (h += "own "), n && (h += "nested "), h += "property "; var b; i ? b = Object.prototype.hasOwnProperty.call(a, e) : n ? b = p.exists : b = Ml(a, e), (!d || arguments.length === 1) && this.assert( b, "expected #{this} to have " + h + le(e), "expected #{this} to not have " + h + le(e) ), arguments.length > 1 && this.assert( b && m(t, f), "expected #{this} to have " + h + le(e) + " of #{exp}, but got #{act}", "expected #{this} to not have " + h + le(e) + " of #{act}", t, f ), A(this, "object", f); } o(Gv, "assertProperty"); I(Gv, "assertProperty"); S.addMethod("property", Gv); function Wv(e, t, r) { A(this, "own", !0), Gv.apply(this, arguments); } o(Wv, "assertOwnProperty"); I(Wv, "assertOwnProperty"); S.addMethod("ownProperty", Wv); S.addMethod("haveOwnProperty", Wv); function Yv(e, t, r) { typeof t == "string" && (r = t, t = null), r && A(this, "message", r); var n = A(this, "object"), i = Object.getOwnPropertyDescriptor(Object(n), e), s = A(this, "eql"); i && t ? this.assert( s(t, i), "expected the own property descriptor for " + le(e) + " on #{this} to match " + le(t) + ", got " + le(i), "expected the own property descriptor for " + le(e) + " on #{this} to not match " + le(t), t, i, !0 ) : this.assert( i, "expected #{this} to have an own property descriptor for " + le(e), "expected #{this} to not have an own property descriptor for " + le(e) ), A(this, "object", i); } o(Yv, "assertOwnPropertyDescriptor"); I(Yv, "assertOwnPropertyDescriptor"); S.addMethod("ownPropertyDescriptor", Yv); S.addMethod("haveOwnPropertyDescriptor", Yv); function Kv() { A(this, "doLength", !0); } o(Kv, "assertLengthChain"); I(Kv, "assertLengthChain"); function Xv(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = ye(r).toLowerCase(), i = A(this, "message"), s = A(this, "ssfi"), a = "length", l; switch (n) { case "map": case "set": a = "size", l = r.size; break; default: new S(r, i, s, !0).to.have.property("length"), l = r.length; } this.assert( l == e, "expected #{this} to have a " + a + " of #{exp} but got #{act}", "expected #{this} to not have a " + a + " of #{act}", e, l ); } o(Xv, "assertLength"); I(Xv, "assertLength"); S.addChainableMethod("length", Xv, Kv); S.addChainableMethod("lengthOf", Xv, Kv); function Jv(e, t) { t && A(this, "message", t); var r = A(this, "object"); this.assert( e.exec(r), "expected #{this} to match " + e, "expected #{this} not to match " + e ); } o(Jv, "assertMatch"); I(Jv, "assertMatch"); S.addMethod("match", Jv); S.addMethod("matches", Jv); S.addMethod("string", function(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "message"), i = A(this, "ssfi"); new S(r, n, i, !0).is.a("string"), this.assert( ~r.indexOf(e), "expected #{this} to contain " + le(e), "expected #{this} to not contain " + le(e) ); }); function Qv(e) { var t = A(this, "object"), r = ye(t), n = ye(e), i = A(this, "ssfi"), s = A(this, "deep"), a, l = "", u, c = !0, d = A(this, "message"); d = d ? d + ": " : ""; var p = d + "when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String argume\ nts"; if (r === "Map" || r === "Set") l = s ? "deeply " : "", u = [], t.forEach(function(w, E) { u.push(E); }), n !== "Array" && (e = Array.prototype.slice.call(arguments)); else { switch (u = Dv(t), n) { case "Array": if (arguments.length > 1) throw new ue(p, void 0, i); break; case "Object": if (arguments.length > 1) throw new ue(p, void 0, i); e = Object.keys(e); break; default: e = Array.prototype.slice.call(arguments); } e = e.map(function(w) { return typeof w == "symbol" ? w : String(w); }); } if (!e.length) throw new ue(d + "keys required", void 0, i); var f = e.length, m = A(this, "any"), h = A(this, "all"), b = e, v = s ? A(this, "eql") : (w, E) => w === E; if (!m && !h && (h = !0), m && (c = b.some(function(w) { return u.some(function(E) { return v(w, E); }); })), h && (c = b.every(function(w) { return u.some(function(E) { return v(w, E); }); }), A(this, "contains") || (c = c && e.length == u.length)), f > 1) { e = e.map(function(w) { return le(w); }); var g = e.pop(); h && (a = e.join(", ") + ", and " + g), m && (a = e.join(", ") + ", or " + g); } else a = le(e[0]); a = (f > 1 ? "keys " : "key ") + a, a = (A(this, "contains") ? "contain " : "have ") + a, this.assert( c, "expected #{this} to " + l + a, "expected #{this} to not " + l + a, b.slice(0).sort(Cl), u.sort(Cl), !0 ); } o(Qv, "assertKeys"); I(Qv, "assertKeys"); S.addMethod("keys", Qv); S.addMethod("key", Qv); function $l(e, t, r) { r && A(this, "message", r); var n = A(this, "object"), i = A(this, "ssfi"), s = A(this, "message"), a = A(this, "negate") || !1; new S(n, s, i, !0).is.a("function"), (Al(e) || typeof e == "string") && (t = e, e = null); let l, u = !1; try { n(); } catch (w) { u = !0, l = w; } var c = e === void 0 && t === void 0, d = !!(e && t), p = !1, f = !1; if (c || !c && !a) { var m = "an error"; e instanceof Error ? m = "#{exp}" : e && (m = vt.getConstructorName(e)); let w = l; if (l instanceof Error) w = l.toString(); else if (typeof l == "string") w = l; else if (l && (typeof l == "object" || typeof l == "function")) try { w = vt.getConstructorName(l); } catch { } this.assert( u, "expected #{this} to throw " + m, "expected #{this} to not throw an error but #{act} was thrown", e && e.toString(), w ); } if (e && l) { if (e instanceof Error) { var h = vt.compatibleInstance( l, e ); h === a && (d && a ? p = !0 : this.assert( a, "expected #{this} to throw #{exp} but #{act} was thrown", "expected #{this} to not throw #{exp}" + (l && !a ? " but #{act} was thrown" : ""), e.toString(), l.toString() )); } var b = vt.compatibleConstructor( l, e ); b === a && (d && a ? p = !0 : this.assert( a, "expected #{this} to throw #{exp} but #{act} was thrown", "expected #{this} to not throw #{exp}" + (l ? " but #{act} was thrown" : ""), e instanceof Error ? e.toString() : e && vt.getConstructorName(e), l instanceof Error ? l.toString() : l && vt.getConstructorName(l) )); } if (l && t !== void 0 && t !== null) { var v = "including"; Al(t) && (v = "matching"); var g = vt.compatibleMessage( l, t ); g === a && (d && a ? f = !0 : this.assert( a, "expected #{this} to throw error " + v + " #{exp} but got #{act}", "expected #{this} to throw error not " + v + " #{exp}", t, vt.getMessage(l) )); } p && f && this.assert( a, "expected #{this} to throw #{exp} but #{act} was thrown", "expected #{this} to not throw #{exp}" + (l ? " but #{act} was thrown" : ""), e instanceof Error ? e.toString() : e && vt.getConstructorName(e), l instanceof Error ? l.toString() : l && vt.getConstructorName(l) ), A(this, "object", l); } o($l, "assertThrows"); I($l, "assertThrows"); S.addMethod("throw", $l); S.addMethod("throws", $l); S.addMethod("Throw", $l); function Zv(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "itself"), i = typeof r == "function" && !n ? r.prototype[e] : r[e]; this.assert( typeof i == "function", "expected #{this} to respond to " + le(e), "expected #{this} to not respond to " + le(e) ); } o(Zv, "respondTo"); I(Zv, "respondTo"); S.addMethod("respondTo", Zv); S.addMethod("respondsTo", Zv); S.addProperty("itself", function() { A(this, "itself", !0); }); function eE(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = e(r); this.assert( n, "expected #{this} to satisfy " + Rn(e), "expected #{this} to not satisfy" + Rn(e), !A(this, "negate"), n ); } o(eE, "satisfy"); I(eE, "satisfy"); S.addMethod("satisfy", eE); S.addMethod("satisfies", eE); function tE(e, t, r) { r && A(this, "message", r); var n = A(this, "object"), i = A(this, "message"), s = A(this, "ssfi"); new S(n, i, s, !0).is.numeric; let a = "A `delta` value is required for `closeTo`"; if (t == null) throw new ue( i ? `${i}: ${a}` : a, void 0, s ); if (new S(t, i, s, !0).is.numeric, a = "A `expected` value is required for `closeTo`", e == null) throw new ue( i ? `${i}: ${a}` : a, void 0, s ); new S(e, i, s, !0).is.numeric; let l = /* @__PURE__ */ I((c) => c < 0n ? -c : c, "abs"), u = /* @__PURE__ */ I((c) => parseFloat(parseFloat(c).toPrecision(12)), "strip"); this.assert( u(l(n - e)) <= t, "expected #{this} to be close to " + e + " +/- " + t, "expected #{this} not to be close to " + e + " +/- " + t ); } o(tE, "closeTo"); I(tE, "closeTo"); S.addMethod("closeTo", tE); S.addMethod("approximately", tE); function XP(e, t, r, n, i) { let s = Array.from(t), a = Array.from(e); if (!n) { if (a.length !== s.length) return !1; s = s.slice(); } return a.every(function(l, u) { if (i) return r ? r(l, s[u]) : l === s[u]; if (!r) { var c = s.indexOf(l); return c === -1 ? !1 : (n || s.splice(c, 1), !0); } return s.some(function(d, p) { return r(l, d) ? (n || s.splice(p, 1), !0) : !1; }); }); } o(XP, "isSubsetOf"); I(XP, "isSubsetOf"); S.addMethod("members", function(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "message"), i = A(this, "ssfi"); new S(r, n, i, !0).to.be.iterable, new S(e, n, i, !0).to.be.iterable; var s = A(this, "contains"), a = A(this, "ordered"), l, u, c; s ? (l = a ? "an ordered superset" : "a superset", u = "expected #{this} to be " + l + " of #{exp}", c = "expected #{this} to not be " + l + " of #{exp}") : (l = a ? "ordered members" : "members", u = "expected #{this} to have the same " + l + " as #{exp}", c = "expected #{this}\ to not have the same " + l + " as #{exp}"); var d = A(this, "deep") ? A(this, "eql") : void 0; this.assert( XP(e, r, d, s, a), u, c, e, r, !0 ); }); S.addProperty("iterable", function(e) { e && A(this, "message", e); var t = A(this, "object"); this.assert( t != null && t[Symbol.iterator], "expected #{this} to be an iterable", "expected #{this} to not be an iterable", t ); }); function JP(e, t) { t && A(this, "message", t); var r = A(this, "object"), n = A(this, "message"), i = A(this, "ssfi"), s = A(this, "contains"), a = A(this, "deep"), l = A(this, "eql"); new S(e, n, i, !0).to.be.an("array"), s ? this.assert( e.some(function(u) { return r.indexOf(u) > -1; }), "expected #{this} to contain one of #{exp}", "expected #{this} to not contain one of #{exp}", e, r ) : a ? this.assert( e.some(function(u) { return l(r, u); }), "expected #{this} to deeply equal one of #{exp}", "expected #{this} to deeply equal one of #{exp}", e, r ) : this.assert( e.indexOf(r) > -1, "expected #{this} to be one of #{exp}", "expected #{this} to not be one of #{exp}", e, r ); } o(JP, "oneOf"); I(JP, "oneOf"); S.addMethod("oneOf", JP); function rE(e, t, r) { r && A(this, "message", r); var n = A(this, "object"), i = A(this, "message"), s = A(this, "ssfi"); new S(n, i, s, !0).is.a("function"); var a; t ? (new S(e, i, s, !0).to.have.property(t), a = e[t]) : (new S(e, i, s, !0).is.a("function"), a = e()), n(); var l = t == null ? e() : e[t], u = t == null ? a : "." + t; A(this, "deltaMsgObj", u), A(this, "initialDeltaValue", a), A(this, "finalDeltaValue", l), A(this, "deltaBehavior", "change"), A(this, "re\ alDelta", l !== a), this.assert( a !== l, "expected " + u + " to change", "expected " + u + " to not change" ); } o(rE, "assertChanges"); I(rE, "assertChanges"); S.addMethod("change", rE); S.addMethod("changes", rE); function nE(e, t, r) { r && A(this, "message", r); var n = A(this, "object"), i = A(this, "message"), s = A(this, "ssfi"); new S(n, i, s, !0).is.a("function"); var a; t ? (new S(e, i, s, !0).to.have.property(t), a = e[t]) : (new S(e, i, s, !0).is.a("function"), a = e()), new S(a, i, s, !0).is.a("number"), n(); var l = t == null ? e() : e[t], u = t == null ? a : "." + t; A(this, "deltaMsgObj", u), A(this, "initialDeltaValue", a), A(this, "finalDeltaValue", l), A(this, "deltaBehavior", "increase"), A(this, "\ realDelta", l - a), this.assert( l - a > 0, "expected " + u + " to increase", "expected " + u + " to not increase" ); } o(nE, "assertIncreases"); I(nE, "assertIncreases"); S.addMethod("increase", nE); S.addMethod("increases", nE); function oE(e, t, r) { r && A(this, "message", r); var n = A(this, "object"), i = A(this, "message"), s = A(this, "ssfi"); new S(n, i, s, !0).is.a("function"); var a; t ? (new S(e, i, s, !0).to.have.property(t), a = e[t]) : (new S(e, i, s, !0).is.a("function"), a = e()), new S(a, i, s, !0).is.a("number"), n(); var l = t == null ? e() : e[t], u = t == null ? a : "." + t; A(this, "deltaMsgObj", u), A(this, "initialDeltaValue", a), A(this, "finalDeltaValue", l), A(this, "deltaBehavior", "decrease"), A(this, "\ realDelta", a - l), this.assert( l - a < 0, "expected " + u + " to decrease", "expected " + u + " to not decrease" ); } o(oE, "assertDecreases"); I(oE, "assertDecreases"); S.addMethod("decrease", oE); S.addMethod("decreases", oE); function QP(e, t) { t && A(this, "message", t); var r = A(this, "deltaMsgObj"), n = A(this, "initialDeltaValue"), i = A(this, "finalDeltaValue"), s = A(this, "deltaBehavior"), a = A(this, "realDelta"), l; s === "change" ? l = Math.abs(i - n) === Math.abs(e) : l = a === Math.abs(e), this.assert( l, "expected " + r + " to " + s + " by " + e, "expected " + r + " to not " + s + " by " + e ); } o(QP, "assertDelta"); I(QP, "assertDelta"); S.addMethod("by", QP); S.addProperty("extensible", function() { var e = A(this, "object"), t = e === Object(e) && Object.isExtensible(e); this.assert( t, "expected #{this} to be extensible", "expected #{this} to not be extensible" ); }); S.addProperty("sealed", function() { var e = A(this, "object"), t = e === Object(e) ? Object.isSealed(e) : !0; this.assert( t, "expected #{this} to be sealed", "expected #{this} to not be sealed" ); }); S.addProperty("frozen", function() { var e = A(this, "object"), t = e === Object(e) ? Object.isFrozen(e) : !0; this.assert( t, "expected #{this} to be frozen", "expected #{this} to not be frozen" ); }); S.addProperty("finite", function(e) { var t = A(this, "object"); this.assert( typeof t == "number" && isFinite(t), "expected #{this} to be a finite number", "expected #{this} to not be a finite number" ); }); function Ol(e, t) { return e === t ? !0 : typeof t != typeof e ? !1 : typeof e != "object" || e === null ? e === t : t ? Array.isArray(e) ? Array.isArray(t) ? e.every(function(r) { return t.some(function(n) { return Ol(r, n); }); }) : !1 : e instanceof Date ? t instanceof Date ? e.getTime() === t.getTime() : !1 : Object.keys(e).every(function(r) { var n = e[r], i = t[r]; return typeof n == "object" && n !== null && i !== null ? Ol(n, i) : typeof n == "function" ? n(i) : i === n; }) : !1; } o(Ol, "compareSubset"); I(Ol, "compareSubset"); S.addMethod("containSubset", function(e) { let t = ee(this, "object"), r = lt.showDiff; this.assert( Ol(e, t), "expected #{act} to contain subset #{exp}", "expected #{act} to not contain subset #{exp}", e, t, r ); }); function Lr(e, t) { return new S(e, t); } o(Lr, "expect"); I(Lr, "expect"); Lr.fail = function(e, t, r, n) { throw arguments.length < 2 && (r = e, e = void 0), r = r || "expect.fail()", new ue( r, { actual: e, expected: t, operator: n }, Lr.fail ); }; var ZP = {}; Rv(ZP, { Should: /* @__PURE__ */ o(() => KW, "Should"), should: /* @__PURE__ */ o(() => YW, "should") }); function iE() { function e() { return this instanceof String || this instanceof Number || this instanceof Boolean || typeof Symbol == "function" && this instanceof Symbol || typeof BigInt == "function" && this instanceof BigInt ? new S(this.valueOf(), null, e) : new S(this, null, e); } o(e, "shouldGetter"), I(e, "shouldGetter"); function t(n) { Object.defineProperty(this, "should", { value: n, enumerable: !0, configurable: !0, writable: !0 }); } o(t, "shouldSetter"), I(t, "shouldSetter"), Object.defineProperty(Object.prototype, "should", { set: t, get: e, configurable: !0 }); var r = {}; return r.fail = function(n, i, s, a) { throw arguments.length < 2 && (s = n, n = void 0), s = s || "should.fail()", new ue( s, { actual: n, expected: i, operator: a }, r.fail ); }, r.equal = function(n, i, s) { new S(n, s).to.equal(i); }, r.Throw = function(n, i, s, a) { new S(n, a).to.Throw(i, s); }, r.exist = function(n, i) { new S(n, i).to.exist; }, r.not = {}, r.not.equal = function(n, i, s) { new S(n, s).to.not.equal(i); }, r.not.Throw = function(n, i, s, a) { new S(n, a).to.not.Throw(i, s); }, r.not.exist = function(n, i) { new S(n, i).to.not.exist; }, r.throw = r.Throw, r.not.throw = r.not.Throw, r; } o(iE, "loadShould"); I(iE, "loadShould"); var YW = iE, KW = iE; function x(e, t) { var r = new S(null, null, x, !0); r.assert(e, t, "[ negation message unavailable ]"); } o(x, "assert"); I(x, "assert"); x.fail = function(e, t, r, n) { throw arguments.length < 2 && (r = e, e = void 0), r = r || "assert.fail()", new ue( r, { actual: e, expected: t, operator: n }, x.fail ); }; x.isOk = function(e, t) { new S(e, t, x.isOk, !0).is.ok; }; x.isNotOk = function(e, t) { new S(e, t, x.isNotOk, !0).is.not.ok; }; x.equal = function(e, t, r) { var n = new S(e, r, x.equal, !0); n.assert( t == ee(n, "object"), "expected #{this} to equal #{exp}", "expected #{this} to not equal #{act}", t, e, !0 ); }; x.notEqual = function(e, t, r) { var n = new S(e, r, x.notEqual, !0); n.assert( t != ee(n, "object"), "expected #{this} to not equal #{exp}", "expected #{this} to equal #{act}", t, e, !0 ); }; x.strictEqual = function(e, t, r) { new S(e, r, x.strictEqual, !0).to.equal(t); }; x.notStrictEqual = function(e, t, r) { new S(e, r, x.notStrictEqual, !0).to.not.equal(t); }; x.deepEqual = x.deepStrictEqual = function(e, t, r) { new S(e, r, x.deepEqual, !0).to.eql(t); }; x.notDeepEqual = function(e, t, r) { new S(e, r, x.notDeepEqual, !0).to.not.eql(t); }; x.isAbove = function(e, t, r) { new S(e, r, x.isAbove, !0).to.be.above(t); }; x.isAtLeast = function(e, t, r) { new S(e, r, x.isAtLeast, !0).to.be.least(t); }; x.isBelow = function(e, t, r) { new S(e, r, x.isBelow, !0).to.be.below(t); }; x.isAtMost = function(e, t, r) { new S(e, r, x.isAtMost, !0).to.be.most(t); }; x.isTrue = function(e, t) { new S(e, t, x.isTrue, !0).is.true; }; x.isNotTrue = function(e, t) { new S(e, t, x.isNotTrue, !0).to.not.equal(!0); }; x.isFalse = function(e, t) { new S(e, t, x.isFalse, !0).is.false; }; x.isNotFalse = function(e, t) { new S(e, t, x.isNotFalse, !0).to.not.equal(!1); }; x.isNull = function(e, t) { new S(e, t, x.isNull, !0).to.equal(null); }; x.isNotNull = function(e, t) { new S(e, t, x.isNotNull, !0).to.not.equal(null); }; x.isNaN = function(e, t) { new S(e, t, x.isNaN, !0).to.be.NaN; }; x.isNotNaN = function(e, t) { new S(e, t, x.isNotNaN, !0).not.to.be.NaN; }; x.exists = function(e, t) { new S(e, t, x.exists, !0).to.exist; }; x.notExists = function(e, t) { new S(e, t, x.notExists, !0).to.not.exist; }; x.isUndefined = function(e, t) { new S(e, t, x.isUndefined, !0).to.equal(void 0); }; x.isDefined = function(e, t) { new S(e, t, x.isDefined, !0).to.not.equal(void 0); }; x.isCallable = function(e, t) { new S(e, t, x.isCallable, !0).is.callable; }; x.isNotCallable = function(e, t) { new S(e, t, x.isNotCallable, !0).is.not.callable; }; x.isObject = function(e, t) { new S(e, t, x.isObject, !0).to.be.a("object"); }; x.isNotObject = function(e, t) { new S(e, t, x.isNotObject, !0).to.not.be.a("object"); }; x.isArray = function(e, t) { new S(e, t, x.isArray, !0).to.be.an("array"); }; x.isNotArray = function(e, t) { new S(e, t, x.isNotArray, !0).to.not.be.an("array"); }; x.isString = function(e, t) { new S(e, t, x.isString, !0).to.be.a("string"); }; x.isNotString = function(e, t) { new S(e, t, x.isNotString, !0).to.not.be.a("string"); }; x.isNumber = function(e, t) { new S(e, t, x.isNumber, !0).to.be.a("number"); }; x.isNotNumber = function(e, t) { new S(e, t, x.isNotNumber, !0).to.not.be.a("number"); }; x.isNumeric = function(e, t) { new S(e, t, x.isNumeric, !0).is.numeric; }; x.isNotNumeric = function(e, t) { new S(e, t, x.isNotNumeric, !0).is.not.numeric; }; x.isFinite = function(e, t) { new S(e, t, x.isFinite, !0).to.be.finite; }; x.isBoolean = function(e, t) { new S(e, t, x.isBoolean, !0).to.be.a("boolean"); }; x.isNotBoolean = function(e, t) { new S(e, t, x.isNotBoolean, !0).to.not.be.a("boolean"); }; x.typeOf = function(e, t, r) { new S(e, r, x.typeOf, !0).to.be.a(t); }; x.notTypeOf = function(e, t, r) { new S(e, r, x.notTypeOf, !0).to.not.be.a(t); }; x.instanceOf = function(e, t, r) { new S(e, r, x.instanceOf, !0).to.be.instanceOf(t); }; x.notInstanceOf = function(e, t, r) { new S(e, r, x.notInstanceOf, !0).to.not.be.instanceOf( t ); }; x.include = function(e, t, r) { new S(e, r, x.include, !0).include(t); }; x.notInclude = function(e, t, r) { new S(e, r, x.notInclude, !0).not.include(t); }; x.deepInclude = function(e, t, r) { new S(e, r, x.deepInclude, !0).deep.include(t); }; x.notDeepInclude = function(e, t, r) { new S(e, r, x.notDeepInclude, !0).not.deep.include(t); }; x.nestedInclude = function(e, t, r) { new S(e, r, x.nestedInclude, !0).nested.include(t); }; x.notNestedInclude = function(e, t, r) { new S(e, r, x.notNestedInclude, !0).not.nested.include( t ); }; x.deepNestedInclude = function(e, t, r) { new S(e, r, x.deepNestedInclude, !0).deep.nested.include( t ); }; x.notDeepNestedInclude = function(e, t, r) { new S( e, r, x.notDeepNestedInclude, !0 ).not.deep.nested.include(t); }; x.ownInclude = function(e, t, r) { new S(e, r, x.ownInclude, !0).own.include(t); }; x.notOwnInclude = function(e, t, r) { new S(e, r, x.notOwnInclude, !0).not.own.include(t); }; x.deepOwnInclude = function(e, t, r) { new S(e, r, x.deepOwnInclude, !0).deep.own.include(t); }; x.notDeepOwnInclude = function(e, t, r) { new S(e, r, x.notDeepOwnInclude, !0).not.deep.own.include( t ); }; x.match = function(e, t, r) { new S(e, r, x.match, !0).to.match(t); }; x.notMatch = function(e, t, r) { new S(e, r, x.notMatch, !0).to.not.match(t); }; x.property = function(e, t, r) { new S(e, r, x.property, !0).to.have.property(t); }; x.notProperty = function(e, t, r) { new S(e, r, x.notProperty, !0).to.not.have.property(t); }; x.propertyVal = function(e, t, r, n) { new S(e, n, x.propertyVal, !0).to.have.property(t, r); }; x.notPropertyVal = function(e, t, r, n) { new S(e, n, x.notPropertyVal, !0).to.not.have.property( t, r ); }; x.deepPropertyVal = function(e, t, r, n) { new S(e, n, x.deepPropertyVal, !0).to.have.deep.property( t, r ); }; x.notDeepPropertyVal = function(e, t, r, n) { new S( e, n, x.notDeepPropertyVal, !0 ).to.not.have.deep.property(t, r); }; x.ownProperty = function(e, t, r) { new S(e, r, x.ownProperty, !0).to.have.own.property(t); }; x.notOwnProperty = function(e, t, r) { new S(e, r, x.notOwnProperty, !0).to.not.have.own.property( t ); }; x.ownPropertyVal = function(e, t, r, n) { new S(e, n, x.ownPropertyVal, !0).to.have.own.property( t, r ); }; x.notOwnPropertyVal = function(e, t, r, n) { new S( e, n, x.notOwnPropertyVal, !0 ).to.not.have.own.property(t, r); }; x.deepOwnPropertyVal = function(e, t, r, n) { new S( e, n, x.deepOwnPropertyVal, !0 ).to.have.deep.own.property(t, r); }; x.notDeepOwnPropertyVal = function(e, t, r, n) { new S( e, n, x.notDeepOwnPropertyVal, !0 ).to.not.have.deep.own.property(t, r); }; x.nestedProperty = function(e, t, r) { new S(e, r, x.nestedProperty, !0).to.have.nested.property( t ); }; x.notNestedProperty = function(e, t, r) { new S( e, r, x.notNestedProperty, !0 ).to.not.have.nested.property(t); }; x.nestedPropertyVal = function(e, t, r, n) { new S( e, n, x.nestedPropertyVal, !0 ).to.have.nested.property(t, r); }; x.notNestedPropertyVal = function(e, t, r, n) { new S( e, n, x.notNestedPropertyVal, !0 ).to.not.have.nested.property(t, r); }; x.deepNestedPropertyVal = function(e, t, r, n) { new S( e, n, x.deepNestedPropertyVal, !0 ).to.have.deep.nested.property(t, r); }; x.notDeepNestedPropertyVal = function(e, t, r, n) { new S( e, n, x.notDeepNestedPropertyVal, !0 ).to.not.have.deep.nested.property(t, r); }; x.lengthOf = function(e, t, r) { new S(e, r, x.lengthOf, !0).to.have.lengthOf(t); }; x.hasAnyKeys = function(e, t, r) { new S(e, r, x.hasAnyKeys, !0).to.have.any.keys(t); }; x.hasAllKeys = function(e, t, r) { new S(e, r, x.hasAllKeys, !0).to.have.all.keys(t); }; x.containsAllKeys = function(e, t, r) { new S(e, r, x.containsAllKeys, !0).to.contain.all.keys( t ); }; x.doesNotHaveAnyKeys = function(e, t, r) { new S(e, r, x.doesNotHaveAnyKeys, !0).to.not.have.any.keys( t ); }; x.doesNotHaveAllKeys = function(e, t, r) { new S(e, r, x.doesNotHaveAllKeys, !0).to.not.have.all.keys( t ); }; x.hasAnyDeepKeys = function(e, t, r) { new S(e, r, x.hasAnyDeepKeys, !0).to.have.any.deep.keys( t ); }; x.hasAllDeepKeys = function(e, t, r) { new S(e, r, x.hasAllDeepKeys, !0).to.have.all.deep.keys( t ); }; x.containsAllDeepKeys = function(e, t, r) { new S( e, r, x.containsAllDeepKeys, !0 ).to.contain.all.deep.keys(t); }; x.doesNotHaveAnyDeepKeys = function(e, t, r) { new S( e, r, x.doesNotHaveAnyDeepKeys, !0 ).to.not.have.any.deep.keys(t); }; x.doesNotHaveAllDeepKeys = function(e, t, r) { new S( e, r, x.doesNotHaveAllDeepKeys, !0 ).to.not.have.all.deep.keys(t); }; x.throws = function(e, t, r, n) { (typeof t == "string" || t instanceof RegExp) && (r = t, t = null); var i = new S(e, n, x.throws, !0).to.throw( t, r ); return ee(i, "object"); }; x.doesNotThrow = function(e, t, r, n) { (typeof t == "string" || t instanceof RegExp) && (r = t, t = null), new S(e, n, x.doesNotThrow, !0).to.not.throw( t, r ); }; x.operator = function(e, t, r, n) { var i; switch (t) { case "==": i = e == r; break; case "===": i = e === r; break; case ">": i = e > r; break; case ">=": i = e >= r; break; case "<": i = e < r; break; case "<=": i = e <= r; break; case "!=": i = e != r; break; case "!==": i = e !== r; break; default: throw n = n && n + ": ", new ue( n + 'Invalid operator "' + t + '"', void 0, x.operator ); } var s = new S(i, n, x.operator, !0); s.assert( ee(s, "object") === !0, "expected " + le(e) + " to be " + t + " " + le(r), "expected " + le(e) + " to not be " + t + " " + le(r) ); }; x.closeTo = function(e, t, r, n) { new S(e, n, x.closeTo, !0).to.be.closeTo(t, r); }; x.approximately = function(e, t, r, n) { new S(e, n, x.approximately, !0).to.be.approximately( t, r ); }; x.sameMembers = function(e, t, r) { new S(e, r, x.sameMembers, !0).to.have.same.members(t); }; x.notSameMembers = function(e, t, r) { new S( e, r, x.notSameMembers, !0 ).to.not.have.same.members(t); }; x.sameDeepMembers = function(e, t, r) { new S( e, r, x.sameDeepMembers, !0 ).to.have.same.deep.members(t); }; x.notSameDeepMembers = function(e, t, r) { new S( e, r, x.notSameDeepMembers, !0 ).to.not.have.same.deep.members(t); }; x.sameOrderedMembers = function(e, t, r) { new S( e, r, x.sameOrderedMembers, !0 ).to.have.same.ordered.members(t); }; x.notSameOrderedMembers = function(e, t, r) { new S( e, r, x.notSameOrderedMembers, !0 ).to.not.have.same.ordered.members(t); }; x.sameDeepOrderedMembers = function(e, t, r) { new S( e, r, x.sameDeepOrderedMembers, !0 ).to.have.same.deep.ordered.members(t); }; x.notSameDeepOrderedMembers = function(e, t, r) { new S( e, r, x.notSameDeepOrderedMembers, !0 ).to.not.have.same.deep.ordered.members(t); }; x.includeMembers = function(e, t, r) { new S(e, r, x.includeMembers, !0).to.include.members( t ); }; x.notIncludeMembers = function(e, t, r) { new S( e, r, x.notIncludeMembers, !0 ).to.not.include.members(t); }; x.includeDeepMembers = function(e, t, r) { new S( e, r, x.includeDeepMembers, !0 ).to.include.deep.members(t); }; x.notIncludeDeepMembers = function(e, t, r) { new S( e, r, x.notIncludeDeepMembers, !0 ).to.not.include.deep.members(t); }; x.includeOrderedMembers = function(e, t, r) { new S( e, r, x.includeOrderedMembers, !0 ).to.include.ordered.members(t); }; x.notIncludeOrderedMembers = function(e, t, r) { new S( e, r, x.notIncludeOrderedMembers, !0 ).to.not.include.ordered.members(t); }; x.includeDeepOrderedMembers = function(e, t, r) { new S( e, r, x.includeDeepOrderedMembers, !0 ).to.include.deep.ordered.members(t); }; x.notIncludeDeepOrderedMembers = function(e, t, r) { new S( e, r, x.notIncludeDeepOrderedMembers, !0 ).to.not.include.deep.ordered.members(t); }; x.oneOf = function(e, t, r) { new S(e, r, x.oneOf, !0).to.be.oneOf(t); }; x.isIterable = function(e, t) { if (e == null || !e[Symbol.iterator]) throw t = t ? `${t} expected ${le(e)} to be an iterable` : `expected ${le(e)} to be an iterable`, new ue(t, void 0, x.isIterable); }; x.changes = function(e, t, r, n) { arguments.length === 3 && typeof t == "function" && (n = r, r = null), new S(e, n, x.changes, !0).to.change(t, r); }; x.changesBy = function(e, t, r, n, i) { if (arguments.length === 4 && typeof t == "function") { var s = n; n = r, i = s; } else arguments.length === 3 && (n = r, r = null); new S(e, i, x.changesBy, !0).to.change(t, r).by(n); }; x.doesNotChange = function(e, t, r, n) { return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new S(e, n, x.doesNotChange, !0).to.not.change( t, r ); }; x.changesButNotBy = function(e, t, r, n, i) { if (arguments.length === 4 && typeof t == "function") { var s = n; n = r, i = s; } else arguments.length === 3 && (n = r, r = null); new S(e, i, x.changesButNotBy, !0).to.change(t, r).but.not.by(n); }; x.increases = function(e, t, r, n) { return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new S(e, n, x.increases, !0).to.increase(t, r); }; x.increasesBy = function(e, t, r, n, i) { if (arguments.length === 4 && typeof t == "function") { var s = n; n = r, i = s; } else arguments.length === 3 && (n = r, r = null); new S(e, i, x.increasesBy, !0).to.increase(t, r).by(n); }; x.doesNotIncrease = function(e, t, r, n) { return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new S(e, n, x.doesNotIncrease, !0).to.not.increase( t, r ); }; x.increasesButNotBy = function(e, t, r, n, i) { if (arguments.length === 4 && typeof t == "function") { var s = n; n = r, i = s; } else arguments.length === 3 && (n = r, r = null); new S(e, i, x.increasesButNotBy, !0).to.increase(t, r).but.not.by(n); }; x.decreases = function(e, t, r, n) { return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new S(e, n, x.decreases, !0).to.decrease(t, r); }; x.decreasesBy = function(e, t, r, n, i) { if (arguments.length === 4 && typeof t == "function") { var s = n; n = r, i = s; } else arguments.length === 3 && (n = r, r = null); new S(e, i, x.decreasesBy, !0).to.decrease(t, r).by(n); }; x.doesNotDecrease = function(e, t, r, n) { return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new S(e, n, x.doesNotDecrease, !0).to.not.decrease( t, r ); }; x.doesNotDecreaseBy = function(e, t, r, n, i) { if (arguments.length === 4 && typeof t == "function") { var s = n; n = r, i = s; } else arguments.length === 3 && (n = r, r = null); return new S(e, i, x.doesNotDecreaseBy, !0).to.not.decrease(t, r).by(n); }; x.decreasesButNotBy = function(e, t, r, n, i) { if (arguments.length === 4 && typeof t == "function") { var s = n; n = r, i = s; } else arguments.length === 3 && (n = r, r = null); new S(e, i, x.decreasesButNotBy, !0).to.decrease(t, r).but.not.by(n); }; x.ifError = function(e) { if (e) throw e; }; x.isExtensible = function(e, t) { new S(e, t, x.isExtensible, !0).to.be.extensible; }; x.isNotExtensible = function(e, t) { new S(e, t, x.isNotExtensible, !0).to.not.be.extensible; }; x.isSealed = function(e, t) { new S(e, t, x.isSealed, !0).to.be.sealed; }; x.isNotSealed = function(e, t) { new S(e, t, x.isNotSealed, !0).to.not.be.sealed; }; x.isFrozen = function(e, t) { new S(e, t, x.isFrozen, !0).to.be.frozen; }; x.isNotFrozen = function(e, t) { new S(e, t, x.isNotFrozen, !0).to.not.be.frozen; }; x.isEmpty = function(e, t) { new S(e, t, x.isEmpty, !0).to.be.empty; }; x.isNotEmpty = function(e, t) { new S(e, t, x.isNotEmpty, !0).to.not.be.empty; }; x.containsSubset = function(e, t, r) { new S(e, r).to.containSubset(t); }; x.doesNotContainSubset = function(e, t, r) { new S(e, r).to.not.containSubset(t); }; var XW = [ ["isOk", "ok"], ["isNotOk", "notOk"], ["throws", "throw"], ["throws", "Throw"], ["isExtensible", "extensible"], ["isNotExtensible", "notExtensible"], ["isSealed", "sealed"], ["isNotSealed", "notSealed"], ["isFrozen", "frozen"], ["isNotFrozen", "notFrozen"], ["isEmpty", "empty"], ["isNotEmpty", "notEmpty"], ["isCallable", "isFunction"], ["isNotCallable", "isNotFunction"], ["containsSubset", "containSubset"] ]; for (let [e, t] of XW) x[t] = x[e]; var dP = []; function Fr(e) { let t = { use: Fr, AssertionError: ue, util: _t, config: lt, expect: Lr, assert: x, Assertion: S, ...ZP }; return ~dP.indexOf(e) || (e(t, _t), dP.push(e)), t; } o(Fr, "use"); I(Fr, "use"); // ../node_modules/@testing-library/jest-dom/dist/matchers.mjs var Ux = {}; st(Ux, { toBeChecked: () => Mx, toBeDisabled: () => _x, toBeEmpty: () => yx, toBeEmptyDOMElement: () => bx, toBeEnabled: () => Cx, toBeInTheDOM: () => Zd, toBeInTheDocument: () => hx, toBeInvalid: () => Ax, toBePartiallyChecked: () => Nx, toBeRequired: () => Px, toBeValid: () => Ox, toBeVisible: () => Tx, toContainElement: () => ep, toContainHTML: () => gx, toHaveAccessibleDescription: () => tp, toHaveAccessibleErrorMessage: () => Ex, toHaveAccessibleName: () => np, toHaveAttribute: () => xx, toHaveClass: () => wx, toHaveDescription: () => jx, toHaveDisplayValue: () => Ix, toHaveErrorMessage: () => kx, toHaveFocus: () => Sx, toHaveFormValues: () => Rx, toHaveRole: () => rp, toHaveSelection: () => Lx, toHaveStyle: () => op, toHaveTextContent: () => vx, toHaveValue: () => qx }); // ../node_modules/@testing-library/jest-dom/dist/matchers-c85aadf8.mjs var px = Ne(sE(), 1); // ../node_modules/@adobe/css-tools/dist/index.mjs function a0(e) { Object.defineProperty(e, "__esModule", { value: !0, configurable: !0 }); } o(a0, "$parcel$defineInteropFlag"); function uE(e, t, r, n) { Object.defineProperty(e, t, { get: r, set: n, enumerable: !0, configurable: !0 }); } o(uE, "$parcel$export"); var l0 = {}; a0(l0); uE(l0, "default", () => Bl); var cE = class cE extends Error { constructor(t, r, n, i, s) { super(t + ":" + n + ":" + i + ": " + r), this.reason = r, this.filename = t, this.line = n, this.column = i, this.source = s; } }; o(cE, "$009ddb00d3ec72b8$export$2e2bcd8739ae039"); var Bl = cE, u0 = {}; a0(u0); uE(u0, "default", () => Ul); var dE = class dE { constructor(t, r, n) { this.start = t, this.end = r, this.source = n; } }; o(dE, "$0865a9fb4cc365fe$export$2e2bcd8739ae039"); var Ul = dE, t8 = {}; uE(t8, "CssTypes", () => Ve); var Ve = /* @__PURE__ */ function(e) { return e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.charset = "charset", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.host = "host", e.import = "import", e.keyframes = "keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.startingStyle = "\ starting-style", e.supports = "supports", e; }({}), aE = /\/\*[^]*?(?:\*\/|$)/g, r8 = /* @__PURE__ */ o((e, t) => { t = t || {}; let r = 1, n = 1; function i(F) { let j = F.match(/\n/g); j && (r += j.length); let K = F.lastIndexOf(` `); n = ~K ? F.length - K : n + F.length; } o(i, "updatePosition"); function s() { let F = { line: r, column: n }; return function(j) { return j.position = new Ul(F, { line: r, column: n }, t?.source || ""), m(), j; }; } o(s, "position"); let a = []; function l(F) { let j = new Bl(t?.source || "", F, r, n, e); if (t?.silent) a.push(j); else throw j; } o(l, "error"); function u() { let F = p(); return { type: Ve.stylesheet, stylesheet: { source: t?.source, rules: F, parsingErrors: a } }; } o(u, "stylesheet"); function c() { return f(/^{\s*/); } o(c, "open"); function d() { return f(/^}/); } o(d, "close"); function p() { let F, j = []; for (m(), h(j); e.length && e.charAt(0) !== "}" && (F = de() || Oe()); ) F && (j.push(F), h(j)); return j; } o(p, "rules"); function f(F) { let j = F.exec(e); if (!j) return; let K = j[0]; return i(K), e = e.slice(K.length), j; } o(f, "match"); function m() { f(/^\s*/); } o(m, "whitespace"); function h(F) { let j; for (F = F || []; j = b(); ) j && F.push(j); return F; } o(h, "comments"); function b() { let F = s(); if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return; let j = f(/^\/\*[^]*?\*\//); return j ? F({ type: Ve.comment, comment: j[0].slice(2, -2) }) : l("End of comment missing"); } o(b, "comment"); function v(F, j, K) { let G = j + 1, Z = !1, ve = F.indexOf(")", G); for (; !Z && ve !== -1; ) { let qe = F.indexOf("(", G); qe !== -1 && qe < ve ? (G = v(F, qe + 1, K + 1) + 1, ve = F.indexOf(")", G)) : Z = !0; } return Z && ve !== -1 ? ve : -1; } o(v, "findClosingParenthese"); function g() { let F = f(/^([^{]+)/); if (!F) return; let j = Pt(F[0]).replace(aE, ""); if (j.indexOf(",") === -1) return [ j ]; let K = 0, G = j.indexOf("(", K); for (; G !== -1; ) { let Z = v(j, G, 0); if (Z === -1) break; K = Z + 1, j = j.substring(0, G) + j.substring(G, Z).replace(/,/g, "\u200C") + j.substring(Z), G = j.indexOf("(", K); } return j = j.replace(/("|')(?:\\\1|.)*?\1/g, (Z) => Z.replace(/,/g, "\u200C")), j.split(",").map((Z) => Pt(Z.replace(/\u200C/g, ","))); } o(g, "selector"); function w() { let F = s(), j = f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/); if (!j) return; let K = Pt(j[0]); if (!f(/^:\s*/)) return l("property missing ':'"); let G = f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/), Z = F({ type: Ve.declaration, property: K.replace(aE, ""), value: G ? Pt(G[0]).replace(aE, "") : "" }); return f(/^[;\s]*/), Z; } o(w, "declaration"); function E() { let F = []; if (!c()) return l("missing '{'"); h(F); let j; for (; j = w(); ) j && (F.push(j), h(F)); return d() ? F : l("missing '}'"); } o(E, "declarations"); function R() { let F, j = [], K = s(); for (; F = f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); ) j.push(F[1]), f(/^,\s*/); if (j.length) return K({ type: Ve.keyframe, values: j, declarations: E() || [] }); } o(R, "keyframe"); function T() { let F = s(), j = f(/^@([-\w]+)?keyframes\s*/); if (!j) return; let K = j[1], G = f(/^([-\w]+)\s*/); if (!G) return l("@keyframes missing name"); let Z = G[1]; if (!c()) return l("@keyframes missing '{'"); let ve, qe = h(); for (; ve = R(); ) qe.push(ve), qe = qe.concat(h()); return d() ? F({ type: Ve.keyframes, name: Z, vendor: K, keyframes: qe }) : l("@keyframes missing '}'"); } o(T, "atkeyframes"); function P() { let F = s(), j = f(/^@supports *([^{]+)/); if (!j) return; let K = Pt(j[1]); if (!c()) return l("@supports missing '{'"); let G = h().concat(p()); return d() ? F({ type: Ve.supports, supports: K, rules: G }) : l("@supports missing '}'"); } o(P, "atsupports"); function _() { let F = s(); if (!f(/^@host\s*/)) return; if (!c()) return l("@host missing '{'"); let K = h().concat(p()); return d() ? F({ type: Ve.host, rules: K }) : l("@host missing '}'"); } o(_, "athost"); function C() { let F = s(), j = f(/^@container *([^{]+)/); if (!j) return; let K = Pt(j[1]); if (!c()) return l("@container missing '{'"); let G = h().concat(p()); return d() ? F({ type: Ve.container, container: K, rules: G }) : l("@container missing '}'"); } o(C, "atcontainer"); function O() { let F = s(), j = f(/^@layer *([^{;@]+)/); if (!j) return; let K = Pt(j[1]); if (!c()) return f(/^[;\s]*/), F({ type: Ve.layer, layer: K }); let G = h().concat(p()); return d() ? F({ type: Ve.layer, layer: K, rules: G }) : l("@layer missing '}'"); } o(O, "atlayer"); function L() { let F = s(), j = f(/^@media *([^{]+)/); if (!j) return; let K = Pt(j[1]); if (!c()) return l("@media missing '{'"); let G = h().concat(p()); return d() ? F({ type: Ve.media, media: K, rules: G }) : l("@media missing '}'"); } o(L, "atmedia"); function q() { let F = s(), j = f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/); if (j) return F({ type: Ve.customMedia, name: Pt(j[1]), media: Pt(j[2]) }); } o(q, "atcustommedia"); function D() { let F = s(); if (!f(/^@page */)) return; let K = g() || []; if (!c()) return l("@page missing '{'"); let G = h(), Z; for (; Z = w(); ) G.push(Z), G = G.concat(h()); return d() ? F({ type: Ve.page, selectors: K, declarations: G }) : l("@page missing '}'"); } o(D, "atpage"); function U() { let F = s(), j = f(/^@([-\w]+)?document *([^{]+)/); if (!j) return; let K = Pt(j[1]), G = Pt(j[2]); if (!c()) return l("@document missing '{'"); let Z = h().concat(p()); return d() ? F({ type: Ve.document, document: G, vendor: K, rules: Z }) : l("@document missing '}'"); } o(U, "atdocument"); function M() { let F = s(); if (!f(/^@font-face\s*/)) return; if (!c()) return l("@font-face missing '{'"); let K = h(), G; for (; G = w(); ) K.push(G), K = K.concat(h()); return d() ? F({ type: Ve.fontFace, declarations: K }) : l("@font-face missing '}'"); } o(M, "atfontface"); function H() { let F = s(); if (!f(/^@starting-style\s*/)) return; if (!c()) return l("@starting-style missing '{'"); let K = h().concat(p()); return d() ? F({ type: Ve.startingStyle, rules: K }) : l("@starting-style missing '}'"); } o(H, "atstartingstyle"); let N = ae("import"), W = ae("charset"), Y = ae("namespace"); function ae(F) { let j = new RegExp("^@" + F + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`); return function() { let K = s(), G = f(j); if (!G) return; let Z = { type: F }; return Z[F] = G[1].trim(), K(Z); }; } o(ae, "_compileAtrule"); function de() { if (e[0] === "@") return T() || L() || q() || P() || N() || W() || Y() || U() || D() || _() || M() || C() || H() || O(); } o(de, "atrule"); function Oe() { let F = s(), j = g(); return j ? (h(), F({ type: Ve.rule, selectors: j, declarations: E() || [] })) : l("selector missing"); } return o(Oe, "rule"), lE(u()); }, "$d708735ed1303b43$export$98e6a39c04603d36"); function Pt(e) { return e ? e.trim() : ""; } o(Pt, "$d708735ed1303b43$var$trim"); function lE(e, t) { let r = e && typeof e.type == "string", n = r ? e : t; for (let i in e) { let s = e[i]; Array.isArray(s) ? s.forEach((a) => { lE(a, n); }) : s && typeof s == "object" && lE(s, n); } return r && Object.defineProperty(e, "parent", { configurable: !0, writable: !0, enumerable: !1, value: t || null }), e; } o(lE, "$d708735ed1303b43$var$addParent"); var n8 = r8; var c0 = n8; // ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs var o8 = Object.prototype.toString; function d0(e) { return typeof e == "function" || o8.call(e) === "[object Function]"; } o(d0, "isCallable"); function i8(e) { var t = Number(e); return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t)); } o(i8, "toInteger"); var s8 = Math.pow(2, 53) - 1; function a8(e) { var t = i8(e); return Math.min(Math.max(t, 0), s8); } o(a8, "toLength"); function Et(e, t) { var r = Array, n = Object(e); if (e == null) throw new TypeError("Array.from requires an array-like object - not null or undefined"); if (typeof t < "u" && !d0(t)) throw new TypeError("Array.from: when provided, the second argument must be a function"); for (var i = a8(n.length), s = d0(r) ? Object(new r(i)) : new Array(i), a = 0, l; a < i; ) l = n[a], t ? s[a] = t(l, a) : s[a] = l, a += 1; return s.length = i, s; } o(Et, "arrayFrom"); // ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs function ss(e) { "@babel/helpers - typeof"; return ss = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, ss(e); } o(ss, "_typeof"); function l8(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } o(l8, "_classCallCheck"); function p0(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, f0(n.key), n); } } o(p0, "_defineProperties"); function u8(e, t, r) { return t && p0(e.prototype, t), r && p0(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e; } o(u8, "_createClass"); function c8(e, t, r) { return t = f0(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } o(c8, "_defineProperty"); function f0(e) { var t = d8(e, "string"); return ss(t) === "symbol" ? t : String(t); } o(f0, "_toPropertyKey"); function d8(e, t) { if (ss(e) !== "object" || e === null) return e; var r = e[Symbol.toPrimitive]; if (r !== void 0) { var n = r.call(e, t || "default"); if (ss(n) !== "object") return n; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } o(d8, "_toPrimitive"); var p8 = /* @__PURE__ */ function() { function e() { var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []; l8(this, e), c8(this, "items", void 0), this.items = t; } return o(e, "SetLike"), u8(e, [{ key: "add", value: /* @__PURE__ */ o(function(r) { return this.has(r) === !1 && this.items.push(r), this; }, "add") }, { key: "clear", value: /* @__PURE__ */ o(function() { this.items = []; }, "clear") }, { key: "delete", value: /* @__PURE__ */ o(function(r) { var n = this.items.length; return this.items = this.items.filter(function(i) { return i !== r; }), n !== this.items.length; }, "_delete") }, { key: "forEach", value: /* @__PURE__ */ o(function(r) { var n = this; this.items.forEach(function(i) { r(i, i, n); }); }, "forEach") }, { key: "has", value: /* @__PURE__ */ o(function(r) { return this.items.indexOf(r) !== -1; }, "has") }, { key: "size", get: /* @__PURE__ */ o(function() { return this.items.length; }, "get") }]), e; }(), m0 = typeof Set > "u" ? Set : p8; // ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/getRole.mjs function ke(e) { var t; return ( // eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName (t = e.localName) !== null && t !== void 0 ? t : ( // eslint-disable-next-line no-restricted-properties -- required for the fallback e.tagName.toLowerCase() ) ); } o(ke, "getLocalName"); var f8 = { article: "article", aside: "complementary", button: "button", datalist: "listbox", dd: "definition", details: "group", dialog: "dialog", dt: "term", fieldset: "group", figure: "figure", // WARNING: Only with an accessible name form: "form", footer: "contentinfo", h1: "heading", h2: "heading", h3: "heading", h4: "heading", h5: "heading", h6: "heading", header: "banner", hr: "separator", html: "document", legend: "legend", li: "listitem", math: "math", main: "main", menu: "list", nav: "navigation", ol: "list", optgroup: "group", // WARNING: Only in certain context option: "option", output: "status", progress: "progressbar", // WARNING: Only with an accessible name section: "region", summary: "button", table: "table", tbody: "rowgroup", textarea: "textbox", tfoot: "rowgroup", // WARNING: Only in certain context td: "cell", th: "columnheader", thead: "rowgroup", tr: "row", ul: "list" }, m8 = { caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]), insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), none: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]) }; function h8(e, t) { return [ "aria-atomic", "aria-busy", "aria-controls", "aria-current", "aria-description", "aria-describedby", "aria-details", // "disabled", "aria-dropeffect", // "errormessage", "aria-flowto", "aria-grabbed", // "haspopup", "aria-hidden", // "invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", "aria-relevant", "aria-roledescription" ].some(function(r) { var n; return e.hasAttribute(r) && !((n = m8[t]) !== null && n !== void 0 && n.has(r)); }); } o(h8, "hasGlobalAriaAttributes"); function h0(e, t) { return h8(e, t); } o(h0, "ignorePresentationalRole"); function Hl(e) { var t = b8(e); if (t === null || as.indexOf(t) !== -1) { var r = y8(e); if (as.indexOf(t || "") === -1 || h0(e, r || "")) return r; } return t; } o(Hl, "getRole"); function y8(e) { var t = f8[ke(e)]; if (t !== void 0) return t; switch (ke(e)) { case "a": case "area": case "link": if (e.hasAttribute("href")) return "link"; break; case "img": return e.getAttribute("alt") === "" && !h0(e, "img") ? "presentation" : "img"; case "input": { var r = e, n = r.type; switch (n) { case "button": case "image": case "reset": case "submit": return "button"; case "checkbox": case "radio": return n; case "range": return "slider"; case "email": case "tel": case "text": case "url": return e.hasAttribute("list") ? "combobox" : "textbox"; case "search": return e.hasAttribute("list") ? "combobox" : "searchbox"; case "number": return "spinbutton"; default: return null; } } case "select": return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox"; } return null; } o(y8, "getImplicitRole"); function b8(e) { var t = e.getAttribute("role"); if (t !== null) { var r = t.trim().split(" ")[0]; if (r.length > 0) return r; } return null; } o(b8, "getExplicitRole"); // ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/util.mjs var as = ["presentation", "none"]; function Re(e) { return e !== null && e.nodeType === e.ELEMENT_NODE; } o(Re, "isElement"); function pE(e) { return Re(e) && ke(e) === "caption"; } o(pE, "isHTMLTableCaptionElement"); function ls(e) { return Re(e) && ke(e) === "input"; } o(ls, "isHTMLInputElement"); function y0(e) { return Re(e) && ke(e) === "optgroup"; } o(y0, "isHTMLOptGroupElement"); function b0(e) { return Re(e) && ke(e) === "select"; } o(b0, "isHTMLSelectElement"); function g0(e) { return Re(e) && ke(e) === "table"; } o(g0, "isHTMLTableElement"); function v0(e) { return Re(e) && ke(e) === "textarea"; } o(v0, "isHTMLTextAreaElement"); function E0(e) { var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView; if (r === null) throw new TypeError("no window available"); return r; } o(E0, "safeWindow"); function x0(e) { return Re(e) && ke(e) === "fieldset"; } o(x0, "isHTMLFieldSetElement"); function w0(e) { return Re(e) && ke(e) === "legend"; } o(w0, "isHTMLLegendElement"); function S0(e) { return Re(e) && ke(e) === "slot"; } o(S0, "isHTMLSlotElement"); function g8(e) { return Re(e) && e.ownerSVGElement !== void 0; } o(g8, "isSVGElement"); function R0(e) { return Re(e) && ke(e) === "svg"; } o(R0, "isSVGSVGElement"); function T0(e) { return g8(e) && ke(e) === "title"; } o(T0, "isSVGTitleElement"); function Ao(e, t) { if (Re(e) && e.hasAttribute(t)) { var r = e.getAttribute(t).split(" "), n = e.getRootNode ? e.getRootNode() : e.ownerDocument; return r.map(function(i) { return n.getElementById(i); }).filter( function(i) { return i !== null; } // TODO: why does this not narrow? ); } return []; } o(Ao, "queryIdRefs"); function Bt(e, t) { return Re(e) ? t.indexOf(Hl(e)) !== -1 : !1; } o(Bt, "hasAnyConcreteRoles"); // ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs function v8(e) { return e.trim().replace(/\s\s+/g, " "); } o(v8, "asFlatString"); function E8(e, t) { if (!Re(e)) return !1; if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true") return !0; var r = t(e); return r.getPropertyValue("display") === "none" || r.getPropertyValue("visibility") === "hidden"; } o(E8, "isHidden"); function x8(e) { return Bt(e, ["button", "combobox", "listbox", "textbox"]) || P0(e, "range"); } o(x8, "isControl"); function P0(e, t) { if (!Re(e)) return !1; switch (t) { case "range": return Bt(e, ["meter", "progressbar", "scrollbar", "slider", "spinbutton"]); default: throw new TypeError("No knowledge about abstract role '".concat(t, "'. This is likely a bug :(")); } } o(P0, "hasAbstractRole"); function _0(e, t) { var r = Et(e.querySelectorAll(t)); return Ao(e, "aria-owns").forEach(function(n) { r.push.apply(r, Et(n.querySelectorAll(t))); }), r; } o(_0, "querySelectorAllSubtree"); function w8(e) { return b0(e) ? e.selectedOptions || _0(e, "[selected]") : _0(e, '[aria-selected="true"]'); } o(w8, "querySelectedOptions"); function S8(e) { return Bt(e, as); } o(S8, "isMarkedPresentational"); function R8(e) { return pE(e); } o(R8, "isNativeHostLanguageTextAlternativeElement"); function T8(e) { return Bt(e, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbo\ x", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]); } o(T8, "allowsNameFromContent"); function _8(e) { return !1; } o(_8, "isDescendantOfNativeHostLanguageTextAlternativeElement"); function C8(e) { return ls(e) || v0(e) ? e.value : e.textContent || ""; } o(C8, "getValueOfTextbox"); function C0(e) { var t = e.getPropertyValue("content"); return /^["'].*["']$/.test(t) ? t.slice(1, -1) : ""; } o(C0, "getTextualContent"); function A0(e) { var t = ke(e); return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t === "select" || t === "textarea"; } o(A0, "isLabelableElement"); function O0(e) { if (A0(e)) return e; var t = null; return e.childNodes.forEach(function(r) { if (t === null && Re(r)) { var n = O0(r); n !== null && (t = n); } }), t; } o(O0, "findLabelableElement"); function P8(e) { if (e.control !== void 0) return e.control; var t = e.getAttribute("for"); return t !== null ? e.ownerDocument.getElementById(t) : O0(e); } o(P8, "getControlOfLabel"); function A8(e) { var t = e.labels; if (t === null) return t; if (t !== void 0) return Et(t); if (!A0(e)) return null; var r = e.ownerDocument; return Et(r.querySelectorAll("label")).filter(function(n) { return P8(n) === e; }); } o(A8, "getLabels"); function O8(e) { var t = e.assignedNodes(); return t.length === 0 ? Et(e.childNodes) : t; } o(O8, "getSlotContents"); function Vl(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new m0(), n = E0(e), i = t.compute, s = i === void 0 ? "n\ ame" : i, a = t.computedStyleSupportsPseudoElements, l = a === void 0 ? t.getComputedStyle !== void 0 : a, u = t.getComputedStyle, c = u === void 0 ? n.getComputedStyle.bind(n) : u, d = t.hidden, p = d === void 0 ? !1 : d; function f(g, w) { var E = ""; if (Re(g) && l) { var R = c(g, "::before"), T = C0(R); E = "".concat(T, " ").concat(E); } var P = S0(g) ? O8(g) : Et(g.childNodes).concat(Ao(g, "aria-owns")); if (P.forEach(function(O) { var L = v(O, { isEmbeddedInLabel: w.isEmbeddedInLabel, isReferenced: !1, recursion: !0 }), q = Re(O) ? c(O).getPropertyValue("display") : "inline", D = q !== "inline" ? " " : ""; E += "".concat(D).concat(L).concat(D); }), Re(g) && l) { var _ = c(g, "::after"), C = C0(_); E = "".concat(E, " ").concat(C); } return E.trim(); } o(f, "computeMiscTextAlternative"); function m(g, w) { var E = g.getAttributeNode(w); return E !== null && !r.has(E) && E.value.trim() !== "" ? (r.add(E), E.value) : null; } o(m, "useAttribute"); function h(g) { return Re(g) ? m(g, "title") : null; } o(h, "computeTooltipAttributeValue"); function b(g) { if (!Re(g)) return null; if (x0(g)) { r.add(g); for (var w = Et(g.childNodes), E = 0; E < w.length; E += 1) { var R = w[E]; if (w0(R)) return v(R, { isEmbeddedInLabel: !1, isReferenced: !1, recursion: !1 }); } } else if (g0(g)) { r.add(g); for (var T = Et(g.childNodes), P = 0; P < T.length; P += 1) { var _ = T[P]; if (pE(_)) return v(_, { isEmbeddedInLabel: !1, isReferenced: !1, recursion: !1 }); } } else if (R0(g)) { r.add(g); for (var C = Et(g.childNodes), O = 0; O < C.length; O += 1) { var L = C[O]; if (T0(L)) return L.textContent; } return null; } else if (ke(g) === "img" || ke(g) === "area") { var q = m(g, "alt"); if (q !== null) return q; } else if (y0(g)) { var D = m(g, "label"); if (D !== null) return D; } if (ls(g) && (g.type === "button" || g.type === "submit" || g.type === "reset")) { var U = m(g, "value"); if (U !== null) return U; if (g.type === "submit") return "Submit"; if (g.type === "reset") return "Reset"; } var M = A8(g); if (M !== null && M.length !== 0) return r.add(g), Et(M).map(function(Y) { return v(Y, { isEmbeddedInLabel: !0, isReferenced: !1, recursion: !0 }); }).filter(function(Y) { return Y.length > 0; }).join(" "); if (ls(g) && g.type === "image") { var H = m(g, "alt"); if (H !== null) return H; var N = m(g, "title"); return N !== null ? N : "Submit Query"; } if (Bt(g, ["button"])) { var W = f(g, { isEmbeddedInLabel: !1, isReferenced: !1 }); if (W !== "") return W; } return null; } o(b, "computeElementTextAlternative"); function v(g, w) { if (r.has(g)) return ""; if (!p && E8(g, c) && !w.isReferenced) return r.add(g), ""; var E = Re(g) ? g.getAttributeNode("aria-labelledby") : null, R = E !== null && !r.has(E) ? Ao(g, "aria-labelledby") : []; if (s === "name" && !w.isReferenced && R.length > 0) return r.add(E), R.map(function(q) { return v(q, { isEmbeddedInLabel: w.isEmbeddedInLabel, isReferenced: !0, // this isn't recursion as specified, otherwise we would skip // `aria-label` in // 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = Ao(e, "aria-describedby").map(function(s) { return Vl(s, I0(I0({}, t), {}, { compute: "description" })); }).join(" "); if (r === "") { var n = e.getAttribute("aria-description"); r = n === null ? "" : n; } if (r === "") { var i = e.getAttribute("title"); r = i === null ? "" : i; } return r; } o(fE, "computeAccessibleDescription"); // ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name.mjs function N8(e) { return Bt(e, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "none", "paragraph", "presentation", "strong", "subscript", "superscript"]); } o(N8, "prohibitsNaming"); function mE(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; return N8(e) ? "" : Vl(e, t); } o(mE, "computeAccessibleName"); // ../node_modules/@testing-library/jest-dom/dist/matchers-c85aadf8.mjs var Cs = Ne(ME(), 1), FN = Ne(HE(), 1), ip = Ne(ux(), 1), DN = Ne(dx(), 1); var Fx = class Fx extends Error { constructor(t, r, n, i) { super(), Error.captureStackTrace && Error.captureStackTrace(this, n); let s = ""; try { s = i.utils.printWithType( "Received", r, i.utils.printReceived ); } catch { } this.message = [ i.utils.matcherHint( `${i.isNot ? ".not" : ""}.${n.name}`, "received", "" ), "", // eslint-disable-next-line new-cap `${i.utils.RECEIVED_COLOR( "received" )} value must ${t}.`, s ].join(` `); } }; o(Fx, "GenericTypeError"); var Xd = Fx, Dx = class Dx extends Xd { constructor(...t) { super("be an HTMLElement or an SVGElement", ...t); } }; o(Dx, "HtmlElementTypeError"); var Jd = Dx, $x = class $x extends Xd { constructor(...t) { super("be a Node", ...t); } }; o($x, "NodeTypeError"); var Qd = $x; function $N(e, t, ...r) { if (!e || !e.ownerDocument || !e.ownerDocument.defaultView) throw new t(e, ...r); } o($N, "checkHasWindow"); function Tne(e, ...t) { $N(e, Qd, ...t); let r = e.ownerDocument.defaultView; if (!(e instanceof r.Node)) throw new Qd(e, ...t); } o(Tne, "checkNode"); function fe(e, ...t) { $N(e, Jd, ...t); let r = e.ownerDocument.defaultView; if (!(e instanceof r.HTMLElement) && !(e instanceof r.SVGElement)) throw new Jd(e, ...t); } o(fe, "checkHtmlElement"); var Bx = class Bx extends Error { constructor(t, r, n) { super(), Error.captureStackTrace && Error.captureStackTrace(this, r), this.message = [ t.message, "", // eslint-disable-next-line new-cap n.utils.RECEIVED_COLOR("Failing css:"), // eslint-disable-next-line new-cap n.utils.RECEIVED_COLOR(`${t.css}`) ].join(` `); } }; o(Bx, "InvalidCSSError"); var fx = Bx; function _ne(e, ...t) { let r = c0(`selector { ${e} }`, { silent: !0 }).stylesheet; if (r.parsingErrors && r.parsingErrors.length > 0) { let { reason: i, line: s } = r.parsingErrors[0]; throw new fx( { css: e, message: `Syntax error parsing expected css: ${i} on line: ${s}` }, ...t ); } return r.rules[0].declarations.filter((i) => i.type === "declaration").reduce( (i, { property: s, value: a }) => Object.assign(i, { [s]: a }), {} ); } o(_ne, "parseCSS"); function MN(e, t) { return typeof t == "string" ? t : e.utils.stringify(t); } o(MN, "display"); function Xe(e, t, r, n, i, s) { return [ `${t} `, // eslint-disable-next-line new-cap `${r}: ${e.utils.EXPECTED_COLOR( (0, px.default)(MN(e, n), 2) )}`, // eslint-disable-next-line new-cap `${i}: ${e.utils.RECEIVED_COLOR( (0, px.default)(MN(e, s), 2) )}` ].join(` `); } o(Xe, "getMessage"); function Cne(e, t) { return t instanceof RegExp ? t.test(e) : e.includes(String(t)); } o(Cne, "matches"); function sp(e, t) { console.warn( `Warning: ${e} has been deprecated and will be removed in future updates.`, t ); } o(sp, "deprecate"); function ap(e) { return e.replace(/\s+/g, " ").trim(); } o(ap, "normalize"); function Br(e) { return e.tagName && e.tagName.toLowerCase(); } o(Br, "getTag"); function Pne({ multiple: e, options: t }) { let r = [...t].filter((n) => n.selected); if (e) return [...r].map((n) => n.value); if (r.length !== 0) return r[0].value; } o(Pne, "getSelectValue"); function Ane(e) { switch (e.type) { case "number": return e.value === "" ? null : Number(e.value); case "checkbox": return e.checked; default: return e.value; } } o(Ane, "getInputValue"); var One = ["meter", "progressbar", "slider", "spinbutton"]; function qne(e) { if (One.includes(e.getAttribute("role"))) return Number(e.getAttribute("aria-valuenow")); } o(qne, "getAccessibleValue"); function BN(e) { if (e) switch (e.tagName.toLowerCase()) { case "input": return Ane(e); case "select": return Pne(e); default: return e.value ?? qne(e); } } o(BN, "getSingleElementValue"); function Ine(e, { wordConnector: t = ", ", lastWordConnector: r = " and " } = {}) { return [e.slice(0, -1).join(t), e[e.length - 1]].join( e.length > 1 ? r : "" ); } o(Ine, "toSentence"); function mx(e, t) { if (Array.isArray(e) && Array.isArray(t)) return [...new Set(e)].every((r) => new Set(t).has(r)); } o(mx, "compareArraysAsSet"); function Zd(e, t) { return sp( "toBeInTheDOM", "Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container." ), e && fe(e, Zd, this), t && fe(t, Zd, this), { pass: t ? t.contains(e) : !!e, message: /* @__PURE__ */ o(() => [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeInTheDOM`, "element", "" ), "", "Received:", ` ${this.utils.printReceived( e && e.cloneNode(!1) )}` ].join(` `), "message") }; } o(Zd, "toBeInTheDOM"); function hx(e) { (e !== null || !this.isNot) && fe(e, hx, this); let t = e === null ? !1 : e.ownerDocument === e.getRootNode({ composed: !0 }), r = /* @__PURE__ */ o(() => `expected document not to conta\ in element, found ${this.utils.stringify( e.cloneNode(!0) )} instead`, "errorFound"), n = /* @__PURE__ */ o(() => "element could not be found in the document", "errorNotFound"); return { pass: t, message: /* @__PURE__ */ o(() => [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeInTheDocument`, "element", "" ), "", // eslint-disable-next-line new-cap this.utils.RECEIVED_COLOR(this.isNot ? r() : n()) ].join(` `), "message") }; } o(hx, "toBeInTheDocument"); function yx(e) { return sp( "toBeEmpty", "Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM." ), fe(e, yx, this), { pass: e.innerHTML === "", message: /* @__PURE__ */ o(() => [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeEmpty`, "element", "" ), "", "Received:", ` ${this.utils.printReceived(e.innerHTML)}` ].join(` `), "message") }; } o(yx, "toBeEmpty"); function bx(e) { return fe(e, bx, this), { pass: Mne(e), message: /* @__PURE__ */ o(() => [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeEmptyDOMElement`, "element", "" ), "", "Received:", ` ${this.utils.printReceived(e.innerHTML)}` ].join(` `), "message") }; } o(bx, "toBeEmptyDOMElement"); function Mne(e) { return [...e.childNodes].filter((r) => r.nodeType !== 8).length === 0; } o(Mne, "isEmptyElement"); function ep(e, t) { return fe(e, ep, this), t !== null && fe(t, ep, this), { pass: e.contains(t), message: /* @__PURE__ */ o(() => [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toContainElement`, "element", "element" ), "", // eslint-disable-next-line new-cap this.utils.RECEIVED_COLOR(`${this.utils.stringify( e.cloneNode(!1) )} ${this.isNot ? "contains:" : "does not contain:"} ${this.utils.stringify(t && t.cloneNode(!1))} `) ].join(` `), "message") }; } o(ep, "toContainElement"); function Nne(e, t) { let r = e.ownerDocument.createElement("div"); return r.innerHTML = t, r.innerHTML; } o(Nne, "getNormalizedHtml"); function gx(e, t) { if (fe(e, gx, this), typeof t != "string") throw new Error(`.toContainHTML() expects a string value, got ${t}`); return { pass: e.outerHTML.includes(Nne(e, t)), message: /* @__PURE__ */ o(() => [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toContainHTML`, "element", "" ), "Expected:", // eslint-disable-next-line new-cap ` ${this.utils.EXPECTED_COLOR(t)}`, "Received:", ` ${this.utils.printReceived(e.cloneNode(!0))}` ].join(` `), "message") }; } o(gx, "toContainHTML"); function vx(e, t, r = { normalizeWhitespace: !0 }) { Tne(e, vx, this); let n = r.normalizeWhitespace ? ap(e.textContent) : e.textContent.replace(/\u00a0/g, " "), i = n !== "" && t === ""; return { pass: !i && Cne(n, t), message: /* @__PURE__ */ o(() => { let s = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveTextContent`, "element", "" ), i ? "Checking with empty string will always match, use .toBeEmptyDOMElement() instead" : `Expected element ${s} have text content`, t, "Received", n ); }, "message") }; } o(vx, "toHaveTextContent"); function tp(e, t) { fe(e, tp, this); let r = fE(e), n = arguments.length === 1, i = !1; return n ? i = r !== "" : i = t instanceof RegExp ? t.test(r) : this.equals( r, t ), { pass: i, message: /* @__PURE__ */ o(() => { let s = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.${tp.name}`, "element", "" ), `Expected element ${s} have accessible description`, t, "Received", r ); }, "message") }; } o(tp, "toHaveAccessibleDescription"); var _s = "aria-invalid", jne = ["false"]; function Ex(e, t) { fe(e, Ex, this); let r = this.isNot ? "not to" : "to", n = this.isNot ? ".not.toHaveAccessibleErrorMessage" : ".toHaveAccessibleErrorMessage", i = e.getAttribute( "aria-errormessage"); if (!!i && /\s+/.test(i)) return { pass: !1, message: /* @__PURE__ */ o(() => Xe( this, this.utils.matcherHint(n, "element"), "Expected element's `aria-errormessage` attribute to be empty or a single, valid ID", "", "Received", `aria-errormessage="${i}"` ), "message") }; let a = e.getAttribute(_s); if (!e.hasAttribute(_s) || jne.includes(a)) return { pass: !1, message: /* @__PURE__ */ o(() => Xe( this, this.utils.matcherHint(n, "element"), "Expected element to be marked as invalid with attribute", `${_s}="${String(!0)}"`, "Received", e.hasAttribute("aria-invalid") ? `${_s}="${e.getAttribute(_s)}` : null ), "message") }; let u = ap( e.ownerDocument.getElementById(i)?.textContent ?? "" ); return { pass: t === void 0 ? !!u : t instanceof RegExp ? t.test(u) : this.equals(u, t), message: /* @__PURE__ */ o(() => Xe( this, this.utils.matcherHint(n, "element"), `Expected element ${r} have accessible error message`, t ?? "", "Received", u ), "message") }; } o(Ex, "toHaveAccessibleErrorMessage"); var kne = Dne(Cs.elementRoles); function rp(e, t) { fe(e, rp, this); let r = Lne(e); return { pass: r.some((i) => i === t), message: /* @__PURE__ */ o(() => { let i = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.${rp.name}`, "element", "" ), `Expected element ${i} have role`, t, "Received", r.join(", ") ); }, "message") }; } o(rp, "toHaveRole"); function Lne(e) { return e.hasAttribute("role") ? e.getAttribute("role").split(" ").filter(Boolean) : Fne(e); } o(Lne, "getExplicitOrImplicitRoles"); function Fne(e) { for (let { match: t, roles: r } of kne) if (t(e)) return [...r]; return []; } o(Fne, "getImplicitAriaRoles"); function Dne(e) { function t({ name: a, attributes: l }) { return `${a}${l.map(({ name: u, value: c, constraints: d = [] }) => d.indexOf("undefined") !== -1 ? `:not([${u}])` : c ? `[${u}="${c}"]` : `[${u}]`).join("")}`; } o(t, "makeElementSelector"); function r({ attributes: a = [] }) { return a.length; } o(r, "getSelectorSpecificity"); function n({ specificity: a }, { specificity: l }) { return l - a; } o(n, "bySelectorSpecificity"); function i(a) { let { attributes: l = [] } = a, u = l.findIndex( (d) => d.value && d.name === "type" && d.value === "text" ); u >= 0 && (l = [ ...l.slice(0, u), ...l.slice(u + 1) ]); let c = t({ ...a, attributes: l }); return (d) => u >= 0 && d.type !== "text" ? !1 : d.matches(c); } o(i, "match"); let s = []; for (let [a, l] of e.entries()) s = [ ...s, { match: i(a), roles: Array.from(l), specificity: r(a) } ]; return s.sort(n); } o(Dne, "buildElementRoleList"); function np(e, t) { fe(e, np, this); let r = mE(e), n = arguments.length === 1, i = !1; return n ? i = r !== "" : i = t instanceof RegExp ? t.test(r) : this.equals(r, t), { pass: i, message: /* @__PURE__ */ o(() => { let s = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.${np.name}`, "element", "" ), `Expected element ${s} have accessible name`, t, "Received", r ); }, "message") }; } o(np, "toHaveAccessibleName"); function NN(e, t, r) { return r === void 0 ? t : `${t}=${e(r)}`; } o(NN, "printAttribute"); function $ne(e, t, r) { return r === void 0 ? `element.hasAttribute(${e(t)})` : `element.getAttribute(${e(t)}) === ${e(r)}`; } o($ne, "getAttributeComment"); function xx(e, t, r) { fe(e, xx, this); let n = r !== void 0, i = e.hasAttribute(t), s = e.getAttribute(t); return { pass: n ? i && this.equals(s, r) : i, message: /* @__PURE__ */ o(() => { let a = this.isNot ? "not to" : "to", l = i ? NN(this.utils.stringify, t, s) : null, u = this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveAttribute`, "element", this.utils.printExpected(t), { secondArgument: n ? this.utils.printExpected(r) : void 0, comment: $ne( this.utils.stringify, t, r ) } ); return Xe( this, u, `Expected the element ${a} have attribute`, NN(this.utils.stringify, t, r), "Received", l ); }, "message") }; } o(xx, "toHaveAttribute"); function Bne(e) { let t = e.pop(), r, n; return typeof t == "object" && !(t instanceof RegExp) ? (r = e, n = t) : (r = e.concat(t), n = { exact: !1 }), { expectedClassNames: r, options: n }; } o(Bne, "getExpectedClassNamesAndOptions"); function jN(e) { return e ? e.split(/\s+/).filter((t) => t.length > 0) : []; } o(jN, "splitClassNames"); function kN(e, t) { return e.every( (r) => typeof r == "string" ? t.includes(r) : t.some((n) => r.test(n)) ); } o(kN, "isSubset$1"); function wx(e, ...t) { fe(e, wx, this); let { expectedClassNames: r, options: n } = Bne(t), i = jN(e.getAttribute("class")), s = r.reduce( (l, u) => l.concat( typeof u == "string" || !u ? jN(u) : u ), [] ), a = s.some((l) => l instanceof RegExp); if (n.exact && a) throw new Error("Exact option does not support RegExp expected class names"); return n.exact ? { pass: kN(s, i) && s.length === i.length, message: /* @__PURE__ */ o(() => { let l = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveClass`, "element", this.utils.printExpected(s.join(" ")) ), `Expected the element ${l} have EXACTLY defined classes`, s.join(" "), "Received", i.join(" ") ); }, "message") } : s.length > 0 ? { pass: kN(s, i), message: /* @__PURE__ */ o(() => { let l = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveClass`, "element", this.utils.printExpected(s.join(" ")) ), `Expected the element ${l} have class`, s.join(" "), "Received", i.join(" ") ); }, "message") } : { pass: this.isNot ? i.length > 0 : !1, message: /* @__PURE__ */ o(() => this.isNot ? Xe( this, this.utils.matcherHint(".not.toHaveClass", "element", ""), "Expected the element to have classes", "(none)", "Received", i.join(" ") ) : [ this.utils.matcherHint(".toHaveClass", "element"), "At least one expected class must be provided." ].join(` `), "message") }; } o(wx, "toHaveClass"); function Une(e, t) { let r = {}, n = e.createElement("div"); return Object.keys(t).forEach((i) => { n.style[i] = t[i], r[i] = n.style[i]; }), r; } o(Une, "getStyleDeclaration"); function Hne(e, t) { return !!Object.keys(e).length && Object.entries(e).every(([r, n]) => { let i = r.startsWith("--"), s = [r]; return i || s.push(r.toLowerCase()), s.some( (a) => t[a] === n || t.getPropertyValue(a) === n ); }); } o(Hne, "isSubset"); function LN(e) { return Object.keys(e).sort().map((t) => `${t}: ${e[t]};`).join(` `); } o(LN, "printoutStyles"); function Vne(e, t, r) { let n = Array.from(r).filter((s) => t[s] !== void 0).reduce( (s, a) => Object.assign(s, { [a]: r.getPropertyValue(a) }), {} ); return e(LN(t), LN(n)).replace(`${FN.default.red("+ Received")} `, ""); } o(Vne, "expectedDiff"); function op(e, t) { fe(e, op, this); let r = typeof t == "object" ? t : _ne(t, op, this), { getComputedStyle: n } = e.ownerDocument.defaultView, i = Une(e.ownerDocument, r), s = n( e); return { pass: Hne(i, s), message: /* @__PURE__ */ o(() => { let a = `${this.isNot ? ".not" : ""}.toHaveStyle`; return [ this.utils.matcherHint(a, "element", ""), Vne(this.utils.diff, i, s) ].join(` `); }, "message") }; } o(op, "toHaveStyle"); function Sx(e) { return fe(e, Sx, this), { pass: e.ownerDocument.activeElement === e, message: /* @__PURE__ */ o(() => [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveFocus`, "element", "" ), "", ...this.isNot ? [ "Received element is focused:", ` ${this.utils.printReceived(e)}` ] : [ "Expected element with focus:", ` ${this.utils.printExpected(e)}`, "Received element with focus:", ` ${this.utils.printReceived( e.ownerDocument.activeElement )}` ] ].join(` `), "message") }; } o(Sx, "toHaveFocus"); function zne(e) { let t = [...new Set(e.map((r) => r.type))]; if (t.length !== 1) throw new Error( "Multiple form elements with the same name must be of the same type" ); switch (t[0]) { case "radio": { let r = e.find((n) => n.checked); return r ? r.value : void 0; } case "checkbox": return e.filter((r) => r.checked).map((r) => r.value); default: return e.map((r) => r.value); } } o(zne, "getMultiElementValue"); function Gne(e, t) { let r = [...e.querySelectorAll(`[name="${(0, DN.default)(t)}"]`)]; if (r.length !== 0) switch (r.length) { case 1: return BN(r[0]); default: return zne(r); } } o(Gne, "getFormValue"); function Wne(e) { return /\[\]$/.test(e) ? e.slice(0, -2) : e; } o(Wne, "getPureName"); function Yne(e) { return Array.from(e.elements).map((r) => r.name).reduce( (r, n) => ({ ...r, [Wne(n)]: Gne(e, n) }), {} ); } o(Yne, "getAllFormValues"); function Rx(e, t) { if (fe(e, Rx, this), !e.elements) throw new Error("toHaveFormValues must be called on a form or a fieldset"); let r = Yne(e); return { pass: Object.entries(t).every( ([n, i]) => (0, ip.default)(r[n], i, mx) ), message: /* @__PURE__ */ o(() => { let n = this.isNot ? "not to" : "to", i = `${this.isNot ? ".not" : ""}.toHaveFormValues`, s = Object.keys(r).filter((a) => t.hasOwnProperty( a)).reduce((a, l) => ({ ...a, [l]: r[l] }), {}); return [ this.utils.matcherHint(i, "element", ""), `Expected the element ${n} have form values`, this.utils.diff(t, s) ].join(` `); }, "message") }; } o(Rx, "toHaveFormValues"); function Kne(e) { let { getComputedStyle: t } = e.ownerDocument.defaultView, { display: r, visibility: n, opacity: i } = t(e); return r !== "none" && n !== "hidden" && n !== "collapse" && i !== "0" && i !== 0; } o(Kne, "isStyleVisible"); function Xne(e, t) { let r; return t ? r = e.nodeName === "DETAILS" && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0 : r = e.nodeName === "DETAILS" ? e.hasAttribute( "open") : !0, !e.hasAttribute("hidden") && r; } o(Xne, "isAttributeVisible"); function UN(e, t) { return Kne(e) && Xne(e, t) && (!e.parentElement || UN(e.parentElement, e)); } o(UN, "isElementVisible"); function Tx(e) { fe(e, Tx, this); let t = e.ownerDocument === e.getRootNode({ composed: !0 }), r = t && UN(e); return { pass: r, message: /* @__PURE__ */ o(() => { let n = r ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeVisible`, "element", "" ), "", `Received element ${n} visible${t ? "" : " (element is not in the document)"}:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(Tx, "toBeVisible"); var Jne = [ "fieldset", "input", "select", "optgroup", "option", "button", "textarea" ]; function Qne(e, t) { return Br(e) === "legend" && Br(t) === "fieldset" && e.isSameNode( Array.from(t.children).find((r) => Br(r) === "legend") ); } o(Qne, "isFirstLegendChildOfFieldset"); function Zne(e, t) { return VN(t) && !Qne(e, t); } o(Zne, "isElementDisabledByParent"); function eoe(e) { return e.includes("-"); } o(eoe, "isCustomElement"); function HN(e) { let t = Br(e); return Jne.includes(t) || eoe(t); } o(HN, "canElementBeDisabled"); function VN(e) { return HN(e) && e.hasAttribute("disabled"); } o(VN, "isElementDisabled"); function zN(e) { let t = e.parentElement; return !!t && (Zne(e, t) || zN(t)); } o(zN, "isAncestorDisabled"); function GN(e) { return HN(e) && (VN(e) || zN(e)); } o(GN, "isElementOrAncestorDisabled"); function _x(e) { fe(e, _x, this); let t = GN(e); return { pass: t, message: /* @__PURE__ */ o(() => { let r = t ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeDisabled`, "element", "" ), "", `Received element ${r} disabled:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(_x, "toBeDisabled"); function Cx(e) { fe(e, Cx, this); let t = !GN(e); return { pass: t, message: /* @__PURE__ */ o(() => { let r = t ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeEnabled`, "element", "" ), "", `Received element ${r} enabled:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(Cx, "toBeEnabled"); var toe = ["select", "textarea"], roe = ["input", "select", "textarea"], noe = [ "color", "hidden", "range", "submit", "image", "reset" ], ooe = [ "checkbox", "combobox", "gridcell", "listbox", "radiogroup", "spinbutton", "textbox", "tree" ]; function ioe(e) { return toe.includes(Br(e)) && e.hasAttribute("required"); } o(ioe, "isRequiredOnFormTagsExceptInput"); function soe(e) { return Br(e) === "input" && e.hasAttribute("required") && (e.hasAttribute("type") && !noe.includes(e.getAttribute("type")) || !e.hasAttribute( "type")); } o(soe, "isRequiredOnSupportedInput"); function aoe(e) { return e.hasAttribute("aria-required") && e.getAttribute("aria-required") === "true" && (roe.includes(Br(e)) || e.hasAttribute("role") && ooe. includes(e.getAttribute("role"))); } o(aoe, "isElementRequiredByARIA"); function Px(e) { fe(e, Px, this); let t = ioe(e) || soe(e) || aoe(e); return { pass: t, message: /* @__PURE__ */ o(() => { let r = t ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeRequired`, "element", "" ), "", `Received element ${r} required:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(Px, "toBeRequired"); var loe = ["form", "input", "select", "textarea"]; function uoe(e) { return e.hasAttribute("aria-invalid") && e.getAttribute("aria-invalid") !== "false"; } o(uoe, "isElementHavingAriaInvalid"); function coe(e) { return loe.includes(Br(e)); } o(coe, "isSupportsValidityMethod"); function WN(e) { let t = uoe(e); return coe(e) ? t || !e.checkValidity() : t; } o(WN, "isElementInvalid"); function Ax(e) { fe(e, Ax, this); let t = WN(e); return { pass: t, message: /* @__PURE__ */ o(() => { let r = t ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeInvalid`, "element", "" ), "", `Received element ${r} currently invalid:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(Ax, "toBeInvalid"); function Ox(e) { fe(e, Ox, this); let t = !WN(e); return { pass: t, message: /* @__PURE__ */ o(() => { let r = t ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeValid`, "element", "" ), "", `Received element ${r} currently valid:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(Ox, "toBeValid"); function qx(e, t) { if (fe(e, qx, this), e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type)) throw new Error( "input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues(\ ) instead" ); let r = BN(e), n = t !== void 0, i = t, s = r; return t == r && t !== r && (i = `${t} (${typeof t})`, s = `${r} (${typeof r})`), { pass: n ? (0, ip.default)(r, t, mx) : !!r, message: /* @__PURE__ */ o(() => { let a = this.isNot ? "not to" : "to", l = this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveValue`, "element", t ); return Xe( this, l, `Expected the element ${a} have value`, n ? i : "(any)", "Received", s ); }, "message") }; } o(qx, "toHaveValue"); function Ix(e, t) { fe(e, Ix, this); let r = e.tagName.toLowerCase(); if (!["select", "input", "textarea"].includes(r)) throw new Error( ".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead." ); if (r === "input" && ["radio", "checkbox"].includes(e.type)) throw new Error( `.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.` ); let n = doe(r, e), i = poe(t), s = i.filter( (u) => n.some( (c) => u instanceof RegExp ? u.test(c) : this.equals(c, String(u)) ) ).length, a = s === n.length, l = s === i.length; return { pass: a && l, message: /* @__PURE__ */ o(() => Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveDisplayValue`, "element", "" ), `Expected element ${this.isNot ? "not " : ""}to have display value`, t, "Received", n ), "message") }; } o(Ix, "toHaveDisplayValue"); function doe(e, t) { return e === "select" ? Array.from(t).filter((r) => r.selected).map((r) => r.textContent) : [t.value]; } o(doe, "getValues"); function poe(e) { return e instanceof Array ? e : [e]; } o(poe, "getExpectedValues"); function Mx(e) { fe(e, Mx, this); let t = /* @__PURE__ */ o(() => e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type), "isValidInput"), r = /* @__PURE__ */ o( () => YN(e.getAttribute("role")) && ["true", "false"].includes(e.getAttribute("aria-checked")), "isValidAriaElement"); if (!t() && !r()) return { pass: !1, message: /* @__PURE__ */ o(() => `only inputs with type="checkbox" or type="radio" or elements with ${foe()} and a valid aria-checked \ attribute can be used with .toBeChecked(). Use .toHaveValue() instead`, "message") }; let n = /* @__PURE__ */ o(() => t() ? e.checked : e.getAttribute("aria-checked") === "true", "isChecked"); return { pass: n(), message: /* @__PURE__ */ o(() => { let i = n() ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBeChecked`, "element", "" ), "", `Received element ${i} checked:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(Mx, "toBeChecked"); function foe() { return Ine( moe().map((e) => `role="${e}"`), { lastWordConnector: " or " } ); } o(foe, "supportedRolesSentence"); function moe() { return Cs.roles.keys().filter(YN); } o(moe, "supportedRoles"); function YN(e) { return Cs.roles.get(e)?.props["aria-checked"] !== void 0; } o(YN, "roleSupportsChecked"); function Nx(e) { fe(e, Nx, this); let t = /* @__PURE__ */ o(() => e.tagName.toLowerCase() === "input" && e.type === "checkbox", "isValidInput"), r = /* @__PURE__ */ o(() => e. getAttribute("role") === "checkbox", "isValidAriaElement"); if (!t() && !r()) return { pass: !1, message: /* @__PURE__ */ o(() => 'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute\ can be used with .toBePartiallyChecked(). Use .toHaveValue() instead', "message") }; let n = /* @__PURE__ */ o(() => { let i = e.getAttribute("aria-checked") === "mixed"; return t() && e.indeterminate || i; }, "isPartiallyChecked"); return { pass: n(), message: /* @__PURE__ */ o(() => { let i = n() ? "is" : "is not"; return [ this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toBePartiallyChecked`, "element", "" ), "", `Received element ${i} partially checked:`, ` ${this.utils.printReceived(e.cloneNode(!1))}` ].join(` `); }, "message") }; } o(Nx, "toBePartiallyChecked"); function jx(e, t) { sp( "toHaveDescription", "Please use toHaveAccessibleDescription." ), fe(e, jx, this); let r = t !== void 0, i = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean), s = ""; if (i.length > 0) { let a = e.ownerDocument, l = i.map((u) => a.getElementById(u)).filter(Boolean); s = ap(l.map((u) => u.textContent).join(" ")); } return { pass: r ? t instanceof RegExp ? t.test(s) : this.equals(s, t) : !!s, message: /* @__PURE__ */ o(() => { let a = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveDescription`, "element", "" ), `Expected the element ${a} have description`, this.utils.printExpected(t), "Received", this.utils.printReceived(s) ); }, "message") }; } o(jx, "toHaveDescription"); function kx(e, t) { if (sp("toHaveErrorMessage", "Please use toHaveAccessibleErrorMessage."), fe(e, kx, this), !e.hasAttribute("aria-invalid") || e.getAttribute( "aria-invalid") === "false") { let a = this.isNot ? ".not" : ""; return { pass: !1, message: /* @__PURE__ */ o(() => Xe( this, this.utils.matcherHint(`${a}.toHaveErrorMessage`, "element", ""), "Expected the element to have invalid state indicated by", 'aria-invalid="true"', "Received", e.hasAttribute("aria-invalid") ? `aria-invalid="${e.getAttribute("aria-invalid")}"` : this.utils.printReceived("") ), "message") }; } let r = t !== void 0, i = (e.getAttribute("aria-errormessage") || "").split(/\s+/).filter(Boolean), s = ""; if (i.length > 0) { let a = e.ownerDocument, l = i.map((u) => a.getElementById(u)).filter(Boolean); s = ap( l.map((u) => u.textContent).join(" ") ); } return { pass: r ? t instanceof RegExp ? t.test(s) : this.equals(s, t) : !!s, message: /* @__PURE__ */ o(() => { let a = this.isNot ? "not to" : "to"; return Xe( this, this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveErrorMessage`, "element", "" ), `Expected the element ${a} have error message`, this.utils.printExpected(t), "Received", this.utils.printReceived(s) ); }, "message") }; } o(kx, "toHaveErrorMessage"); function hoe(e) { let t = e.ownerDocument.getSelection(); if (["input", "textarea"].includes(e.tagName.toLowerCase())) return ["radio", "checkbox"].includes(e.type) ? "" : e.value.toString().substring(e.selectionStart, e.selectionEnd); if (t.anchorNode === null || t.focusNode === null) return ""; let r = t.getRangeAt(0), n = e.ownerDocument.createRange(); if (t.containsNode(e, !1)) n.selectNodeContents(e), t.removeAllRanges(), t.addRange(n); else if (!(e.contains(t.anchorNode) && e.contains(t.focusNode))) { let s = e === r.startContainer || e.contains(r.startContainer), a = e === r.endContainer || e.contains(r.endContainer); t.removeAllRanges(), (s || a) && (n.selectNodeContents(e), s && n.setStart( r.startContainer, r.startOffset ), a && n.setEnd( r.endContainer, r.endOffset ), t.addRange(n)); } let i = t.toString(); return t.removeAllRanges(), t.addRange(r), i; } o(hoe, "getSelection"); function Lx(e, t) { fe(e, Lx, this); let r = t !== void 0; if (r && typeof t != "string") throw new Error("expected selection must be a string or undefined"); let n = hoe(e); return { pass: r ? (0, ip.default)(n, t, mx) : !!n, message: /* @__PURE__ */ o(() => { let i = this.isNot ? "not to" : "to", s = this.utils.matcherHint( `${this.isNot ? ".not" : ""}.toHaveSelection`, "element", t ); return Xe( this, s, `Expected the element ${i} have selection`, r ? t : "(any)", "Received", n ); }, "message") }; } o(Lx, "toHaveSelection"); // ../node_modules/@testing-library/jest-dom/dist/matchers.mjs var YNe = Ne(sE(), 1); var JNe = Ne(ME(), 1), QNe = Ne(HE(), 1), ZNe = Ne(ux(), 1), eje = Ne(dx(), 1); // ../node_modules/@vitest/utils/dist/index.js var Hx, KN; function yoe() { if (KN) return Hx; KN = 1; var e, t, r, n, i, s, a, l, u, c, d, p, f, m, h, b, v, g, w; return f = /\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu, p = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y, e = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu, h = /(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y, d = /(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y, b = /[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y, w = /[\t\v\f\ufeff\p{Zs}]+/yu, l = /\r?\n|[\r\u2028\u2029]/y, u = /\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y, m = /\/\/.*/y, r = /[<>.:={}]|\/(?![\/*])/y, t = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu, n = /(['"])(?:(?!\1)[^])*(\1)?/y, i = /[^<>{}]+/y, g = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/, v = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/, s = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/, a = /^(?:return|throw|yield)$/, c = RegExp(l.source), Hx = /* @__PURE__ */ o(function* (E, { jsx: R = !1 } = {}) { var T, P, _, C, O, L, q, D, U, M, H, N, W, Y; for ({ length: L } = E, C = 0, O = "", Y = [ { tag: "JS" } ], T = [], H = 0, N = !1; C < L; ) { switch (D = Y[Y.length - 1], D.tag) { case "JS": case "JSNonExpressionParen": case "InterpolationInTemplate": case "InterpolationInJSX": if (E[C] === "/" && (g.test(O) || s.test(O)) && (f.lastIndex = C, q = f.exec(E))) { C = f.lastIndex, O = q[0], N = !0, yield { type: "RegularExpressionLiteral", value: q[0], closed: q[1] !== void 0 && q[1] !== "\\" }; continue; } if (p.lastIndex = C, q = p.exec(E)) { switch (W = q[0], U = p.lastIndex, M = W, W) { case "(": O === "?NonExpressionParenKeyword" && Y.push({ tag: "JSNonExpressionParen", nesting: H }), H++, N = !1; break; case ")": H--, N = !0, D.tag === "JSNonExpressionParen" && H === D.nesting && (Y.pop(), M = "?NonExpressionParenEnd", N = !1); break; case "{": p.lastIndex = 0, _ = !v.test(O) && (g.test(O) || s.test(O)), T.push(_), N = !1; break; case "}": switch (D.tag) { case "InterpolationInTemplate": if (T.length === D.nesting) { b.lastIndex = C, q = b.exec(E), C = b.lastIndex, O = q[0], q[1] === "${" ? (O = "?InterpolationInTemplate", N = !1, yield { type: "TemplateMiddle", value: q[0] }) : (Y.pop(), N = !0, yield { type: "TemplateTail", value: q[0], closed: q[1] === "`" }); continue; } break; case "InterpolationInJSX": if (T.length === D.nesting) { Y.pop(), C += 1, O = "}", yield { type: "JSXPunctuator", value: "}" }; continue; } } N = T.pop(), M = N ? "?ExpressionBraceEnd" : "}"; break; case "]": N = !0; break; case "++": case "--": M = N ? "?PostfixIncDec" : "?UnaryIncDec"; break; case "<": if (R && (g.test(O) || s.test(O))) { Y.push({ tag: "JSXTag" }), C += 1, O = "<", yield { type: "JSXPunctuator", value: W }; continue; } N = !1; break; default: N = !1; } C = U, O = M, yield { type: "Punctuator", value: W }; continue; } if (e.lastIndex = C, q = e.exec(E)) { switch (C = e.lastIndex, M = q[0], q[0]) { case "for": case "if": case "while": case "with": O !== "." && O !== "?." && (M = "?NonExpressionParenKeyword"); } O = M, N = !s.test(q[0]), yield { type: q[1] === "#" ? "PrivateIdentifier" : "IdentifierName", value: q[0] }; continue; } if (h.lastIndex = C, q = h.exec(E)) { C = h.lastIndex, O = q[0], N = !0, yield { type: "StringLiteral", value: q[0], closed: q[2] !== void 0 }; continue; } if (d.lastIndex = C, q = d.exec(E)) { C = d.lastIndex, O = q[0], N = !0, yield { type: "NumericLiteral", value: q[0] }; continue; } if (b.lastIndex = C, q = b.exec(E)) { C = b.lastIndex, O = q[0], q[1] === "${" ? (O = "?InterpolationInTemplate", Y.push({ tag: "InterpolationInTemplate", nesting: T.length }), N = !1, yield { type: "TemplateHead", value: q[0] }) : (N = !0, yield { type: "NoSubstitutionTemplate", value: q[0], closed: q[1] === "`" }); continue; } break; case "JSXTag": case "JSXTagEnd": if (r.lastIndex = C, q = r.exec(E)) { switch (C = r.lastIndex, M = q[0], q[0]) { case "<": Y.push({ tag: "JSXTag" }); break; case ">": Y.pop(), O === "/" || D.tag === "JSXTagEnd" ? (M = "?JSX", N = !0) : Y.push({ tag: "JSXChildren" }); break; case "{": Y.push({ tag: "InterpolationInJSX", nesting: T.length }), M = "?InterpolationInJSX", N = !1; break; case "/": O === "<" && (Y.pop(), Y[Y.length - 1].tag === "JSXChildren" && Y.pop(), Y.push({ tag: "JSXTagEnd" })); } O = M, yield { type: "JSXPunctuator", value: q[0] }; continue; } if (t.lastIndex = C, q = t.exec(E)) { C = t.lastIndex, O = q[0], yield { type: "JSXIdentifier", value: q[0] }; continue; } if (n.lastIndex = C, q = n.exec(E)) { C = n.lastIndex, O = q[0], yield { type: "JSXString", value: q[0], closed: q[2] !== void 0 }; continue; } break; case "JSXChildren": if (i.lastIndex = C, q = i.exec(E)) { C = i.lastIndex, O = q[0], yield { type: "JSXText", value: q[0] }; continue; } switch (E[C]) { case "<": Y.push({ tag: "JSXTag" }), C++, O = "<", yield { type: "JSXPunctuator", value: "<" }; continue; case "{": Y.push({ tag: "InterpolationInJSX", nesting: T.length }), C++, O = "?InterpolationInJSX", N = !1, yield { type: "JSXPunctuator", value: "{" }; continue; } } if (w.lastIndex = C, q = w.exec(E)) { C = w.lastIndex, yield { type: "WhiteSpace", value: q[0] }; continue; } if (l.lastIndex = C, q = l.exec(E)) { C = l.lastIndex, N = !1, a.test(O) && (O = "?NoLineTerminatorHere"), yield { type: "LineTerminatorSequence", value: q[0] }; continue; } if (u.lastIndex = C, q = u.exec(E)) { C = u.lastIndex, c.test(q[0]) && (N = !1, a.test(O) && (O = "?NoLineTerminatorHere")), yield { type: "MultiLineComment", value: q[0], closed: q[1] !== void 0 }; continue; } if (m.lastIndex = C, q = m.exec(E)) { C = m.lastIndex, N = !1, yield { type: "SingleLineComment", value: q[0] }; continue; } P = String.fromCodePoint(E.codePointAt(C)), C += P.length, O = P, N = !1, yield { type: D.tag.startsWith("JSX") ? "JSXInvalid" : "Invalid", value: P }; } }, "jsTokens_1"), Hx; } o(yoe, "requireJsTokens"); var yje = yoe(); var XN = { keyword: [ "break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete" ], strict: [ "implements", "interface", "let", "package", "private", "protected", "public", "static", "yield" ] }, bje = new Set(XN.keyword), gje = new Set(XN.strict); var vje = Symbol("vitest:SAFE_TIMERS"); // ../node_modules/@vitest/spy/node_modules/tinyspy/dist/index.js function lp(e, t) { if (!e) throw new Error(t); } o(lp, "assert"); function Vo(e, t) { return typeof t === e; } o(Vo, "isType"); function boe(e) { return e instanceof Promise; } o(boe, "isPromise"); function Ps(e, t, r) { Object.defineProperty(e, t, r); } o(Ps, "define"); function zo(e, t, r) { Ps(e, t, { value: r, configurable: !0, writable: !0 }); } o(zo, "defineValue"); var Ur = Symbol.for("tinyspy:spy"), goe = /* @__PURE__ */ new Set(), voe = /* @__PURE__ */ o((e) => { e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = []; }, "reset"), Eoe = /* @__PURE__ */ o((e) => (Ps(e, Ur, { value: { reset: /* @__PURE__ */ o(() => voe(e[Ur]), "reset") } }), e[Ur]), "defineState"), up = /* @__PURE__ */ o((e) => e[Ur] || Eoe(e), "getInternalState"); function xoe(e) { lp( Vo("function", e) || Vo("undefined", e), "cannot spy on a non-function value" ); let t = /* @__PURE__ */ o(function(...n) { let i = up(t); i.called = !0, i.callCount++, i.calls.push(n); let s = i.next.shift(); if (s) { i.results.push(s); let [d, p] = s; if (d === "ok") return p; throw p; } let a, l = "ok", u = i.results.length; if (i.impl) try { new.target ? a = Reflect.construct(i.impl, n, new.target) : a = i.impl.apply(this, n), l = "ok"; } catch (d) { throw a = d, l = "error", i.results.push([l, d]), d; } let c = [l, a]; return boe(a) && a.then( (d) => i.resolves[u] = ["ok", d], (d) => i.resolves[u] = ["error", d] ), i.results.push(c), a; }, "fn"); zo(t, "_isMockFunction", !0), zo(t, "length", e ? e.length : 0), zo(t, "name", e && e.name || "spy"); let r = up(t); return r.reset(), r.impl = e, t; } o(xoe, "createInternalSpy"); function woe(e) { return !!e && e._isMockFunction === !0; } o(woe, "isMockFunction"); var QN = /* @__PURE__ */ o((e, t) => { let r = Object.getOwnPropertyDescriptor(e, t); if (r) return [e, r]; let n = Object.getPrototypeOf(e); for (; n !== null; ) { let i = Object.getOwnPropertyDescriptor(n, t); if (i) return [n, i]; n = Object.getPrototypeOf(n); } }, "getDescriptor"), JN = /* @__PURE__ */ o((e, t) => { t != null && typeof t == "function" && t.prototype != null && Object.setPrototypeOf(e.prototype, t.prototype); }, "setPototype"); function Vx(e, t, r) { lp( !Vo("undefined", e), "spyOn could not find an object to spy upon" ), lp( Vo("object", e) || Vo("function", e), "cannot spyOn on a primitive value" ); let [n, i] = (() => { if (!Vo("object", t)) return [t, "value"]; if ("getter" in t && "setter" in t) throw new Error("cannot spy on both getter and setter"); if ("getter" in t) return [t.getter, "get"]; if ("setter" in t) return [t.setter, "set"]; throw new Error("specify getter or setter to spy on"); })(), [s, a] = QN(e, n) || []; lp( a || n in e, `${String(n)} does not exist` ); let l = !1; i === "value" && a && !a.value && a.get && (i = "get", l = !0, r = a.get()); let u; a ? u = a[i] : i !== "value" ? u = /* @__PURE__ */ o(() => e[n], "original") : u = e[n], u && _oe(u) && (u = u[Ur].getOriginal()); let c = /* @__PURE__ */ o((m) => { let { value: h, ...b } = a || { configurable: !0, writable: !0 }; i !== "value" && delete b.writable, b[i] = m, Ps(e, n, b); }, "reassign"), d = /* @__PURE__ */ o(() => { s !== e ? Reflect.deleteProperty(e, n) : a && !u ? Ps(e, n, a) : c(u); }, "restore"); r || (r = u); let p = Toe(xoe(r), r); i === "value" && JN(p, u); let f = p[Ur]; return zo(f, "restore", d), zo(f, "getOriginal", () => l ? u() : u), zo(f, "willCall", (m) => (f.impl = m, p)), c( l ? () => (JN(p, r), p) : p ), goe.add(p), p; } o(Vx, "internalSpyOn"); var Soe = /* @__PURE__ */ new Set([ "length", "name", "prototype" ]); function Roe(e) { let t = /* @__PURE__ */ new Set(), r = {}; for (; e && e !== Object.prototype && e !== Function.prototype; ) { let n = [ ...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e) ]; for (let i of n) r[i] || Soe.has(i) || (t.add(i), r[i] = Object.getOwnPropertyDescriptor(e, i)); e = Object.getPrototypeOf(e); } return { properties: t, descriptors: r }; } o(Roe, "getAllProperties"); function Toe(e, t) { if (!t || // the original is already a spy, so it has all the properties Ur in t) return e; let { properties: r, descriptors: n } = Roe(t); for (let i of r) { let s = n[i]; QN(e, i) || Ps(e, i, s); } return e; } o(Toe, "wrap"); function _oe(e) { return woe(e) && "getOriginal" in e[Ur]; } o(_oe, "isSpyFunction"); // ../node_modules/@vitest/spy/dist/index.js var Go = /* @__PURE__ */ new Set(); function yr(e) { return typeof e == "function" && "_isMockFunction" in e && e._isMockFunction; } o(yr, "isMockFunction"); function ZN(e, t, r) { let i = r ? { [{ get: "getter", set: "setter" }[r]]: t } : t, s, a = Aoe(e, t), l = a && a[r || "value"]; yr(l) && (s = l.mock._state()); try { let u = Vx(e, i), c = ej(u); return s && c.mock._state(s), c; } catch (u) { throw u instanceof TypeError && Symbol.toStringTag && e[Symbol.toStringTag] === "Module" && (u.message.includes("Cannot redefine propert\ y") || u.message.includes("Cannot replace module namespace") || u.message.includes("can't redefine non-configurable property")) ? new TypeError( `Cannot spy on export "${String(i)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`, { cause: u }) : u; } } o(ZN, "spyOn"); var Poe = 0; function ej(e) { let t = e, r, n = [], i = !1, s = [], a = [], l = [], u = up(e), c = { get calls() { return u.calls; }, get contexts() { return a; }, get instances() { return s; }, get invocationCallOrder() { return l; }, get results() { return u.results.map(([m, h]) => ({ type: m === "error" ? "throw" : "return", value: h })); }, get settledResults() { return u.resolves.map(([m, h]) => ({ type: m === "error" ? "rejected" : "fulfilled", value: h })); }, get lastCall() { return u.calls[u.calls.length - 1]; }, _state(m) { return m && (r = m.implementation, n = m.onceImplementations, i = m.implementationChangedTemporarily), { implementation: r, onceImplementations: n, implementationChangedTemporarily: i }; } }; function d(...m) { return s.push(this), a.push(this), l.push(++Poe), (i ? r : n.shift() || r || u.getOriginal() || (() => { })).apply(this, m); } o(d, "mockCall"); let p = t.name; t.getMockName = () => p || "vi.fn()", t.mockName = (m) => (p = m, t), t.mockClear = () => (u.reset(), s = [], a = [], l = [], t), t.mockReset = () => (t.mockClear(), r = void 0, n = [], t), t.mockRestore = () => (t.mockReset(), u.restore(), t), Symbol.dispose && (t[Symbol.dispose] = () => t.mockRestore()), t.getMockImplementation = () => i ? r : n.at(0) || r, t.mockImplementation = (m) => (r = m, u.willCall(d), t), t.mockImplementationOnce = (m) => (n.push(m), t); function f(m, h) { let b = r; r = m, u.willCall(d), i = !0; let v = /* @__PURE__ */ o(() => { r = b, i = !1; }, "reset"), g = h(); return typeof g == "object" && g && typeof g.then == "function" ? g.then(() => (v(), t)) : (v(), t); } return o(f, "withImplementation"), t.withImplementation = f, t.mockReturnThis = () => t.mockImplementation(function() { return this; }), t.mockReturnValue = (m) => t.mockImplementation(() => m), t.mockReturnValueOnce = (m) => t.mockImplementationOnce(() => m), t.mockResolvedValue = (m) => t.mockImplementation(() => Promise.resolve(m)), t.mockResolvedValueOnce = (m) => t.mockImplementationOnce(() => Promise.resolve(m)), t.mockRejectedValue = (m) => t.mockImplementation(() => Promise.reject(m)), t.mockRejectedValueOnce = (m) => t.mockImplementationOnce(() => Promise. reject(m)), Object.defineProperty(t, "mock", { get: /* @__PURE__ */ o(() => c, "get") }), u.willCall(d), Go.add(t), t; } o(ej, "enhanceSpy"); function zx(e) { let t = ej(Vx({ spy: e || function() { } }, "spy")); return e && t.mockImplementation(e), t; } o(zx, "fn"); function Aoe(e, t) { let r = Object.getOwnPropertyDescriptor(e, t); if (r) return r; let n = Object.getPrototypeOf(e); for (; n !== null; ) { let i = Object.getOwnPropertyDescriptor(n, t); if (i) return i; n = Object.getPrototypeOf(n); } } o(Aoe, "getDescriptor"); // ../node_modules/@vitest/expect/dist/index.js var qs = Symbol.for("matchers-object"), Is = Symbol.for("$$jest-matchers-object-storybook"), bp = Symbol.for("expect-global"), Yx = Symbol.for( "asymmetric-matchers-object"), cj = { toSatisfy(e, t, r) { let { printReceived: n, printExpected: i, matcherHint: s } = this.utils, a = t(e); return { pass: a, message: /* @__PURE__ */ o(() => a ? `${s(".not.toSatisfy", "received", "")} Expected value to not satisfy: ${r || i(t)} Received: ${n(e)}` : `${s(".toSatisfy", "received", "")} Expected value to satisfy: ${r || i(t)} Received: ${n(e)}`, "message") }; }, toBeOneOf(e, t) { let { equals: r, customTesters: n } = this, { printReceived: i, printExpected: s, matcherHint: a } = this.utils; if (!Array.isArray(t)) throw new TypeError(`You must provide an array to ${a(".toBeOneOf")}, not '${typeof t}'.`); let l = t.length === 0 || t.some((u) => r(u, e, n)); return { pass: l, message: /* @__PURE__ */ o(() => l ? `${a(".not.toBeOneOf", "received", "")} Expected value to not be one of: ${s(t)} Received: ${i(e)}` : `${a(".toBeOneOf", "received", "")} Expected value to be one of: ${s(t)} Received: ${i(e)}`, "message") }; } }, cp = Ee.green, Qx = Ee.red, Ooe = Ee.inverse, qoe = Ee.bold, Hr = Ee.dim; function Ioe(e, t = "received", r = "expected", n = {}) { let { comment: i = "", isDirectExpectCall: s = !1, isNot: a = !1, promise: l = "", secondArgument: u = "", expectedColor: c = cp, receivedColor: d = Qx, secondArgumentColor: p = cp } = n, f = "", m = "expect"; return !s && t !== "" && (f += Hr(`${m}(`) + d(t), m = ")"), l !== "" && (f += Hr(`${m}.`) + l, m = ""), a && (f += `${Hr(`${m}.`)}not`, m = ""), e.includes(".") ? m += e : (f += Hr(`${m}.`) + e, m = ""), r === "" ? m += "()" : (f += Hr(`${m}(`) + c(r), u && (f += Hr(", ") + p(u)), m = ")"), i !== "" && (m += ` // ${i}`), m !== "" && (f += Hr(m)), f; } o(Ioe, "matcherHint"); var Moe = "\xB7"; function dj(e) { return e.replace(/\s+$/gm, (t) => Moe.repeat(t.length)); } o(dj, "replaceTrailingSpaces"); function Noe(e) { return Qx(dj(Ye(e))); } o(Noe, "printReceived"); function joe(e) { return cp(dj(Ye(e))); } o(joe, "printExpected"); function pj() { return { EXPECTED_COLOR: cp, RECEIVED_COLOR: Qx, INVERTED_COLOR: Ooe, BOLD_WEIGHT: qoe, DIM_COLOR: Hr, diff: Sn, matcherHint: Ioe, printReceived: Noe, printExpected: joe, printDiffOrStringify: xl, printWithType: koe }; } o(pj, "getMatcherUtils"); function koe(e, t, r) { let n = xn(t), i = n !== "null" && n !== "undefined" ? `${e} has type: ${n} ` : "", s = `${e} has value: ${r(t)}`; return i + s; } o(koe, "printWithType"); function Zx() { return globalThis[Is].customEqualityTesters; } o(Zx, "getCustomEqualityTesters"); function ce(e, t, r, n) { return r = r || [], As(e, t, [], [], r, n ? fj : Doe); } o(ce, "equals"); var Mje = Function.prototype.toString; function tj(e) { return !!e && typeof e == "object" && "asymmetricMatch" in e && Ut("Function", e.asymmetricMatch); } o(tj, "isAsymmetric"); function Loe(e, t) { let r = tj(e), n = tj(t); if (!(r && n)) { if (r) return e.asymmetricMatch(t); if (n) return t.asymmetricMatch(e); } } o(Loe, "asymmetricMatch"); function As(e, t, r, n, i, s) { let a = !0, l = Loe(e, t); if (l !== void 0) return l; let u = { equals: ce }; for (let h = 0; h < i.length; h++) { let b = i[h].call(u, e, t, i); if (b !== void 0) return b; } if (typeof URL == "function" && e instanceof URL && t instanceof URL) return e.href === t.href; if (Object.is(e, t)) return !0; if (e === null || t === null) return e === t; let c = Object.prototype.toString.call(e); if (c !== Object.prototype.toString.call(t)) return !1; switch (c) { case "[object Boolean]": case "[object String]": case "[object Number]": return typeof e != typeof t ? !1 : typeof e != "object" && typeof t != "object" ? Object.is(e, t) : Object.is(e.valueOf(), t.valueOf()); case "[object Date]": { let h = +e, b = +t; return h === b || Number.isNaN(h) && Number.isNaN(b); } case "[object RegExp]": return e.source === t.source && e.flags === t.flags; case "[object Temporal.Instant]": case "[object Temporal.ZonedDateTime]": case "[object Temporal.PlainDateTime]": case "[object Temporal.PlainDate]": case "[object Temporal.PlainTime]": case "[object Temporal.PlainYearMonth]": case "[object Temporal.PlainMonthDay]": return e.equals(t); case "[object Temporal.Duration]": return e.toString() === t.toString(); } if (typeof e != "object" || typeof t != "object") return !1; if (nj(e) && nj(t)) return e.isEqualNode(t); let d = r.length; for (; d--; ) { if (r[d] === e) return n[d] === t; if (n[d] === t) return !1; } if (r.push(e), n.push(t), c === "[object Array]" && e.length !== t.length) return !1; if (e instanceof Error && t instanceof Error) try { return Foe(e, t, r, n, i, s); } finally { r.pop(), n.pop(); } let p = rj(e, s), f, m = p.length; if (rj(t, s).length !== m) return !1; for (; m--; ) if (f = p[m], a = s(t, f) && As(e[f], t[f], r, n, i, s), !a) return !1; return r.pop(), n.pop(), a; } o(As, "eq"); function Foe(e, t, r, n, i, s) { let a = Object.getPrototypeOf(e) === Object.getPrototypeOf(t) && e.name === t.name && e.message === t.message; return typeof t.cause < "u" && a && (a = As(e.cause, t.cause, r, n, i, s)), e instanceof AggregateError && t instanceof AggregateError && a && (a = As(e.errors, t.errors, r, n, i, s)), a && (a = As({ ...e }, { ...t }, r, n, i, s)), a; } o(Foe, "isErrorEqual"); function rj(e, t) { let r = []; for (let n in e) t(e, n) && r.push(n); return r.concat(Object.getOwnPropertySymbols(e).filter((n) => Object.getOwnPropertyDescriptor(e, n).enumerable)); } o(rj, "keys"); function Doe(e, t) { return fj(e, t) && e[t] !== void 0; } o(Doe, "hasDefinedKey"); function fj(e, t) { return Object.prototype.hasOwnProperty.call(e, t); } o(fj, "hasKey"); function Ut(e, t) { return Object.prototype.toString.apply(t) === `[object ${e}]`; } o(Ut, "isA"); function nj(e) { return e !== null && typeof e == "object" && "nodeType" in e && typeof e.nodeType == "number" && "nodeName" in e && typeof e.nodeName == "\ string" && "isEqualNode" in e && typeof e.isEqualNode == "function"; } o(nj, "isDomNode"); var mj = "@@__IMMUTABLE_KEYED__@@", hj = "@@__IMMUTABLE_SET__@@", $oe = "@@__IMMUTABLE_LIST__@@", gp = "@@__IMMUTABLE_ORDERED__@@", Boe = "@\ @__IMMUTABLE_RECORD__@@"; function Uoe(e) { return !!(e && e[mj] && !e[gp]); } o(Uoe, "isImmutableUnorderedKeyed"); function Hoe(e) { return !!(e && e[hj] && !e[gp]); } o(Hoe, "isImmutableUnorderedSet"); function vp(e) { return e != null && typeof e == "object" && !Array.isArray(e); } o(vp, "isObjectLiteral"); function Voe(e) { return !!(e && vp(e) && e[$oe]); } o(Voe, "isImmutableList"); function zoe(e) { return !!(e && vp(e) && e[mj] && e[gp]); } o(zoe, "isImmutableOrderedKeyed"); function Goe(e) { return !!(e && vp(e) && e[hj] && e[gp]); } o(Goe, "isImmutableOrderedSet"); function Woe(e) { return !!(e && vp(e) && e[Boe]); } o(Woe, "isImmutableRecord"); var yj = Symbol.iterator; function oj(e) { return !!(e != null && e[yj]); } o(oj, "hasIterator"); function qt(e, t, r = [], n = [], i = []) { if (typeof e != "object" || typeof t != "object" || Array.isArray(e) || Array.isArray(t) || !oj(e) || !oj(t)) return; if (e.constructor !== t.constructor) return !1; let s = n.length; for (; s--; ) if (n[s] === e) return i[s] === t; n.push(e), i.push(t); let a = [...r.filter((c) => c !== qt), l]; function l(c, d) { return qt(c, d, [...r], [...n], [...i]); } if (o(l, "iterableEqualityWithStack"), e.size !== void 0) { if (e.size !== t.size) return !1; if (Ut("Set", e) || Hoe(e)) { let c = !0; for (let d of e) if (!t.has(d)) { let p = !1; for (let f of t) ce(d, f, a) === !0 && (p = !0); if (p === !1) { c = !1; break; } } return n.pop(), i.pop(), c; } else if (Ut("Map", e) || Uoe(e)) { let c = !0; for (let d of e) if (!t.has(d[0]) || !ce(d[1], t.get(d[0]), a)) { let p = !1; for (let f of t) { let m = ce(d[0], f[0], a), h = !1; m === !0 && (h = ce(d[1], f[1], a)), h === !0 && (p = !0); } if (p === !1) { c = !1; break; } } return n.pop(), i.pop(), c; } } let u = t[yj](); for (let c of e) { let d = u.next(); if (d.done || !ce(c, d.value, a)) return !1; } if (!u.next().done) return !1; if (!Voe(e) && !zoe(e) && !Goe(e) && !Woe(e)) { let c = Object.entries(e), d = Object.entries(t); if (!ce(c, d, a)) return !1; } return n.pop(), i.pop(), !0; } o(qt, "iterableEquality"); function ew(e, t) { return !e || typeof e != "object" || e === Object.prototype ? !1 : Object.prototype.hasOwnProperty.call(e, t) || ew(Object.getPrototypeOf( e), t); } o(ew, "hasPropertyInObject"); function Yoe(e) { return So(e) && !(e instanceof Error) && !Array.isArray(e) && !(e instanceof Date); } o(Yoe, "isObjectWithKeys"); function Ms(e, t, r = []) { let n = r.filter((s) => s !== Ms), i = /* @__PURE__ */ o((s = /* @__PURE__ */ new WeakMap()) => (a, l) => { if (Yoe(l)) return Object.keys(l).every((u) => { if (l[u] != null && typeof l[u] == "object") { if (s.has(l[u])) return ce(a[u], l[u], n); s.set(l[u], !0); } let c = a != null && ew(a, u) && ce(a[u], l[u], [...n, i(s)]); return s.delete(l[u]), c; }); }, "subsetEqualityWithContext"); return i()(e, t); } o(Ms, "subsetEquality"); function ij(e, t) { if (!(e == null || t == null || e.constructor === t.constructor)) return !1; } o(ij, "typeEquality"); function sj(e, t) { let r = e, n = t; if (!(e instanceof DataView && t instanceof DataView)) { if (!(e instanceof ArrayBuffer) || !(t instanceof ArrayBuffer)) return; try { r = new DataView(e), n = new DataView(t); } catch { return; } } if (r.byteLength !== n.byteLength) return !1; for (let i = 0; i < r.byteLength; i++) if (r.getUint8(i) !== n.getUint8(i)) return !1; return !0; } o(sj, "arrayBufferEquality"); function Kx(e, t, r = []) { if (!Array.isArray(e) || !Array.isArray(t)) return; let n = Object.keys(e), i = Object.keys(t), s = r.filter((a) => a !== Kx); return ce(e, t, s, !0) && ce(n, i); } o(Kx, "sparseArrayEquality"); function Koe(e, t = "#{this}", r = "#{exp}") { let n = `expected ${t} to be ${r} // Object.is equality`; return ["toStrictEqual", "toEqual"].includes(e) ? `${n} If it should pass with deep equality, replace "toBe" with "${e}" Expected: ${t} Received: serializes to the same string ` : n; } o(Koe, "generateToBeMessage"); function Xoe(e, t) { return `${t} ${e}${t === 1 ? "" : "s"}`; } o(Xoe, "pluralize"); function Gx(e) { return [...Object.keys(e), ...Object.getOwnPropertySymbols(e).filter((t) => { var r; return (r = Object.getOwnPropertyDescriptor(e, t)) === null || r === void 0 ? void 0 : r.enumerable; })]; } o(Gx, "getObjectKeys"); function Joe(e, t, r) { let n = 0, i = /* @__PURE__ */ o((s = /* @__PURE__ */ new WeakMap()) => (a, l) => { if (Array.isArray(a)) { if (Array.isArray(l) && l.length === a.length) return l.map((u, c) => i(s)(a[c], u)); } else { if (a instanceof Date) return a; if (So(a) && So(l)) { if (ce(a, l, [ ...r, qt, Ms ])) return l; let u = {}; s.set(a, u), typeof a.constructor == "function" && typeof a.constructor.name == "string" && Object.defineProperty(u, "constructor", { enumerable: !1, value: a.constructor }); for (let c of Gx(a)) ew(l, c) ? u[c] = s.has(a[c]) ? s.get(a[c]) : i(s)(a[c], l[c]) : s.has(a[c]) || (n += 1, So(a[c]) && (n += Gx(a[c]).length), i(s)( a[c], l[c])); if (Gx(u).length > 0) return u; } } return a; }, "getObjectSubsetWithContext"); return { subset: i()(e, t), stripped: n }; } o(Joe, "getObjectSubset"); if (!Object.prototype.hasOwnProperty.call(globalThis, qs)) { let e = /* @__PURE__ */ new WeakMap(); Object.defineProperty(globalThis, qs, { get: /* @__PURE__ */ o(() => e, "get") }); } if (!Object.prototype.hasOwnProperty.call(globalThis, Is)) { let e = /* @__PURE__ */ Object.create(null), t = []; Object.defineProperty(globalThis, Is, { configurable: !0, get: /* @__PURE__ */ o(() => ({ state: globalThis[qs].get(globalThis[bp]), matchers: e, customEqualityTesters: t }), "get") }); } if (!Object.prototype.hasOwnProperty.call(globalThis, Yx)) { let e = /* @__PURE__ */ Object.create(null); Object.defineProperty(globalThis, Yx, { get: /* @__PURE__ */ o(() => e, "get") }); } function Ns(e) { return globalThis[qs].get(e); } o(Ns, "getState"); function Ep(e, t) { let r = globalThis[qs], n = r.get(t) || {}, i = Object.defineProperties(n, { ...Object.getOwnPropertyDescriptors(n), ...Object.getOwnPropertyDescriptors(e) }); r.set(t, i); } o(Ep, "setState"); var tw = class tw { // should have "jest" to be compatible with its ecosystem $$typeof = Symbol.for("jest.asymmetricMatcher"); constructor(t, r = !1) { this.sample = t, this.inverse = r; } getMatcherContext(t) { return { ...Ns(t || globalThis[bp]), equals: ce, isNot: this.inverse, customTesters: Zx(), utils: { ...pj(), diff: Sn, stringify: Ye, iterableEquality: qt, subsetEquality: Ms } }; } }; o(tw, "AsymmetricMatcher"); var Ht = tw; Ht.prototype[Symbol.for("chai/inspect")] = function(e) { let t = Ye(this, e.depth, { min: !0 }); return t.length <= e.truncate ? t : `${this.toString()}{\u2026}`; }; var rw = class rw extends Ht { constructor(t, r = !1) { if (!Ut("String", t)) throw new Error("Expected is not a string"); super(t, r); } asymmetricMatch(t) { let r = Ut("String", t) && t.includes(this.sample); return this.inverse ? !r : r; } toString() { return `String${this.inverse ? "Not" : ""}Containing`; } getExpectedType() { return "string"; } }; o(rw, "StringContaining"); var dp = rw, nw = class nw extends Ht { asymmetricMatch(t) { return t != null; } toString() { return "Anything"; } toAsymmetricMatcher() { return "Anything"; } }; o(nw, "Anything"); var Xx = nw, ow = class ow extends Ht { constructor(t, r = !1) { super(t, r); } getPrototype(t) { return Object.getPrototypeOf ? Object.getPrototypeOf(t) : t.constructor.prototype === t ? null : t.constructor.prototype; } hasProperty(t, r) { return t ? Object.prototype.hasOwnProperty.call(t, r) ? !0 : this.hasProperty(this.getPrototype(t), r) : !1; } asymmetricMatch(t) { if (typeof this.sample != "object") throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`); let r = !0, n = this.getMatcherContext(); for (let i in this.sample) if (!this.hasProperty(t, i) || !ce(this.sample[i], t[i], n.customTesters)) { r = !1; break; } return this.inverse ? !r : r; } toString() { return `Object${this.inverse ? "Not" : ""}Containing`; } getExpectedType() { return "object"; } }; o(ow, "ObjectContaining"); var pp = ow, iw = class iw extends Ht { constructor(t, r = !1) { super(t, r); } asymmetricMatch(t) { if (!Array.isArray(this.sample)) throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`); let r = this.getMatcherContext(), n = this.sample.length === 0 || Array.isArray(t) && this.sample.every((i) => t.some((s) => ce(i, s, r. customTesters))); return this.inverse ? !n : n; } toString() { return `Array${this.inverse ? "Not" : ""}Containing`; } getExpectedType() { return "array"; } }; o(iw, "ArrayContaining"); var fp = iw, sw = class sw extends Ht { constructor(t) { if (typeof t > "u") throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object."); super(t); } fnNameFor(t) { if (t.name) return t.name; let n = Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/); return n ? n[1] : ""; } asymmetricMatch(t) { return this.sample === String ? typeof t == "string" || t instanceof String : this.sample === Number ? typeof t == "number" || t instanceof Number : this.sample === Function ? typeof t == "function" || typeof t == "function" : this.sample === Boolean ? typeof t == "boolean" || t instanceof Boolean : this.sample === BigInt ? typeof t == "bigint" || t instanceof BigInt : this.sample === Symbol ? typeof t == "symb\ ol" || t instanceof Symbol : this.sample === Object ? typeof t == "object" : t instanceof this.sample; } toString() { return "Any"; } getExpectedType() { return this.sample === String ? "string" : this.sample === Number ? "number" : this.sample === Function ? "function" : this.sample === Object ? "object" : this.sample === Boolean ? "boolean" : this.fnNameFor(this.sample); } toAsymmetricMatcher() { return `Any<${this.fnNameFor(this.sample)}>`; } }; o(sw, "Any"); var Jx = sw, aw = class aw extends Ht { constructor(t, r = !1) { if (!Ut("String", t) && !Ut("RegExp", t)) throw new Error("Expected is not a String or a RegExp"); super(new RegExp(t), r); } asymmetricMatch(t) { let r = Ut("String", t) && this.sample.test(t); return this.inverse ? !r : r; } toString() { return `String${this.inverse ? "Not" : ""}Matching`; } getExpectedType() { return "string"; } }; o(aw, "StringMatching"); var mp = aw, lw = class lw extends Ht { precision; constructor(t, r = 2, n = !1) { if (!Ut("Number", t)) throw new Error("Expected is not a Number"); if (!Ut("Number", r)) throw new Error("Precision is not a Number"); super(t), this.inverse = n, this.precision = r; } asymmetricMatch(t) { if (!Ut("Number", t)) return !1; let r = !1; return t === Number.POSITIVE_INFINITY && this.sample === Number.POSITIVE_INFINITY || t === Number.NEGATIVE_INFINITY && this.sample === Number. NEGATIVE_INFINITY ? r = !0 : r = Math.abs(this.sample - t) < 10 ** -this.precision / 2, this.inverse ? !r : r; } toString() { return `Number${this.inverse ? "Not" : ""}CloseTo`; } getExpectedType() { return "number"; } toAsymmetricMatcher() { return [ this.toString(), this.sample, `(${Xoe("digit", this.precision)})` ].join(" "); } }; o(lw, "CloseTo"); var hp = lw, bj = /* @__PURE__ */ o((e, t) => { t.addMethod(e.expect, "anything", () => new Xx()), t.addMethod(e.expect, "any", (r) => new Jx(r)), t.addMethod(e.expect, "stringContaining", (r) => new dp(r)), t.addMethod(e.expect, "objectContaining", (r) => new pp(r)), t.addMethod(e.expect, "arrayContaining", (r) => new fp(r)), t.addMethod(e.expect, "stringMatching", (r) => new mp(r)), t.addMethod(e.expect, "closeTo", (r, n) => new hp(r, n)), e.expect.not = { stringContaining: /* @__PURE__ */ o((r) => new dp(r, !0), "stringContaining"), objectContaining: /* @__PURE__ */ o((r) => new pp(r, !0), "objectContaining"), arrayContaining: /* @__PURE__ */ o((r) => new fp(r, !0), "arrayContaining"), stringMatching: /* @__PURE__ */ o((r) => new mp(r, !0), "stringMatching"), closeTo: /* @__PURE__ */ o((r, n) => new hp(r, n, !0), "closeTo") }; }, "JestAsymmetricMatchers"); function aj(e, t, r) { let n = e.flag(t, "negate") ? "not." : "", i = `${e.flag(t, "_name")}(${r ? "expected" : ""})`, s = e.flag(t, "promise"); return `expect(actual)${s ? `.${s}` : ""}.${n}${i}`; } o(aj, "createAssertionMessage"); function lj(e, t, r, n) { let i = e; if (i && t instanceof Promise) { t = t.finally(() => { if (!i.promises) return; let a = i.promises.indexOf(t); a !== -1 && i.promises.splice(a, 1); }), i.promises || (i.promises = []), i.promises.push(t); let s = !1; return i.onFinished ?? (i.onFinished = []), i.onFinished.push(() => { if (!s) { var a; let u = (((a = globalThis.__vitest_worker__) === null || a === void 0 ? void 0 : a.onFilterStackTrace) || ((c) => c || ""))(n.stack); console.warn([ `Promise returned by \`${r}\` was not awaited. `, "Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ", `Please remember to await the assertion. `, u ].join("")); } }), { then(a, l) { return s = !0, t.then(a, l); }, catch(a) { return t.catch(a); }, finally(a) { return t.finally(a); }, [Symbol.toStringTag]: "Promise" }; } return t; } o(lj, "recordAsyncExpect"); function uj(e, t) { var r; e.result || (e.result = { state: "fail" }), e.result.state = "fail", (r = e.result).errors || (r.errors = []), e.result.errors.push(Qi(t)); } o(uj, "handleTestError"); function gj(e, t, r) { return function(...n) { if (t !== "withTest" && e.flag(this, "_name", t), !e.flag(this, "soft")) return r.apply(this, n); let i = e.flag(this, "vitest-test"); if (!i) throw new Error("expect.soft() can only be used inside a test"); try { let s = r.apply(this, n); return s && typeof s == "object" && typeof s.then == "function" ? s.then(Wg, (a) => { uj(i, a); }) : s; } catch (s) { uj(i, s); } }; } o(gj, "wrapAssertion"); var vj = /* @__PURE__ */ o((e, t) => { let { AssertionError: r } = e, n = Zx(); function i(c, d) { let p = /* @__PURE__ */ o((f) => { let m = gj(t, f, d); t.addMethod(e.Assertion.prototype, f, m), t.addMethod(globalThis[Is].matchers, f, m); }, "addMethod"); Array.isArray(c) ? c.forEach((f) => p(f)) : p(c); } o(i, "def"), [ "throw", "throws", "Throw" ].forEach((c) => { t.overwriteMethod(e.Assertion.prototype, c, (d) => function(...p) { let f = t.flag(this, "promise"), m = t.flag(this, "object"), h = t.flag(this, "negate"); if (f === "rejects") t.flag(this, "object", () => { throw m; }); else if (f === "resolves" && typeof m != "function") { if (h) return; { let b = t.flag(this, "message") || "expected promise to throw an error, but it didn't", v = { showDiff: !1 }; throw new r(b, v, t.flag(this, "ssfi")); } } d.apply(this, p); }); }), i("withTest", function(c) { return t.flag(this, "vitest-test", c), this; }), i("toEqual", function(c) { let d = t.flag(this, "object"), p = ce(d, c, [...n, qt]); return this.assert(p, "expected #{this} to deeply equal #{exp}", "expected #{this} to not deeply equal #{exp}", c, d); }), i("toStrictEqual", function(c) { let d = t.flag(this, "object"), p = ce(d, c, [ ...n, qt, ij, Kx, sj ], !0); return this.assert(p, "expected #{this} to strictly equal #{exp}", "expected #{this} to not strictly equal #{exp}", c, d); }), i("toBe", function(c) { let d = this._obj, p = Object.is(d, c), f = ""; return p || (ce(d, c, [ ...n, qt, ij, Kx, sj ], !0) ? f = "toStrictEqual" : ce(d, c, [...n, qt]) && (f = "toEqual")), this.assert(p, Koe(f), "expected #{this} not to be #{exp} // Ob\ ject.is equality", c, d); }), i("toMatchObject", function(c) { let d = this._obj, p = ce(d, c, [ ...n, qt, Ms ]), f = t.flag(this, "negate"), { subset: m, stripped: h } = Joe(d, c, n); if (p && f || !p && !f) { let b = t.getMessage(this, [ p, "expected #{this} to match object #{exp}", "expected #{this} to not match object #{exp}", c, m, !1 ]), v = h === 0 ? b : `${b} (${h} matching ${h === 1 ? "property" : "properties"} omitted from actual)`; throw new r(v, { showDiff: !0, expected: c, actual: m }); } }), i("toMatch", function(c) { let d = this._obj; if (typeof d != "string") throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`); return this.assert(typeof c == "string" ? d.includes(c) : d.match(c), "expected #{this} to match #{exp}", "expected #{this} not to match\ #{exp}", c, d); }), i("toContain", function(c) { let d = this._obj; if (typeof Node < "u" && d instanceof Node) { if (!(c instanceof Node)) throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`); return this.assert(d.contains(c), "expected #{this} to contain element #{exp}", "expected #{this} not to contain element #{exp}", c, d); } if (typeof DOMTokenList < "u" && d instanceof DOMTokenList) { Dt(c, "class name", ["string"]); let f = t.flag(this, "negate") ? d.value.replace(c, "").trim() : `${d.value} ${c}`; return this.assert(d.contains(c), `expected "${d.value}" to contain "${c}"`, `expected "${d.value}" not to contain "${c}"`, f, d.value); } return typeof d == "string" && typeof c == "string" ? this.assert(d.includes(c), "expected #{this} to contain #{exp}", "expected #{this}\ not to contain #{exp}", c, d) : (d != null && typeof d != "string" && t.flag(this, "object", Array.from(d)), this.contain(c)); }), i("toContainEqual", function(c) { let d = t.flag(this, "object"), p = Array.from(d).findIndex((f) => ce(f, c, n)); this.assert(p !== -1, "expected #{this} to deep equally contain #{exp}", "expected #{this} to not deep equally contain #{exp}", c); }), i("toBeTruthy", function() { let c = t.flag(this, "object"); this.assert(!!c, "expected #{this} to be truthy", "expected #{this} to not be truthy", !0, c); }), i("toBeFalsy", function() { let c = t.flag(this, "object"); this.assert(!c, "expected #{this} to be falsy", "expected #{this} to not be falsy", !1, c); }), i("toBeGreaterThan", function(c) { let d = this._obj; return Dt(d, "actual", ["number", "bigint"]), Dt(c, "expected", ["number", "bigint"]), this.assert(d > c, `expected ${d} to be greater t\ han ${c}`, `expected ${d} to be not greater than ${c}`, c, d, !1); }), i("toBeGreaterThanOrEqual", function(c) { let d = this._obj; return Dt(d, "actual", ["number", "bigint"]), Dt(c, "expected", ["number", "bigint"]), this.assert(d >= c, `expected ${d} to be greater \ than or equal to ${c}`, `expected ${d} to be not greater than or equal to ${c}`, c, d, !1); }), i("toBeLessThan", function(c) { let d = this._obj; return Dt(d, "actual", ["number", "bigint"]), Dt(c, "expected", ["number", "bigint"]), this.assert(d < c, `expected ${d} to be less than\ ${c}`, `expected ${d} to be not less than ${c}`, c, d, !1); }), i("toBeLessThanOrEqual", function(c) { let d = this._obj; return Dt(d, "actual", ["number", "bigint"]), Dt(c, "expected", ["number", "bigint"]), this.assert(d <= c, `expected ${d} to be less tha\ n or equal to ${c}`, `expected ${d} to be not less than or equal to ${c}`, c, d, !1); }), i("toBeNaN", function() { let c = t.flag(this, "object"); this.assert(Number.isNaN(c), "expected #{this} to be NaN", "expected #{this} not to be NaN", Number.NaN, c); }), i("toBeUndefined", function() { let c = t.flag(this, "object"); this.assert(c === void 0, "expected #{this} to be undefined", "expected #{this} not to be undefined", void 0, c); }), i("toBeNull", function() { let c = t.flag(this, "object"); this.assert(c === null, "expected #{this} to be null", "expected #{this} not to be null", null, c); }), i("toBeDefined", function() { let c = t.flag(this, "object"); this.assert(typeof c < "u", "expected #{this} to be defined", "expected #{this} to be undefined", c); }), i("toBeTypeOf", function(c) { let d = typeof this._obj, p = c === d; return this.assert(p, "expected #{this} to be type of #{exp}", "expected #{this} not to be type of #{exp}", c, d); }), i("toBeInstanceOf", function(c) { return this.instanceOf(c); }), i("toHaveLength", function(c) { return this.have.length(c); }), i("toHaveProperty", function(...c) { Array.isArray(c[0]) && (c[0] = c[0].map((w) => String(w).replace(/([.[\]])/g, "\\$1")).join(".")); let d = this._obj, [p, f] = c, m = /* @__PURE__ */ o(() => Object.prototype.hasOwnProperty.call(d, p) ? { value: d[p], exists: !0 } : t.getPathInfo(d, p), "getValue"), { value: h, exists: b } = m(), v = b && (c.length === 1 || ce(f, h, n)), g = c.length === 1 ? "" : ` with value ${t.objDisplay(f)}`; return this.assert(v, `expected #{this} to have property "${p}"${g}`, `expected #{this} to not have property "${p}"${g}`, f, b ? h : void 0); }), i("toBeCloseTo", function(c, d = 2) { let p = this._obj, f = !1, m = 0, h = 0; return c === Number.POSITIVE_INFINITY && p === Number.POSITIVE_INFINITY || c === Number.NEGATIVE_INFINITY && p === Number.NEGATIVE_INFINITY ? f = !0 : (m = 10 ** -d / 2, h = Math.abs(p - c), f = h < m), this.assert(f, `expected #{this} to be close to #{exp}, received difference\ is ${h}, but expected ${m}`, `expected #{this} to not be close to #{exp}, received difference is ${h}, but expected ${m}`, c, p, !1); }); function s(c) { if (!yr(c._obj)) throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`); } o(s, "assertIsMock"); function a(c) { return s(c), c._obj; } o(a, "getSpy"), i(["toHaveBeenCalledTimes", "toBeCalledTimes"], function(c) { let d = a(this), p = d.getMockName(), f = d.mock.calls.length; return this.assert(f === c, `expected "${p}" to be called #{exp} times, but got ${f} times`, `expected "${p}" to not be called #{exp} ti\ mes`, c, f, !1); }), i("toHaveBeenCalledOnce", function() { let c = a(this), d = c.getMockName(), p = c.mock.calls.length; return this.assert(p === 1, `expected "${d}" to be called once, but got ${p} times`, `expected "${d}" to not be called once`, 1, p, !1); }), i(["toHaveBeenCalled", "toBeCalled"], function() { let c = a(this), d = c.getMockName(), p = c.mock.calls.length, f = p > 0, m = t.flag(this, "negate"), h = t.getMessage(this, [ f, `expected "${d}" to be called at least once`, `expected "${d}" to not be called at all, but actually been called ${p} times`, !0, f ]); if (f && m && (h = Wx(c, h)), f && m || !f && !m) throw new r(h); }); function l(c, d) { return c.length === d.length && c.every((p, f) => ce(p, d[f], [...n, qt])); } o(l, "equalsArgumentArray"), i(["toHaveBeenCalledWith", "toBeCalledWith"], function(...c) { let d = a(this), p = d.getMockName(), f = d.mock.calls.some((b) => l(b, c)), m = t.flag(this, "negate"), h = t.getMessage(this, [ f, `expected "${p}" to be called with arguments: #{exp}`, `expected "${p}" to not be called with arguments: #{exp}`, c ]); if (f && m || !f && !m) throw new r(Wx(d, h, c)); }), i("toHaveBeenCalledExactlyOnceWith", function(...c) { let d = a(this), p = d.getMockName(), f = d.mock.calls.length, h = d.mock.calls.some((g) => l(g, c)) && f === 1, b = t.flag(this, "negat\ e"), v = t.getMessage(this, [ h, `expected "${p}" to be called once with arguments: #{exp}`, `expected "${p}" to not be called once with arguments: #{exp}`, c ]); if (h && b || !h && !b) throw new r(Wx(d, v, c)); }), i(["toHaveBeenNthCalledWith", "nthCalledWith"], function(c, ...d) { let p = a(this), f = p.getMockName(), m = p.mock.calls[c - 1], h = p.mock.calls.length, b = c <= h; this.assert(m && l(m, d), `expected ${Os(c)} "${f}" call to have been called with #{exp}${b ? "" : `, but called only ${h} times`}`, `ex\ pected ${Os(c)} "${f}" call to not have been called with #{exp}`, d, m, b); }), i(["toHaveBeenLastCalledWith", "lastCalledWith"], function(...c) { let d = a(this), p = d.getMockName(), f = d.mock.calls[d.mock.calls.length - 1]; this.assert(f && l(f, c), `expected last "${p}" call to have been called with #{exp}`, `expected last "${p}" call to not have been calle\ d with #{exp}`, c, f); }); function u(c, d, p) { let f = c.mock.invocationCallOrder, m = d.mock.invocationCallOrder; return f.length === 0 ? !p : m.length === 0 ? !1 : f[0] < m[0]; } o(u, "isSpyCalledBeforeAnotherSpy"), i(["toHaveBeenCalledBefore"], function(c, d = !0) { let p = a(this); if (!yr(c)) throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`); this.assert(u(p, c, d), `expected "${p.getMockName()}" to have been called before "${c.getMockName()}"`, `expected "${p.getMockName()}" \ to not have been called before "${c.getMockName()}"`, c, p); }), i(["toHaveBeenCalledAfter"], function(c, d = !0) { let p = a(this); if (!yr(c)) throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`); this.assert(u(c, p, d), `expected "${p.getMockName()}" to have been called after "${c.getMockName()}"`, `expected "${p.getMockName()}" t\ o not have been called after "${c.getMockName()}"`, c, p); }), i(["toThrow", "toThrowError"], function(c) { if (typeof c == "string" || typeof c > "u" || c instanceof RegExp) return this.throws(c === "" ? /^$/ : c); let d = this._obj, p = t.flag(this, "promise"), f = t.flag(this, "negate"), m = null; if (p === "rejects") m = d; else if (p === "resolves" && typeof d != "function") { if (f) return; { let h = t.flag(this, "message") || "expected promise to throw an error, but it didn't", b = { showDiff: !1 }; throw new r(h, b, t.flag(this, "ssfi")); } } else { let h = !1; try { d(); } catch (b) { h = !0, m = b; } if (!h && !f) { let b = t.flag(this, "message") || "expected function to throw an error, but it didn't", v = { showDiff: !1 }; throw new r(b, v, t.flag(this, "ssfi")); } } if (typeof c == "function") { let h = c.name || c.prototype.constructor.name; return this.assert(m && m instanceof c, `expected error to be instance of ${h}`, `expected error not to be instance of ${h}`, c, m); } if (c instanceof Error) { let h = ce(m, c, [...n, qt]); return this.assert(h, "expected a thrown error to be #{exp}", "expected a thrown error not to be #{exp}", c, m); } if (typeof c == "object" && "asymmetricMatch" in c && typeof c.asymmetricMatch == "function") { let h = c; return this.assert(m && h.asymmetricMatch(m), "expected error to match asymmetric matcher", "expected error not to match asymmetric ma\ tcher", h, m); } throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`); }), [{ name: "toHaveResolved", condition: /* @__PURE__ */ o((c) => c.mock.settledResults.length > 0 && c.mock.settledResults.some(({ type: d }) => d === "fulfilled"), "\ condition"), action: "resolved" }, { name: ["toHaveReturned", "toReturn"], condition: /* @__PURE__ */ o((c) => c.mock.calls.length > 0 && c.mock.results.some(({ type: d }) => d !== "throw"), "condition"), action: "called" }].forEach(({ name: c, condition: d, action: p }) => { i(c, function() { let f = a(this), m = f.getMockName(), h = d(f); this.assert(h, `expected "${m}" to be successfully ${p} at least once`, `expected "${m}" to not be successfully ${p}`, h, !h, !1); }); }), [{ name: "toHaveResolvedTimes", condition: /* @__PURE__ */ o((c, d) => c.mock.settledResults.reduce((p, { type: f }) => f === "fulfilled" ? ++p : p, 0) === d, "conditio\ n"), action: "resolved" }, { name: ["toHaveReturnedTimes", "toReturnTimes"], condition: /* @__PURE__ */ o((c, d) => c.mock.results.reduce((p, { type: f }) => f === "throw" ? p : ++p, 0) === d, "condition"), action: "called" }].forEach(({ name: c, condition: d, action: p }) => { i(c, function(f) { let m = a(this), h = m.getMockName(), b = d(m, f); this.assert(b, `expected "${h}" to be successfully ${p} ${f} times`, `expected "${h}" to not be successfully ${p} ${f} times`, `expect\ ed resolved times: ${f}`, `received resolved times: ${b}`, !1); }); }), [{ name: "toHaveResolvedWith", condition: /* @__PURE__ */ o((c, d) => c.mock.settledResults.some(({ type: p, value: f }) => p === "fulfilled" && ce(d, f)), "condition"), action: "resolve" }, { name: ["toHaveReturnedWith", "toReturnWith"], condition: /* @__PURE__ */ o((c, d) => c.mock.results.some(({ type: p, value: f }) => p === "return" && ce(d, f)), "condition"), action: "return" }].forEach(({ name: c, condition: d, action: p }) => { i(c, function(f) { let m = a(this), h = d(m, f), b = t.flag(this, "negate"); if (h && b || !h && !b) { let v = m.getMockName(), g = t.getMessage(this, [ h, `expected "${v}" to ${p} with: #{exp} at least once`, `expected "${v}" to not ${p} with: #{exp}`, f ]), w = p === "return" ? m.mock.results : m.mock.settledResults; throw new r(Qoe(m, w, g, f)); } }); }), [{ name: "toHaveLastResolvedWith", condition: /* @__PURE__ */ o((c, d) => { let p = c.mock.settledResults[c.mock.settledResults.length - 1]; return p && p.type === "fulfilled" && ce(p.value, d); }, "condition"), action: "resolve" }, { name: ["toHaveLastReturnedWith", "lastReturnedWith"], condition: /* @__PURE__ */ o((c, d) => { let p = c.mock.results[c.mock.results.length - 1]; return p && p.type === "return" && ce(p.value, d); }, "condition"), action: "return" }].forEach(({ name: c, condition: d, action: p }) => { i(c, function(f) { let m = a(this), h = p === "return" ? m.mock.results : m.mock.settledResults, b = h[h.length - 1], v = m.getMockName(); this.assert(d(m, f), `expected last "${v}" call to ${p} #{exp}`, `expected last "${v}" call to not ${p} #{exp}`, f, b?.value); }); }), [{ name: "toHaveNthResolvedWith", condition: /* @__PURE__ */ o((c, d, p) => { let f = c.mock.settledResults[d - 1]; return f && f.type === "fulfilled" && ce(f.value, p); }, "condition"), action: "resolve" }, { name: ["toHaveNthReturnedWith", "nthReturnedWith"], condition: /* @__PURE__ */ o((c, d, p) => { let f = c.mock.results[d - 1]; return f && f.type === "return" && ce(f.value, p); }, "condition"), action: "return" }].forEach(({ name: c, condition: d, action: p }) => { i(c, function(f, m) { let h = a(this), b = h.getMockName(), g = (p === "return" ? h.mock.results : h.mock.settledResults)[f - 1], w = `${Os(f)} call`; this.assert(d(h, f, m), `expected ${w} "${b}" call to ${p} #{exp}`, `expected ${w} "${b}" call to not ${p} #{exp}`, m, g?.value); }); }), i("withContext", function(c) { for (let d in c) t.flag(this, d, c[d]); return this; }), t.addProperty(e.Assertion.prototype, "resolves", /* @__PURE__ */ o(function() { let d = new Error("resolves"); t.flag(this, "promise", "resolves"), t.flag(this, "error", d); let p = t.flag(this, "vitest-test"), f = t.flag(this, "object"); if (t.flag(this, "poll")) throw new SyntaxError("expect.poll() is not supported in combination with .resolves"); if (typeof f?.then != "function") throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`); let m = new Proxy(this, { get: /* @__PURE__ */ o((h, b, v) => { let g = Reflect.get(h, b, v); return typeof g != "function" ? g instanceof e.Assertion ? m : g : (...w) => { t.flag(this, "_name", b); let E = f.then((R) => (t.flag(this, "object", R), g.call(this, ...w)), (R) => { let T = new r(`promise rejected "${t.inspect(R)}" instead of resolving`, { showDiff: !1 }); throw T.cause = R, T.stack = d.stack.replace(d.message, T.message), T; }); return lj(p, E, aj(t, this, !!w.length), d); }; }, "get") }); return m; }, "__VITEST_RESOLVES__")), t.addProperty(e.Assertion.prototype, "rejects", /* @__PURE__ */ o(function() { let d = new Error("rejects"); t.flag(this, "promise", "rejects"), t.flag(this, "error", d); let p = t.flag(this, "vitest-test"), f = t.flag(this, "object"), m = typeof f == "function" ? f() : f; if (t.flag(this, "poll")) throw new SyntaxError("expect.poll() is not supported in combination with .rejects"); if (typeof m?.then != "function") throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`); let h = new Proxy(this, { get: /* @__PURE__ */ o((b, v, g) => { let w = Reflect.get(b, v, g); return typeof w != "function" ? w instanceof e.Assertion ? h : w : (...E) => { t.flag(this, "_name", v); let R = m.then((T) => { let P = new r(`promise resolved "${t.inspect(T)}" instead of rejecting`, { showDiff: !0, expected: new Error("rejected promise"), actual: T }); throw P.stack = d.stack.replace(d.message, P.message), P; }, (T) => (t.flag(this, "object", T), w.call(this, ...E))); return lj(p, R, aj(t, this, !!E.length), d); }; }, "get") }); return h; }, "__VITEST_REJECTS__")); }, "JestChaiExpect"); function Os(e) { let t = e % 10, r = e % 100; return t === 1 && r !== 11 ? `${e}st` : t === 2 && r !== 12 ? `${e}nd` : t === 3 && r !== 13 ? `${e}rd` : `${e}th`; } o(Os, "ordinalOf"); function Wx(e, t, r) { return e.mock.calls.length && (t += Ee.gray(` Received: ${e.mock.calls.map((n, i) => { let s = Ee.bold(` ${Os(i + 1)} ${e.getMockName()} call: `); return r ? s += Sn(r, n, { omitAnnotationLines: !0 }) : s += Ye(n).split(` `).map((a) => ` ${a}`).join(` `), s += ` `, s; }).join(` `)}`)), t += Ee.gray(` Number of calls: ${Ee.bold(e.mock.calls.length)} `), t; } o(Wx, "formatCalls"); function Qoe(e, t, r, n) { return t.length && (r += Ee.gray(` Received: ${t.map((i, s) => { let a = Ee.bold(` ${Os(s + 1)} ${e.getMockName()} call return: `); return n ? a += Sn(n, i.value, { omitAnnotationLines: !0 }) : a += Ye(i).split(` `).map((l) => ` ${l}`).join(` `), a += ` `, a; }).join(` `)}`)), r += Ee.gray(` Number of calls: ${Ee.bold(e.mock.calls.length)} `), r; } o(Qoe, "formatReturns"); function Zoe(e, t) { let r = e._obj, n = _t.flag(e, "negate"), i = _t.flag(e, "promise") || "", s = { ...pj(), diff: Sn, stringify: Ye, iterableEquality: qt, subsetEquality: Ms }; return { state: { ...Ns(t), customTesters: Zx(), isNot: n, utils: s, promise: i, equals: ce, suppressedErrors: [], soft: _t.flag(e, "soft"), poll: _t.flag(e, "poll") }, isNot: n, obj: r }; } o(Zoe, "getMatcherState"); var uw = class uw extends Error { constructor(t, r, n) { super(t), this.actual = r, this.expected = n; } }; o(uw, "JestExtendError"); var yp = uw; function eie(e, t, r) { return (n, i) => { Object.entries(r).forEach(([s, a]) => { function l(...f) { let { state: m, isNot: h, obj: b } = Zoe(this, t), v = a.call(m, b, ...f); if (v && typeof v == "object" && typeof v.then == "function") return v.then(({ pass: P, message: _, actual: C, expected: O }) => { if (P && h || !P && !h) throw new yp(_(), C, O); }); let { pass: g, message: w, actual: E, expected: R } = v; if (g && h || !g && !h) throw new yp(w(), E, R); } o(l, "expectWrapper"); let u = gj(i, s, l); i.addMethod(globalThis[Is].matchers, s, u), i.addMethod(e.Assertion.prototype, s, u); let p = class p extends Ht { constructor(m = !1, ...h) { super(h, m); } asymmetricMatch(m) { let { pass: h } = a.call(this.getMatcherContext(t), m, ...this.sample); return this.inverse ? !h : h; } toString() { return `${this.inverse ? "not." : ""}${s}`; } getExpectedType() { return "any"; } toAsymmetricMatcher() { return `${this.toString()}<${this.sample.map((m) => Ye(m)).join(", ")}>`; } }; o(p, "CustomMatcher"); let c = p, d = /* @__PURE__ */ o((...f) => new c(!1, ...f), "customMatcher"); Object.defineProperty(t, s, { configurable: !0, enumerable: !0, value: d, writable: !0 }), Object.defineProperty(t.not, s, { configurable: !0, enumerable: !0, value: /* @__PURE__ */ o((...f) => new c(!0, ...f), "value"), writable: !0 }), Object.defineProperty(globalThis[Yx], s, { configurable: !0, enumerable: !0, value: d, writable: !0 }); }); }; } o(eie, "JestExtendPlugin"); var Ej = /* @__PURE__ */ o((e, t) => { t.addMethod(e.expect, "extend", (r, n) => { Fr(eie(e, r, n)); }); }, "JestExtend"); // src/test/expect.ts function tie() { Fr(Ej), Fr(vj), Fr(bj); let e = /* @__PURE__ */ o((n, i) => { let { assertionCalls: s } = Ns(e); return Ep({ assertionCalls: s + 1, soft: !1 }, e), Lr(n, i); }, "expect"); Object.assign(e, Lr), e.getState = () => Ns(e), e.setState = (n) => Ep(n, e), e.extend = (n) => Lr.extend(e, n), e.soft = (...n) => { let i = e(...n); return e.setState({ soft: !0 }), i; }, e.extend(cj), e.unreachable = (n) => { x.fail(`expected${n ? ` "${n}" ` : " "}not to be reached`); }; function t(n) { let i = /* @__PURE__ */ o(() => new Error( `expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}` ), "errorGen"); "captureStackTrace" in Error && typeof Error.captureStackTrace == "function" && Error.captureStackTrace(i(), t), e.setState({ expectedAssertionsNumber: n, expectedAssertionsNumberErrorGen: i }); } o(t, "assertions"); function r() { let n = new Error("expected any number of assertion, but got none"); "captureStackTrace" in Error && typeof Error.captureStackTrace == "function" && Error.captureStackTrace(n, r), e.setState({ isExpectingAssertions: !0, isExpectingAssertionsError: n }); } return o(r, "hasAssertions"), Ep( { // this should also add "snapshotState" that is added conditionally assertionCalls: 0, isExpectingAssertions: !1, isExpectingAssertionsError: null, expectedAssertionsNumber: null, expectedAssertionsNumberErrorGen: null }, e ), _t.addMethod(e, "assertions", t), _t.addMethod(e, "hasAssertions", r), e.extend(Ux), e; } o(tie, "createExpect"); var cw = tie(); Object.defineProperty(globalThis, bp, { value: cw, writable: !0, configurable: !0 }); // ../node_modules/tinyspy/dist/index.js function rie(e, t, r) { Object.defineProperty(e, t, r); } o(rie, "f"); var xp = Symbol.for("tinyspy:spy"); var nie = /* @__PURE__ */ o((e) => { e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = []; }, "P"), oie = /* @__PURE__ */ o((e) => (rie(e, xp, { value: { reset: /* @__PURE__ */ o(() => nie(e[xp]), "reset") } }), e[xp]), "K"), xj = /* @__PURE__ */ o( (e) => e[xp] || oie(e), "T"); // src/test/spy.ts var dw = /* @__PURE__ */ new Set(); function pw(e) { return dw.add(e), () => void dw.delete(e); } o(pw, "onMockCall"); var sie = /* @__PURE__ */ o((...e) => { let t = ZN(...e); return Sj(t); }, "spyOn"); function fw(e) { let t = e ? zx(e) : zx(); return Sj(t); } o(fw, "fn"); function Sj(e) { let t = wj(e), r = t.mockImplementation.bind(null); return t.mockImplementation = (n) => wj(r(n)), t; } o(Sj, "reactiveMock"); function wj(e) { let t = xj(e), r = t.impl; return t.willCall(function(...n) { return dw.forEach((i) => i(e, n)), r?.apply(this, n); }), e; } o(wj, "listenWhenCalled"); function mw() { Go.forEach((e) => e.mockClear()); } o(mw, "clearAllMocks"); function hw() { Go.forEach((e) => e.mockReset()); } o(hw, "resetAllMocks"); function yw() { Go.forEach((e) => e.mockRestore()); } o(yw, "restoreAllMocks"); function aie(e, t = {}) { return e; } o(aie, "mocked"); // ../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js var mS = {}; st(mS, { buildQueries: () => Er, configure: () => Sye, createEvent: () => Ih, findAllByAltText: () => pB, findAllByDisplayValue: () => sB, findAllByLabelText: () => D$, findAllByPlaceholderText: () => Y$, findAllByRole: () => TB, findAllByTestId: () => qB, findAllByText: () => eB, findAllByTitle: () => gB, findByAltText: () => fB, findByDisplayValue: () => aB, findByLabelText: () => $$, findByPlaceholderText: () => K$, findByRole: () => _B, findByTestId: () => IB, findByText: () => tB, findByTitle: () => vB, fireEvent: () => na, getAllByAltText: () => cB, getAllByDisplayValue: () => oB, getAllByLabelText: () => B$, getAllByPlaceholderText: () => G$, getAllByRole: () => SB, getAllByTestId: () => AB, getAllByText: () => Q$, getAllByTitle: () => yB, getByAltText: () => dB, getByDisplayValue: () => iB, getByLabelText: () => U$, getByPlaceholderText: () => W$, getByRole: () => RB, getByTestId: () => OB, getByText: () => Z$, getByTitle: () => bB, getConfig: () => ie, getDefaultNormalizer: () => uS, getElementError: () => kh, getMultipleElementsFoundError: () => Lh, getNodeText: () => ia, getQueriesForElement: () => MB, getRoles: () => I$, getSuggestedQuery: () => Mh, isInaccessible: () => jh, logDOM: () => Jw, logRoles: () => Pye, makeFindQuery: () => ti, makeGetAllQuery: () => pS, makeSingleQuery: () => ei, prettyDOM: () => ta, prettyFormat: () => oa, queries: () => Nh, queryAllByAltText: () => lB, queryAllByAttribute: () => Nn, queryAllByDisplayValue: () => rB, queryAllByLabelText: () => H$, queryAllByPlaceholderText: () => V$, queryAllByRole: () => xB, queryAllByTestId: () => CB, queryAllByText: () => X$, queryAllByTitle: () => mB, queryByAltText: () => uB, queryByAttribute: () => N$, queryByDisplayValue: () => nB, queryByLabelText: () => L$, queryByPlaceholderText: () => z$, queryByRole: () => wB, queryByTestId: () => PB, queryByText: () => J$, queryByTitle: () => hB, queryHelpers: () => Uye, screen: () => ybe, waitFor: () => dS, waitForElementToBeRemoved: () => ube, within: () => MB, wrapAllByQueryWithSuggestion: () => mt, wrapSingleQueryWithSuggestion: () => nn }); var oa = Ne(jk()); // ../node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs var Use = Object.prototype.toString; function kk(e) { return typeof e == "function" || Use.call(e) === "[object Function]"; } o(kk, "isCallable"); function Hse(e) { var t = Number(e); return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t)); } o(Hse, "toInteger"); var Vse = Math.pow(2, 53) - 1; function zse(e) { var t = Hse(e); return Math.min(Math.max(t, 0), Vse); } o(zse, "toLength"); function xt(e, t) { var r = Array, n = Object(e); if (e == null) throw new TypeError("Array.from requires an array-like object - not null or undefined"); if (typeof t < "u" && !kk(t)) throw new TypeError("Array.from: when provided, the second argument must be a function"); for (var i = zse(n.length), s = kk(r) ? Object(new r(i)) : new Array(i), a = 0, l; a < i; ) l = n[a], t ? s[a] = t(l, a) : s[a] = l, a += 1; return s.length = i, s; } o(xt, "arrayFrom"); // ../node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs function Ys(e) { "@babel/helpers - typeof"; return Ys = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, Ys(e); } o(Ys, "_typeof"); function Gse(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } o(Gse, "_classCallCheck"); function Lk(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Fk(n.key), n); } } o(Lk, "_defineProperties"); function Wse(e, t, r) { return t && Lk(e.prototype, t), r && Lk(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e; } o(Wse, "_createClass"); function Yse(e, t, r) { return t = Fk(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } o(Yse, "_defineProperty"); function Fk(e) { var t = Kse(e, "string"); return Ys(t) === "symbol" ? t : String(t); } o(Fk, "_toPropertyKey"); function Kse(e, t) { if (Ys(e) !== "object" || e === null) return e; var r = e[Symbol.toPrimitive]; if (r !== void 0) { var n = r.call(e, t || "default"); if (Ys(n) !== "object") return n; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } o(Kse, "_toPrimitive"); var Xse = /* @__PURE__ */ function() { function e() { var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []; Gse(this, e), Yse(this, "items", void 0), this.items = t; } return o(e, "SetLike"), Wse(e, [{ key: "add", value: /* @__PURE__ */ o(function(r) { return this.has(r) === !1 && this.items.push(r), this; }, "add") }, { key: "clear", value: /* @__PURE__ */ o(function() { this.items = []; }, "clear") }, { key: "delete", value: /* @__PURE__ */ o(function(r) { var n = this.items.length; return this.items = this.items.filter(function(i) { return i !== r; }), n !== this.items.length; }, "_delete") }, { key: "forEach", value: /* @__PURE__ */ o(function(r) { var n = this; this.items.forEach(function(i) { r(i, i, n); }); }, "forEach") }, { key: "has", value: /* @__PURE__ */ o(function(r) { return this.items.indexOf(r) !== -1; }, "has") }, { key: "size", get: /* @__PURE__ */ o(function() { return this.items.length; }, "get") }]), e; }(), Dk = typeof Set > "u" ? Set : Xse; // ../node_modules/dom-accessibility-api/dist/getRole.mjs function De(e) { var t; return ( // eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName (t = e.localName) !== null && t !== void 0 ? t : ( // eslint-disable-next-line no-restricted-properties -- required for the fallback e.tagName.toLowerCase() ) ); } o(De, "getLocalName"); var Jse = { article: "article", aside: "complementary", button: "button", datalist: "listbox", dd: "definition", details: "group", dialog: "dialog", dt: "term", fieldset: "group", figure: "figure", // WARNING: Only with an accessible name form: "form", footer: "contentinfo", h1: "heading", h2: "heading", h3: "heading", h4: "heading", h5: "heading", h6: "heading", header: "banner", hr: "separator", html: "document", legend: "legend", li: "listitem", math: "math", main: "main", menu: "list", nav: "navigation", ol: "list", optgroup: "group", // WARNING: Only in certain context option: "option", output: "status", progress: "progressbar", // WARNING: Only with an accessible name section: "region", summary: "button", table: "table", tbody: "rowgroup", textarea: "textbox", tfoot: "rowgroup", // WARNING: Only in certain context td: "cell", th: "columnheader", thead: "rowgroup", tr: "row", ul: "list" }, Qse = { caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]), insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]), superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]) }; function Zse(e, t) { return [ "aria-atomic", "aria-busy", "aria-controls", "aria-current", "aria-describedby", "aria-details", // "disabled", "aria-dropeffect", // "errormessage", "aria-flowto", "aria-grabbed", // "haspopup", "aria-hidden", // "invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", "aria-relevant", "aria-roledescription" ].some(function(r) { var n; return e.hasAttribute(r) && !((n = Qse[t]) !== null && n !== void 0 && n.has(r)); }); } o(Zse, "hasGlobalAriaAttributes"); function $k(e, t) { return Zse(e, t); } o($k, "ignorePresentationalRole"); function Ip(e) { var t = tae(e); if (t === null || t === "presentation") { var r = eae(e); if (t !== "presentation" || $k(e, r || "")) return r; } return t; } o(Ip, "getRole"); function eae(e) { var t = Jse[De(e)]; if (t !== void 0) return t; switch (De(e)) { case "a": case "area": case "link": if (e.hasAttribute("href")) return "link"; break; case "img": return e.getAttribute("alt") === "" && !$k(e, "img") ? "presentation" : "img"; case "input": { var r = e, n = r.type; switch (n) { case "button": case "image": case "reset": case "submit": return "button"; case "checkbox": case "radio": return n; case "range": return "slider"; case "email": case "tel": case "text": case "url": return e.hasAttribute("list") ? "combobox" : "textbox"; case "search": return e.hasAttribute("list") ? "combobox" : "searchbox"; case "number": return "spinbutton"; default: return null; } } case "select": return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox"; } return null; } o(eae, "getImplicitRole"); function tae(e) { var t = e.getAttribute("role"); if (t !== null) { var r = t.trim().split(" ")[0]; if (r.length > 0) return r; } return null; } o(tae, "getExplicitRole"); // ../node_modules/dom-accessibility-api/dist/util.mjs function _e(e) { return e !== null && e.nodeType === e.ELEMENT_NODE; } o(_e, "isElement"); function Cw(e) { return _e(e) && De(e) === "caption"; } o(Cw, "isHTMLTableCaptionElement"); function Ks(e) { return _e(e) && De(e) === "input"; } o(Ks, "isHTMLInputElement"); function Bk(e) { return _e(e) && De(e) === "optgroup"; } o(Bk, "isHTMLOptGroupElement"); function Uk(e) { return _e(e) && De(e) === "select"; } o(Uk, "isHTMLSelectElement"); function Hk(e) { return _e(e) && De(e) === "table"; } o(Hk, "isHTMLTableElement"); function Vk(e) { return _e(e) && De(e) === "textarea"; } o(Vk, "isHTMLTextAreaElement"); function zk(e) { var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView; if (r === null) throw new TypeError("no window available"); return r; } o(zk, "safeWindow"); function Gk(e) { return _e(e) && De(e) === "fieldset"; } o(Gk, "isHTMLFieldSetElement"); function Wk(e) { return _e(e) && De(e) === "legend"; } o(Wk, "isHTMLLegendElement"); function Yk(e) { return _e(e) && De(e) === "slot"; } o(Yk, "isHTMLSlotElement"); function rae(e) { return _e(e) && e.ownerSVGElement !== void 0; } o(rae, "isSVGElement"); function Kk(e) { return _e(e) && De(e) === "svg"; } o(Kk, "isSVGSVGElement"); function Xk(e) { return rae(e) && De(e) === "title"; } o(Xk, "isSVGTitleElement"); function Xo(e, t) { if (_e(e) && e.hasAttribute(t)) { var r = e.getAttribute(t).split(" "), n = e.getRootNode ? e.getRootNode() : e.ownerDocument; return r.map(function(i) { return n.getElementById(i); }).filter( function(i) { return i !== null; } // TODO: why does this not narrow? ); } return []; } o(Xo, "queryIdRefs"); function Gt(e, t) { return _e(e) ? t.indexOf(Ip(e)) !== -1 : !1; } o(Gt, "hasAnyConcreteRoles"); // ../node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs function nae(e) { return e.trim().replace(/\s\s+/g, " "); } o(nae, "asFlatString"); function oae(e, t) { if (!_e(e)) return !1; if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true") return !0; var r = t(e); return r.getPropertyValue("display") === "none" || r.getPropertyValue("visibility") === "hidden"; } o(oae, "isHidden"); function iae(e) { return Gt(e, ["button", "combobox", "listbox", "textbox"]) || Zk(e, "range"); } o(iae, "isControl"); function Zk(e, t) { if (!_e(e)) return !1; switch (t) { case "range": return Gt(e, ["meter", "progressbar", "scrollbar", "slider", "spinbutton"]); default: throw new TypeError("No knowledge about abstract role '".concat(t, "'. This is likely a bug :(")); } } o(Zk, "hasAbstractRole"); function Jk(e, t) { var r = xt(e.querySelectorAll(t)); return Xo(e, "aria-owns").forEach(function(n) { r.push.apply(r, xt(n.querySelectorAll(t))); }), r; } o(Jk, "querySelectorAllSubtree"); function sae(e) { return Uk(e) ? e.selectedOptions || Jk(e, "[selected]") : Jk(e, '[aria-selected="true"]'); } o(sae, "querySelectedOptions"); function aae(e) { return Gt(e, ["none", "presentation"]); } o(aae, "isMarkedPresentational"); function lae(e) { return Cw(e); } o(lae, "isNativeHostLanguageTextAlternativeElement"); function uae(e) { return Gt(e, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbo\ x", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]); } o(uae, "allowsNameFromContent"); function cae(e) { return !1; } o(cae, "isDescendantOfNativeHostLanguageTextAlternativeElement"); function dae(e) { return Ks(e) || Vk(e) ? e.value : e.textContent || ""; } o(dae, "getValueOfTextbox"); function Qk(e) { var t = e.getPropertyValue("content"); return /^["'].*["']$/.test(t) ? t.slice(1, -1) : ""; } o(Qk, "getTextualContent"); function eL(e) { var t = De(e); return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t === "select" || t === "textarea"; } o(eL, "isLabelableElement"); function tL(e) { if (eL(e)) return e; var t = null; return e.childNodes.forEach(function(r) { if (t === null && _e(r)) { var n = tL(r); n !== null && (t = n); } }), t; } o(tL, "findLabelableElement"); function pae(e) { if (e.control !== void 0) return e.control; var t = e.getAttribute("for"); return t !== null ? e.ownerDocument.getElementById(t) : tL(e); } o(pae, "getControlOfLabel"); function fae(e) { var t = e.labels; if (t === null) return t; if (t !== void 0) return xt(t); if (!eL(e)) return null; var r = e.ownerDocument; return xt(r.querySelectorAll("label")).filter(function(n) { return pae(n) === e; }); } o(fae, "getLabels"); function mae(e) { var t = e.assignedNodes(); return t.length === 0 ? xt(e.childNodes) : t; } o(mae, "getSlotContents"); function Mp(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new Dk(), n = zk(e), i = t.compute, s = i === void 0 ? "n\ ame" : i, a = t.computedStyleSupportsPseudoElements, l = a === void 0 ? t.getComputedStyle !== void 0 : a, u = t.getComputedStyle, c = u === void 0 ? n.getComputedStyle.bind(n) : u, d = t.hidden, p = d === void 0 ? !1 : d; function f(g, w) { var E = ""; if (_e(g) && l) { var R = c(g, "::before"), T = Qk(R); E = "".concat(T, " ").concat(E); } var P = Yk(g) ? mae(g) : xt(g.childNodes).concat(Xo(g, "aria-owns")); if (P.forEach(function(O) { var L = v(O, { isEmbeddedInLabel: w.isEmbeddedInLabel, isReferenced: !1, recursion: !0 }), q = _e(O) ? c(O).getPropertyValue("display") : "inline", D = q !== "inline" ? " " : ""; E += "".concat(D).concat(L).concat(D); }), _e(g) && l) { var _ = c(g, "::after"), C = Qk(_); E = "".concat(E, " ").concat(C); } return E.trim(); } o(f, "computeMiscTextAlternative"); function m(g, w) { var E = g.getAttributeNode(w); return E !== null && !r.has(E) && E.value.trim() !== "" ? (r.add(E), E.value) : null; } o(m, "useAttribute"); function h(g) { return _e(g) ? m(g, "title") : null; } o(h, "computeTooltipAttributeValue"); function b(g) { if (!_e(g)) return null; if (Gk(g)) { r.add(g); for (var w = xt(g.childNodes), E = 0; E < w.length; E += 1) { var R = w[E]; if (Wk(R)) return v(R, { isEmbeddedInLabel: !1, isReferenced: !1, recursion: !1 }); } } else if (Hk(g)) { r.add(g); for (var T = xt(g.childNodes), P = 0; P < T.length; P += 1) { var _ = T[P]; if (Cw(_)) return v(_, { isEmbeddedInLabel: !1, isReferenced: !1, recursion: !1 }); } } else if (Kk(g)) { r.add(g); for (var C = xt(g.childNodes), O = 0; O < C.length; O += 1) { var L = C[O]; if (Xk(L)) return L.textContent; } return null; } else if (De(g) === "img" || De(g) === "area") { var q = m(g, "alt"); if (q !== null) return q; } else if (Bk(g)) { var D = m(g, "label"); if (D !== null) return D; } if (Ks(g) && (g.type === "button" || g.type === "submit" || g.type === "reset")) { var U = m(g, "value"); if (U !== null) return U; if (g.type === "submit") return "Submit"; if (g.type === "reset") return "Reset"; } var M = fae(g); if (M !== null && M.length !== 0) return r.add(g), xt(M).map(function(Y) { return v(Y, { isEmbeddedInLabel: !0, isReferenced: !1, recursion: !0 }); }).filter(function(Y) { return Y.length > 0; }).join(" "); if (Ks(g) && g.type === "image") { var H = m(g, "alt"); if (H !== null) return H; var N = m(g, "title"); return N !== null ? N : "Submit Query"; } if (Gt(g, ["button"])) { var W = f(g, { isEmbeddedInLabel: !1, isReferenced: !1 }); if (W !== "") return W; } return null; } o(b, "computeElementTextAlternative"); function v(g, w) { if (r.has(g)) return ""; if (!p && oae(g, c) && !w.isReferenced) return r.add(g), ""; var E = _e(g) ? g.getAttributeNode("aria-labelledby") : null, R = E !== null && !r.has(E) ? Xo(g, "aria-labelledby") : []; if (s === "name" && !w.isReferenced && R.length > 0) return r.add(E), R.map(function(q) { return v(q, { isEmbeddedInLabel: w.isEmbeddedInLabel, isReferenced: !0, // this isn't recursion as specified, otherwise we would skip // `aria-label` in // 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = Xo(e, "aria-describedby").map(function(i) { return Mp(i, nL(nL({}, t), {}, { compute: "description" })); }).join(" "); if (r === "") { var n = e.getAttribute("title"); r = n === null ? "" : n; } return r; } o(Np, "computeAccessibleDescription"); // ../node_modules/dom-accessibility-api/dist/accessible-name.mjs function gae(e) { return Gt(e, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "paragraph", "presentation", "strong", "subscript", "supe\ rscript"]); } o(gae, "prohibitsNaming"); function Js(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; return gae(e) ? "" : Mp(e, t); } o(Js, "computeAccessibleName"); // ../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js var ut = Ne(l$()), y$ = Ne(u$()); function b$(e) { return e.replace(//g, ">"); } o(b$, "escapeHTML"); var nye = /* @__PURE__ */ o((e, t, r, n, i, s, a) => { let l = n + r.indent, u = r.colors; return e.map((c) => { let d = t[c], p = a(d, r, l, i, s); return typeof d != "string" && (p.indexOf(` `) !== -1 && (p = r.spacingOuter + l + p + r.spacingOuter + n), p = "{" + p + "}"), r.spacingInner + n + u.prop.open + c + u.prop.close + "=" + u.value.open + p + u.value.close; }).join(""); }, "printProps"), oye = 3, iye = /* @__PURE__ */ o((e, t, r, n, i, s) => e.map((a) => { let l = typeof a == "string" ? g$(a, t) : s(a, t, r, n, i); return l === "" && typeof a == "object" && a !== null && a.nodeType !== oye ? "" : t.spacingOuter + r + l; }).join(""), "printChildren"), g$ = /* @__PURE__ */ o((e, t) => { let r = t.colors.content; return r.open + b$(e) + r.close; }, "printText"), sye = /* @__PURE__ */ o((e, t) => { let r = t.colors.comment; return r.open + "" + r.close; }, "printComment"), aye = /* @__PURE__ */ o((e, t, r, n, i) => { let s = n.colors.tag; return s.open + "<" + e + (t && s.close + t + n.spacingOuter + i + s.open) + (r ? ">" + s.close + r + n.spacingOuter + i + s.open + "" + s.close; }, "printElement"), lye = /* @__PURE__ */ o((e, t) => { let r = t.colors.tag; return r.open + "<" + e + r.close + " \u2026" + r.open + " />" + r.close; }, "printElementAsLeaf"), uye = 1, v$ = 3, E$ = 8, x$ = 11, cye = /^((HTML|SVG)\w*)?Element$/, w$ = /* @__PURE__ */ o((e) => { let { tagName: t } = e; return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is")); }, "isCustomElement"), dye = /* @__PURE__ */ o((e) => { let t = e.constructor.name, { nodeType: r } = e; return r === uye && (cye.test(t) || w$(e)) || r === v$ && t === "Text" || r === E$ && t === "Comment" || r === x$ && t === "DocumentFragme\ nt"; }, "testNode"); function pye(e) { return e.nodeType === v$; } o(pye, "nodeIsText"); function fye(e) { return e.nodeType === E$; } o(fye, "nodeIsComment"); function Kw(e) { return e.nodeType === x$; } o(Kw, "nodeIsFragment"); function mye(e) { return { test: /* @__PURE__ */ o((t) => { var r; return ((t == null || (r = t.constructor) == null ? void 0 : r.name) || w$(t)) && dye(t); }, "test"), serialize: /* @__PURE__ */ o((t, r, n, i, s, a) => { if (pye(t)) return g$(t.data, r); if (fye(t)) return sye(t.data, r); let l = Kw(t) ? "DocumentFragment" : t.tagName.toLowerCase(); return ++i > r.maxDepth ? lye(l, r) : aye(l, nye(Kw(t) ? [] : Array.from(t.attributes).map((u) => u.name).sort(), Kw(t) ? {} : Array.from( t.attributes).reduce((u, c) => (u[c.name] = c.value, u), {}), r, n + r.indent, i, s, a), iye(Array.prototype.slice.call(t.childNodes || t.children).filter(e), r, n + r.indent, i, s, a), r, n); }, "serialize") }; } o(mye, "createDOMElementFilter"); var S$ = null, sS = null, aS = null; try { let e = module && module.require; sS = e.call(module, "fs").readFileSync, aS = e.call(module, "@babel/code-frame").codeFrameColumns, S$ = e.call(module, "chalk"); } catch { } function hye(e) { let t = e.indexOf("(") + 1, r = e.indexOf(")"), n = e.slice(t, r), i = n.split(":"), [s, a, l] = [i[0], parseInt(i[1], 10), parseInt(i[2], 10)], u = ""; try { u = sS(s, "utf-8"); } catch { return ""; } let c = aS(u, { start: { line: a, column: l } }, { highlightCode: !0, linesBelow: 0 }); return S$.dim(n) + ` ` + c + ` `; } o(hye, "getCodeFrame"); function yye() { if (!sS || !aS) return ""; let t = new Error().stack.split(` `).slice(1).find((r) => !r.includes("node_modules/")); return hye(t); } o(yye, "getUserCodeFrame"); var R$ = 3; function Xw() { return typeof jest < "u" && jest !== null ? ( // legacy timers setTimeout._isMockFunction === !0 || // modern timers // eslint-disable-next-line prefer-object-has-own -- not supported by our support matrix Object.prototype.hasOwnProperty.call(setTimeout, "clock") ) : !1; } o(Xw, "jestFakeTimersAreEnabled"); function lS() { if (typeof window > "u") throw new Error("Could not find default container"); return window.document; } o(lS, "getDocument"); function T$(e) { if (e.defaultView) return e.defaultView; if (e.ownerDocument && e.ownerDocument.defaultView) return e.ownerDocument.defaultView; if (e.window) return e.window; throw e.ownerDocument && e.ownerDocument.defaultView === null ? new Error("It looks like the window object is not available for the provid\ ed node.") : e.then instanceof Function ? new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something l\ ike `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `f\ ireEvent.click(await screen.findBy...`?") : Array.isArray(e) ? new Error("It looks like you passed an Array instead of a DOM node. Did you d\ o something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?") : typeof e. debug == "function" && typeof e.logTestingPlaygroundURL == "function" ? new Error("It looks like you passed a `screen` object. Did you do \ something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?") : new Error("The giv\ en node is not an Element, the node type is: " + typeof e + "."); } o(T$, "getWindowFromNode"); function vr(e) { if (!e || typeof e.querySelector != "function" || typeof e.querySelectorAll != "function") throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + t(e) + "."); function t(r) { return typeof r == "object" ? r === null ? "null" : r.constructor.name : typeof r; } o(t, "getTypeName"); } o(vr, "checkContainerType"); var bye = /* @__PURE__ */ o(() => { if (typeof process > "u") return !1; let e; try { var t; let r = (t = process.env) == null ? void 0 : t.COLORS; r && (e = JSON.parse(r)); } catch { } return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0; }, "shouldHighlight"), { DOMCollection: gye } = oa.plugins, vye = 1, Eye = 8; function xye(e) { return e.nodeType !== Eye && (e.nodeType !== vye || !e.matches(ie().defaultIgnore)); } o(xye, "filterCommentsAndDefaultIgnoreTagsTags"); function ta(e, t, r) { if (r === void 0 && (r = {}), e || (e = lS().body), typeof t != "number" && (t = typeof process < "u" && typeof process.env < "u" && process. env.DEBUG_PRINT_LIMIT || 7e3), t === 0) return ""; e.documentElement && (e = e.documentElement); let n = typeof e; if (n === "object" ? n = e.constructor.name : e = {}, !("outerHTML" in e)) throw new TypeError("Expected an element or document but got " + n); let { filterNode: i = xye, ...s } = r, a = oa.format(e, { plugins: [mye(i), gye], printFunctionName: !1, highlight: bye(), ...s }); return t !== void 0 && e.outerHTML.length > t ? a.slice(0, t) + "..." : a; } o(ta, "prettyDOM"); var Jw = /* @__PURE__ */ o(function() { let e = yye(); console.log(e ? ta(...arguments) + ` ` + e : ta(...arguments)); }, "logDOM"), qn = { testIdAttribute: "data-testid", asyncUtilTimeout: 1e3, // asyncWrapper and advanceTimersWrapper is to support React's async `act` function. // forcing react-testing-library to wrap all async functions would've been // a total nightmare (consider wrapping every findBy* query and then also // updating `within` so those would be wrapped too. Total nightmare). // so we have this config option that's really only intended for // react-testing-library to use. For that reason, this feature will remain // undocumented. asyncWrapper: /* @__PURE__ */ o((e) => e(), "asyncWrapper"), unstable_advanceTimersWrapper: /* @__PURE__ */ o((e) => e(), "unstable_advanceTimersWrapper"), eventWrapper: /* @__PURE__ */ o((e) => e(), "eventWrapper"), // default value for the `hidden` option in `ByRole` queries defaultHidden: !1, // default value for the `ignore` option in `ByText` queries defaultIgnore: "script, style", // showOriginalStackTrace flag to show the full error stack traces for async errors showOriginalStackTrace: !1, // throw errors w/ suggestions for better queries. Opt in so off by default. throwSuggestions: !1, // called when getBy* queries fail. (message, container) => Error getElementError(e, t) { let r = ta(t), n = new Error([e, "Ignored nodes: comments, " + qn.defaultIgnore + ` ` + r].filter(Boolean).join(` `)); return n.name = "TestingLibraryElementError", n; }, _disableExpensiveErrorDiagnostics: !1, computedStyleSupportsPseudoElements: !1 }; function wye(e) { try { return qn._disableExpensiveErrorDiagnostics = !0, e(); } finally { qn._disableExpensiveErrorDiagnostics = !1; } } o(wye, "runWithExpensiveErrorDiagnosticsDisabled"); function Sye(e) { typeof e == "function" && (e = e(qn)), qn = { ...qn, ...e }; } o(Sye, "configure"); function ie() { return qn; } o(ie, "getConfig"); var Rye = ["button", "meter", "output", "progress", "select", "textarea", "input"]; function _$(e) { return Rye.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === R$ ? e.textContent : Array.from(e.childNodes).map((t) => _$(t)).join(""); } o(_$, "getTextContent"); function Qw(e) { let t; return e.tagName.toLowerCase() === "label" ? t = _$(e) : t = e.value || e.textContent, t; } o(Qw, "getLabelContent"); function C$(e) { if (e.labels !== void 0) { var t; return (t = e.labels) != null ? t : []; } if (!Tye(e)) return []; let r = e.ownerDocument.querySelectorAll("label"); return Array.from(r).filter((n) => n.control === e); } o(C$, "getRealLabels"); function Tye(e) { return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden"; } o(Tye, "isLabelable"); function P$(e, t, r) { let { selector: n = "*" } = r === void 0 ? {} : r, i = t.getAttribute("aria-labelledby"), s = i ? i.split(" ") : []; return s.length ? s.map((a) => { let l = e.querySelector('[id="' + a + '"]'); return l ? { content: Qw(l), formControl: null } : { content: "", formControl: null }; }) : Array.from(C$(t)).map((a) => { let l = Qw(a), c = Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((d) => d.matches(n))[0]; return { content: l, formControl: c }; }); } o(P$, "getLabels"); function A$(e) { if (e == null) throw new Error( // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string` "It looks like " + e + " was passed instead of a matcher. Did you do something like getByText(" + e + ")?" ); } o(A$, "assertNotNullOrUndefined"); function ri(e, t, r, n) { if (typeof e != "string") return !1; A$(r); let i = n(e); return typeof r == "string" || typeof r == "number" ? i.toLowerCase().includes(r.toString().toLowerCase()) : typeof r == "function" ? r(i, t) : O$(r, i); } o(ri, "fuzzyMatches"); function gr(e, t, r, n) { if (typeof e != "string") return !1; A$(r); let i = n(e); return r instanceof Function ? r(i, t) : r instanceof RegExp ? O$(r, i) : i === String(r); } o(gr, "matches"); function uS(e) { let { trim: t = !0, collapseWhitespace: r = !0 } = e === void 0 ? {} : e; return (n) => { let i = n; return i = t ? i.trim() : i, i = r ? i.replace(/\s+/g, " ") : i, i; }; } o(uS, "getDefaultNormalizer"); function Mn(e) { let { trim: t, collapseWhitespace: r, normalizer: n } = e; if (!n) return uS({ trim: t, collapseWhitespace: r }); if (typeof t < "u" || typeof r < "u") throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhites\ pace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer'); return n; } o(Mn, "makeNormalizer"); function O$(e, t) { let r = e.test(t); return e.global && e.lastIndex !== 0 && (console.warn("To match all elements we had to reset the lastIndex of the RegExp because the globa\ l flag is enabled. We encourage to remove the global flag from the RegExp."), e.lastIndex = 0), r; } o(O$, "matchRegExp"); function ia(e) { return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((t) => t.nodeType === R$ && !!t.textContent).map((t) => t.textContent).join(""); } o(ia, "getNodeText"); var _ye = Cye(ut.elementRoles); function q$(e) { return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none"; } o(q$, "isSubtreeInaccessible"); function jh(e, t) { t === void 0 && (t = {}); let { isSubtreeInaccessible: r = q$ } = t; if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden") return !0; let i = e; for (; i; ) { if (r(i)) return !0; i = i.parentElement; } return !1; } o(jh, "isInaccessible"); function cS(e) { for (let { match: t, roles: r } of _ye) if (t(e)) return [...r]; return []; } o(cS, "getImplicitAriaRoles"); function Cye(e) { function t(a) { let { name: l, attributes: u } = a; return "" + l + u.map((c) => { let { name: d, value: p, constraints: f = [] } = c, m = f.indexOf("undefined") !== -1, h = f.indexOf("set") !== -1; return typeof p < "u" ? "[" + d + '="' + p + '"]' : m ? ":not([" + d + "])" : h ? "[" + d + "]:not([" + d + '=""])' : "[" + d + "]"; }).join(""); } o(t, "makeElementSelector"); function r(a) { let { attributes: l = [] } = a; return l.length; } o(r, "getSelectorSpecificity"); function n(a, l) { let { specificity: u } = a, { specificity: c } = l; return c - u; } o(n, "bySelectorSpecificity"); function i(a) { let { attributes: l = [] } = a, u = l.findIndex((d) => d.value && d.name === "type" && d.value === "text"); u >= 0 && (l = [...l.slice(0, u), ...l.slice(u + 1)]); let c = t({ ...a, attributes: l }); return (d) => u >= 0 && d.type !== "text" ? !1 : d.matches(c); } o(i, "match"); let s = []; for (let [a, l] of e.entries()) s = [...s, { match: i(a), roles: Array.from(l), specificity: r(a) }]; return s.sort(n); } o(Cye, "buildElementRoleList"); function I$(e, t) { let { hidden: r = !1 } = t === void 0 ? {} : t; function n(i) { return [i, ...Array.from(i.children).reduce((s, a) => [...s, ...n(a)], [])]; } return o(n, "flattenDOM"), n(e).filter((i) => r === !1 ? jh(i) === !1 : !0).reduce((i, s) => { let a = []; return s.hasAttribute("role") ? a = s.getAttribute("role").split(" ").slice(0, 1) : a = cS(s), a.reduce((l, u) => Array.isArray(l[u]) ? { ...l, [u]: [...l[u], s] } : { ...l, [u]: [s] }, i); }, {}); } o(I$, "getRoles"); function M$(e, t) { let { hidden: r, includeDescription: n } = t, i = I$(e, { hidden: r }); return Object.entries(i).filter((s) => { let [a] = s; return a !== "generic"; }).map((s) => { let [a, l] = s, u = "-".repeat(50), c = l.map((d) => { let p = 'Name "' + Js(d, { computedStyleSupportsPseudoElements: ie().computedStyleSupportsPseudoElements }) + `": `, f = ta(d.cloneNode(!1)); if (n) { let m = 'Description "' + Np(d, { computedStyleSupportsPseudoElements: ie().computedStyleSupportsPseudoElements }) + `": `; return "" + p + m + f; } return "" + p + f; }).join(` `); return a + `: ` + c + ` ` + u; }).join(` `); } o(M$, "prettyRoles"); var Pye = /* @__PURE__ */ o(function(e, t) { let { hidden: r = !1 } = t === void 0 ? {} : t; return console.log(M$(e, { hidden: r })); }, "logRoles"); function Aye(e) { return e.tagName === "OPTION" ? e.selected : sa(e, "aria-selected"); } o(Aye, "computeAriaSelected"); function Oye(e) { return e.getAttribute("aria-busy") === "true"; } o(Oye, "computeAriaBusy"); function qye(e) { if (!("indeterminate" in e && e.indeterminate)) return "checked" in e ? e.checked : sa(e, "aria-checked"); } o(qye, "computeAriaChecked"); function Iye(e) { return sa(e, "aria-pressed"); } o(Iye, "computeAriaPressed"); function Mye(e) { var t, r; return (t = (r = sa(e, "aria-current")) != null ? r : e.getAttribute("aria-current")) != null ? t : !1; } o(Mye, "computeAriaCurrent"); function Nye(e) { return sa(e, "aria-expanded"); } o(Nye, "computeAriaExpanded"); function sa(e, t) { let r = e.getAttribute(t); if (r === "true") return !0; if (r === "false") return !1; } o(sa, "checkBooleanAttribute"); function jye(e) { let t = { H1: 1, H2: 2, H3: 3, H4: 4, H5: 5, H6: 6 }; return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || t[e.tagName]; } o(jye, "computeHeadingLevel"); function kye(e) { let t = e.getAttribute("aria-valuenow"); return t === null ? void 0 : +t; } o(kye, "computeAriaValueNow"); function Lye(e) { let t = e.getAttribute("aria-valuemax"); return t === null ? void 0 : +t; } o(Lye, "computeAriaValueMax"); function Fye(e) { let t = e.getAttribute("aria-valuemin"); return t === null ? void 0 : +t; } o(Fye, "computeAriaValueMin"); function Dye(e) { let t = e.getAttribute("aria-valuetext"); return t === null ? void 0 : t; } o(Dye, "computeAriaValueText"); var c$ = uS(); function $ye(e) { return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); } o($ye, "escapeRegExp"); function d$(e) { return new RegExp($ye(e.toLowerCase()), "i"); } o(d$, "getRegExpMatcher"); function tn(e, t, r, n) { let { variant: i, name: s } = n, a = "", l = {}, u = [["Role", "TestId"].includes(e) ? r : d$(r)]; s && (l.name = d$(s)), e === "Role" && jh(t) && (l.hidden = !0, a = `Element is inaccessible. This means that the element and all its chil\ dren are invisible to screen readers. If you are using the aria-hidden prop, make sure this is the right choice for your case. `), Object.keys(l).length > 0 && u.push(l); let c = i + "By" + e; return { queryName: e, queryMethod: c, queryArgs: u, variant: i, warning: a, toString() { a && console.warn(a); let [d, p] = u; return d = typeof d == "string" ? "'" + d + "'" : d, p = p ? ", { " + Object.entries(p).map((f) => { let [m, h] = f; return m + ": " + h; }).join(", ") + " }" : "", c + "(" + d + p + ")"; } }; } o(tn, "makeSuggestion"); function rn(e, t, r) { return r && (!t || t.toLowerCase() === e.toLowerCase()); } o(rn, "canSuggest"); function Mh(e, t, r) { var n, i; if (t === void 0 && (t = "get"), e.matches(ie().defaultIgnore)) return; let s = (n = e.getAttribute("role")) != null ? n : (i = cS(e)) == null ? void 0 : i[0]; if (s !== "generic" && rn("Role", r, s)) return tn("Role", e, s, { variant: t, name: Js(e, { computedStyleSupportsPseudoElements: ie().computedStyleSupportsPseudoElements }) }); let a = P$(document, e).map((f) => f.content).join(" "); if (rn("LabelText", r, a)) return tn("LabelText", e, a, { variant: t }); let l = e.getAttribute("placeholder"); if (rn("PlaceholderText", r, l)) return tn("PlaceholderText", e, l, { variant: t }); let u = c$(ia(e)); if (rn("Text", r, u)) return tn("Text", e, u, { variant: t }); if (rn("DisplayValue", r, e.value)) return tn("DisplayValue", e, c$(e.value), { variant: t }); let c = e.getAttribute("alt"); if (rn("AltText", r, c)) return tn("AltText", e, c, { variant: t }); let d = e.getAttribute("title"); if (rn("Title", r, d)) return tn("Title", e, d, { variant: t }); let p = e.getAttribute(ie().testIdAttribute); if (rn("TestId", r, p)) return tn("TestId", e, p, { variant: t }); } o(Mh, "getSuggestedQuery"); function qh(e, t) { e.stack = t.stack.replace(t.message, e.message); } o(qh, "copyStackTrace"); function Bye(e, t) { let { container: r = lS(), timeout: n = ie().asyncUtilTimeout, showOriginalStackTrace: i = ie().showOriginalStackTrace, stackTraceError: s, interval: a = 50, onTimeout: l = /* @__PURE__ */ o((c) => (Object.defineProperty(c, "message", { value: ie().getElementError(c.message, r).message }), c), "onTimeout"), mutationObserverOptions: u = { subtree: !0, childList: !0, attributes: !0, characterData: !0 } } = t; if (typeof e != "function") throw new TypeError("Received `callback` arg must be a function"); return new Promise(async (c, d) => { let p, f, m, h = !1, b = "idle", v = setTimeout(T, n), g = Xw(); if (g) { let { unstable_advanceTimersWrapper: P } = ie(); for (R(); !h; ) { if (!Xw()) { let _ = new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very \ strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go\ to https://github.com/testing-library/dom-testing-library/issues/830"); i || qh(_, s), d(_); return; } if (await P(async () => { jest.advanceTimersByTime(a); }), h) break; R(); } } else { try { vr(r); } catch (_) { d(_); return; } f = setInterval(E, a); let { MutationObserver: P } = T$(r); m = new P(E), m.observe(r, u), R(); } function w(P, _) { h = !0, clearTimeout(v), g || (clearInterval(f), m.disconnect()), P ? d(P) : c(_); } o(w, "onDone"); function E() { if (Xw()) { let P = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very st\ range behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go t\ o https://github.com/testing-library/dom-testing-library/issues/830"); return i || qh(P, s), d(P); } else return R(); } o(E, "checkRealTimersCallback"); function R() { if (b !== "pending") try { let P = wye(e); typeof P?.then == "function" ? (b = "pending", P.then((_) => { b = "resolved", w(null, _); }, (_) => { b = "rejected", p = _; })) : w(null, P); } catch (P) { p = P; } } o(R, "checkCallback"); function T() { let P; p ? (P = p, !i && P.name === "TestingLibraryElementError" && qh(P, s)) : (P = new Error("Timed out in waitFor."), i || qh(P, s)), w(l( P), null); } o(T, "handleTimeout"); }); } o(Bye, "waitFor"); function dS(e, t) { let r = new Error("STACK_TRACE_MESSAGE"); return ie().asyncWrapper(() => Bye(e, { stackTraceError: r, ...t })); } o(dS, "waitForWrapper"); function kh(e, t) { return ie().getElementError(e, t); } o(kh, "getElementError"); function Lh(e, t) { return kh(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllB\ yText`)).", t); } o(Lh, "getMultipleElementsFoundError"); function Nn(e, t, r, n) { let { exact: i = !0, collapseWhitespace: s, trim: a, normalizer: l } = n === void 0 ? {} : n, u = i ? gr : ri, c = Mn({ collapseWhitespace: s, trim: a, normalizer: l }); return Array.from(t.querySelectorAll("[" + e + "]")).filter((d) => u(d.getAttribute(e), d, r, c)); } o(Nn, "queryAllByAttribute"); function N$(e, t, r, n) { let i = Nn(e, t, r, n); if (i.length > 1) throw Lh("Found multiple elements by [" + e + "=" + r + "]", t); return i[0] || null; } o(N$, "queryByAttribute"); function ei(e, t) { return function(r) { for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++) i[s - 1] = arguments[s]; let a = e(r, ...i); if (a.length > 1) { let l = a.map((u) => kh(null, u).message).join(` `); throw Lh(t(r, ...i) + ` Here are the matching elements: ` + l, r); } return a[0] || null; }; } o(ei, "makeSingleQuery"); function j$(e, t) { return ie().getElementError(`A better query is available, try this: ` + e.toString() + ` `, t); } o(j$, "getSuggestionError"); function pS(e, t) { return function(r) { for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++) i[s - 1] = arguments[s]; let a = e(r, ...i); if (!a.length) throw ie().getElementError(t(r, ...i), r); return a; }; } o(pS, "makeGetAllQuery"); function ti(e) { return (t, r, n, i) => dS(() => e(t, r, n), { container: t, ...i }); } o(ti, "makeFindQuery"); var nn = /* @__PURE__ */ o((e, t, r) => function(n) { for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++) s[a - 1] = arguments[a]; let l = e(n, ...s), [{ suggest: u = ie().throwSuggestions } = {}] = s.slice(-1); if (l && u) { let c = Mh(l, r); if (c && !t.endsWith(c.queryName)) throw j$(c.toString(), n); } return l; }, "wrapSingleQueryWithSuggestion"), mt = /* @__PURE__ */ o((e, t, r) => function(n) { for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++) s[a - 1] = arguments[a]; let l = e(n, ...s), [{ suggest: u = ie().throwSuggestions } = {}] = s.slice(-1); if (l.length && u) { let c = [...new Set(l.map((d) => { var p; return (p = Mh(d, r)) == null ? void 0 : p.toString(); }))]; if ( // only want to suggest if all the els have the same suggestion. c.length === 1 && !t.endsWith( // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime? Mh(l[0], r).queryName ) ) throw j$(c[0], n); } return l; }, "wrapAllByQueryWithSuggestion"); function Er(e, t, r) { let n = nn(ei(e, t), e.name, "query"), i = pS(e, r), s = ei(i, t), a = nn(s, e.name, "get"), l = mt(i, e.name.replace("query", "get"), "ge\ tAll"), u = ti(mt(i, e.name, "findAll")), c = ti(nn(s, e.name, "find")); return [n, l, a, u, c]; } o(Er, "buildQueries"); var Uye = /* @__PURE__ */ Object.freeze({ __proto__: null, getElementError: kh, wrapAllByQueryWithSuggestion: mt, wrapSingleQueryWithSuggestion: nn, getMultipleElementsFoundError: Lh, queryAllByAttribute: Nn, queryByAttribute: N$, makeSingleQuery: ei, makeGetAllQuery: pS, makeFindQuery: ti, buildQueries: Er }); function Hye(e) { return Array.from(e.querySelectorAll("label,input")).map((t) => ({ node: t, textToMatch: Qw(t) })).filter((t) => { let { textToMatch: r } = t; return r !== null; }); } o(Hye, "queryAllLabels"); var Vye = /* @__PURE__ */ o(function(e, t, r) { let { exact: n = !0, trim: i, collapseWhitespace: s, normalizer: a } = r === void 0 ? {} : r, l = n ? gr : ri, u = Mn({ collapseWhitespace: s, trim: i, normalizer: a }); return Hye(e).filter((d) => { let { node: p, textToMatch: f } = d; return l(f, p, t, u); }).map((d) => { let { node: p } = d; return p; }); }, "queryAllLabelsByText"), ra = /* @__PURE__ */ o(function(e, t, r) { let { selector: n = "*", exact: i = !0, collapseWhitespace: s, trim: a, normalizer: l } = r === void 0 ? {} : r; vr(e); let u = i ? gr : ri, c = Mn({ collapseWhitespace: s, trim: a, normalizer: l }), d = Array.from(e.querySelectorAll("*")).filter((p) => C$(p).length || p.hasAttribute("aria-labelledby")).reduce((p, f) => { let m = P$(e, f, { selector: n }); m.filter((b) => !!b.formControl).forEach((b) => { u(b.content, b.formControl, t, c) && b.formControl && p.push(b.formControl); }); let h = m.filter((b) => !!b.content).map((b) => b.content); return u(h.join(" "), f, t, c) && p.push(f), h.length > 1 && h.forEach((b, v) => { u(b, f, t, c) && p.push(f); let g = [...h]; g.splice(v, 1), g.length > 1 && u(g.join(" "), f, t, c) && p.push(f); }), p; }, []).concat(Nn("aria-label", e, t, { exact: i, normalizer: c })); return Array.from(new Set(d)).filter((p) => p.matches(n)); }, "queryAllByLabelText"), In = /* @__PURE__ */ o(function(e, t) { for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), i = 2; i < r; i++) n[i - 2] = arguments[i]; let s = ra(e, t, ...n); if (!s.length) { let a = Vye(e, t, ...n); if (a.length) { let l = a.map((u) => zye(e, u)).filter((u) => !!u); throw l.length ? ie().getElementError(l.map((u) => "Found a label with the text of: " + t + ", however the element associated with thi\ s label (<" + u + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a \ <" + u + " />, you can use aria-label or aria-labelledby instead.").join(` `), e) : ie().getElementError("Found a label with the text of: " + t + `, however no form control was found associated to that label. Make s\ ure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, e); } else throw ie().getElementError("Unable to find a label with the text of: " + t, e); } return s; }, "getAllByLabelText"); function zye(e, t) { let r = t.getAttribute("for"); if (!r) return null; let n = e.querySelector('[id="' + r + '"]'); return n ? n.tagName.toLowerCase() : null; } o(zye, "getTagNameOfElementAssociatedWithLabelViaFor"); var k$ = /* @__PURE__ */ o((e, t) => "Found multiple elements with the text of: " + t, "getMultipleError$7"), L$ = nn(ei(ra, k$), ra.name, "\ query"), F$ = ei(In, k$), D$ = ti(mt(In, In.name, "findAll")), $$ = ti(nn(F$, In.name, "find")), B$ = mt(In, In.name, "getAll"), U$ = nn(F$, In.name, "get"), H$ = mt(ra, ra.name, "queryAll"), Zw = /* @__PURE__ */ o(function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return vr(t[0]), Nn("placeholder", ...t); }, "queryAllByPlaceholderText"), Gye = /* @__PURE__ */ o((e, t) => "Found multiple elements with the placeholder text of: " + t, "getMultipl\ eError$6"), Wye = /* @__PURE__ */ o((e, t) => "Unable to find an element with the placeholder text of: " + t, "getMissingError$6"), V$ = mt( Zw, Zw.name, "queryAll"), [z$, G$, W$, Y$, K$] = Er(Zw, Gye, Wye), eS = /* @__PURE__ */ o(function(e, t, r) { let { selector: n = "*", exact: i = !0, collapseWhitespace: s, trim: a, ignore: l = ie().defaultIgnore, normalizer: u } = r === void 0 ? {} : r; vr(e); let c = i ? gr : ri, d = Mn({ collapseWhitespace: s, trim: a, normalizer: u }), p = []; return typeof e.matches == "function" && e.matches(n) && (p = [e]), [...p, ...Array.from(e.querySelectorAll(n))].filter((f) => !l || !f.matches( l)).filter((f) => c(ia(f), f, t, d)); }, "queryAllByText"), Yye = /* @__PURE__ */ o((e, t) => "Found multiple elements with the text: " + t, "getMultipleError$5"), Kye = /* @__PURE__ */ o( function(e, t, r) { r === void 0 && (r = {}); let { collapseWhitespace: n, trim: i, normalizer: s, selector: a } = r, u = Mn({ collapseWhitespace: n, trim: i, normalizer: s })(t.toString()), c = u !== t.toString(), d = (a ?? "*") !== "*"; return "Unable to find an element with the text: " + (c ? u + " (normalized from '" + t + "')" : t) + (d ? ", which matches selector '" + a + "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text ma\ tcher to make your matcher more flexible."; }, "getMissingError$5"), X$ = mt(eS, eS.name, "queryAll"), [J$, Q$, Z$, eB, tB] = Er(eS, Yye, Kye), tS = /* @__PURE__ */ o(function(e, t, r) { let { exact: n = !0, collapseWhitespace: i, trim: s, normalizer: a } = r === void 0 ? {} : r; vr(e); let l = n ? gr : ri, u = Mn({ collapseWhitespace: i, trim: s, normalizer: a }); return Array.from(e.querySelectorAll("input,textarea,select")).filter((c) => c.tagName === "SELECT" ? Array.from(c.options).filter((p) => p. selected).some((p) => l(ia(p), p, t, u)) : l(c.value, c, t, u)); }, "queryAllByDisplayValue"), Xye = /* @__PURE__ */ o((e, t) => "Found multiple elements with the display value: " + t + ".", "getMultipleEr\ ror$4"), Jye = /* @__PURE__ */ o((e, t) => "Unable to find an element with the display value: " + t + ".", "getMissingError$4"), rB = mt(tS, tS.name, "queryAll"), [nB, oB, iB, sB, aB] = Er(tS, Xye, Jye), Qye = /^(img|input|area|.+-.+)$/i, rS = /* @__PURE__ */ o(function(e, t, r) { return r === void 0 && (r = {}), vr(e), Nn("alt", e, t, r).filter((n) => Qye.test(n.tagName)); }, "queryAllByAltText"), Zye = /* @__PURE__ */ o((e, t) => "Found multiple elements with the alt text: " + t, "getMultipleError$3"), ebe = /* @__PURE__ */ o( (e, t) => "Unable to find an element with the alt text: " + t, "getMissingError$3"), lB = mt(rS, rS.name, "queryAll"), [uB, cB, dB, pB, fB] = Er( rS, Zye, ebe), tbe = /* @__PURE__ */ o((e) => { var t; return e.tagName.toLowerCase() === "title" && ((t = e.parentElement) == null ? void 0 : t.tagName.toLowerCase()) === "svg"; }, "isSvgTitle"), nS = /* @__PURE__ */ o(function(e, t, r) { let { exact: n = !0, collapseWhitespace: i, trim: s, normalizer: a } = r === void 0 ? {} : r; vr(e); let l = n ? gr : ri, u = Mn({ collapseWhitespace: i, trim: s, normalizer: a }); return Array.from(e.querySelectorAll("[title], svg > title")).filter((c) => l(c.getAttribute("title"), c, t, u) || tbe(c) && l(ia(c), c, t, u)); }, "queryAllByTitle"), rbe = /* @__PURE__ */ o((e, t) => "Found multiple elements with the title: " + t + ".", "getMultipleError$2"), nbe = /* @__PURE__ */ o( (e, t) => "Unable to find an element with the title: " + t + ".", "getMissingError$2"), mB = mt(nS, nS.name, "queryAll"), [hB, yB, bB, gB, vB] = Er( nS, rbe, nbe), oS = /* @__PURE__ */ o(function(e, t, r) { let { hidden: n = ie().defaultHidden, name: i, description: s, queryFallbacks: a = !1, selected: l, busy: u, checked: c, pressed: d, current: p, level: f, expanded: m, value: { now: h, min: b, max: v, text: g } = {} } = r === void 0 ? {} : r; if (vr(e), l !== void 0) { var w; if (((w = ut.roles.get(t)) == null ? void 0 : w.props["aria-selected"]) === void 0) throw new Error('"aria-selected" is not supported on role "' + t + '".'); } if (u !== void 0) { var E; if (((E = ut.roles.get(t)) == null ? void 0 : E.props["aria-busy"]) === void 0) throw new Error('"aria-busy" is not supported on role "' + t + '".'); } if (c !== void 0) { var R; if (((R = ut.roles.get(t)) == null ? void 0 : R.props["aria-checked"]) === void 0) throw new Error('"aria-checked" is not supported on role "' + t + '".'); } if (d !== void 0) { var T; if (((T = ut.roles.get(t)) == null ? void 0 : T.props["aria-pressed"]) === void 0) throw new Error('"aria-pressed" is not supported on role "' + t + '".'); } if (p !== void 0) { var P; if (((P = ut.roles.get(t)) == null ? void 0 : P.props["aria-current"]) === void 0) throw new Error('"aria-current" is not supported on role "' + t + '".'); } if (f !== void 0 && t !== "heading") throw new Error('Role "' + t + '" cannot have "level" property.'); if (h !== void 0) { var _; if (((_ = ut.roles.get(t)) == null ? void 0 : _.props["aria-valuenow"]) === void 0) throw new Error('"aria-valuenow" is not supported on role "' + t + '".'); } if (v !== void 0) { var C; if (((C = ut.roles.get(t)) == null ? void 0 : C.props["aria-valuemax"]) === void 0) throw new Error('"aria-valuemax" is not supported on role "' + t + '".'); } if (b !== void 0) { var O; if (((O = ut.roles.get(t)) == null ? void 0 : O.props["aria-valuemin"]) === void 0) throw new Error('"aria-valuemin" is not supported on role "' + t + '".'); } if (g !== void 0) { var L; if (((L = ut.roles.get(t)) == null ? void 0 : L.props["aria-valuetext"]) === void 0) throw new Error('"aria-valuetext" is not supported on role "' + t + '".'); } if (m !== void 0) { var q; if (((q = ut.roles.get(t)) == null ? void 0 : q.props["aria-expanded"]) === void 0) throw new Error('"aria-expanded" is not supported on role "' + t + '".'); } let D = /* @__PURE__ */ new WeakMap(); function U(M) { return D.has(M) || D.set(M, q$(M)), D.get(M); } return o(U, "cachedIsSubtreeInaccessible"), Array.from(e.querySelectorAll( // Only query elements that can be matched by the following filters obe(t) )).filter((M) => { if (M.hasAttribute("role")) { let W = M.getAttribute("role"); if (a) return W.split(" ").filter(Boolean).some((ae) => ae === t); let [Y] = W.split(" "); return Y === t; } return cS(M).some((W) => W === t); }).filter((M) => { if (l !== void 0) return l === Aye(M); if (u !== void 0) return u === Oye(M); if (c !== void 0) return c === qye(M); if (d !== void 0) return d === Iye(M); if (p !== void 0) return p === Mye(M); if (m !== void 0) return m === Nye(M); if (f !== void 0) return f === jye(M); if (h !== void 0 || v !== void 0 || b !== void 0 || g !== void 0) { let N = !0; if (h !== void 0 && N && (N = h === kye(M)), v !== void 0 && N && (N = v === Lye(M)), b !== void 0 && N && (N = b === Fye(M)), g !== void 0) { var H; N && (N = gr((H = Dye(M)) != null ? H : null, M, g, (W) => W)); } return N; } return !0; }).filter((M) => i === void 0 ? !0 : gr(Js(M, { computedStyleSupportsPseudoElements: ie().computedStyleSupportsPseudoElements }), M, i, (H) => H)).filter((M) => s === void 0 ? !0 : gr(Np(M, { computedStyleSupportsPseudoElements: ie().computedStyleSupportsPseudoElements }), M, s, (H) => H)).filter((M) => n === !1 ? jh(M, { isSubtreeInaccessible: U }) === !1 : !0); }, "queryAllByRole"); function obe(e) { var t; let r = '*[role~="' + e + '"]', n = (t = ut.roleElements.get(e)) != null ? t : /* @__PURE__ */ new Set(), i = new Set(Array.from(n).map((s) => { let { name: a } = s; return a; })); return [r].concat(Array.from(i)).join(","); } o(obe, "makeRoleSelector"); var EB = /* @__PURE__ */ o((e) => { let t = ""; return e === void 0 ? t = "" : typeof e == "string" ? t = ' and name "' + e + '"' : t = " and name `" + e + "`", t; }, "getNameHint"), ibe = /* @__PURE__ */ o(function(e, t, r) { let { name: n } = r === void 0 ? {} : r; return 'Found multiple elements with the role "' + t + '"' + EB(n); }, "getMultipleError$1"), sbe = /* @__PURE__ */ o(function(e, t, r) { let { hidden: n = ie().defaultHidden, name: i, description: s } = r === void 0 ? {} : r; if (ie()._disableExpensiveErrorDiagnostics) return 'Unable to find role="' + t + '"' + EB(i); let a = ""; Array.from(e.children).forEach((d) => { a += M$(d, { hidden: n, includeDescription: s !== void 0 }); }); let l; a.length === 0 ? n === !1 ? l = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, th\ en set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" : l = "There are no available roles." : l = (` Here are the ` + (n === !1 ? "accessible" : "available") + ` roles: ` + a.replace(/\n/g, ` `).replace(/\n\s\s\n/g, ` `) + ` `).trim(); let u = ""; i === void 0 ? u = "" : typeof i == "string" ? u = ' and name "' + i + '"' : u = " and name `" + i + "`"; let c = ""; return s === void 0 ? c = "" : typeof s == "string" ? c = ' and description "' + s + '"' : c = " and description `" + s + "`", (` Unable to find an ` + (n === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + u + c + ` ` + l).trim(); }, "getMissingError$1"), xB = mt(oS, oS.name, "queryAll"), [wB, SB, RB, TB, _B] = Er(oS, ibe, sbe), fS = /* @__PURE__ */ o(() => ie().testIdAttribute, "getTestIdAttribute"), iS = /* @__PURE__ */ o(function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return vr(t[0]), Nn(fS(), ...t); }, "queryAllByTestId"), abe = /* @__PURE__ */ o((e, t) => "Found multiple elements by: [" + fS() + '="' + t + '"]', "getMultipleError"), lbe = /* @__PURE__ */ o( (e, t) => "Unable to find an element by: [" + fS() + '="' + t + '"]', "getMissingError"), CB = mt(iS, iS.name, "queryAll"), [PB, AB, OB, qB, IB] = Er(iS, abe, lbe), Nh = /* @__PURE__ */ Object.freeze({ __proto__: null, queryAllByLabelText: H$, queryByLabelText: L$, getAllByLabelText: B$, getByLabelText: U$, findAllByLabelText: D$, findByLabelText: $$, queryByPlaceholderText: z$, queryAllByPlaceholderText: V$, getByPlaceholderText: W$, getAllByPlaceholderText: G$, findAllByPlaceholderText: Y$, findByPlaceholderText: K$, queryByText: J$, queryAllByText: X$, getByText: Z$, getAllByText: Q$, findAllByText: eB, findByText: tB, queryByDisplayValue: nB, queryAllByDisplayValue: rB, getByDisplayValue: iB, getAllByDisplayValue: oB, findAllByDisplayValue: sB, findByDisplayValue: aB, queryByAltText: uB, queryAllByAltText: lB, getByAltText: dB, getAllByAltText: cB, findAllByAltText: pB, findByAltText: fB, queryByTitle: hB, queryAllByTitle: mB, getByTitle: bB, getAllByTitle: yB, findAllByTitle: gB, findByTitle: vB, queryByRole: wB, queryAllByRole: xB, getAllByRole: SB, getByRole: RB, findAllByRole: TB, findByRole: _B, queryByTestId: PB, queryAllByTestId: CB, getByTestId: OB, getAllByTestId: AB, findAllByTestId: qB, findByTestId: IB }); function MB(e, t, r) { return t === void 0 && (t = Nh), r === void 0 && (r = {}), Object.keys(t).reduce((n, i) => { let s = t[i]; return n[i] = s.bind(null, e), n; }, r); } o(MB, "getQueriesForElement"); var NB = /* @__PURE__ */ o((e) => !e || Array.isArray(e) && !e.length, "isRemoved"); function p$(e) { if (NB(e)) throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the elem\ ent(s) exist(s) before waiting for removal."); } o(p$, "initialCheck"); async function ube(e, t) { let r = new Error("Timed out in waitForElementToBeRemoved."); if (typeof e != "function") { p$(e); let i = (Array.isArray(e) ? e : [e]).map((s) => { let a = s.parentElement; if (a === null) return () => null; for (; a.parentElement; ) a = a.parentElement; return () => a.contains(s) ? s : null; }); e = /* @__PURE__ */ o(() => i.map((s) => s()).filter(Boolean), "callback"); } return p$(e()), dS(() => { let n; try { n = e(); } catch (i) { if (i.name === "TestingLibraryElementError") return; throw i; } if (!NB(n)) throw r; }, t); } o(ube, "waitForElementToBeRemoved"); var f$ = { // Clipboard Events copy: { EventType: "ClipboardEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, cut: { EventType: "ClipboardEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, paste: { EventType: "ClipboardEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, // Composition Events compositionEnd: { EventType: "CompositionEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, compositionStart: { EventType: "CompositionEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, compositionUpdate: { EventType: "CompositionEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, // Keyboard Events keyDown: { EventType: "KeyboardEvent", defaultInit: { bubbles: !0, cancelable: !0, charCode: 0, composed: !0 } }, keyPress: { EventType: "KeyboardEvent", defaultInit: { bubbles: !0, cancelable: !0, charCode: 0, composed: !0 } }, keyUp: { EventType: "KeyboardEvent", defaultInit: { bubbles: !0, cancelable: !0, charCode: 0, composed: !0 } }, // Focus Events focus: { EventType: "FocusEvent", defaultInit: { bubbles: !1, cancelable: !1, composed: !0 } }, blur: { EventType: "FocusEvent", defaultInit: { bubbles: !1, cancelable: !1, composed: !0 } }, focusIn: { EventType: "FocusEvent", defaultInit: { bubbles: !0, cancelable: !1, composed: !0 } }, focusOut: { EventType: "FocusEvent", defaultInit: { bubbles: !0, cancelable: !1, composed: !0 } }, // Form Events change: { EventType: "Event", defaultInit: { bubbles: !0, cancelable: !1 } }, input: { EventType: "InputEvent", defaultInit: { bubbles: !0, cancelable: !1, composed: !0 } }, invalid: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !0 } }, submit: { EventType: "Event", defaultInit: { bubbles: !0, cancelable: !0 } }, reset: { EventType: "Event", defaultInit: { bubbles: !0, cancelable: !0 } }, // Mouse Events click: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, button: 0, composed: !0 } }, contextMenu: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, dblClick: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, drag: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, dragEnd: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !1, composed: !0 } }, dragEnter: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, dragExit: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !1, composed: !0 } }, dragLeave: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !1, composed: !0 } }, dragOver: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, dragStart: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, drop: { EventType: "DragEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, mouseDown: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, mouseEnter: { EventType: "MouseEvent", defaultInit: { bubbles: !1, cancelable: !1, composed: !0 } }, mouseLeave: { EventType: "MouseEvent", defaultInit: { bubbles: !1, cancelable: !1, composed: !0 } }, mouseMove: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, mouseOut: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, mouseOver: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, mouseUp: { EventType: "MouseEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, // Selection Events select: { EventType: "Event", defaultInit: { bubbles: !0, cancelable: !1 } }, // Touch Events touchCancel: { EventType: "TouchEvent", defaultInit: { bubbles: !0, cancelable: !1, composed: !0 } }, touchEnd: { EventType: "TouchEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, touchMove: { EventType: "TouchEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, touchStart: { EventType: "TouchEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, // UI Events resize: { EventType: "UIEvent", defaultInit: { bubbles: !1, cancelable: !1 } }, scroll: { EventType: "UIEvent", defaultInit: { bubbles: !1, cancelable: !1 } }, // Wheel Events wheel: { EventType: "WheelEvent", defaultInit: { bubbles: !0, cancelable: !0, composed: !0 } }, // Media Events abort: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, canPlay: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, canPlayThrough: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, durationChange: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, emptied: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, encrypted: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, ended: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, loadedData: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, loadedMetadata: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, loadStart: { EventType: "ProgressEvent", defaultInit: { bubbles: !1, cancelable: !1 } }, pause: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, play: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, playing: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, progress: { EventType: "ProgressEvent", defaultInit: { bubbles: !1, cancelable: !1 } }, rateChange: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, seeked: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, seeking: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, stalled: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, suspend: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, timeUpdate: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, volumeChange: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, waiting: { EventType: "Event", defaultInit: { bubbles: !1, cancelable: !1 } }, // Events load: { // TODO: load events can be UIEvent or Event depending on what generated them // This is where this abstraction breaks down. // But the common targets are ,