From 38f9fb277a218fcb58a493675d0e90c791ae2d2e Mon Sep 17 00:00:00 2001 From: Aditya Date: Thu, 28 Nov 2024 00:06:14 +0530 Subject: [PATCH 1/2] fix: lineage too many calls on boot --- webview_panels/src/lib/altimate/main.js | 68759 +++++++++++++--------- 1 file changed, 41060 insertions(+), 27699 deletions(-) diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index 64c6c52e6..635a6d174 100644 --- a/webview_panels/src/lib/altimate/main.js +++ b/webview_panels/src/lib/altimate/main.js @@ -1,22 +1,90 @@ // * version 0.1.0 -import './main.css';var T5 = Object.defineProperty; -var O5 = (e, t, n) => t in e ? T5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; +import "./main.css"; +var T5 = Object.defineProperty; +var O5 = (e, t, n) => + t in e + ? T5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) + : (e[t] = n); var Hr = (e, t, n) => O5(e, typeof t != "symbol" ? t + "" : t, n); -import { Tooltip as N5, Button as Pe, Spinner as H0, Card as sn, CardTitle as Er, CardBody as Rn, Badge as D5, CloseButton as L5, Popover as P0, PopoverBody as B0, UncontrolledTooltip as F5, Input as Fn, Label as Ea, Modal as V0, ModalBody as $0, FormGroup as Jl, FormFeedback as W0, Alert as qs, CardFooter as R5, Collapse as Z0, Col as j5, CardImg as I5, CardSubtitle as z5, CardText as H5, Row as P5, List as B5 } from "reactstrap"; +import { + Tooltip as N5, + Button as Pe, + Spinner as H0, + Card as sn, + CardTitle as Er, + CardBody as Rn, + Badge as D5, + CloseButton as L5, + Popover as P0, + PopoverBody as B0, + UncontrolledTooltip as F5, + Input as Fn, + Label as Ea, + Modal as V0, + ModalBody as $0, + FormGroup as Jl, + FormFeedback as W0, + Alert as qs, + CardFooter as R5, + Collapse as Z0, + Col as j5, + CardImg as I5, + CardSubtitle as z5, + CardText as H5, + Row as P5, + List as B5, +} from "reactstrap"; import * as O from "react"; -import $, { createContext as zt, Component as V5, createElement as m1, isValidElement as U0, useState as ue, useRef as pe, forwardRef as Ys, useEffect as ce, useReducer as Gs, useCallback as Me, useMemo as Be, useContext as Je, useLayoutEffect as $5, useId as q0, useInsertionEffect as W5, Children as xo, lazy as Z5, memo as Ye } from "react"; +import $, { + createContext as zt, + Component as V5, + createElement as m1, + isValidElement as U0, + useState as ue, + useRef as pe, + forwardRef as Ys, + useEffect as ce, + useReducer as Gs, + useCallback as Me, + useMemo as Be, + useContext as Je, + useLayoutEffect as $5, + useId as q0, + useInsertionEffect as W5, + Children as xo, + lazy as Z5, + memo as Ye, +} from "react"; import { Prism as U5 } from "react-syntax-highlighter"; import q5, { createPortal as jn } from "react-dom"; import { useProChat as Y5, ProChat as G5 } from "@ant-design/pro-chat"; -import { useFormikContext as K5, Form as X5, Field as Q5, Formik as J5, useFormik as e4 } from "formik"; +import { + useFormikContext as K5, + Form as X5, + Field as Q5, + Formik as J5, + useFormik as e4, +} from "formik"; import { z as ht } from "zod"; import { Popconfirm as t4, Select as b1 } from "antd"; -var Yn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +var Yn = + typeof globalThis < "u" + ? globalThis + : typeof window < "u" + ? window + : typeof global < "u" + ? global + : typeof self < "u" + ? self + : {}; function un(e) { - return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; + return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") + ? e.default + : e; } -var es = { exports: {} }, Ho = {}; +var es = { exports: {} }, + Ho = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -30,15 +98,33 @@ var y1; function n4() { if (y1) return Ho; y1 = 1; - var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 }; + var e = $, + t = Symbol.for("react.element"), + n = Symbol.for("react.fragment"), + o = Object.prototype.hasOwnProperty, + r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, + i = { key: !0, ref: !0, __self: !0, __source: !0 }; function a(l, s, u) { - var c, d = {}, h = null, f = null; - u !== void 0 && (h = "" + u), s.key !== void 0 && (h = "" + s.key), s.ref !== void 0 && (f = s.ref); + var c, + d = {}, + h = null, + f = null; + u !== void 0 && (h = "" + u), + s.key !== void 0 && (h = "" + s.key), + s.ref !== void 0 && (f = s.ref); for (c in s) o.call(s, c) && !i.hasOwnProperty(c) && (d[c] = s[c]); - if (l && l.defaultProps) for (c in s = l.defaultProps, s) d[c] === void 0 && (d[c] = s[c]); - return { $$typeof: t, type: l, key: h, ref: f, props: d, _owner: r.current }; + if (l && l.defaultProps) + for (c in ((s = l.defaultProps), s)) d[c] === void 0 && (d[c] = s[c]); + return { + $$typeof: t, + type: l, + key: h, + ref: f, + props: d, + _owner: r.current, + }; } - return Ho.Fragment = n, Ho.jsx = a, Ho.jsxs = a, Ho; + return (Ho.Fragment = n), (Ho.jsx = a), (Ho.jsxs = a), Ho; } var Po = {}; /** @@ -52,635 +138,885 @@ var Po = {}; */ var C1; function o4() { - return C1 || (C1 = 1, process.env.NODE_ENV !== "production" && function() { - var e = $, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; - function y(H) { - if (H === null || typeof H != "object") - return null; - var X = m && H[m] || H[b]; - return typeof X == "function" ? X : null; - } - var g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function x(H) { - { - for (var X = arguments.length, re = new Array(X > 1 ? X - 1 : 0), fe = 1; fe < X; fe++) - re[fe - 1] = arguments[fe]; - C("error", H, re); - } - } - function C(H, X, re) { - { - var fe = g.ReactDebugCurrentFrame, Ae = fe.getStackAddendum(); - Ae !== "" && (X += "%s", re = re.concat([Ae])); - var Re = re.map(function(we) { - return String(we); - }); - Re.unshift("Warning: " + X), Function.prototype.apply.call(console[H], console, Re); - } - } - var E = !1, w = !1, S = !1, _ = !1, A = !1, R; - R = Symbol.for("react.module.reference"); - function L(H) { - return !!(typeof H == "string" || typeof H == "function" || H === o || H === i || A || H === r || H === u || H === c || _ || H === f || E || w || S || typeof H == "object" && H !== null && (H.$$typeof === h || H.$$typeof === d || H.$$typeof === a || H.$$typeof === l || H.$$typeof === s || // This needs to include all possible module reference object - // types supported by any Flight configuration anywhere since - // we don't know which Flight build this will end up being used - // with. - H.$$typeof === R || H.getModuleId !== void 0)); - } - function j(H, X, re) { - var fe = H.displayName; - if (fe) - return fe; - var Ae = X.displayName || X.name || ""; - return Ae !== "" ? re + "(" + Ae + ")" : re; - } - function P(H) { - return H.displayName || "Context"; - } - function V(H) { - if (H == null) - return null; - if (typeof H.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof H == "function") - return H.displayName || H.name || null; - if (typeof H == "string") - return H; - switch (H) { - case o: - return "Fragment"; - case n: - return "Portal"; - case i: - return "Profiler"; - case r: - return "StrictMode"; - case u: - return "Suspense"; - case c: - return "SuspenseList"; - } - if (typeof H == "object") - switch (H.$$typeof) { - case l: - var X = H; - return P(X) + ".Consumer"; - case a: - var re = H; - return P(re._context) + ".Provider"; - case s: - return j(H, H.render, "ForwardRef"); - case d: - var fe = H.displayName || null; - return fe !== null ? fe : V(H.type) || "Memo"; - case h: { - var Ae = H, Re = Ae._payload, we = Ae._init; - try { - return V(we(Re)); - } catch { - return null; + return ( + C1 || + ((C1 = 1), + process.env.NODE_ENV !== "production" && + (function () { + var e = $, + t = Symbol.for("react.element"), + n = Symbol.for("react.portal"), + o = Symbol.for("react.fragment"), + r = Symbol.for("react.strict_mode"), + i = Symbol.for("react.profiler"), + a = Symbol.for("react.provider"), + l = Symbol.for("react.context"), + s = Symbol.for("react.forward_ref"), + u = Symbol.for("react.suspense"), + c = Symbol.for("react.suspense_list"), + d = Symbol.for("react.memo"), + h = Symbol.for("react.lazy"), + f = Symbol.for("react.offscreen"), + m = Symbol.iterator, + b = "@@iterator"; + function y(H) { + if (H === null || typeof H != "object") return null; + var X = (m && H[m]) || H[b]; + return typeof X == "function" ? X : null; + } + var g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function x(H) { + { + for ( + var X = arguments.length, + re = new Array(X > 1 ? X - 1 : 0), + fe = 1; + fe < X; + fe++ + ) + re[fe - 1] = arguments[fe]; + C("error", H, re); } } - } - return null; - } - var k = Object.assign, N = 0, T, F, I, D, v, z, B; - function M() { - } - M.__reactDisabledLog = !0; - function W() { - { - if (N === 0) { - T = console.log, F = console.info, I = console.warn, D = console.error, v = console.group, z = console.groupCollapsed, B = console.groupEnd; - var H = { - configurable: !0, - enumerable: !0, - value: M, - writable: !0 - }; - Object.defineProperties(console, { - info: H, - log: H, - warn: H, - error: H, - group: H, - groupCollapsed: H, - groupEnd: H - }); - } - N++; - } - } - function G() { - { - if (N--, N === 0) { - var H = { - configurable: !0, - enumerable: !0, - writable: !0 - }; - Object.defineProperties(console, { - log: k({}, H, { - value: T - }), - info: k({}, H, { - value: F - }), - warn: k({}, H, { - value: I - }), - error: k({}, H, { - value: D - }), - group: k({}, H, { - value: v - }), - groupCollapsed: k({}, H, { - value: z - }), - groupEnd: k({}, H, { - value: B - }) - }); - } - N < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue."); - } - } - var K = g.ReactCurrentDispatcher, Q; - function ne(H, X, re) { - { - if (Q === void 0) - try { - throw Error(); - } catch (Ae) { - var fe = Ae.stack.trim().match(/\n( *(at )?)/); - Q = fe && fe[1] || ""; + function C(H, X, re) { + { + var fe = g.ReactDebugCurrentFrame, + Ae = fe.getStackAddendum(); + Ae !== "" && ((X += "%s"), (re = re.concat([Ae]))); + var Re = re.map(function (we) { + return String(we); + }); + Re.unshift("Warning: " + X), + Function.prototype.apply.call(console[H], console, Re); + } } - return ` -` + Q + H; - } - } - var oe = !1, U; - { - var ge = typeof WeakMap == "function" ? WeakMap : Map; - U = new ge(); - } - function J(H, X) { - if (!H || oe) - return ""; - { - var re = U.get(H); - if (re !== void 0) - return re; - } - var fe; - oe = !0; - var Ae = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var Re; - Re = K.current, K.current = null, W(); - try { - if (X) { - var we = function() { - throw Error(); - }; - if (Object.defineProperty(we.prototype, "props", { - set: function() { - throw Error(); + var E = !1, + w = !1, + S = !1, + _ = !1, + A = !1, + R; + R = Symbol.for("react.module.reference"); + function L(H) { + return !!( + typeof H == "string" || + typeof H == "function" || + H === o || + H === i || + A || + H === r || + H === u || + H === c || + _ || + H === f || + E || + w || + S || + (typeof H == "object" && + H !== null && + (H.$$typeof === h || + H.$$typeof === d || + H.$$typeof === a || + H.$$typeof === l || + H.$$typeof === s || // This needs to include all possible module reference object + // types supported by any Flight configuration anywhere since + // we don't know which Flight build this will end up being used + // with. + H.$$typeof === R || + H.getModuleId !== void 0)) + ); + } + function j(H, X, re) { + var fe = H.displayName; + if (fe) return fe; + var Ae = X.displayName || X.name || ""; + return Ae !== "" ? re + "(" + Ae + ")" : re; + } + function P(H) { + return H.displayName || "Context"; + } + function V(H) { + if (H == null) return null; + if ( + (typeof H.tag == "number" && + x( + "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.", + ), + typeof H == "function") + ) + return H.displayName || H.name || null; + if (typeof H == "string") return H; + switch (H) { + case o: + return "Fragment"; + case n: + return "Portal"; + case i: + return "Profiler"; + case r: + return "StrictMode"; + case u: + return "Suspense"; + case c: + return "SuspenseList"; } - }), typeof Reflect == "object" && Reflect.construct) { - try { - Reflect.construct(we, []); - } catch (ct) { - fe = ct; + if (typeof H == "object") + switch (H.$$typeof) { + case l: + var X = H; + return P(X) + ".Consumer"; + case a: + var re = H; + return P(re._context) + ".Provider"; + case s: + return j(H, H.render, "ForwardRef"); + case d: + var fe = H.displayName || null; + return fe !== null ? fe : V(H.type) || "Memo"; + case h: { + var Ae = H, + Re = Ae._payload, + we = Ae._init; + try { + return V(we(Re)); + } catch { + return null; + } + } + } + return null; + } + var k = Object.assign, + N = 0, + T, + F, + I, + D, + v, + z, + B; + function M() {} + M.__reactDisabledLog = !0; + function W() { + { + if (N === 0) { + (T = console.log), + (F = console.info), + (I = console.warn), + (D = console.error), + (v = console.group), + (z = console.groupCollapsed), + (B = console.groupEnd); + var H = { + configurable: !0, + enumerable: !0, + value: M, + writable: !0, + }; + Object.defineProperties(console, { + info: H, + log: H, + warn: H, + error: H, + group: H, + groupCollapsed: H, + groupEnd: H, + }); + } + N++; } - Reflect.construct(H, [], we); - } else { + } + function G() { + { + if ((N--, N === 0)) { + var H = { + configurable: !0, + enumerable: !0, + writable: !0, + }; + Object.defineProperties(console, { + log: k({}, H, { + value: T, + }), + info: k({}, H, { + value: F, + }), + warn: k({}, H, { + value: I, + }), + error: k({}, H, { + value: D, + }), + group: k({}, H, { + value: v, + }), + groupCollapsed: k({}, H, { + value: z, + }), + groupEnd: k({}, H, { + value: B, + }), + }); + } + N < 0 && + x( + "disabledDepth fell below zero. This is a bug in React. Please file an issue.", + ); + } + } + var K = g.ReactCurrentDispatcher, + Q; + function ne(H, X, re) { + { + if (Q === void 0) + try { + throw Error(); + } catch (Ae) { + var fe = Ae.stack.trim().match(/\n( *(at )?)/); + Q = (fe && fe[1]) || ""; + } + return ( + ` +` + + Q + + H + ); + } + } + var oe = !1, + U; + { + var ge = typeof WeakMap == "function" ? WeakMap : Map; + U = new ge(); + } + function J(H, X) { + if (!H || oe) return ""; + { + var re = U.get(H); + if (re !== void 0) return re; + } + var fe; + oe = !0; + var Ae = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var Re; + (Re = K.current), (K.current = null), W(); try { - we.call(); + if (X) { + var we = function () { + throw Error(); + }; + if ( + (Object.defineProperty(we.prototype, "props", { + set: function () { + throw Error(); + }, + }), + typeof Reflect == "object" && Reflect.construct) + ) { + try { + Reflect.construct(we, []); + } catch (ct) { + fe = ct; + } + Reflect.construct(H, [], we); + } else { + try { + we.call(); + } catch (ct) { + fe = ct; + } + H.call(we.prototype); + } + } else { + try { + throw Error(); + } catch (ct) { + fe = ct; + } + H(); + } } catch (ct) { - fe = ct; + if (ct && fe && typeof ct.stack == "string") { + for ( + var ye = ct.stack.split(` +`), + at = fe.stack.split(` +`), + We = ye.length - 1, + Ue = at.length - 1; + We >= 1 && Ue >= 0 && ye[We] !== at[Ue]; + + ) + Ue--; + for (; We >= 1 && Ue >= 0; We--, Ue--) + if (ye[We] !== at[Ue]) { + if (We !== 1 || Ue !== 1) + do + if ((We--, Ue--, Ue < 0 || ye[We] !== at[Ue])) { + var pt = + ` +` + ye[We].replace(" at new ", " at "); + return ( + H.displayName && + pt.includes("") && + (pt = pt.replace("", H.displayName)), + typeof H == "function" && U.set(H, pt), + pt + ); + } + while (We >= 1 && Ue >= 0); + break; + } + } + } finally { + (oe = !1), (K.current = Re), G(), (Error.prepareStackTrace = Ae); } - H.call(we.prototype); + var Sn = H ? H.displayName || H.name : "", + pn = Sn ? ne(Sn) : ""; + return typeof H == "function" && U.set(H, pn), pn; } - } else { - try { - throw Error(); - } catch (ct) { - fe = ct; + function ke(H, X, re) { + return J(H, !1); } - H(); - } - } catch (ct) { - if (ct && fe && typeof ct.stack == "string") { - for (var ye = ct.stack.split(` -`), at = fe.stack.split(` -`), We = ye.length - 1, Ue = at.length - 1; We >= 1 && Ue >= 0 && ye[We] !== at[Ue]; ) - Ue--; - for (; We >= 1 && Ue >= 0; We--, Ue--) - if (ye[We] !== at[Ue]) { - if (We !== 1 || Ue !== 1) - do - if (We--, Ue--, Ue < 0 || ye[We] !== at[Ue]) { - var pt = ` -` + ye[We].replace(" at new ", " at "); - return H.displayName && pt.includes("") && (pt = pt.replace("", H.displayName)), typeof H == "function" && U.set(H, pt), pt; + function ie(H) { + var X = H.prototype; + return !!(X && X.isReactComponent); + } + function _e(H, X, re) { + if (H == null) return ""; + if (typeof H == "function") return J(H, ie(H)); + if (typeof H == "string") return ne(H); + switch (H) { + case u: + return ne("Suspense"); + case c: + return ne("SuspenseList"); + } + if (typeof H == "object") + switch (H.$$typeof) { + case s: + return ke(H.render); + case d: + return _e(H.type, X, re); + case h: { + var fe = H, + Ae = fe._payload, + Re = fe._init; + try { + return _e(Re(Ae), X, re); + } catch {} + } + } + return ""; + } + var $e = Object.prototype.hasOwnProperty, + Ee = {}, + le = g.ReactDebugCurrentFrame; + function Ge(H) { + if (H) { + var X = H._owner, + re = _e(H.type, H._source, X ? X.type : null); + le.setExtraStackFrame(re); + } else le.setExtraStackFrame(null); + } + function Ot(H, X, re, fe, Ae) { + { + var Re = Function.call.bind($e); + for (var we in H) + if (Re(H, we)) { + var ye = void 0; + try { + if (typeof H[we] != "function") { + var at = Error( + (fe || "React class") + + ": " + + re + + " type `" + + we + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + typeof H[we] + + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", + ); + throw ((at.name = "Invariant Violation"), at); + } + ye = H[we]( + X, + we, + fe, + re, + null, + "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", + ); + } catch (We) { + ye = We; } - while (We >= 1 && Ue >= 0); - break; + ye && + !(ye instanceof Error) && + (Ge(Ae), + x( + "%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", + fe || "React class", + re, + we, + typeof ye, + ), + Ge(null)), + ye instanceof Error && + !(ye.message in Ee) && + ((Ee[ye.message] = !0), + Ge(Ae), + x("Failed %s type: %s", re, ye.message), + Ge(null)); + } } - } - } finally { - oe = !1, K.current = Re, G(), Error.prepareStackTrace = Ae; - } - var Sn = H ? H.displayName || H.name : "", pn = Sn ? ne(Sn) : ""; - return typeof H == "function" && U.set(H, pn), pn; - } - function ke(H, X, re) { - return J(H, !1); - } - function ie(H) { - var X = H.prototype; - return !!(X && X.isReactComponent); - } - function _e(H, X, re) { - if (H == null) - return ""; - if (typeof H == "function") - return J(H, ie(H)); - if (typeof H == "string") - return ne(H); - switch (H) { - case u: - return ne("Suspense"); - case c: - return ne("SuspenseList"); - } - if (typeof H == "object") - switch (H.$$typeof) { - case s: - return ke(H.render); - case d: - return _e(H.type, X, re); - case h: { - var fe = H, Ae = fe._payload, Re = fe._init; + } + var Jt = Array.isArray; + function Nt(H) { + return Jt(H); + } + function en(H) { + { + var X = typeof Symbol == "function" && Symbol.toStringTag, + re = + (X && H[Symbol.toStringTag]) || + H.constructor.name || + "Object"; + return re; + } + } + function St(H) { try { - return _e(Re(Ae), X, re); + return Vt(H), !1; } catch { + return !0; } } - } - return ""; - } - var $e = Object.prototype.hasOwnProperty, Ee = {}, le = g.ReactDebugCurrentFrame; - function Ge(H) { - if (H) { - var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); - le.setExtraStackFrame(re); - } else - le.setExtraStackFrame(null); - } - function Ot(H, X, re, fe, Ae) { - { - var Re = Function.call.bind($e); - for (var we in H) - if (Re(H, we)) { - var ye = void 0; - try { - if (typeof H[we] != "function") { - var at = Error((fe || "React class") + ": " + re + " type `" + we + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof H[we] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); - throw at.name = "Invariant Violation", at; + function Vt(H) { + return "" + H; + } + function Dt(H) { + if (St(H)) + return ( + x( + "The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", + en(H), + ), + Vt(H) + ); + } + var Z = g.ReactCurrentOwner, + ee = { + key: !0, + ref: !0, + __self: !0, + __source: !0, + }, + se, + xe, + de; + de = {}; + function Ve(H) { + if ($e.call(H, "ref")) { + var X = Object.getOwnPropertyDescriptor(H, "ref").get; + if (X && X.isReactWarning) return !1; + } + return H.ref !== void 0; + } + function et(H) { + if ($e.call(H, "key")) { + var X = Object.getOwnPropertyDescriptor(H, "key").get; + if (X && X.isReactWarning) return !1; + } + return H.key !== void 0; + } + function Qe(H, X) { + if ( + typeof H.ref == "string" && + Z.current && + X && + Z.current.stateNode !== X + ) { + var re = V(Z.current.type); + de[re] || + (x( + 'Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', + V(Z.current.type), + H.ref, + ), + (de[re] = !0)); + } + } + function ft(H, X) { + { + var re = function () { + se || + ((se = !0), + x( + "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", + X, + )); + }; + (re.isReactWarning = !0), + Object.defineProperty(H, "key", { + get: re, + configurable: !0, + }); + } + } + function rt(H, X) { + { + var re = function () { + xe || + ((xe = !0), + x( + "%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", + X, + )); + }; + (re.isReactWarning = !0), + Object.defineProperty(H, "ref", { + get: re, + configurable: !0, + }); + } + } + var Se = function (H, X, re, fe, Ae, Re, we) { + var ye = { + // This tag allows us to uniquely identify this as a React Element + $$typeof: t, + // Built-in properties that belong on the element + type: H, + key: X, + ref: re, + props: we, + // Record the component responsible for creating this element. + _owner: Re, + }; + return ( + (ye._store = {}), + Object.defineProperty(ye._store, "validated", { + configurable: !1, + enumerable: !1, + writable: !0, + value: !1, + }), + Object.defineProperty(ye, "_self", { + configurable: !1, + enumerable: !1, + writable: !1, + value: fe, + }), + Object.defineProperty(ye, "_source", { + configurable: !1, + enumerable: !1, + writable: !1, + value: Ae, + }), + Object.freeze && (Object.freeze(ye.props), Object.freeze(ye)), + ye + ); + }; + function $t(H, X, re, fe, Ae) { + { + var Re, + we = {}, + ye = null, + at = null; + re !== void 0 && (Dt(re), (ye = "" + re)), + et(X) && (Dt(X.key), (ye = "" + X.key)), + Ve(X) && ((at = X.ref), Qe(X, Ae)); + for (Re in X) + $e.call(X, Re) && !ee.hasOwnProperty(Re) && (we[Re] = X[Re]); + if (H && H.defaultProps) { + var We = H.defaultProps; + for (Re in We) we[Re] === void 0 && (we[Re] = We[Re]); + } + if (ye || at) { + var Ue = + typeof H == "function" + ? H.displayName || H.name || "Unknown" + : H; + ye && ft(we, Ue), at && rt(we, Ue); } - ye = H[we](X, we, fe, re, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (We) { - ye = We; + return Se(H, ye, at, Ae, fe, Z.current, we); } - ye && !(ye instanceof Error) && (Ge(Ae), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", fe || "React class", re, we, typeof ye), Ge(null)), ye instanceof Error && !(ye.message in Ee) && (Ee[ye.message] = !0, Ge(Ae), x("Failed %s type: %s", re, ye.message), Ge(null)); } - } - } - var Jt = Array.isArray; - function Nt(H) { - return Jt(H); - } - function en(H) { - { - var X = typeof Symbol == "function" && Symbol.toStringTag, re = X && H[Symbol.toStringTag] || H.constructor.name || "Object"; - return re; - } - } - function St(H) { - try { - return Vt(H), !1; - } catch { - return !0; - } - } - function Vt(H) { - return "" + H; - } - function Dt(H) { - if (St(H)) - return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", en(H)), Vt(H); - } - var Z = g.ReactCurrentOwner, ee = { - key: !0, - ref: !0, - __self: !0, - __source: !0 - }, se, xe, de; - de = {}; - function Ve(H) { - if ($e.call(H, "ref")) { - var X = Object.getOwnPropertyDescriptor(H, "ref").get; - if (X && X.isReactWarning) - return !1; - } - return H.ref !== void 0; - } - function et(H) { - if ($e.call(H, "key")) { - var X = Object.getOwnPropertyDescriptor(H, "key").get; - if (X && X.isReactWarning) - return !1; - } - return H.key !== void 0; - } - function Qe(H, X) { - if (typeof H.ref == "string" && Z.current && X && Z.current.stateNode !== X) { - var re = V(Z.current.type); - de[re] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Z.current.type), H.ref), de[re] = !0); - } - } - function ft(H, X) { - { - var re = function() { - se || (se = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", X)); - }; - re.isReactWarning = !0, Object.defineProperty(H, "key", { - get: re, - configurable: !0 - }); - } - } - function rt(H, X) { - { - var re = function() { - xe || (xe = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", X)); - }; - re.isReactWarning = !0, Object.defineProperty(H, "ref", { - get: re, - configurable: !0 - }); - } - } - var Se = function(H, X, re, fe, Ae, Re, we) { - var ye = { - // This tag allows us to uniquely identify this as a React Element - $$typeof: t, - // Built-in properties that belong on the element - type: H, - key: X, - ref: re, - props: we, - // Record the component responsible for creating this element. - _owner: Re - }; - return ye._store = {}, Object.defineProperty(ye._store, "validated", { - configurable: !1, - enumerable: !1, - writable: !0, - value: !1 - }), Object.defineProperty(ye, "_self", { - configurable: !1, - enumerable: !1, - writable: !1, - value: fe - }), Object.defineProperty(ye, "_source", { - configurable: !1, - enumerable: !1, - writable: !1, - value: Ae - }), Object.freeze && (Object.freeze(ye.props), Object.freeze(ye)), ye; - }; - function $t(H, X, re, fe, Ae) { - { - var Re, we = {}, ye = null, at = null; - re !== void 0 && (Dt(re), ye = "" + re), et(X) && (Dt(X.key), ye = "" + X.key), Ve(X) && (at = X.ref, Qe(X, Ae)); - for (Re in X) - $e.call(X, Re) && !ee.hasOwnProperty(Re) && (we[Re] = X[Re]); - if (H && H.defaultProps) { - var We = H.defaultProps; - for (Re in We) - we[Re] === void 0 && (we[Re] = We[Re]); - } - if (ye || at) { - var Ue = typeof H == "function" ? H.displayName || H.name || "Unknown" : H; - ye && ft(we, Ue), at && rt(we, Ue); - } - return Se(H, ye, at, Ae, fe, Z.current, we); - } - } - var it = g.ReactCurrentOwner, En = g.ReactDebugCurrentFrame; - function tn(H) { - if (H) { - var X = H._owner, re = _e(H.type, H._source, X ? X.type : null); - En.setExtraStackFrame(re); - } else - En.setExtraStackFrame(null); - } - var no; - no = !1; - function Wt(H) { - return typeof H == "object" && H !== null && H.$$typeof === t; - } - function Lr() { - { - if (it.current) { - var H = V(it.current.type); - if (H) - return ` + var it = g.ReactCurrentOwner, + En = g.ReactDebugCurrentFrame; + function tn(H) { + if (H) { + var X = H._owner, + re = _e(H.type, H._source, X ? X.type : null); + En.setExtraStackFrame(re); + } else En.setExtraStackFrame(null); + } + var no; + no = !1; + function Wt(H) { + return typeof H == "object" && H !== null && H.$$typeof === t; + } + function Lr() { + { + if (it.current) { + var H = V(it.current.type); + if (H) + return ( + ` -Check the render method of \`` + H + "`."; - } - return ""; - } - } - function fa(H) { - return ""; - } - var Fr = {}; - function pa(H) { - { - var X = Lr(); - if (!X) { - var re = typeof H == "string" ? H : H.displayName || H.name; - re && (X = ` +Check the render method of \`` + + H + + "`." + ); + } + return ""; + } + } + function fa(H) { + return ""; + } + var Fr = {}; + function pa(H) { + { + var X = Lr(); + if (!X) { + var re = typeof H == "string" ? H : H.displayName || H.name; + re && + (X = + ` -Check the top-level render call using <` + re + ">."); - } - return X; - } - } - function Rr(H, X) { - { - if (!H._store || H._store.validated || H.key != null) - return; - H._store.validated = !0; - var re = pa(X); - if (Fr[re]) - return; - Fr[re] = !0; - var fe = ""; - H && H._owner && H._owner !== it.current && (fe = " It was passed a child from " + V(H._owner.type) + "."), tn(H), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, fe), tn(null); - } - } - function jr(H, X) { - { - if (typeof H != "object") - return; - if (Nt(H)) - for (var re = 0; re < H.length; re++) { - var fe = H[re]; - Wt(fe) && Rr(fe, X); +Check the top-level render call using <` + + re + + ">."); + } + return X; + } } - else if (Wt(H)) - H._store && (H._store.validated = !0); - else if (H) { - var Ae = y(H); - if (typeof Ae == "function" && Ae !== H.entries) - for (var Re = Ae.call(H), we; !(we = Re.next()).done; ) - Wt(we.value) && Rr(we.value, X); - } - } - } - function ha(H) { - { - var X = H.type; - if (X == null || typeof X == "string") - return; - var re; - if (typeof X == "function") - re = X.propTypes; - else if (typeof X == "object" && (X.$$typeof === s || // Note: Memo only checks outer props here. - // Inner props are checked in the reconciler. - X.$$typeof === d)) - re = X.propTypes; - else - return; - if (re) { - var fe = V(X); - Ot(re, H.props, "prop", fe, H); - } else if (X.PropTypes !== void 0 && !no) { - no = !0; - var Ae = V(X); - x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ae || "Unknown"); - } - typeof X.getDefaultProps == "function" && !X.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); - } - } - function ga(H) { - { - for (var X = Object.keys(H.props), re = 0; re < X.length; re++) { - var fe = X[re]; - if (fe !== "children" && fe !== "key") { - tn(H), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", fe), tn(null); - break; + function Rr(H, X) { + { + if (!H._store || H._store.validated || H.key != null) return; + H._store.validated = !0; + var re = pa(X); + if (Fr[re]) return; + Fr[re] = !0; + var fe = ""; + H && + H._owner && + H._owner !== it.current && + (fe = " It was passed a child from " + V(H._owner.type) + "."), + tn(H), + x( + 'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', + re, + fe, + ), + tn(null); + } } - } - H.ref !== null && (tn(H), x("Invalid attribute `ref` supplied to `React.Fragment`."), tn(null)); - } - } - var Ir = {}; - function zr(H, X, re, fe, Ae, Re) { - { - var we = L(H); - if (!we) { - var ye = ""; - (H === void 0 || typeof H == "object" && H !== null && Object.keys(H).length === 0) && (ye += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); - var at = fa(); - at ? ye += at : ye += Lr(); - var We; - H === null ? We = "null" : Nt(H) ? We = "array" : H !== void 0 && H.$$typeof === t ? (We = "<" + (V(H.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : We = typeof H, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", We, ye); - } - var Ue = $t(H, X, re, Ae, Re); - if (Ue == null) - return Ue; - if (we) { - var pt = X.children; - if (pt !== void 0) - if (fe) - if (Nt(pt)) { - for (var Sn = 0; Sn < pt.length; Sn++) - jr(pt[Sn], H); - Object.freeze && Object.freeze(pt); - } else - x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); - else - jr(pt, H); - } - if ($e.call(X, "key")) { - var pn = V(H), ct = Object.keys(X).filter(function(xa) { - return xa !== "key"; - }), zo = ct.length > 0 ? "{key: someKey, " + ct.join(": ..., ") + ": ...}" : "{key: someKey}"; - if (!Ir[pn + zo]) { - var va = ct.length > 0 ? "{" + ct.join(": ..., ") + ": ...}" : "{}"; - x(`A props object containing a "key" prop is being spread into JSX: + function jr(H, X) { + { + if (typeof H != "object") return; + if (Nt(H)) + for (var re = 0; re < H.length; re++) { + var fe = H[re]; + Wt(fe) && Rr(fe, X); + } + else if (Wt(H)) H._store && (H._store.validated = !0); + else if (H) { + var Ae = y(H); + if (typeof Ae == "function" && Ae !== H.entries) + for (var Re = Ae.call(H), we; !(we = Re.next()).done; ) + Wt(we.value) && Rr(we.value, X); + } + } + } + function ha(H) { + { + var X = H.type; + if (X == null || typeof X == "string") return; + var re; + if (typeof X == "function") re = X.propTypes; + else if ( + typeof X == "object" && + (X.$$typeof === s || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + X.$$typeof === d) + ) + re = X.propTypes; + else return; + if (re) { + var fe = V(X); + Ot(re, H.props, "prop", fe, H); + } else if (X.PropTypes !== void 0 && !no) { + no = !0; + var Ae = V(X); + x( + "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", + Ae || "Unknown", + ); + } + typeof X.getDefaultProps == "function" && + !X.getDefaultProps.isReactClassApproved && + x( + "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.", + ); + } + } + function ga(H) { + { + for (var X = Object.keys(H.props), re = 0; re < X.length; re++) { + var fe = X[re]; + if (fe !== "children" && fe !== "key") { + tn(H), + x( + "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", + fe, + ), + tn(null); + break; + } + } + H.ref !== null && + (tn(H), + x("Invalid attribute `ref` supplied to `React.Fragment`."), + tn(null)); + } + } + var Ir = {}; + function zr(H, X, re, fe, Ae, Re) { + { + var we = L(H); + if (!we) { + var ye = ""; + (H === void 0 || + (typeof H == "object" && + H !== null && + Object.keys(H).length === 0)) && + (ye += + " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); + var at = fa(); + at ? (ye += at) : (ye += Lr()); + var We; + H === null + ? (We = "null") + : Nt(H) + ? (We = "array") + : H !== void 0 && H.$$typeof === t + ? ((We = "<" + (V(H.type) || "Unknown") + " />"), + (ye = + " Did you accidentally export a JSX literal instead of a component?")) + : (We = typeof H), + x( + "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", + We, + ye, + ); + } + var Ue = $t(H, X, re, Ae, Re); + if (Ue == null) return Ue; + if (we) { + var pt = X.children; + if (pt !== void 0) + if (fe) + if (Nt(pt)) { + for (var Sn = 0; Sn < pt.length; Sn++) jr(pt[Sn], H); + Object.freeze && Object.freeze(pt); + } else + x( + "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.", + ); + else jr(pt, H); + } + if ($e.call(X, "key")) { + var pn = V(H), + ct = Object.keys(X).filter(function (xa) { + return xa !== "key"; + }), + zo = + ct.length > 0 + ? "{key: someKey, " + ct.join(": ..., ") + ": ...}" + : "{key: someKey}"; + if (!Ir[pn + zo]) { + var va = + ct.length > 0 ? "{" + ct.join(": ..., ") + ": ...}" : "{}"; + x( + `A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`, zo, pn, va, pn), Ir[pn + zo] = !0; + <%s key={someKey} {...props} />`, + zo, + pn, + va, + pn, + ), + (Ir[pn + zo] = !0); + } + } + return H === o ? ga(Ue) : ha(Ue), Ue; + } } - } - return H === o ? ga(Ue) : ha(Ue), Ue; - } - } - function ma(H, X, re) { - return zr(H, X, re, !0); - } - function ba(H, X, re) { - return zr(H, X, re, !1); - } - var ya = ba, Ca = ma; - Po.Fragment = o, Po.jsx = ya, Po.jsxs = Ca; - }()), Po; + function ma(H, X, re) { + return zr(H, X, re, !0); + } + function ba(H, X, re) { + return zr(H, X, re, !1); + } + var ya = ba, + Ca = ma; + (Po.Fragment = o), (Po.jsx = ya), (Po.jsxs = Ca); + })()), + Po + ); } -process.env.NODE_ENV === "production" ? es.exports = n4() : es.exports = o4(); +process.env.NODE_ENV === "production" + ? (es.exports = n4()) + : (es.exports = o4()); var p = es.exports; -const r4 = "_iconButton_eti7u_1", i4 = { - iconButton: r4 -}, Zn = (e) => /* @__PURE__ */ p.jsx(wn, { title: e.title, children: /* @__PURE__ */ p.jsx( - "button", - { - ...e, - className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${i4.iconButton}`, - type: e.type ?? "button", - children: e.children - } -) }), a4 = zt(null), Sa = { - didCatch: !1, - error: null -}; +const r4 = "_iconButton_eti7u_1", + i4 = { + iconButton: r4, + }, + Zn = (e) => + /* @__PURE__ */ p.jsx(wn, { + title: e.title, + children: /* @__PURE__ */ p.jsx("button", { + ...e, + className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${i4.iconButton}`, + type: e.type ?? "button", + children: e.children, + }), + }), + a4 = zt(null), + Sa = { + didCatch: !1, + error: null, + }; class l4 extends V5 { constructor(t) { - super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Sa; + super(t), + (this.resetErrorBoundary = this.resetErrorBoundary.bind(this)), + (this.state = Sa); } static getDerivedStateFromError(t) { return { didCatch: !0, - error: t + error: t, }; } resetErrorBoundary() { - const { - error: t - } = this.state; + const { error: t } = this.state; if (t !== null) { for (var n, o, r = arguments.length, i = new Array(r), a = 0; a < r; a++) i[a] = arguments[a]; - (n = (o = this.props).onReset) === null || n === void 0 || n.call(o, { - args: i, - reason: "imperative-api" - }), this.setState(Sa); + (n = (o = this.props).onReset) === null || + n === void 0 || + n.call(o, { + args: i, + reason: "imperative-api", + }), + this.setState(Sa); } } componentDidCatch(t, n) { @@ -688,21050 +1024,31036 @@ class l4 extends V5 { (o = (r = this.props).onError) === null || o === void 0 || o.call(r, t, n); } componentDidUpdate(t, n) { - const { - didCatch: o - } = this.state, { - resetKeys: r - } = this.props; + const { didCatch: o } = this.state, + { resetKeys: r } = this.props; if (o && n.error !== null && s4(t.resetKeys, r)) { var i, a; - (i = (a = this.props).onReset) === null || i === void 0 || i.call(a, { - next: r, - prev: t.resetKeys, - reason: "keys" - }), this.setState(Sa); + (i = (a = this.props).onReset) === null || + i === void 0 || + i.call(a, { + next: r, + prev: t.resetKeys, + reason: "keys", + }), + this.setState(Sa); } } render() { const { - children: t, - fallbackRender: n, - FallbackComponent: o, - fallback: r - } = this.props, { - didCatch: i, - error: a - } = this.state; + children: t, + fallbackRender: n, + FallbackComponent: o, + fallback: r, + } = this.props, + { didCatch: i, error: a } = this.state; let l = t; if (i) { const s = { error: a, - resetErrorBoundary: this.resetErrorBoundary + resetErrorBoundary: this.resetErrorBoundary, }; - if (typeof n == "function") - l = n(s); - else if (o) - l = m1(o, s); - else if (r === null || U0(r)) - l = r; - else - throw a; + if (typeof n == "function") l = n(s); + else if (o) l = m1(o, s); + else if (r === null || U0(r)) l = r; + else throw a; } - return m1(a4.Provider, { - value: { - didCatch: i, - error: a, - resetErrorBoundary: this.resetErrorBoundary - } - }, l); + return m1( + a4.Provider, + { + value: { + didCatch: i, + error: a, + resetErrorBoundary: this.resetErrorBoundary, + }, + }, + l, + ); } } function s4() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []; + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], + t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : []; return e.length !== t.length || e.some((n, o) => !Object.is(n, t[o])); } const wn = (e) => { - const [t, n] = ue(!1), o = () => n(!t), r = pe( - (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-") - ); - return /* @__PURE__ */ p.jsxs(l4, { fallback: /* @__PURE__ */ p.jsx("span", { id: r.current, children: e.children }), children: [ - /* @__PURE__ */ p.jsx("span", { id: r.current, children: e.children }), - e.title ? /* @__PURE__ */ p.jsx( - N5, - { - isOpen: t, - target: r.current, - toggle: o, - className: e.className, - placement: "top", - children: e.title - } - ) : null - ] }); -}, c4 = "_loadingBtn_gadec_1", u4 = { - loadingBtn: c4 -}, Wi = ({ loading: e, ...t }) => /* @__PURE__ */ p.jsx( - Pe, - { - ...t, - disabled: t.disabled ?? e, - className: `${t.className ?? ""} ${u4.loadingBtn}`, - children: e ? /* @__PURE__ */ p.jsx(H0, {}) : t.children - } -); -var Yo = {}, Y0 = { exports: {} }; -(function(e) { + const [t, n] = ue(!1), + o = () => n(!t), + r = pe( + ( + e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}` + ).replace(/\s/g, "-"), + ); + return /* @__PURE__ */ p.jsxs(l4, { + fallback: /* @__PURE__ */ p.jsx("span", { + id: r.current, + children: e.children, + }), + children: [ + /* @__PURE__ */ p.jsx("span", { id: r.current, children: e.children }), + e.title + ? /* @__PURE__ */ p.jsx(N5, { + isOpen: t, + target: r.current, + toggle: o, + className: e.className, + placement: "top", + children: e.title, + }) + : null, + ], + }); + }, + c4 = "_loadingBtn_gadec_1", + u4 = { + loadingBtn: c4, + }, + Wi = ({ loading: e, ...t }) => + /* @__PURE__ */ p.jsx(Pe, { + ...t, + disabled: t.disabled ?? e, + className: `${t.className ?? ""} ${u4.loadingBtn}`, + children: e ? /* @__PURE__ */ p.jsx(H0, {}) : t.children, + }); +var Yo = {}, + Y0 = { exports: {} }; +(function (e) { function t(n) { - return n && n.__esModule ? n : { - default: n - }; + return n && n.__esModule + ? n + : { + default: n, + }; } - e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports; + (e.exports = t), (e.exports.__esModule = !0), (e.exports.default = e.exports); })(Y0); -var d4 = Y0.exports, ka = {}, v1; +var d4 = Y0.exports, + ka = {}, + v1; function f4() { - return v1 || (v1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "black", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - maxHeight: "inherit", - height: "inherit", - padding: "0 1em", - display: "block", - overflow: "auto" - }, - 'pre[class*="language-"]': { - color: "black", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - position: "relative", - margin: ".5em 0", - overflow: "visible", - padding: "1px", - backgroundColor: "#fdfdfd", - WebkitBoxSizing: "border-box", - MozBoxSizing: "border-box", - boxSizing: "border-box", - marginBottom: "1em" - }, - 'pre[class*="language-"] > code': { - position: "relative", - zIndex: "1", - borderLeft: "10px solid #358ccb", - boxShadow: "-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf", - backgroundColor: "#fdfdfd", - backgroundImage: "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)", - backgroundSize: "3em 3em", - backgroundOrigin: "content-box", - backgroundAttachment: "local" - }, - ':not(pre) > code[class*="language-"]': { - backgroundColor: "#fdfdfd", - WebkitBoxSizing: "border-box", - MozBoxSizing: "border-box", - boxSizing: "border-box", - marginBottom: "1em", - position: "relative", - padding: ".2em", - borderRadius: "0.3em", - color: "#c92c2c", - border: "1px solid rgba(0, 0, 0, 0.1)", - display: "inline", - whiteSpace: "normal" - }, - 'pre[class*="language-"]:before': { - content: "''", - display: "block", - position: "absolute", - bottom: "0.75em", - left: "0.18em", - width: "40%", - height: "20%", - maxHeight: "13em", - boxShadow: "0px 13px 8px #979797", - WebkitTransform: "rotate(-2deg)", - MozTransform: "rotate(-2deg)", - msTransform: "rotate(-2deg)", - OTransform: "rotate(-2deg)", - transform: "rotate(-2deg)" - }, - 'pre[class*="language-"]:after': { - content: "''", - display: "block", - position: "absolute", - bottom: "0.75em", - left: "auto", - width: "40%", - height: "20%", - maxHeight: "13em", - boxShadow: "0px 13px 8px #979797", - WebkitTransform: "rotate(2deg)", - MozTransform: "rotate(2deg)", - msTransform: "rotate(2deg)", - OTransform: "rotate(2deg)", - transform: "rotate(2deg)", - right: "0.75em" - }, - comment: { - color: "#7D8B99" - }, - "block-comment": { - color: "#7D8B99" - }, - prolog: { - color: "#7D8B99" - }, - doctype: { - color: "#7D8B99" - }, - cdata: { - color: "#7D8B99" - }, - punctuation: { - color: "#5F6364" - }, - property: { - color: "#c92c2c" - }, - tag: { - color: "#c92c2c" - }, - boolean: { - color: "#c92c2c" - }, - number: { - color: "#c92c2c" - }, - "function-name": { - color: "#c92c2c" - }, - constant: { - color: "#c92c2c" - }, - symbol: { - color: "#c92c2c" - }, - deleted: { - color: "#c92c2c" - }, - selector: { - color: "#2f9c0a" - }, - "attr-name": { - color: "#2f9c0a" - }, - string: { - color: "#2f9c0a" - }, - char: { - color: "#2f9c0a" - }, - function: { - color: "#2f9c0a" - }, - builtin: { - color: "#2f9c0a" - }, - inserted: { - color: "#2f9c0a" - }, - operator: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - entity: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)", - cursor: "help" - }, - url: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - variable: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - atrule: { - color: "#1990b8" - }, - "attr-value": { - color: "#1990b8" - }, - keyword: { - color: "#1990b8" - }, - "class-name": { - color: "#1990b8" - }, - regex: { - color: "#e90" - }, - important: { - color: "#e90", - fontWeight: "normal" - }, - ".language-css .token.string": { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - ".style .token.string": { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - namespace: { - Opacity: ".7" - }, - 'pre[class*="language-"].line-numbers.line-numbers': { - paddingLeft: "0" - }, - 'pre[class*="language-"].line-numbers.line-numbers code': { - paddingLeft: "3.8em" - }, - 'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows': { - left: "0" - }, - 'pre[class*="language-"][data-line]': { - paddingTop: "0", - paddingBottom: "0", - paddingLeft: "0" - }, - "pre[data-line] code": { - position: "relative", - paddingLeft: "4em" - }, - "pre .line-highlight": { - marginTop: "0" - } - }; - e.default = t; - }(ka)), ka; + return ( + v1 || + ((v1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + maxHeight: "inherit", + height: "inherit", + padding: "0 1em", + display: "block", + overflow: "auto", + }, + 'pre[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + position: "relative", + margin: ".5em 0", + overflow: "visible", + padding: "1px", + backgroundColor: "#fdfdfd", + WebkitBoxSizing: "border-box", + MozBoxSizing: "border-box", + boxSizing: "border-box", + marginBottom: "1em", + }, + 'pre[class*="language-"] > code': { + position: "relative", + zIndex: "1", + borderLeft: "10px solid #358ccb", + boxShadow: "-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf", + backgroundColor: "#fdfdfd", + backgroundImage: + "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)", + backgroundSize: "3em 3em", + backgroundOrigin: "content-box", + backgroundAttachment: "local", + }, + ':not(pre) > code[class*="language-"]': { + backgroundColor: "#fdfdfd", + WebkitBoxSizing: "border-box", + MozBoxSizing: "border-box", + boxSizing: "border-box", + marginBottom: "1em", + position: "relative", + padding: ".2em", + borderRadius: "0.3em", + color: "#c92c2c", + border: "1px solid rgba(0, 0, 0, 0.1)", + display: "inline", + whiteSpace: "normal", + }, + 'pre[class*="language-"]:before': { + content: "''", + display: "block", + position: "absolute", + bottom: "0.75em", + left: "0.18em", + width: "40%", + height: "20%", + maxHeight: "13em", + boxShadow: "0px 13px 8px #979797", + WebkitTransform: "rotate(-2deg)", + MozTransform: "rotate(-2deg)", + msTransform: "rotate(-2deg)", + OTransform: "rotate(-2deg)", + transform: "rotate(-2deg)", + }, + 'pre[class*="language-"]:after': { + content: "''", + display: "block", + position: "absolute", + bottom: "0.75em", + left: "auto", + width: "40%", + height: "20%", + maxHeight: "13em", + boxShadow: "0px 13px 8px #979797", + WebkitTransform: "rotate(2deg)", + MozTransform: "rotate(2deg)", + msTransform: "rotate(2deg)", + OTransform: "rotate(2deg)", + transform: "rotate(2deg)", + right: "0.75em", + }, + comment: { + color: "#7D8B99", + }, + "block-comment": { + color: "#7D8B99", + }, + prolog: { + color: "#7D8B99", + }, + doctype: { + color: "#7D8B99", + }, + cdata: { + color: "#7D8B99", + }, + punctuation: { + color: "#5F6364", + }, + property: { + color: "#c92c2c", + }, + tag: { + color: "#c92c2c", + }, + boolean: { + color: "#c92c2c", + }, + number: { + color: "#c92c2c", + }, + "function-name": { + color: "#c92c2c", + }, + constant: { + color: "#c92c2c", + }, + symbol: { + color: "#c92c2c", + }, + deleted: { + color: "#c92c2c", + }, + selector: { + color: "#2f9c0a", + }, + "attr-name": { + color: "#2f9c0a", + }, + string: { + color: "#2f9c0a", + }, + char: { + color: "#2f9c0a", + }, + function: { + color: "#2f9c0a", + }, + builtin: { + color: "#2f9c0a", + }, + inserted: { + color: "#2f9c0a", + }, + operator: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + entity: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + cursor: "help", + }, + url: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + variable: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + atrule: { + color: "#1990b8", + }, + "attr-value": { + color: "#1990b8", + }, + keyword: { + color: "#1990b8", + }, + "class-name": { + color: "#1990b8", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "normal", + }, + ".language-css .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + ".style .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + 'pre[class*="language-"].line-numbers.line-numbers': { + paddingLeft: "0", + }, + 'pre[class*="language-"].line-numbers.line-numbers code': { + paddingLeft: "3.8em", + }, + 'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows': + { + left: "0", + }, + 'pre[class*="language-"][data-line]': { + paddingTop: "0", + paddingBottom: "0", + paddingLeft: "0", + }, + "pre[data-line] code": { + position: "relative", + paddingLeft: "4em", + }, + "pre .line-highlight": { + marginTop: "0", + }, + }; + e.default = t; + })(ka)), + ka + ); } -var _a = {}, x1; +var _a = {}, + x1; function p4() { - return x1 || (x1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "white", - background: "none", - textShadow: "0 -.1em .2em black", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "white", - background: "hsl(30, 20%, 25%)", - textShadow: "0 -.1em .2em black", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - border: ".3em solid hsl(30, 20%, 40%)", - borderRadius: ".5em", - boxShadow: "1px 1px .5em black inset" - }, - ':not(pre) > code[class*="language-"]': { - background: "hsl(30, 20%, 25%)", - padding: ".15em .2em .05em", - borderRadius: ".3em", - border: ".13em solid hsl(30, 20%, 40%)", - boxShadow: "1px 1px .3em -.1em black inset", - whiteSpace: "normal" - }, - comment: { - color: "hsl(30, 20%, 50%)" - }, - prolog: { - color: "hsl(30, 20%, 50%)" - }, - doctype: { - color: "hsl(30, 20%, 50%)" - }, - cdata: { - color: "hsl(30, 20%, 50%)" - }, - punctuation: { - Opacity: ".7" - }, - namespace: { - Opacity: ".7" - }, - property: { - color: "hsl(350, 40%, 70%)" - }, - tag: { - color: "hsl(350, 40%, 70%)" - }, - boolean: { - color: "hsl(350, 40%, 70%)" - }, - number: { - color: "hsl(350, 40%, 70%)" - }, - constant: { - color: "hsl(350, 40%, 70%)" - }, - symbol: { - color: "hsl(350, 40%, 70%)" - }, - selector: { - color: "hsl(75, 70%, 60%)" - }, - "attr-name": { - color: "hsl(75, 70%, 60%)" - }, - string: { - color: "hsl(75, 70%, 60%)" - }, - char: { - color: "hsl(75, 70%, 60%)" - }, - builtin: { - color: "hsl(75, 70%, 60%)" - }, - inserted: { - color: "hsl(75, 70%, 60%)" - }, - operator: { - color: "hsl(40, 90%, 60%)" - }, - entity: { - color: "hsl(40, 90%, 60%)", - cursor: "help" - }, - url: { - color: "hsl(40, 90%, 60%)" - }, - ".language-css .token.string": { - color: "hsl(40, 90%, 60%)" - }, - ".style .token.string": { - color: "hsl(40, 90%, 60%)" - }, - variable: { - color: "hsl(40, 90%, 60%)" - }, - atrule: { - color: "hsl(350, 40%, 70%)" - }, - "attr-value": { - color: "hsl(350, 40%, 70%)" - }, - keyword: { - color: "hsl(350, 40%, 70%)" - }, - regex: { - color: "#e90" - }, - important: { - color: "#e90", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - deleted: { - color: "red" - } - }; - e.default = t; - }(_a)), _a; + return ( + x1 || + ((x1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "white", + background: "none", + textShadow: "0 -.1em .2em black", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "white", + background: "hsl(30, 20%, 25%)", + textShadow: "0 -.1em .2em black", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + border: ".3em solid hsl(30, 20%, 40%)", + borderRadius: ".5em", + boxShadow: "1px 1px .5em black inset", + }, + ':not(pre) > code[class*="language-"]': { + background: "hsl(30, 20%, 25%)", + padding: ".15em .2em .05em", + borderRadius: ".3em", + border: ".13em solid hsl(30, 20%, 40%)", + boxShadow: "1px 1px .3em -.1em black inset", + whiteSpace: "normal", + }, + comment: { + color: "hsl(30, 20%, 50%)", + }, + prolog: { + color: "hsl(30, 20%, 50%)", + }, + doctype: { + color: "hsl(30, 20%, 50%)", + }, + cdata: { + color: "hsl(30, 20%, 50%)", + }, + punctuation: { + Opacity: ".7", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "hsl(350, 40%, 70%)", + }, + tag: { + color: "hsl(350, 40%, 70%)", + }, + boolean: { + color: "hsl(350, 40%, 70%)", + }, + number: { + color: "hsl(350, 40%, 70%)", + }, + constant: { + color: "hsl(350, 40%, 70%)", + }, + symbol: { + color: "hsl(350, 40%, 70%)", + }, + selector: { + color: "hsl(75, 70%, 60%)", + }, + "attr-name": { + color: "hsl(75, 70%, 60%)", + }, + string: { + color: "hsl(75, 70%, 60%)", + }, + char: { + color: "hsl(75, 70%, 60%)", + }, + builtin: { + color: "hsl(75, 70%, 60%)", + }, + inserted: { + color: "hsl(75, 70%, 60%)", + }, + operator: { + color: "hsl(40, 90%, 60%)", + }, + entity: { + color: "hsl(40, 90%, 60%)", + cursor: "help", + }, + url: { + color: "hsl(40, 90%, 60%)", + }, + ".language-css .token.string": { + color: "hsl(40, 90%, 60%)", + }, + ".style .token.string": { + color: "hsl(40, 90%, 60%)", + }, + variable: { + color: "hsl(40, 90%, 60%)", + }, + atrule: { + color: "hsl(350, 40%, 70%)", + }, + "attr-value": { + color: "hsl(350, 40%, 70%)", + }, + keyword: { + color: "hsl(350, 40%, 70%)", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + deleted: { + color: "red", + }, + }; + e.default = t; + })(_a)), + _a + ); } -var Aa = {}, w1; +var Aa = {}, + w1; function h4() { - return w1 || (w1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "black", - color: "white", - boxShadow: "-.3em 0 0 .3em black, .3em 0 0 .3em black" - }, - 'pre[class*="language-"]': { - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: ".4em .8em", - margin: ".5em 0", - overflow: "auto", - background: `url('data:image/svg+xml;charset=utf-8,%0D%0A%0D%0A%0D%0A<%2Fsvg>')`, - backgroundSize: "1em 1em" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".2em", - borderRadius: ".3em", - boxShadow: "none", - whiteSpace: "normal" - }, - comment: { - color: "#aaa" - }, - prolog: { - color: "#aaa" - }, - doctype: { - color: "#aaa" - }, - cdata: { - color: "#aaa" - }, - punctuation: { - color: "#999" - }, - namespace: { - Opacity: ".7" - }, - property: { - color: "#0cf" - }, - tag: { - color: "#0cf" - }, - boolean: { - color: "#0cf" - }, - number: { - color: "#0cf" - }, - constant: { - color: "#0cf" - }, - symbol: { - color: "#0cf" - }, - selector: { - color: "yellow" - }, - "attr-name": { - color: "yellow" - }, - string: { - color: "yellow" - }, - char: { - color: "yellow" - }, - builtin: { - color: "yellow" - }, - operator: { - color: "yellowgreen" - }, - entity: { - color: "yellowgreen", - cursor: "help" - }, - url: { - color: "yellowgreen" - }, - ".language-css .token.string": { - color: "yellowgreen" - }, - variable: { - color: "yellowgreen" - }, - inserted: { - color: "yellowgreen" - }, - atrule: { - color: "deeppink" - }, - "attr-value": { - color: "deeppink" - }, - keyword: { - color: "deeppink" - }, - regex: { - color: "orange" - }, - important: { - color: "orange", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - deleted: { - color: "red" - }, - "pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)": { - backgroundColor: "rgba(255, 0, 0, .3)", - display: "inline" - }, - "pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)": { - backgroundColor: "rgba(255, 0, 0, .3)", - display: "inline" - }, - "pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)": { - backgroundColor: "rgba(0, 255, 128, .3)", - display: "inline" - }, - "pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)": { - backgroundColor: "rgba(0, 255, 128, .3)", - display: "inline" - } - }; - e.default = t; - }(Aa)), Aa; + return ( + w1 || + ((w1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "black", + color: "white", + boxShadow: "-.3em 0 0 .3em black, .3em 0 0 .3em black", + }, + 'pre[class*="language-"]': { + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: ".4em .8em", + margin: ".5em 0", + overflow: "auto", + background: `url('data:image/svg+xml;charset=utf-8,%0D%0A%0D%0A%0D%0A<%2Fsvg>')`, + backgroundSize: "1em 1em", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".2em", + borderRadius: ".3em", + boxShadow: "none", + whiteSpace: "normal", + }, + comment: { + color: "#aaa", + }, + prolog: { + color: "#aaa", + }, + doctype: { + color: "#aaa", + }, + cdata: { + color: "#aaa", + }, + punctuation: { + color: "#999", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#0cf", + }, + tag: { + color: "#0cf", + }, + boolean: { + color: "#0cf", + }, + number: { + color: "#0cf", + }, + constant: { + color: "#0cf", + }, + symbol: { + color: "#0cf", + }, + selector: { + color: "yellow", + }, + "attr-name": { + color: "yellow", + }, + string: { + color: "yellow", + }, + char: { + color: "yellow", + }, + builtin: { + color: "yellow", + }, + operator: { + color: "yellowgreen", + }, + entity: { + color: "yellowgreen", + cursor: "help", + }, + url: { + color: "yellowgreen", + }, + ".language-css .token.string": { + color: "yellowgreen", + }, + variable: { + color: "yellowgreen", + }, + inserted: { + color: "yellowgreen", + }, + atrule: { + color: "deeppink", + }, + "attr-value": { + color: "deeppink", + }, + keyword: { + color: "deeppink", + }, + regex: { + color: "orange", + }, + important: { + color: "orange", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + deleted: { + color: "red", + }, + "pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)": + { + backgroundColor: "rgba(255, 0, 0, .3)", + display: "inline", + }, + "pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)": + { + backgroundColor: "rgba(255, 0, 0, .3)", + display: "inline", + }, + "pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)": + { + backgroundColor: "rgba(0, 255, 128, .3)", + display: "inline", + }, + "pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)": + { + backgroundColor: "rgba(0, 255, 128, .3)", + display: "inline", + }, + }; + e.default = t; + })(Aa)), + Aa + ); } -var Ma = {}, E1; +var Ma = {}, + E1; function g4() { - return E1 || (E1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#f8f8f2", - background: "none", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#f8f8f2", - background: "#272822", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - borderRadius: "0.3em" - }, - ':not(pre) > code[class*="language-"]': { - background: "#272822", - padding: ".1em", - borderRadius: ".3em", - whiteSpace: "normal" - }, - comment: { - color: "#8292a2" - }, - prolog: { - color: "#8292a2" - }, - doctype: { - color: "#8292a2" - }, - cdata: { - color: "#8292a2" - }, - punctuation: { - color: "#f8f8f2" - }, - namespace: { - Opacity: ".7" - }, - property: { - color: "#f92672" - }, - tag: { - color: "#f92672" - }, - constant: { - color: "#f92672" - }, - symbol: { - color: "#f92672" - }, - deleted: { - color: "#f92672" - }, - boolean: { - color: "#ae81ff" - }, - number: { - color: "#ae81ff" - }, - selector: { - color: "#a6e22e" - }, - "attr-name": { - color: "#a6e22e" - }, - string: { - color: "#a6e22e" - }, - char: { - color: "#a6e22e" - }, - builtin: { - color: "#a6e22e" - }, - inserted: { - color: "#a6e22e" - }, - operator: { - color: "#f8f8f2" - }, - entity: { - color: "#f8f8f2", - cursor: "help" - }, - url: { - color: "#f8f8f2" - }, - ".language-css .token.string": { - color: "#f8f8f2" - }, - ".style .token.string": { - color: "#f8f8f2" - }, - variable: { - color: "#f8f8f2" - }, - atrule: { - color: "#e6db74" - }, - "attr-value": { - color: "#e6db74" - }, - function: { - color: "#e6db74" - }, - "class-name": { - color: "#e6db74" - }, - keyword: { - color: "#66d9ef" - }, - regex: { - color: "#fd971f" - }, - important: { - color: "#fd971f", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(Ma)), Ma; + return ( + E1 || + ((E1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#272822", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#272822", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#8292a2", + }, + prolog: { + color: "#8292a2", + }, + doctype: { + color: "#8292a2", + }, + cdata: { + color: "#8292a2", + }, + punctuation: { + color: "#f8f8f2", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#f92672", + }, + tag: { + color: "#f92672", + }, + constant: { + color: "#f92672", + }, + symbol: { + color: "#f92672", + }, + deleted: { + color: "#f92672", + }, + boolean: { + color: "#ae81ff", + }, + number: { + color: "#ae81ff", + }, + selector: { + color: "#a6e22e", + }, + "attr-name": { + color: "#a6e22e", + }, + string: { + color: "#a6e22e", + }, + char: { + color: "#a6e22e", + }, + builtin: { + color: "#a6e22e", + }, + inserted: { + color: "#a6e22e", + }, + operator: { + color: "#f8f8f2", + }, + entity: { + color: "#f8f8f2", + cursor: "help", + }, + url: { + color: "#f8f8f2", + }, + ".language-css .token.string": { + color: "#f8f8f2", + }, + ".style .token.string": { + color: "#f8f8f2", + }, + variable: { + color: "#f8f8f2", + }, + atrule: { + color: "#e6db74", + }, + "attr-value": { + color: "#e6db74", + }, + function: { + color: "#e6db74", + }, + "class-name": { + color: "#e6db74", + }, + keyword: { + color: "#66d9ef", + }, + regex: { + color: "#fd971f", + }, + important: { + color: "#fd971f", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ma)), + Ma + ); } -var Ta = {}, S1; +var Ta = {}, + S1; function m4() { - return S1 || (S1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#657b83", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#657b83", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - borderRadius: "0.3em", - backgroundColor: "#fdf6e3" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#073642" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#073642" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#073642" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#073642" - }, - 'pre[class*="language-"]::selection': { - background: "#073642" - }, - 'pre[class*="language-"] ::selection': { - background: "#073642" - }, - 'code[class*="language-"]::selection': { - background: "#073642" - }, - 'code[class*="language-"] ::selection': { - background: "#073642" - }, - ':not(pre) > code[class*="language-"]': { - backgroundColor: "#fdf6e3", - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#93a1a1" - }, - prolog: { - color: "#93a1a1" - }, - doctype: { - color: "#93a1a1" - }, - cdata: { - color: "#93a1a1" - }, - punctuation: { - color: "#586e75" - }, - namespace: { - Opacity: ".7" - }, - property: { - color: "#268bd2" - }, - tag: { - color: "#268bd2" - }, - boolean: { - color: "#268bd2" - }, - number: { - color: "#268bd2" - }, - constant: { - color: "#268bd2" - }, - symbol: { - color: "#268bd2" - }, - deleted: { - color: "#268bd2" - }, - selector: { - color: "#2aa198" - }, - "attr-name": { - color: "#2aa198" - }, - string: { - color: "#2aa198" - }, - char: { - color: "#2aa198" - }, - builtin: { - color: "#2aa198" - }, - url: { - color: "#2aa198" - }, - inserted: { - color: "#2aa198" - }, - entity: { - color: "#657b83", - background: "#eee8d5", - cursor: "help" - }, - atrule: { - color: "#859900" - }, - "attr-value": { - color: "#859900" - }, - keyword: { - color: "#859900" - }, - function: { - color: "#b58900" - }, - "class-name": { - color: "#b58900" - }, - regex: { - color: "#cb4b16" - }, - important: { - color: "#cb4b16", - fontWeight: "bold" - }, - variable: { - color: "#cb4b16" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(Ta)), Ta; + return ( + S1 || + ((S1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#657b83", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#657b83", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + backgroundColor: "#fdf6e3", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#073642", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#073642", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#073642", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#073642", + }, + 'pre[class*="language-"]::selection': { + background: "#073642", + }, + 'pre[class*="language-"] ::selection': { + background: "#073642", + }, + 'code[class*="language-"]::selection': { + background: "#073642", + }, + 'code[class*="language-"] ::selection': { + background: "#073642", + }, + ':not(pre) > code[class*="language-"]': { + backgroundColor: "#fdf6e3", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#93a1a1", + }, + prolog: { + color: "#93a1a1", + }, + doctype: { + color: "#93a1a1", + }, + cdata: { + color: "#93a1a1", + }, + punctuation: { + color: "#586e75", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#268bd2", + }, + tag: { + color: "#268bd2", + }, + boolean: { + color: "#268bd2", + }, + number: { + color: "#268bd2", + }, + constant: { + color: "#268bd2", + }, + symbol: { + color: "#268bd2", + }, + deleted: { + color: "#268bd2", + }, + selector: { + color: "#2aa198", + }, + "attr-name": { + color: "#2aa198", + }, + string: { + color: "#2aa198", + }, + char: { + color: "#2aa198", + }, + builtin: { + color: "#2aa198", + }, + url: { + color: "#2aa198", + }, + inserted: { + color: "#2aa198", + }, + entity: { + color: "#657b83", + background: "#eee8d5", + cursor: "help", + }, + atrule: { + color: "#859900", + }, + "attr-value": { + color: "#859900", + }, + keyword: { + color: "#859900", + }, + function: { + color: "#b58900", + }, + "class-name": { + color: "#b58900", + }, + regex: { + color: "#cb4b16", + }, + important: { + color: "#cb4b16", + fontWeight: "bold", + }, + variable: { + color: "#cb4b16", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ta)), + Ta + ); } -var Oa = {}, k1; +var Oa = {}, + k1; function b4() { - return k1 || (k1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#ccc", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#ccc", - background: "#2d2d2d", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - ':not(pre) > code[class*="language-"]': { - background: "#2d2d2d", - padding: ".1em", - borderRadius: ".3em", - whiteSpace: "normal" - }, - comment: { - color: "#999" - }, - "block-comment": { - color: "#999" - }, - prolog: { - color: "#999" - }, - doctype: { - color: "#999" - }, - cdata: { - color: "#999" - }, - punctuation: { - color: "#ccc" - }, - tag: { - color: "#e2777a" - }, - "attr-name": { - color: "#e2777a" - }, - namespace: { - color: "#e2777a" - }, - deleted: { - color: "#e2777a" - }, - "function-name": { - color: "#6196cc" - }, - boolean: { - color: "#f08d49" - }, - number: { - color: "#f08d49" - }, - function: { - color: "#f08d49" - }, - property: { - color: "#f8c555" - }, - "class-name": { - color: "#f8c555" - }, - constant: { - color: "#f8c555" - }, - symbol: { - color: "#f8c555" - }, - selector: { - color: "#cc99cd" - }, - important: { - color: "#cc99cd", - fontWeight: "bold" - }, - atrule: { - color: "#cc99cd" - }, - keyword: { - color: "#cc99cd" - }, - builtin: { - color: "#cc99cd" - }, - string: { - color: "#7ec699" - }, - char: { - color: "#7ec699" - }, - "attr-value": { - color: "#7ec699" - }, - regex: { - color: "#7ec699" - }, - variable: { - color: "#7ec699" - }, - operator: { - color: "#67cdcc" - }, - entity: { - color: "#67cdcc", - cursor: "help" - }, - url: { - color: "#67cdcc" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - inserted: { - color: "green" - } - }; - e.default = t; - }(Oa)), Oa; + return ( + k1 || + ((k1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#ccc", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#ccc", + background: "#2d2d2d", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2d2d2d", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#999", + }, + "block-comment": { + color: "#999", + }, + prolog: { + color: "#999", + }, + doctype: { + color: "#999", + }, + cdata: { + color: "#999", + }, + punctuation: { + color: "#ccc", + }, + tag: { + color: "#e2777a", + }, + "attr-name": { + color: "#e2777a", + }, + namespace: { + color: "#e2777a", + }, + deleted: { + color: "#e2777a", + }, + "function-name": { + color: "#6196cc", + }, + boolean: { + color: "#f08d49", + }, + number: { + color: "#f08d49", + }, + function: { + color: "#f08d49", + }, + property: { + color: "#f8c555", + }, + "class-name": { + color: "#f8c555", + }, + constant: { + color: "#f8c555", + }, + symbol: { + color: "#f8c555", + }, + selector: { + color: "#cc99cd", + }, + important: { + color: "#cc99cd", + fontWeight: "bold", + }, + atrule: { + color: "#cc99cd", + }, + keyword: { + color: "#cc99cd", + }, + builtin: { + color: "#cc99cd", + }, + string: { + color: "#7ec699", + }, + char: { + color: "#7ec699", + }, + "attr-value": { + color: "#7ec699", + }, + regex: { + color: "#7ec699", + }, + variable: { + color: "#7ec699", + }, + operator: { + color: "#67cdcc", + }, + entity: { + color: "#67cdcc", + cursor: "help", + }, + url: { + color: "#67cdcc", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + color: "green", + }, + }; + e.default = t; + })(Oa)), + Oa + ); } -var Na = {}, _1; +var Na = {}, + _1; function y4() { - return _1 || (_1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "white", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - textShadow: "0 -.1em .2em black", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "white", - background: "hsl(0, 0%, 8%)", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - textShadow: "0 -.1em .2em black", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - borderRadius: ".5em", - border: ".3em solid hsl(0, 0%, 33%)", - boxShadow: "1px 1px .5em black inset", - margin: ".5em 0", - overflow: "auto", - padding: "1em" - }, - ':not(pre) > code[class*="language-"]': { - background: "hsl(0, 0%, 8%)", - borderRadius: ".3em", - border: ".13em solid hsl(0, 0%, 33%)", - boxShadow: "1px 1px .3em -.1em black inset", - padding: ".15em .2em .05em", - whiteSpace: "normal" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "hsla(0, 0%, 93%, 0.15)", - textShadow: "none" - }, - 'pre[class*="language-"]::selection': { - background: "hsla(0, 0%, 93%, 0.15)", - textShadow: "none" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "hsla(0, 0%, 93%, 0.15)" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "hsla(0, 0%, 93%, 0.15)" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "hsla(0, 0%, 93%, 0.15)" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "hsla(0, 0%, 93%, 0.15)" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "hsla(0, 0%, 93%, 0.15)" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "hsla(0, 0%, 93%, 0.15)" - }, - comment: { - color: "hsl(0, 0%, 47%)" - }, - prolog: { - color: "hsl(0, 0%, 47%)" - }, - doctype: { - color: "hsl(0, 0%, 47%)" - }, - cdata: { - color: "hsl(0, 0%, 47%)" - }, - punctuation: { - Opacity: ".7" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "hsl(14, 58%, 55%)" - }, - boolean: { - color: "hsl(14, 58%, 55%)" - }, - number: { - color: "hsl(14, 58%, 55%)" - }, - deleted: { - color: "hsl(14, 58%, 55%)" - }, - keyword: { - color: "hsl(53, 89%, 79%)" - }, - property: { - color: "hsl(53, 89%, 79%)" - }, - selector: { - color: "hsl(53, 89%, 79%)" - }, - constant: { - color: "hsl(53, 89%, 79%)" - }, - symbol: { - color: "hsl(53, 89%, 79%)" - }, - builtin: { - color: "hsl(53, 89%, 79%)" - }, - "attr-name": { - color: "hsl(76, 21%, 52%)" - }, - "attr-value": { - color: "hsl(76, 21%, 52%)" - }, - string: { - color: "hsl(76, 21%, 52%)" - }, - char: { - color: "hsl(76, 21%, 52%)" - }, - operator: { - color: "hsl(76, 21%, 52%)" - }, - entity: { - color: "hsl(76, 21%, 52%)", - cursor: "help" - }, - url: { - color: "hsl(76, 21%, 52%)" - }, - ".language-css .token.string": { - color: "hsl(76, 21%, 52%)" - }, - ".style .token.string": { - color: "hsl(76, 21%, 52%)" - }, - variable: { - color: "hsl(76, 21%, 52%)" - }, - inserted: { - color: "hsl(76, 21%, 52%)" - }, - atrule: { - color: "hsl(218, 22%, 55%)" - }, - regex: { - color: "hsl(42, 75%, 65%)" - }, - important: { - color: "hsl(42, 75%, 65%)", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - ".language-markup .token.tag": { - color: "hsl(33, 33%, 52%)" - }, - ".language-markup .token.attr-name": { - color: "hsl(33, 33%, 52%)" - }, - ".language-markup .token.punctuation": { - color: "hsl(33, 33%, 52%)" - }, - "": { - position: "relative", - zIndex: "1" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))", - borderBottom: "1px dashed hsl(0, 0%, 33%)", - borderTop: "1px dashed hsl(0, 0%, 33%)", - marginTop: "0.75em", - zIndex: "0" - }, - ".line-highlight.line-highlight:before": { - backgroundColor: "hsl(215, 15%, 59%)", - color: "hsl(24, 20%, 95%)" - }, - ".line-highlight.line-highlight[data-end]:after": { - backgroundColor: "hsl(215, 15%, 59%)", - color: "hsl(24, 20%, 95%)" - } - }; - e.default = t; - }(Na)), Na; + return ( + _1 || + ((_1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "white", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + textShadow: "0 -.1em .2em black", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "white", + background: "hsl(0, 0%, 8%)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + textShadow: "0 -.1em .2em black", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + borderRadius: ".5em", + border: ".3em solid hsl(0, 0%, 33%)", + boxShadow: "1px 1px .5em black inset", + margin: ".5em 0", + overflow: "auto", + padding: "1em", + }, + ':not(pre) > code[class*="language-"]': { + background: "hsl(0, 0%, 8%)", + borderRadius: ".3em", + border: ".13em solid hsl(0, 0%, 33%)", + boxShadow: "1px 1px .3em -.1em black inset", + padding: ".15em .2em .05em", + whiteSpace: "normal", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "hsla(0, 0%, 93%, 0.15)", + textShadow: "none", + }, + 'pre[class*="language-"]::selection': { + background: "hsla(0, 0%, 93%, 0.15)", + textShadow: "none", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "hsla(0, 0%, 93%, 0.15)", + }, + comment: { + color: "hsl(0, 0%, 47%)", + }, + prolog: { + color: "hsl(0, 0%, 47%)", + }, + doctype: { + color: "hsl(0, 0%, 47%)", + }, + cdata: { + color: "hsl(0, 0%, 47%)", + }, + punctuation: { + Opacity: ".7", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "hsl(14, 58%, 55%)", + }, + boolean: { + color: "hsl(14, 58%, 55%)", + }, + number: { + color: "hsl(14, 58%, 55%)", + }, + deleted: { + color: "hsl(14, 58%, 55%)", + }, + keyword: { + color: "hsl(53, 89%, 79%)", + }, + property: { + color: "hsl(53, 89%, 79%)", + }, + selector: { + color: "hsl(53, 89%, 79%)", + }, + constant: { + color: "hsl(53, 89%, 79%)", + }, + symbol: { + color: "hsl(53, 89%, 79%)", + }, + builtin: { + color: "hsl(53, 89%, 79%)", + }, + "attr-name": { + color: "hsl(76, 21%, 52%)", + }, + "attr-value": { + color: "hsl(76, 21%, 52%)", + }, + string: { + color: "hsl(76, 21%, 52%)", + }, + char: { + color: "hsl(76, 21%, 52%)", + }, + operator: { + color: "hsl(76, 21%, 52%)", + }, + entity: { + color: "hsl(76, 21%, 52%)", + cursor: "help", + }, + url: { + color: "hsl(76, 21%, 52%)", + }, + ".language-css .token.string": { + color: "hsl(76, 21%, 52%)", + }, + ".style .token.string": { + color: "hsl(76, 21%, 52%)", + }, + variable: { + color: "hsl(76, 21%, 52%)", + }, + inserted: { + color: "hsl(76, 21%, 52%)", + }, + atrule: { + color: "hsl(218, 22%, 55%)", + }, + regex: { + color: "hsl(42, 75%, 65%)", + }, + important: { + color: "hsl(42, 75%, 65%)", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + ".language-markup .token.tag": { + color: "hsl(33, 33%, 52%)", + }, + ".language-markup .token.attr-name": { + color: "hsl(33, 33%, 52%)", + }, + ".language-markup .token.punctuation": { + color: "hsl(33, 33%, 52%)", + }, + "": { + position: "relative", + zIndex: "1", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))", + borderBottom: "1px dashed hsl(0, 0%, 33%)", + borderTop: "1px dashed hsl(0, 0%, 33%)", + marginTop: "0.75em", + zIndex: "0", + }, + ".line-highlight.line-highlight:before": { + backgroundColor: "hsl(215, 15%, 59%)", + color: "hsl(24, 20%, 95%)", + }, + ".line-highlight.line-highlight[data-end]:after": { + backgroundColor: "hsl(215, 15%, 59%)", + color: "hsl(24, 20%, 95%)", + }, + }; + e.default = t; + })(Na)), + Na + ); } -var Da = {}, A1; +var Da = {}, + A1; function C4() { - return A1 || (A1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "black", - background: "none", - textShadow: "0 1px white", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "black", - background: "#f5f2f0", - textShadow: "0 1px white", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#b3d4fc" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#b3d4fc" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#b3d4fc" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#b3d4fc" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#b3d4fc" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#b3d4fc" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#b3d4fc" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#b3d4fc" - }, - ':not(pre) > code[class*="language-"]': { - background: "#f5f2f0", - padding: ".1em", - borderRadius: ".3em", - whiteSpace: "normal" - }, - comment: { - color: "slategray" - }, - prolog: { - color: "slategray" - }, - doctype: { - color: "slategray" - }, - cdata: { - color: "slategray" - }, - punctuation: { - color: "#999" - }, - namespace: { - Opacity: ".7" - }, - property: { - color: "#905" - }, - tag: { - color: "#905" - }, - boolean: { - color: "#905" - }, - number: { - color: "#905" - }, - constant: { - color: "#905" - }, - symbol: { - color: "#905" - }, - deleted: { - color: "#905" - }, - selector: { - color: "#690" - }, - "attr-name": { - color: "#690" - }, - string: { - color: "#690" - }, - char: { - color: "#690" - }, - builtin: { - color: "#690" - }, - inserted: { - color: "#690" - }, - operator: { - color: "#9a6e3a", - background: "hsla(0, 0%, 100%, .5)" - }, - entity: { - color: "#9a6e3a", - background: "hsla(0, 0%, 100%, .5)", - cursor: "help" - }, - url: { - color: "#9a6e3a", - background: "hsla(0, 0%, 100%, .5)" - }, - ".language-css .token.string": { - color: "#9a6e3a", - background: "hsla(0, 0%, 100%, .5)" - }, - ".style .token.string": { - color: "#9a6e3a", - background: "hsla(0, 0%, 100%, .5)" - }, - atrule: { - color: "#07a" - }, - "attr-value": { - color: "#07a" - }, - keyword: { - color: "#07a" - }, - function: { - color: "#DD4A68" - }, - "class-name": { - color: "#DD4A68" - }, - regex: { - color: "#e90" - }, - important: { - color: "#e90", - fontWeight: "bold" - }, - variable: { - color: "#e90" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(Da)), Da; -} -var La = {}, M1; -function v4() { - return M1 || (M1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#f8f8f2", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#f8f8f2", - background: "#2b2b2b", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto", - borderRadius: "0.3em" - }, - ':not(pre) > code[class*="language-"]': { - background: "#2b2b2b", - padding: "0.1em", - borderRadius: "0.3em", - whiteSpace: "normal" - }, - comment: { - color: "#d4d0ab" - }, - prolog: { - color: "#d4d0ab" - }, - doctype: { - color: "#d4d0ab" - }, - cdata: { - color: "#d4d0ab" - }, - punctuation: { - color: "#fefefe" - }, - property: { - color: "#ffa07a" - }, - tag: { - color: "#ffa07a" - }, - constant: { - color: "#ffa07a" - }, - symbol: { - color: "#ffa07a" - }, - deleted: { - color: "#ffa07a" - }, - boolean: { - color: "#00e0e0" - }, - number: { - color: "#00e0e0" - }, - selector: { - color: "#abe338" - }, - "attr-name": { - color: "#abe338" - }, - string: { - color: "#abe338" - }, - char: { - color: "#abe338" - }, - builtin: { - color: "#abe338" - }, - inserted: { - color: "#abe338" - }, - operator: { - color: "#00e0e0" - }, - entity: { - color: "#00e0e0", - cursor: "help" - }, - url: { - color: "#00e0e0" - }, - ".language-css .token.string": { - color: "#00e0e0" - }, - ".style .token.string": { - color: "#00e0e0" - }, - variable: { - color: "#00e0e0" - }, - atrule: { - color: "#ffd700" - }, - "attr-value": { - color: "#ffd700" - }, - function: { - color: "#ffd700" - }, - keyword: { - color: "#00e0e0" - }, - regex: { - color: "#ffd700" - }, - important: { - color: "#ffd700", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(La)), La; + return ( + A1 || + ((A1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "black", + background: "none", + textShadow: "0 1px white", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "black", + background: "#f5f2f0", + textShadow: "0 1px white", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#b3d4fc", + }, + ':not(pre) > code[class*="language-"]': { + background: "#f5f2f0", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "slategray", + }, + prolog: { + color: "slategray", + }, + doctype: { + color: "slategray", + }, + cdata: { + color: "slategray", + }, + punctuation: { + color: "#999", + }, + namespace: { + Opacity: ".7", + }, + property: { + color: "#905", + }, + tag: { + color: "#905", + }, + boolean: { + color: "#905", + }, + number: { + color: "#905", + }, + constant: { + color: "#905", + }, + symbol: { + color: "#905", + }, + deleted: { + color: "#905", + }, + selector: { + color: "#690", + }, + "attr-name": { + color: "#690", + }, + string: { + color: "#690", + }, + char: { + color: "#690", + }, + builtin: { + color: "#690", + }, + inserted: { + color: "#690", + }, + operator: { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + entity: { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + cursor: "help", + }, + url: { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + ".language-css .token.string": { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + ".style .token.string": { + color: "#9a6e3a", + background: "hsla(0, 0%, 100%, .5)", + }, + atrule: { + color: "#07a", + }, + "attr-value": { + color: "#07a", + }, + keyword: { + color: "#07a", + }, + function: { + color: "#DD4A68", + }, + "class-name": { + color: "#DD4A68", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "bold", + }, + variable: { + color: "#e90", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Da)), + Da + ); } -var Fa = {}, T1; +var La = {}, + M1; +function v4() { + return ( + M1 || + ((M1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#2b2b2b", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2b2b2b", + padding: "0.1em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "#d4d0ab", + }, + prolog: { + color: "#d4d0ab", + }, + doctype: { + color: "#d4d0ab", + }, + cdata: { + color: "#d4d0ab", + }, + punctuation: { + color: "#fefefe", + }, + property: { + color: "#ffa07a", + }, + tag: { + color: "#ffa07a", + }, + constant: { + color: "#ffa07a", + }, + symbol: { + color: "#ffa07a", + }, + deleted: { + color: "#ffa07a", + }, + boolean: { + color: "#00e0e0", + }, + number: { + color: "#00e0e0", + }, + selector: { + color: "#abe338", + }, + "attr-name": { + color: "#abe338", + }, + string: { + color: "#abe338", + }, + char: { + color: "#abe338", + }, + builtin: { + color: "#abe338", + }, + inserted: { + color: "#abe338", + }, + operator: { + color: "#00e0e0", + }, + entity: { + color: "#00e0e0", + cursor: "help", + }, + url: { + color: "#00e0e0", + }, + ".language-css .token.string": { + color: "#00e0e0", + }, + ".style .token.string": { + color: "#00e0e0", + }, + variable: { + color: "#00e0e0", + }, + atrule: { + color: "#ffd700", + }, + "attr-value": { + color: "#ffd700", + }, + function: { + color: "#ffd700", + }, + keyword: { + color: "#00e0e0", + }, + regex: { + color: "#ffd700", + }, + important: { + color: "#ffd700", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(La)), + La + ); +} +var Fa = {}, + T1; function x4() { - return T1 || (T1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#c5c8c6", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#c5c8c6", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - borderRadius: "0.3em", - background: "#1d1f21" - }, - ':not(pre) > code[class*="language-"]': { - background: "#1d1f21", - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#7C7C7C" - }, - prolog: { - color: "#7C7C7C" - }, - doctype: { - color: "#7C7C7C" - }, - cdata: { - color: "#7C7C7C" - }, - punctuation: { - color: "#c5c8c6" - }, - ".namespace": { - Opacity: ".7" - }, - property: { - color: "#96CBFE" - }, - keyword: { - color: "#96CBFE" - }, - tag: { - color: "#96CBFE" - }, - "class-name": { - color: "#FFFFB6", - textDecoration: "underline" - }, - boolean: { - color: "#99CC99" - }, - constant: { - color: "#99CC99" - }, - symbol: { - color: "#f92672" - }, - deleted: { - color: "#f92672" - }, - number: { - color: "#FF73FD" - }, - selector: { - color: "#A8FF60" - }, - "attr-name": { - color: "#A8FF60" - }, - string: { - color: "#A8FF60" - }, - char: { - color: "#A8FF60" - }, - builtin: { - color: "#A8FF60" - }, - inserted: { - color: "#A8FF60" - }, - variable: { - color: "#C6C5FE" - }, - operator: { - color: "#EDEDED" - }, - entity: { - color: "#FFFFB6", - cursor: "help" - }, - url: { - color: "#96CBFE" - }, - ".language-css .token.string": { - color: "#87C38A" - }, - ".style .token.string": { - color: "#87C38A" - }, - atrule: { - color: "#F9EE98" - }, - "attr-value": { - color: "#F9EE98" - }, - function: { - color: "#DAD085" - }, - regex: { - color: "#E9C062" - }, - important: { - color: "#fd971f", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(Fa)), Fa; + return ( + T1 || + ((T1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#c5c8c6", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#c5c8c6", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + background: "#1d1f21", + }, + ':not(pre) > code[class*="language-"]': { + background: "#1d1f21", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#7C7C7C", + }, + prolog: { + color: "#7C7C7C", + }, + doctype: { + color: "#7C7C7C", + }, + cdata: { + color: "#7C7C7C", + }, + punctuation: { + color: "#c5c8c6", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#96CBFE", + }, + keyword: { + color: "#96CBFE", + }, + tag: { + color: "#96CBFE", + }, + "class-name": { + color: "#FFFFB6", + textDecoration: "underline", + }, + boolean: { + color: "#99CC99", + }, + constant: { + color: "#99CC99", + }, + symbol: { + color: "#f92672", + }, + deleted: { + color: "#f92672", + }, + number: { + color: "#FF73FD", + }, + selector: { + color: "#A8FF60", + }, + "attr-name": { + color: "#A8FF60", + }, + string: { + color: "#A8FF60", + }, + char: { + color: "#A8FF60", + }, + builtin: { + color: "#A8FF60", + }, + inserted: { + color: "#A8FF60", + }, + variable: { + color: "#C6C5FE", + }, + operator: { + color: "#EDEDED", + }, + entity: { + color: "#FFFFB6", + cursor: "help", + }, + url: { + color: "#96CBFE", + }, + ".language-css .token.string": { + color: "#87C38A", + }, + ".style .token.string": { + color: "#87C38A", + }, + atrule: { + color: "#F9EE98", + }, + "attr-value": { + color: "#F9EE98", + }, + function: { + color: "#DAD085", + }, + regex: { + color: "#E9C062", + }, + important: { + color: "#fd971f", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Fa)), + Fa + ); } -var Ra = {}, O1; +var Ra = {}, + O1; function w4() { - return O1 || (O1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#f5f7ff", - color: "#5e6687" - }, - 'pre[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#f5f7ff", - color: "#5e6687", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#dfe2f1" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#dfe2f1" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#dfe2f1" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#dfe2f1" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#dfe2f1" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#dfe2f1" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#dfe2f1" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#dfe2f1" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#898ea4" - }, - prolog: { - color: "#898ea4" - }, - doctype: { - color: "#898ea4" - }, - cdata: { - color: "#898ea4" - }, - punctuation: { - color: "#5e6687" - }, - namespace: { - Opacity: ".7" - }, - operator: { - color: "#c76b29" - }, - boolean: { - color: "#c76b29" - }, - number: { - color: "#c76b29" - }, - property: { - color: "#c08b30" - }, - tag: { - color: "#3d8fd1" - }, - string: { - color: "#22a2c9" - }, - selector: { - color: "#6679cc" - }, - "attr-name": { - color: "#c76b29" - }, - entity: { - color: "#22a2c9", - cursor: "help" - }, - url: { - color: "#22a2c9" - }, - ".language-css .token.string": { - color: "#22a2c9" - }, - ".style .token.string": { - color: "#22a2c9" - }, - "attr-value": { - color: "#ac9739" - }, - keyword: { - color: "#ac9739" - }, - control: { - color: "#ac9739" - }, - directive: { - color: "#ac9739" - }, - unit: { - color: "#ac9739" - }, - statement: { - color: "#22a2c9" - }, - regex: { - color: "#22a2c9" - }, - atrule: { - color: "#22a2c9" - }, - placeholder: { - color: "#3d8fd1" - }, - variable: { - color: "#3d8fd1" - }, - deleted: { - textDecoration: "line-through" - }, - inserted: { - borderBottom: "1px dotted #202746", - textDecoration: "none" - }, - italic: { - fontStyle: "italic" - }, - important: { - fontWeight: "bold", - color: "#c94922" - }, - bold: { - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: "0.4em solid #c94922", - OutlineOffset: ".4em" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#dfe2f1" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#979db4" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))" - } - }; - e.default = t; - }(Ra)), Ra; -} -var ja = {}, N1; -function E4() { - return N1 || (N1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#fff", - textShadow: "0 1px 1px #000", - fontFamily: 'Menlo, Monaco, "Courier New", monospace', - direction: "ltr", - textAlign: "left", - wordSpacing: "normal", - whiteSpace: "pre", - wordWrap: "normal", - lineHeight: "1.4", - background: "none", - border: "0", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#fff", - textShadow: "0 1px 1px #000", - fontFamily: 'Menlo, Monaco, "Courier New", monospace', - direction: "ltr", - textAlign: "left", - wordSpacing: "normal", - whiteSpace: "pre", - wordWrap: "normal", - lineHeight: "1.4", - background: "#222", - border: "0", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "15px", - margin: "1em 0", - overflow: "auto", - MozBorderRadius: "8px", - WebkitBorderRadius: "8px", - borderRadius: "8px" - }, - 'pre[class*="language-"] code': { - float: "left", - padding: "0 15px 0 0" - }, - ':not(pre) > code[class*="language-"]': { - background: "#222", - padding: "5px 10px", - lineHeight: "1", - MozBorderRadius: "3px", - WebkitBorderRadius: "3px", - borderRadius: "3px" - }, - comment: { - color: "#797979" - }, - prolog: { - color: "#797979" - }, - doctype: { - color: "#797979" - }, - cdata: { - color: "#797979" - }, - selector: { - color: "#fff" - }, - operator: { - color: "#fff" - }, - punctuation: { - color: "#fff" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "#ffd893" - }, - boolean: { - color: "#ffd893" - }, - atrule: { - color: "#B0C975" - }, - "attr-value": { - color: "#B0C975" - }, - hex: { - color: "#B0C975" - }, - string: { - color: "#B0C975" - }, - property: { - color: "#c27628" - }, - entity: { - color: "#c27628", - cursor: "help" - }, - url: { - color: "#c27628" - }, - "attr-name": { - color: "#c27628" - }, - keyword: { - color: "#c27628" - }, - regex: { - color: "#9B71C6" - }, - function: { - color: "#e5a638" - }, - constant: { - color: "#e5a638" - }, - variable: { - color: "#fdfba8" - }, - number: { - color: "#8799B0" - }, - important: { - color: "#E45734" - }, - deliminator: { - color: "#E45734" - }, - ".line-highlight.line-highlight": { - background: "rgba(255, 255, 255, .2)" - }, - ".line-highlight.line-highlight:before": { - top: ".3em", - backgroundColor: "rgba(255, 255, 255, .3)", - color: "#fff", - MozBorderRadius: "8px", - WebkitBorderRadius: "8px", - borderRadius: "8px" - }, - ".line-highlight.line-highlight[data-end]:after": { - top: ".3em", - backgroundColor: "rgba(255, 255, 255, .3)", - color: "#fff", - MozBorderRadius: "8px", - WebkitBorderRadius: "8px", - borderRadius: "8px" - }, - ".line-numbers .line-numbers-rows > span": { - borderRight: "3px #d9d336 solid" - } - }; - e.default = t; - }(ja)), ja; + return ( + O1 || + ((O1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#f5f7ff", + color: "#5e6687", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#f5f7ff", + color: "#5e6687", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#dfe2f1", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#898ea4", + }, + prolog: { + color: "#898ea4", + }, + doctype: { + color: "#898ea4", + }, + cdata: { + color: "#898ea4", + }, + punctuation: { + color: "#5e6687", + }, + namespace: { + Opacity: ".7", + }, + operator: { + color: "#c76b29", + }, + boolean: { + color: "#c76b29", + }, + number: { + color: "#c76b29", + }, + property: { + color: "#c08b30", + }, + tag: { + color: "#3d8fd1", + }, + string: { + color: "#22a2c9", + }, + selector: { + color: "#6679cc", + }, + "attr-name": { + color: "#c76b29", + }, + entity: { + color: "#22a2c9", + cursor: "help", + }, + url: { + color: "#22a2c9", + }, + ".language-css .token.string": { + color: "#22a2c9", + }, + ".style .token.string": { + color: "#22a2c9", + }, + "attr-value": { + color: "#ac9739", + }, + keyword: { + color: "#ac9739", + }, + control: { + color: "#ac9739", + }, + directive: { + color: "#ac9739", + }, + unit: { + color: "#ac9739", + }, + statement: { + color: "#22a2c9", + }, + regex: { + color: "#22a2c9", + }, + atrule: { + color: "#22a2c9", + }, + placeholder: { + color: "#3d8fd1", + }, + variable: { + color: "#3d8fd1", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #202746", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#c94922", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: "0.4em solid #c94922", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#dfe2f1", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#979db4", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))", + }, + }; + e.default = t; + })(Ra)), + Ra + ); } -var Ia = {}, D1; -function S4() { - return D1 || (D1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#111b27", - background: "none", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#111b27", - background: "#e3eaf2", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#8da1b9" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#8da1b9" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#8da1b9" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#8da1b9" - }, - 'pre[class*="language-"]::selection': { - background: "#8da1b9" - }, - 'pre[class*="language-"] ::selection': { - background: "#8da1b9" - }, - 'code[class*="language-"]::selection': { - background: "#8da1b9" - }, - 'code[class*="language-"] ::selection': { - background: "#8da1b9" - }, - ':not(pre) > code[class*="language-"]': { - background: "#e3eaf2", - padding: "0.1em 0.3em", - borderRadius: "0.3em", - whiteSpace: "normal" - }, - comment: { - color: "#3c526d" - }, - prolog: { - color: "#3c526d" - }, - doctype: { - color: "#3c526d" - }, - cdata: { - color: "#3c526d" - }, - punctuation: { - color: "#111b27" - }, - "delimiter.important": { - color: "#006d6d", - fontWeight: "inherit" - }, - "selector.parent": { - color: "#006d6d" - }, - tag: { - color: "#006d6d" - }, - "tag.punctuation": { - color: "#006d6d" - }, - "attr-name": { - color: "#755f00" - }, - boolean: { - color: "#755f00" - }, - "boolean.important": { - color: "#755f00" - }, - number: { - color: "#755f00" - }, - constant: { - color: "#755f00" - }, - "selector.attribute": { - color: "#755f00" - }, - "class-name": { - color: "#005a8e" - }, - key: { - color: "#005a8e" - }, - parameter: { - color: "#005a8e" - }, - property: { - color: "#005a8e" - }, - "property-access": { - color: "#005a8e" - }, - variable: { - color: "#005a8e" - }, - "attr-value": { - color: "#116b00" - }, - inserted: { - color: "#116b00" - }, - color: { - color: "#116b00" - }, - "selector.value": { - color: "#116b00" - }, - string: { - color: "#116b00" - }, - "string.url-link": { - color: "#116b00" - }, - builtin: { - color: "#af00af" - }, - "keyword-array": { - color: "#af00af" - }, - package: { - color: "#af00af" - }, - regex: { - color: "#af00af" - }, - function: { - color: "#7c00aa" - }, - "selector.class": { - color: "#7c00aa" - }, - "selector.id": { - color: "#7c00aa" - }, - "atrule.rule": { - color: "#a04900" - }, - combinator: { - color: "#a04900" - }, - keyword: { - color: "#a04900" - }, - operator: { - color: "#a04900" - }, - "pseudo-class": { - color: "#a04900" - }, - "pseudo-element": { - color: "#a04900" - }, - selector: { - color: "#a04900" - }, - unit: { - color: "#a04900" - }, - deleted: { - color: "#c22f2e" - }, - important: { - color: "#c22f2e", - fontWeight: "bold" - }, - "keyword-this": { - color: "#005a8e", - fontWeight: "bold" - }, - this: { - color: "#005a8e", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - entity: { - cursor: "help" - }, - ".language-markdown .token.title": { - color: "#005a8e", - fontWeight: "bold" - }, - ".language-markdown .token.title .token.punctuation": { - color: "#005a8e", - fontWeight: "bold" - }, - ".language-markdown .token.blockquote.punctuation": { - color: "#af00af" - }, - ".language-markdown .token.code": { - color: "#006d6d" - }, - ".language-markdown .token.hr.punctuation": { - color: "#005a8e" - }, - ".language-markdown .token.url > .token.content": { - color: "#116b00" - }, - ".language-markdown .token.url-link": { - color: "#755f00" - }, - ".language-markdown .token.list.punctuation": { - color: "#af00af" - }, - ".language-markdown .token.table-header": { - color: "#111b27" - }, - ".language-json .token.operator": { - color: "#111b27" - }, - ".language-scss .token.variable": { - color: "#006d6d" - }, - "token.tab:not(:empty):before": { - color: "#3c526d" - }, - "token.cr:before": { - color: "#3c526d" - }, - "token.lf:before": { - color: "#3c526d" - }, - "token.space:before": { - color: "#3c526d" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { - color: "#e3eaf2", - background: "#005a8e" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { - color: "#e3eaf2", - background: "#005a8e" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { - color: "#e3eaf2", - background: "#005a8eda", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { - color: "#e3eaf2", - background: "#005a8eda", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": { - color: "#e3eaf2", - background: "#005a8eda", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": { - color: "#e3eaf2", - background: "#005a8eda", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { - color: "#e3eaf2", - background: "#3c526d" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { - color: "#e3eaf2", - background: "#3c526d" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { - color: "#e3eaf2", - background: "#3c526d" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, #8da1b92f 70%, #8da1b925)" - }, - ".line-highlight.line-highlight:before": { - backgroundColor: "#3c526d", - color: "#e3eaf2", - boxShadow: "0 1px #8da1b9" - }, - ".line-highlight.line-highlight[data-end]:after": { - backgroundColor: "#3c526d", - color: "#e3eaf2", - boxShadow: "0 1px #8da1b9" - }, - "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { - backgroundColor: "#3c526d1f" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRight: "1px solid #8da1b97a", - background: "#d0dae77a" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#3c526dda" - }, - ".rainbow-braces .token.token.punctuation.brace-level-1": { - color: "#755f00" - }, - ".rainbow-braces .token.token.punctuation.brace-level-5": { - color: "#755f00" - }, - ".rainbow-braces .token.token.punctuation.brace-level-9": { - color: "#755f00" - }, - ".rainbow-braces .token.token.punctuation.brace-level-2": { - color: "#af00af" - }, - ".rainbow-braces .token.token.punctuation.brace-level-6": { - color: "#af00af" - }, - ".rainbow-braces .token.token.punctuation.brace-level-10": { - color: "#af00af" - }, - ".rainbow-braces .token.token.punctuation.brace-level-3": { - color: "#005a8e" - }, - ".rainbow-braces .token.token.punctuation.brace-level-7": { - color: "#005a8e" - }, - ".rainbow-braces .token.token.punctuation.brace-level-11": { - color: "#005a8e" - }, - ".rainbow-braces .token.token.punctuation.brace-level-4": { - color: "#7c00aa" - }, - ".rainbow-braces .token.token.punctuation.brace-level-8": { - color: "#7c00aa" - }, - ".rainbow-braces .token.token.punctuation.brace-level-12": { - color: "#7c00aa" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { - backgroundColor: "#c22f2e1f" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { - backgroundColor: "#c22f2e1f" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { - backgroundColor: "#116b001f" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { - backgroundColor: "#116b001f" - }, - ".command-line .command-line-prompt": { - borderRight: "1px solid #8da1b97a" - }, - ".command-line .command-line-prompt > span:before": { - color: "#3c526dda" - } - }; - e.default = t; - }(Ia)), Ia; +var ja = {}, + N1; +function E4() { + return ( + N1 || + ((N1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#fff", + textShadow: "0 1px 1px #000", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + whiteSpace: "pre", + wordWrap: "normal", + lineHeight: "1.4", + background: "none", + border: "0", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#fff", + textShadow: "0 1px 1px #000", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + whiteSpace: "pre", + wordWrap: "normal", + lineHeight: "1.4", + background: "#222", + border: "0", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "15px", + margin: "1em 0", + overflow: "auto", + MozBorderRadius: "8px", + WebkitBorderRadius: "8px", + borderRadius: "8px", + }, + 'pre[class*="language-"] code': { + float: "left", + padding: "0 15px 0 0", + }, + ':not(pre) > code[class*="language-"]': { + background: "#222", + padding: "5px 10px", + lineHeight: "1", + MozBorderRadius: "3px", + WebkitBorderRadius: "3px", + borderRadius: "3px", + }, + comment: { + color: "#797979", + }, + prolog: { + color: "#797979", + }, + doctype: { + color: "#797979", + }, + cdata: { + color: "#797979", + }, + selector: { + color: "#fff", + }, + operator: { + color: "#fff", + }, + punctuation: { + color: "#fff", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#ffd893", + }, + boolean: { + color: "#ffd893", + }, + atrule: { + color: "#B0C975", + }, + "attr-value": { + color: "#B0C975", + }, + hex: { + color: "#B0C975", + }, + string: { + color: "#B0C975", + }, + property: { + color: "#c27628", + }, + entity: { + color: "#c27628", + cursor: "help", + }, + url: { + color: "#c27628", + }, + "attr-name": { + color: "#c27628", + }, + keyword: { + color: "#c27628", + }, + regex: { + color: "#9B71C6", + }, + function: { + color: "#e5a638", + }, + constant: { + color: "#e5a638", + }, + variable: { + color: "#fdfba8", + }, + number: { + color: "#8799B0", + }, + important: { + color: "#E45734", + }, + deliminator: { + color: "#E45734", + }, + ".line-highlight.line-highlight": { + background: "rgba(255, 255, 255, .2)", + }, + ".line-highlight.line-highlight:before": { + top: ".3em", + backgroundColor: "rgba(255, 255, 255, .3)", + color: "#fff", + MozBorderRadius: "8px", + WebkitBorderRadius: "8px", + borderRadius: "8px", + }, + ".line-highlight.line-highlight[data-end]:after": { + top: ".3em", + backgroundColor: "rgba(255, 255, 255, .3)", + color: "#fff", + MozBorderRadius: "8px", + WebkitBorderRadius: "8px", + borderRadius: "8px", + }, + ".line-numbers .line-numbers-rows > span": { + borderRight: "3px #d9d336 solid", + }, + }; + e.default = t; + })(ja)), + ja + ); } -var za = {}, L1; -function k4() { - return L1 || (L1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#e3eaf2", - background: "none", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#e3eaf2", - background: "#111b27", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#3c526d" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#3c526d" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#3c526d" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#3c526d" - }, - 'pre[class*="language-"]::selection': { - background: "#3c526d" - }, - 'pre[class*="language-"] ::selection': { - background: "#3c526d" - }, - 'code[class*="language-"]::selection': { - background: "#3c526d" - }, - 'code[class*="language-"] ::selection': { - background: "#3c526d" - }, - ':not(pre) > code[class*="language-"]': { - background: "#111b27", - padding: "0.1em 0.3em", - borderRadius: "0.3em", - whiteSpace: "normal" - }, - comment: { - color: "#8da1b9" - }, - prolog: { - color: "#8da1b9" - }, - doctype: { - color: "#8da1b9" - }, - cdata: { - color: "#8da1b9" - }, - punctuation: { - color: "#e3eaf2" - }, - "delimiter.important": { - color: "#66cccc", - fontWeight: "inherit" - }, - "selector.parent": { - color: "#66cccc" - }, - tag: { - color: "#66cccc" - }, - "tag.punctuation": { - color: "#66cccc" - }, - "attr-name": { - color: "#e6d37a" - }, - boolean: { - color: "#e6d37a" - }, - "boolean.important": { - color: "#e6d37a" - }, - number: { - color: "#e6d37a" - }, - constant: { - color: "#e6d37a" - }, - "selector.attribute": { - color: "#e6d37a" - }, - "class-name": { - color: "#6cb8e6" - }, - key: { - color: "#6cb8e6" - }, - parameter: { - color: "#6cb8e6" - }, - property: { - color: "#6cb8e6" - }, - "property-access": { - color: "#6cb8e6" - }, - variable: { - color: "#6cb8e6" - }, - "attr-value": { - color: "#91d076" - }, - inserted: { - color: "#91d076" - }, - color: { - color: "#91d076" - }, - "selector.value": { - color: "#91d076" - }, - string: { - color: "#91d076" - }, - "string.url-link": { - color: "#91d076" - }, - builtin: { - color: "#f4adf4" - }, - "keyword-array": { - color: "#f4adf4" - }, - package: { - color: "#f4adf4" - }, - regex: { - color: "#f4adf4" - }, - function: { - color: "#c699e3" - }, - "selector.class": { - color: "#c699e3" - }, - "selector.id": { - color: "#c699e3" - }, - "atrule.rule": { - color: "#e9ae7e" - }, - combinator: { - color: "#e9ae7e" - }, - keyword: { - color: "#e9ae7e" - }, - operator: { - color: "#e9ae7e" - }, - "pseudo-class": { - color: "#e9ae7e" - }, - "pseudo-element": { - color: "#e9ae7e" - }, - selector: { - color: "#e9ae7e" - }, - unit: { - color: "#e9ae7e" - }, - deleted: { - color: "#cd6660" - }, - important: { - color: "#cd6660", - fontWeight: "bold" - }, - "keyword-this": { - color: "#6cb8e6", - fontWeight: "bold" - }, - this: { - color: "#6cb8e6", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - entity: { - cursor: "help" - }, - ".language-markdown .token.title": { - color: "#6cb8e6", - fontWeight: "bold" - }, - ".language-markdown .token.title .token.punctuation": { - color: "#6cb8e6", - fontWeight: "bold" - }, - ".language-markdown .token.blockquote.punctuation": { - color: "#f4adf4" - }, - ".language-markdown .token.code": { - color: "#66cccc" - }, - ".language-markdown .token.hr.punctuation": { - color: "#6cb8e6" - }, - ".language-markdown .token.url .token.content": { - color: "#91d076" - }, - ".language-markdown .token.url-link": { - color: "#e6d37a" - }, - ".language-markdown .token.list.punctuation": { - color: "#f4adf4" - }, - ".language-markdown .token.table-header": { - color: "#e3eaf2" - }, - ".language-json .token.operator": { - color: "#e3eaf2" - }, - ".language-scss .token.variable": { - color: "#66cccc" - }, - "token.tab:not(:empty):before": { - color: "#8da1b9" - }, - "token.cr:before": { - color: "#8da1b9" - }, - "token.lf:before": { - color: "#8da1b9" - }, - "token.space:before": { - color: "#8da1b9" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { - color: "#111b27", - background: "#6cb8e6" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { - color: "#111b27", - background: "#6cb8e6" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { - color: "#111b27", - background: "#6cb8e6da", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { - color: "#111b27", - background: "#6cb8e6da", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": { - color: "#111b27", - background: "#6cb8e6da", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": { - color: "#111b27", - background: "#6cb8e6da", - textDecoration: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { - color: "#111b27", - background: "#8da1b9" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { - color: "#111b27", - background: "#8da1b9" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { - color: "#111b27", - background: "#8da1b9" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, #3c526d5f 70%, #3c526d55)" - }, - ".line-highlight.line-highlight:before": { - backgroundColor: "#8da1b9", - color: "#111b27", - boxShadow: "0 1px #3c526d" - }, - ".line-highlight.line-highlight[data-end]:after": { - backgroundColor: "#8da1b9", - color: "#111b27", - boxShadow: "0 1px #3c526d" - }, - "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { - backgroundColor: "#8da1b918" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRight: "1px solid #0b121b", - background: "#0b121b7a" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#8da1b9da" - }, - ".rainbow-braces .token.token.punctuation.brace-level-1": { - color: "#e6d37a" - }, - ".rainbow-braces .token.token.punctuation.brace-level-5": { - color: "#e6d37a" - }, - ".rainbow-braces .token.token.punctuation.brace-level-9": { - color: "#e6d37a" - }, - ".rainbow-braces .token.token.punctuation.brace-level-2": { - color: "#f4adf4" - }, - ".rainbow-braces .token.token.punctuation.brace-level-6": { - color: "#f4adf4" - }, - ".rainbow-braces .token.token.punctuation.brace-level-10": { - color: "#f4adf4" - }, - ".rainbow-braces .token.token.punctuation.brace-level-3": { - color: "#6cb8e6" - }, - ".rainbow-braces .token.token.punctuation.brace-level-7": { - color: "#6cb8e6" - }, - ".rainbow-braces .token.token.punctuation.brace-level-11": { - color: "#6cb8e6" - }, - ".rainbow-braces .token.token.punctuation.brace-level-4": { - color: "#c699e3" - }, - ".rainbow-braces .token.token.punctuation.brace-level-8": { - color: "#c699e3" - }, - ".rainbow-braces .token.token.punctuation.brace-level-12": { - color: "#c699e3" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { - backgroundColor: "#cd66601f" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { - backgroundColor: "#cd66601f" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { - backgroundColor: "#91d0761f" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { - backgroundColor: "#91d0761f" - }, - ".command-line .command-line-prompt": { - borderRight: "1px solid #0b121b" - }, - ".command-line .command-line-prompt > span:before": { - color: "#8da1b9da" - } - }; - e.default = t; - }(za)), za; -} -var Ha = {}, F1; -function _4() { - return F1 || (F1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "black", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "black", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - position: "relative", - borderLeft: "10px solid #358ccb", - boxShadow: "-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf", - backgroundColor: "#fdfdfd", - backgroundImage: "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)", - backgroundSize: "3em 3em", - backgroundOrigin: "content-box", - backgroundAttachment: "local", - margin: ".5em 0", - padding: "0 1em" - }, - 'pre[class*="language-"] > code': { - display: "block" - }, - ':not(pre) > code[class*="language-"]': { - position: "relative", - padding: ".2em", - borderRadius: "0.3em", - color: "#c92c2c", - border: "1px solid rgba(0, 0, 0, 0.1)", - display: "inline", - whiteSpace: "normal", - backgroundColor: "#fdfdfd", - WebkitBoxSizing: "border-box", - MozBoxSizing: "border-box", - boxSizing: "border-box" - }, - comment: { - color: "#7D8B99" - }, - "block-comment": { - color: "#7D8B99" - }, - prolog: { - color: "#7D8B99" - }, - doctype: { - color: "#7D8B99" - }, - cdata: { - color: "#7D8B99" - }, - punctuation: { - color: "#5F6364" - }, - property: { - color: "#c92c2c" - }, - tag: { - color: "#c92c2c" - }, - boolean: { - color: "#c92c2c" - }, - number: { - color: "#c92c2c" - }, - "function-name": { - color: "#c92c2c" - }, - constant: { - color: "#c92c2c" - }, - symbol: { - color: "#c92c2c" - }, - deleted: { - color: "#c92c2c" - }, - selector: { - color: "#2f9c0a" - }, - "attr-name": { - color: "#2f9c0a" - }, - string: { - color: "#2f9c0a" - }, - char: { - color: "#2f9c0a" - }, - function: { - color: "#2f9c0a" - }, - builtin: { - color: "#2f9c0a" - }, - inserted: { - color: "#2f9c0a" - }, - operator: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - entity: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)", - cursor: "help" - }, - url: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - variable: { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - atrule: { - color: "#1990b8" - }, - "attr-value": { - color: "#1990b8" - }, - keyword: { - color: "#1990b8" - }, - "class-name": { - color: "#1990b8" - }, - regex: { - color: "#e90" - }, - important: { - color: "#e90", - fontWeight: "normal" - }, - ".language-css .token.string": { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - ".style .token.string": { - color: "#a67f59", - background: "rgba(255, 255, 255, 0.5)" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - namespace: { - Opacity: ".7" - } - }; - e.default = t; - }(Ha)), Ha; +var Ia = {}, + D1; +function S4() { + return ( + D1 || + ((D1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#111b27", + background: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#111b27", + background: "#e3eaf2", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#8da1b9", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#8da1b9", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#8da1b9", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#8da1b9", + }, + 'pre[class*="language-"]::selection': { + background: "#8da1b9", + }, + 'pre[class*="language-"] ::selection': { + background: "#8da1b9", + }, + 'code[class*="language-"]::selection': { + background: "#8da1b9", + }, + 'code[class*="language-"] ::selection': { + background: "#8da1b9", + }, + ':not(pre) > code[class*="language-"]': { + background: "#e3eaf2", + padding: "0.1em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "#3c526d", + }, + prolog: { + color: "#3c526d", + }, + doctype: { + color: "#3c526d", + }, + cdata: { + color: "#3c526d", + }, + punctuation: { + color: "#111b27", + }, + "delimiter.important": { + color: "#006d6d", + fontWeight: "inherit", + }, + "selector.parent": { + color: "#006d6d", + }, + tag: { + color: "#006d6d", + }, + "tag.punctuation": { + color: "#006d6d", + }, + "attr-name": { + color: "#755f00", + }, + boolean: { + color: "#755f00", + }, + "boolean.important": { + color: "#755f00", + }, + number: { + color: "#755f00", + }, + constant: { + color: "#755f00", + }, + "selector.attribute": { + color: "#755f00", + }, + "class-name": { + color: "#005a8e", + }, + key: { + color: "#005a8e", + }, + parameter: { + color: "#005a8e", + }, + property: { + color: "#005a8e", + }, + "property-access": { + color: "#005a8e", + }, + variable: { + color: "#005a8e", + }, + "attr-value": { + color: "#116b00", + }, + inserted: { + color: "#116b00", + }, + color: { + color: "#116b00", + }, + "selector.value": { + color: "#116b00", + }, + string: { + color: "#116b00", + }, + "string.url-link": { + color: "#116b00", + }, + builtin: { + color: "#af00af", + }, + "keyword-array": { + color: "#af00af", + }, + package: { + color: "#af00af", + }, + regex: { + color: "#af00af", + }, + function: { + color: "#7c00aa", + }, + "selector.class": { + color: "#7c00aa", + }, + "selector.id": { + color: "#7c00aa", + }, + "atrule.rule": { + color: "#a04900", + }, + combinator: { + color: "#a04900", + }, + keyword: { + color: "#a04900", + }, + operator: { + color: "#a04900", + }, + "pseudo-class": { + color: "#a04900", + }, + "pseudo-element": { + color: "#a04900", + }, + selector: { + color: "#a04900", + }, + unit: { + color: "#a04900", + }, + deleted: { + color: "#c22f2e", + }, + important: { + color: "#c22f2e", + fontWeight: "bold", + }, + "keyword-this": { + color: "#005a8e", + fontWeight: "bold", + }, + this: { + color: "#005a8e", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + entity: { + cursor: "help", + }, + ".language-markdown .token.title": { + color: "#005a8e", + fontWeight: "bold", + }, + ".language-markdown .token.title .token.punctuation": { + color: "#005a8e", + fontWeight: "bold", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "#af00af", + }, + ".language-markdown .token.code": { + color: "#006d6d", + }, + ".language-markdown .token.hr.punctuation": { + color: "#005a8e", + }, + ".language-markdown .token.url > .token.content": { + color: "#116b00", + }, + ".language-markdown .token.url-link": { + color: "#755f00", + }, + ".language-markdown .token.list.punctuation": { + color: "#af00af", + }, + ".language-markdown .token.table-header": { + color: "#111b27", + }, + ".language-json .token.operator": { + color: "#111b27", + }, + ".language-scss .token.variable": { + color: "#006d6d", + }, + "token.tab:not(:empty):before": { + color: "#3c526d", + }, + "token.cr:before": { + color: "#3c526d", + }, + "token.lf:before": { + color: "#3c526d", + }, + "token.space:before": { + color: "#3c526d", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + color: "#e3eaf2", + background: "#005a8e", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + color: "#e3eaf2", + background: "#005a8e", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + color: "#e3eaf2", + background: "#005a8eda", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + color: "#e3eaf2", + background: "#3c526d", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + color: "#e3eaf2", + background: "#3c526d", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + color: "#e3eaf2", + background: "#3c526d", + }, + ".line-highlight.line-highlight": { + background: "linear-gradient(to right, #8da1b92f 70%, #8da1b925)", + }, + ".line-highlight.line-highlight:before": { + backgroundColor: "#3c526d", + color: "#e3eaf2", + boxShadow: "0 1px #8da1b9", + }, + ".line-highlight.line-highlight[data-end]:after": { + backgroundColor: "#3c526d", + color: "#e3eaf2", + boxShadow: "0 1px #8da1b9", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "#3c526d1f", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRight: "1px solid #8da1b97a", + background: "#d0dae77a", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#3c526dda", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "#755f00", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "#755f00", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "#755f00", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "#af00af", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "#af00af", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "#af00af", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "#005a8e", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "#005a8e", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "#005a8e", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "#7c00aa", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "#7c00aa", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "#7c00aa", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "#c22f2e1f", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "#c22f2e1f", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "#116b001f", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "#116b001f", + }, + ".command-line .command-line-prompt": { + borderRight: "1px solid #8da1b97a", + }, + ".command-line .command-line-prompt > span:before": { + color: "#3c526dda", + }, + }; + e.default = t; + })(Ia)), + Ia + ); } -var Pa = {}, R1; -function A4() { - return R1 || (R1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#a9b7c6", - fontFamily: "Consolas, Monaco, 'Andale Mono', monospace", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#a9b7c6", - fontFamily: "Consolas, Monaco, 'Andale Mono', monospace", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - background: "#2b2b2b" - }, - 'pre[class*="language-"]::-moz-selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - 'pre[class*="language-"] ::-moz-selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - 'code[class*="language-"]::-moz-selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - 'code[class*="language-"] ::-moz-selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - 'pre[class*="language-"]::selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - 'pre[class*="language-"] ::selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - 'code[class*="language-"]::selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - 'code[class*="language-"] ::selection': { - color: "inherit", - background: "rgba(33, 66, 131, .85)" - }, - ':not(pre) > code[class*="language-"]': { - background: "#2b2b2b", - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#808080" - }, - prolog: { - color: "#808080" - }, - cdata: { - color: "#808080" - }, - delimiter: { - color: "#cc7832" - }, - boolean: { - color: "#cc7832" - }, - keyword: { - color: "#cc7832" - }, - selector: { - color: "#cc7832" - }, - important: { - color: "#cc7832" - }, - atrule: { - color: "#cc7832" - }, - operator: { - color: "#a9b7c6" - }, - punctuation: { - color: "#a9b7c6" - }, - "attr-name": { - color: "#a9b7c6" - }, - tag: { - color: "#e8bf6a" - }, - "tag.punctuation": { - color: "#e8bf6a" - }, - doctype: { - color: "#e8bf6a" - }, - builtin: { - color: "#e8bf6a" - }, - entity: { - color: "#6897bb" - }, - number: { - color: "#6897bb" - }, - symbol: { - color: "#6897bb" - }, - property: { - color: "#9876aa" - }, - constant: { - color: "#9876aa" - }, - variable: { - color: "#9876aa" - }, - string: { - color: "#6a8759" - }, - char: { - color: "#6a8759" - }, - "attr-value": { - color: "#a5c261" - }, - "attr-value.punctuation": { - color: "#a5c261" - }, - "attr-value.punctuation:first-child": { - color: "#a9b7c6" - }, - url: { - color: "#287bde", - textDecoration: "underline" - }, - function: { - color: "#ffc66d" - }, - regex: { - background: "#364135" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - inserted: { - background: "#294436" - }, - deleted: { - background: "#484a4a" - }, - "code.language-css .token.property": { - color: "#a9b7c6" - }, - "code.language-css .token.property + .token.punctuation": { - color: "#a9b7c6" - }, - "code.language-css .token.id": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.class": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.attribute": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.pseudo-class": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.pseudo-element": { - color: "#ffc66d" - } - }; - e.default = t; - }(Pa)), Pa; +var za = {}, + L1; +function k4() { + return ( + L1 || + ((L1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#e3eaf2", + background: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#e3eaf2", + background: "#111b27", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#3c526d", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#3c526d", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#3c526d", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#3c526d", + }, + 'pre[class*="language-"]::selection': { + background: "#3c526d", + }, + 'pre[class*="language-"] ::selection': { + background: "#3c526d", + }, + 'code[class*="language-"]::selection': { + background: "#3c526d", + }, + 'code[class*="language-"] ::selection': { + background: "#3c526d", + }, + ':not(pre) > code[class*="language-"]': { + background: "#111b27", + padding: "0.1em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "#8da1b9", + }, + prolog: { + color: "#8da1b9", + }, + doctype: { + color: "#8da1b9", + }, + cdata: { + color: "#8da1b9", + }, + punctuation: { + color: "#e3eaf2", + }, + "delimiter.important": { + color: "#66cccc", + fontWeight: "inherit", + }, + "selector.parent": { + color: "#66cccc", + }, + tag: { + color: "#66cccc", + }, + "tag.punctuation": { + color: "#66cccc", + }, + "attr-name": { + color: "#e6d37a", + }, + boolean: { + color: "#e6d37a", + }, + "boolean.important": { + color: "#e6d37a", + }, + number: { + color: "#e6d37a", + }, + constant: { + color: "#e6d37a", + }, + "selector.attribute": { + color: "#e6d37a", + }, + "class-name": { + color: "#6cb8e6", + }, + key: { + color: "#6cb8e6", + }, + parameter: { + color: "#6cb8e6", + }, + property: { + color: "#6cb8e6", + }, + "property-access": { + color: "#6cb8e6", + }, + variable: { + color: "#6cb8e6", + }, + "attr-value": { + color: "#91d076", + }, + inserted: { + color: "#91d076", + }, + color: { + color: "#91d076", + }, + "selector.value": { + color: "#91d076", + }, + string: { + color: "#91d076", + }, + "string.url-link": { + color: "#91d076", + }, + builtin: { + color: "#f4adf4", + }, + "keyword-array": { + color: "#f4adf4", + }, + package: { + color: "#f4adf4", + }, + regex: { + color: "#f4adf4", + }, + function: { + color: "#c699e3", + }, + "selector.class": { + color: "#c699e3", + }, + "selector.id": { + color: "#c699e3", + }, + "atrule.rule": { + color: "#e9ae7e", + }, + combinator: { + color: "#e9ae7e", + }, + keyword: { + color: "#e9ae7e", + }, + operator: { + color: "#e9ae7e", + }, + "pseudo-class": { + color: "#e9ae7e", + }, + "pseudo-element": { + color: "#e9ae7e", + }, + selector: { + color: "#e9ae7e", + }, + unit: { + color: "#e9ae7e", + }, + deleted: { + color: "#cd6660", + }, + important: { + color: "#cd6660", + fontWeight: "bold", + }, + "keyword-this": { + color: "#6cb8e6", + fontWeight: "bold", + }, + this: { + color: "#6cb8e6", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + entity: { + cursor: "help", + }, + ".language-markdown .token.title": { + color: "#6cb8e6", + fontWeight: "bold", + }, + ".language-markdown .token.title .token.punctuation": { + color: "#6cb8e6", + fontWeight: "bold", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "#f4adf4", + }, + ".language-markdown .token.code": { + color: "#66cccc", + }, + ".language-markdown .token.hr.punctuation": { + color: "#6cb8e6", + }, + ".language-markdown .token.url .token.content": { + color: "#91d076", + }, + ".language-markdown .token.url-link": { + color: "#e6d37a", + }, + ".language-markdown .token.list.punctuation": { + color: "#f4adf4", + }, + ".language-markdown .token.table-header": { + color: "#e3eaf2", + }, + ".language-json .token.operator": { + color: "#e3eaf2", + }, + ".language-scss .token.variable": { + color: "#66cccc", + }, + "token.tab:not(:empty):before": { + color: "#8da1b9", + }, + "token.cr:before": { + color: "#8da1b9", + }, + "token.lf:before": { + color: "#8da1b9", + }, + "token.space:before": { + color: "#8da1b9", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + color: "#111b27", + background: "#6cb8e6", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + color: "#111b27", + background: "#6cb8e6", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + color: "#111b27", + background: "#6cb8e6da", + textDecoration: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + color: "#111b27", + background: "#8da1b9", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + color: "#111b27", + background: "#8da1b9", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + color: "#111b27", + background: "#8da1b9", + }, + ".line-highlight.line-highlight": { + background: "linear-gradient(to right, #3c526d5f 70%, #3c526d55)", + }, + ".line-highlight.line-highlight:before": { + backgroundColor: "#8da1b9", + color: "#111b27", + boxShadow: "0 1px #3c526d", + }, + ".line-highlight.line-highlight[data-end]:after": { + backgroundColor: "#8da1b9", + color: "#111b27", + boxShadow: "0 1px #3c526d", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "#8da1b918", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRight: "1px solid #0b121b", + background: "#0b121b7a", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#8da1b9da", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "#e6d37a", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "#e6d37a", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "#e6d37a", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "#f4adf4", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "#f4adf4", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "#f4adf4", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "#6cb8e6", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "#6cb8e6", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "#6cb8e6", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "#c699e3", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "#c699e3", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "#c699e3", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "#cd66601f", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "#cd66601f", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "#91d0761f", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "#91d0761f", + }, + ".command-line .command-line-prompt": { + borderRight: "1px solid #0b121b", + }, + ".command-line .command-line-prompt > span:before": { + color: "#8da1b9da", + }, + }; + e.default = t; + })(za)), + za + ); } -var Ba = {}, j1; -function M4() { - return j1 || (j1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#f8f8f2", - background: "none", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#f8f8f2", - background: "#282a36", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - borderRadius: "0.3em" - }, - ':not(pre) > code[class*="language-"]': { - background: "#282a36", - padding: ".1em", - borderRadius: ".3em", - whiteSpace: "normal" - }, - comment: { - color: "#6272a4" - }, - prolog: { - color: "#6272a4" - }, - doctype: { - color: "#6272a4" - }, - cdata: { - color: "#6272a4" - }, - punctuation: { - color: "#f8f8f2" - }, - ".namespace": { - Opacity: ".7" - }, - property: { - color: "#ff79c6" - }, - tag: { - color: "#ff79c6" - }, - constant: { - color: "#ff79c6" - }, - symbol: { - color: "#ff79c6" - }, - deleted: { - color: "#ff79c6" - }, - boolean: { - color: "#bd93f9" - }, - number: { - color: "#bd93f9" - }, - selector: { - color: "#50fa7b" - }, - "attr-name": { - color: "#50fa7b" - }, - string: { - color: "#50fa7b" - }, - char: { - color: "#50fa7b" - }, - builtin: { - color: "#50fa7b" - }, - inserted: { - color: "#50fa7b" - }, - operator: { - color: "#f8f8f2" - }, - entity: { - color: "#f8f8f2", - cursor: "help" - }, - url: { - color: "#f8f8f2" - }, - ".language-css .token.string": { - color: "#f8f8f2" - }, - ".style .token.string": { - color: "#f8f8f2" - }, - variable: { - color: "#f8f8f2" - }, - atrule: { - color: "#f1fa8c" - }, - "attr-value": { - color: "#f1fa8c" - }, - function: { - color: "#f1fa8c" - }, - "class-name": { - color: "#f1fa8c" - }, - keyword: { - color: "#8be9fd" - }, - regex: { - color: "#ffb86c" - }, - important: { - color: "#ffb86c", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(Ba)), Ba; +var Ha = {}, + F1; +function _4() { + return ( + F1 || + ((F1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "black", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + position: "relative", + borderLeft: "10px solid #358ccb", + boxShadow: "-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf", + backgroundColor: "#fdfdfd", + backgroundImage: + "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)", + backgroundSize: "3em 3em", + backgroundOrigin: "content-box", + backgroundAttachment: "local", + margin: ".5em 0", + padding: "0 1em", + }, + 'pre[class*="language-"] > code': { + display: "block", + }, + ':not(pre) > code[class*="language-"]': { + position: "relative", + padding: ".2em", + borderRadius: "0.3em", + color: "#c92c2c", + border: "1px solid rgba(0, 0, 0, 0.1)", + display: "inline", + whiteSpace: "normal", + backgroundColor: "#fdfdfd", + WebkitBoxSizing: "border-box", + MozBoxSizing: "border-box", + boxSizing: "border-box", + }, + comment: { + color: "#7D8B99", + }, + "block-comment": { + color: "#7D8B99", + }, + prolog: { + color: "#7D8B99", + }, + doctype: { + color: "#7D8B99", + }, + cdata: { + color: "#7D8B99", + }, + punctuation: { + color: "#5F6364", + }, + property: { + color: "#c92c2c", + }, + tag: { + color: "#c92c2c", + }, + boolean: { + color: "#c92c2c", + }, + number: { + color: "#c92c2c", + }, + "function-name": { + color: "#c92c2c", + }, + constant: { + color: "#c92c2c", + }, + symbol: { + color: "#c92c2c", + }, + deleted: { + color: "#c92c2c", + }, + selector: { + color: "#2f9c0a", + }, + "attr-name": { + color: "#2f9c0a", + }, + string: { + color: "#2f9c0a", + }, + char: { + color: "#2f9c0a", + }, + function: { + color: "#2f9c0a", + }, + builtin: { + color: "#2f9c0a", + }, + inserted: { + color: "#2f9c0a", + }, + operator: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + entity: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + cursor: "help", + }, + url: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + variable: { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + atrule: { + color: "#1990b8", + }, + "attr-value": { + color: "#1990b8", + }, + keyword: { + color: "#1990b8", + }, + "class-name": { + color: "#1990b8", + }, + regex: { + color: "#e90", + }, + important: { + color: "#e90", + fontWeight: "normal", + }, + ".language-css .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + ".style .token.string": { + color: "#a67f59", + background: "rgba(255, 255, 255, 0.5)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + }; + e.default = t; + })(Ha)), + Ha + ); } -var Va = {}, I1; -function T4() { - return I1 || (I1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#2a2734", - color: "#9a86fd" - }, - 'pre[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#2a2734", - color: "#9a86fd", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#6a51e6" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#6a51e6" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#6a51e6" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#6a51e6" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#6a51e6" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#6a51e6" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#6a51e6" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#6a51e6" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#6c6783" - }, - prolog: { - color: "#6c6783" - }, - doctype: { - color: "#6c6783" - }, - cdata: { - color: "#6c6783" - }, - punctuation: { - color: "#6c6783" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "#e09142" - }, - operator: { - color: "#e09142" - }, - number: { - color: "#e09142" - }, - property: { - color: "#9a86fd" - }, - function: { - color: "#9a86fd" - }, - "tag-id": { - color: "#eeebff" - }, - selector: { - color: "#eeebff" - }, - "atrule-id": { - color: "#eeebff" - }, - "code.language-javascript": { - color: "#c4b9fe" - }, - "attr-name": { - color: "#c4b9fe" - }, - "code.language-css": { - color: "#ffcc99" - }, - "code.language-scss": { - color: "#ffcc99" - }, - boolean: { - color: "#ffcc99" - }, - string: { - color: "#ffcc99" - }, - entity: { - color: "#ffcc99", - cursor: "help" - }, - url: { - color: "#ffcc99" - }, - ".language-css .token.string": { - color: "#ffcc99" - }, - ".language-scss .token.string": { - color: "#ffcc99" - }, - ".style .token.string": { - color: "#ffcc99" - }, - "attr-value": { - color: "#ffcc99" - }, - keyword: { - color: "#ffcc99" - }, - control: { - color: "#ffcc99" - }, - directive: { - color: "#ffcc99" - }, - unit: { - color: "#ffcc99" - }, - statement: { - color: "#ffcc99" - }, - regex: { - color: "#ffcc99" - }, - atrule: { - color: "#ffcc99" - }, - placeholder: { - color: "#ffcc99" - }, - variable: { - color: "#ffcc99" - }, - deleted: { - textDecoration: "line-through" - }, - inserted: { - borderBottom: "1px dotted #eeebff", - textDecoration: "none" - }, - italic: { - fontStyle: "italic" - }, - important: { - fontWeight: "bold", - color: "#c4b9fe" - }, - bold: { - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: ".4em solid #8a75f5", - OutlineOffset: ".4em" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#2c2937" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#3c3949" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))" - } - }; - e.default = t; - }(Va)), Va; -} -var $a = {}, z1; -function O4() { - return z1 || (z1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#322d29", - color: "#88786d" - }, - 'pre[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#322d29", - color: "#88786d", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#6f5849" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#6f5849" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#6f5849" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#6f5849" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#6f5849" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#6f5849" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#6f5849" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#6f5849" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#6a5f58" - }, - prolog: { - color: "#6a5f58" - }, - doctype: { - color: "#6a5f58" - }, - cdata: { - color: "#6a5f58" - }, - punctuation: { - color: "#6a5f58" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "#bfa05a" - }, - operator: { - color: "#bfa05a" - }, - number: { - color: "#bfa05a" - }, - property: { - color: "#88786d" - }, - function: { - color: "#88786d" - }, - "tag-id": { - color: "#fff3eb" - }, - selector: { - color: "#fff3eb" - }, - "atrule-id": { - color: "#fff3eb" - }, - "code.language-javascript": { - color: "#a48774" - }, - "attr-name": { - color: "#a48774" - }, - "code.language-css": { - color: "#fcc440" - }, - "code.language-scss": { - color: "#fcc440" - }, - boolean: { - color: "#fcc440" - }, - string: { - color: "#fcc440" - }, - entity: { - color: "#fcc440", - cursor: "help" - }, - url: { - color: "#fcc440" - }, - ".language-css .token.string": { - color: "#fcc440" - }, - ".language-scss .token.string": { - color: "#fcc440" - }, - ".style .token.string": { - color: "#fcc440" - }, - "attr-value": { - color: "#fcc440" - }, - keyword: { - color: "#fcc440" - }, - control: { - color: "#fcc440" - }, - directive: { - color: "#fcc440" - }, - unit: { - color: "#fcc440" - }, - statement: { - color: "#fcc440" - }, - regex: { - color: "#fcc440" - }, - atrule: { - color: "#fcc440" - }, - placeholder: { - color: "#fcc440" - }, - variable: { - color: "#fcc440" - }, - deleted: { - textDecoration: "line-through" - }, - inserted: { - borderBottom: "1px dotted #fff3eb", - textDecoration: "none" - }, - italic: { - fontStyle: "italic" - }, - important: { - fontWeight: "bold", - color: "#a48774" - }, - bold: { - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: ".4em solid #816d5f", - OutlineOffset: ".4em" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#35302b" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#46403d" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))" - } - }; - e.default = t; - }($a)), $a; +var Pa = {}, + R1; +function A4() { + return ( + R1 || + ((R1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#a9b7c6", + fontFamily: "Consolas, Monaco, 'Andale Mono', monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#a9b7c6", + fontFamily: "Consolas, Monaco, 'Andale Mono', monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + background: "#2b2b2b", + }, + 'pre[class*="language-"]::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'pre[class*="language-"] ::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"]::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"] ::-moz-selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'pre[class*="language-"]::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'pre[class*="language-"] ::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"]::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + 'code[class*="language-"] ::selection': { + color: "inherit", + background: "rgba(33, 66, 131, .85)", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2b2b2b", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#808080", + }, + prolog: { + color: "#808080", + }, + cdata: { + color: "#808080", + }, + delimiter: { + color: "#cc7832", + }, + boolean: { + color: "#cc7832", + }, + keyword: { + color: "#cc7832", + }, + selector: { + color: "#cc7832", + }, + important: { + color: "#cc7832", + }, + atrule: { + color: "#cc7832", + }, + operator: { + color: "#a9b7c6", + }, + punctuation: { + color: "#a9b7c6", + }, + "attr-name": { + color: "#a9b7c6", + }, + tag: { + color: "#e8bf6a", + }, + "tag.punctuation": { + color: "#e8bf6a", + }, + doctype: { + color: "#e8bf6a", + }, + builtin: { + color: "#e8bf6a", + }, + entity: { + color: "#6897bb", + }, + number: { + color: "#6897bb", + }, + symbol: { + color: "#6897bb", + }, + property: { + color: "#9876aa", + }, + constant: { + color: "#9876aa", + }, + variable: { + color: "#9876aa", + }, + string: { + color: "#6a8759", + }, + char: { + color: "#6a8759", + }, + "attr-value": { + color: "#a5c261", + }, + "attr-value.punctuation": { + color: "#a5c261", + }, + "attr-value.punctuation:first-child": { + color: "#a9b7c6", + }, + url: { + color: "#287bde", + textDecoration: "underline", + }, + function: { + color: "#ffc66d", + }, + regex: { + background: "#364135", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#294436", + }, + deleted: { + background: "#484a4a", + }, + "code.language-css .token.property": { + color: "#a9b7c6", + }, + "code.language-css .token.property + .token.punctuation": { + color: "#a9b7c6", + }, + "code.language-css .token.id": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.attribute": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-element": { + color: "#ffc66d", + }, + }; + e.default = t; + })(Pa)), + Pa + ); } -var Wa = {}, H1; -function N4() { - return H1 || (H1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#2a2d2a", - color: "#687d68" - }, - 'pre[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#2a2d2a", - color: "#687d68", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#435643" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#435643" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#435643" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#435643" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#435643" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#435643" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#435643" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#435643" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#535f53" - }, - prolog: { - color: "#535f53" - }, - doctype: { - color: "#535f53" - }, - cdata: { - color: "#535f53" - }, - punctuation: { - color: "#535f53" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "#a2b34d" - }, - operator: { - color: "#a2b34d" - }, - number: { - color: "#a2b34d" - }, - property: { - color: "#687d68" - }, - function: { - color: "#687d68" - }, - "tag-id": { - color: "#f0fff0" - }, - selector: { - color: "#f0fff0" - }, - "atrule-id": { - color: "#f0fff0" - }, - "code.language-javascript": { - color: "#b3d6b3" - }, - "attr-name": { - color: "#b3d6b3" - }, - "code.language-css": { - color: "#e5fb79" - }, - "code.language-scss": { - color: "#e5fb79" - }, - boolean: { - color: "#e5fb79" - }, - string: { - color: "#e5fb79" - }, - entity: { - color: "#e5fb79", - cursor: "help" - }, - url: { - color: "#e5fb79" - }, - ".language-css .token.string": { - color: "#e5fb79" - }, - ".language-scss .token.string": { - color: "#e5fb79" - }, - ".style .token.string": { - color: "#e5fb79" - }, - "attr-value": { - color: "#e5fb79" - }, - keyword: { - color: "#e5fb79" - }, - control: { - color: "#e5fb79" - }, - directive: { - color: "#e5fb79" - }, - unit: { - color: "#e5fb79" - }, - statement: { - color: "#e5fb79" - }, - regex: { - color: "#e5fb79" - }, - atrule: { - color: "#e5fb79" - }, - placeholder: { - color: "#e5fb79" - }, - variable: { - color: "#e5fb79" - }, - deleted: { - textDecoration: "line-through" - }, - inserted: { - borderBottom: "1px dotted #f0fff0", - textDecoration: "none" - }, - italic: { - fontStyle: "italic" - }, - important: { - fontWeight: "bold", - color: "#b3d6b3" - }, - bold: { - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: ".4em solid #5c705c", - OutlineOffset: ".4em" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#2c302c" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#3b423b" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))" - } - }; - e.default = t; - }(Wa)), Wa; +var Ba = {}, + j1; +function M4() { + return ( + j1 || + ((j1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#282a36", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#282a36", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#6272a4", + }, + prolog: { + color: "#6272a4", + }, + doctype: { + color: "#6272a4", + }, + cdata: { + color: "#6272a4", + }, + punctuation: { + color: "#f8f8f2", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#ff79c6", + }, + tag: { + color: "#ff79c6", + }, + constant: { + color: "#ff79c6", + }, + symbol: { + color: "#ff79c6", + }, + deleted: { + color: "#ff79c6", + }, + boolean: { + color: "#bd93f9", + }, + number: { + color: "#bd93f9", + }, + selector: { + color: "#50fa7b", + }, + "attr-name": { + color: "#50fa7b", + }, + string: { + color: "#50fa7b", + }, + char: { + color: "#50fa7b", + }, + builtin: { + color: "#50fa7b", + }, + inserted: { + color: "#50fa7b", + }, + operator: { + color: "#f8f8f2", + }, + entity: { + color: "#f8f8f2", + cursor: "help", + }, + url: { + color: "#f8f8f2", + }, + ".language-css .token.string": { + color: "#f8f8f2", + }, + ".style .token.string": { + color: "#f8f8f2", + }, + variable: { + color: "#f8f8f2", + }, + atrule: { + color: "#f1fa8c", + }, + "attr-value": { + color: "#f1fa8c", + }, + function: { + color: "#f1fa8c", + }, + "class-name": { + color: "#f1fa8c", + }, + keyword: { + color: "#8be9fd", + }, + regex: { + color: "#ffb86c", + }, + important: { + color: "#ffb86c", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ba)), + Ba + ); } -var Za = {}, P1; -function D4() { - return P1 || (P1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#faf8f5", - color: "#728fcb" - }, - 'pre[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#faf8f5", - color: "#728fcb", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#faf8f5" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#faf8f5" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#faf8f5" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#faf8f5" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#faf8f5" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#faf8f5" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#faf8f5" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#faf8f5" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#b6ad9a" - }, - prolog: { - color: "#b6ad9a" - }, - doctype: { - color: "#b6ad9a" - }, - cdata: { - color: "#b6ad9a" - }, - punctuation: { - color: "#b6ad9a" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "#063289" - }, - operator: { - color: "#063289" - }, - number: { - color: "#063289" - }, - property: { - color: "#b29762" - }, - function: { - color: "#b29762" - }, - "tag-id": { - color: "#2d2006" - }, - selector: { - color: "#2d2006" - }, - "atrule-id": { - color: "#2d2006" - }, - "code.language-javascript": { - color: "#896724" - }, - "attr-name": { - color: "#896724" - }, - "code.language-css": { - color: "#728fcb" - }, - "code.language-scss": { - color: "#728fcb" - }, - boolean: { - color: "#728fcb" - }, - string: { - color: "#728fcb" - }, - entity: { - color: "#728fcb", - cursor: "help" - }, - url: { - color: "#728fcb" - }, - ".language-css .token.string": { - color: "#728fcb" - }, - ".language-scss .token.string": { - color: "#728fcb" - }, - ".style .token.string": { - color: "#728fcb" - }, - "attr-value": { - color: "#728fcb" - }, - keyword: { - color: "#728fcb" - }, - control: { - color: "#728fcb" - }, - directive: { - color: "#728fcb" - }, - unit: { - color: "#728fcb" - }, - statement: { - color: "#728fcb" - }, - regex: { - color: "#728fcb" - }, - atrule: { - color: "#728fcb" - }, - placeholder: { - color: "#93abdc" - }, - variable: { - color: "#93abdc" - }, - deleted: { - textDecoration: "line-through" - }, - inserted: { - borderBottom: "1px dotted #2d2006", - textDecoration: "none" - }, - italic: { - fontStyle: "italic" - }, - important: { - fontWeight: "bold", - color: "#896724" - }, - bold: { - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: ".4em solid #896724", - OutlineOffset: ".4em" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#ece8de" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#cdc4b1" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))" - } - }; - e.default = t; - }(Za)), Za; +var Va = {}, + I1; +function T4() { + return ( + I1 || + ((I1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2734", + color: "#9a86fd", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2734", + color: "#9a86fd", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#6a51e6", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#6a51e6", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#6c6783", + }, + prolog: { + color: "#6c6783", + }, + doctype: { + color: "#6c6783", + }, + cdata: { + color: "#6c6783", + }, + punctuation: { + color: "#6c6783", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#e09142", + }, + operator: { + color: "#e09142", + }, + number: { + color: "#e09142", + }, + property: { + color: "#9a86fd", + }, + function: { + color: "#9a86fd", + }, + "tag-id": { + color: "#eeebff", + }, + selector: { + color: "#eeebff", + }, + "atrule-id": { + color: "#eeebff", + }, + "code.language-javascript": { + color: "#c4b9fe", + }, + "attr-name": { + color: "#c4b9fe", + }, + "code.language-css": { + color: "#ffcc99", + }, + "code.language-scss": { + color: "#ffcc99", + }, + boolean: { + color: "#ffcc99", + }, + string: { + color: "#ffcc99", + }, + entity: { + color: "#ffcc99", + cursor: "help", + }, + url: { + color: "#ffcc99", + }, + ".language-css .token.string": { + color: "#ffcc99", + }, + ".language-scss .token.string": { + color: "#ffcc99", + }, + ".style .token.string": { + color: "#ffcc99", + }, + "attr-value": { + color: "#ffcc99", + }, + keyword: { + color: "#ffcc99", + }, + control: { + color: "#ffcc99", + }, + directive: { + color: "#ffcc99", + }, + unit: { + color: "#ffcc99", + }, + statement: { + color: "#ffcc99", + }, + regex: { + color: "#ffcc99", + }, + atrule: { + color: "#ffcc99", + }, + placeholder: { + color: "#ffcc99", + }, + variable: { + color: "#ffcc99", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #eeebff", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#c4b9fe", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #8a75f5", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#2c2937", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#3c3949", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))", + }, + }; + e.default = t; + })(Va)), + Va + ); } -var Ua = {}, B1; -function L4() { - return B1 || (B1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#1d262f", - color: "#57718e" - }, - 'pre[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#1d262f", - color: "#57718e", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#004a9e" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#004a9e" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#004a9e" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#004a9e" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#004a9e" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#004a9e" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#004a9e" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#004a9e" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#4a5f78" - }, - prolog: { - color: "#4a5f78" - }, - doctype: { - color: "#4a5f78" - }, - cdata: { - color: "#4a5f78" - }, - punctuation: { - color: "#4a5f78" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "#0aa370" - }, - operator: { - color: "#0aa370" - }, - number: { - color: "#0aa370" - }, - property: { - color: "#57718e" - }, - function: { - color: "#57718e" - }, - "tag-id": { - color: "#ebf4ff" - }, - selector: { - color: "#ebf4ff" - }, - "atrule-id": { - color: "#ebf4ff" - }, - "code.language-javascript": { - color: "#7eb6f6" - }, - "attr-name": { - color: "#7eb6f6" - }, - "code.language-css": { - color: "#47ebb4" - }, - "code.language-scss": { - color: "#47ebb4" - }, - boolean: { - color: "#47ebb4" - }, - string: { - color: "#47ebb4" - }, - entity: { - color: "#47ebb4", - cursor: "help" - }, - url: { - color: "#47ebb4" - }, - ".language-css .token.string": { - color: "#47ebb4" - }, - ".language-scss .token.string": { - color: "#47ebb4" - }, - ".style .token.string": { - color: "#47ebb4" - }, - "attr-value": { - color: "#47ebb4" - }, - keyword: { - color: "#47ebb4" - }, - control: { - color: "#47ebb4" - }, - directive: { - color: "#47ebb4" - }, - unit: { - color: "#47ebb4" - }, - statement: { - color: "#47ebb4" - }, - regex: { - color: "#47ebb4" - }, - atrule: { - color: "#47ebb4" - }, - placeholder: { - color: "#47ebb4" - }, - variable: { - color: "#47ebb4" - }, - deleted: { - textDecoration: "line-through" - }, - inserted: { - borderBottom: "1px dotted #ebf4ff", - textDecoration: "none" - }, - italic: { - fontStyle: "italic" - }, - important: { - fontWeight: "bold", - color: "#7eb6f6" - }, - bold: { - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: ".4em solid #34659d", - OutlineOffset: ".4em" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#1f2932" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#2c3847" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))" - } - }; - e.default = t; - }(Ua)), Ua; +var $a = {}, + z1; +function O4() { + return ( + z1 || + ((z1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#322d29", + color: "#88786d", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#322d29", + color: "#88786d", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#6f5849", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#6f5849", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#6f5849", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#6f5849", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#6a5f58", + }, + prolog: { + color: "#6a5f58", + }, + doctype: { + color: "#6a5f58", + }, + cdata: { + color: "#6a5f58", + }, + punctuation: { + color: "#6a5f58", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#bfa05a", + }, + operator: { + color: "#bfa05a", + }, + number: { + color: "#bfa05a", + }, + property: { + color: "#88786d", + }, + function: { + color: "#88786d", + }, + "tag-id": { + color: "#fff3eb", + }, + selector: { + color: "#fff3eb", + }, + "atrule-id": { + color: "#fff3eb", + }, + "code.language-javascript": { + color: "#a48774", + }, + "attr-name": { + color: "#a48774", + }, + "code.language-css": { + color: "#fcc440", + }, + "code.language-scss": { + color: "#fcc440", + }, + boolean: { + color: "#fcc440", + }, + string: { + color: "#fcc440", + }, + entity: { + color: "#fcc440", + cursor: "help", + }, + url: { + color: "#fcc440", + }, + ".language-css .token.string": { + color: "#fcc440", + }, + ".language-scss .token.string": { + color: "#fcc440", + }, + ".style .token.string": { + color: "#fcc440", + }, + "attr-value": { + color: "#fcc440", + }, + keyword: { + color: "#fcc440", + }, + control: { + color: "#fcc440", + }, + directive: { + color: "#fcc440", + }, + unit: { + color: "#fcc440", + }, + statement: { + color: "#fcc440", + }, + regex: { + color: "#fcc440", + }, + atrule: { + color: "#fcc440", + }, + placeholder: { + color: "#fcc440", + }, + variable: { + color: "#fcc440", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #fff3eb", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#a48774", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #816d5f", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#35302b", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#46403d", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))", + }, + }; + e.default = t; + })($a)), + $a + ); } -var qa = {}, V1; -function F4() { - return V1 || (V1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#24242e", - color: "#767693" - }, - 'pre[class*="language-"]': { - fontFamily: 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', - fontSize: "14px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - background: "#24242e", - color: "#767693", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#5151e6" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#5151e6" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "#5151e6" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "#5151e6" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#5151e6" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "#5151e6" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#5151e6" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "#5151e6" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#5b5b76" - }, - prolog: { - color: "#5b5b76" - }, - doctype: { - color: "#5b5b76" - }, - cdata: { - color: "#5b5b76" - }, - punctuation: { - color: "#5b5b76" - }, - namespace: { - Opacity: ".7" - }, - tag: { - color: "#dd672c" - }, - operator: { - color: "#dd672c" - }, - number: { - color: "#dd672c" - }, - property: { - color: "#767693" - }, - function: { - color: "#767693" - }, - "tag-id": { - color: "#ebebff" - }, - selector: { - color: "#ebebff" - }, - "atrule-id": { - color: "#ebebff" - }, - "code.language-javascript": { - color: "#aaaaca" - }, - "attr-name": { - color: "#aaaaca" - }, - "code.language-css": { - color: "#fe8c52" - }, - "code.language-scss": { - color: "#fe8c52" - }, - boolean: { - color: "#fe8c52" - }, - string: { - color: "#fe8c52" - }, - entity: { - color: "#fe8c52", - cursor: "help" - }, - url: { - color: "#fe8c52" - }, - ".language-css .token.string": { - color: "#fe8c52" - }, - ".language-scss .token.string": { - color: "#fe8c52" - }, - ".style .token.string": { - color: "#fe8c52" - }, - "attr-value": { - color: "#fe8c52" - }, - keyword: { - color: "#fe8c52" - }, - control: { - color: "#fe8c52" - }, - directive: { - color: "#fe8c52" - }, - unit: { - color: "#fe8c52" - }, - statement: { - color: "#fe8c52" - }, - regex: { - color: "#fe8c52" - }, - atrule: { - color: "#fe8c52" - }, - placeholder: { - color: "#fe8c52" - }, - variable: { - color: "#fe8c52" - }, - deleted: { - textDecoration: "line-through" - }, - inserted: { - borderBottom: "1px dotted #ebebff", - textDecoration: "none" - }, - italic: { - fontStyle: "italic" - }, - important: { - fontWeight: "bold", - color: "#aaaaca" - }, - bold: { - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: ".4em solid #7676f4", - OutlineOffset: ".4em" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#262631" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#393949" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))" - } - }; - e.default = t; - }(qa)), qa; +var Wa = {}, + H1; +function N4() { + return ( + H1 || + ((H1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2d2a", + color: "#687d68", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#2a2d2a", + color: "#687d68", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#435643", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#435643", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#435643", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#435643", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#535f53", + }, + prolog: { + color: "#535f53", + }, + doctype: { + color: "#535f53", + }, + cdata: { + color: "#535f53", + }, + punctuation: { + color: "#535f53", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#a2b34d", + }, + operator: { + color: "#a2b34d", + }, + number: { + color: "#a2b34d", + }, + property: { + color: "#687d68", + }, + function: { + color: "#687d68", + }, + "tag-id": { + color: "#f0fff0", + }, + selector: { + color: "#f0fff0", + }, + "atrule-id": { + color: "#f0fff0", + }, + "code.language-javascript": { + color: "#b3d6b3", + }, + "attr-name": { + color: "#b3d6b3", + }, + "code.language-css": { + color: "#e5fb79", + }, + "code.language-scss": { + color: "#e5fb79", + }, + boolean: { + color: "#e5fb79", + }, + string: { + color: "#e5fb79", + }, + entity: { + color: "#e5fb79", + cursor: "help", + }, + url: { + color: "#e5fb79", + }, + ".language-css .token.string": { + color: "#e5fb79", + }, + ".language-scss .token.string": { + color: "#e5fb79", + }, + ".style .token.string": { + color: "#e5fb79", + }, + "attr-value": { + color: "#e5fb79", + }, + keyword: { + color: "#e5fb79", + }, + control: { + color: "#e5fb79", + }, + directive: { + color: "#e5fb79", + }, + unit: { + color: "#e5fb79", + }, + statement: { + color: "#e5fb79", + }, + regex: { + color: "#e5fb79", + }, + atrule: { + color: "#e5fb79", + }, + placeholder: { + color: "#e5fb79", + }, + variable: { + color: "#e5fb79", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #f0fff0", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#b3d6b3", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #5c705c", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#2c302c", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#3b423b", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))", + }, + }; + e.default = t; + })(Wa)), + Wa + ); } -var Ya = {}, $1; -function R4() { - return $1 || ($1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#393A34", - fontFamily: '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - fontSize: ".9em", - lineHeight: "1.2em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#393A34", - fontFamily: '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - fontSize: ".9em", - lineHeight: "1.2em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - border: "1px solid #dddddd", - backgroundColor: "white" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#b3d4fc" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#b3d4fc" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#b3d4fc" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#b3d4fc" - }, - 'pre[class*="language-"]::selection': { - background: "#b3d4fc" - }, - 'pre[class*="language-"] ::selection': { - background: "#b3d4fc" - }, - 'code[class*="language-"]::selection': { - background: "#b3d4fc" - }, - 'code[class*="language-"] ::selection': { - background: "#b3d4fc" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".2em", - paddingTop: "1px", - paddingBottom: "1px", - background: "#f8f8f8", - border: "1px solid #dddddd" - }, - comment: { - color: "#999988", - fontStyle: "italic" - }, - prolog: { - color: "#999988", - fontStyle: "italic" - }, - doctype: { - color: "#999988", - fontStyle: "italic" - }, - cdata: { - color: "#999988", - fontStyle: "italic" - }, - namespace: { - Opacity: ".7" - }, - string: { - color: "#e3116c" - }, - "attr-value": { - color: "#e3116c" - }, - punctuation: { - color: "#393A34" - }, - operator: { - color: "#393A34" - }, - entity: { - color: "#36acaa" - }, - url: { - color: "#36acaa" - }, - symbol: { - color: "#36acaa" - }, - number: { - color: "#36acaa" - }, - boolean: { - color: "#36acaa" - }, - variable: { - color: "#36acaa" - }, - constant: { - color: "#36acaa" - }, - property: { - color: "#36acaa" - }, - regex: { - color: "#36acaa" - }, - inserted: { - color: "#36acaa" - }, - atrule: { - color: "#00a4db" - }, - keyword: { - color: "#00a4db" - }, - "attr-name": { - color: "#00a4db" - }, - ".language-autohotkey .token.selector": { - color: "#00a4db" - }, - function: { - color: "#9a050f", - fontWeight: "bold" - }, - deleted: { - color: "#9a050f" - }, - ".language-autohotkey .token.tag": { - color: "#9a050f" - }, - tag: { - color: "#00009f" - }, - selector: { - color: "#00009f" - }, - ".language-autohotkey .token.keyword": { - color: "#00009f" - }, - important: { - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(Ya)), Ya; +var Za = {}, + P1; +function D4() { + return ( + P1 || + ((P1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#faf8f5", + color: "#728fcb", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#faf8f5", + color: "#728fcb", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#faf8f5", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#faf8f5", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#b6ad9a", + }, + prolog: { + color: "#b6ad9a", + }, + doctype: { + color: "#b6ad9a", + }, + cdata: { + color: "#b6ad9a", + }, + punctuation: { + color: "#b6ad9a", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#063289", + }, + operator: { + color: "#063289", + }, + number: { + color: "#063289", + }, + property: { + color: "#b29762", + }, + function: { + color: "#b29762", + }, + "tag-id": { + color: "#2d2006", + }, + selector: { + color: "#2d2006", + }, + "atrule-id": { + color: "#2d2006", + }, + "code.language-javascript": { + color: "#896724", + }, + "attr-name": { + color: "#896724", + }, + "code.language-css": { + color: "#728fcb", + }, + "code.language-scss": { + color: "#728fcb", + }, + boolean: { + color: "#728fcb", + }, + string: { + color: "#728fcb", + }, + entity: { + color: "#728fcb", + cursor: "help", + }, + url: { + color: "#728fcb", + }, + ".language-css .token.string": { + color: "#728fcb", + }, + ".language-scss .token.string": { + color: "#728fcb", + }, + ".style .token.string": { + color: "#728fcb", + }, + "attr-value": { + color: "#728fcb", + }, + keyword: { + color: "#728fcb", + }, + control: { + color: "#728fcb", + }, + directive: { + color: "#728fcb", + }, + unit: { + color: "#728fcb", + }, + statement: { + color: "#728fcb", + }, + regex: { + color: "#728fcb", + }, + atrule: { + color: "#728fcb", + }, + placeholder: { + color: "#93abdc", + }, + variable: { + color: "#93abdc", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #2d2006", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#896724", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #896724", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#ece8de", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#cdc4b1", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))", + }, + }; + e.default = t; + })(Za)), + Za + ); } -var Ga = {}, W1; -function j4() { - return W1 || (W1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#ebdbb2", - fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#ebdbb2", - fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto", - background: "#1d2021" - }, - 'pre[class*="language-"]::-moz-selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - 'pre[class*="language-"] ::-moz-selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - 'code[class*="language-"]::-moz-selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - 'code[class*="language-"] ::-moz-selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - 'pre[class*="language-"]::selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - 'pre[class*="language-"] ::selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - 'code[class*="language-"]::selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - 'code[class*="language-"] ::selection': { - color: "#fbf1c7", - background: "#7c6f64" - }, - ':not(pre) > code[class*="language-"]': { - background: "#1d2021", - padding: "0.1em", - borderRadius: "0.3em" - }, - comment: { - color: "#a89984" - }, - prolog: { - color: "#a89984" - }, - cdata: { - color: "#a89984" - }, - delimiter: { - color: "#fb4934" - }, - boolean: { - color: "#fb4934" - }, - keyword: { - color: "#fb4934" - }, - selector: { - color: "#fb4934" - }, - important: { - color: "#fb4934" - }, - atrule: { - color: "#fb4934" - }, - operator: { - color: "#a89984" - }, - punctuation: { - color: "#a89984" - }, - "attr-name": { - color: "#a89984" - }, - tag: { - color: "#fabd2f" - }, - "tag.punctuation": { - color: "#fabd2f" - }, - doctype: { - color: "#fabd2f" - }, - builtin: { - color: "#fabd2f" - }, - entity: { - color: "#d3869b" - }, - number: { - color: "#d3869b" - }, - symbol: { - color: "#d3869b" - }, - property: { - color: "#fb4934" - }, - constant: { - color: "#fb4934" - }, - variable: { - color: "#fb4934" - }, - string: { - color: "#b8bb26" - }, - char: { - color: "#b8bb26" - }, - "attr-value": { - color: "#a89984" - }, - "attr-value.punctuation": { - color: "#a89984" - }, - url: { - color: "#b8bb26", - textDecoration: "underline" - }, - function: { - color: "#fabd2f" - }, - regex: { - background: "#b8bb26" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - inserted: { - background: "#a89984" - }, - deleted: { - background: "#fb4934" - } - }; - e.default = t; - }(Ga)), Ga; -} -var Ka = {}, Z1; -function I4() { - return Z1 || (Z1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#3c3836", - fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#3c3836", - fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto", - background: "#f9f5d7" - }, - 'pre[class*="language-"]::-moz-selection': { - color: "#282828", - background: "#a89984" - }, - 'pre[class*="language-"] ::-moz-selection': { - color: "#282828", - background: "#a89984" - }, - 'code[class*="language-"]::-moz-selection': { - color: "#282828", - background: "#a89984" - }, - 'code[class*="language-"] ::-moz-selection': { - color: "#282828", - background: "#a89984" - }, - 'pre[class*="language-"]::selection': { - color: "#282828", - background: "#a89984" - }, - 'pre[class*="language-"] ::selection': { - color: "#282828", - background: "#a89984" - }, - 'code[class*="language-"]::selection': { - color: "#282828", - background: "#a89984" - }, - 'code[class*="language-"] ::selection': { - color: "#282828", - background: "#a89984" - }, - ':not(pre) > code[class*="language-"]': { - background: "#f9f5d7", - padding: "0.1em", - borderRadius: "0.3em" - }, - comment: { - color: "#7c6f64" - }, - prolog: { - color: "#7c6f64" - }, - cdata: { - color: "#7c6f64" - }, - delimiter: { - color: "#9d0006" - }, - boolean: { - color: "#9d0006" - }, - keyword: { - color: "#9d0006" - }, - selector: { - color: "#9d0006" - }, - important: { - color: "#9d0006" - }, - atrule: { - color: "#9d0006" - }, - operator: { - color: "#7c6f64" - }, - punctuation: { - color: "#7c6f64" - }, - "attr-name": { - color: "#7c6f64" - }, - tag: { - color: "#b57614" - }, - "tag.punctuation": { - color: "#b57614" - }, - doctype: { - color: "#b57614" - }, - builtin: { - color: "#b57614" - }, - entity: { - color: "#8f3f71" - }, - number: { - color: "#8f3f71" - }, - symbol: { - color: "#8f3f71" - }, - property: { - color: "#9d0006" - }, - constant: { - color: "#9d0006" - }, - variable: { - color: "#9d0006" - }, - string: { - color: "#797403" - }, - char: { - color: "#797403" - }, - "attr-value": { - color: "#7c6f64" - }, - "attr-value.punctuation": { - color: "#7c6f64" - }, - url: { - color: "#797403", - textDecoration: "underline" - }, - function: { - color: "#b57614" - }, - regex: { - background: "#797403" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - inserted: { - background: "#7c6f64" - }, - deleted: { - background: "#9d0006" - } - }; - e.default = t; - }(Ka)), Ka; -} -var Xa = {}, U1; -function z4() { - return U1 || (U1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - "code[class*='language-']": { - color: "#d6e7ff", - background: "#030314", - textShadow: "none", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - fontSize: "1em", - lineHeight: "1.5", - letterSpacing: ".2px", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - textAlign: "left", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - "pre[class*='language-']": { - color: "#d6e7ff", - background: "#030314", - textShadow: "none", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - fontSize: "1em", - lineHeight: "1.5", - letterSpacing: ".2px", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - textAlign: "left", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - border: "1px solid #2a4555", - borderRadius: "5px", - padding: "1.5em 1em", - margin: "1em 0", - overflow: "auto" - }, - "pre[class*='language-']::-moz-selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - "pre[class*='language-'] ::-moz-selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - "code[class*='language-']::-moz-selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - "code[class*='language-'] ::-moz-selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - "pre[class*='language-']::selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - "pre[class*='language-'] ::selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - "code[class*='language-']::selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - "code[class*='language-'] ::selection": { - color: "inherit", - background: "#1d3b54", - textShadow: "none" - }, - ":not(pre) > code[class*='language-']": { - color: "#f0f6f6", - background: "#2a4555", - padding: "0.2em 0.3em", - borderRadius: "0.2em", - boxDecorationBreak: "clone" - }, - comment: { - color: "#446e69" - }, - prolog: { - color: "#446e69" - }, - doctype: { - color: "#446e69" - }, - cdata: { - color: "#446e69" - }, - punctuation: { - color: "#d6b007" - }, - property: { - color: "#d6e7ff" - }, - tag: { - color: "#d6e7ff" - }, - boolean: { - color: "#d6e7ff" - }, - number: { - color: "#d6e7ff" - }, - constant: { - color: "#d6e7ff" - }, - symbol: { - color: "#d6e7ff" - }, - deleted: { - color: "#d6e7ff" - }, - selector: { - color: "#e60067" - }, - "attr-name": { - color: "#e60067" - }, - builtin: { - color: "#e60067" - }, - inserted: { - color: "#e60067" - }, - string: { - color: "#49c6ec" - }, - char: { - color: "#49c6ec" - }, - operator: { - color: "#ec8e01", - background: "transparent" - }, - entity: { - color: "#ec8e01", - background: "transparent" - }, - url: { - color: "#ec8e01", - background: "transparent" - }, - ".language-css .token.string": { - color: "#ec8e01", - background: "transparent" - }, - ".style .token.string": { - color: "#ec8e01", - background: "transparent" - }, - atrule: { - color: "#0fe468" - }, - "attr-value": { - color: "#0fe468" - }, - keyword: { - color: "#0fe468" - }, - function: { - color: "#78f3e9" - }, - "class-name": { - color: "#78f3e9" - }, - regex: { - color: "#d6e7ff" - }, - important: { - color: "#d6e7ff" - }, - variable: { - color: "#d6e7ff" - } - }; - e.default = t; - }(Xa)), Xa; +var Ua = {}, + B1; +function L4() { + return ( + B1 || + ((B1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#1d262f", + color: "#57718e", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#1d262f", + color: "#57718e", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#004a9e", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#004a9e", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#004a9e", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#004a9e", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#4a5f78", + }, + prolog: { + color: "#4a5f78", + }, + doctype: { + color: "#4a5f78", + }, + cdata: { + color: "#4a5f78", + }, + punctuation: { + color: "#4a5f78", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#0aa370", + }, + operator: { + color: "#0aa370", + }, + number: { + color: "#0aa370", + }, + property: { + color: "#57718e", + }, + function: { + color: "#57718e", + }, + "tag-id": { + color: "#ebf4ff", + }, + selector: { + color: "#ebf4ff", + }, + "atrule-id": { + color: "#ebf4ff", + }, + "code.language-javascript": { + color: "#7eb6f6", + }, + "attr-name": { + color: "#7eb6f6", + }, + "code.language-css": { + color: "#47ebb4", + }, + "code.language-scss": { + color: "#47ebb4", + }, + boolean: { + color: "#47ebb4", + }, + string: { + color: "#47ebb4", + }, + entity: { + color: "#47ebb4", + cursor: "help", + }, + url: { + color: "#47ebb4", + }, + ".language-css .token.string": { + color: "#47ebb4", + }, + ".language-scss .token.string": { + color: "#47ebb4", + }, + ".style .token.string": { + color: "#47ebb4", + }, + "attr-value": { + color: "#47ebb4", + }, + keyword: { + color: "#47ebb4", + }, + control: { + color: "#47ebb4", + }, + directive: { + color: "#47ebb4", + }, + unit: { + color: "#47ebb4", + }, + statement: { + color: "#47ebb4", + }, + regex: { + color: "#47ebb4", + }, + atrule: { + color: "#47ebb4", + }, + placeholder: { + color: "#47ebb4", + }, + variable: { + color: "#47ebb4", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #ebf4ff", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#7eb6f6", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #34659d", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#1f2932", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#2c3847", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))", + }, + }; + e.default = t; + })(Ua)), + Ua + ); } -var Qa = {}, q1; -function H4() { - return q1 || (q1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - fontFamily: '"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace', - fontSize: "16px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - wordSpacing: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - whiteSpace: "pre-wrap", - wordBreak: "break-all", - wordWrap: "break-word", - background: "#322931", - color: "#b9b5b8" - }, - 'pre[class*="language-"]': { - fontFamily: '"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace', - fontSize: "16px", - lineHeight: "1.375", - direction: "ltr", - textAlign: "left", - wordSpacing: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - whiteSpace: "pre-wrap", - wordBreak: "break-all", - wordWrap: "break-word", - background: "#322931", - color: "#b9b5b8", - padding: "1em", - margin: ".5em 0", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#797379" - }, - prolog: { - color: "#797379" - }, - doctype: { - color: "#797379" - }, - cdata: { - color: "#797379" - }, - punctuation: { - color: "#b9b5b8" - }, - ".namespace": { - Opacity: ".7" - }, - null: { - color: "#fd8b19" - }, - operator: { - color: "#fd8b19" - }, - boolean: { - color: "#fd8b19" - }, - number: { - color: "#fd8b19" - }, - property: { - color: "#fdcc59" - }, - tag: { - color: "#1290bf" - }, - string: { - color: "#149b93" - }, - selector: { - color: "#c85e7c" - }, - "attr-name": { - color: "#fd8b19" - }, - entity: { - color: "#149b93", - cursor: "help" - }, - url: { - color: "#149b93" - }, - ".language-css .token.string": { - color: "#149b93" - }, - ".style .token.string": { - color: "#149b93" - }, - "attr-value": { - color: "#8fc13e" - }, - keyword: { - color: "#8fc13e" - }, - control: { - color: "#8fc13e" - }, - directive: { - color: "#8fc13e" - }, - unit: { - color: "#8fc13e" - }, - statement: { - color: "#149b93" - }, - regex: { - color: "#149b93" - }, - atrule: { - color: "#149b93" - }, - placeholder: { - color: "#1290bf" - }, - variable: { - color: "#1290bf" - }, - important: { - color: "#dd464c", - fontWeight: "bold" - }, - "pre > code.highlight": { - Outline: ".4em solid red", - OutlineOffset: ".4em" - } - }; - e.default = t; - }(Qa)), Qa; +var qa = {}, + V1; +function F4() { + return ( + V1 || + ((V1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#24242e", + color: "#767693", + }, + 'pre[class*="language-"]': { + fontFamily: + 'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace', + fontSize: "14px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + background: "#24242e", + color: "#767693", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "#5151e6", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#5151e6", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#5151e6", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "#5151e6", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#5b5b76", + }, + prolog: { + color: "#5b5b76", + }, + doctype: { + color: "#5b5b76", + }, + cdata: { + color: "#5b5b76", + }, + punctuation: { + color: "#5b5b76", + }, + namespace: { + Opacity: ".7", + }, + tag: { + color: "#dd672c", + }, + operator: { + color: "#dd672c", + }, + number: { + color: "#dd672c", + }, + property: { + color: "#767693", + }, + function: { + color: "#767693", + }, + "tag-id": { + color: "#ebebff", + }, + selector: { + color: "#ebebff", + }, + "atrule-id": { + color: "#ebebff", + }, + "code.language-javascript": { + color: "#aaaaca", + }, + "attr-name": { + color: "#aaaaca", + }, + "code.language-css": { + color: "#fe8c52", + }, + "code.language-scss": { + color: "#fe8c52", + }, + boolean: { + color: "#fe8c52", + }, + string: { + color: "#fe8c52", + }, + entity: { + color: "#fe8c52", + cursor: "help", + }, + url: { + color: "#fe8c52", + }, + ".language-css .token.string": { + color: "#fe8c52", + }, + ".language-scss .token.string": { + color: "#fe8c52", + }, + ".style .token.string": { + color: "#fe8c52", + }, + "attr-value": { + color: "#fe8c52", + }, + keyword: { + color: "#fe8c52", + }, + control: { + color: "#fe8c52", + }, + directive: { + color: "#fe8c52", + }, + unit: { + color: "#fe8c52", + }, + statement: { + color: "#fe8c52", + }, + regex: { + color: "#fe8c52", + }, + atrule: { + color: "#fe8c52", + }, + placeholder: { + color: "#fe8c52", + }, + variable: { + color: "#fe8c52", + }, + deleted: { + textDecoration: "line-through", + }, + inserted: { + borderBottom: "1px dotted #ebebff", + textDecoration: "none", + }, + italic: { + fontStyle: "italic", + }, + important: { + fontWeight: "bold", + color: "#aaaaca", + }, + bold: { + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid #7676f4", + OutlineOffset: ".4em", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#262631", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#393949", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))", + }, + }; + e.default = t; + })(qa)), + qa + ); } -var Ja = {}, Y1; -function P4() { - return Y1 || (Y1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#f8f8f2", - background: "none", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#f8f8f2", - background: "#263E52", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - borderRadius: "0.3em" - }, - ':not(pre) > code[class*="language-"]': { - background: "#263E52", - padding: ".1em", - borderRadius: ".3em", - whiteSpace: "normal" - }, - comment: { - color: "#5c98cd" - }, - prolog: { - color: "#5c98cd" - }, - doctype: { - color: "#5c98cd" - }, - cdata: { - color: "#5c98cd" - }, - punctuation: { - color: "#f8f8f2" - }, - ".namespace": { - Opacity: ".7" - }, - property: { - color: "#F05E5D" - }, - tag: { - color: "#F05E5D" - }, - constant: { - color: "#F05E5D" - }, - symbol: { - color: "#F05E5D" - }, - deleted: { - color: "#F05E5D" - }, - boolean: { - color: "#BC94F9" - }, - number: { - color: "#BC94F9" - }, - selector: { - color: "#FCFCD6" - }, - "attr-name": { - color: "#FCFCD6" - }, - string: { - color: "#FCFCD6" - }, - char: { - color: "#FCFCD6" - }, - builtin: { - color: "#FCFCD6" - }, - inserted: { - color: "#FCFCD6" - }, - operator: { - color: "#f8f8f2" - }, - entity: { - color: "#f8f8f2", - cursor: "help" - }, - url: { - color: "#f8f8f2" - }, - ".language-css .token.string": { - color: "#f8f8f2" - }, - ".style .token.string": { - color: "#f8f8f2" - }, - variable: { - color: "#f8f8f2" - }, - atrule: { - color: "#66D8EF" - }, - "attr-value": { - color: "#66D8EF" - }, - function: { - color: "#66D8EF" - }, - "class-name": { - color: "#66D8EF" - }, - keyword: { - color: "#6EB26E" - }, - regex: { - color: "#F05E5D" - }, - important: { - color: "#F05E5D", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(Ja)), Ja; -} -var el = {}, G1; -function B4() { - return G1 || (G1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - color: "#eee", - background: "#2f2f2f", - fontFamily: "Roboto Mono, monospace", - fontSize: "1em", - lineHeight: "1.5em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - color: "#eee", - background: "#2f2f2f", - fontFamily: "Roboto Mono, monospace", - fontSize: "1em", - lineHeight: "1.5em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - overflow: "auto", - position: "relative", - margin: "0.5em 0", - padding: "1.25em 1em" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#363636" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#363636" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#363636" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#363636" - }, - 'code[class*="language-"]::selection': { - background: "#363636" - }, - 'pre[class*="language-"]::selection': { - background: "#363636" - }, - 'code[class*="language-"] ::selection': { - background: "#363636" - }, - 'pre[class*="language-"] ::selection': { - background: "#363636" - }, - ':not(pre) > code[class*="language-"]': { - whiteSpace: "normal", - borderRadius: "0.2em", - padding: "0.1em" - }, - ".language-css > code": { - color: "#fd9170" - }, - ".language-sass > code": { - color: "#fd9170" - }, - ".language-scss > code": { - color: "#fd9170" - }, - '[class*="language-"] .namespace': { - Opacity: "0.7" - }, - atrule: { - color: "#c792ea" - }, - "attr-name": { - color: "#ffcb6b" - }, - "attr-value": { - color: "#a5e844" - }, - attribute: { - color: "#a5e844" - }, - boolean: { - color: "#c792ea" - }, - builtin: { - color: "#ffcb6b" - }, - cdata: { - color: "#80cbc4" - }, - char: { - color: "#80cbc4" - }, - class: { - color: "#ffcb6b" - }, - "class-name": { - color: "#f2ff00" - }, - comment: { - color: "#616161" - }, - constant: { - color: "#c792ea" - }, - deleted: { - color: "#ff6666" - }, - doctype: { - color: "#616161" - }, - entity: { - color: "#ff6666" - }, - function: { - color: "#c792ea" - }, - hexcode: { - color: "#f2ff00" - }, - id: { - color: "#c792ea", - fontWeight: "bold" - }, - important: { - color: "#c792ea", - fontWeight: "bold" - }, - inserted: { - color: "#80cbc4" - }, - keyword: { - color: "#c792ea" - }, - number: { - color: "#fd9170" - }, - operator: { - color: "#89ddff" - }, - prolog: { - color: "#616161" - }, - property: { - color: "#80cbc4" - }, - "pseudo-class": { - color: "#a5e844" - }, - "pseudo-element": { - color: "#a5e844" - }, - punctuation: { - color: "#89ddff" - }, - regex: { - color: "#f2ff00" - }, - selector: { - color: "#ff6666" - }, - string: { - color: "#a5e844" - }, - symbol: { - color: "#c792ea" - }, - tag: { - color: "#ff6666" - }, - unit: { - color: "#fd9170" - }, - url: { - color: "#ff6666" - }, - variable: { - color: "#ff6666" - } - }; - e.default = t; - }(el)), el; +var Ya = {}, + $1; +function R4() { + return ( + $1 || + (($1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + border: "1px solid #dddddd", + backgroundColor: "white", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#b3d4fc", + }, + 'pre[class*="language-"]::selection': { + background: "#b3d4fc", + }, + 'pre[class*="language-"] ::selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"]::selection': { + background: "#b3d4fc", + }, + 'code[class*="language-"] ::selection': { + background: "#b3d4fc", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".2em", + paddingTop: "1px", + paddingBottom: "1px", + background: "#f8f8f8", + border: "1px solid #dddddd", + }, + comment: { + color: "#999988", + fontStyle: "italic", + }, + prolog: { + color: "#999988", + fontStyle: "italic", + }, + doctype: { + color: "#999988", + fontStyle: "italic", + }, + cdata: { + color: "#999988", + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + string: { + color: "#e3116c", + }, + "attr-value": { + color: "#e3116c", + }, + punctuation: { + color: "#393A34", + }, + operator: { + color: "#393A34", + }, + entity: { + color: "#36acaa", + }, + url: { + color: "#36acaa", + }, + symbol: { + color: "#36acaa", + }, + number: { + color: "#36acaa", + }, + boolean: { + color: "#36acaa", + }, + variable: { + color: "#36acaa", + }, + constant: { + color: "#36acaa", + }, + property: { + color: "#36acaa", + }, + regex: { + color: "#36acaa", + }, + inserted: { + color: "#36acaa", + }, + atrule: { + color: "#00a4db", + }, + keyword: { + color: "#00a4db", + }, + "attr-name": { + color: "#00a4db", + }, + ".language-autohotkey .token.selector": { + color: "#00a4db", + }, + function: { + color: "#9a050f", + fontWeight: "bold", + }, + deleted: { + color: "#9a050f", + }, + ".language-autohotkey .token.tag": { + color: "#9a050f", + }, + tag: { + color: "#00009f", + }, + selector: { + color: "#00009f", + }, + ".language-autohotkey .token.keyword": { + color: "#00009f", + }, + important: { + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ya)), + Ya + ); } -var tl = {}, K1; -function V4() { - return K1 || (K1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - color: "#90a4ae", - background: "#fafafa", - fontFamily: "Roboto Mono, monospace", - fontSize: "1em", - lineHeight: "1.5em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - color: "#90a4ae", - background: "#fafafa", - fontFamily: "Roboto Mono, monospace", - fontSize: "1em", - lineHeight: "1.5em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - overflow: "auto", - position: "relative", - margin: "0.5em 0", - padding: "1.25em 1em" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#cceae7", - color: "#263238" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#cceae7", - color: "#263238" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#cceae7", - color: "#263238" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#cceae7", - color: "#263238" - }, - 'code[class*="language-"]::selection': { - background: "#cceae7", - color: "#263238" - }, - 'pre[class*="language-"]::selection': { - background: "#cceae7", - color: "#263238" - }, - 'code[class*="language-"] ::selection': { - background: "#cceae7", - color: "#263238" - }, - 'pre[class*="language-"] ::selection': { - background: "#cceae7", - color: "#263238" - }, - ':not(pre) > code[class*="language-"]': { - whiteSpace: "normal", - borderRadius: "0.2em", - padding: "0.1em" - }, - ".language-css > code": { - color: "#f76d47" - }, - ".language-sass > code": { - color: "#f76d47" - }, - ".language-scss > code": { - color: "#f76d47" - }, - '[class*="language-"] .namespace': { - Opacity: "0.7" - }, - atrule: { - color: "#7c4dff" - }, - "attr-name": { - color: "#39adb5" - }, - "attr-value": { - color: "#f6a434" - }, - attribute: { - color: "#f6a434" - }, - boolean: { - color: "#7c4dff" - }, - builtin: { - color: "#39adb5" - }, - cdata: { - color: "#39adb5" - }, - char: { - color: "#39adb5" - }, - class: { - color: "#39adb5" - }, - "class-name": { - color: "#6182b8" - }, - comment: { - color: "#aabfc9" - }, - constant: { - color: "#7c4dff" - }, - deleted: { - color: "#e53935" - }, - doctype: { - color: "#aabfc9" - }, - entity: { - color: "#e53935" - }, - function: { - color: "#7c4dff" - }, - hexcode: { - color: "#f76d47" - }, - id: { - color: "#7c4dff", - fontWeight: "bold" - }, - important: { - color: "#7c4dff", - fontWeight: "bold" - }, - inserted: { - color: "#39adb5" - }, - keyword: { - color: "#7c4dff" - }, - number: { - color: "#f76d47" - }, - operator: { - color: "#39adb5" - }, - prolog: { - color: "#aabfc9" - }, - property: { - color: "#39adb5" - }, - "pseudo-class": { - color: "#f6a434" - }, - "pseudo-element": { - color: "#f6a434" - }, - punctuation: { - color: "#39adb5" - }, - regex: { - color: "#6182b8" - }, - selector: { - color: "#e53935" - }, - string: { - color: "#f6a434" - }, - symbol: { - color: "#7c4dff" - }, - tag: { - color: "#e53935" - }, - unit: { - color: "#f76d47" - }, - url: { - color: "#e53935" - }, - variable: { - color: "#e53935" - } - }; - e.default = t; - }(tl)), tl; +var Ga = {}, + W1; +function j4() { + return ( + W1 || + ((W1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#ebdbb2", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#ebdbb2", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + background: "#1d2021", + }, + 'pre[class*="language-"]::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'pre[class*="language-"] ::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"]::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"] ::-moz-selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'pre[class*="language-"]::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'pre[class*="language-"] ::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"]::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + 'code[class*="language-"] ::selection': { + color: "#fbf1c7", + background: "#7c6f64", + }, + ':not(pre) > code[class*="language-"]': { + background: "#1d2021", + padding: "0.1em", + borderRadius: "0.3em", + }, + comment: { + color: "#a89984", + }, + prolog: { + color: "#a89984", + }, + cdata: { + color: "#a89984", + }, + delimiter: { + color: "#fb4934", + }, + boolean: { + color: "#fb4934", + }, + keyword: { + color: "#fb4934", + }, + selector: { + color: "#fb4934", + }, + important: { + color: "#fb4934", + }, + atrule: { + color: "#fb4934", + }, + operator: { + color: "#a89984", + }, + punctuation: { + color: "#a89984", + }, + "attr-name": { + color: "#a89984", + }, + tag: { + color: "#fabd2f", + }, + "tag.punctuation": { + color: "#fabd2f", + }, + doctype: { + color: "#fabd2f", + }, + builtin: { + color: "#fabd2f", + }, + entity: { + color: "#d3869b", + }, + number: { + color: "#d3869b", + }, + symbol: { + color: "#d3869b", + }, + property: { + color: "#fb4934", + }, + constant: { + color: "#fb4934", + }, + variable: { + color: "#fb4934", + }, + string: { + color: "#b8bb26", + }, + char: { + color: "#b8bb26", + }, + "attr-value": { + color: "#a89984", + }, + "attr-value.punctuation": { + color: "#a89984", + }, + url: { + color: "#b8bb26", + textDecoration: "underline", + }, + function: { + color: "#fabd2f", + }, + regex: { + background: "#b8bb26", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#a89984", + }, + deleted: { + background: "#fb4934", + }, + }; + e.default = t; + })(Ga)), + Ga + ); } -var nl = {}, X1; -function $4() { - return X1 || (X1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - color: "#c3cee3", - background: "#263238", - fontFamily: "Roboto Mono, monospace", - fontSize: "1em", - lineHeight: "1.5em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - color: "#c3cee3", - background: "#263238", - fontFamily: "Roboto Mono, monospace", - fontSize: "1em", - lineHeight: "1.5em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - overflow: "auto", - position: "relative", - margin: "0.5em 0", - padding: "1.25em 1em" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#363636" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#363636" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#363636" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#363636" - }, - 'code[class*="language-"]::selection': { - background: "#363636" - }, - 'pre[class*="language-"]::selection': { - background: "#363636" - }, - 'code[class*="language-"] ::selection': { - background: "#363636" - }, - 'pre[class*="language-"] ::selection': { - background: "#363636" - }, - ':not(pre) > code[class*="language-"]': { - whiteSpace: "normal", - borderRadius: "0.2em", - padding: "0.1em" - }, - ".language-css > code": { - color: "#fd9170" - }, - ".language-sass > code": { - color: "#fd9170" - }, - ".language-scss > code": { - color: "#fd9170" - }, - '[class*="language-"] .namespace': { - Opacity: "0.7" - }, - atrule: { - color: "#c792ea" - }, - "attr-name": { - color: "#ffcb6b" - }, - "attr-value": { - color: "#c3e88d" - }, - attribute: { - color: "#c3e88d" - }, - boolean: { - color: "#c792ea" - }, - builtin: { - color: "#ffcb6b" - }, - cdata: { - color: "#80cbc4" - }, - char: { - color: "#80cbc4" - }, - class: { - color: "#ffcb6b" - }, - "class-name": { - color: "#f2ff00" - }, - color: { - color: "#f2ff00" - }, - comment: { - color: "#546e7a" - }, - constant: { - color: "#c792ea" - }, - deleted: { - color: "#f07178" - }, - doctype: { - color: "#546e7a" - }, - entity: { - color: "#f07178" - }, - function: { - color: "#c792ea" - }, - hexcode: { - color: "#f2ff00" - }, - id: { - color: "#c792ea", - fontWeight: "bold" - }, - important: { - color: "#c792ea", - fontWeight: "bold" - }, - inserted: { - color: "#80cbc4" - }, - keyword: { - color: "#c792ea", - fontStyle: "italic" - }, - number: { - color: "#fd9170" - }, - operator: { - color: "#89ddff" - }, - prolog: { - color: "#546e7a" - }, - property: { - color: "#80cbc4" - }, - "pseudo-class": { - color: "#c3e88d" - }, - "pseudo-element": { - color: "#c3e88d" - }, - punctuation: { - color: "#89ddff" - }, - regex: { - color: "#f2ff00" - }, - selector: { - color: "#f07178" - }, - string: { - color: "#c3e88d" - }, - symbol: { - color: "#c792ea" - }, - tag: { - color: "#f07178" - }, - unit: { - color: "#f07178" - }, - url: { - color: "#fd9170" - }, - variable: { - color: "#f07178" - } - }; - e.default = t; - }(nl)), nl; +var Ka = {}, + Z1; +function I4() { + return ( + Z1 || + ((Z1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#3c3836", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#3c3836", + fontFamily: 'Consolas, Monaco, "Andale Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + background: "#f9f5d7", + }, + 'pre[class*="language-"]::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'pre[class*="language-"] ::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"]::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"] ::-moz-selection': { + color: "#282828", + background: "#a89984", + }, + 'pre[class*="language-"]::selection': { + color: "#282828", + background: "#a89984", + }, + 'pre[class*="language-"] ::selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"]::selection': { + color: "#282828", + background: "#a89984", + }, + 'code[class*="language-"] ::selection': { + color: "#282828", + background: "#a89984", + }, + ':not(pre) > code[class*="language-"]': { + background: "#f9f5d7", + padding: "0.1em", + borderRadius: "0.3em", + }, + comment: { + color: "#7c6f64", + }, + prolog: { + color: "#7c6f64", + }, + cdata: { + color: "#7c6f64", + }, + delimiter: { + color: "#9d0006", + }, + boolean: { + color: "#9d0006", + }, + keyword: { + color: "#9d0006", + }, + selector: { + color: "#9d0006", + }, + important: { + color: "#9d0006", + }, + atrule: { + color: "#9d0006", + }, + operator: { + color: "#7c6f64", + }, + punctuation: { + color: "#7c6f64", + }, + "attr-name": { + color: "#7c6f64", + }, + tag: { + color: "#b57614", + }, + "tag.punctuation": { + color: "#b57614", + }, + doctype: { + color: "#b57614", + }, + builtin: { + color: "#b57614", + }, + entity: { + color: "#8f3f71", + }, + number: { + color: "#8f3f71", + }, + symbol: { + color: "#8f3f71", + }, + property: { + color: "#9d0006", + }, + constant: { + color: "#9d0006", + }, + variable: { + color: "#9d0006", + }, + string: { + color: "#797403", + }, + char: { + color: "#797403", + }, + "attr-value": { + color: "#7c6f64", + }, + "attr-value.punctuation": { + color: "#7c6f64", + }, + url: { + color: "#797403", + textDecoration: "underline", + }, + function: { + color: "#b57614", + }, + regex: { + background: "#797403", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#7c6f64", + }, + deleted: { + background: "#9d0006", + }, + }; + e.default = t; + })(Ka)), + Ka + ); } -var ol = {}, Q1; -function W4() { - return Q1 || (Q1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#d6deeb", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - fontSize: "1em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "white", - fontFamily: 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - fontSize: "1em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto", - background: "#011627" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - ':not(pre) > code[class*="language-"]': { - color: "white", - background: "#011627", - padding: "0.1em", - borderRadius: "0.3em", - whiteSpace: "normal" - }, - comment: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" - }, - prolog: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" - }, - cdata: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" - }, - punctuation: { - color: "rgb(199, 146, 234)" - }, - ".namespace": { - color: "rgb(178, 204, 214)" - }, - deleted: { - color: "rgba(239, 83, 80, 0.56)", - fontStyle: "italic" - }, - symbol: { - color: "rgb(128, 203, 196)" - }, - property: { - color: "rgb(128, 203, 196)" - }, - tag: { - color: "rgb(127, 219, 202)" - }, - operator: { - color: "rgb(127, 219, 202)" - }, - keyword: { - color: "rgb(127, 219, 202)" - }, - boolean: { - color: "rgb(255, 88, 116)" - }, - number: { - color: "rgb(247, 140, 108)" - }, - constant: { - color: "rgb(130, 170, 255)" - }, - function: { - color: "rgb(130, 170, 255)" - }, - builtin: { - color: "rgb(130, 170, 255)" - }, - char: { - color: "rgb(130, 170, 255)" - }, - selector: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" - }, - doctype: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" - }, - "attr-name": { - color: "rgb(173, 219, 103)", - fontStyle: "italic" - }, - inserted: { - color: "rgb(173, 219, 103)", - fontStyle: "italic" - }, - string: { - color: "rgb(173, 219, 103)" - }, - url: { - color: "rgb(173, 219, 103)" - }, - entity: { - color: "rgb(173, 219, 103)" - }, - ".language-css .token.string": { - color: "rgb(173, 219, 103)" - }, - ".style .token.string": { - color: "rgb(173, 219, 103)" - }, - "class-name": { - color: "rgb(255, 203, 139)" - }, - atrule: { - color: "rgb(255, 203, 139)" - }, - "attr-value": { - color: "rgb(255, 203, 139)" - }, - regex: { - color: "rgb(214, 222, 235)" - }, - important: { - color: "rgb(214, 222, 235)", - fontWeight: "bold" - }, - variable: { - color: "rgb(214, 222, 235)" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(ol)), ol; +var Xa = {}, + U1; +function z4() { + return ( + U1 || + ((U1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + "code[class*='language-']": { + color: "#d6e7ff", + background: "#030314", + textShadow: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + fontSize: "1em", + lineHeight: "1.5", + letterSpacing: ".2px", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + textAlign: "left", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + "pre[class*='language-']": { + color: "#d6e7ff", + background: "#030314", + textShadow: "none", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + fontSize: "1em", + lineHeight: "1.5", + letterSpacing: ".2px", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + textAlign: "left", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + border: "1px solid #2a4555", + borderRadius: "5px", + padding: "1.5em 1em", + margin: "1em 0", + overflow: "auto", + }, + "pre[class*='language-']::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "pre[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-']::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "pre[class*='language-']::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "pre[class*='language-'] ::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-']::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + "code[class*='language-'] ::selection": { + color: "inherit", + background: "#1d3b54", + textShadow: "none", + }, + ":not(pre) > code[class*='language-']": { + color: "#f0f6f6", + background: "#2a4555", + padding: "0.2em 0.3em", + borderRadius: "0.2em", + boxDecorationBreak: "clone", + }, + comment: { + color: "#446e69", + }, + prolog: { + color: "#446e69", + }, + doctype: { + color: "#446e69", + }, + cdata: { + color: "#446e69", + }, + punctuation: { + color: "#d6b007", + }, + property: { + color: "#d6e7ff", + }, + tag: { + color: "#d6e7ff", + }, + boolean: { + color: "#d6e7ff", + }, + number: { + color: "#d6e7ff", + }, + constant: { + color: "#d6e7ff", + }, + symbol: { + color: "#d6e7ff", + }, + deleted: { + color: "#d6e7ff", + }, + selector: { + color: "#e60067", + }, + "attr-name": { + color: "#e60067", + }, + builtin: { + color: "#e60067", + }, + inserted: { + color: "#e60067", + }, + string: { + color: "#49c6ec", + }, + char: { + color: "#49c6ec", + }, + operator: { + color: "#ec8e01", + background: "transparent", + }, + entity: { + color: "#ec8e01", + background: "transparent", + }, + url: { + color: "#ec8e01", + background: "transparent", + }, + ".language-css .token.string": { + color: "#ec8e01", + background: "transparent", + }, + ".style .token.string": { + color: "#ec8e01", + background: "transparent", + }, + atrule: { + color: "#0fe468", + }, + "attr-value": { + color: "#0fe468", + }, + keyword: { + color: "#0fe468", + }, + function: { + color: "#78f3e9", + }, + "class-name": { + color: "#78f3e9", + }, + regex: { + color: "#d6e7ff", + }, + important: { + color: "#d6e7ff", + }, + variable: { + color: "#d6e7ff", + }, + }; + e.default = t; + })(Xa)), + Xa + ); } -var rl = {}, J1; -function Z4() { - return J1 || (J1 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#f8f8f2", - background: "none", - fontFamily: `"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`, - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#f8f8f2", - background: "#2E3440", - fontFamily: `"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`, - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - borderRadius: "0.3em" - }, - ':not(pre) > code[class*="language-"]': { - background: "#2E3440", - padding: ".1em", - borderRadius: ".3em", - whiteSpace: "normal" - }, - comment: { - color: "#636f88" - }, - prolog: { - color: "#636f88" - }, - doctype: { - color: "#636f88" - }, - cdata: { - color: "#636f88" - }, - punctuation: { - color: "#81A1C1" - }, - ".namespace": { - Opacity: ".7" - }, - property: { - color: "#81A1C1" - }, - tag: { - color: "#81A1C1" - }, - constant: { - color: "#81A1C1" - }, - symbol: { - color: "#81A1C1" - }, - deleted: { - color: "#81A1C1" - }, - number: { - color: "#B48EAD" - }, - boolean: { - color: "#81A1C1" - }, - selector: { - color: "#A3BE8C" - }, - "attr-name": { - color: "#A3BE8C" - }, - string: { - color: "#A3BE8C" - }, - char: { - color: "#A3BE8C" - }, - builtin: { - color: "#A3BE8C" - }, - inserted: { - color: "#A3BE8C" - }, - operator: { - color: "#81A1C1" - }, - entity: { - color: "#81A1C1", - cursor: "help" - }, - url: { - color: "#81A1C1" - }, - ".language-css .token.string": { - color: "#81A1C1" - }, - ".style .token.string": { - color: "#81A1C1" - }, - variable: { - color: "#81A1C1" - }, - atrule: { - color: "#88C0D0" - }, - "attr-value": { - color: "#88C0D0" - }, - function: { - color: "#88C0D0" - }, - "class-name": { - color: "#88C0D0" - }, - keyword: { - color: "#81A1C1" - }, - regex: { - color: "#EBCB8B" - }, - important: { - color: "#EBCB8B", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(rl)), rl; +var Qa = {}, + q1; +function H4() { + return ( + q1 || + ((q1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + fontFamily: + '"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace', + fontSize: "16px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + background: "#322931", + color: "#b9b5b8", + }, + 'pre[class*="language-"]': { + fontFamily: + '"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace', + fontSize: "16px", + lineHeight: "1.375", + direction: "ltr", + textAlign: "left", + wordSpacing: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + background: "#322931", + color: "#b9b5b8", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#797379", + }, + prolog: { + color: "#797379", + }, + doctype: { + color: "#797379", + }, + cdata: { + color: "#797379", + }, + punctuation: { + color: "#b9b5b8", + }, + ".namespace": { + Opacity: ".7", + }, + null: { + color: "#fd8b19", + }, + operator: { + color: "#fd8b19", + }, + boolean: { + color: "#fd8b19", + }, + number: { + color: "#fd8b19", + }, + property: { + color: "#fdcc59", + }, + tag: { + color: "#1290bf", + }, + string: { + color: "#149b93", + }, + selector: { + color: "#c85e7c", + }, + "attr-name": { + color: "#fd8b19", + }, + entity: { + color: "#149b93", + cursor: "help", + }, + url: { + color: "#149b93", + }, + ".language-css .token.string": { + color: "#149b93", + }, + ".style .token.string": { + color: "#149b93", + }, + "attr-value": { + color: "#8fc13e", + }, + keyword: { + color: "#8fc13e", + }, + control: { + color: "#8fc13e", + }, + directive: { + color: "#8fc13e", + }, + unit: { + color: "#8fc13e", + }, + statement: { + color: "#149b93", + }, + regex: { + color: "#149b93", + }, + atrule: { + color: "#149b93", + }, + placeholder: { + color: "#1290bf", + }, + variable: { + color: "#1290bf", + }, + important: { + color: "#dd464c", + fontWeight: "bold", + }, + "pre > code.highlight": { + Outline: ".4em solid red", + OutlineOffset: ".4em", + }, + }; + e.default = t; + })(Qa)), + Qa + ); } -var il = {}, e2; -function U4() { - return e2 || (e2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - background: "hsl(220, 13%, 18%)", - color: "hsl(220, 14%, 71%)", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "2", - OTabSize: "2", - tabSize: "2", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - background: "hsl(220, 13%, 18%)", - color: "hsl(220, 14%, 71%)", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "2", - OTabSize: "2", - tabSize: "2", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto", - borderRadius: "0.3em" - }, - 'code[class*="language-"]::-moz-selection': { - background: "hsl(220, 13%, 28%)", - color: "inherit", - textShadow: "none" - }, - 'code[class*="language-"] *::-moz-selection': { - background: "hsl(220, 13%, 28%)", - color: "inherit", - textShadow: "none" - }, - 'pre[class*="language-"] *::-moz-selection': { - background: "hsl(220, 13%, 28%)", - color: "inherit", - textShadow: "none" - }, - 'code[class*="language-"]::selection': { - background: "hsl(220, 13%, 28%)", - color: "inherit", - textShadow: "none" - }, - 'code[class*="language-"] *::selection': { - background: "hsl(220, 13%, 28%)", - color: "inherit", - textShadow: "none" - }, - 'pre[class*="language-"] *::selection': { - background: "hsl(220, 13%, 28%)", - color: "inherit", - textShadow: "none" - }, - ':not(pre) > code[class*="language-"]': { - padding: "0.2em 0.3em", - borderRadius: "0.3em", - whiteSpace: "normal" - }, - comment: { - color: "hsl(220, 10%, 40%)", - fontStyle: "italic" - }, - prolog: { - color: "hsl(220, 10%, 40%)" - }, - cdata: { - color: "hsl(220, 10%, 40%)" - }, - doctype: { - color: "hsl(220, 14%, 71%)" - }, - punctuation: { - color: "hsl(220, 14%, 71%)" - }, - entity: { - color: "hsl(220, 14%, 71%)", - cursor: "help" - }, - "attr-name": { - color: "hsl(29, 54%, 61%)" - }, - "class-name": { - color: "hsl(29, 54%, 61%)" - }, - boolean: { - color: "hsl(29, 54%, 61%)" - }, - constant: { - color: "hsl(29, 54%, 61%)" - }, - number: { - color: "hsl(29, 54%, 61%)" - }, - atrule: { - color: "hsl(29, 54%, 61%)" - }, - keyword: { - color: "hsl(286, 60%, 67%)" - }, - property: { - color: "hsl(355, 65%, 65%)" - }, - tag: { - color: "hsl(355, 65%, 65%)" - }, - symbol: { - color: "hsl(355, 65%, 65%)" - }, - deleted: { - color: "hsl(355, 65%, 65%)" - }, - important: { - color: "hsl(355, 65%, 65%)" - }, - selector: { - color: "hsl(95, 38%, 62%)" - }, - string: { - color: "hsl(95, 38%, 62%)" - }, - char: { - color: "hsl(95, 38%, 62%)" - }, - builtin: { - color: "hsl(95, 38%, 62%)" - }, - inserted: { - color: "hsl(95, 38%, 62%)" - }, - regex: { - color: "hsl(95, 38%, 62%)" - }, - "attr-value": { - color: "hsl(95, 38%, 62%)" - }, - "attr-value > .token.punctuation": { - color: "hsl(95, 38%, 62%)" - }, - variable: { - color: "hsl(207, 82%, 66%)" - }, - operator: { - color: "hsl(207, 82%, 66%)" - }, - function: { - color: "hsl(207, 82%, 66%)" - }, - url: { - color: "hsl(187, 47%, 55%)" - }, - "attr-value > .token.punctuation.attr-equals": { - color: "hsl(220, 14%, 71%)" - }, - "special-attr > .token.attr-value > .token.value.css": { - color: "hsl(220, 14%, 71%)" - }, - ".language-css .token.selector": { - color: "hsl(355, 65%, 65%)" - }, - ".language-css .token.property": { - color: "hsl(220, 14%, 71%)" - }, - ".language-css .token.function": { - color: "hsl(187, 47%, 55%)" - }, - ".language-css .token.url > .token.function": { - color: "hsl(187, 47%, 55%)" - }, - ".language-css .token.url > .token.string.url": { - color: "hsl(95, 38%, 62%)" - }, - ".language-css .token.important": { - color: "hsl(286, 60%, 67%)" - }, - ".language-css .token.atrule .token.rule": { - color: "hsl(286, 60%, 67%)" - }, - ".language-javascript .token.operator": { - color: "hsl(286, 60%, 67%)" - }, - ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": { - color: "hsl(5, 48%, 51%)" - }, - ".language-json .token.operator": { - color: "hsl(220, 14%, 71%)" - }, - ".language-json .token.null.keyword": { - color: "hsl(29, 54%, 61%)" - }, - ".language-markdown .token.url": { - color: "hsl(220, 14%, 71%)" - }, - ".language-markdown .token.url > .token.operator": { - color: "hsl(220, 14%, 71%)" - }, - ".language-markdown .token.url-reference.url > .token.string": { - color: "hsl(220, 14%, 71%)" - }, - ".language-markdown .token.url > .token.content": { - color: "hsl(207, 82%, 66%)" - }, - ".language-markdown .token.url > .token.url": { - color: "hsl(187, 47%, 55%)" - }, - ".language-markdown .token.url-reference.url": { - color: "hsl(187, 47%, 55%)" - }, - ".language-markdown .token.blockquote.punctuation": { - color: "hsl(220, 10%, 40%)", - fontStyle: "italic" - }, - ".language-markdown .token.hr.punctuation": { - color: "hsl(220, 10%, 40%)", - fontStyle: "italic" - }, - ".language-markdown .token.code-snippet": { - color: "hsl(95, 38%, 62%)" - }, - ".language-markdown .token.bold .token.content": { - color: "hsl(29, 54%, 61%)" - }, - ".language-markdown .token.italic .token.content": { - color: "hsl(286, 60%, 67%)" - }, - ".language-markdown .token.strike .token.content": { - color: "hsl(355, 65%, 65%)" - }, - ".language-markdown .token.strike .token.punctuation": { - color: "hsl(355, 65%, 65%)" - }, - ".language-markdown .token.list.punctuation": { - color: "hsl(355, 65%, 65%)" - }, - ".language-markdown .token.title.important > .token.punctuation": { - color: "hsl(355, 65%, 65%)" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - namespace: { - Opacity: "0.8" - }, - "token.tab:not(:empty):before": { - color: "hsla(220, 14%, 71%, 0.15)", - textShadow: "none" - }, - "token.cr:before": { - color: "hsla(220, 14%, 71%, 0.15)", - textShadow: "none" - }, - "token.lf:before": { - color: "hsla(220, 14%, 71%, 0.15)", - textShadow: "none" - }, - "token.space:before": { - color: "hsla(220, 14%, 71%, 0.15)", - textShadow: "none" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { - marginRight: "0.4em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { - background: "hsl(220, 13%, 26%)", - color: "hsl(220, 9%, 55%)", - padding: "0.1em 0.4em", - borderRadius: "0.3em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { - background: "hsl(220, 13%, 26%)", - color: "hsl(220, 9%, 55%)", - padding: "0.1em 0.4em", - borderRadius: "0.3em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { - background: "hsl(220, 13%, 26%)", - color: "hsl(220, 9%, 55%)", - padding: "0.1em 0.4em", - borderRadius: "0.3em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": { - background: "hsl(220, 13%, 28%)", - color: "hsl(220, 14%, 71%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": { - background: "hsl(220, 13%, 28%)", - color: "hsl(220, 14%, 71%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { - background: "hsl(220, 13%, 28%)", - color: "hsl(220, 14%, 71%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { - background: "hsl(220, 13%, 28%)", - color: "hsl(220, 14%, 71%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { - background: "hsl(220, 13%, 28%)", - color: "hsl(220, 14%, 71%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { - background: "hsl(220, 13%, 28%)", - color: "hsl(220, 14%, 71%)" - }, - ".line-highlight.line-highlight": { - background: "hsla(220, 100%, 80%, 0.04)" - }, - ".line-highlight.line-highlight:before": { - background: "hsl(220, 13%, 26%)", - color: "hsl(220, 14%, 71%)", - padding: "0.1em 0.6em", - borderRadius: "0.3em", - boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)" - }, - ".line-highlight.line-highlight[data-end]:after": { - background: "hsl(220, 13%, 26%)", - color: "hsl(220, 14%, 71%)", - padding: "0.1em 0.6em", - borderRadius: "0.3em", - boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)" - }, - "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { - backgroundColor: "hsla(220, 100%, 80%, 0.04)" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "hsla(220, 14%, 71%, 0.15)" - }, - ".command-line .command-line-prompt": { - borderRightColor: "hsla(220, 14%, 71%, 0.15)" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "hsl(220, 14%, 45%)" - }, - ".command-line .command-line-prompt > span:before": { - color: "hsl(220, 14%, 45%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-1": { - color: "hsl(355, 65%, 65%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-5": { - color: "hsl(355, 65%, 65%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-9": { - color: "hsl(355, 65%, 65%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-2": { - color: "hsl(95, 38%, 62%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-6": { - color: "hsl(95, 38%, 62%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-10": { - color: "hsl(95, 38%, 62%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-3": { - color: "hsl(207, 82%, 66%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-7": { - color: "hsl(207, 82%, 66%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-11": { - color: "hsl(207, 82%, 66%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-4": { - color: "hsl(286, 60%, 67%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-8": { - color: "hsl(286, 60%, 67%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-12": { - color: "hsl(286, 60%, 67%)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { - backgroundColor: "hsla(353, 100%, 66%, 0.15)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { - backgroundColor: "hsla(353, 100%, 66%, 0.15)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { - backgroundColor: "hsla(137, 100%, 55%, 0.15)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { - backgroundColor: "hsla(137, 100%, 55%, 0.15)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - ".prism-previewer.prism-previewer:before": { - borderColor: "hsl(224, 13%, 17%)" - }, - ".prism-previewer-gradient.prism-previewer-gradient div": { - borderColor: "hsl(224, 13%, 17%)", - borderRadius: "0.3em" - }, - ".prism-previewer-color.prism-previewer-color:before": { - borderRadius: "0.3em" - }, - ".prism-previewer-easing.prism-previewer-easing:before": { - borderRadius: "0.3em" - }, - ".prism-previewer.prism-previewer:after": { - borderTopColor: "hsl(224, 13%, 17%)" - }, - ".prism-previewer-flipped.prism-previewer-flipped.after": { - borderBottomColor: "hsl(224, 13%, 17%)" - }, - ".prism-previewer-angle.prism-previewer-angle:before": { - background: "hsl(219, 13%, 22%)" - }, - ".prism-previewer-time.prism-previewer-time:before": { - background: "hsl(219, 13%, 22%)" - }, - ".prism-previewer-easing.prism-previewer-easing": { - background: "hsl(219, 13%, 22%)" - }, - ".prism-previewer-angle.prism-previewer-angle circle": { - stroke: "hsl(220, 14%, 71%)", - strokeOpacity: "1" - }, - ".prism-previewer-time.prism-previewer-time circle": { - stroke: "hsl(220, 14%, 71%)", - strokeOpacity: "1" - }, - ".prism-previewer-easing.prism-previewer-easing circle": { - stroke: "hsl(220, 14%, 71%)", - fill: "transparent" - }, - ".prism-previewer-easing.prism-previewer-easing path": { - stroke: "hsl(220, 14%, 71%)" - }, - ".prism-previewer-easing.prism-previewer-easing line": { - stroke: "hsl(220, 14%, 71%)" - } - }; - e.default = t; - }(il)), il; +var Ja = {}, + Y1; +function P4() { + return ( + Y1 || + ((Y1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#263E52", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#263E52", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#5c98cd", + }, + prolog: { + color: "#5c98cd", + }, + doctype: { + color: "#5c98cd", + }, + cdata: { + color: "#5c98cd", + }, + punctuation: { + color: "#f8f8f2", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#F05E5D", + }, + tag: { + color: "#F05E5D", + }, + constant: { + color: "#F05E5D", + }, + symbol: { + color: "#F05E5D", + }, + deleted: { + color: "#F05E5D", + }, + boolean: { + color: "#BC94F9", + }, + number: { + color: "#BC94F9", + }, + selector: { + color: "#FCFCD6", + }, + "attr-name": { + color: "#FCFCD6", + }, + string: { + color: "#FCFCD6", + }, + char: { + color: "#FCFCD6", + }, + builtin: { + color: "#FCFCD6", + }, + inserted: { + color: "#FCFCD6", + }, + operator: { + color: "#f8f8f2", + }, + entity: { + color: "#f8f8f2", + cursor: "help", + }, + url: { + color: "#f8f8f2", + }, + ".language-css .token.string": { + color: "#f8f8f2", + }, + ".style .token.string": { + color: "#f8f8f2", + }, + variable: { + color: "#f8f8f2", + }, + atrule: { + color: "#66D8EF", + }, + "attr-value": { + color: "#66D8EF", + }, + function: { + color: "#66D8EF", + }, + "class-name": { + color: "#66D8EF", + }, + keyword: { + color: "#6EB26E", + }, + regex: { + color: "#F05E5D", + }, + important: { + color: "#F05E5D", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(Ja)), + Ja + ); } -var al = {}, t2; -function q4() { - return t2 || (t2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - background: "hsl(230, 1%, 98%)", - color: "hsl(230, 8%, 24%)", - fontFamily: '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "2", - OTabSize: "2", - tabSize: "2", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - background: "hsl(230, 1%, 98%)", - color: "hsl(230, 8%, 24%)", - fontFamily: '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "2", - OTabSize: "2", - tabSize: "2", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: "0.5em 0", - overflow: "auto", - borderRadius: "0.3em" - }, - 'code[class*="language-"]::-moz-selection': { - background: "hsl(230, 1%, 90%)", - color: "inherit" - }, - 'code[class*="language-"] *::-moz-selection': { - background: "hsl(230, 1%, 90%)", - color: "inherit" - }, - 'pre[class*="language-"] *::-moz-selection': { - background: "hsl(230, 1%, 90%)", - color: "inherit" - }, - 'code[class*="language-"]::selection': { - background: "hsl(230, 1%, 90%)", - color: "inherit" - }, - 'code[class*="language-"] *::selection': { - background: "hsl(230, 1%, 90%)", - color: "inherit" - }, - 'pre[class*="language-"] *::selection': { - background: "hsl(230, 1%, 90%)", - color: "inherit" - }, - ':not(pre) > code[class*="language-"]': { - padding: "0.2em 0.3em", - borderRadius: "0.3em", - whiteSpace: "normal" - }, - comment: { - color: "hsl(230, 4%, 64%)", - fontStyle: "italic" - }, - prolog: { - color: "hsl(230, 4%, 64%)" - }, - cdata: { - color: "hsl(230, 4%, 64%)" - }, - doctype: { - color: "hsl(230, 8%, 24%)" - }, - punctuation: { - color: "hsl(230, 8%, 24%)" - }, - entity: { - color: "hsl(230, 8%, 24%)", - cursor: "help" - }, - "attr-name": { - color: "hsl(35, 99%, 36%)" - }, - "class-name": { - color: "hsl(35, 99%, 36%)" - }, - boolean: { - color: "hsl(35, 99%, 36%)" - }, - constant: { - color: "hsl(35, 99%, 36%)" - }, - number: { - color: "hsl(35, 99%, 36%)" - }, - atrule: { - color: "hsl(35, 99%, 36%)" - }, - keyword: { - color: "hsl(301, 63%, 40%)" - }, - property: { - color: "hsl(5, 74%, 59%)" - }, - tag: { - color: "hsl(5, 74%, 59%)" - }, - symbol: { - color: "hsl(5, 74%, 59%)" - }, - deleted: { - color: "hsl(5, 74%, 59%)" - }, - important: { - color: "hsl(5, 74%, 59%)" - }, - selector: { - color: "hsl(119, 34%, 47%)" - }, - string: { - color: "hsl(119, 34%, 47%)" - }, - char: { - color: "hsl(119, 34%, 47%)" - }, - builtin: { - color: "hsl(119, 34%, 47%)" - }, - inserted: { - color: "hsl(119, 34%, 47%)" - }, - regex: { - color: "hsl(119, 34%, 47%)" - }, - "attr-value": { - color: "hsl(119, 34%, 47%)" - }, - "attr-value > .token.punctuation": { - color: "hsl(119, 34%, 47%)" - }, - variable: { - color: "hsl(221, 87%, 60%)" - }, - operator: { - color: "hsl(221, 87%, 60%)" - }, - function: { - color: "hsl(221, 87%, 60%)" - }, - url: { - color: "hsl(198, 99%, 37%)" - }, - "attr-value > .token.punctuation.attr-equals": { - color: "hsl(230, 8%, 24%)" - }, - "special-attr > .token.attr-value > .token.value.css": { - color: "hsl(230, 8%, 24%)" - }, - ".language-css .token.selector": { - color: "hsl(5, 74%, 59%)" - }, - ".language-css .token.property": { - color: "hsl(230, 8%, 24%)" - }, - ".language-css .token.function": { - color: "hsl(198, 99%, 37%)" - }, - ".language-css .token.url > .token.function": { - color: "hsl(198, 99%, 37%)" - }, - ".language-css .token.url > .token.string.url": { - color: "hsl(119, 34%, 47%)" - }, - ".language-css .token.important": { - color: "hsl(301, 63%, 40%)" - }, - ".language-css .token.atrule .token.rule": { - color: "hsl(301, 63%, 40%)" - }, - ".language-javascript .token.operator": { - color: "hsl(301, 63%, 40%)" - }, - ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": { - color: "hsl(344, 84%, 43%)" - }, - ".language-json .token.operator": { - color: "hsl(230, 8%, 24%)" - }, - ".language-json .token.null.keyword": { - color: "hsl(35, 99%, 36%)" - }, - ".language-markdown .token.url": { - color: "hsl(230, 8%, 24%)" - }, - ".language-markdown .token.url > .token.operator": { - color: "hsl(230, 8%, 24%)" - }, - ".language-markdown .token.url-reference.url > .token.string": { - color: "hsl(230, 8%, 24%)" - }, - ".language-markdown .token.url > .token.content": { - color: "hsl(221, 87%, 60%)" - }, - ".language-markdown .token.url > .token.url": { - color: "hsl(198, 99%, 37%)" - }, - ".language-markdown .token.url-reference.url": { - color: "hsl(198, 99%, 37%)" - }, - ".language-markdown .token.blockquote.punctuation": { - color: "hsl(230, 4%, 64%)", - fontStyle: "italic" - }, - ".language-markdown .token.hr.punctuation": { - color: "hsl(230, 4%, 64%)", - fontStyle: "italic" - }, - ".language-markdown .token.code-snippet": { - color: "hsl(119, 34%, 47%)" - }, - ".language-markdown .token.bold .token.content": { - color: "hsl(35, 99%, 36%)" - }, - ".language-markdown .token.italic .token.content": { - color: "hsl(301, 63%, 40%)" - }, - ".language-markdown .token.strike .token.content": { - color: "hsl(5, 74%, 59%)" - }, - ".language-markdown .token.strike .token.punctuation": { - color: "hsl(5, 74%, 59%)" - }, - ".language-markdown .token.list.punctuation": { - color: "hsl(5, 74%, 59%)" - }, - ".language-markdown .token.title.important > .token.punctuation": { - color: "hsl(5, 74%, 59%)" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - namespace: { - Opacity: "0.8" - }, - "token.tab:not(:empty):before": { - color: "hsla(230, 8%, 24%, 0.2)" - }, - "token.cr:before": { - color: "hsla(230, 8%, 24%, 0.2)" - }, - "token.lf:before": { - color: "hsla(230, 8%, 24%, 0.2)" - }, - "token.space:before": { - color: "hsla(230, 8%, 24%, 0.2)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { - marginRight: "0.4em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { - background: "hsl(230, 1%, 90%)", - color: "hsl(230, 6%, 44%)", - padding: "0.1em 0.4em", - borderRadius: "0.3em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { - background: "hsl(230, 1%, 90%)", - color: "hsl(230, 6%, 44%)", - padding: "0.1em 0.4em", - borderRadius: "0.3em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { - background: "hsl(230, 1%, 90%)", - color: "hsl(230, 6%, 44%)", - padding: "0.1em 0.4em", - borderRadius: "0.3em" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": { - background: "hsl(230, 1%, 78%)", - color: "hsl(230, 8%, 24%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": { - background: "hsl(230, 1%, 78%)", - color: "hsl(230, 8%, 24%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { - background: "hsl(230, 1%, 78%)", - color: "hsl(230, 8%, 24%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { - background: "hsl(230, 1%, 78%)", - color: "hsl(230, 8%, 24%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { - background: "hsl(230, 1%, 78%)", - color: "hsl(230, 8%, 24%)" - }, - "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { - background: "hsl(230, 1%, 78%)", - color: "hsl(230, 8%, 24%)" - }, - ".line-highlight.line-highlight": { - background: "hsla(230, 8%, 24%, 0.05)" - }, - ".line-highlight.line-highlight:before": { - background: "hsl(230, 1%, 90%)", - color: "hsl(230, 8%, 24%)", - padding: "0.1em 0.6em", - borderRadius: "0.3em", - boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)" - }, - ".line-highlight.line-highlight[data-end]:after": { - background: "hsl(230, 1%, 90%)", - color: "hsl(230, 8%, 24%)", - padding: "0.1em 0.6em", - borderRadius: "0.3em", - boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)" - }, - "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { - backgroundColor: "hsla(230, 8%, 24%, 0.05)" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "hsla(230, 8%, 24%, 0.2)" - }, - ".command-line .command-line-prompt": { - borderRightColor: "hsla(230, 8%, 24%, 0.2)" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "hsl(230, 1%, 62%)" - }, - ".command-line .command-line-prompt > span:before": { - color: "hsl(230, 1%, 62%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-1": { - color: "hsl(5, 74%, 59%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-5": { - color: "hsl(5, 74%, 59%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-9": { - color: "hsl(5, 74%, 59%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-2": { - color: "hsl(119, 34%, 47%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-6": { - color: "hsl(119, 34%, 47%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-10": { - color: "hsl(119, 34%, 47%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-3": { - color: "hsl(221, 87%, 60%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-7": { - color: "hsl(221, 87%, 60%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-11": { - color: "hsl(221, 87%, 60%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-4": { - color: "hsl(301, 63%, 40%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-8": { - color: "hsl(301, 63%, 40%)" - }, - ".rainbow-braces .token.token.punctuation.brace-level-12": { - color: "hsl(301, 63%, 40%)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { - backgroundColor: "hsla(353, 100%, 66%, 0.15)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { - backgroundColor: "hsla(353, 100%, 66%, 0.15)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": { - backgroundColor: "hsla(353, 95%, 66%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { - backgroundColor: "hsla(137, 100%, 55%, 0.15)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { - backgroundColor: "hsla(137, 100%, 55%, 0.15)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": { - backgroundColor: "hsla(135, 73%, 55%, 0.25)" - }, - ".prism-previewer.prism-previewer:before": { - borderColor: "hsl(0, 0, 95%)" - }, - ".prism-previewer-gradient.prism-previewer-gradient div": { - borderColor: "hsl(0, 0, 95%)", - borderRadius: "0.3em" - }, - ".prism-previewer-color.prism-previewer-color:before": { - borderRadius: "0.3em" - }, - ".prism-previewer-easing.prism-previewer-easing:before": { - borderRadius: "0.3em" - }, - ".prism-previewer.prism-previewer:after": { - borderTopColor: "hsl(0, 0, 95%)" - }, - ".prism-previewer-flipped.prism-previewer-flipped.after": { - borderBottomColor: "hsl(0, 0, 95%)" - }, - ".prism-previewer-angle.prism-previewer-angle:before": { - background: "hsl(0, 0%, 100%)" - }, - ".prism-previewer-time.prism-previewer-time:before": { - background: "hsl(0, 0%, 100%)" - }, - ".prism-previewer-easing.prism-previewer-easing": { - background: "hsl(0, 0%, 100%)" - }, - ".prism-previewer-angle.prism-previewer-angle circle": { - stroke: "hsl(230, 8%, 24%)", - strokeOpacity: "1" - }, - ".prism-previewer-time.prism-previewer-time circle": { - stroke: "hsl(230, 8%, 24%)", - strokeOpacity: "1" - }, - ".prism-previewer-easing.prism-previewer-easing circle": { - stroke: "hsl(230, 8%, 24%)", - fill: "transparent" - }, - ".prism-previewer-easing.prism-previewer-easing path": { - stroke: "hsl(230, 8%, 24%)" - }, - ".prism-previewer-easing.prism-previewer-easing line": { - stroke: "hsl(230, 8%, 24%)" - } - }; - e.default = t; - }(al)), al; +var el = {}, + G1; +function B4() { + return ( + G1 || + ((G1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#eee", + background: "#2f2f2f", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#eee", + background: "#2f2f2f", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + overflow: "auto", + position: "relative", + margin: "0.5em 0", + padding: "1.25em 1em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"]::selection': { + background: "#363636", + }, + 'pre[class*="language-"]::selection': { + background: "#363636", + }, + 'code[class*="language-"] ::selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::selection': { + background: "#363636", + }, + ':not(pre) > code[class*="language-"]': { + whiteSpace: "normal", + borderRadius: "0.2em", + padding: "0.1em", + }, + ".language-css > code": { + color: "#fd9170", + }, + ".language-sass > code": { + color: "#fd9170", + }, + ".language-scss > code": { + color: "#fd9170", + }, + '[class*="language-"] .namespace': { + Opacity: "0.7", + }, + atrule: { + color: "#c792ea", + }, + "attr-name": { + color: "#ffcb6b", + }, + "attr-value": { + color: "#a5e844", + }, + attribute: { + color: "#a5e844", + }, + boolean: { + color: "#c792ea", + }, + builtin: { + color: "#ffcb6b", + }, + cdata: { + color: "#80cbc4", + }, + char: { + color: "#80cbc4", + }, + class: { + color: "#ffcb6b", + }, + "class-name": { + color: "#f2ff00", + }, + comment: { + color: "#616161", + }, + constant: { + color: "#c792ea", + }, + deleted: { + color: "#ff6666", + }, + doctype: { + color: "#616161", + }, + entity: { + color: "#ff6666", + }, + function: { + color: "#c792ea", + }, + hexcode: { + color: "#f2ff00", + }, + id: { + color: "#c792ea", + fontWeight: "bold", + }, + important: { + color: "#c792ea", + fontWeight: "bold", + }, + inserted: { + color: "#80cbc4", + }, + keyword: { + color: "#c792ea", + }, + number: { + color: "#fd9170", + }, + operator: { + color: "#89ddff", + }, + prolog: { + color: "#616161", + }, + property: { + color: "#80cbc4", + }, + "pseudo-class": { + color: "#a5e844", + }, + "pseudo-element": { + color: "#a5e844", + }, + punctuation: { + color: "#89ddff", + }, + regex: { + color: "#f2ff00", + }, + selector: { + color: "#ff6666", + }, + string: { + color: "#a5e844", + }, + symbol: { + color: "#c792ea", + }, + tag: { + color: "#ff6666", + }, + unit: { + color: "#fd9170", + }, + url: { + color: "#ff6666", + }, + variable: { + color: "#ff6666", + }, + }; + e.default = t; + })(el)), + el + ); } -var ll = {}, n2; -function Y4() { - return n2 || (n2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - whiteSpace: "pre-wrap", - wordBreak: "break-all", - wordWrap: "break-word", - fontFamily: 'Menlo, Monaco, "Courier New", monospace', - fontSize: "15px", - lineHeight: "1.5", - color: "#dccf8f", - textShadow: "0" - }, - 'pre[class*="language-"]': { - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - whiteSpace: "pre-wrap", - wordBreak: "break-all", - wordWrap: "break-word", - fontFamily: 'Menlo, Monaco, "Courier New", monospace', - fontSize: "15px", - lineHeight: "1.5", - color: "#DCCF8F", - textShadow: "0", - borderRadius: "5px", - border: "1px solid #000", - background: "#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top", - padding: "12px", - overflow: "auto" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - ':not(pre) > code[class*="language-"]': { - borderRadius: "5px", - border: "1px solid #000", - color: "#DCCF8F", - background: "#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top", - padding: "2px 6px" - }, - namespace: { - Opacity: ".7" - }, - comment: { - color: "#586e75", - fontStyle: "italic" - }, - prolog: { - color: "#586e75", - fontStyle: "italic" - }, - doctype: { - color: "#586e75", - fontStyle: "italic" - }, - cdata: { - color: "#586e75", - fontStyle: "italic" - }, - number: { - color: "#b89859" - }, - string: { - color: "#468966" - }, - char: { - color: "#468966" - }, - builtin: { - color: "#468966" - }, - inserted: { - color: "#468966" - }, - "attr-name": { - color: "#b89859" - }, - operator: { - color: "#dccf8f" - }, - entity: { - color: "#dccf8f", - cursor: "help" - }, - url: { - color: "#dccf8f" - }, - ".language-css .token.string": { - color: "#dccf8f" - }, - ".style .token.string": { - color: "#dccf8f" - }, - selector: { - color: "#859900" - }, - regex: { - color: "#859900" - }, - atrule: { - color: "#cb4b16" - }, - keyword: { - color: "#cb4b16" - }, - "attr-value": { - color: "#468966" - }, - function: { - color: "#b58900" - }, - variable: { - color: "#b58900" - }, - placeholder: { - color: "#b58900" - }, - property: { - color: "#b89859" - }, - tag: { - color: "#ffb03b" - }, - boolean: { - color: "#b89859" - }, - constant: { - color: "#b89859" - }, - symbol: { - color: "#b89859" - }, - important: { - color: "#dc322f" - }, - statement: { - color: "#dc322f" - }, - deleted: { - color: "#dc322f" - }, - punctuation: { - color: "#dccf8f" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(ll)), ll; +var tl = {}, + K1; +function V4() { + return ( + K1 || + ((K1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#90a4ae", + background: "#fafafa", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#90a4ae", + background: "#fafafa", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + overflow: "auto", + position: "relative", + margin: "0.5em 0", + padding: "1.25em 1em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#cceae7", + color: "#263238", + }, + 'code[class*="language-"]::selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"]::selection': { + background: "#cceae7", + color: "#263238", + }, + 'code[class*="language-"] ::selection': { + background: "#cceae7", + color: "#263238", + }, + 'pre[class*="language-"] ::selection': { + background: "#cceae7", + color: "#263238", + }, + ':not(pre) > code[class*="language-"]': { + whiteSpace: "normal", + borderRadius: "0.2em", + padding: "0.1em", + }, + ".language-css > code": { + color: "#f76d47", + }, + ".language-sass > code": { + color: "#f76d47", + }, + ".language-scss > code": { + color: "#f76d47", + }, + '[class*="language-"] .namespace': { + Opacity: "0.7", + }, + atrule: { + color: "#7c4dff", + }, + "attr-name": { + color: "#39adb5", + }, + "attr-value": { + color: "#f6a434", + }, + attribute: { + color: "#f6a434", + }, + boolean: { + color: "#7c4dff", + }, + builtin: { + color: "#39adb5", + }, + cdata: { + color: "#39adb5", + }, + char: { + color: "#39adb5", + }, + class: { + color: "#39adb5", + }, + "class-name": { + color: "#6182b8", + }, + comment: { + color: "#aabfc9", + }, + constant: { + color: "#7c4dff", + }, + deleted: { + color: "#e53935", + }, + doctype: { + color: "#aabfc9", + }, + entity: { + color: "#e53935", + }, + function: { + color: "#7c4dff", + }, + hexcode: { + color: "#f76d47", + }, + id: { + color: "#7c4dff", + fontWeight: "bold", + }, + important: { + color: "#7c4dff", + fontWeight: "bold", + }, + inserted: { + color: "#39adb5", + }, + keyword: { + color: "#7c4dff", + }, + number: { + color: "#f76d47", + }, + operator: { + color: "#39adb5", + }, + prolog: { + color: "#aabfc9", + }, + property: { + color: "#39adb5", + }, + "pseudo-class": { + color: "#f6a434", + }, + "pseudo-element": { + color: "#f6a434", + }, + punctuation: { + color: "#39adb5", + }, + regex: { + color: "#6182b8", + }, + selector: { + color: "#e53935", + }, + string: { + color: "#f6a434", + }, + symbol: { + color: "#7c4dff", + }, + tag: { + color: "#e53935", + }, + unit: { + color: "#f76d47", + }, + url: { + color: "#e53935", + }, + variable: { + color: "#e53935", + }, + }; + e.default = t; + })(tl)), + tl + ); } -var sl = {}, o2; -function G4() { - return o2 || (o2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - "code[class*='language-']": { - color: "#9efeff", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - fontFamily: "'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontWeight: "400", - fontSize: "17px", - lineHeight: "25px", - letterSpacing: "0.5px", - textShadow: "0 1px #222245" - }, - "pre[class*='language-']": { - color: "#9efeff", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - fontFamily: "'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontWeight: "400", - fontSize: "17px", - lineHeight: "25px", - letterSpacing: "0.5px", - textShadow: "0 1px #222245", - padding: "2em", - margin: "0.5em 0", - overflow: "auto", - background: "#1e1e3f" - }, - "pre[class*='language-']::-moz-selection": { - color: "inherit", - background: "#a599e9" - }, - "pre[class*='language-'] ::-moz-selection": { - color: "inherit", - background: "#a599e9" - }, - "code[class*='language-']::-moz-selection": { - color: "inherit", - background: "#a599e9" - }, - "code[class*='language-'] ::-moz-selection": { - color: "inherit", - background: "#a599e9" - }, - "pre[class*='language-']::selection": { - color: "inherit", - background: "#a599e9" - }, - "pre[class*='language-'] ::selection": { - color: "inherit", - background: "#a599e9" - }, - "code[class*='language-']::selection": { - color: "inherit", - background: "#a599e9" - }, - "code[class*='language-'] ::selection": { - color: "inherit", - background: "#a599e9" - }, - ":not(pre) > code[class*='language-']": { - background: "#1e1e3f", - padding: "0.1em", - borderRadius: "0.3em" - }, - "": { - fontWeight: "400" - }, - comment: { - color: "#b362ff" - }, - prolog: { - color: "#b362ff" - }, - cdata: { - color: "#b362ff" - }, - delimiter: { - color: "#ff9d00" - }, - keyword: { - color: "#ff9d00" - }, - selector: { - color: "#ff9d00" - }, - important: { - color: "#ff9d00" - }, - atrule: { - color: "#ff9d00" - }, - operator: { - color: "rgb(255, 180, 84)", - background: "none" - }, - "attr-name": { - color: "rgb(255, 180, 84)" - }, - punctuation: { - color: "#ffffff" - }, - boolean: { - color: "rgb(255, 98, 140)" - }, - tag: { - color: "rgb(255, 157, 0)" - }, - "tag.punctuation": { - color: "rgb(255, 157, 0)" - }, - doctype: { - color: "rgb(255, 157, 0)" - }, - builtin: { - color: "rgb(255, 157, 0)" - }, - entity: { - color: "#6897bb", - background: "none" - }, - symbol: { - color: "#6897bb" - }, - number: { - color: "#ff628c" - }, - property: { - color: "#ff628c" - }, - constant: { - color: "#ff628c" - }, - variable: { - color: "#ff628c" - }, - string: { - color: "#a5ff90" - }, - char: { - color: "#a5ff90" - }, - "attr-value": { - color: "#a5c261" - }, - "attr-value.punctuation": { - color: "#a5c261" - }, - "attr-value.punctuation:first-child": { - color: "#a9b7c6" - }, - url: { - color: "#287bde", - textDecoration: "underline", - background: "none" - }, - function: { - color: "rgb(250, 208, 0)" - }, - regex: { - background: "#364135" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - inserted: { - background: "#00ff00" - }, - deleted: { - background: "#ff000d" - }, - "code.language-css .token.property": { - color: "#a9b7c6" - }, - "code.language-css .token.property + .token.punctuation": { - color: "#a9b7c6" - }, - "code.language-css .token.id": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.class": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.attribute": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.pseudo-class": { - color: "#ffc66d" - }, - "code.language-css .token.selector > .token.pseudo-element": { - color: "#ffc66d" - }, - "class-name": { - color: "#fb94ff" - }, - ".language-css .token.string": { - background: "none" - }, - ".style .token.string": { - background: "none" - }, - ".line-highlight.line-highlight": { - marginTop: "36px", - background: "linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)" - }, - ".line-highlight.line-highlight:before": { - content: "''" - }, - ".line-highlight.line-highlight[data-end]:after": { - content: "''" - } - }; - e.default = t; - }(sl)), sl; +var nl = {}, + X1; +function $4() { + return ( + X1 || + ((X1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#c3cee3", + background: "#263238", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + color: "#c3cee3", + background: "#263238", + fontFamily: "Roboto Mono, monospace", + fontSize: "1em", + lineHeight: "1.5em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + overflow: "auto", + position: "relative", + margin: "0.5em 0", + padding: "1.25em 1em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#363636", + }, + 'code[class*="language-"]::selection': { + background: "#363636", + }, + 'pre[class*="language-"]::selection': { + background: "#363636", + }, + 'code[class*="language-"] ::selection': { + background: "#363636", + }, + 'pre[class*="language-"] ::selection': { + background: "#363636", + }, + ':not(pre) > code[class*="language-"]': { + whiteSpace: "normal", + borderRadius: "0.2em", + padding: "0.1em", + }, + ".language-css > code": { + color: "#fd9170", + }, + ".language-sass > code": { + color: "#fd9170", + }, + ".language-scss > code": { + color: "#fd9170", + }, + '[class*="language-"] .namespace': { + Opacity: "0.7", + }, + atrule: { + color: "#c792ea", + }, + "attr-name": { + color: "#ffcb6b", + }, + "attr-value": { + color: "#c3e88d", + }, + attribute: { + color: "#c3e88d", + }, + boolean: { + color: "#c792ea", + }, + builtin: { + color: "#ffcb6b", + }, + cdata: { + color: "#80cbc4", + }, + char: { + color: "#80cbc4", + }, + class: { + color: "#ffcb6b", + }, + "class-name": { + color: "#f2ff00", + }, + color: { + color: "#f2ff00", + }, + comment: { + color: "#546e7a", + }, + constant: { + color: "#c792ea", + }, + deleted: { + color: "#f07178", + }, + doctype: { + color: "#546e7a", + }, + entity: { + color: "#f07178", + }, + function: { + color: "#c792ea", + }, + hexcode: { + color: "#f2ff00", + }, + id: { + color: "#c792ea", + fontWeight: "bold", + }, + important: { + color: "#c792ea", + fontWeight: "bold", + }, + inserted: { + color: "#80cbc4", + }, + keyword: { + color: "#c792ea", + fontStyle: "italic", + }, + number: { + color: "#fd9170", + }, + operator: { + color: "#89ddff", + }, + prolog: { + color: "#546e7a", + }, + property: { + color: "#80cbc4", + }, + "pseudo-class": { + color: "#c3e88d", + }, + "pseudo-element": { + color: "#c3e88d", + }, + punctuation: { + color: "#89ddff", + }, + regex: { + color: "#f2ff00", + }, + selector: { + color: "#f07178", + }, + string: { + color: "#c3e88d", + }, + symbol: { + color: "#c792ea", + }, + tag: { + color: "#f07178", + }, + unit: { + color: "#f07178", + }, + url: { + color: "#fd9170", + }, + variable: { + color: "#f07178", + }, + }; + e.default = t; + })(nl)), + nl + ); } -var cl = {}, r2; -function K4() { - return r2 || (r2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#839496", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#839496", - textShadow: "0 1px rgba(0, 0, 0, 0.3)", - fontFamily: "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - borderRadius: "0.3em", - background: "#002b36" - }, - ':not(pre) > code[class*="language-"]': { - background: "#002b36", - padding: ".1em", - borderRadius: ".3em" - }, - comment: { - color: "#586e75" - }, - prolog: { - color: "#586e75" - }, - doctype: { - color: "#586e75" - }, - cdata: { - color: "#586e75" - }, - punctuation: { - color: "#93a1a1" - }, - ".namespace": { - Opacity: ".7" - }, - property: { - color: "#268bd2" - }, - keyword: { - color: "#268bd2" - }, - tag: { - color: "#268bd2" - }, - "class-name": { - color: "#FFFFB6", - textDecoration: "underline" - }, - boolean: { - color: "#b58900" - }, - constant: { - color: "#b58900" - }, - symbol: { - color: "#dc322f" - }, - deleted: { - color: "#dc322f" - }, - number: { - color: "#859900" - }, - selector: { - color: "#859900" - }, - "attr-name": { - color: "#859900" - }, - string: { - color: "#859900" - }, - char: { - color: "#859900" - }, - builtin: { - color: "#859900" - }, - inserted: { - color: "#859900" - }, - variable: { - color: "#268bd2" - }, - operator: { - color: "#EDEDED" - }, - function: { - color: "#268bd2" - }, - regex: { - color: "#E9C062" - }, - important: { - color: "#fd971f", - fontWeight: "bold" - }, - entity: { - color: "#FFFFB6", - cursor: "help" - }, - url: { - color: "#96CBFE" - }, - ".language-css .token.string": { - color: "#87C38A" - }, - ".style .token.string": { - color: "#87C38A" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - atrule: { - color: "#F9EE98" - }, - "attr-value": { - color: "#F9EE98" - } - }; - e.default = t; - }(cl)), cl; +var ol = {}, + Q1; +function W4() { + return ( + Q1 || + ((Q1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#d6deeb", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + fontSize: "1em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "white", + fontFamily: + 'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace', + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + fontSize: "1em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + background: "#011627", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + ':not(pre) > code[class*="language-"]': { + color: "white", + background: "#011627", + padding: "0.1em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + prolog: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + cdata: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + punctuation: { + color: "rgb(199, 146, 234)", + }, + ".namespace": { + color: "rgb(178, 204, 214)", + }, + deleted: { + color: "rgba(239, 83, 80, 0.56)", + fontStyle: "italic", + }, + symbol: { + color: "rgb(128, 203, 196)", + }, + property: { + color: "rgb(128, 203, 196)", + }, + tag: { + color: "rgb(127, 219, 202)", + }, + operator: { + color: "rgb(127, 219, 202)", + }, + keyword: { + color: "rgb(127, 219, 202)", + }, + boolean: { + color: "rgb(255, 88, 116)", + }, + number: { + color: "rgb(247, 140, 108)", + }, + constant: { + color: "rgb(130, 170, 255)", + }, + function: { + color: "rgb(130, 170, 255)", + }, + builtin: { + color: "rgb(130, 170, 255)", + }, + char: { + color: "rgb(130, 170, 255)", + }, + selector: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + doctype: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + "attr-name": { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + inserted: { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + string: { + color: "rgb(173, 219, 103)", + }, + url: { + color: "rgb(173, 219, 103)", + }, + entity: { + color: "rgb(173, 219, 103)", + }, + ".language-css .token.string": { + color: "rgb(173, 219, 103)", + }, + ".style .token.string": { + color: "rgb(173, 219, 103)", + }, + "class-name": { + color: "rgb(255, 203, 139)", + }, + atrule: { + color: "rgb(255, 203, 139)", + }, + "attr-value": { + color: "rgb(255, 203, 139)", + }, + regex: { + color: "rgb(214, 222, 235)", + }, + important: { + color: "rgb(214, 222, 235)", + fontWeight: "bold", + }, + variable: { + color: "rgb(214, 222, 235)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(ol)), + ol + ); } -var ul = {}, i2; -function X4() { - return i2 || (i2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#f92aad", - textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#f92aad", - textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", - background: "none", - fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", - fontSize: "1em", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - backgroundColor: "transparent !important", - backgroundImage: "linear-gradient(to bottom, #2a2139 75%, #34294f)" - }, - ':not(pre) > code[class*="language-"]': { - backgroundColor: "transparent !important", - backgroundImage: "linear-gradient(to bottom, #2a2139 75%, #34294f)", - padding: ".1em", - borderRadius: ".3em", - whiteSpace: "normal" - }, - comment: { - color: "#8e8e8e" - }, - "block-comment": { - color: "#8e8e8e" - }, - prolog: { - color: "#8e8e8e" - }, - doctype: { - color: "#8e8e8e" - }, - cdata: { - color: "#8e8e8e" - }, - punctuation: { - color: "#ccc" - }, - tag: { - color: "#e2777a" - }, - "attr-name": { - color: "#e2777a" - }, - namespace: { - color: "#e2777a" - }, - number: { - color: "#e2777a" - }, - unit: { - color: "#e2777a" - }, - hexcode: { - color: "#e2777a" - }, - deleted: { - color: "#e2777a" - }, - property: { - color: "#72f1b8", - textShadow: "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475" - }, - selector: { - color: "#72f1b8", - textShadow: "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475" - }, - "function-name": { - color: "#6196cc" - }, - boolean: { - color: "#fdfdfd", - textShadow: "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975" - }, - "selector.id": { - color: "#fdfdfd", - textShadow: "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975" - }, - function: { - color: "#fdfdfd", - textShadow: "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975" - }, - "class-name": { - color: "#fff5f6", - textShadow: "0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75" - }, - constant: { - color: "#f92aad", - textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3" - }, - symbol: { - color: "#f92aad", - textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3" - }, - important: { - color: "#f4eee4", - textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", - fontWeight: "bold" - }, - atrule: { - color: "#f4eee4", - textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575" - }, - keyword: { - color: "#f4eee4", - textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575" - }, - "selector.class": { - color: "#f4eee4", - textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575" - }, - builtin: { - color: "#f4eee4", - textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575" - }, - string: { - color: "#f87c32" - }, - char: { - color: "#f87c32" - }, - "attr-value": { - color: "#f87c32" - }, - regex: { - color: "#f87c32" - }, - variable: { - color: "#f87c32" - }, - operator: { - color: "#67cdcc" - }, - entity: { - color: "#67cdcc", - cursor: "help" - }, - url: { - color: "#67cdcc" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - inserted: { - color: "green" - } - }; - e.default = t; - }(ul)), ul; +var rl = {}, + J1; +function Z4() { + return ( + J1 || + ((J1 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f8f8f2", + background: "none", + fontFamily: `"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`, + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f8f8f2", + background: "#2E3440", + fontFamily: `"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`, + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2E3440", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#636f88", + }, + prolog: { + color: "#636f88", + }, + doctype: { + color: "#636f88", + }, + cdata: { + color: "#636f88", + }, + punctuation: { + color: "#81A1C1", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#81A1C1", + }, + tag: { + color: "#81A1C1", + }, + constant: { + color: "#81A1C1", + }, + symbol: { + color: "#81A1C1", + }, + deleted: { + color: "#81A1C1", + }, + number: { + color: "#B48EAD", + }, + boolean: { + color: "#81A1C1", + }, + selector: { + color: "#A3BE8C", + }, + "attr-name": { + color: "#A3BE8C", + }, + string: { + color: "#A3BE8C", + }, + char: { + color: "#A3BE8C", + }, + builtin: { + color: "#A3BE8C", + }, + inserted: { + color: "#A3BE8C", + }, + operator: { + color: "#81A1C1", + }, + entity: { + color: "#81A1C1", + cursor: "help", + }, + url: { + color: "#81A1C1", + }, + ".language-css .token.string": { + color: "#81A1C1", + }, + ".style .token.string": { + color: "#81A1C1", + }, + variable: { + color: "#81A1C1", + }, + atrule: { + color: "#88C0D0", + }, + "attr-value": { + color: "#88C0D0", + }, + function: { + color: "#88C0D0", + }, + "class-name": { + color: "#88C0D0", + }, + keyword: { + color: "#81A1C1", + }, + regex: { + color: "#EBCB8B", + }, + important: { + color: "#EBCB8B", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(rl)), + rl + ); } -var dl = {}, a2; -function Q4() { - return a2 || (a2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#393A34", - fontFamily: '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - fontSize: ".9em", - lineHeight: "1.2em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]': { - color: "#393A34", - fontFamily: '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - fontSize: ".9em", - lineHeight: "1.2em", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - border: "1px solid #dddddd", - backgroundColor: "white" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - 'pre[class*="language-"]::-moz-selection': { - background: "#C1DEF1" - }, - 'pre[class*="language-"] ::-moz-selection': { - background: "#C1DEF1" - }, - 'code[class*="language-"]::-moz-selection': { - background: "#C1DEF1" - }, - 'code[class*="language-"] ::-moz-selection': { - background: "#C1DEF1" - }, - 'pre[class*="language-"]::selection': { - background: "#C1DEF1" - }, - 'pre[class*="language-"] ::selection': { - background: "#C1DEF1" - }, - 'code[class*="language-"]::selection': { - background: "#C1DEF1" - }, - 'code[class*="language-"] ::selection': { - background: "#C1DEF1" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".2em", - paddingTop: "1px", - paddingBottom: "1px", - background: "#f8f8f8", - border: "1px solid #dddddd" - }, - comment: { - color: "#008000", - fontStyle: "italic" - }, - prolog: { - color: "#008000", - fontStyle: "italic" - }, - doctype: { - color: "#008000", - fontStyle: "italic" - }, - cdata: { - color: "#008000", - fontStyle: "italic" - }, - namespace: { - Opacity: ".7" - }, - string: { - color: "#A31515" - }, - punctuation: { - color: "#393A34" - }, - operator: { - color: "#393A34" - }, - url: { - color: "#36acaa" - }, - symbol: { - color: "#36acaa" - }, - number: { - color: "#36acaa" - }, - boolean: { - color: "#36acaa" - }, - variable: { - color: "#36acaa" - }, - constant: { - color: "#36acaa" - }, - inserted: { - color: "#36acaa" - }, - atrule: { - color: "#0000ff" - }, - keyword: { - color: "#0000ff" - }, - "attr-value": { - color: "#0000ff" - }, - ".language-autohotkey .token.selector": { - color: "#0000ff" - }, - ".language-json .token.boolean": { - color: "#0000ff" - }, - ".language-json .token.number": { - color: "#0000ff" - }, - 'code[class*="language-css"]': { - color: "#0000ff" - }, - function: { - color: "#393A34" - }, - deleted: { - color: "#9a050f" - }, - ".language-autohotkey .token.tag": { - color: "#9a050f" - }, - selector: { - color: "#800000" - }, - ".language-autohotkey .token.keyword": { - color: "#00009f" - }, - important: { - color: "#e90", - fontWeight: "bold" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - }, - "class-name": { - color: "#2B91AF" - }, - ".language-json .token.property": { - color: "#2B91AF" - }, - tag: { - color: "#800000" - }, - "attr-name": { - color: "#ff0000" - }, - property: { - color: "#ff0000" - }, - regex: { - color: "#ff0000" - }, - entity: { - color: "#ff0000" - }, - "directive.tag.tag": { - background: "#ffff00", - color: "#393A34" - }, - ".line-numbers.line-numbers .line-numbers-rows": { - borderRightColor: "#a5a5a5" - }, - ".line-numbers .line-numbers-rows > span:before": { - color: "#2B91AF" - }, - ".line-highlight.line-highlight": { - background: "linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))" - } - }; - e.default = t; - }(dl)), dl; +var il = {}, + e2; +function U4() { + return ( + e2 || + ((e2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + background: "hsl(220, 13%, 18%)", + color: "hsl(220, 14%, 71%)", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + background: "hsl(220, 13%, 18%)", + color: "hsl(220, 14%, 71%)", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'code[class*="language-"] *::-moz-selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'pre[class*="language-"] *::-moz-selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'code[class*="language-"]::selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'code[class*="language-"] *::selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + 'pre[class*="language-"] *::selection': { + background: "hsl(220, 13%, 28%)", + color: "inherit", + textShadow: "none", + }, + ':not(pre) > code[class*="language-"]': { + padding: "0.2em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "hsl(220, 10%, 40%)", + fontStyle: "italic", + }, + prolog: { + color: "hsl(220, 10%, 40%)", + }, + cdata: { + color: "hsl(220, 10%, 40%)", + }, + doctype: { + color: "hsl(220, 14%, 71%)", + }, + punctuation: { + color: "hsl(220, 14%, 71%)", + }, + entity: { + color: "hsl(220, 14%, 71%)", + cursor: "help", + }, + "attr-name": { + color: "hsl(29, 54%, 61%)", + }, + "class-name": { + color: "hsl(29, 54%, 61%)", + }, + boolean: { + color: "hsl(29, 54%, 61%)", + }, + constant: { + color: "hsl(29, 54%, 61%)", + }, + number: { + color: "hsl(29, 54%, 61%)", + }, + atrule: { + color: "hsl(29, 54%, 61%)", + }, + keyword: { + color: "hsl(286, 60%, 67%)", + }, + property: { + color: "hsl(355, 65%, 65%)", + }, + tag: { + color: "hsl(355, 65%, 65%)", + }, + symbol: { + color: "hsl(355, 65%, 65%)", + }, + deleted: { + color: "hsl(355, 65%, 65%)", + }, + important: { + color: "hsl(355, 65%, 65%)", + }, + selector: { + color: "hsl(95, 38%, 62%)", + }, + string: { + color: "hsl(95, 38%, 62%)", + }, + char: { + color: "hsl(95, 38%, 62%)", + }, + builtin: { + color: "hsl(95, 38%, 62%)", + }, + inserted: { + color: "hsl(95, 38%, 62%)", + }, + regex: { + color: "hsl(95, 38%, 62%)", + }, + "attr-value": { + color: "hsl(95, 38%, 62%)", + }, + "attr-value > .token.punctuation": { + color: "hsl(95, 38%, 62%)", + }, + variable: { + color: "hsl(207, 82%, 66%)", + }, + operator: { + color: "hsl(207, 82%, 66%)", + }, + function: { + color: "hsl(207, 82%, 66%)", + }, + url: { + color: "hsl(187, 47%, 55%)", + }, + "attr-value > .token.punctuation.attr-equals": { + color: "hsl(220, 14%, 71%)", + }, + "special-attr > .token.attr-value > .token.value.css": { + color: "hsl(220, 14%, 71%)", + }, + ".language-css .token.selector": { + color: "hsl(355, 65%, 65%)", + }, + ".language-css .token.property": { + color: "hsl(220, 14%, 71%)", + }, + ".language-css .token.function": { + color: "hsl(187, 47%, 55%)", + }, + ".language-css .token.url > .token.function": { + color: "hsl(187, 47%, 55%)", + }, + ".language-css .token.url > .token.string.url": { + color: "hsl(95, 38%, 62%)", + }, + ".language-css .token.important": { + color: "hsl(286, 60%, 67%)", + }, + ".language-css .token.atrule .token.rule": { + color: "hsl(286, 60%, 67%)", + }, + ".language-javascript .token.operator": { + color: "hsl(286, 60%, 67%)", + }, + ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": + { + color: "hsl(5, 48%, 51%)", + }, + ".language-json .token.operator": { + color: "hsl(220, 14%, 71%)", + }, + ".language-json .token.null.keyword": { + color: "hsl(29, 54%, 61%)", + }, + ".language-markdown .token.url": { + color: "hsl(220, 14%, 71%)", + }, + ".language-markdown .token.url > .token.operator": { + color: "hsl(220, 14%, 71%)", + }, + ".language-markdown .token.url-reference.url > .token.string": { + color: "hsl(220, 14%, 71%)", + }, + ".language-markdown .token.url > .token.content": { + color: "hsl(207, 82%, 66%)", + }, + ".language-markdown .token.url > .token.url": { + color: "hsl(187, 47%, 55%)", + }, + ".language-markdown .token.url-reference.url": { + color: "hsl(187, 47%, 55%)", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "hsl(220, 10%, 40%)", + fontStyle: "italic", + }, + ".language-markdown .token.hr.punctuation": { + color: "hsl(220, 10%, 40%)", + fontStyle: "italic", + }, + ".language-markdown .token.code-snippet": { + color: "hsl(95, 38%, 62%)", + }, + ".language-markdown .token.bold .token.content": { + color: "hsl(29, 54%, 61%)", + }, + ".language-markdown .token.italic .token.content": { + color: "hsl(286, 60%, 67%)", + }, + ".language-markdown .token.strike .token.content": { + color: "hsl(355, 65%, 65%)", + }, + ".language-markdown .token.strike .token.punctuation": { + color: "hsl(355, 65%, 65%)", + }, + ".language-markdown .token.list.punctuation": { + color: "hsl(355, 65%, 65%)", + }, + ".language-markdown .token.title.important > .token.punctuation": { + color: "hsl(355, 65%, 65%)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: "0.8", + }, + "token.tab:not(:empty):before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "token.cr:before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "token.lf:before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "token.space:before": { + color: "hsla(220, 14%, 71%, 0.15)", + textShadow: "none", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { + marginRight: "0.4em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 9%, 55%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 9%, 55%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 9%, 55%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + background: "hsl(220, 13%, 28%)", + color: "hsl(220, 14%, 71%)", + }, + ".line-highlight.line-highlight": { + background: "hsla(220, 100%, 80%, 0.04)", + }, + ".line-highlight.line-highlight:before": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 14%, 71%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + ".line-highlight.line-highlight[data-end]:after": { + background: "hsl(220, 13%, 26%)", + color: "hsl(220, 14%, 71%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "hsla(220, 100%, 80%, 0.04)", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "hsla(220, 14%, 71%, 0.15)", + }, + ".command-line .command-line-prompt": { + borderRightColor: "hsla(220, 14%, 71%, 0.15)", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "hsl(220, 14%, 45%)", + }, + ".command-line .command-line-prompt > span:before": { + color: "hsl(220, 14%, 45%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "hsl(355, 65%, 65%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "hsl(355, 65%, 65%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "hsl(355, 65%, 65%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "hsl(95, 38%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "hsl(95, 38%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "hsl(95, 38%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "hsl(207, 82%, 66%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "hsl(207, 82%, 66%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "hsl(207, 82%, 66%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "hsl(286, 60%, 67%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "hsl(286, 60%, 67%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "hsl(286, 60%, 67%)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + ".prism-previewer.prism-previewer:before": { + borderColor: "hsl(224, 13%, 17%)", + }, + ".prism-previewer-gradient.prism-previewer-gradient div": { + borderColor: "hsl(224, 13%, 17%)", + borderRadius: "0.3em", + }, + ".prism-previewer-color.prism-previewer-color:before": { + borderRadius: "0.3em", + }, + ".prism-previewer-easing.prism-previewer-easing:before": { + borderRadius: "0.3em", + }, + ".prism-previewer.prism-previewer:after": { + borderTopColor: "hsl(224, 13%, 17%)", + }, + ".prism-previewer-flipped.prism-previewer-flipped.after": { + borderBottomColor: "hsl(224, 13%, 17%)", + }, + ".prism-previewer-angle.prism-previewer-angle:before": { + background: "hsl(219, 13%, 22%)", + }, + ".prism-previewer-time.prism-previewer-time:before": { + background: "hsl(219, 13%, 22%)", + }, + ".prism-previewer-easing.prism-previewer-easing": { + background: "hsl(219, 13%, 22%)", + }, + ".prism-previewer-angle.prism-previewer-angle circle": { + stroke: "hsl(220, 14%, 71%)", + strokeOpacity: "1", + }, + ".prism-previewer-time.prism-previewer-time circle": { + stroke: "hsl(220, 14%, 71%)", + strokeOpacity: "1", + }, + ".prism-previewer-easing.prism-previewer-easing circle": { + stroke: "hsl(220, 14%, 71%)", + fill: "transparent", + }, + ".prism-previewer-easing.prism-previewer-easing path": { + stroke: "hsl(220, 14%, 71%)", + }, + ".prism-previewer-easing.prism-previewer-easing line": { + stroke: "hsl(220, 14%, 71%)", + }, + }; + e.default = t; + })(il)), + il + ); } -var fl = {}, l2; -function J4() { - return l2 || (l2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'pre[class*="language-"]': { - color: "#d4d4d4", - fontSize: "13px", - textShadow: "none", - fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - padding: "1em", - margin: ".5em 0", - overflow: "auto", - background: "#1e1e1e" - }, - 'code[class*="language-"]': { - color: "#d4d4d4", - fontSize: "13px", - textShadow: "none", - fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace', - direction: "ltr", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - lineHeight: "1.5", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "#264F78" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "#264F78" - }, - 'pre[class*="language-"] *::selection': { - textShadow: "none", - background: "#264F78" - }, - 'code[class*="language-"] *::selection': { - textShadow: "none", - background: "#264F78" - }, - ':not(pre) > code[class*="language-"]': { - padding: ".1em .3em", - borderRadius: ".3em", - color: "#db4c69", - background: "#1e1e1e" - }, - ".namespace": { - Opacity: ".7" - }, - "doctype.doctype-tag": { - color: "#569CD6" - }, - "doctype.name": { - color: "#9cdcfe" - }, - comment: { - color: "#6a9955" - }, - prolog: { - color: "#6a9955" - }, - punctuation: { - color: "#d4d4d4" - }, - ".language-html .language-css .token.punctuation": { - color: "#d4d4d4" - }, - ".language-html .language-javascript .token.punctuation": { - color: "#d4d4d4" - }, - property: { - color: "#9cdcfe" - }, - tag: { - color: "#569cd6" - }, - boolean: { - color: "#569cd6" - }, - number: { - color: "#b5cea8" - }, - constant: { - color: "#9cdcfe" - }, - symbol: { - color: "#b5cea8" - }, - inserted: { - color: "#b5cea8" - }, - unit: { - color: "#b5cea8" - }, - selector: { - color: "#d7ba7d" - }, - "attr-name": { - color: "#9cdcfe" - }, - string: { - color: "#ce9178" - }, - char: { - color: "#ce9178" - }, - builtin: { - color: "#ce9178" - }, - deleted: { - color: "#ce9178" - }, - ".language-css .token.string.url": { - textDecoration: "underline" - }, - operator: { - color: "#d4d4d4" - }, - entity: { - color: "#569cd6" - }, - "operator.arrow": { - color: "#569CD6" - }, - atrule: { - color: "#ce9178" - }, - "atrule.rule": { - color: "#c586c0" - }, - "atrule.url": { - color: "#9cdcfe" - }, - "atrule.url.function": { - color: "#dcdcaa" - }, - "atrule.url.punctuation": { - color: "#d4d4d4" - }, - keyword: { - color: "#569CD6" - }, - "keyword.module": { - color: "#c586c0" - }, - "keyword.control-flow": { - color: "#c586c0" - }, - function: { - color: "#dcdcaa" - }, - "function.maybe-class-name": { - color: "#dcdcaa" - }, - regex: { - color: "#d16969" - }, - important: { - color: "#569cd6" - }, - italic: { - fontStyle: "italic" - }, - "class-name": { - color: "#4ec9b0" - }, - "maybe-class-name": { - color: "#4ec9b0" - }, - console: { - color: "#9cdcfe" - }, - parameter: { - color: "#9cdcfe" - }, - interpolation: { - color: "#9cdcfe" - }, - "punctuation.interpolation-punctuation": { - color: "#569cd6" - }, - variable: { - color: "#9cdcfe" - }, - "imports.maybe-class-name": { - color: "#9cdcfe" - }, - "exports.maybe-class-name": { - color: "#9cdcfe" - }, - escape: { - color: "#d7ba7d" - }, - "tag.punctuation": { - color: "#808080" - }, - cdata: { - color: "#808080" - }, - "attr-value": { - color: "#ce9178" - }, - "attr-value.punctuation": { - color: "#ce9178" - }, - "attr-value.punctuation.attr-equals": { - color: "#d4d4d4" - }, - namespace: { - color: "#4ec9b0" - }, - 'pre[class*="language-javascript"]': { - color: "#9cdcfe" - }, - 'code[class*="language-javascript"]': { - color: "#9cdcfe" - }, - 'pre[class*="language-jsx"]': { - color: "#9cdcfe" - }, - 'code[class*="language-jsx"]': { - color: "#9cdcfe" - }, - 'pre[class*="language-typescript"]': { - color: "#9cdcfe" - }, - 'code[class*="language-typescript"]': { - color: "#9cdcfe" - }, - 'pre[class*="language-tsx"]': { - color: "#9cdcfe" - }, - 'code[class*="language-tsx"]': { - color: "#9cdcfe" - }, - 'pre[class*="language-css"]': { - color: "#ce9178" - }, - 'code[class*="language-css"]': { - color: "#ce9178" - }, - 'pre[class*="language-html"]': { - color: "#d4d4d4" - }, - 'code[class*="language-html"]': { - color: "#d4d4d4" - }, - ".language-regex .token.anchor": { - color: "#dcdcaa" - }, - ".language-html .token.punctuation": { - color: "#808080" - }, - 'pre[class*="language-"] > code[class*="language-"]': { - position: "relative", - zIndex: "1" - }, - ".line-highlight.line-highlight": { - background: "#f7ebc6", - boxShadow: "inset 5px 0 0 #f7d87c", - zIndex: "0" - } - }; - e.default = t; - }(fl)), fl; -} -var pl = {}, s2; -function e6() { - return s2 || (s2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - MozTabSize: "2", - OTabSize: "2", - tabSize: "2", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - whiteSpace: "pre-wrap", - wordWrap: "normal", - fontFamily: 'Menlo, Monaco, "Courier New", monospace', - fontSize: "14px", - color: "#76d9e6", - textShadow: "none" - }, - 'pre[class*="language-"]': { - MozTabSize: "2", - OTabSize: "2", - tabSize: "2", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - whiteSpace: "pre-wrap", - wordWrap: "normal", - fontFamily: 'Menlo, Monaco, "Courier New", monospace', - fontSize: "14px", - color: "#76d9e6", - textShadow: "none", - background: "#2a2a2a", - padding: "15px", - borderRadius: "4px", - border: "1px solid #e1e1e8", - overflow: "auto", - position: "relative" - }, - 'pre > code[class*="language-"]': { - fontSize: "1em" - }, - ':not(pre) > code[class*="language-"]': { - background: "#2a2a2a", - padding: "0.15em 0.2em 0.05em", - borderRadius: ".3em", - border: "0.13em solid #7a6652", - boxShadow: "1px 1px 0.3em -0.1em #000 inset" - }, - 'pre[class*="language-"] code': { - whiteSpace: "pre", - display: "block" - }, - namespace: { - Opacity: ".7" - }, - comment: { - color: "#6f705e" - }, - prolog: { - color: "#6f705e" - }, - doctype: { - color: "#6f705e" - }, - cdata: { - color: "#6f705e" - }, - operator: { - color: "#a77afe" - }, - boolean: { - color: "#a77afe" - }, - number: { - color: "#a77afe" - }, - "attr-name": { - color: "#e6d06c" - }, - string: { - color: "#e6d06c" - }, - entity: { - color: "#e6d06c", - cursor: "help" - }, - url: { - color: "#e6d06c" - }, - ".language-css .token.string": { - color: "#e6d06c" - }, - ".style .token.string": { - color: "#e6d06c" - }, - selector: { - color: "#a6e22d" - }, - inserted: { - color: "#a6e22d" - }, - atrule: { - color: "#ef3b7d" - }, - "attr-value": { - color: "#ef3b7d" - }, - keyword: { - color: "#ef3b7d" - }, - important: { - color: "#ef3b7d", - fontWeight: "bold" - }, - deleted: { - color: "#ef3b7d" - }, - regex: { - color: "#76d9e6" - }, - statement: { - color: "#76d9e6", - fontWeight: "bold" - }, - placeholder: { - color: "#fff" - }, - variable: { - color: "#fff" - }, - bold: { - fontWeight: "bold" - }, - punctuation: { - color: "#bebec5" - }, - italic: { - fontStyle: "italic" - }, - "code.language-markup": { - color: "#f9f9f9" - }, - "code.language-markup .token.tag": { - color: "#ef3b7d" - }, - "code.language-markup .token.attr-name": { - color: "#a6e22d" - }, - "code.language-markup .token.attr-value": { - color: "#e6d06c" - }, - "code.language-markup .token.style": { - color: "#76d9e6" - }, - "code.language-markup .token.script": { - color: "#76d9e6" - }, - "code.language-markup .token.script .token.keyword": { - color: "#76d9e6" - }, - ".line-highlight.line-highlight": { - padding: "0", - background: "rgba(255, 255, 255, 0.08)" - }, - ".line-highlight.line-highlight:before": { - padding: "0.2em 0.5em", - backgroundColor: "rgba(255, 255, 255, 0.4)", - color: "black", - height: "1em", - lineHeight: "1em", - boxShadow: "0 1px 1px rgba(255, 255, 255, 0.7)" - }, - ".line-highlight.line-highlight[data-end]:after": { - padding: "0.2em 0.5em", - backgroundColor: "rgba(255, 255, 255, 0.4)", - color: "black", - height: "1em", - lineHeight: "1em", - boxShadow: "0 1px 1px rgba(255, 255, 255, 0.7)" - } - }; - e.default = t; - }(pl)), pl; +var al = {}, + t2; +function q4() { + return ( + t2 || + ((t2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + background: "hsl(230, 1%, 98%)", + color: "hsl(230, 8%, 24%)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + background: "hsl(230, 1%, 98%)", + color: "hsl(230, 8%, 24%)", + fontFamily: + '"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: "0.5em 0", + overflow: "auto", + borderRadius: "0.3em", + }, + 'code[class*="language-"]::-moz-selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'code[class*="language-"] *::-moz-selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'pre[class*="language-"] *::-moz-selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'code[class*="language-"]::selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'code[class*="language-"] *::selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + 'pre[class*="language-"] *::selection': { + background: "hsl(230, 1%, 90%)", + color: "inherit", + }, + ':not(pre) > code[class*="language-"]': { + padding: "0.2em 0.3em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + comment: { + color: "hsl(230, 4%, 64%)", + fontStyle: "italic", + }, + prolog: { + color: "hsl(230, 4%, 64%)", + }, + cdata: { + color: "hsl(230, 4%, 64%)", + }, + doctype: { + color: "hsl(230, 8%, 24%)", + }, + punctuation: { + color: "hsl(230, 8%, 24%)", + }, + entity: { + color: "hsl(230, 8%, 24%)", + cursor: "help", + }, + "attr-name": { + color: "hsl(35, 99%, 36%)", + }, + "class-name": { + color: "hsl(35, 99%, 36%)", + }, + boolean: { + color: "hsl(35, 99%, 36%)", + }, + constant: { + color: "hsl(35, 99%, 36%)", + }, + number: { + color: "hsl(35, 99%, 36%)", + }, + atrule: { + color: "hsl(35, 99%, 36%)", + }, + keyword: { + color: "hsl(301, 63%, 40%)", + }, + property: { + color: "hsl(5, 74%, 59%)", + }, + tag: { + color: "hsl(5, 74%, 59%)", + }, + symbol: { + color: "hsl(5, 74%, 59%)", + }, + deleted: { + color: "hsl(5, 74%, 59%)", + }, + important: { + color: "hsl(5, 74%, 59%)", + }, + selector: { + color: "hsl(119, 34%, 47%)", + }, + string: { + color: "hsl(119, 34%, 47%)", + }, + char: { + color: "hsl(119, 34%, 47%)", + }, + builtin: { + color: "hsl(119, 34%, 47%)", + }, + inserted: { + color: "hsl(119, 34%, 47%)", + }, + regex: { + color: "hsl(119, 34%, 47%)", + }, + "attr-value": { + color: "hsl(119, 34%, 47%)", + }, + "attr-value > .token.punctuation": { + color: "hsl(119, 34%, 47%)", + }, + variable: { + color: "hsl(221, 87%, 60%)", + }, + operator: { + color: "hsl(221, 87%, 60%)", + }, + function: { + color: "hsl(221, 87%, 60%)", + }, + url: { + color: "hsl(198, 99%, 37%)", + }, + "attr-value > .token.punctuation.attr-equals": { + color: "hsl(230, 8%, 24%)", + }, + "special-attr > .token.attr-value > .token.value.css": { + color: "hsl(230, 8%, 24%)", + }, + ".language-css .token.selector": { + color: "hsl(5, 74%, 59%)", + }, + ".language-css .token.property": { + color: "hsl(230, 8%, 24%)", + }, + ".language-css .token.function": { + color: "hsl(198, 99%, 37%)", + }, + ".language-css .token.url > .token.function": { + color: "hsl(198, 99%, 37%)", + }, + ".language-css .token.url > .token.string.url": { + color: "hsl(119, 34%, 47%)", + }, + ".language-css .token.important": { + color: "hsl(301, 63%, 40%)", + }, + ".language-css .token.atrule .token.rule": { + color: "hsl(301, 63%, 40%)", + }, + ".language-javascript .token.operator": { + color: "hsl(301, 63%, 40%)", + }, + ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": + { + color: "hsl(344, 84%, 43%)", + }, + ".language-json .token.operator": { + color: "hsl(230, 8%, 24%)", + }, + ".language-json .token.null.keyword": { + color: "hsl(35, 99%, 36%)", + }, + ".language-markdown .token.url": { + color: "hsl(230, 8%, 24%)", + }, + ".language-markdown .token.url > .token.operator": { + color: "hsl(230, 8%, 24%)", + }, + ".language-markdown .token.url-reference.url > .token.string": { + color: "hsl(230, 8%, 24%)", + }, + ".language-markdown .token.url > .token.content": { + color: "hsl(221, 87%, 60%)", + }, + ".language-markdown .token.url > .token.url": { + color: "hsl(198, 99%, 37%)", + }, + ".language-markdown .token.url-reference.url": { + color: "hsl(198, 99%, 37%)", + }, + ".language-markdown .token.blockquote.punctuation": { + color: "hsl(230, 4%, 64%)", + fontStyle: "italic", + }, + ".language-markdown .token.hr.punctuation": { + color: "hsl(230, 4%, 64%)", + fontStyle: "italic", + }, + ".language-markdown .token.code-snippet": { + color: "hsl(119, 34%, 47%)", + }, + ".language-markdown .token.bold .token.content": { + color: "hsl(35, 99%, 36%)", + }, + ".language-markdown .token.italic .token.content": { + color: "hsl(301, 63%, 40%)", + }, + ".language-markdown .token.strike .token.content": { + color: "hsl(5, 74%, 59%)", + }, + ".language-markdown .token.strike .token.punctuation": { + color: "hsl(5, 74%, 59%)", + }, + ".language-markdown .token.list.punctuation": { + color: "hsl(5, 74%, 59%)", + }, + ".language-markdown .token.title.important > .token.punctuation": { + color: "hsl(5, 74%, 59%)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + namespace: { + Opacity: "0.8", + }, + "token.tab:not(:empty):before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "token.cr:before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "token.lf:before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "token.space:before": { + color: "hsla(230, 8%, 24%, 0.2)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { + marginRight: "0.4em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 6%, 44%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 6%, 44%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 6%, 44%)", + padding: "0.1em 0.4em", + borderRadius: "0.3em", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": + { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": + { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": { + background: "hsl(230, 1%, 78%)", + color: "hsl(230, 8%, 24%)", + }, + ".line-highlight.line-highlight": { + background: "hsla(230, 8%, 24%, 0.05)", + }, + ".line-highlight.line-highlight:before": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 8%, 24%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + ".line-highlight.line-highlight[data-end]:after": { + background: "hsl(230, 1%, 90%)", + color: "hsl(230, 8%, 24%)", + padding: "0.1em 0.6em", + borderRadius: "0.3em", + boxShadow: "0 2px 0 0 rgba(0, 0, 0, 0.2)", + }, + "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": + { + backgroundColor: "hsla(230, 8%, 24%, 0.05)", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "hsla(230, 8%, 24%, 0.2)", + }, + ".command-line .command-line-prompt": { + borderRightColor: "hsla(230, 8%, 24%, 0.2)", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "hsl(230, 1%, 62%)", + }, + ".command-line .command-line-prompt > span:before": { + color: "hsl(230, 1%, 62%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-1": { + color: "hsl(5, 74%, 59%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-5": { + color: "hsl(5, 74%, 59%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-9": { + color: "hsl(5, 74%, 59%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-2": { + color: "hsl(119, 34%, 47%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-6": { + color: "hsl(119, 34%, 47%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-10": { + color: "hsl(119, 34%, 47%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-3": { + color: "hsl(221, 87%, 60%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-7": { + color: "hsl(221, 87%, 60%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-11": { + color: "hsl(221, 87%, 60%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-4": { + color: "hsl(301, 63%, 40%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-8": { + color: "hsl(301, 63%, 40%)", + }, + ".rainbow-braces .token.token.punctuation.brace-level-12": { + color: "hsl(301, 63%, 40%)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { + backgroundColor: "hsla(353, 100%, 66%, 0.15)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": + { + backgroundColor: "hsla(353, 95%, 66%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { + backgroundColor: "hsla(137, 100%, 55%, 0.15)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": + { + backgroundColor: "hsla(135, 73%, 55%, 0.25)", + }, + ".prism-previewer.prism-previewer:before": { + borderColor: "hsl(0, 0, 95%)", + }, + ".prism-previewer-gradient.prism-previewer-gradient div": { + borderColor: "hsl(0, 0, 95%)", + borderRadius: "0.3em", + }, + ".prism-previewer-color.prism-previewer-color:before": { + borderRadius: "0.3em", + }, + ".prism-previewer-easing.prism-previewer-easing:before": { + borderRadius: "0.3em", + }, + ".prism-previewer.prism-previewer:after": { + borderTopColor: "hsl(0, 0, 95%)", + }, + ".prism-previewer-flipped.prism-previewer-flipped.after": { + borderBottomColor: "hsl(0, 0, 95%)", + }, + ".prism-previewer-angle.prism-previewer-angle:before": { + background: "hsl(0, 0%, 100%)", + }, + ".prism-previewer-time.prism-previewer-time:before": { + background: "hsl(0, 0%, 100%)", + }, + ".prism-previewer-easing.prism-previewer-easing": { + background: "hsl(0, 0%, 100%)", + }, + ".prism-previewer-angle.prism-previewer-angle circle": { + stroke: "hsl(230, 8%, 24%)", + strokeOpacity: "1", + }, + ".prism-previewer-time.prism-previewer-time circle": { + stroke: "hsl(230, 8%, 24%)", + strokeOpacity: "1", + }, + ".prism-previewer-easing.prism-previewer-easing circle": { + stroke: "hsl(230, 8%, 24%)", + fill: "transparent", + }, + ".prism-previewer-easing.prism-previewer-easing path": { + stroke: "hsl(230, 8%, 24%)", + }, + ".prism-previewer-easing.prism-previewer-easing line": { + stroke: "hsl(230, 8%, 24%)", + }, + }; + e.default = t; + })(al)), + al + ); } -var hl = {}, c2; -function t6() { - return c2 || (c2 = 1, function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), e.default = void 0; - var t = { - 'code[class*="language-"]': { - color: "#22da17", - fontFamily: "monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - lineHeight: "25px", - fontSize: "18px", - margin: "5px 0" - }, - 'pre[class*="language-"]': { - color: "white", - fontFamily: "monospace", - textAlign: "left", - whiteSpace: "pre", - wordSpacing: "normal", - wordBreak: "normal", - wordWrap: "normal", - MozTabSize: "4", - OTabSize: "4", - tabSize: "4", - WebkitHyphens: "none", - MozHyphens: "none", - msHyphens: "none", - hyphens: "none", - lineHeight: "25px", - fontSize: "18px", - margin: "0.5em 0", - background: "#0a143c", - padding: "1em", - overflow: "auto" - }, - 'pre[class*="language-"] *': { - fontFamily: "monospace" - }, - ':not(pre) > code[class*="language-"]': { - color: "white", - background: "#0a143c", - padding: "0.1em", - borderRadius: "0.3em", - whiteSpace: "normal" - }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" - }, - comment: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" - }, - prolog: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" - }, - cdata: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" - }, - punctuation: { - color: "rgb(199, 146, 234)" - }, - ".namespace": { - color: "rgb(178, 204, 214)" - }, - deleted: { - color: "rgba(239, 83, 80, 0.56)", - fontStyle: "italic" - }, - symbol: { - color: "rgb(128, 203, 196)" - }, - property: { - color: "rgb(128, 203, 196)" - }, - tag: { - color: "rgb(127, 219, 202)" - }, - operator: { - color: "rgb(127, 219, 202)" - }, - keyword: { - color: "rgb(127, 219, 202)" - }, - boolean: { - color: "rgb(255, 88, 116)" - }, - number: { - color: "rgb(247, 140, 108)" - }, - constant: { - color: "rgb(34 183 199)" - }, - function: { - color: "rgb(34 183 199)" - }, - builtin: { - color: "rgb(34 183 199)" - }, - char: { - color: "rgb(34 183 199)" - }, - selector: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" - }, - doctype: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" - }, - "attr-name": { - color: "rgb(173, 219, 103)", - fontStyle: "italic" - }, - inserted: { - color: "rgb(173, 219, 103)", - fontStyle: "italic" - }, - string: { - color: "rgb(173, 219, 103)" - }, - url: { - color: "rgb(173, 219, 103)" - }, - entity: { - color: "rgb(173, 219, 103)" - }, - ".language-css .token.string": { - color: "rgb(173, 219, 103)" - }, - ".style .token.string": { - color: "rgb(173, 219, 103)" - }, - "class-name": { - color: "rgb(255, 203, 139)" - }, - atrule: { - color: "rgb(255, 203, 139)" - }, - "attr-value": { - color: "rgb(255, 203, 139)" - }, - regex: { - color: "rgb(214, 222, 235)" - }, - important: { - color: "rgb(214, 222, 235)", - fontWeight: "bold" - }, - variable: { - color: "rgb(214, 222, 235)" - }, - bold: { - fontWeight: "bold" - }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(hl)), hl; -} -(function(e) { - var t = d4; - Object.defineProperty(e, "__esModule", { - value: !0 - }), Object.defineProperty(e, "a11yDark", { - enumerable: !0, - get: function() { - return c.default; - } - }), Object.defineProperty(e, "atomDark", { - enumerable: !0, - get: function() { - return d.default; - } - }), Object.defineProperty(e, "base16AteliersulphurpoolLight", { - enumerable: !0, - get: function() { - return h.default; - } - }), Object.defineProperty(e, "cb", { - enumerable: !0, - get: function() { - return f.default; - } - }), Object.defineProperty(e, "coldarkCold", { - enumerable: !0, - get: function() { - return m.default; - } - }), Object.defineProperty(e, "coldarkDark", { - enumerable: !0, - get: function() { - return b.default; - } - }), Object.defineProperty(e, "coy", { - enumerable: !0, - get: function() { - return n.default; - } - }), Object.defineProperty(e, "coyWithoutShadows", { - enumerable: !0, - get: function() { - return y.default; - } - }), Object.defineProperty(e, "darcula", { - enumerable: !0, - get: function() { - return g.default; - } - }), Object.defineProperty(e, "dark", { - enumerable: !0, - get: function() { - return o.default; - } - }), Object.defineProperty(e, "dracula", { - enumerable: !0, - get: function() { - return x.default; - } - }), Object.defineProperty(e, "duotoneDark", { - enumerable: !0, - get: function() { - return C.default; - } - }), Object.defineProperty(e, "duotoneEarth", { - enumerable: !0, - get: function() { - return E.default; - } - }), Object.defineProperty(e, "duotoneForest", { - enumerable: !0, - get: function() { - return w.default; - } - }), Object.defineProperty(e, "duotoneLight", { - enumerable: !0, - get: function() { - return S.default; - } - }), Object.defineProperty(e, "duotoneSea", { - enumerable: !0, - get: function() { - return _.default; - } - }), Object.defineProperty(e, "duotoneSpace", { - enumerable: !0, - get: function() { - return A.default; - } - }), Object.defineProperty(e, "funky", { - enumerable: !0, - get: function() { - return r.default; - } - }), Object.defineProperty(e, "ghcolors", { - enumerable: !0, - get: function() { - return R.default; - } - }), Object.defineProperty(e, "gruvboxDark", { - enumerable: !0, - get: function() { - return L.default; - } - }), Object.defineProperty(e, "gruvboxLight", { - enumerable: !0, - get: function() { - return j.default; - } - }), Object.defineProperty(e, "holiTheme", { - enumerable: !0, - get: function() { - return P.default; - } - }), Object.defineProperty(e, "hopscotch", { - enumerable: !0, - get: function() { - return V.default; - } - }), Object.defineProperty(e, "lucario", { - enumerable: !0, - get: function() { - return k.default; - } - }), Object.defineProperty(e, "materialDark", { - enumerable: !0, - get: function() { - return N.default; - } - }), Object.defineProperty(e, "materialLight", { - enumerable: !0, - get: function() { - return T.default; - } - }), Object.defineProperty(e, "materialOceanic", { - enumerable: !0, - get: function() { - return F.default; - } - }), Object.defineProperty(e, "nightOwl", { - enumerable: !0, - get: function() { - return I.default; - } - }), Object.defineProperty(e, "nord", { - enumerable: !0, - get: function() { - return D.default; - } - }), Object.defineProperty(e, "okaidia", { - enumerable: !0, - get: function() { - return i.default; - } - }), Object.defineProperty(e, "oneDark", { - enumerable: !0, - get: function() { - return v.default; - } - }), Object.defineProperty(e, "oneLight", { - enumerable: !0, - get: function() { - return z.default; - } - }), Object.defineProperty(e, "pojoaque", { - enumerable: !0, - get: function() { - return B.default; - } - }), Object.defineProperty(e, "prism", { - enumerable: !0, - get: function() { - return u.default; - } - }), Object.defineProperty(e, "shadesOfPurple", { - enumerable: !0, - get: function() { - return M.default; - } - }), Object.defineProperty(e, "solarizedDarkAtom", { - enumerable: !0, - get: function() { - return W.default; - } - }), Object.defineProperty(e, "solarizedlight", { - enumerable: !0, - get: function() { - return a.default; - } - }), Object.defineProperty(e, "synthwave84", { - enumerable: !0, - get: function() { - return G.default; - } - }), Object.defineProperty(e, "tomorrow", { - enumerable: !0, - get: function() { - return l.default; - } - }), Object.defineProperty(e, "twilight", { - enumerable: !0, - get: function() { - return s.default; - } - }), Object.defineProperty(e, "vs", { - enumerable: !0, - get: function() { - return K.default; - } - }), Object.defineProperty(e, "vscDarkPlus", { - enumerable: !0, - get: function() { - return Q.default; - } - }), Object.defineProperty(e, "xonokai", { - enumerable: !0, - get: function() { - return ne.default; - } - }), Object.defineProperty(e, "zTouch", { - enumerable: !0, - get: function() { - return oe.default; - } - }); - var n = t(f4()), o = t(p4()), r = t(h4()), i = t(g4()), a = t(m4()), l = t(b4()), s = t(y4()), u = t(C4()), c = t(v4()), d = t(x4()), h = t(w4()), f = t(E4()), m = t(S4()), b = t(k4()), y = t(_4()), g = t(A4()), x = t(M4()), C = t(T4()), E = t(O4()), w = t(N4()), S = t(D4()), _ = t(L4()), A = t(F4()), R = t(R4()), L = t(j4()), j = t(I4()), P = t(z4()), V = t(H4()), k = t(P4()), N = t(B4()), T = t(V4()), F = t($4()), I = t(W4()), D = t(Z4()), v = t(U4()), z = t(q4()), B = t(Y4()), M = t(G4()), W = t(K4()), G = t(X4()), K = t(Q4()), Q = t(J4()), ne = t(e6()), oe = t(t6()); -})(Yo); -const n6 = "_codeblock_19tsp_1", o6 = "_dark_19tsp_1", u2 = { - codeblock: n6, - dark: o6 -}, r6 = { vs: Yo.vs, "vsc-dark-plus": Yo.vscDarkPlus, solarizedLight: Yo.solarizedlight, tomorrow: Yo.tomorrow }, Sr = ({ - code: e, - language: t, - fileName: n, - editorTheme: o = "vs", - theme: r, - showLineNumbers: i, - className: a, - titleActions: l -}) => /* @__PURE__ */ p.jsxs( - sn, - { - className: `${u2.codeblock} ${a || ""} ${r === "dark" ? u2.dark : ""}`, - children: [ - n ? /* @__PURE__ */ p.jsxs(Er, { className: "d-flex justify-content-between", children: [ - n, - " ", - l - ] }) : null, - /* @__PURE__ */ p.jsx(Rn, { children: /* @__PURE__ */ p.jsx( - U5, - { - showLineNumbers: i, - language: t, - style: r6[o], - children: e - } - ) }) - ] - } -), i6 = "_stack_73h55_1", a6 = { - stack: i6 -}, ut = Ys(function({ - children: t, - direction: n = "row", - ...o -}, r) { - return /* @__PURE__ */ p.jsx( - "div", - { - ...o, - className: `${o.className} ${a6.stack} stack-${n}`, - ref: r, - children: t - } +var ll = {}, + n2; +function Y4() { + return ( + n2 || + ((n2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "15px", + lineHeight: "1.5", + color: "#dccf8f", + textShadow: "0", + }, + 'pre[class*="language-"]': { + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordBreak: "break-all", + wordWrap: "break-word", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "15px", + lineHeight: "1.5", + color: "#DCCF8F", + textShadow: "0", + borderRadius: "5px", + border: "1px solid #000", + background: + "#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top", + padding: "12px", + overflow: "auto", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + ':not(pre) > code[class*="language-"]': { + borderRadius: "5px", + border: "1px solid #000", + color: "#DCCF8F", + background: + "#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top", + padding: "2px 6px", + }, + namespace: { + Opacity: ".7", + }, + comment: { + color: "#586e75", + fontStyle: "italic", + }, + prolog: { + color: "#586e75", + fontStyle: "italic", + }, + doctype: { + color: "#586e75", + fontStyle: "italic", + }, + cdata: { + color: "#586e75", + fontStyle: "italic", + }, + number: { + color: "#b89859", + }, + string: { + color: "#468966", + }, + char: { + color: "#468966", + }, + builtin: { + color: "#468966", + }, + inserted: { + color: "#468966", + }, + "attr-name": { + color: "#b89859", + }, + operator: { + color: "#dccf8f", + }, + entity: { + color: "#dccf8f", + cursor: "help", + }, + url: { + color: "#dccf8f", + }, + ".language-css .token.string": { + color: "#dccf8f", + }, + ".style .token.string": { + color: "#dccf8f", + }, + selector: { + color: "#859900", + }, + regex: { + color: "#859900", + }, + atrule: { + color: "#cb4b16", + }, + keyword: { + color: "#cb4b16", + }, + "attr-value": { + color: "#468966", + }, + function: { + color: "#b58900", + }, + variable: { + color: "#b58900", + }, + placeholder: { + color: "#b58900", + }, + property: { + color: "#b89859", + }, + tag: { + color: "#ffb03b", + }, + boolean: { + color: "#b89859", + }, + constant: { + color: "#b89859", + }, + symbol: { + color: "#b89859", + }, + important: { + color: "#dc322f", + }, + statement: { + color: "#dc322f", + }, + deleted: { + color: "#dc322f", + }, + punctuation: { + color: "#dccf8f", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(ll)), + ll ); -}), G0 = ({ tooltip: e, ...t }) => /* @__PURE__ */ p.jsx(wn, { title: e, children: /* @__PURE__ */ p.jsx(D5, { ...t }) }), K0 = ({ queryFn: e }) => { - const [t, n] = ue(), [o, r] = ue(!1), [i, a] = ue(), l = async () => { - r(!0); - try { - const u = await e(); - a(u); - } catch (u) { - n(u); - } finally { - r(!1); - } - }; - return ce(() => { - l(); - }, []), { - error: t, - data: i, - loading: o, - refetch: () => { - l(); - } - }; -}, Zi = ({ queryFn: e, onSuccess: t }) => { - const [n, o] = ue(), [r, i] = ue(!1), [a, l] = ue(); - return { - error: n, - data: a, - loading: r, - mutate: async (u) => { - i(!0); - try { - const c = await e(u); - l(c), t == null || t(c); - } catch (c) { - o(c); - } finally { - i(!1); - } - } - }; -}, Ie = { - get: async (e, t, n) => ({}), - post: async (e, t, n) => ({}) -}; -var Ks = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(Ks || {}); -const l6 = () => { - var t, n, o; - const e = (o = (n = (t = window.location.hash) == null ? void 0 : t.split("#")[1]) == null ? void 0 : n.replace("!/", "")) == null ? void 0 : o.split("/"); - return { name: e == null ? void 0 : e[1], resourceType: e == null ? void 0 : e[0] }; -}; -var X0 = { exports: {} }; -/*! web-highlighter v0.7.4 https://github.com/alienzhou/web-highlighter */ -(function(e, t) { - (function(n, o) { - e.exports = o(); - })(window, function() { - return function(n) { - var o = {}; - function r(i) { - if (o[i]) return o[i].exports; - var a = o[i] = { i, l: !1, exports: {} }; - return n[i].call(a.exports, a, a.exports, r), a.l = !0, a.exports; - } - return r.m = n, r.c = o, r.d = function(i, a, l) { - r.o(i, a) || Object.defineProperty(i, a, { enumerable: !0, get: l }); - }, r.r = function(i) { - typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 }); - }, r.t = function(i, a) { - if (1 & a && (i = r(i)), 8 & a || 4 & a && typeof i == "object" && i && i.__esModule) return i; - var l = /* @__PURE__ */ Object.create(null); - if (r.r(l), Object.defineProperty(l, "default", { enumerable: !0, value: i }), 2 & a && typeof i != "string") for (var s in i) r.d(l, s, (function(u) { - return i[u]; - }).bind(null, s)); - return l; - }, r.n = function(i) { - var a = i && i.__esModule ? function() { - return i.default; - } : function() { - return i; +} +var sl = {}, + o2; +function G4() { + return ( + o2 || + ((o2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + "code[class*='language-']": { + color: "#9efeff", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + fontFamily: + "'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontWeight: "400", + fontSize: "17px", + lineHeight: "25px", + letterSpacing: "0.5px", + textShadow: "0 1px #222245", + }, + "pre[class*='language-']": { + color: "#9efeff", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + fontFamily: + "'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontWeight: "400", + fontSize: "17px", + lineHeight: "25px", + letterSpacing: "0.5px", + textShadow: "0 1px #222245", + padding: "2em", + margin: "0.5em 0", + overflow: "auto", + background: "#1e1e3f", + }, + "pre[class*='language-']::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "pre[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-']::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-'] ::-moz-selection": { + color: "inherit", + background: "#a599e9", + }, + "pre[class*='language-']::selection": { + color: "inherit", + background: "#a599e9", + }, + "pre[class*='language-'] ::selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-']::selection": { + color: "inherit", + background: "#a599e9", + }, + "code[class*='language-'] ::selection": { + color: "inherit", + background: "#a599e9", + }, + ":not(pre) > code[class*='language-']": { + background: "#1e1e3f", + padding: "0.1em", + borderRadius: "0.3em", + }, + "": { + fontWeight: "400", + }, + comment: { + color: "#b362ff", + }, + prolog: { + color: "#b362ff", + }, + cdata: { + color: "#b362ff", + }, + delimiter: { + color: "#ff9d00", + }, + keyword: { + color: "#ff9d00", + }, + selector: { + color: "#ff9d00", + }, + important: { + color: "#ff9d00", + }, + atrule: { + color: "#ff9d00", + }, + operator: { + color: "rgb(255, 180, 84)", + background: "none", + }, + "attr-name": { + color: "rgb(255, 180, 84)", + }, + punctuation: { + color: "#ffffff", + }, + boolean: { + color: "rgb(255, 98, 140)", + }, + tag: { + color: "rgb(255, 157, 0)", + }, + "tag.punctuation": { + color: "rgb(255, 157, 0)", + }, + doctype: { + color: "rgb(255, 157, 0)", + }, + builtin: { + color: "rgb(255, 157, 0)", + }, + entity: { + color: "#6897bb", + background: "none", + }, + symbol: { + color: "#6897bb", + }, + number: { + color: "#ff628c", + }, + property: { + color: "#ff628c", + }, + constant: { + color: "#ff628c", + }, + variable: { + color: "#ff628c", + }, + string: { + color: "#a5ff90", + }, + char: { + color: "#a5ff90", + }, + "attr-value": { + color: "#a5c261", + }, + "attr-value.punctuation": { + color: "#a5c261", + }, + "attr-value.punctuation:first-child": { + color: "#a9b7c6", + }, + url: { + color: "#287bde", + textDecoration: "underline", + background: "none", + }, + function: { + color: "rgb(250, 208, 0)", + }, + regex: { + background: "#364135", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + background: "#00ff00", + }, + deleted: { + background: "#ff000d", + }, + "code.language-css .token.property": { + color: "#a9b7c6", + }, + "code.language-css .token.property + .token.punctuation": { + color: "#a9b7c6", + }, + "code.language-css .token.id": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.attribute": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-class": { + color: "#ffc66d", + }, + "code.language-css .token.selector > .token.pseudo-element": { + color: "#ffc66d", + }, + "class-name": { + color: "#fb94ff", + }, + ".language-css .token.string": { + background: "none", + }, + ".style .token.string": { + background: "none", + }, + ".line-highlight.line-highlight": { + marginTop: "36px", + background: + "linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)", + }, + ".line-highlight.line-highlight:before": { + content: "''", + }, + ".line-highlight.line-highlight[data-end]:after": { + content: "''", + }, }; - return r.d(a, "a", a), a; - }, r.o = function(i, a) { - return Object.prototype.hasOwnProperty.call(i, a); - }, r.p = "", r(r.s = 7); - }([function(n, o, r) { - var i, a = this && this.__extends || (i = function(d, h) { - return (i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, m) { - f.__proto__ = m; - } || function(f, m) { - for (var b in m) Object.prototype.hasOwnProperty.call(m, b) && (f[b] = m[b]); - })(d, h); - }, function(d, h) { - function f() { - this.constructor = d; - } - i(d, h), d.prototype = h === null ? Object.create(h) : (f.prototype = h.prototype, new f()); - }), l = this && this.__importDefault || function(d) { - return d && d.__esModule ? d : { default: d }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }), o.eventEmitter = o.INTERNAL_ERROR_EVENT = o.UNKNOWN_IDX = o.ROOT_IDX = o.getStylesheet = o.getDefaultOptions = o.CAMEL_DATASET_SPLIT_TYPE = o.CAMEL_DATASET_IDENTIFIER_EXTRA = o.CAMEL_DATASET_IDENTIFIER = o.DATASET_SPLIT_TYPE = o.DATASET_IDENTIFIER_EXTRA = o.DATASET_IDENTIFIER = o.STYLESHEET_ID = o.LOCAL_STORE_KEY = o.ID_DIVISION = void 0; - var s = l(r(10)), u = l(r(2)); - o.ID_DIVISION = ";", o.LOCAL_STORE_KEY = "highlight-mengshou", o.STYLESHEET_ID = "highlight-mengshou-style", o.DATASET_IDENTIFIER = "highlight-id", o.DATASET_IDENTIFIER_EXTRA = "highlight-id-extra", o.DATASET_SPLIT_TYPE = "highlight-split-type", o.CAMEL_DATASET_IDENTIFIER = s.default(o.DATASET_IDENTIFIER), o.CAMEL_DATASET_IDENTIFIER_EXTRA = s.default(o.DATASET_IDENTIFIER_EXTRA), o.CAMEL_DATASET_SPLIT_TYPE = s.default(o.DATASET_SPLIT_TYPE), o.getDefaultOptions = function() { - return { $root: document || document.documentElement, exceptSelectors: null, wrapTag: "span", verbose: !1, style: { className: "highlight-mengshou-wrap" } }; - }, o.getStylesheet = function() { - return ` - .` + o.getDefaultOptions().style.className + ` { - background: #ff9; - cursor: pointer; - } - .` + o.getDefaultOptions().style.className + `.active { - background: #ffb; - } -`; - }, o.ROOT_IDX = -2, o.UNKNOWN_IDX = -1, o.INTERNAL_ERROR_EVENT = "error"; - var c = function(d) { - function h() { - return d !== null && d.apply(this, arguments) || this; - } - return a(h, d), h; - }(u.default); - o.eventEmitter = new c(); - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.UserInputEvent = o.SelectedNodeType = o.CreateFrom = o.EventType = o.ERROR = o.SplitType = void 0, function(i) { - i.none = "none", i.head = "head", i.tail = "tail", i.both = "both"; - }(o.SplitType || (o.SplitType = {})), function(i) { - i.DOM_TYPE_ERROR = "[DOM] Receive wrong node type.", i.DOM_SELECTION_EMPTY = "[DOM] The selection contains no dom node, may be you except them.", i.RANGE_INVALID = "[RANGE] Got invalid dom range, can't convert to a valid highlight range.", i.RANGE_NODE_INVALID = "[RANGE] Start or end node isn't a text node, it may occur an error.", i.DB_ID_DUPLICATE_ERROR = "[STORE] Unique id conflict.", i.CACHE_SET_ERROR = "[CACHE] Cache.data can't be set manually, please use .save().", i.SOURCE_TYPE_ERROR = "[SOURCE] Object isn't a highlight source instance.", i.HIGHLIGHT_RANGE_FROZEN = "[HIGHLIGHT_RANGE] A highlight range must be frozen before render.", i.HIGHLIGHT_SOURCE_RECREATE = "[HIGHLIGHT_SOURCE] Recreate highlights from sources error.", i.HIGHLIGHT_SOURCE_NONE_RENDER = "[HIGHLIGHT_SOURCE] This highlight source isn't rendered. May be the exception skips it or the dom structure has changed."; - }(o.ERROR || (o.ERROR = {})), function(i) { - i.CREATE = "selection:create", i.REMOVE = "selection:remove", i.MODIFY = "selection:modify", i.HOVER = "selection:hover", i.HOVER_OUT = "selection:hover-out", i.CLICK = "selection:click"; - }(o.EventType || (o.EventType = {})), function(i) { - i.STORE = "from-store", i.INPUT = "from-input"; - }(o.CreateFrom || (o.CreateFrom = {})), function(i) { - i.text = "text", i.span = "span"; - }(o.SelectedNodeType || (o.SelectedNodeType = {})), function(i) { - i.touchend = "touchend", i.mouseup = "mouseup", i.touchstart = "touchstart", i.click = "click", i.mouseover = "mouseover"; - }(o.UserInputEvent || (o.UserInputEvent = {})); - }, function(n, o, r) { - var i = this && this.__read || function(s, u) { - var c = typeof Symbol == "function" && s[Symbol.iterator]; - if (!c) return s; - var d, h, f = c.call(s), m = []; - try { - for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) m.push(d.value); - } catch (b) { - h = { error: b }; - } finally { - try { - d && !d.done && (c = f.return) && c.call(f); - } finally { - if (h) throw h.error; - } - } - return m; - }, a = this && this.__spread || function() { - for (var s = [], u = 0; u < arguments.length; u++) s = s.concat(i(arguments[u])); - return s; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var l = function() { - function s() { - this.handlersMap = /* @__PURE__ */ Object.create(null); - } - return s.prototype.on = function(u, c) { - return this.handlersMap[u] || (this.handlersMap[u] = []), this.handlersMap[u].push(c), this; - }, s.prototype.off = function(u, c) { - return this.handlersMap[u] && this.handlersMap[u].splice(this.handlersMap[u].indexOf(c) >>> 0, 1), this; - }, s.prototype.emit = function(u) { - for (var c = [], d = 1; d < arguments.length; d++) c[d - 1] = arguments[d]; - return this.handlersMap[u] && this.handlersMap[u].slice().forEach(function(h) { - h.apply(void 0, a(c)); - }), this; - }, s; - }(); - o.default = l; - }, function(n, o, r) { - var i = this && this.__importDefault || function(u) { - return u && u.__esModule ? u : { default: u }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var a = i(r(5)), l = r(9), s = function() { - function u(c, d, h, f, m) { - this.startMeta = c, this.endMeta = d, this.text = h, this.id = f, this.__isHighlightSource = {}, m && (this.extra = m); - } - return u.prototype.deSerialize = function(c, d) { - var h = l.queryElementNode(this, c), f = h.start, m = h.end, b = l.getTextChildByOffset(f, this.startMeta.textOffset), y = l.getTextChildByOffset(m, this.endMeta.textOffset); - if (!d.Serialize.Restore.isEmpty()) { - var g = d.Serialize.Restore.call(this, b, y) || []; - b = g[0] || b, y = g[1] || y; - } - return new a.default(b, y, this.text, this.id, !0); - }, u; - }(); - o.default = s; - }, function(n, o, r) { - var i = this && this.__values || function(c) { - var d = typeof Symbol == "function" && Symbol.iterator, h = d && c[d], f = 0; - if (h) return h.call(c); - if (c && typeof c.length == "number") return { next: function() { - return c && f >= c.length && (c = void 0), { value: c && c[f++], done: !c }; - } }; - throw new TypeError(d ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, a = this && this.__read || function(c, d) { - var h = typeof Symbol == "function" && c[Symbol.iterator]; - if (!h) return c; - var f, m, b = h.call(c), y = []; - try { - for (; (d === void 0 || d-- > 0) && !(f = b.next()).done; ) y.push(f.value); - } catch (g) { - m = { error: g }; - } finally { - try { - f && !f.done && (h = b.return) && h.call(b); - } finally { - if (m) throw m.error; - } - } - return y; - }, l = this && this.__spread || function() { - for (var c = [], d = 0; d < arguments.length; d++) c = c.concat(a(arguments[d])); - return c; - }; - Object.defineProperty(o, "__esModule", { value: !0 }), o.hasClass = o.removeAllClass = o.removeClass = o.addClass = o.addEventListener = o.removeEventListener = o.forEach = o.getHighlightById = o.getHighlightsByRoot = o.getExtraHighlightId = o.getHighlightId = o.isHighlightWrapNode = void 0; - var s = r(0); - o.isHighlightWrapNode = function(c) { - return !!c.dataset && !!c.dataset[s.CAMEL_DATASET_IDENTIFIER]; - }; - var u = function(c, d) { - for (var h = !1, f = null; c; ) { - if (o.isHighlightWrapNode(c) && (f = c), c === d) { - h = !0; - break; - } - c = c.parentNode; - } - return h ? f : null; - }; - o.getHighlightId = function(c, d) { - return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER] : ""; - }, o.getExtraHighlightId = function(c, d) { - return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA].split(s.ID_DIVISION).filter(function(h) { - return h; - }) : []; - }, o.getHighlightsByRoot = function(c, d) { - var h, f; - Array.isArray(c) || (c = [c]); - var m = []; - try { - for (var b = i(c), y = b.next(); !y.done; y = b.next()) { - var g = y.value.querySelectorAll(d + "[data-" + s.DATASET_IDENTIFIER + "]"); - m.push.apply(m, g); - } - } catch (x) { - h = { error: x }; - } finally { - try { - y && !y.done && (f = b.return) && f.call(b); - } finally { - if (h) throw h.error; - } - } - return m; - }, o.getHighlightById = function(c, d, h) { - var f, m, b = [], y = new RegExp("(" + d + "\\" + s.ID_DIVISION + "|\\" + s.ID_DIVISION + "?" + d + "$)"), g = c.querySelectorAll(h + "[data-" + s.DATASET_IDENTIFIER + "]"); - try { - for (var x = i(g), C = x.next(); !C.done; C = x.next()) { - var E = C.value; - if (E.dataset[s.CAMEL_DATASET_IDENTIFIER] !== d) { - var w = E.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; - y.test(w) && b.push(E); - } else b.push(E); - } - } catch (S) { - f = { error: S }; - } finally { - try { - C && !C.done && (m = x.return) && m.call(x); - } finally { - if (f) throw f.error; - } - } - return b; - }, o.forEach = function(c, d) { - for (var h = 0; h < c.length; h++) d(c[h], h, c); - }, o.removeEventListener = function(c, d, h) { - c.removeEventListener(d, h); - }, o.addEventListener = function(c, d, h) { - return c.addEventListener(d, h), function() { - o.removeEventListener(c, d, h); - }; - }, o.addClass = function(c, d) { - var h; - Array.isArray(d) || (d = [d]), (h = c.classList).add.apply(h, l(d)); - }, o.removeClass = function(c, d) { - c.classList.remove(d); - }, o.removeAllClass = function(c) { - c.className = ""; - }, o.hasClass = function(c, d) { - return c.classList.contains(d); - }; - }, function(n, o, r) { - var i = this && this.__importDefault || function(f) { - return f && f.__esModule ? f : { default: f }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var a = i(r(3)), l = r(1), s = r(11), u = i(r(6)), c = r(12), d = r(0), h = function() { - function f(m, b, y, g, x) { - x === void 0 && (x = !1), m.$node.nodeType === 3 && b.$node.nodeType === 3 || d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT, { type: l.ERROR.RANGE_NODE_INVALID }), this.start = c.formatDomNode(m), this.end = c.formatDomNode(b), this.text = y, this.frozen = x, this.id = g; - } - return f.fromSelection = function(m) { - var b = s.getDomRange(); - if (!b) return null; - var y = { $node: b.startContainer, offset: b.startOffset }, g = { $node: b.endContainer, offset: b.endOffset }, x = b.toString(), C = m.call(y, g, x); - return new f(y, g, x, C = C ?? u.default()); - }, f.prototype.serialize = function(m, b) { - var y, g = c.getDomMeta(this.start.$node, this.start.offset, m), x = c.getDomMeta(this.end.$node, this.end.offset, m); - return b.Serialize.RecordInfo.isEmpty() || (y = b.Serialize.RecordInfo.call(this.start, this.end, m)), this.frozen = !0, new a.default(g, x, this.text, this.id, y); - }, f.removeDomRange = s.removeSelection, f; - }(); - o.default = h; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.default = function i(a) { - return a ? (a ^ 16 * Math.random() >> a / 4).toString(16) : ("10000000-1000-4000-8000" + -1e11).replace(/[018]/g, i); - }; - }, function(n, o, r) { - n.exports = r(8); - }, function(n, o, r) { - var i, a = this && this.__extends || (i = function(w, S) { - return (i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(_, A) { - _.__proto__ = A; - } || function(_, A) { - for (var R in A) Object.prototype.hasOwnProperty.call(A, R) && (_[R] = A[R]); - })(w, S); - }, function(w, S) { - function _() { - this.constructor = w; - } - i(w, S), w.prototype = S === null ? Object.create(S) : (_.prototype = S.prototype, new _()); - }), l = this && this.__assign || function() { - return (l = Object.assign || function(w) { - for (var S, _ = 1, A = arguments.length; _ < A; _++) for (var R in S = arguments[_]) Object.prototype.hasOwnProperty.call(S, R) && (w[R] = S[R]); - return w; - }).apply(this, arguments); - }, s = this && this.__importDefault || function(w) { - return w && w.__esModule ? w : { default: w }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = s(r(5)), d = s(r(3)), h = s(r(6)), f = s(r(13)), m = s(r(14)), b = s(r(16)), y = s(r(17)), g = r(0), x = r(1), C = r(4), E = function(w) { - function S(_) { - var A = w.call(this) || this; - A.event = m.default(), A.run = function() { - return C.addEventListener(A.options.$root, A.event.PointerEnd, A._handleSelection); - }, A.stop = function() { - C.removeEventListener(A.options.$root, A.event.PointerEnd, A._handleSelection); - }, A.addClass = function(L, j) { - A.getDoms(j).forEach(function(P) { - C.addClass(P, L); - }); - }, A.removeClass = function(L, j) { - A.getDoms(j).forEach(function(P) { - C.removeClass(P, L); - }); - }, A.getIdByDom = function(L) { - return C.getHighlightId(L, A.options.$root); - }, A.getExtraIdByDom = function(L) { - return C.getExtraHighlightId(L, A.options.$root); - }, A.getDoms = function(L) { - return L ? C.getHighlightById(A.options.$root, L, A.options.wrapTag) : C.getHighlightsByRoot(A.options.$root, A.options.wrapTag); - }, A.dispose = function() { - var L = A.options.$root; - C.removeEventListener(L, A.event.PointerOver, A._handleHighlightHover), C.removeEventListener(L, A.event.PointerEnd, A._handleSelection), C.removeEventListener(L, A.event.PointerTap, A._handleHighlightClick), A.removeAll(); - }, A.setOption = function(L) { - A.options = l(l({}, A.options), L), A.painter = new y.default({ $root: A.options.$root, wrapTag: A.options.wrapTag, className: A.options.style.className, exceptSelectors: A.options.exceptSelectors }, A.hooks); - }, A.fromRange = function(L) { - var j = { $node: L.startContainer, offset: L.startOffset }, P = { $node: L.endContainer, offset: L.endOffset }, V = L.toString(), k = A.hooks.Render.UUID.call(j, P, V); - k = k ?? h.default(); - var N = new c.default(j, P, V, k); - return N ? A._highlightFromHRange(N) : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.RANGE_INVALID }), null); - }, A.fromStore = function(L, j, P, V, k) { - var N = new d.default(L, j, P, V, k); - try { - return A._highlightFromHSource(N), N; - } catch (T) { - return g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, error: T, detail: N }), null; - } - }, A._getHooks = function() { - return { Render: { UUID: new f.default("Render.UUID"), SelectedNodes: new f.default("Render.SelectedNodes"), WrapNode: new f.default("Render.WrapNode") }, Serialize: { Restore: new f.default("Serialize.Restore"), RecordInfo: new f.default("Serialize.RecordInfo") }, Remove: { UpdateNodes: new f.default("Remove.UpdateNodes") } }; - }, A._highlightFromHRange = function(L) { - var j = L.serialize(A.options.$root, A.hooks); - return A.painter.highlightRange(L).length === 0 ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.DOM_SELECTION_EMPTY }), null) : (A.cache.save(j), A.emit(x.EventType.CREATE, { sources: [j], type: x.CreateFrom.INPUT }, A), j); - }, A._handleSelection = function() { - var L = c.default.fromSelection(A.hooks.Render.UUID); - L && (A._highlightFromHRange(L), c.default.removeDomRange()); - }, A._handleHighlightHover = function(L) { - var j = L.target; - if (!C.isHighlightWrapNode(j)) return A._hoverId && A.emit(x.EventType.HOVER_OUT, { id: A._hoverId }, A, L), void (A._hoverId = null); - var P = C.getHighlightId(j, A.options.$root); - A._hoverId !== P && (A._hoverId && A.emit(x.EventType.HOVER_OUT, { id: A._hoverId }, A, L), A._hoverId = P, A.emit(x.EventType.HOVER, { id: A._hoverId }, A, L)); - }, A._handleError = function(L) { - A.options.verbose && console.warn(L); - }, A._handleHighlightClick = function(L) { - var j = L.target; - if (C.isHighlightWrapNode(j)) { - var P = C.getHighlightId(j, A.options.$root); - A.emit(x.EventType.CLICK, { id: P }, A, L); - } - }, A.options = g.getDefaultOptions(), A.hooks = A._getHooks(), A.setOption(_), A.cache = new b.default(); - var R = A.options.$root; - return C.addEventListener(R, A.event.PointerOver, A._handleHighlightHover), C.addEventListener(R, A.event.PointerTap, A._handleHighlightClick), g.eventEmitter.on(g.INTERNAL_ERROR_EVENT, A._handleError), A; - } - return a(S, w), S.prototype.remove = function(_) { - if (_) { - var A = this.painter.removeHighlight(_); - this.cache.remove(_), A && this.emit(x.EventType.REMOVE, { ids: [_] }, this); - } - }, S.prototype.removeAll = function() { - this.painter.removeAllHighlight(); - var _ = this.cache.removeAll(); - this.emit(x.EventType.REMOVE, { ids: _ }, this); - }, S.prototype._highlightFromHSource = function(_) { - _ === void 0 && (_ = []); - var A = this.painter.highlightSource(_); - this.emit(x.EventType.CREATE, { sources: A, type: x.CreateFrom.STORE }, this), this.cache.save(_); - }, S.event = x.EventType, S.isHighlightWrapNode = C.isHighlightWrapNode, S.isHighlightSource = function(_) { - return !!_.__isHighlightSource; - }, S; - }(u.default); - o.default = E; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.queryElementNode = o.getTextChildByOffset = void 0; - var i = r(0); - o.getTextChildByOffset = function(a, l) { - for (var s = [a], u = null, c = 0, d = 0; u = s.pop(); ) { - for (var h = u.childNodes, f = h.length - 1; f >= 0; f--) s.push(h[f]); - if (u.nodeType === 3 && (d = l - c, (c += u.textContent.length) >= l)) break; - } - return u || (u = a), { $node: u, offset: d }; - }, o.queryElementNode = function(a, l) { - return { start: a.startMeta.parentIndex === i.ROOT_IDX ? l : l.getElementsByTagName(a.startMeta.parentTagName)[a.startMeta.parentIndex], end: a.endMeta.parentIndex === i.ROOT_IDX ? l : l.getElementsByTagName(a.endMeta.parentTagName)[a.endMeta.parentIndex] }; - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.default = function(i) { - return i.split("-").reduce(function(a, l, s) { - return a + (s === 0 ? l : l[0].toUpperCase() + l.slice(1)); - }, ""); - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.removeSelection = o.getDomRange = void 0, o.getDomRange = function() { - var i = window.getSelection(); - return i.isCollapsed ? (console.debug("no text selected"), null) : i.getRangeAt(0); - }, o.removeSelection = function() { - window.getSelection().removeAllRanges(); - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.formatDomNode = o.getDomMeta = void 0; - var i = r(0); - o.getDomMeta = function(a, l, s) { - var u = function(h) { - if (h instanceof HTMLElement && (!h.dataset || !h.dataset[i.CAMEL_DATASET_IDENTIFIER])) return h; - for (var f = h.parentNode; f != null && f.dataset[i.CAMEL_DATASET_IDENTIFIER]; ) f = f.parentNode; - return f; - }(a), c = u === s ? i.ROOT_IDX : function(h, f) { - for (var m = h.tagName, b = f.getElementsByTagName(m), y = 0; y < b.length; y++) if (h === b[y]) return y; - return i.UNKNOWN_IDX; - }(u, s), d = function(h, f) { - for (var m = [h], b = null, y = 0; b = m.pop(); ) { - for (var g = b.childNodes, x = g.length - 1; x >= 0; x--) m.push(g[x]); - if (b.nodeType === 3 && b !== f) y += b.textContent.length; - else if (b.nodeType === 3) break; - } - return y; - }(u, a); - return { parentTagName: u.tagName, parentIndex: c, textOffset: d + l }; - }, o.formatDomNode = function(a) { - return a.$node.nodeType === 3 || a.$node.nodeType === 4 || a.$node.nodeType === 8 ? a : { $node: a.$node.childNodes[a.offset], offset: 0 }; - }; - }, function(n, o, r) { - var i = this && this.__read || function(s, u) { - var c = typeof Symbol == "function" && s[Symbol.iterator]; - if (!c) return s; - var d, h, f = c.call(s), m = []; - try { - for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) m.push(d.value); - } catch (b) { - h = { error: b }; - } finally { - try { - d && !d.done && (c = f.return) && c.call(f); - } finally { - if (h) throw h.error; - } - } - return m; - }, a = this && this.__spread || function() { - for (var s = [], u = 0; u < arguments.length; u++) s = s.concat(i(arguments[u])); - return s; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var l = function() { - function s(u) { - this.name = "", this.ops = [], this.name = u; - } - return s.prototype.tap = function(u) { - var c = this; - return this.ops.indexOf(u) === -1 && this.ops.push(u), function() { - c.remove(u); - }; - }, s.prototype.remove = function(u) { - var c = this.ops.indexOf(u); - c < 0 || this.ops.splice(c, 1); - }, s.prototype.isEmpty = function() { - return this.ops.length === 0; - }, s.prototype.call = function() { - for (var u, c = [], d = 0; d < arguments.length; d++) c[d] = arguments[d]; - return this.ops.forEach(function(h) { - u = h.apply(void 0, a(c)); - }), u; - }, s; - }(); - o.default = l; - }, function(n, o, r) { - var i = this && this.__importDefault || function(s) { - return s && s.__esModule ? s : { default: s }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var a = r(1), l = i(r(15)); - o.default = function() { - var s = l.default(window.navigator.userAgent); - return { PointerEnd: s ? a.UserInputEvent.touchend : a.UserInputEvent.mouseup, PointerTap: s ? a.UserInputEvent.touchstart : a.UserInputEvent.click, PointerOver: s ? a.UserInputEvent.touchstart : a.UserInputEvent.mouseover }; - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }); - var i = /Android|iPhone|BlackBerry|BB10|Opera Mini|Phone|Mobile|Silk|Windows Phone|Mobile(?:.+)Firefox\b/i; - o.default = function(a) { - return i.test(a); - }; - }, function(n, o, r) { - var i, a = this && this.__extends || (i = function(h, f) { - return (i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, b) { - m.__proto__ = b; - } || function(m, b) { - for (var y in b) Object.prototype.hasOwnProperty.call(b, y) && (m[y] = b[y]); - })(h, f); - }, function(h, f) { - function m() { - this.constructor = h; - } - i(h, f), h.prototype = f === null ? Object.create(f) : (m.prototype = f.prototype, new m()); - }), l = this && this.__values || function(h) { - var f = typeof Symbol == "function" && Symbol.iterator, m = f && h[f], b = 0; - if (m) return m.call(h); - if (h && typeof h.length == "number") return { next: function() { - return h && b >= h.length && (h = void 0), { value: h && h[b++], done: !h }; - } }; - throw new TypeError(f ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, s = this && this.__importDefault || function(h) { - return h && h.__esModule ? h : { default: h }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = r(1), d = function(h) { - function f() { - var m = h !== null && h.apply(this, arguments) || this; - return m._data = /* @__PURE__ */ new Map(), m; - } - return a(f, h), Object.defineProperty(f.prototype, "data", { get: function() { - return this.getAll(); - }, set: function(m) { - throw c.ERROR.CACHE_SET_ERROR; - }, enumerable: !1, configurable: !0 }), f.prototype.save = function(m) { - var b = this; - Array.isArray(m) ? m.forEach(function(y) { - return b._data.set(y.id, y); - }) : this._data.set(m.id, m); - }, f.prototype.get = function(m) { - return this._data.get(m); - }, f.prototype.remove = function(m) { - this._data.delete(m); - }, f.prototype.getAll = function() { - var m, b, y = []; - try { - for (var g = l(this._data), x = g.next(); !x.done; x = g.next()) { - var C = x.value; - y.push(C[1]); - } - } catch (E) { - m = { error: E }; - } finally { - try { - x && !x.done && (b = g.return) && b.call(g); - } finally { - if (m) throw m.error; - } - } - return y; - }, f.prototype.removeAll = function() { - var m, b, y = []; - try { - for (var g = l(this._data), x = g.next(); !x.done; x = g.next()) { - var C = x.value; - y.push(C[0]); - } - } catch (E) { - m = { error: E }; - } finally { - try { - x && !x.done && (b = g.return) && b.call(g); - } finally { - if (m) throw m.error; - } - } - return this._data = /* @__PURE__ */ new Map(), y; - }, f; - }(u.default); - o.default = d; - }, function(n, o, r) { - var i = this && this.__values || function(y) { - var g = typeof Symbol == "function" && Symbol.iterator, x = g && y[g], C = 0; - if (x) return x.call(y); - if (y && typeof y.length == "number") return { next: function() { - return y && C >= y.length && (y = void 0), { value: y && y[C++], done: !y }; - } }; - throw new TypeError(g ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, a = this && this.__read || function(y, g) { - var x = typeof Symbol == "function" && y[Symbol.iterator]; - if (!x) return y; - var C, E, w = x.call(y), S = []; - try { - for (; (g === void 0 || g-- > 0) && !(C = w.next()).done; ) S.push(C.value); - } catch (_) { - E = { error: _ }; - } finally { - try { - C && !C.done && (x = w.return) && x.call(w); - } finally { - if (E) throw E.error; - } - } - return S; - }, l = this && this.__spread || function() { - for (var y = [], g = 0; g < arguments.length; g++) y = y.concat(a(arguments[g])); - return y; - }, s = this && this.__importDefault || function(y) { - return y && y.__esModule ? y : { default: y }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(3)), c = r(18), d = r(4), h = r(1), f = r(20), m = r(0), b = function() { - function y(g, x) { - this.options = { $root: g.$root, wrapTag: g.wrapTag, exceptSelectors: g.exceptSelectors, className: g.className }, this.hooks = x, f.initDefaultStylesheet(); - } - return y.prototype.highlightRange = function(g) { - var x = this; - if (!g.frozen) throw h.ERROR.HIGHLIGHT_RANGE_FROZEN; - var C = this.options, E = C.$root, w = C.className, S = C.exceptSelectors, _ = this.hooks, A = c.getSelectedNodes(E, g.start, g.end, S); - return _.Render.SelectedNodes.isEmpty() || (A = _.Render.SelectedNodes.call(g.id, A) || []), A.map(function(R) { - var L = c.wrapHighlight(R, g, w, x.options.wrapTag); - return _.Render.WrapNode.isEmpty() || (L = _.Render.WrapNode.call(g.id, L)), L; - }); - }, y.prototype.highlightSource = function(g) { - var x = this, C = Array.isArray(g) ? g : [g], E = []; - return C.forEach(function(w) { - if (w instanceof u.default) { - var S = w.deSerialize(x.options.$root, x.hooks); - x.highlightRange(S).length > 0 ? E.push(w) : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: h.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, detail: w }); - } else m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: h.ERROR.SOURCE_TYPE_ERROR }); - }), E; - }, y.prototype.removeHighlight = function(g) { - var x, C, E = new RegExp("(" + g + "\\" + m.ID_DIVISION + "|\\" + m.ID_DIVISION + "?" + g + "$)"), w = this.hooks, S = this.options.wrapTag, _ = document.querySelectorAll(S + "[data-" + m.DATASET_IDENTIFIER + "]"), A = [], R = [], L = []; - try { - for (var j = i(_), P = j.next(); !P.done; P = j.next()) { - var V = P.value, k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], N = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - k !== g || N ? k === g ? R.push(V) : k !== g && E.test(N) && L.push(V) : A.push(V); - } - } catch (T) { - x = { error: T }; - } finally { - try { - P && !P.done && (C = j.return) && C.call(j); - } finally { - if (x) throw x.error; - } - } - return A.forEach(function(T) { - var F = T.parentNode, I = document.createDocumentFragment(); - d.forEach(T.childNodes, function(z) { - return I.appendChild(z.cloneNode(!1)); - }); - var D = T.previousSibling, v = T.nextSibling; - F.replaceChild(I, T), c.normalizeSiblingText(D, !0), c.normalizeSiblingText(v, !1), w.Remove.UpdateNodes.call(g, T, "remove"); - }), R.forEach(function(T) { - var F = T.dataset, I = F[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split(m.ID_DIVISION), D = I.shift(), v = document.querySelector(S + "[data-" + m.DATASET_IDENTIFIER + '="' + D + '"]'); - v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), F[m.CAMEL_DATASET_IDENTIFIER] = D, F[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join(m.ID_DIVISION), w.Remove.UpdateNodes.call(g, T, "id-update"); - }), L.forEach(function(T) { - var F = T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = F.replace(E, ""), w.Remove.UpdateNodes.call(g, T, "extra-update"); - }), A.length + R.length + L.length !== 0; - }, y.prototype.removeAllHighlight = function() { - var g = this.options, x = g.wrapTag, C = g.$root; - d.getHighlightsByRoot(C, x).forEach(function(E) { - var w = E.parentNode, S = document.createDocumentFragment(); - d.forEach(E.childNodes, function(_) { - return S.appendChild(_.cloneNode(!1)); - }), w.replaceChild(S, E); - }); - }, y; - }(); - o.default = b; - }, function(n, o, r) { - var i = this && this.__read || function(m, b) { - var y = typeof Symbol == "function" && m[Symbol.iterator]; - if (!y) return m; - var g, x, C = y.call(m), E = []; - try { - for (; (b === void 0 || b-- > 0) && !(g = C.next()).done; ) E.push(g.value); - } catch (w) { - x = { error: w }; - } finally { - try { - g && !g.done && (y = C.return) && y.call(C); - } finally { - if (x) throw x.error; - } - } - return E; - }, a = this && this.__spread || function() { - for (var m = [], b = 0; b < arguments.length; b++) m = m.concat(i(arguments[b])); - return m; - }; - Object.defineProperty(o, "__esModule", { value: !0 }), o.normalizeSiblingText = o.wrapHighlight = o.getSelectedNodes = void 0; - var l = r(1), s = r(4), u = r(0), c = r(19), d = function(m, b) { - if (!m) return !1; - if (/^\./.test(b)) { - var y = b.replace(/^\./, ""); - return m && s.hasClass(m, y); - } - if (/^#/.test(b)) { - var g = b.replace(/^#/, ""); - return m && m.id === g; - } - var x = b.toUpperCase(); - return m && m.tagName === x; - }; - o.getSelectedNodes = function(m, b, y, g) { - var x = b.$node, C = y.$node, E = b.offset, w = y.offset; - if (x === C && x instanceof Text) return function(k, N, T, F) { - for (var I = k, D = function(z) { - return F == null ? void 0 : F.some(function(B) { - return d(z, B); - }); - }; I; ) { - if (I.nodeType === 1 && D(I)) return []; - I = I.parentNode; - } - k.splitText(N); - var v = k.nextSibling; - return v.splitText(T - N), [{ $node: v, type: l.SelectedNodeType.text, splitType: l.SplitType.both }]; - }(x, E, w, g); - for (var S = [m], _ = [], A = function(k) { - return g == null ? void 0 : g.some(function(N) { - return d(k, N); - }); - }, R = !1, L = null; L = S.pop(); ) if (L.nodeType !== 1 || !A(L)) { - for (var j = L.childNodes, P = j.length - 1; P >= 0; P--) S.push(j[P]); - if (L === x) { - if (L.nodeType === 3) { - L.splitText(E); - var V = L.nextSibling; - _.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.head }); - } - R = !0; - } else { - if (L === C) { - L.nodeType === 3 && ((V = L).splitText(w), _.push({ $node: V, type: l.SelectedNodeType.text, splitType: l.SplitType.tail })); - break; - } - R && L.nodeType === 3 && _.push({ $node: L, type: l.SelectedNodeType.text, splitType: l.SplitType.none }); - } - } - return _; - }; - var h = function(m, b) { - var y = Array.isArray(b) ? b : [b]; - return (y = y.length === 0 ? [u.getDefaultOptions().style.className] : y).forEach(function(g) { - s.addClass(m, g); - }), m; - }, f = function(m) { - return !m || !m.textContent; - }; - o.wrapHighlight = function(m, b, y, g) { - var x = m.$node.parentNode, C = m.$node.previousSibling, E = m.$node.nextSibling; - return s.isHighlightWrapNode(x) ? !s.isHighlightWrapNode(x) || f(C) && f(E) ? function(w, S, _) { - var A = w.$node.parentNode, R = A; - s.removeAllClass(R), h(R, _); - var L = A.dataset, j = L[u.CAMEL_DATASET_IDENTIFIER]; - return L[u.CAMEL_DATASET_IDENTIFIER] = S.id, L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] ? j + u.ID_DIVISION + L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] : j, R; - }(m, b, y) : function(w, S, _, A) { - var R = document.createElement(A), L = w.$node.parentNode, j = w.$node.previousSibling, P = w.$node.nextSibling, V = document.createDocumentFragment(), k = L.dataset[u.CAMEL_DATASET_IDENTIFIER], N = L.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], T = N ? k + u.ID_DIVISION + N : k; - R.setAttribute("data-" + u.DATASET_IDENTIFIER, S.id), R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, T), R.appendChild(w.$node.cloneNode(!1)); - var F, I = !1, D = !1; - j && ((v = L.cloneNode(!1)).textContent = j.textContent, V.appendChild(v), I = !0); - var v, z = []; - return Array.isArray(_) ? z.push.apply(z, a(_)) : z.push(_), h(R, c.unique(z)), V.appendChild(R), P && ((v = L.cloneNode(!1)).textContent = P.textContent, V.appendChild(v), D = !0), F = I && D ? l.SplitType.both : I ? l.SplitType.head : D ? l.SplitType.tail : l.SplitType.none, R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, F), L.parentNode.replaceChild(V, L), R; - }(m, b, y, g) : function(w, S, _, A) { - var R = document.createElement(A); - return h(R, _), R.appendChild(w.$node.cloneNode(!1)), w.$node.parentNode.replaceChild(R, w.$node), R.setAttribute("data-" + u.DATASET_IDENTIFIER, S.id), R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, w.splitType), R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), R; - }(m, b, y, g); - }, o.normalizeSiblingText = function(m, b) { - if (b === void 0 && (b = !0), m && m.nodeType === 3) { - var y = b ? m.nextSibling : m.previousSibling; - if (y.nodeType === 3) { - var g = y.nodeValue; - m.nodeValue = b ? m.nodeValue + g : g + m.nodeValue, y.parentNode.removeChild(y); - } - } - }; - }, function(n, o, r) { - var i = this && this.__values || function(a) { - var l = typeof Symbol == "function" && Symbol.iterator, s = l && a[l], u = 0; - if (s) return s.call(a); - if (a && typeof a.length == "number") return { next: function() { - return a && u >= a.length && (a = void 0), { value: a && a[u++], done: !a }; - } }; - throw new TypeError(l ? "Object is not iterable." : "Symbol.iterator is not defined."); - }; - Object.defineProperty(o, "__esModule", { value: !0 }), o.unique = void 0, o.unique = function(a) { - var l, s, u = []; - try { - for (var c = i(a), d = c.next(); !d.done; d = c.next()) { - var h = d.value; - u.indexOf(h) === -1 && u.push(h); - } - } catch (f) { - l = { error: f }; - } finally { - try { - d && !d.done && (s = c.return) && s.call(c); - } finally { - if (l) throw l.error; - } - } - return u; - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.initDefaultStylesheet = void 0; - var i = r(0); - o.initDefaultStylesheet = function() { - var a = i.STYLESHEET_ID, l = document.getElementById(a); - if (!l) { - var s = document.createTextNode(i.getStylesheet()); - (l = document.createElement("style")).id = a, l.appendChild(s), document.head.appendChild(l); - } - return l; - }; - }]).default; - }); -})(X0); -var s6 = X0.exports; -const Q0 = /* @__PURE__ */ un(s6), Ui = "altimate-display-", c6 = `${Ui}-highlight`, d2 = `${Ui}-highlight-hover`, u6 = `${Ui}-active-highlight`, d6 = 1049, fo = new Q0({ - style: { - className: c6 - } - // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, -}), Xs = new Q0({ - style: { - className: u6 - } - // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, -}), J0 = (e, t) => t.filter( - (n) => { - var o; - return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; - } -), ed = (e, t, n) => { - const o = t, r = n, i = ["BR", "HR"]; - return i.includes(o.$node.nodeName) && o.$node.parentNode && (o.$node = o.$node.parentNode), i.includes(r.$node.nodeName) && r.$node.parentNode && (r.$node = r.$node.parentNode), [o, r]; -}; -fo.hooks.Render.SelectedNodes.tap(J0); -fo.hooks.Serialize.Restore.tap(ed); -Xs.hooks.Render.SelectedNodes.tap(J0); -Xs.hooks.Serialize.Restore.tap(ed); -fo.on("selection:hover", ({ id: e }) => { - fo.addClass(d2, e); -}).on("selection:hover-out", ({ id: e }) => { - fo.removeClass(d2, e); -}); -const f6 = (e) => { - var t, n; - return (t = e.meta) != null && t.highlight ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) : null; -}, p6 = (e) => { - const t = f6(e); - t && (fo.remove(t.id), Xs.remove(t.id)); -}, Qs = () => { - var n, o; - const e = Js(), t = (e == null ? void 0 : e[1]) === "analysis" ? document.getElementById("sql") : document.getElementById("code"); - return (o = (n = t == null ? void 0 : t.parentElement) == null ? void 0 : n.querySelector("code-block")) == null ? void 0 : o.querySelector("code.ng-binding.highlight"); -}, Js = () => { - var t; - return (t = window.location.hash.split("#").find((n) => n.startsWith("!"))) == null ? void 0 : t.split("/"); -}, ec = () => document.querySelector( - '[marked="model.description"]' -), h6 = (e) => { - var t, n, o; - return e.field ? e.column ? (n = (t = Array.from( - document.querySelectorAll( - "column-details tr:not(.ng-hide) td:first-child" - ) - ).find((i) => i.innerText === e.column)) == null ? void 0 : t.parentElement) == null ? void 0 : n.querySelector("td:nth-child(3)") : (o = ec()) == null ? void 0 : o.firstChild : Qs(); -}, g6 = (e) => { - if (e.getAttribute("marked") === "model.description") - return "description"; -}, m6 = (e, t, n, o, r) => { - if (e === "description") - return { - start: 0, - end: 0, - x: 0, - y: 0 - }; - const i = t.querySelectorAll(".line-numbers-rows > span"), a = n.split(` -`), l = Math.max(r.y, o.y), s = Array.from(i).findIndex((d) => { - const { height: h, y: f } = d.getBoundingClientRect(); - return l >= f && l <= f + h; - }), u = i[s], c = s - a.length + 1; - return console.log("start and end lines found", c, s), { - x: u.offsetLeft, - y: u.offsetTop + u.offsetHeight / 2, - start: c, - end: s - }; -}, Y_ = () => { - var e; - return [ - (e = Qs()) == null ? void 0 : e.parentElement, - ec() - ]; -}; -var Rt = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(Rt || {}); -function b6(e) { - if (typeof e != "object" || e === null) - return !1; - let t = e; - for (; Object.getPrototypeOf(t) !== null; ) - t = Object.getPrototypeOf(t); - return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null; -} -function y6(e) { - return b6(e) && "type" in e && typeof e.type == "string"; -} -var td = Symbol.for("immer-nothing"), f2 = Symbol.for("immer-draftable"), At = Symbol.for("immer-state"), C6 = process.env.NODE_ENV !== "production" ? [ - // All error codes, starting by 0: - function(e) { - return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`; - }, - function(e) { - return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`; - }, - "This object has been frozen and should not be mutated", - function(e) { - return "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " + e; - }, - "An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.", - "Immer forbids circular references", - "The first or second argument to `produce` must be a function", - "The third argument to `produce` must be a function or undefined", - "First argument to `createDraft` must be a plain object, an array, or an immerable object", - "First argument to `finishDraft` must be a draft returned by `createDraft`", - function(e) { - return `'current' expects a draft, got: ${e}`; - }, - "Object.defineProperty() cannot be used on an Immer draft", - "Object.setPrototypeOf() cannot be used on an Immer draft", - "Immer only supports deleting array indices", - "Immer only supports setting array indices and the 'length' property", - function(e) { - return `'original' expects a draft, got: ${e}`; - } - // Note: if more errors are added, the errorOffset in Patches.ts should be increased - // See Patches.ts for additional errors -] : []; -function Ct(e, ...t) { - if (process.env.NODE_ENV !== "production") { - const n = C6[e], o = typeof n == "function" ? n.apply(null, t) : n; - throw new Error(`[Immer] ${o}`); - } - throw new Error( - `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf` + e.default = t; + })(sl)), + sl ); } -var wo = Object.getPrototypeOf; -function Gn(e) { - return !!e && !!e[At]; +var cl = {}, + r2; +function K4() { + return ( + r2 || + ((r2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#839496", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#839496", + textShadow: "0 1px rgba(0, 0, 0, 0.3)", + fontFamily: + "Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace", + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + borderRadius: "0.3em", + background: "#002b36", + }, + ':not(pre) > code[class*="language-"]': { + background: "#002b36", + padding: ".1em", + borderRadius: ".3em", + }, + comment: { + color: "#586e75", + }, + prolog: { + color: "#586e75", + }, + doctype: { + color: "#586e75", + }, + cdata: { + color: "#586e75", + }, + punctuation: { + color: "#93a1a1", + }, + ".namespace": { + Opacity: ".7", + }, + property: { + color: "#268bd2", + }, + keyword: { + color: "#268bd2", + }, + tag: { + color: "#268bd2", + }, + "class-name": { + color: "#FFFFB6", + textDecoration: "underline", + }, + boolean: { + color: "#b58900", + }, + constant: { + color: "#b58900", + }, + symbol: { + color: "#dc322f", + }, + deleted: { + color: "#dc322f", + }, + number: { + color: "#859900", + }, + selector: { + color: "#859900", + }, + "attr-name": { + color: "#859900", + }, + string: { + color: "#859900", + }, + char: { + color: "#859900", + }, + builtin: { + color: "#859900", + }, + inserted: { + color: "#859900", + }, + variable: { + color: "#268bd2", + }, + operator: { + color: "#EDEDED", + }, + function: { + color: "#268bd2", + }, + regex: { + color: "#E9C062", + }, + important: { + color: "#fd971f", + fontWeight: "bold", + }, + entity: { + color: "#FFFFB6", + cursor: "help", + }, + url: { + color: "#96CBFE", + }, + ".language-css .token.string": { + color: "#87C38A", + }, + ".style .token.string": { + color: "#87C38A", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + atrule: { + color: "#F9EE98", + }, + "attr-value": { + color: "#F9EE98", + }, + }; + e.default = t; + })(cl)), + cl + ); } -function yn(e) { - var t; - return e ? nd(e) || Array.isArray(e) || !!e[f2] || !!((t = e.constructor) != null && t[f2]) || Yi(e) || Gi(e) : !1; +var ul = {}, + i2; +function X4() { + return ( + i2 || + ((i2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + background: "none", + fontFamily: + "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace", + fontSize: "1em", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + backgroundColor: "transparent !important", + backgroundImage: "linear-gradient(to bottom, #2a2139 75%, #34294f)", + }, + ':not(pre) > code[class*="language-"]': { + backgroundColor: "transparent !important", + backgroundImage: "linear-gradient(to bottom, #2a2139 75%, #34294f)", + padding: ".1em", + borderRadius: ".3em", + whiteSpace: "normal", + }, + comment: { + color: "#8e8e8e", + }, + "block-comment": { + color: "#8e8e8e", + }, + prolog: { + color: "#8e8e8e", + }, + doctype: { + color: "#8e8e8e", + }, + cdata: { + color: "#8e8e8e", + }, + punctuation: { + color: "#ccc", + }, + tag: { + color: "#e2777a", + }, + "attr-name": { + color: "#e2777a", + }, + namespace: { + color: "#e2777a", + }, + number: { + color: "#e2777a", + }, + unit: { + color: "#e2777a", + }, + hexcode: { + color: "#e2777a", + }, + deleted: { + color: "#e2777a", + }, + property: { + color: "#72f1b8", + textShadow: + "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475", + }, + selector: { + color: "#72f1b8", + textShadow: + "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475", + }, + "function-name": { + color: "#6196cc", + }, + boolean: { + color: "#fdfdfd", + textShadow: + "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975", + }, + "selector.id": { + color: "#fdfdfd", + textShadow: + "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975", + }, + function: { + color: "#fdfdfd", + textShadow: + "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975", + }, + "class-name": { + color: "#fff5f6", + textShadow: + "0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75", + }, + constant: { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + }, + symbol: { + color: "#f92aad", + textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3", + }, + important: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + fontWeight: "bold", + }, + atrule: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + keyword: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + "selector.class": { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + builtin: { + color: "#f4eee4", + textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575", + }, + string: { + color: "#f87c32", + }, + char: { + color: "#f87c32", + }, + "attr-value": { + color: "#f87c32", + }, + regex: { + color: "#f87c32", + }, + variable: { + color: "#f87c32", + }, + operator: { + color: "#67cdcc", + }, + entity: { + color: "#67cdcc", + cursor: "help", + }, + url: { + color: "#67cdcc", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + inserted: { + color: "green", + }, + }; + e.default = t; + })(ul)), + ul + ); } -var v6 = Object.prototype.constructor.toString(); -function nd(e) { - if (!e || typeof e != "object") - return !1; - const t = wo(e); - if (t === null) - return !0; - const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor; - return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === v6; -} -function Ci(e, t) { - qi(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { - t(n, e[n], e); - }) : e.forEach((n, o) => t(o, n, e)); -} -function qi(e) { - const t = e[At]; - return t ? t.type_ : Array.isArray(e) ? 1 : Yi(e) ? 2 : Gi(e) ? 3 : 0; +var dl = {}, + a2; +function Q4() { + return ( + a2 || + ((a2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]': { + color: "#393A34", + fontFamily: + '"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + fontSize: ".9em", + lineHeight: "1.2em", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + border: "1px solid #dddddd", + backgroundColor: "white", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + 'pre[class*="language-"]::-moz-selection': { + background: "#C1DEF1", + }, + 'pre[class*="language-"] ::-moz-selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"]::-moz-selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"] ::-moz-selection': { + background: "#C1DEF1", + }, + 'pre[class*="language-"]::selection': { + background: "#C1DEF1", + }, + 'pre[class*="language-"] ::selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"]::selection': { + background: "#C1DEF1", + }, + 'code[class*="language-"] ::selection': { + background: "#C1DEF1", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".2em", + paddingTop: "1px", + paddingBottom: "1px", + background: "#f8f8f8", + border: "1px solid #dddddd", + }, + comment: { + color: "#008000", + fontStyle: "italic", + }, + prolog: { + color: "#008000", + fontStyle: "italic", + }, + doctype: { + color: "#008000", + fontStyle: "italic", + }, + cdata: { + color: "#008000", + fontStyle: "italic", + }, + namespace: { + Opacity: ".7", + }, + string: { + color: "#A31515", + }, + punctuation: { + color: "#393A34", + }, + operator: { + color: "#393A34", + }, + url: { + color: "#36acaa", + }, + symbol: { + color: "#36acaa", + }, + number: { + color: "#36acaa", + }, + boolean: { + color: "#36acaa", + }, + variable: { + color: "#36acaa", + }, + constant: { + color: "#36acaa", + }, + inserted: { + color: "#36acaa", + }, + atrule: { + color: "#0000ff", + }, + keyword: { + color: "#0000ff", + }, + "attr-value": { + color: "#0000ff", + }, + ".language-autohotkey .token.selector": { + color: "#0000ff", + }, + ".language-json .token.boolean": { + color: "#0000ff", + }, + ".language-json .token.number": { + color: "#0000ff", + }, + 'code[class*="language-css"]': { + color: "#0000ff", + }, + function: { + color: "#393A34", + }, + deleted: { + color: "#9a050f", + }, + ".language-autohotkey .token.tag": { + color: "#9a050f", + }, + selector: { + color: "#800000", + }, + ".language-autohotkey .token.keyword": { + color: "#00009f", + }, + important: { + color: "#e90", + fontWeight: "bold", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + "class-name": { + color: "#2B91AF", + }, + ".language-json .token.property": { + color: "#2B91AF", + }, + tag: { + color: "#800000", + }, + "attr-name": { + color: "#ff0000", + }, + property: { + color: "#ff0000", + }, + regex: { + color: "#ff0000", + }, + entity: { + color: "#ff0000", + }, + "directive.tag.tag": { + background: "#ffff00", + color: "#393A34", + }, + ".line-numbers.line-numbers .line-numbers-rows": { + borderRightColor: "#a5a5a5", + }, + ".line-numbers .line-numbers-rows > span:before": { + color: "#2B91AF", + }, + ".line-highlight.line-highlight": { + background: + "linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))", + }, + }; + e.default = t; + })(dl)), + dl + ); } -function ts(e, t) { - return qi(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); +var fl = {}, + l2; +function J4() { + return ( + l2 || + ((l2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'pre[class*="language-"]': { + color: "#d4d4d4", + fontSize: "13px", + textShadow: "none", + fontFamily: + 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + padding: "1em", + margin: ".5em 0", + overflow: "auto", + background: "#1e1e1e", + }, + 'code[class*="language-"]': { + color: "#d4d4d4", + fontSize: "13px", + textShadow: "none", + fontFamily: + 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace', + direction: "ltr", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + lineHeight: "1.5", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "#264F78", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "#264F78", + }, + 'pre[class*="language-"] *::selection': { + textShadow: "none", + background: "#264F78", + }, + 'code[class*="language-"] *::selection': { + textShadow: "none", + background: "#264F78", + }, + ':not(pre) > code[class*="language-"]': { + padding: ".1em .3em", + borderRadius: ".3em", + color: "#db4c69", + background: "#1e1e1e", + }, + ".namespace": { + Opacity: ".7", + }, + "doctype.doctype-tag": { + color: "#569CD6", + }, + "doctype.name": { + color: "#9cdcfe", + }, + comment: { + color: "#6a9955", + }, + prolog: { + color: "#6a9955", + }, + punctuation: { + color: "#d4d4d4", + }, + ".language-html .language-css .token.punctuation": { + color: "#d4d4d4", + }, + ".language-html .language-javascript .token.punctuation": { + color: "#d4d4d4", + }, + property: { + color: "#9cdcfe", + }, + tag: { + color: "#569cd6", + }, + boolean: { + color: "#569cd6", + }, + number: { + color: "#b5cea8", + }, + constant: { + color: "#9cdcfe", + }, + symbol: { + color: "#b5cea8", + }, + inserted: { + color: "#b5cea8", + }, + unit: { + color: "#b5cea8", + }, + selector: { + color: "#d7ba7d", + }, + "attr-name": { + color: "#9cdcfe", + }, + string: { + color: "#ce9178", + }, + char: { + color: "#ce9178", + }, + builtin: { + color: "#ce9178", + }, + deleted: { + color: "#ce9178", + }, + ".language-css .token.string.url": { + textDecoration: "underline", + }, + operator: { + color: "#d4d4d4", + }, + entity: { + color: "#569cd6", + }, + "operator.arrow": { + color: "#569CD6", + }, + atrule: { + color: "#ce9178", + }, + "atrule.rule": { + color: "#c586c0", + }, + "atrule.url": { + color: "#9cdcfe", + }, + "atrule.url.function": { + color: "#dcdcaa", + }, + "atrule.url.punctuation": { + color: "#d4d4d4", + }, + keyword: { + color: "#569CD6", + }, + "keyword.module": { + color: "#c586c0", + }, + "keyword.control-flow": { + color: "#c586c0", + }, + function: { + color: "#dcdcaa", + }, + "function.maybe-class-name": { + color: "#dcdcaa", + }, + regex: { + color: "#d16969", + }, + important: { + color: "#569cd6", + }, + italic: { + fontStyle: "italic", + }, + "class-name": { + color: "#4ec9b0", + }, + "maybe-class-name": { + color: "#4ec9b0", + }, + console: { + color: "#9cdcfe", + }, + parameter: { + color: "#9cdcfe", + }, + interpolation: { + color: "#9cdcfe", + }, + "punctuation.interpolation-punctuation": { + color: "#569cd6", + }, + variable: { + color: "#9cdcfe", + }, + "imports.maybe-class-name": { + color: "#9cdcfe", + }, + "exports.maybe-class-name": { + color: "#9cdcfe", + }, + escape: { + color: "#d7ba7d", + }, + "tag.punctuation": { + color: "#808080", + }, + cdata: { + color: "#808080", + }, + "attr-value": { + color: "#ce9178", + }, + "attr-value.punctuation": { + color: "#ce9178", + }, + "attr-value.punctuation.attr-equals": { + color: "#d4d4d4", + }, + namespace: { + color: "#4ec9b0", + }, + 'pre[class*="language-javascript"]': { + color: "#9cdcfe", + }, + 'code[class*="language-javascript"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-jsx"]': { + color: "#9cdcfe", + }, + 'code[class*="language-jsx"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-typescript"]': { + color: "#9cdcfe", + }, + 'code[class*="language-typescript"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-tsx"]': { + color: "#9cdcfe", + }, + 'code[class*="language-tsx"]': { + color: "#9cdcfe", + }, + 'pre[class*="language-css"]': { + color: "#ce9178", + }, + 'code[class*="language-css"]': { + color: "#ce9178", + }, + 'pre[class*="language-html"]': { + color: "#d4d4d4", + }, + 'code[class*="language-html"]': { + color: "#d4d4d4", + }, + ".language-regex .token.anchor": { + color: "#dcdcaa", + }, + ".language-html .token.punctuation": { + color: "#808080", + }, + 'pre[class*="language-"] > code[class*="language-"]': { + position: "relative", + zIndex: "1", + }, + ".line-highlight.line-highlight": { + background: "#f7ebc6", + boxShadow: "inset 5px 0 0 #f7d87c", + zIndex: "0", + }, + }; + e.default = t; + })(fl)), + fl + ); } -function od(e, t, n) { - const o = qi(e); - o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : e[t] = n; +var pl = {}, + s2; +function e6() { + return ( + s2 || + ((s2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordWrap: "normal", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "14px", + color: "#76d9e6", + textShadow: "none", + }, + 'pre[class*="language-"]': { + MozTabSize: "2", + OTabSize: "2", + tabSize: "2", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + whiteSpace: "pre-wrap", + wordWrap: "normal", + fontFamily: 'Menlo, Monaco, "Courier New", monospace', + fontSize: "14px", + color: "#76d9e6", + textShadow: "none", + background: "#2a2a2a", + padding: "15px", + borderRadius: "4px", + border: "1px solid #e1e1e8", + overflow: "auto", + position: "relative", + }, + 'pre > code[class*="language-"]': { + fontSize: "1em", + }, + ':not(pre) > code[class*="language-"]': { + background: "#2a2a2a", + padding: "0.15em 0.2em 0.05em", + borderRadius: ".3em", + border: "0.13em solid #7a6652", + boxShadow: "1px 1px 0.3em -0.1em #000 inset", + }, + 'pre[class*="language-"] code': { + whiteSpace: "pre", + display: "block", + }, + namespace: { + Opacity: ".7", + }, + comment: { + color: "#6f705e", + }, + prolog: { + color: "#6f705e", + }, + doctype: { + color: "#6f705e", + }, + cdata: { + color: "#6f705e", + }, + operator: { + color: "#a77afe", + }, + boolean: { + color: "#a77afe", + }, + number: { + color: "#a77afe", + }, + "attr-name": { + color: "#e6d06c", + }, + string: { + color: "#e6d06c", + }, + entity: { + color: "#e6d06c", + cursor: "help", + }, + url: { + color: "#e6d06c", + }, + ".language-css .token.string": { + color: "#e6d06c", + }, + ".style .token.string": { + color: "#e6d06c", + }, + selector: { + color: "#a6e22d", + }, + inserted: { + color: "#a6e22d", + }, + atrule: { + color: "#ef3b7d", + }, + "attr-value": { + color: "#ef3b7d", + }, + keyword: { + color: "#ef3b7d", + }, + important: { + color: "#ef3b7d", + fontWeight: "bold", + }, + deleted: { + color: "#ef3b7d", + }, + regex: { + color: "#76d9e6", + }, + statement: { + color: "#76d9e6", + fontWeight: "bold", + }, + placeholder: { + color: "#fff", + }, + variable: { + color: "#fff", + }, + bold: { + fontWeight: "bold", + }, + punctuation: { + color: "#bebec5", + }, + italic: { + fontStyle: "italic", + }, + "code.language-markup": { + color: "#f9f9f9", + }, + "code.language-markup .token.tag": { + color: "#ef3b7d", + }, + "code.language-markup .token.attr-name": { + color: "#a6e22d", + }, + "code.language-markup .token.attr-value": { + color: "#e6d06c", + }, + "code.language-markup .token.style": { + color: "#76d9e6", + }, + "code.language-markup .token.script": { + color: "#76d9e6", + }, + "code.language-markup .token.script .token.keyword": { + color: "#76d9e6", + }, + ".line-highlight.line-highlight": { + padding: "0", + background: "rgba(255, 255, 255, 0.08)", + }, + ".line-highlight.line-highlight:before": { + padding: "0.2em 0.5em", + backgroundColor: "rgba(255, 255, 255, 0.4)", + color: "black", + height: "1em", + lineHeight: "1em", + boxShadow: "0 1px 1px rgba(255, 255, 255, 0.7)", + }, + ".line-highlight.line-highlight[data-end]:after": { + padding: "0.2em 0.5em", + backgroundColor: "rgba(255, 255, 255, 0.4)", + color: "black", + height: "1em", + lineHeight: "1em", + boxShadow: "0 1px 1px rgba(255, 255, 255, 0.7)", + }, + }; + e.default = t; + })(pl)), + pl + ); } -function x6(e, t) { - return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t; +var hl = {}, + c2; +function t6() { + return ( + c2 || + ((c2 = 1), + (function (e) { + Object.defineProperty(e, "__esModule", { + value: !0, + }), + (e.default = void 0); + var t = { + 'code[class*="language-"]': { + color: "#22da17", + fontFamily: "monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + lineHeight: "25px", + fontSize: "18px", + margin: "5px 0", + }, + 'pre[class*="language-"]': { + color: "white", + fontFamily: "monospace", + textAlign: "left", + whiteSpace: "pre", + wordSpacing: "normal", + wordBreak: "normal", + wordWrap: "normal", + MozTabSize: "4", + OTabSize: "4", + tabSize: "4", + WebkitHyphens: "none", + MozHyphens: "none", + msHyphens: "none", + hyphens: "none", + lineHeight: "25px", + fontSize: "18px", + margin: "0.5em 0", + background: "#0a143c", + padding: "1em", + overflow: "auto", + }, + 'pre[class*="language-"] *': { + fontFamily: "monospace", + }, + ':not(pre) > code[class*="language-"]': { + color: "white", + background: "#0a143c", + padding: "0.1em", + borderRadius: "0.3em", + whiteSpace: "normal", + }, + 'pre[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::-moz-selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'pre[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"]::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + 'code[class*="language-"] ::selection': { + textShadow: "none", + background: "rgba(29, 59, 83, 0.99)", + }, + comment: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + prolog: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + cdata: { + color: "rgb(99, 119, 119)", + fontStyle: "italic", + }, + punctuation: { + color: "rgb(199, 146, 234)", + }, + ".namespace": { + color: "rgb(178, 204, 214)", + }, + deleted: { + color: "rgba(239, 83, 80, 0.56)", + fontStyle: "italic", + }, + symbol: { + color: "rgb(128, 203, 196)", + }, + property: { + color: "rgb(128, 203, 196)", + }, + tag: { + color: "rgb(127, 219, 202)", + }, + operator: { + color: "rgb(127, 219, 202)", + }, + keyword: { + color: "rgb(127, 219, 202)", + }, + boolean: { + color: "rgb(255, 88, 116)", + }, + number: { + color: "rgb(247, 140, 108)", + }, + constant: { + color: "rgb(34 183 199)", + }, + function: { + color: "rgb(34 183 199)", + }, + builtin: { + color: "rgb(34 183 199)", + }, + char: { + color: "rgb(34 183 199)", + }, + selector: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + doctype: { + color: "rgb(199, 146, 234)", + fontStyle: "italic", + }, + "attr-name": { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + inserted: { + color: "rgb(173, 219, 103)", + fontStyle: "italic", + }, + string: { + color: "rgb(173, 219, 103)", + }, + url: { + color: "rgb(173, 219, 103)", + }, + entity: { + color: "rgb(173, 219, 103)", + }, + ".language-css .token.string": { + color: "rgb(173, 219, 103)", + }, + ".style .token.string": { + color: "rgb(173, 219, 103)", + }, + "class-name": { + color: "rgb(255, 203, 139)", + }, + atrule: { + color: "rgb(255, 203, 139)", + }, + "attr-value": { + color: "rgb(255, 203, 139)", + }, + regex: { + color: "rgb(214, 222, 235)", + }, + important: { + color: "rgb(214, 222, 235)", + fontWeight: "bold", + }, + variable: { + color: "rgb(214, 222, 235)", + }, + bold: { + fontWeight: "bold", + }, + italic: { + fontStyle: "italic", + }, + }; + e.default = t; + })(hl)), + hl + ); } -function Yi(e) { - return e instanceof Map; -} -function Gi(e) { - return e instanceof Set; -} -function zn(e) { - return e.copy_ || e.base_; -} -function ns(e, t) { - if (Yi(e)) - return new Map(e); - if (Gi(e)) - return new Set(e); - if (Array.isArray(e)) - return Array.prototype.slice.call(e); - const n = nd(e); - if (t === !0 || t === "class_only" && !n) { - const o = Object.getOwnPropertyDescriptors(e); - delete o[At]; - let r = Reflect.ownKeys(o); - for (let i = 0; i < r.length; i++) { - const a = r[i], l = o[a]; - l.writable === !1 && (l.writable = !0, l.configurable = !0), (l.get || l.set) && (o[a] = { - configurable: !0, - writable: !0, - // could live with !!desc.set as well here... - enumerable: l.enumerable, - value: e[a] - }); - } - return Object.create(wo(e), o); - } else { - const o = wo(e); - if (o !== null && n) - return { ...e }; - const r = Object.create(o); - return Object.assign(r, e); - } -} -function tc(e, t = !1) { - return Ki(e) || Gn(e) || !yn(e) || (qi(e) > 1 && (e.set = e.add = e.clear = e.delete = w6), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => tc(o, !0))), e; -} -function w6() { - Ct(2); -} -function Ki(e) { - return Object.isFrozen(e); -} -var E6 = {}; -function Kn(e) { - const t = E6[e]; - return t || Ct(0, e), t; -} -var rr; -function rd() { - return rr; -} -function S6(e, t) { - return { - drafts_: [], - parent_: e, - immer_: t, - // Whenever the modified draft contains a draft from another scope, we - // need to prevent auto-freezing so the unowned draft can be finalized. - canAutoFreeze_: !0, - unfinalizedDrafts_: 0 - }; -} -function p2(e, t) { - t && (Kn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); -} -function os(e) { - rs(e), e.drafts_.forEach(k6), e.drafts_ = null; -} -function rs(e) { - e === rr && (rr = e.parent_); -} -function h2(e) { - return rr = S6(rr, e); -} -function k6(e) { - const t = e[At]; - t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0; -} -function g2(e, t) { - t.unfinalizedDrafts_ = t.drafts_.length; - const n = t.drafts_[0]; - return e !== void 0 && e !== n ? (n[At].modified_ && (os(t), Ct(4)), yn(e) && (e = vi(t, e), t.parent_ || xi(t, e)), t.patches_ && Kn("Patches").generateReplacementPatches_( - n[At].base_, - e, - t.patches_, - t.inversePatches_ - )) : e = vi(t, n, []), os(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== td ? e : void 0; -} -function vi(e, t, n) { - if (Ki(t)) - return t; - const o = t[At]; - if (!o) - return Ci( - t, - (r, i) => m2(e, o, t, r, i, n) - ), t; - if (o.scope_ !== e) - return t; - if (!o.modified_) - return xi(e, o.base_, !0), o.base_; - if (!o.finalized_) { - o.finalized_ = !0, o.scope_.unfinalizedDrafts_--; - const r = o.copy_; - let i = r, a = !1; - o.type_ === 3 && (i = new Set(r), r.clear(), a = !0), Ci( - i, - (l, s) => m2(e, o, r, l, s, n, a) - ), xi(e, r, !1), n && e.patches_ && Kn("Patches").generatePatches_( - o, - n, - e.patches_, - e.inversePatches_ - ); - } - return o.copy_; -} -function m2(e, t, n, o, r, i, a) { - if (process.env.NODE_ENV !== "production" && r === n && Ct(5), Gn(r)) { - const l = i && t && t.type_ !== 3 && // Set objects are atomic since they have no keys. - !ts(t.assigned_, o) ? i.concat(o) : void 0, s = vi(e, r, l); - if (od(n, o, s), Gn(s)) - e.canAutoFreeze_ = !1; - else - return; - } else a && n.add(r); - if (yn(r) && !Ki(r)) { - if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) - return; - vi(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && xi(e, r); - } -} -function xi(e, t, n = !1) { - !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && tc(t, n); -} -function _6(e, t) { - const n = Array.isArray(e), o = { - type_: n ? 1 : 0, - // Track which produce call this is associated with. - scope_: t ? t.scope_ : rd(), - // True for both shallow and deep changes. - modified_: !1, - // Used during finalization. - finalized_: !1, - // Track which properties have been assigned (true) or deleted (false). - assigned_: {}, - // The parent draft state. - parent_: t, - // The base state. - base_: e, - // The base proxy. - draft_: null, - // set below - // The base copy with any updated values. - copy_: null, - // Called by the `produce` function. - revoke_: null, - isManual_: !1 - }; - let r = o, i = nc; - n && (r = [o], i = ir); - const { revoke: a, proxy: l } = Proxy.revocable(r, i); - return o.draft_ = l, o.revoke_ = a, l; -} -var nc = { - get(e, t) { - if (t === At) - return e; - const n = zn(e); - if (!ts(n, t)) - return A6(e, n, t); - const o = n[t]; - return e.finalized_ || !yn(o) ? o : o === gl(e.base_, t) ? (ml(e), e.copy_[t] = as(o, e)) : o; - }, - has(e, t) { - return t in zn(e); - }, - ownKeys(e) { - return Reflect.ownKeys(zn(e)); - }, - set(e, t, n) { - const o = id(zn(e), t); - if (o != null && o.set) - return o.set.call(e.draft_, n), !0; - if (!e.modified_) { - const r = gl(zn(e), t), i = r == null ? void 0 : r[At]; - if (i && i.base_ === n) - return e.copy_[t] = n, e.assigned_[t] = !1, !0; - if (x6(n, r) && (n !== void 0 || ts(e.base_, t))) - return !0; - ml(e), is(e); - } - return e.copy_[t] === n && // special case: handle new props with value 'undefined' - (n !== void 0 || t in e.copy_) || // special case: NaN - Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_[t] = !0), !0; - }, - deleteProperty(e, t) { - return gl(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, ml(e), is(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0; - }, - // Note: We never coerce `desc.value` into an Immer draft, because we can't make - // the same guarantee in ES5 mode. - getOwnPropertyDescriptor(e, t) { - const n = zn(e), o = Reflect.getOwnPropertyDescriptor(n, t); - return o && { - writable: !0, - configurable: e.type_ !== 1 || t !== "length", - enumerable: o.enumerable, - value: n[t] - }; +(function (e) { + var t = d4; + Object.defineProperty(e, "__esModule", { + value: !0, + }), + Object.defineProperty(e, "a11yDark", { + enumerable: !0, + get: function () { + return c.default; + }, + }), + Object.defineProperty(e, "atomDark", { + enumerable: !0, + get: function () { + return d.default; + }, + }), + Object.defineProperty(e, "base16AteliersulphurpoolLight", { + enumerable: !0, + get: function () { + return h.default; + }, + }), + Object.defineProperty(e, "cb", { + enumerable: !0, + get: function () { + return f.default; + }, + }), + Object.defineProperty(e, "coldarkCold", { + enumerable: !0, + get: function () { + return m.default; + }, + }), + Object.defineProperty(e, "coldarkDark", { + enumerable: !0, + get: function () { + return b.default; + }, + }), + Object.defineProperty(e, "coy", { + enumerable: !0, + get: function () { + return n.default; + }, + }), + Object.defineProperty(e, "coyWithoutShadows", { + enumerable: !0, + get: function () { + return y.default; + }, + }), + Object.defineProperty(e, "darcula", { + enumerable: !0, + get: function () { + return g.default; + }, + }), + Object.defineProperty(e, "dark", { + enumerable: !0, + get: function () { + return o.default; + }, + }), + Object.defineProperty(e, "dracula", { + enumerable: !0, + get: function () { + return x.default; + }, + }), + Object.defineProperty(e, "duotoneDark", { + enumerable: !0, + get: function () { + return C.default; + }, + }), + Object.defineProperty(e, "duotoneEarth", { + enumerable: !0, + get: function () { + return E.default; + }, + }), + Object.defineProperty(e, "duotoneForest", { + enumerable: !0, + get: function () { + return w.default; + }, + }), + Object.defineProperty(e, "duotoneLight", { + enumerable: !0, + get: function () { + return S.default; + }, + }), + Object.defineProperty(e, "duotoneSea", { + enumerable: !0, + get: function () { + return _.default; + }, + }), + Object.defineProperty(e, "duotoneSpace", { + enumerable: !0, + get: function () { + return A.default; + }, + }), + Object.defineProperty(e, "funky", { + enumerable: !0, + get: function () { + return r.default; + }, + }), + Object.defineProperty(e, "ghcolors", { + enumerable: !0, + get: function () { + return R.default; + }, + }), + Object.defineProperty(e, "gruvboxDark", { + enumerable: !0, + get: function () { + return L.default; + }, + }), + Object.defineProperty(e, "gruvboxLight", { + enumerable: !0, + get: function () { + return j.default; + }, + }), + Object.defineProperty(e, "holiTheme", { + enumerable: !0, + get: function () { + return P.default; + }, + }), + Object.defineProperty(e, "hopscotch", { + enumerable: !0, + get: function () { + return V.default; + }, + }), + Object.defineProperty(e, "lucario", { + enumerable: !0, + get: function () { + return k.default; + }, + }), + Object.defineProperty(e, "materialDark", { + enumerable: !0, + get: function () { + return N.default; + }, + }), + Object.defineProperty(e, "materialLight", { + enumerable: !0, + get: function () { + return T.default; + }, + }), + Object.defineProperty(e, "materialOceanic", { + enumerable: !0, + get: function () { + return F.default; + }, + }), + Object.defineProperty(e, "nightOwl", { + enumerable: !0, + get: function () { + return I.default; + }, + }), + Object.defineProperty(e, "nord", { + enumerable: !0, + get: function () { + return D.default; + }, + }), + Object.defineProperty(e, "okaidia", { + enumerable: !0, + get: function () { + return i.default; + }, + }), + Object.defineProperty(e, "oneDark", { + enumerable: !0, + get: function () { + return v.default; + }, + }), + Object.defineProperty(e, "oneLight", { + enumerable: !0, + get: function () { + return z.default; + }, + }), + Object.defineProperty(e, "pojoaque", { + enumerable: !0, + get: function () { + return B.default; + }, + }), + Object.defineProperty(e, "prism", { + enumerable: !0, + get: function () { + return u.default; + }, + }), + Object.defineProperty(e, "shadesOfPurple", { + enumerable: !0, + get: function () { + return M.default; + }, + }), + Object.defineProperty(e, "solarizedDarkAtom", { + enumerable: !0, + get: function () { + return W.default; + }, + }), + Object.defineProperty(e, "solarizedlight", { + enumerable: !0, + get: function () { + return a.default; + }, + }), + Object.defineProperty(e, "synthwave84", { + enumerable: !0, + get: function () { + return G.default; + }, + }), + Object.defineProperty(e, "tomorrow", { + enumerable: !0, + get: function () { + return l.default; + }, + }), + Object.defineProperty(e, "twilight", { + enumerable: !0, + get: function () { + return s.default; + }, + }), + Object.defineProperty(e, "vs", { + enumerable: !0, + get: function () { + return K.default; + }, + }), + Object.defineProperty(e, "vscDarkPlus", { + enumerable: !0, + get: function () { + return Q.default; + }, + }), + Object.defineProperty(e, "xonokai", { + enumerable: !0, + get: function () { + return ne.default; + }, + }), + Object.defineProperty(e, "zTouch", { + enumerable: !0, + get: function () { + return oe.default; + }, + }); + var n = t(f4()), + o = t(p4()), + r = t(h4()), + i = t(g4()), + a = t(m4()), + l = t(b4()), + s = t(y4()), + u = t(C4()), + c = t(v4()), + d = t(x4()), + h = t(w4()), + f = t(E4()), + m = t(S4()), + b = t(k4()), + y = t(_4()), + g = t(A4()), + x = t(M4()), + C = t(T4()), + E = t(O4()), + w = t(N4()), + S = t(D4()), + _ = t(L4()), + A = t(F4()), + R = t(R4()), + L = t(j4()), + j = t(I4()), + P = t(z4()), + V = t(H4()), + k = t(P4()), + N = t(B4()), + T = t(V4()), + F = t($4()), + I = t(W4()), + D = t(Z4()), + v = t(U4()), + z = t(q4()), + B = t(Y4()), + M = t(G4()), + W = t(K4()), + G = t(X4()), + K = t(Q4()), + Q = t(J4()), + ne = t(e6()), + oe = t(t6()); +})(Yo); +const n6 = "_codeblock_19tsp_1", + o6 = "_dark_19tsp_1", + u2 = { + codeblock: n6, + dark: o6, }, - defineProperty() { - Ct(11); + r6 = { + vs: Yo.vs, + "vsc-dark-plus": Yo.vscDarkPlus, + solarizedLight: Yo.solarizedlight, + tomorrow: Yo.tomorrow, }, - getPrototypeOf(e) { - return wo(e.base_); + Sr = ({ + code: e, + language: t, + fileName: n, + editorTheme: o = "vs", + theme: r, + showLineNumbers: i, + className: a, + titleActions: l, + }) => + /* @__PURE__ */ p.jsxs(sn, { + className: `${u2.codeblock} ${a || ""} ${r === "dark" ? u2.dark : ""}`, + children: [ + n + ? /* @__PURE__ */ p.jsxs(Er, { + className: "d-flex justify-content-between", + children: [n, " ", l], + }) + : null, + /* @__PURE__ */ p.jsx(Rn, { + children: /* @__PURE__ */ p.jsx(U5, { + showLineNumbers: i, + language: t, + style: r6[o], + children: e, + }), + }), + ], + }), + i6 = "_stack_73h55_1", + a6 = { + stack: i6, }, - setPrototypeOf() { - Ct(12); - } -}, ir = {}; -Ci(nc, (e, t) => { - ir[e] = function() { - return arguments[0] = arguments[0][0], t.apply(this, arguments); - }; -}); -ir.deleteProperty = function(e, t) { - return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), ir.set.call(this, e, t, void 0); -}; -ir.set = function(e, t, n) { - return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ct(14), nc.set.call(this, e[0], t, n, e[0]); -}; -function gl(e, t) { - const n = e[At]; - return (n ? zn(n) : e)[t]; -} -function A6(e, t, n) { - var r; - const o = id(t, n); - return o ? "value" in o ? o.value : ( - // This is a very special case, if the prop is a getter defined by the - // prototype, we should invoke it with the draft as context! - (r = o.get) == null ? void 0 : r.call(e.draft_) - ) : void 0; -} -function id(e, t) { - if (!(t in e)) - return; - let n = wo(e); - for (; n; ) { - const o = Object.getOwnPropertyDescriptor(n, t); - if (o) - return o; - n = wo(n); - } -} -function is(e) { - e.modified_ || (e.modified_ = !0, e.parent_ && is(e.parent_)); -} -function ml(e) { - e.copy_ || (e.copy_ = ns( - e.base_, - e.scope_.immer_.useStrictShallowCopy_ - )); -} -var M6 = class { - constructor(e) { - this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, n, o) => { - if (typeof t == "function" && typeof n != "function") { - const i = n; - n = t; - const a = this; - return function(s = i, ...u) { - return a.produce(s, (c) => n.call(this, c, ...u)); - }; - } - typeof n != "function" && Ct(6), o !== void 0 && typeof o != "function" && Ct(7); - let r; - if (yn(t)) { - const i = h2(this), a = as(t, void 0); - let l = !0; + ut = Ys(function ({ children: t, direction: n = "row", ...o }, r) { + return /* @__PURE__ */ p.jsx("div", { + ...o, + className: `${o.className} ${a6.stack} stack-${n}`, + ref: r, + children: t, + }); + }), + G0 = ({ tooltip: e, ...t }) => + /* @__PURE__ */ p.jsx(wn, { + title: e, + children: /* @__PURE__ */ p.jsx(D5, { ...t }), + }), + K0 = ({ queryFn: e }) => { + const [t, n] = ue(), + [o, r] = ue(!1), + [i, a] = ue(), + l = async () => { + r(!0); try { - r = n(a), l = !1; + const u = await e(); + a(u); + } catch (u) { + n(u); } finally { - l ? os(i) : rs(i); + r(!1); } - return p2(i, o), g2(r, i); - } else if (!t || typeof t != "object") { - if (r = n(t), r === void 0 && (r = t), r === td && (r = void 0), this.autoFreeze_ && tc(r, !0), o) { - const i = [], a = []; - Kn("Patches").generateReplacementPatches_(t, r, i, a), o(i, a); + }; + return ( + ce(() => { + l(); + }, []), + { + error: t, + data: i, + loading: o, + refetch: () => { + l(); + }, + } + ); + }, + Zi = ({ queryFn: e, onSuccess: t }) => { + const [n, o] = ue(), + [r, i] = ue(!1), + [a, l] = ue(); + return { + error: n, + data: a, + loading: r, + mutate: async (u) => { + i(!0); + try { + const c = await e(u); + l(c), t == null || t(c); + } catch (c) { + o(c); + } finally { + i(!1); } - return r; - } else - Ct(1, t); - }, this.produceWithPatches = (t, n) => { - if (typeof t == "function") - return (a, ...l) => this.produceWithPatches(a, (s) => t(s, ...l)); - let o, r; - return [this.produce(t, n, (a, l) => { - o = a, r = l; - }), o, r]; - }, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy); - } - createDraft(e) { - yn(e) || Ct(8), Gn(e) && (e = T6(e)); - const t = h2(this), n = as(e, void 0); - return n[At].isManual_ = !0, rs(t), n; - } - finishDraft(e, t) { - const n = e && e[At]; - (!n || !n.isManual_) && Ct(9); - const { scope_: o } = n; - return p2(o, t), g2(void 0, o); - } - /** - * Pass true to automatically freeze all copies created by Immer. - * - * By default, auto-freezing is enabled. - */ - setAutoFreeze(e) { - this.autoFreeze_ = e; - } - /** - * Pass true to enable strict shallow copy. - * - * By default, immer does not copy the object descriptors such as getter, setter and non-enumrable properties. - */ - setUseStrictShallowCopy(e) { - this.useStrictShallowCopy_ = e; - } - applyPatches(e, t) { - let n; - for (n = t.length - 1; n >= 0; n--) { - const r = t[n]; - if (r.path.length === 0 && r.op === "replace") { - e = r.value; - break; - } - } - n > -1 && (t = t.slice(n + 1)); - const o = Kn("Patches").applyPatches_; - return Gn(e) ? o(e, t) : this.produce( - e, - (r) => o(r, t) - ); - } -}; -function as(e, t) { - const n = Yi(e) ? Kn("MapSet").proxyMap_(e, t) : Gi(e) ? Kn("MapSet").proxySet_(e, t) : _6(e, t); - return (t ? t.scope_ : rd()).drafts_.push(n), n; -} -function T6(e) { - return Gn(e) || Ct(10, e), ad(e); -} -function ad(e) { - if (!yn(e) || Ki(e)) - return e; - const t = e[At]; - let n; - if (t) { - if (!t.modified_) - return t.base_; - t.finalized_ = !0, n = ns(e, t.scope_.immer_.useStrictShallowCopy_); - } else - n = ns(e, !0); - return Ci(n, (o, r) => { - od(n, o, ad(r)); - }), t && (t.finalized_ = !1), n; -} -var Mt = new M6(), ld = Mt.produce; -Mt.produceWithPatches.bind( - Mt -); -Mt.setAutoFreeze.bind(Mt); -Mt.setUseStrictShallowCopy.bind(Mt); -Mt.applyPatches.bind(Mt); -Mt.createDraft.bind(Mt); -Mt.finishDraft.bind(Mt); -function b2(e, t) { - function n(...o) { - if (t) { - let r = t(...o); - if (!r) - throw new Error(process.env.NODE_ENV === "production" ? tt(0) : "prepareAction did not return an object"); - return { - type: e, - payload: r.payload, - ..."meta" in r && { - meta: r.meta - }, - ..."error" in r && { - error: r.error - } - }; - } - return { - type: e, - payload: o[0] + }, }; - } - return n.toString = () => `${e}`, n.type = e, n.match = (o) => y6(o) && o.type === e, n; -} -function y2(e) { - return yn(e) ? ld(e, () => { - }) : e; -} -function C2(e, t, n) { - if (e.has(t)) { - let r = e.get(t); - return n.update && (r = n.update(r, t, e), e.set(t, r)), r; - } - if (!n.insert) throw new Error(process.env.NODE_ENV === "production" ? tt(10) : "No insert provided for key not already in map"); - const o = n.insert(t, e); - return e.set(t, o), o; -} -function sd(e) { - const t = {}, n = []; - let o; - const r = { - addCase(i, a) { - if (process.env.NODE_ENV !== "production") { - if (n.length > 0) - throw new Error(process.env.NODE_ENV === "production" ? tt(26) : "`builder.addCase` should only be called before calling `builder.addMatcher`"); - if (o) - throw new Error(process.env.NODE_ENV === "production" ? tt(27) : "`builder.addCase` should only be called before calling `builder.addDefaultCase`"); - } - const l = typeof i == "string" ? i : i.type; - if (!l) - throw new Error(process.env.NODE_ENV === "production" ? tt(28) : "`builder.addCase` cannot be called with an empty action type"); - if (l in t) - throw new Error(process.env.NODE_ENV === "production" ? tt(29) : `\`builder.addCase\` cannot be called with two reducers for the same action type '${l}'`); - return t[l] = a, r; - }, - addMatcher(i, a) { - if (process.env.NODE_ENV !== "production" && o) - throw new Error(process.env.NODE_ENV === "production" ? tt(30) : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); - return n.push({ - matcher: i, - reducer: a - }), r; - }, - addDefaultCase(i) { - if (process.env.NODE_ENV !== "production" && o) - throw new Error(process.env.NODE_ENV === "production" ? tt(31) : "`builder.addDefaultCase` can only be called once"); - return o = i, r; - } + }, + Ie = { + get: async (e, t, n) => ({}), + post: async (e, t, n) => ({}), }; - return e(r), [t, n, o]; -} -function O6(e) { - return typeof e == "function"; -} -function N6(e, t) { - if (process.env.NODE_ENV !== "production" && typeof t == "object") - throw new Error(process.env.NODE_ENV === "production" ? tt(8) : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer"); - let [n, o, r] = sd(t), i; - if (O6(e)) - i = () => y2(e()); - else { - const l = y2(e); - i = () => l; - } - function a(l = i(), s) { - let u = [n[s.type], ...o.filter(({ - matcher: c - }) => c(s)).map(({ - reducer: c - }) => c)]; - return u.filter((c) => !!c).length === 0 && (u = [r]), u.reduce((c, d) => { - if (d) - if (Gn(c)) { - const f = d(c, s); - return f === void 0 ? c : f; - } else { - if (yn(c)) - return ld(c, (h) => d(h, s)); - { - const h = d(c, s); - if (h === void 0) { - if (c === null) - return c; - throw new Error(process.env.NODE_ENV === "production" ? tt(9) : "A case reducer on a non-draftable value must not return undefined"); - } - return h; - } - } - return c; - }, l); - } - return a.getInitialState = i, a; -} -var D6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); -function L6(e, t) { - return `${e}/${t}`; -} -function F6({ - creators: e -} = {}) { - var n; - const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[D6]; - return function(r) { - const { - name: i, - reducerPath: a = i - } = r; - if (!i) - throw new Error(process.env.NODE_ENV === "production" ? tt(11) : "`name` is a required option for createSlice"); - typeof process < "u" && process.env.NODE_ENV === "development" && r.initialState === void 0 && console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`"); - const l = (typeof r.reducers == "function" ? r.reducers(j6()) : r.reducers) || {}, s = Object.keys(l), u = { - sliceCaseReducersByName: {}, - sliceCaseReducersByType: {}, - actionCreators: {}, - sliceMatchers: [] - }, c = { - addCase(C, E) { - const w = typeof C == "string" ? C : C.type; - if (!w) - throw new Error(process.env.NODE_ENV === "production" ? tt(12) : "`context.addCase` cannot be called with an empty action type"); - if (w in u.sliceCaseReducersByType) - throw new Error(process.env.NODE_ENV === "production" ? tt(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + w); - return u.sliceCaseReducersByType[w] = E, c; - }, - addMatcher(C, E) { - return u.sliceMatchers.push({ - matcher: C, - reducer: E - }), c; - }, - exposeAction(C, E) { - return u.actionCreators[C] = E, c; - }, - exposeCaseReducer(C, E) { - return u.sliceCaseReducersByName[C] = E, c; +var Ks = /* @__PURE__ */ ((e) => ( + (e.DBT_DOCS = "dbt-docs"), + (e.DOCUMENTATION_EDITOR = "documentation-editor"), + (e.SAAS = "saas"), + e +))(Ks || {}); +const l6 = () => { + var t, n, o; + const e = + (o = + (n = (t = window.location.hash) == null ? void 0 : t.split("#")[1]) == + null + ? void 0 + : n.replace("!/", "")) == null + ? void 0 + : o.split("/"); + return { + name: e == null ? void 0 : e[1], + resourceType: e == null ? void 0 : e[0], + }; +}; +var X0 = { exports: {} }; +/*! web-highlighter v0.7.4 https://github.com/alienzhou/web-highlighter */ +(function (e, t) { + (function (n, o) { + e.exports = o(); + })(window, function () { + return (function (n) { + var o = {}; + function r(i) { + if (o[i]) return o[i].exports; + var a = (o[i] = { i, l: !1, exports: {} }); + return n[i].call(a.exports, a, a.exports, r), (a.l = !0), a.exports; } - }; - s.forEach((C) => { - const E = l[C], w = { - reducerName: C, - type: L6(i, C), - createNotation: typeof r.reducers == "function" - }; - z6(E) ? P6(w, E, c, t) : I6(w, E, c); - }); - function d() { - if (process.env.NODE_ENV !== "production" && typeof r.extraReducers == "object") - throw new Error(process.env.NODE_ENV === "production" ? tt(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"); - const [C = {}, E = [], w = void 0] = typeof r.extraReducers == "function" ? sd(r.extraReducers) : [r.extraReducers], S = { - ...C, - ...u.sliceCaseReducersByType - }; - return N6(r.initialState, (_) => { - for (let A in S) - _.addCase(A, S[A]); - for (let A of u.sliceMatchers) - _.addMatcher(A.matcher, A.reducer); - for (let A of E) - _.addMatcher(A.matcher, A.reducer); - w && _.addDefaultCase(w); - }); - } - const h = (C) => C, f = /* @__PURE__ */ new Map(); - let m; - function b(C, E) { - return m || (m = d()), m(C, E); + return ( + (r.m = n), + (r.c = o), + (r.d = function (i, a, l) { + r.o(i, a) || Object.defineProperty(i, a, { enumerable: !0, get: l }); + }), + (r.r = function (i) { + typeof Symbol < "u" && + Symbol.toStringTag && + Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), + Object.defineProperty(i, "__esModule", { value: !0 }); + }), + (r.t = function (i, a) { + if ( + (1 & a && (i = r(i)), + 8 & a || (4 & a && typeof i == "object" && i && i.__esModule)) + ) + return i; + var l = /* @__PURE__ */ Object.create(null); + if ( + (r.r(l), + Object.defineProperty(l, "default", { enumerable: !0, value: i }), + 2 & a && typeof i != "string") + ) + for (var s in i) + r.d( + l, + s, + function (u) { + return i[u]; + }.bind(null, s), + ); + return l; + }), + (r.n = function (i) { + var a = + i && i.__esModule + ? function () { + return i.default; + } + : function () { + return i; + }; + return r.d(a, "a", a), a; + }), + (r.o = function (i, a) { + return Object.prototype.hasOwnProperty.call(i, a); + }), + (r.p = ""), + r((r.s = 7)) + ); + })([ + function (n, o, r) { + var i, + a = + (this && this.__extends) || + ((i = function (d, h) { + return (i = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (f, m) { + f.__proto__ = m; + }) || + function (f, m) { + for (var b in m) + Object.prototype.hasOwnProperty.call(m, b) && (f[b] = m[b]); + })(d, h); + }), + function (d, h) { + function f() { + this.constructor = d; + } + i(d, h), + (d.prototype = + h === null + ? Object.create(h) + : ((f.prototype = h.prototype), new f())); + }), + l = + (this && this.__importDefault) || + function (d) { + return d && d.__esModule ? d : { default: d }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.eventEmitter = + o.INTERNAL_ERROR_EVENT = + o.UNKNOWN_IDX = + o.ROOT_IDX = + o.getStylesheet = + o.getDefaultOptions = + o.CAMEL_DATASET_SPLIT_TYPE = + o.CAMEL_DATASET_IDENTIFIER_EXTRA = + o.CAMEL_DATASET_IDENTIFIER = + o.DATASET_SPLIT_TYPE = + o.DATASET_IDENTIFIER_EXTRA = + o.DATASET_IDENTIFIER = + o.STYLESHEET_ID = + o.LOCAL_STORE_KEY = + o.ID_DIVISION = + void 0); + var s = l(r(10)), + u = l(r(2)); + (o.ID_DIVISION = ";"), + (o.LOCAL_STORE_KEY = "highlight-mengshou"), + (o.STYLESHEET_ID = "highlight-mengshou-style"), + (o.DATASET_IDENTIFIER = "highlight-id"), + (o.DATASET_IDENTIFIER_EXTRA = "highlight-id-extra"), + (o.DATASET_SPLIT_TYPE = "highlight-split-type"), + (o.CAMEL_DATASET_IDENTIFIER = s.default(o.DATASET_IDENTIFIER)), + (o.CAMEL_DATASET_IDENTIFIER_EXTRA = s.default( + o.DATASET_IDENTIFIER_EXTRA, + )), + (o.CAMEL_DATASET_SPLIT_TYPE = s.default(o.DATASET_SPLIT_TYPE)), + (o.getDefaultOptions = function () { + return { + $root: document || document.documentElement, + exceptSelectors: null, + wrapTag: "span", + verbose: !1, + style: { className: "highlight-mengshou-wrap" }, + }; + }), + (o.getStylesheet = function () { + return ( + ` + .` + + o.getDefaultOptions().style.className + + ` { + background: #ff9; + cursor: pointer; } - function y() { - return m || (m = d()), m.getInitialState(); + .` + + o.getDefaultOptions().style.className + + `.active { + background: #ffb; } - function g(C, E = !1) { - function w(_) { - let A = _[C]; - if (typeof A > "u") { - if (E) - A = y(); - else if (process.env.NODE_ENV !== "production") - throw new Error(process.env.NODE_ENV === "production" ? tt(15) : "selectSlice returned undefined for an uninjected slice reducer"); - } - return A; - } - function S(_ = h) { - const A = C2(f, E, { - insert: () => /* @__PURE__ */ new WeakMap() - }); - return C2(A, _, { - insert: () => { - const R = {}; - for (const [L, j] of Object.entries(r.selectors ?? {})) - R[L] = R6(j, _, y, E); - return R; +` + ); + }), + (o.ROOT_IDX = -2), + (o.UNKNOWN_IDX = -1), + (o.INTERNAL_ERROR_EVENT = "error"); + var c = (function (d) { + function h() { + return (d !== null && d.apply(this, arguments)) || this; } - }); - } - return { - reducerPath: C, - getSelectors: S, - get selectors() { - return S(w); - }, - selectSlice: w - }; - } - const x = { - name: i, - reducer: b, - actions: u.actionCreators, - caseReducers: u.sliceCaseReducersByName, - getInitialState: y, - ...g(a), - injectInto(C, { - reducerPath: E, - ...w - } = {}) { - const S = E ?? a; - return C.inject({ - reducerPath: S, - reducer: b - }, w), { - ...x, - ...g(S, !0) + return a(h, d), h; + })(u.default); + o.eventEmitter = new c(); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.UserInputEvent = + o.SelectedNodeType = + o.CreateFrom = + o.EventType = + o.ERROR = + o.SplitType = + void 0), + (function (i) { + (i.none = "none"), + (i.head = "head"), + (i.tail = "tail"), + (i.both = "both"); + })(o.SplitType || (o.SplitType = {})), + (function (i) { + (i.DOM_TYPE_ERROR = "[DOM] Receive wrong node type."), + (i.DOM_SELECTION_EMPTY = + "[DOM] The selection contains no dom node, may be you except them."), + (i.RANGE_INVALID = + "[RANGE] Got invalid dom range, can't convert to a valid highlight range."), + (i.RANGE_NODE_INVALID = + "[RANGE] Start or end node isn't a text node, it may occur an error."), + (i.DB_ID_DUPLICATE_ERROR = "[STORE] Unique id conflict."), + (i.CACHE_SET_ERROR = + "[CACHE] Cache.data can't be set manually, please use .save()."), + (i.SOURCE_TYPE_ERROR = + "[SOURCE] Object isn't a highlight source instance."), + (i.HIGHLIGHT_RANGE_FROZEN = + "[HIGHLIGHT_RANGE] A highlight range must be frozen before render."), + (i.HIGHLIGHT_SOURCE_RECREATE = + "[HIGHLIGHT_SOURCE] Recreate highlights from sources error."), + (i.HIGHLIGHT_SOURCE_NONE_RENDER = + "[HIGHLIGHT_SOURCE] This highlight source isn't rendered. May be the exception skips it or the dom structure has changed."); + })(o.ERROR || (o.ERROR = {})), + (function (i) { + (i.CREATE = "selection:create"), + (i.REMOVE = "selection:remove"), + (i.MODIFY = "selection:modify"), + (i.HOVER = "selection:hover"), + (i.HOVER_OUT = "selection:hover-out"), + (i.CLICK = "selection:click"); + })(o.EventType || (o.EventType = {})), + (function (i) { + (i.STORE = "from-store"), (i.INPUT = "from-input"); + })(o.CreateFrom || (o.CreateFrom = {})), + (function (i) { + (i.text = "text"), (i.span = "span"); + })(o.SelectedNodeType || (o.SelectedNodeType = {})), + (function (i) { + (i.touchend = "touchend"), + (i.mouseup = "mouseup"), + (i.touchstart = "touchstart"), + (i.click = "click"), + (i.mouseover = "mouseover"); + })(o.UserInputEvent || (o.UserInputEvent = {})); + }, + function (n, o, r) { + var i = + (this && this.__read) || + function (s, u) { + var c = typeof Symbol == "function" && s[Symbol.iterator]; + if (!c) return s; + var d, + h, + f = c.call(s), + m = []; + try { + for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) + m.push(d.value); + } catch (b) { + h = { error: b }; + } finally { + try { + d && !d.done && (c = f.return) && c.call(f); + } finally { + if (h) throw h.error; + } + } + return m; + }, + a = + (this && this.__spread) || + function () { + for (var s = [], u = 0; u < arguments.length; u++) + s = s.concat(i(arguments[u])); + return s; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var l = (function () { + function s() { + this.handlersMap = /* @__PURE__ */ Object.create(null); + } + return ( + (s.prototype.on = function (u, c) { + return ( + this.handlersMap[u] || (this.handlersMap[u] = []), + this.handlersMap[u].push(c), + this + ); + }), + (s.prototype.off = function (u, c) { + return ( + this.handlersMap[u] && + this.handlersMap[u].splice( + this.handlersMap[u].indexOf(c) >>> 0, + 1, + ), + this + ); + }), + (s.prototype.emit = function (u) { + for (var c = [], d = 1; d < arguments.length; d++) + c[d - 1] = arguments[d]; + return ( + this.handlersMap[u] && + this.handlersMap[u].slice().forEach(function (h) { + h.apply(void 0, a(c)); + }), + this + ); + }), + s + ); + })(); + o.default = l; + }, + function (n, o, r) { + var i = + (this && this.__importDefault) || + function (u) { + return u && u.__esModule ? u : { default: u }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var a = i(r(5)), + l = r(9), + s = (function () { + function u(c, d, h, f, m) { + (this.startMeta = c), + (this.endMeta = d), + (this.text = h), + (this.id = f), + (this.__isHighlightSource = {}), + m && (this.extra = m); + } + return ( + (u.prototype.deSerialize = function (c, d) { + var h = l.queryElementNode(this, c), + f = h.start, + m = h.end, + b = l.getTextChildByOffset(f, this.startMeta.textOffset), + y = l.getTextChildByOffset(m, this.endMeta.textOffset); + if (!d.Serialize.Restore.isEmpty()) { + var g = d.Serialize.Restore.call(this, b, y) || []; + (b = g[0] || b), (y = g[1] || y); + } + return new a.default(b, y, this.text, this.id, !0); + }), + u + ); + })(); + o.default = s; + }, + function (n, o, r) { + var i = + (this && this.__values) || + function (c) { + var d = typeof Symbol == "function" && Symbol.iterator, + h = d && c[d], + f = 0; + if (h) return h.call(c); + if (c && typeof c.length == "number") + return { + next: function () { + return ( + c && f >= c.length && (c = void 0), + { value: c && c[f++], done: !c } + ); + }, + }; + throw new TypeError( + d + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + a = + (this && this.__read) || + function (c, d) { + var h = typeof Symbol == "function" && c[Symbol.iterator]; + if (!h) return c; + var f, + m, + b = h.call(c), + y = []; + try { + for (; (d === void 0 || d-- > 0) && !(f = b.next()).done; ) + y.push(f.value); + } catch (g) { + m = { error: g }; + } finally { + try { + f && !f.done && (h = b.return) && h.call(b); + } finally { + if (m) throw m.error; + } + } + return y; + }, + l = + (this && this.__spread) || + function () { + for (var c = [], d = 0; d < arguments.length; d++) + c = c.concat(a(arguments[d])); + return c; + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.hasClass = + o.removeAllClass = + o.removeClass = + o.addClass = + o.addEventListener = + o.removeEventListener = + o.forEach = + o.getHighlightById = + o.getHighlightsByRoot = + o.getExtraHighlightId = + o.getHighlightId = + o.isHighlightWrapNode = + void 0); + var s = r(0); + o.isHighlightWrapNode = function (c) { + return !!c.dataset && !!c.dataset[s.CAMEL_DATASET_IDENTIFIER]; }; - } - }; - return x; - }; -} -function R6(e, t, n, o) { - function r(i, ...a) { - let l = t(i); - if (typeof l > "u") { - if (o) - l = n(); - else if (process.env.NODE_ENV !== "production") - throw new Error(process.env.NODE_ENV === "production" ? tt(16) : "selectState returned undefined for an uninjected slice reducer"); - } - return e(l, ...a); - } - return r.unwrapped = e, r; -} -var oc = /* @__PURE__ */ F6(); -function j6() { - function e(t, n) { - return { - _reducerDefinitionType: "asyncThunk", - payloadCreator: t, - ...n - }; - } - return e.withTypes = () => e, { - reducer(t) { - return Object.assign({ - // hack so the wrapping function has the same name as the original - // we need to create a wrapper so the `reducerDefinitionType` is not assigned to the original - [t.name](...n) { - return t(...n); - } - }[t.name], { - _reducerDefinitionType: "reducer" - /* reducer */ - }); - }, - preparedReducer(t, n) { - return { - _reducerDefinitionType: "reducerWithPrepare", - prepare: t, - reducer: n - }; - }, - asyncThunk: e - }; -} -function I6({ - type: e, - reducerName: t, - createNotation: n -}, o, r) { - let i, a; - if ("reducer" in o) { - if (n && !H6(o)) - throw new Error(process.env.NODE_ENV === "production" ? tt(17) : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation."); - i = o.reducer, a = o.prepare; - } else - i = o; - r.addCase(e, i).exposeCaseReducer(t, i).exposeAction(t, a ? b2(e, a) : b2(e)); -} -function z6(e) { - return e._reducerDefinitionType === "asyncThunk"; -} -function H6(e) { - return e._reducerDefinitionType === "reducerWithPrepare"; -} -function P6({ - type: e, - reducerName: t -}, n, o, r) { - if (!r) - throw new Error(process.env.NODE_ENV === "production" ? tt(18) : "Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`."); - const { - payloadCreator: i, - fulfilled: a, - pending: l, - rejected: s, - settled: u, - options: c - } = n, d = r(e, i, c); - o.exposeAction(t, d), a && o.addCase(d.fulfilled, a), l && o.addCase(d.pending, l), s && o.addCase(d.rejected, s), u && o.addMatcher(d.settled, u), o.exposeCaseReducer(t, { - fulfilled: a || Pr, - pending: l || Pr, - rejected: s || Pr, - settled: u || Pr + var u = function (c, d) { + for (var h = !1, f = null; c; ) { + if ((o.isHighlightWrapNode(c) && (f = c), c === d)) { + h = !0; + break; + } + c = c.parentNode; + } + return h ? f : null; + }; + (o.getHighlightId = function (c, d) { + return (c = u(c, d)) ? c.dataset[s.CAMEL_DATASET_IDENTIFIER] : ""; + }), + (o.getExtraHighlightId = function (c, d) { + return (c = u(c, d)) + ? c.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA] + .split(s.ID_DIVISION) + .filter(function (h) { + return h; + }) + : []; + }), + (o.getHighlightsByRoot = function (c, d) { + var h, f; + Array.isArray(c) || (c = [c]); + var m = []; + try { + for (var b = i(c), y = b.next(); !y.done; y = b.next()) { + var g = y.value.querySelectorAll( + d + "[data-" + s.DATASET_IDENTIFIER + "]", + ); + m.push.apply(m, g); + } + } catch (x) { + h = { error: x }; + } finally { + try { + y && !y.done && (f = b.return) && f.call(b); + } finally { + if (h) throw h.error; + } + } + return m; + }), + (o.getHighlightById = function (c, d, h) { + var f, + m, + b = [], + y = new RegExp( + "(" + + d + + "\\" + + s.ID_DIVISION + + "|\\" + + s.ID_DIVISION + + "?" + + d + + "$)", + ), + g = c.querySelectorAll(h + "[data-" + s.DATASET_IDENTIFIER + "]"); + try { + for (var x = i(g), C = x.next(); !C.done; C = x.next()) { + var E = C.value; + if (E.dataset[s.CAMEL_DATASET_IDENTIFIER] !== d) { + var w = E.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; + y.test(w) && b.push(E); + } else b.push(E); + } + } catch (S) { + f = { error: S }; + } finally { + try { + C && !C.done && (m = x.return) && m.call(x); + } finally { + if (f) throw f.error; + } + } + return b; + }), + (o.forEach = function (c, d) { + for (var h = 0; h < c.length; h++) d(c[h], h, c); + }), + (o.removeEventListener = function (c, d, h) { + c.removeEventListener(d, h); + }), + (o.addEventListener = function (c, d, h) { + return ( + c.addEventListener(d, h), + function () { + o.removeEventListener(c, d, h); + } + ); + }), + (o.addClass = function (c, d) { + var h; + Array.isArray(d) || (d = [d]), (h = c.classList).add.apply(h, l(d)); + }), + (o.removeClass = function (c, d) { + c.classList.remove(d); + }), + (o.removeAllClass = function (c) { + c.className = ""; + }), + (o.hasClass = function (c, d) { + return c.classList.contains(d); + }); + }, + function (n, o, r) { + var i = + (this && this.__importDefault) || + function (f) { + return f && f.__esModule ? f : { default: f }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var a = i(r(3)), + l = r(1), + s = r(11), + u = i(r(6)), + c = r(12), + d = r(0), + h = (function () { + function f(m, b, y, g, x) { + x === void 0 && (x = !1), + (m.$node.nodeType === 3 && b.$node.nodeType === 3) || + d.eventEmitter.emit(d.INTERNAL_ERROR_EVENT, { + type: l.ERROR.RANGE_NODE_INVALID, + }), + (this.start = c.formatDomNode(m)), + (this.end = c.formatDomNode(b)), + (this.text = y), + (this.frozen = x), + (this.id = g); + } + return ( + (f.fromSelection = function (m) { + var b = s.getDomRange(); + if (!b) return null; + var y = { $node: b.startContainer, offset: b.startOffset }, + g = { $node: b.endContainer, offset: b.endOffset }, + x = b.toString(), + C = m.call(y, g, x); + return new f(y, g, x, (C = C ?? u.default())); + }), + (f.prototype.serialize = function (m, b) { + var y, + g = c.getDomMeta(this.start.$node, this.start.offset, m), + x = c.getDomMeta(this.end.$node, this.end.offset, m); + return ( + b.Serialize.RecordInfo.isEmpty() || + (y = b.Serialize.RecordInfo.call(this.start, this.end, m)), + (this.frozen = !0), + new a.default(g, x, this.text, this.id, y) + ); + }), + (f.removeDomRange = s.removeSelection), + f + ); + })(); + o.default = h; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.default = function i(a) { + return a + ? (a ^ ((16 * Math.random()) >> (a / 4))).toString(16) + : ("10000000-1000-4000-8000" + -1e11).replace(/[018]/g, i); + }); + }, + function (n, o, r) { + n.exports = r(8); + }, + function (n, o, r) { + var i, + a = + (this && this.__extends) || + ((i = function (w, S) { + return (i = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (_, A) { + _.__proto__ = A; + }) || + function (_, A) { + for (var R in A) + Object.prototype.hasOwnProperty.call(A, R) && (_[R] = A[R]); + })(w, S); + }), + function (w, S) { + function _() { + this.constructor = w; + } + i(w, S), + (w.prototype = + S === null + ? Object.create(S) + : ((_.prototype = S.prototype), new _())); + }), + l = + (this && this.__assign) || + function () { + return (l = + Object.assign || + function (w) { + for (var S, _ = 1, A = arguments.length; _ < A; _++) + for (var R in (S = arguments[_])) + Object.prototype.hasOwnProperty.call(S, R) && + (w[R] = S[R]); + return w; + }).apply(this, arguments); + }, + s = + (this && this.__importDefault) || + function (w) { + return w && w.__esModule ? w : { default: w }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(2)), + c = s(r(5)), + d = s(r(3)), + h = s(r(6)), + f = s(r(13)), + m = s(r(14)), + b = s(r(16)), + y = s(r(17)), + g = r(0), + x = r(1), + C = r(4), + E = (function (w) { + function S(_) { + var A = w.call(this) || this; + (A.event = m.default()), + (A.run = function () { + return C.addEventListener( + A.options.$root, + A.event.PointerEnd, + A._handleSelection, + ); + }), + (A.stop = function () { + C.removeEventListener( + A.options.$root, + A.event.PointerEnd, + A._handleSelection, + ); + }), + (A.addClass = function (L, j) { + A.getDoms(j).forEach(function (P) { + C.addClass(P, L); + }); + }), + (A.removeClass = function (L, j) { + A.getDoms(j).forEach(function (P) { + C.removeClass(P, L); + }); + }), + (A.getIdByDom = function (L) { + return C.getHighlightId(L, A.options.$root); + }), + (A.getExtraIdByDom = function (L) { + return C.getExtraHighlightId(L, A.options.$root); + }), + (A.getDoms = function (L) { + return L + ? C.getHighlightById(A.options.$root, L, A.options.wrapTag) + : C.getHighlightsByRoot(A.options.$root, A.options.wrapTag); + }), + (A.dispose = function () { + var L = A.options.$root; + C.removeEventListener( + L, + A.event.PointerOver, + A._handleHighlightHover, + ), + C.removeEventListener( + L, + A.event.PointerEnd, + A._handleSelection, + ), + C.removeEventListener( + L, + A.event.PointerTap, + A._handleHighlightClick, + ), + A.removeAll(); + }), + (A.setOption = function (L) { + (A.options = l(l({}, A.options), L)), + (A.painter = new y.default( + { + $root: A.options.$root, + wrapTag: A.options.wrapTag, + className: A.options.style.className, + exceptSelectors: A.options.exceptSelectors, + }, + A.hooks, + )); + }), + (A.fromRange = function (L) { + var j = { $node: L.startContainer, offset: L.startOffset }, + P = { $node: L.endContainer, offset: L.endOffset }, + V = L.toString(), + k = A.hooks.Render.UUID.call(j, P, V); + k = k ?? h.default(); + var N = new c.default(j, P, V, k); + return N + ? A._highlightFromHRange(N) + : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { + type: x.ERROR.RANGE_INVALID, + }), + null); + }), + (A.fromStore = function (L, j, P, V, k) { + var N = new d.default(L, j, P, V, k); + try { + return A._highlightFromHSource(N), N; + } catch (T) { + return ( + g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { + type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, + error: T, + detail: N, + }), + null + ); + } + }), + (A._getHooks = function () { + return { + Render: { + UUID: new f.default("Render.UUID"), + SelectedNodes: new f.default("Render.SelectedNodes"), + WrapNode: new f.default("Render.WrapNode"), + }, + Serialize: { + Restore: new f.default("Serialize.Restore"), + RecordInfo: new f.default("Serialize.RecordInfo"), + }, + Remove: { + UpdateNodes: new f.default("Remove.UpdateNodes"), + }, + }; + }), + (A._highlightFromHRange = function (L) { + var j = L.serialize(A.options.$root, A.hooks); + return A.painter.highlightRange(L).length === 0 + ? (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { + type: x.ERROR.DOM_SELECTION_EMPTY, + }), + null) + : (A.cache.save(j), + A.emit( + x.EventType.CREATE, + { sources: [j], type: x.CreateFrom.INPUT }, + A, + ), + j); + }), + (A._handleSelection = function () { + var L = c.default.fromSelection(A.hooks.Render.UUID); + L && (A._highlightFromHRange(L), c.default.removeDomRange()); + }), + (A._handleHighlightHover = function (L) { + var j = L.target; + if (!C.isHighlightWrapNode(j)) + return ( + A._hoverId && + A.emit(x.EventType.HOVER_OUT, { id: A._hoverId }, A, L), + void (A._hoverId = null) + ); + var P = C.getHighlightId(j, A.options.$root); + A._hoverId !== P && + (A._hoverId && + A.emit(x.EventType.HOVER_OUT, { id: A._hoverId }, A, L), + (A._hoverId = P), + A.emit(x.EventType.HOVER, { id: A._hoverId }, A, L)); + }), + (A._handleError = function (L) { + A.options.verbose && console.warn(L); + }), + (A._handleHighlightClick = function (L) { + var j = L.target; + if (C.isHighlightWrapNode(j)) { + var P = C.getHighlightId(j, A.options.$root); + A.emit(x.EventType.CLICK, { id: P }, A, L); + } + }), + (A.options = g.getDefaultOptions()), + (A.hooks = A._getHooks()), + A.setOption(_), + (A.cache = new b.default()); + var R = A.options.$root; + return ( + C.addEventListener( + R, + A.event.PointerOver, + A._handleHighlightHover, + ), + C.addEventListener( + R, + A.event.PointerTap, + A._handleHighlightClick, + ), + g.eventEmitter.on(g.INTERNAL_ERROR_EVENT, A._handleError), + A + ); + } + return ( + a(S, w), + (S.prototype.remove = function (_) { + if (_) { + var A = this.painter.removeHighlight(_); + this.cache.remove(_), + A && this.emit(x.EventType.REMOVE, { ids: [_] }, this); + } + }), + (S.prototype.removeAll = function () { + this.painter.removeAllHighlight(); + var _ = this.cache.removeAll(); + this.emit(x.EventType.REMOVE, { ids: _ }, this); + }), + (S.prototype._highlightFromHSource = function (_) { + _ === void 0 && (_ = []); + var A = this.painter.highlightSource(_); + this.emit( + x.EventType.CREATE, + { sources: A, type: x.CreateFrom.STORE }, + this, + ), + this.cache.save(_); + }), + (S.event = x.EventType), + (S.isHighlightWrapNode = C.isHighlightWrapNode), + (S.isHighlightSource = function (_) { + return !!_.__isHighlightSource; + }), + S + ); + })(u.default); + o.default = E; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.queryElementNode = o.getTextChildByOffset = void 0); + var i = r(0); + (o.getTextChildByOffset = function (a, l) { + for (var s = [a], u = null, c = 0, d = 0; (u = s.pop()); ) { + for (var h = u.childNodes, f = h.length - 1; f >= 0; f--) + s.push(h[f]); + if ( + u.nodeType === 3 && + ((d = l - c), (c += u.textContent.length) >= l) + ) + break; + } + return u || (u = a), { $node: u, offset: d }; + }), + (o.queryElementNode = function (a, l) { + return { + start: + a.startMeta.parentIndex === i.ROOT_IDX + ? l + : l.getElementsByTagName(a.startMeta.parentTagName)[ + a.startMeta.parentIndex + ], + end: + a.endMeta.parentIndex === i.ROOT_IDX + ? l + : l.getElementsByTagName(a.endMeta.parentTagName)[ + a.endMeta.parentIndex + ], + }; + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.default = function (i) { + return i.split("-").reduce(function (a, l, s) { + return a + (s === 0 ? l : l[0].toUpperCase() + l.slice(1)); + }, ""); + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.removeSelection = o.getDomRange = void 0), + (o.getDomRange = function () { + var i = window.getSelection(); + return i.isCollapsed + ? (console.debug("no text selected"), null) + : i.getRangeAt(0); + }), + (o.removeSelection = function () { + window.getSelection().removeAllRanges(); + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.formatDomNode = o.getDomMeta = void 0); + var i = r(0); + (o.getDomMeta = function (a, l, s) { + var u = (function (h) { + if ( + h instanceof HTMLElement && + (!h.dataset || !h.dataset[i.CAMEL_DATASET_IDENTIFIER]) + ) + return h; + for ( + var f = h.parentNode; + f != null && f.dataset[i.CAMEL_DATASET_IDENTIFIER]; + + ) + f = f.parentNode; + return f; + })(a), + c = + u === s + ? i.ROOT_IDX + : (function (h, f) { + for ( + var m = h.tagName, b = f.getElementsByTagName(m), y = 0; + y < b.length; + y++ + ) + if (h === b[y]) return y; + return i.UNKNOWN_IDX; + })(u, s), + d = (function (h, f) { + for (var m = [h], b = null, y = 0; (b = m.pop()); ) { + for (var g = b.childNodes, x = g.length - 1; x >= 0; x--) + m.push(g[x]); + if (b.nodeType === 3 && b !== f) y += b.textContent.length; + else if (b.nodeType === 3) break; + } + return y; + })(u, a); + return { + parentTagName: u.tagName, + parentIndex: c, + textOffset: d + l, + }; + }), + (o.formatDomNode = function (a) { + return a.$node.nodeType === 3 || + a.$node.nodeType === 4 || + a.$node.nodeType === 8 + ? a + : { $node: a.$node.childNodes[a.offset], offset: 0 }; + }); + }, + function (n, o, r) { + var i = + (this && this.__read) || + function (s, u) { + var c = typeof Symbol == "function" && s[Symbol.iterator]; + if (!c) return s; + var d, + h, + f = c.call(s), + m = []; + try { + for (; (u === void 0 || u-- > 0) && !(d = f.next()).done; ) + m.push(d.value); + } catch (b) { + h = { error: b }; + } finally { + try { + d && !d.done && (c = f.return) && c.call(f); + } finally { + if (h) throw h.error; + } + } + return m; + }, + a = + (this && this.__spread) || + function () { + for (var s = [], u = 0; u < arguments.length; u++) + s = s.concat(i(arguments[u])); + return s; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var l = (function () { + function s(u) { + (this.name = ""), (this.ops = []), (this.name = u); + } + return ( + (s.prototype.tap = function (u) { + var c = this; + return ( + this.ops.indexOf(u) === -1 && this.ops.push(u), + function () { + c.remove(u); + } + ); + }), + (s.prototype.remove = function (u) { + var c = this.ops.indexOf(u); + c < 0 || this.ops.splice(c, 1); + }), + (s.prototype.isEmpty = function () { + return this.ops.length === 0; + }), + (s.prototype.call = function () { + for (var u, c = [], d = 0; d < arguments.length; d++) + c[d] = arguments[d]; + return ( + this.ops.forEach(function (h) { + u = h.apply(void 0, a(c)); + }), + u + ); + }), + s + ); + })(); + o.default = l; + }, + function (n, o, r) { + var i = + (this && this.__importDefault) || + function (s) { + return s && s.__esModule ? s : { default: s }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var a = r(1), + l = i(r(15)); + o.default = function () { + var s = l.default(window.navigator.userAgent); + return { + PointerEnd: s + ? a.UserInputEvent.touchend + : a.UserInputEvent.mouseup, + PointerTap: s + ? a.UserInputEvent.touchstart + : a.UserInputEvent.click, + PointerOver: s + ? a.UserInputEvent.touchstart + : a.UserInputEvent.mouseover, + }; + }; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }); + var i = + /Android|iPhone|BlackBerry|BB10|Opera Mini|Phone|Mobile|Silk|Windows Phone|Mobile(?:.+)Firefox\b/i; + o.default = function (a) { + return i.test(a); + }; + }, + function (n, o, r) { + var i, + a = + (this && this.__extends) || + ((i = function (h, f) { + return (i = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (m, b) { + m.__proto__ = b; + }) || + function (m, b) { + for (var y in b) + Object.prototype.hasOwnProperty.call(b, y) && (m[y] = b[y]); + })(h, f); + }), + function (h, f) { + function m() { + this.constructor = h; + } + i(h, f), + (h.prototype = + f === null + ? Object.create(f) + : ((m.prototype = f.prototype), new m())); + }), + l = + (this && this.__values) || + function (h) { + var f = typeof Symbol == "function" && Symbol.iterator, + m = f && h[f], + b = 0; + if (m) return m.call(h); + if (h && typeof h.length == "number") + return { + next: function () { + return ( + h && b >= h.length && (h = void 0), + { value: h && h[b++], done: !h } + ); + }, + }; + throw new TypeError( + f + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + s = + (this && this.__importDefault) || + function (h) { + return h && h.__esModule ? h : { default: h }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(2)), + c = r(1), + d = (function (h) { + function f() { + var m = (h !== null && h.apply(this, arguments)) || this; + return (m._data = /* @__PURE__ */ new Map()), m; + } + return ( + a(f, h), + Object.defineProperty(f.prototype, "data", { + get: function () { + return this.getAll(); + }, + set: function (m) { + throw c.ERROR.CACHE_SET_ERROR; + }, + enumerable: !1, + configurable: !0, + }), + (f.prototype.save = function (m) { + var b = this; + Array.isArray(m) + ? m.forEach(function (y) { + return b._data.set(y.id, y); + }) + : this._data.set(m.id, m); + }), + (f.prototype.get = function (m) { + return this._data.get(m); + }), + (f.prototype.remove = function (m) { + this._data.delete(m); + }), + (f.prototype.getAll = function () { + var m, + b, + y = []; + try { + for ( + var g = l(this._data), x = g.next(); + !x.done; + x = g.next() + ) { + var C = x.value; + y.push(C[1]); + } + } catch (E) { + m = { error: E }; + } finally { + try { + x && !x.done && (b = g.return) && b.call(g); + } finally { + if (m) throw m.error; + } + } + return y; + }), + (f.prototype.removeAll = function () { + var m, + b, + y = []; + try { + for ( + var g = l(this._data), x = g.next(); + !x.done; + x = g.next() + ) { + var C = x.value; + y.push(C[0]); + } + } catch (E) { + m = { error: E }; + } finally { + try { + x && !x.done && (b = g.return) && b.call(g); + } finally { + if (m) throw m.error; + } + } + return (this._data = /* @__PURE__ */ new Map()), y; + }), + f + ); + })(u.default); + o.default = d; + }, + function (n, o, r) { + var i = + (this && this.__values) || + function (y) { + var g = typeof Symbol == "function" && Symbol.iterator, + x = g && y[g], + C = 0; + if (x) return x.call(y); + if (y && typeof y.length == "number") + return { + next: function () { + return ( + y && C >= y.length && (y = void 0), + { value: y && y[C++], done: !y } + ); + }, + }; + throw new TypeError( + g + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + a = + (this && this.__read) || + function (y, g) { + var x = typeof Symbol == "function" && y[Symbol.iterator]; + if (!x) return y; + var C, + E, + w = x.call(y), + S = []; + try { + for (; (g === void 0 || g-- > 0) && !(C = w.next()).done; ) + S.push(C.value); + } catch (_) { + E = { error: _ }; + } finally { + try { + C && !C.done && (x = w.return) && x.call(w); + } finally { + if (E) throw E.error; + } + } + return S; + }, + l = + (this && this.__spread) || + function () { + for (var y = [], g = 0; g < arguments.length; g++) + y = y.concat(a(arguments[g])); + return y; + }, + s = + (this && this.__importDefault) || + function (y) { + return y && y.__esModule ? y : { default: y }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(3)), + c = r(18), + d = r(4), + h = r(1), + f = r(20), + m = r(0), + b = (function () { + function y(g, x) { + (this.options = { + $root: g.$root, + wrapTag: g.wrapTag, + exceptSelectors: g.exceptSelectors, + className: g.className, + }), + (this.hooks = x), + f.initDefaultStylesheet(); + } + return ( + (y.prototype.highlightRange = function (g) { + var x = this; + if (!g.frozen) throw h.ERROR.HIGHLIGHT_RANGE_FROZEN; + var C = this.options, + E = C.$root, + w = C.className, + S = C.exceptSelectors, + _ = this.hooks, + A = c.getSelectedNodes(E, g.start, g.end, S); + return ( + _.Render.SelectedNodes.isEmpty() || + (A = _.Render.SelectedNodes.call(g.id, A) || []), + A.map(function (R) { + var L = c.wrapHighlight(R, g, w, x.options.wrapTag); + return ( + _.Render.WrapNode.isEmpty() || + (L = _.Render.WrapNode.call(g.id, L)), + L + ); + }) + ); + }), + (y.prototype.highlightSource = function (g) { + var x = this, + C = Array.isArray(g) ? g : [g], + E = []; + return ( + C.forEach(function (w) { + if (w instanceof u.default) { + var S = w.deSerialize(x.options.$root, x.hooks); + x.highlightRange(S).length > 0 + ? E.push(w) + : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { + type: h.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, + detail: w, + }); + } else + m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { + type: h.ERROR.SOURCE_TYPE_ERROR, + }); + }), + E + ); + }), + (y.prototype.removeHighlight = function (g) { + var x, + C, + E = new RegExp( + "(" + + g + + "\\" + + m.ID_DIVISION + + "|\\" + + m.ID_DIVISION + + "?" + + g + + "$)", + ), + w = this.hooks, + S = this.options.wrapTag, + _ = document.querySelectorAll( + S + "[data-" + m.DATASET_IDENTIFIER + "]", + ), + A = [], + R = [], + L = []; + try { + for (var j = i(_), P = j.next(); !P.done; P = j.next()) { + var V = P.value, + k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], + N = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + k !== g || N + ? k === g + ? R.push(V) + : k !== g && E.test(N) && L.push(V) + : A.push(V); + } + } catch (T) { + x = { error: T }; + } finally { + try { + P && !P.done && (C = j.return) && C.call(j); + } finally { + if (x) throw x.error; + } + } + return ( + A.forEach(function (T) { + var F = T.parentNode, + I = document.createDocumentFragment(); + d.forEach(T.childNodes, function (z) { + return I.appendChild(z.cloneNode(!1)); + }); + var D = T.previousSibling, + v = T.nextSibling; + F.replaceChild(I, T), + c.normalizeSiblingText(D, !0), + c.normalizeSiblingText(v, !1), + w.Remove.UpdateNodes.call(g, T, "remove"); + }), + R.forEach(function (T) { + var F = T.dataset, + I = F[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split( + m.ID_DIVISION, + ), + D = I.shift(), + v = document.querySelector( + S + "[data-" + m.DATASET_IDENTIFIER + '="' + D + '"]', + ); + v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), + (F[m.CAMEL_DATASET_IDENTIFIER] = D), + (F[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join( + m.ID_DIVISION, + )), + w.Remove.UpdateNodes.call(g, T, "id-update"); + }), + L.forEach(function (T) { + var F = T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + (T.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = F.replace( + E, + "", + )), + w.Remove.UpdateNodes.call(g, T, "extra-update"); + }), + A.length + R.length + L.length !== 0 + ); + }), + (y.prototype.removeAllHighlight = function () { + var g = this.options, + x = g.wrapTag, + C = g.$root; + d.getHighlightsByRoot(C, x).forEach(function (E) { + var w = E.parentNode, + S = document.createDocumentFragment(); + d.forEach(E.childNodes, function (_) { + return S.appendChild(_.cloneNode(!1)); + }), + w.replaceChild(S, E); + }); + }), + y + ); + })(); + o.default = b; + }, + function (n, o, r) { + var i = + (this && this.__read) || + function (m, b) { + var y = typeof Symbol == "function" && m[Symbol.iterator]; + if (!y) return m; + var g, + x, + C = y.call(m), + E = []; + try { + for (; (b === void 0 || b-- > 0) && !(g = C.next()).done; ) + E.push(g.value); + } catch (w) { + x = { error: w }; + } finally { + try { + g && !g.done && (y = C.return) && y.call(C); + } finally { + if (x) throw x.error; + } + } + return E; + }, + a = + (this && this.__spread) || + function () { + for (var m = [], b = 0; b < arguments.length; b++) + m = m.concat(i(arguments[b])); + return m; + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.normalizeSiblingText = + o.wrapHighlight = + o.getSelectedNodes = + void 0); + var l = r(1), + s = r(4), + u = r(0), + c = r(19), + d = function (m, b) { + if (!m) return !1; + if (/^\./.test(b)) { + var y = b.replace(/^\./, ""); + return m && s.hasClass(m, y); + } + if (/^#/.test(b)) { + var g = b.replace(/^#/, ""); + return m && m.id === g; + } + var x = b.toUpperCase(); + return m && m.tagName === x; + }; + o.getSelectedNodes = function (m, b, y, g) { + var x = b.$node, + C = y.$node, + E = b.offset, + w = y.offset; + if (x === C && x instanceof Text) + return (function (k, N, T, F) { + for ( + var I = k, + D = function (z) { + return F == null + ? void 0 + : F.some(function (B) { + return d(z, B); + }); + }; + I; + + ) { + if (I.nodeType === 1 && D(I)) return []; + I = I.parentNode; + } + k.splitText(N); + var v = k.nextSibling; + return ( + v.splitText(T - N), + [ + { + $node: v, + type: l.SelectedNodeType.text, + splitType: l.SplitType.both, + }, + ] + ); + })(x, E, w, g); + for ( + var S = [m], + _ = [], + A = function (k) { + return g == null + ? void 0 + : g.some(function (N) { + return d(k, N); + }); + }, + R = !1, + L = null; + (L = S.pop()); + + ) + if (L.nodeType !== 1 || !A(L)) { + for (var j = L.childNodes, P = j.length - 1; P >= 0; P--) + S.push(j[P]); + if (L === x) { + if (L.nodeType === 3) { + L.splitText(E); + var V = L.nextSibling; + _.push({ + $node: V, + type: l.SelectedNodeType.text, + splitType: l.SplitType.head, + }); + } + R = !0; + } else { + if (L === C) { + L.nodeType === 3 && + ((V = L).splitText(w), + _.push({ + $node: V, + type: l.SelectedNodeType.text, + splitType: l.SplitType.tail, + })); + break; + } + R && + L.nodeType === 3 && + _.push({ + $node: L, + type: l.SelectedNodeType.text, + splitType: l.SplitType.none, + }); + } + } + return _; + }; + var h = function (m, b) { + var y = Array.isArray(b) ? b : [b]; + return ( + (y = + y.length === 0 + ? [u.getDefaultOptions().style.className] + : y).forEach(function (g) { + s.addClass(m, g); + }), + m + ); + }, + f = function (m) { + return !m || !m.textContent; + }; + (o.wrapHighlight = function (m, b, y, g) { + var x = m.$node.parentNode, + C = m.$node.previousSibling, + E = m.$node.nextSibling; + return s.isHighlightWrapNode(x) + ? !s.isHighlightWrapNode(x) || (f(C) && f(E)) + ? (function (w, S, _) { + var A = w.$node.parentNode, + R = A; + s.removeAllClass(R), h(R, _); + var L = A.dataset, + j = L[u.CAMEL_DATASET_IDENTIFIER]; + return ( + (L[u.CAMEL_DATASET_IDENTIFIER] = S.id), + (L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = L[ + u.CAMEL_DATASET_IDENTIFIER_EXTRA + ] + ? j + u.ID_DIVISION + L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] + : j), + R + ); + })(m, b, y) + : (function (w, S, _, A) { + var R = document.createElement(A), + L = w.$node.parentNode, + j = w.$node.previousSibling, + P = w.$node.nextSibling, + V = document.createDocumentFragment(), + k = L.dataset[u.CAMEL_DATASET_IDENTIFIER], + N = L.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], + T = N ? k + u.ID_DIVISION + N : k; + R.setAttribute("data-" + u.DATASET_IDENTIFIER, S.id), + R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, T), + R.appendChild(w.$node.cloneNode(!1)); + var F, + I = !1, + D = !1; + j && + (((v = L.cloneNode(!1)).textContent = j.textContent), + V.appendChild(v), + (I = !0)); + var v, + z = []; + return ( + Array.isArray(_) ? z.push.apply(z, a(_)) : z.push(_), + h(R, c.unique(z)), + V.appendChild(R), + P && + (((v = L.cloneNode(!1)).textContent = P.textContent), + V.appendChild(v), + (D = !0)), + (F = + I && D + ? l.SplitType.both + : I + ? l.SplitType.head + : D + ? l.SplitType.tail + : l.SplitType.none), + R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, F), + L.parentNode.replaceChild(V, L), + R + ); + })(m, b, y, g) + : (function (w, S, _, A) { + var R = document.createElement(A); + return ( + h(R, _), + R.appendChild(w.$node.cloneNode(!1)), + w.$node.parentNode.replaceChild(R, w.$node), + R.setAttribute("data-" + u.DATASET_IDENTIFIER, S.id), + R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, w.splitType), + R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), + R + ); + })(m, b, y, g); + }), + (o.normalizeSiblingText = function (m, b) { + if ((b === void 0 && (b = !0), m && m.nodeType === 3)) { + var y = b ? m.nextSibling : m.previousSibling; + if (y.nodeType === 3) { + var g = y.nodeValue; + (m.nodeValue = b ? m.nodeValue + g : g + m.nodeValue), + y.parentNode.removeChild(y); + } + } + }); + }, + function (n, o, r) { + var i = + (this && this.__values) || + function (a) { + var l = typeof Symbol == "function" && Symbol.iterator, + s = l && a[l], + u = 0; + if (s) return s.call(a); + if (a && typeof a.length == "number") + return { + next: function () { + return ( + a && u >= a.length && (a = void 0), + { value: a && a[u++], done: !a } + ); + }, + }; + throw new TypeError( + l ? "Object is not iterable." : "Symbol.iterator is not defined.", + ); + }; + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.unique = void 0), + (o.unique = function (a) { + var l, + s, + u = []; + try { + for (var c = i(a), d = c.next(); !d.done; d = c.next()) { + var h = d.value; + u.indexOf(h) === -1 && u.push(h); + } + } catch (f) { + l = { error: f }; + } finally { + try { + d && !d.done && (s = c.return) && s.call(c); + } finally { + if (l) throw l.error; + } + } + return u; + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.initDefaultStylesheet = void 0); + var i = r(0); + o.initDefaultStylesheet = function () { + var a = i.STYLESHEET_ID, + l = document.getElementById(a); + if (!l) { + var s = document.createTextNode(i.getStylesheet()); + ((l = document.createElement("style")).id = a), + l.appendChild(s), + document.head.appendChild(l); + } + return l; + }; + }, + ]).default; }); -} -function Pr() { -} -function tt(e) { - return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `; -} -const B6 = { - users: {}, - isRightPanelOpen: !1, - selectedConversationId: void 0, - conversations: {}, - conversationsLoadingState: Rt.UNINITIALIZED, - newConversation: void 0, - shareId: void 0, - docsAppRendered: !1, - currentPage: l6(), - codeblockLoaded: !1, - source: Ks.DBT_DOCS, - manifest: {} -}, wi = oc({ - name: "appState", - initialState: B6, - reducers: { - setDocsAppRendered: (e, t) => { - e.docsAppRendered = t.payload; - }, - setManifest: (e, t) => { - e.manifest = t.payload; - }, - updateCurrentPage: (e, t) => { - e.currentPage = t.payload; - }, - setConversationSource: (e, t) => { - e.source = t.payload; - }, - updateCodeblockLoaded: (e, t) => { - e.codeblockLoaded = t.payload; - }, - setShareId: (e, t) => { - e.shareId = t.payload; - }, - setCurrentUserId: (e, t) => { - e.currentUserId = t.payload; - }, - setConversationsLoadingState: (e, t) => { - e.conversationsLoadingState = t.payload; - }, - refetchConversations: (e) => { - e.conversationsLoadingState = Rt.UNINITIALIZED; - }, - setUsers: (e, t) => { - var n; - return (n = t.payload) != null && n.length ? { - ...e, - users: t.payload.reduce((o, r) => (o[r.id] = r, o), {}) - } : e; - }, - updateRightPanelState: (e, t) => { - e.isRightPanelOpen = t.payload; +})(X0); +var s6 = X0.exports; +const Q0 = /* @__PURE__ */ un(s6), + Ui = "altimate-display-", + c6 = `${Ui}-highlight`, + d2 = `${Ui}-highlight-hover`, + u6 = `${Ui}-active-highlight`, + d6 = 1049, + fo = new Q0({ + style: { + className: c6, }, - updateSelectedConversationId: (e, t) => { - e.selectedConversationId = t.payload; + // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, + }), + Xs = new Q0({ + style: { + className: u6, }, - upsertConversation: (e, t) => { - e.conversations = { - ...e.conversations, - [t.payload.conversation_group_id]: { - ...e.conversations[t.payload.conversation_group_id], - ...t.payload - } + // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, + }), + J0 = (e, t) => + t.filter((n) => { + var o; + return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; + }), + ed = (e, t, n) => { + const o = t, + r = n, + i = ["BR", "HR"]; + return ( + i.includes(o.$node.nodeName) && + o.$node.parentNode && + (o.$node = o.$node.parentNode), + i.includes(r.$node.nodeName) && + r.$node.parentNode && + (r.$node = r.$node.parentNode), + [o, r] + ); + }; +fo.hooks.Render.SelectedNodes.tap(J0); +fo.hooks.Serialize.Restore.tap(ed); +Xs.hooks.Render.SelectedNodes.tap(J0); +Xs.hooks.Serialize.Restore.tap(ed); +fo.on("selection:hover", ({ id: e }) => { + fo.addClass(d2, e); +}).on("selection:hover-out", ({ id: e }) => { + fo.removeClass(d2, e); +}); +const f6 = (e) => { + var t, n; + return (t = e.meta) != null && t.highlight + ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) + : null; + }, + p6 = (e) => { + const t = f6(e); + t && (fo.remove(t.id), Xs.remove(t.id)); + }, + Qs = () => { + var n, o; + const e = Js(), + t = + (e == null ? void 0 : e[1]) === "analysis" + ? document.getElementById("sql") + : document.getElementById("code"); + return (o = + (n = t == null ? void 0 : t.parentElement) == null + ? void 0 + : n.querySelector("code-block")) == null + ? void 0 + : o.querySelector("code.ng-binding.highlight"); + }, + Js = () => { + var t; + return (t = window.location.hash + .split("#") + .find((n) => n.startsWith("!"))) == null + ? void 0 + : t.split("/"); + }, + ec = () => document.querySelector('[marked="model.description"]'), + h6 = (e) => { + var t, n, o; + return e.field + ? e.column + ? (n = + (t = Array.from( + document.querySelectorAll( + "column-details tr:not(.ng-hide) td:first-child", + ), + ).find((i) => i.innerText === e.column)) == null + ? void 0 + : t.parentElement) == null + ? void 0 + : n.querySelector("td:nth-child(3)") + : (o = ec()) == null + ? void 0 + : o.firstChild + : Qs(); + }, + g6 = (e) => { + if (e.getAttribute("marked") === "model.description") return "description"; + }, + m6 = (e, t, n, o, r) => { + if (e === "description") + return { + start: 0, + end: 0, + x: 0, + y: 0, }; - }, - resolveConversationGroup: (e, { - payload: { conversationGroupId: t } - }) => { - e.conversations[t] && delete e.conversations[t]; - }, - updateNewConversation: (e, t) => { - var r, i; - const n = { ...t.payload }; - if (!n.meta) { - console.log("Invalid meta"); - return; + const i = t.querySelectorAll(".line-numbers-rows > span"), + a = n.split(` +`), + l = Math.max(r.y, o.y), + s = Array.from(i).findIndex((d) => { + const { height: h, y: f } = d.getBoundingClientRect(); + return l >= f && l <= f + h; + }), + u = i[s], + c = s - a.length + 1; + return ( + console.log("start and end lines found", c, s), + { + x: u.offsetLeft, + y: u.offsetTop + u.offsetHeight / 2, + start: c, + end: s, } - const o = Js(); - if (!o || o.length < 3) { - console.error("Unable to find model parts", o); - return; - } - if (console.log("model parts found", o), n.meta.uniqueId = o[2], n.meta.resource_type = o[1], n.meta.range || (n.meta.range = { - end: { line: 0, character: 0 }, - start: { line: 0, character: 0 } - }), n.meta.uniqueId) { - const a = ((r = e.manifest.nodes) == null ? void 0 : r[n.meta.uniqueId]) || ((i = e.manifest.macros) == null ? void 0 : i[n.meta.uniqueId]); - n.meta.filePath = (a == null ? void 0 : a.original_file_path) || ""; - } - e.newConversation = n; - }, - resetNewConversation: (e) => { - e.newConversation = void 0; - }, - setConversations: (e, t) => { - t.payload && (e.conversations = t.payload.reduce( - (n, o) => (n[o.conversation_group_id] = o, n), - {} - ), e.selectedConversationId = e.selectedConversationId || t.payload[0].conversation_group_id); - } - } -}), { - setCurrentUserId: G_, - setShareId: K_, - updateSelectedConversationId: rc, - updateRightPanelState: ic, - setUsers: V6, - setConversations: $6, - resetNewConversation: ac, - updateNewConversation: lc, - upsertConversation: X_, - setDocsAppRendered: Q_, - updateCurrentPage: J_, - updateCodeblockLoaded: eA, - resolveConversationGroup: W6, - setConversationsLoadingState: v2, - refetchConversations: cd, - setConversationSource: tA, - setManifest: Z6 -} = wi.actions, Xi = zt({ - state: wi.getInitialState(), - dispatch: () => null, - getValue: () => null -}), U6 = ({ - children: e, - shareId: t, - userId: n, - conversationGroupId: o, - source: r -}) => { - const [i, a] = Gs(wi.reducer, { - ...wi.getInitialState(), - shareId: t, - currentUserId: n, - selectedConversationId: o, - isRightPanelOpen: !!o, - source: r - }), l = Me( - (u) => u(i), - [i] - ), s = Be( - () => ({ - state: i, - dispatch: a, - getValue: l - }), - [i, a, l] - ); - return /* @__PURE__ */ p.jsx(Xi.Provider, { value: s, children: e }); -}, q6 = () => Je(Xi), je = (e) => { - const { getValue: t } = Je(Xi); - return t(e); -}, Ht = () => { - const { dispatch: e } = Je(Xi); - return e; -}, Y6 = (e) => e; -let ud = Y6; -process.env.NODE_ENV !== "production" && (ud = (e, t) => { - if (!e) - throw new Error(t); -}); -const G6 = zt(null), K6 = zt({}), X6 = zt({ - transformPagePoint: (e) => e, - isStatic: !1, - reducedMotion: "never" -}), Q6 = typeof window < "u", J6 = Q6 ? $5 : ce; -function dd(e) { - const t = pe(null); - return t.current === null && (t.current = e()), t.current; -} -class e8 extends O.Component { - getSnapshotBeforeUpdate(t) { - const n = this.props.childRef.current; - if (n && t.isPresent && !this.props.isPresent) { - const o = this.props.sizeRef.current; - o.height = n.offsetHeight || 0, o.width = n.offsetWidth || 0, o.top = n.offsetTop, o.left = n.offsetLeft; - } - return null; - } - /** - * Required with getSnapshotBeforeUpdate to stop React complaining. - */ - componentDidUpdate() { - } - render() { - return this.props.children; - } -} -function t8({ children: e, isPresent: t }) { - const n = q0(), o = pe(null), r = pe({ - width: 0, - height: 0, - top: 0, - left: 0 - }), { nonce: i } = Je(X6); - return W5(() => { - const { width: a, height: l, top: s, left: u } = r.current; - if (t || !o.current || !a || !l) - return; - o.current.dataset.motionPopId = n; - const c = document.createElement("style"); - return i && (c.nonce = i), document.head.appendChild(c), c.sheet && c.sheet.insertRule(` - [data-motion-pop-id="${n}"] { - position: absolute !important; - width: ${a}px !important; - height: ${l}px !important; - top: ${s}px !important; - left: ${u}px !important; - } - `), () => { - document.head.removeChild(c); - }; - }, [t]), p.jsx(e8, { isPresent: t, childRef: o, sizeRef: r, children: O.cloneElement(e, { ref: o }) }); -} -const n8 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: i, mode: a }) => { - const l = dd(o8), s = q0(), u = Be( - () => ({ - id: s, - initial: t, - isPresent: n, - custom: r, - onExitComplete: (c) => { - l.set(c, !0); - for (const d of l.values()) - if (!d) - return; - o && o(); - }, - register: (c) => (l.set(c, !1), () => l.delete(c)) - }), - /** - * If the presence of a child affects the layout of the components around it, - * we want to make a new context value to ensure they get re-rendered - * so they can detect that layout change. - */ - i ? [Math.random()] : [n] - ); - return Be(() => { - l.forEach((c, d) => l.set(d, !1)); - }, [n]), O.useEffect(() => { - !n && !l.size && o && o(); - }, [n]), a === "popLayout" && (e = p.jsx(t8, { isPresent: n, children: e })), p.jsx(G6.Provider, { value: u, children: e }); -}; -function o8() { - return /* @__PURE__ */ new Map(); -} -const Br = (e) => e.key || ""; -function x2(e) { - const t = []; - return xo.forEach(e, (n) => { - U0(n) && t.push(n); - }), t; -} -const r8 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync" }) => { - ud(!t, "Replace exitBeforeEnter with mode='wait'"); - const l = Be(() => x2(e), [e]), s = l.map(Br), u = pe(!0), c = pe(l), d = dd(() => /* @__PURE__ */ new Map()), [h, f] = ue(l), [m, b] = ue(l); - J6(() => { - u.current = !1, c.current = l; - for (let x = 0; x < m.length; x++) { - const C = Br(m[x]); - s.includes(C) ? d.delete(C) : d.get(C) !== !0 && d.set(C, !1); - } - }, [m, s.length, s.join("-")]); - const y = []; - if (l !== h) { - let x = [...l]; - for (let C = 0; C < m.length; C++) { - const E = m[C], w = Br(E); - s.includes(w) || (x.splice(C, 0, E), y.push(E)); - } - a === "wait" && y.length && (x = y), b(x2(x)), f(l); - return; - } - process.env.NODE_ENV !== "production" && a === "wait" && m.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`); - const { forceRender: g } = Je(K6); - return p.jsx(p.Fragment, { children: m.map((x) => { - const C = Br(x), E = l === m || s.includes(C), w = () => { - if (d.has(C)) - d.set(C, !0); - else - return; - let S = !0; - d.forEach((_) => { - _ || (S = !1); - }), S && (g == null || g(), b(c.current), r && r()); - }; - return p.jsx(n8, { isPresent: E, initial: !u.current || o ? void 0 : !1, custom: E ? void 0 : n, presenceAffectsLayout: i, mode: a, onExitComplete: E ? void 0 : w, children: x }, C); - }) }); -}, i8 = "data:image/svg+xml,%3csvg%20width='26'%20height='24'%20viewBox='0%200%2026%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%20clip-path='url(%23clip0_15836_3582)'%3e%3cg%20id='Group'%3e%3cg%20id='Group_2'%3e%3cpath%20id='Vector'%20d='M2.66432%2011.3174C0.315394%208.57735%20-0.664635%205.72559%200.475762%204.94906C1.61616%204.1715%204.44409%205.76385%206.79407%208.50394C9.14299%2011.244%2010.123%2014.0958%208.98262%2014.8733C7.84223%2015.6499%205.01324%2014.0586%202.66432%2011.3174Z'%20fill='url(%23paint0_linear_15836_3582)'/%3e%3cpath%20id='Vector_2'%20d='M1.08995%209.13979C1.05432%209.08085%201.02077%209.02191%200.988281%208.96401C1.50398%208.75204%201.99451%208.49871%202.43579%208.23401C3.26488%207.73666%204.03423%207.15142%204.67151%206.46898C4.67885%206.46174%204.68514%206.4545%204.69248%206.44727C4.75012%206.4938%204.80777%206.54033%204.86437%206.58892C4.17049%207.31479%203.35293%207.9662%202.44417%208.47596C2.02072%208.71482%201.56477%208.94333%201.08995%209.13979Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M8.11873%2011.4596C7.3368%2010.529%206.05385%2010.1403%205.25306%2010.5911C4.45331%2011.0419%204.43864%2012.1617%205.22057%2013.0923C6.00249%2014.0229%207.28544%2014.4117%208.08623%2013.9609C8.88598%2013.5101%208.90065%2012.3902%208.11873%2011.4596Z'%20fill='url(%23paint1_linear_15836_3582)'/%3e%3cpath%20id='Vector_4'%20d='M8.03714%2013.4942C8.50484%2012.928%208.23355%2011.9461%207.43118%2011.3011C6.62882%2010.6561%205.59923%2010.5922%205.13152%2011.1584C4.66382%2011.7246%204.93511%2012.7065%205.73748%2013.3515C6.53984%2013.9965%207.56943%2014.0604%208.03714%2013.4942Z'%20fill='url(%23paint2_radial_15836_3582)'/%3e%3cg%20id='Group_3'%3e%3cpath%20id='Vector_5'%20d='M21.5845%2013.7628C24.2783%2011.7713%2025.8684%209.37657%2025.1368%208.41392C24.4051%207.45127%2021.6286%208.28467%2018.9348%2010.2751C16.241%2012.2655%2014.651%2014.6613%2015.3826%2015.624C16.1142%2016.5866%2018.8908%2015.7532%2021.5845%2013.7628Z'%20fill='url(%23paint3_linear_15836_3582)'/%3e%3cpath%20id='Vector_6'%20d='M23.4827%2012.1157C23.5278%2012.0691%2023.5718%2012.0236%2023.6148%2011.9771C23.2458%2011.669%2022.9094%2011.3288%2022.6159%2010.9896C22.0656%2010.3517%2021.5887%209.64544%2021.248%208.88028C21.2438%208.87201%2021.2407%208.86374%2021.2365%208.85547C21.1768%208.88545%2021.116%208.91544%2021.0552%208.94646C21.4315%209.76435%2021.9304%2010.5409%2022.5425%2011.2088C22.8287%2011.5211%2023.1442%2011.8313%2023.4827%2012.1157Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_7'%20d='M17.0302%2012.6899C17.9316%2012.0106%2019.1003%2011.9382%2019.639%2012.5276C20.1778%2013.1169%2019.8843%2014.1458%2018.9818%2014.8251C18.0804%2015.5044%2016.9117%2015.5768%2016.373%2014.9874C15.8342%2014.3981%2016.1287%2013.3692%2017.0302%2012.6899Z'%20fill='url(%23paint4_linear_15836_3582)'/%3e%3cpath%20id='Vector_8'%20d='M17.2549%2012.9346C18.0032%2012.3711%2018.9728%2012.3101%2019.4193%2012.7992C19.8669%2013.2883%2019.6227%2014.1423%2018.8743%2014.7059C18.1259%2015.2694%2017.1563%2015.3304%2016.7098%2014.8413C16.2623%2014.3522%2016.5065%2013.4982%2017.2549%2012.9346Z'%20fill='url(%23paint5_radial_15836_3582)'/%3e%3cg%20id='Group_4'%3e%3cpath%20id='Vector_9'%20d='M8.4355%2010.8031L7.72484%2013.5297C6.96493%2016.4445%208.59272%2019.3769%2011.3609%2020.079C14.128%2020.7811%2016.9874%2018.9871%2017.7473%2016.0723L18.4706%2013.2981C18.4779%2013.2309%2018.4643%2013.1595%2018.4307%2013.0851C18.4265%2013.0737%2018.4213%2013.0634%2018.415%2013.053C18.349%2012.9238%2018.2263%2012.7863%2018.0555%2012.6425C18.0272%2012.6188%2017.9978%2012.595%2017.9664%2012.5712H17.9654C17.935%2012.5474%2017.9014%2012.5236%2017.8689%2012.4988C17.8522%2012.4864%2017.8343%2012.474%2017.8165%2012.4616C17.7987%2012.4492%2017.7809%2012.4368%2017.762%2012.4254C17.7442%2012.413%2017.7253%2012.4006%2017.7065%2012.3882C17.6687%2012.3634%2017.6299%2012.3385%2017.5901%2012.3137C17.4098%2012.2021%2017.2054%2012.0893%2016.979%2011.9777C16.4759%2011.7285%2015.868%2011.4814%2015.1877%2011.2549C15.1196%2011.2322%2015.0504%2011.2094%2014.9812%2011.1877C14.8429%2011.1432%2014.7003%2011.0998%2014.5567%2011.0574L12.9751%2010.6562C10.557%2010.1413%208.59586%2010.1878%208.4355%2010.8031Z'%20fill='url(%23paint6_linear_15836_3582)'/%3e%3cpath%20id='Vector_10'%20opacity='0.2'%20d='M8.81373%2011.0098C8.65126%2011.6344%2010.5862%2012.6642%2013.1363%2013.3105C15.6865%2013.9577%2017.8845%2013.9753%2018.048%2013.3518C18.2105%2012.7273%2016.2756%2011.6974%2013.7254%2011.0512C11.1752%2010.4039%208.97619%2010.3863%208.81373%2011.0098Z'%20fill='url(%23paint7_linear_15836_3582)'/%3e%3cpath%20id='Vector_11'%20d='M13.8752%2010.892C11.8208%2010.3709%2010.0337%2010.4184%209.88275%2010.9985C9.73182%2011.5786%2011.2747%2012.4709%2013.3281%2012.991C15.3824%2013.5121%2017.1696%2013.4646%2017.3205%2012.8845C17.4714%2012.3055%2015.9285%2011.4131%2013.8752%2010.892Z'%20fill='url(%23paint8_linear_15836_3582)'/%3e%3cpath%20id='Vector_12'%20d='M16.6706%2012.7859C16.796%2012.3048%2015.516%2011.5643%2013.8116%2011.132C12.1073%2010.6997%2010.624%2010.7394%2010.4985%2011.2206C10.3731%2011.7017%2011.6531%2012.4422%2013.3575%2012.8745C15.0619%2013.3068%2016.5452%2013.2671%2016.6706%2012.7859Z'%20fill='url(%23paint9_radial_15836_3582)'/%3e%3cpath%20id='Vector_13'%20d='M11.1729%2016.1522C10.609%2017.4602%2011.1038%2018.9202%2012.2787%2019.4134C13.4537%2019.9066%2014.8646%2019.247%2015.4285%2017.94C15.9924%2016.632%2015.4976%2015.172%2014.3227%2014.6788C13.1477%2014.1845%2011.7379%2014.8442%2011.1729%2016.1522Z'%20fill='url(%23paint10_linear_15836_3582)'/%3e%3cg%20id='Group_5'%3e%3cpath%20id='Vector_14'%20d='M8.72695%2011.4727C9.19129%2011.5906%209.27829%2012.7497%208.92401%2014.1104C8.62633%2015.252%208.12636%2016.1215%207.69871%2016.3025C7.68928%2016.2642%207.67984%2016.2249%207.67041%2016.1857C8.01945%2016.0243%208.5016%2015.2468%208.80557%2014.0804C9.16613%2012.699%209.04035%2011.6764%208.69761%2011.5895C8.54458%2011.5513%208.34018%2011.694%208.12741%2011.9856L8.19763%2011.7157C8.38211%2011.5223%208.56554%2011.4313%208.72695%2011.4727Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_15'%20d='M7.55699%2013.7083C7.27503%2014.7878%207.28028%2015.7225%207.56642%2015.7959C7.85362%2015.8683%208.31376%2015.0525%208.59572%2013.972C8.87767%2012.8925%208.87243%2011.9578%208.58628%2011.8843C8.29909%2011.812%207.8379%2012.6288%207.55699%2013.7083Z'%20fill='url(%23paint11_linear_15836_3582)'/%3e%3cpath%20id='Vector_16'%20d='M7.67662%2013.739C7.44288%2014.6355%207.44708%2015.411%207.68501%2015.471C7.92294%2015.5309%208.30552%2014.8537%208.53926%2013.9572C8.773%2013.0607%208.7688%2012.2852%208.53087%2012.2253C8.29189%2012.1663%207.90931%2012.8436%207.67662%2013.739Z'%20fill='url(%23paint12_radial_15836_3582)'/%3e%3c/g%3e%3cpath%20id='Vector_17'%20opacity='0.5'%20d='M8.36426%2011.0755C9.54763%2011.9916%2013.5568%2013.0783%2015.1123%2012.8602C16.7653%2012.6285%2014.4268%2011.3071%2014.4268%2011.3071L12.4594%2010.5523C10.2834%2010.1511%208.58437%2010.2328%208.43553%2010.8035L8.36426%2011.0755Z'%20fill='%23231F20'/%3e%3cg%20id='Group_6'%3e%3cpath%20id='Vector_18'%20d='M20.3665%208.35913C20.6243%205.04932%2017.94%202.79831%2014.4329%202.53257C10.9257%202.2658%207.92379%204.08563%207.66594%207.39545C7.4081%2010.7053%2010.2004%2011.5728%2013.7075%2011.8385C17.2147%2012.1053%2020.1086%2011.669%2020.3665%208.35913Z'%20fill='url(%23paint13_linear_15836_3582)'/%3e%3cg%20id='Group_7'%3e%3cpath%20id='Vector_19'%20d='M8.46122%209.06024C8.8742%209.09126%209.16978%208.18031%209.23791%207.30762C9.30604%206.43389%209.1551%205.48882%208.74213%205.4578C8.32915%205.42678%208.03357%206.33773%207.96544%207.21042C7.89731%208.08415%208.04825%209.02922%208.46122%209.06024ZM8.7306%205.60463C8.96119%205.62221%209.16453%206.32119%209.08907%207.29624C9.01255%208.2713%208.70334%208.93099%208.47275%208.91341C8.24215%208.89583%208.03881%208.19685%208.11428%207.2218C8.18975%206.24674%208.5%205.58705%208.7306%205.60463Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_20'%20d='M10.1709%206.95357C9.97486%209.46617%2011.915%2011.1443%2014.4547%2011.3377C16.9944%2011.53%2019.1714%2010.1641%2019.3674%207.65255C19.5634%205.13994%2017.4975%205.0717%2014.9589%204.87834C12.4181%204.68498%2010.3669%204.44096%2010.1709%206.95357Z'%20fill='%23E2E3E7'/%3e%3cpath%20id='Vector_21'%20d='M10.2478%206.97754C10.0549%209.44672%2011.9626%2011.0887%2014.4593%2011.2779C16.956%2011.4671%2019.0953%2010.1333%2019.2882%207.66307C19.481%205.1939%2017.4508%205.12565%2014.954%204.93643C12.4573%204.74721%2010.4407%204.50732%2010.2478%206.97754Z'%20fill='url(%23paint14_linear_15836_3582)'/%3e%3cpath%20id='Vector_22'%20d='M10.2729%203.35018C11.0339%204.02745%2011.602%204.87326%2011.6649%205.94551C11.6722%206.07062%2011.8662%206.03236%2011.8588%205.90829C11.7959%204.82052%2011.2247%203.9499%2010.4564%203.25195C10.3945%203.28297%2010.3337%203.31606%2010.2729%203.35018Z'%20fill='%239D9CA9'/%3e%3cpath%20id='Vector_23'%20d='M18.2494%206.54673C18.6152%205.85396%2018.9107%205.11051%2018.9139%204.40223C18.8416%204.33088%2018.7661%204.2616%2018.6896%204.19336C18.7598%204.94714%2018.4737%205.72884%2018.0743%206.48573C18.0156%206.59533%2018.1917%206.65737%2018.2494%206.54673Z'%20fill='%239D9CA9'/%3e%3cpath%20id='Vector_24'%20d='M10.4249%207.04055C10.2414%209.39289%2012.06%2010.9315%2014.4372%2011.1124C16.8144%2011.2934%2018.851%2010.0464%2019.0344%207.69507C19.2179%205.34273%2017.284%205.27862%2014.9068%205.09768C12.5296%204.91673%2010.6083%204.68821%2010.4249%207.04055Z'%20fill='url(%23paint15_radial_15836_3582)'/%3e%3cg%20id='Group_8'%3e%3cpath%20id='Vector_25'%20d='M13.9044%208.79297C13.8541%209.43922%2014.3436%2010.0027%2014.9987%2010.0524C15.6538%2010.102%2016.2251%209.61913%2016.2754%208.97288L13.9044%208.79297Z'%20fill='black'/%3e%3cpath%20id='Vector_26'%20d='M13.9283%208.80762C13.879%209.44042%2014.3591%209.99258%2015.0005%2010.0412C15.642%2010.0898%2016.2017%209.6162%2016.251%208.9834L13.9283%208.80762Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_27'%20d='M13.9516%208.82129C13.9034%209.44065%2014.373%209.98143%2015.0009%2010.029C15.6287%2010.0766%2016.1769%209.61333%2016.2251%208.99397L13.9516%208.82129Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_28'%20d='M13.9755%208.83496C13.9283%209.44088%2014.3874%209.97029%2015.0027%2010.0168C15.6169%2010.0633%2016.1536%209.61046%2016.2007%209.0035L13.9755%208.83496Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_29'%20d='M13.9989%208.84863C13.9527%209.44111%2014.4024%209.95914%2015.003%2010.0046C15.6036%2010.0501%2016.1287%209.60655%2016.1748%209.01407L13.9989%208.84863Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_30'%20d='M14.0227%208.86328C13.9776%209.44232%2014.4168%209.94794%2015.0038%209.99344C15.5908%2010.0379%2016.1033%209.60466%2016.1494%209.02562L14.0227%208.86328Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_31'%20d='M14.0461%208.87695C14.0021%209.44255%2014.4308%209.9368%2015.0051%209.98023C15.5785%2010.0237%2016.0795%209.60075%2016.1235%209.03412L14.0461%208.87695Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_32'%20d='M14.0699%208.88965C14.0269%209.44284%2014.4462%209.92468%2015.0059%209.96707C15.5656%2010.0095%2016.0551%209.59587%2016.0981%209.04371L14.0699%208.88965Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_33'%20d='M14.0933%208.9043C14.0514%209.44404%2014.4601%209.91451%2015.0073%209.95587C15.5544%209.99723%2016.0313%209.59397%2016.0733%209.05423L14.0933%208.9043Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_34'%20d='M14.1171%208.91797C14.0763%209.44427%2014.4746%209.90337%2015.0081%209.94369C15.5416%209.98402%2016.007%209.5911%2016.0479%209.0648L14.1171%208.91797Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_35'%20d='M14.1405%208.93262C14.1007%209.44548%2014.4895%209.8932%2015.0094%209.93249C15.5293%209.97178%2015.9832%209.58817%2016.023%209.07531L14.1405%208.93262Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_36'%20d='M14.1644%208.94629C14.1256%209.44571%2014.504%209.88102%2015.0102%209.92031C15.5165%209.95857%2015.9578%209.5853%2015.9976%209.08588L14.1644%208.94629Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cg%20id='Group_9'%3e%3cpath%20id='Vector_37'%20d='M14.6004%208.06197C14.6622%207.26786%2014.0606%206.57508%2013.2556%206.51408C12.4506%206.45307%2011.7484%207.04658%2011.6865%207.84069L14.6004%208.06197Z'%20fill='black'/%3e%3cpath%20id='Vector_38'%20d='M14.5723%208.04547C14.6331%207.26791%2014.043%206.58961%2013.2558%206.52964C12.4676%206.46967%2011.78%207.05181%2011.7192%207.82834L14.5723%208.04547Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_39'%20d='M14.5429%208.02801C14.6026%207.26699%2014.0251%206.60317%2013.2536%206.54423C12.4822%206.48529%2011.8093%207.05502%2011.7495%207.81604L14.5429%208.02801Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_40'%20d='M14.5133%208.01042C14.571%207.26594%2014.0071%206.61556%2013.2524%206.55869C12.4977%206.50182%2011.8384%207.05811%2011.7808%207.80258L14.5133%208.01042Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_41'%20d='M14.4853%207.99392C14.5419%207.26599%2013.9895%206.63008%2013.2516%206.57425C12.5137%206.51841%2011.8691%207.06333%2011.8125%207.79126L14.4853%207.99392Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_42'%20d='M14.4558%207.97646C14.5113%207.26507%2013.9715%206.64364%2013.2504%206.58884C12.5292%206.53404%2011.8993%207.06654%2011.8438%207.77793L14.4558%207.97646Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_43'%20d='M14.4273%207.95984C14.4818%207.265%2013.9545%206.65701%2013.2491%206.60427C12.5437%206.55154%2011.9285%207.0706%2011.875%207.76648L14.4273%207.95984Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_44'%20d='M14.3982%207.9425C14.4517%207.26317%2013.936%206.67069%2013.2484%206.61899C12.5597%206.56626%2011.9591%207.07498%2011.9067%207.75328L14.3982%207.9425Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_45'%20d='M14.3687%207.92588C14.4201%207.26309%2013.918%206.68509%2013.2462%206.63442C12.5743%206.58376%2011.9884%207.07904%2011.937%207.74183L14.3687%207.92588Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_46'%20d='M14.3407%207.9075C14.391%207.26126%2013.9016%206.69773%2013.2465%206.64706C12.5914%206.59743%2012.0201%207.08031%2011.9688%207.72655L14.3407%207.9075Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_47'%20d='M14.3113%207.89101C14.3605%207.26131%2013.8826%206.71122%2013.2442%206.66262C12.6059%206.61403%2012.0483%207.08553%2011.999%207.71523L14.3113%207.89101Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_48'%20d='M14.2827%207.87355C14.3309%207.26039%2013.8655%206.72478%2013.244%206.67721C12.6224%206.62965%2012.0795%207.08874%2012.0312%207.7019L14.2827%207.87355Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cg%20id='Group_10'%3e%3cpath%20id='Vector_49'%20d='M18.4852%208.35689C18.5471%207.56278%2018.0324%206.87725%2017.3365%206.82451C16.6405%206.77178%2016.0252%207.37253%2015.9634%208.1656L18.4852%208.35689Z'%20fill='black'/%3e%3cpath%20id='Vector_50'%20d='M18.4602%208.34046C18.521%207.5629%2018.0168%206.8908%2017.3355%206.8391C16.6532%206.7874%2016.0515%207.37574%2015.9907%208.15227L18.4602%208.34046Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_51'%20d='M18.4362%208.32397C18.4959%207.56295%2018.0022%206.90533%2017.3346%206.85466C16.6669%206.804%2016.0778%207.37993%2016.0181%208.14095L18.4362%208.32397Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_52'%20d='M18.4106%208.30754C18.4683%207.56306%2017.9861%206.91889%2017.3331%206.86925C16.6801%206.81962%2016.1036%207.38315%2016.0449%208.12762L18.4106%208.30754Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_53'%20d='M18.3856%208.29007C18.4422%207.56214%2017.9706%206.93244%2017.3312%206.88384C16.6918%206.83524%2016.1279%207.38636%2016.0713%208.1143L18.3856%208.29007Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_54'%20d='M18.3615%208.27359C18.4171%207.5622%2017.9559%206.94697%2017.3312%206.89941C16.7065%206.85184%2016.1552%207.39055%2016.0996%208.10194L18.3615%208.27359Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_55'%20d='M18.3365%208.25715C18.391%207.56231%2017.9403%206.96052%2017.3302%206.914C16.7202%206.86747%2016.1815%207.39377%2016.127%208.08861L18.3365%208.25715Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_56'%20d='M18.311%208.23969C18.3644%207.56035%2017.9242%206.97408%2017.3278%206.92858C16.7325%206.88309%2016.2063%207.39698%2016.1528%208.07632L18.311%208.23969Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_57'%20d='M18.2859%208.22222C18.3373%207.55943%2017.9086%206.9866%2017.3269%206.94317C16.7451%206.89871%2016.2326%207.4002%2016.1802%208.06299L18.2859%208.22222Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_58'%20d='M18.2618%208.20579C18.3122%207.55955%2017.8939%207.00119%2017.3269%206.95776C16.7598%206.91433%2016.2599%207.40341%2016.2085%208.04966L18.2618%208.20579Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_59'%20d='M18.2368%208.1893C18.2861%207.5596%2017.8773%207.01469%2017.3249%206.97333C16.7726%206.93093%2016.2841%207.4076%2016.2349%208.03731L18.2368%208.1893Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_60'%20d='M18.2117%208.17287C18.2599%207.55971%2017.8616%207.02927%2017.3239%206.98791C16.7852%206.94655%2016.3104%207.41082%2016.2632%208.02501L18.2117%208.17287Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cpath%20id='Vector_61'%20opacity='0.2'%20d='M10.7266%208.85254C11.3303%2010.1647%2012.7411%2010.9846%2014.437%2011.1129C16.0785%2011.238%2017.5574%2010.6817%2018.376%209.55152C18.1475%209.68077%2017.1266%209.89894%2016.1256%209.91549C13.653%209.95685%2011.0966%209.06864%2010.7266%208.85254Z'%20fill='url(%23paint16_linear_15836_3582)'/%3e%3cg%20id='Group_11'%3e%3cpath%20id='Vector_62'%20opacity='0.5'%20d='M11.2222%206.4588C11.3417%206.16928%2011.5356%205.83013%2011.8186%205.71846C11.9821%205.65332%2012.2116%205.62644%2012.4485%205.61816C12.3406%205.91595%2012.2441%206.21685%2012.155%206.52084C11.8437%206.50223%2011.5324%206.48052%2011.2222%206.4588Z'%20fill='url(%23paint17_linear_15836_3582)'/%3e%3cpath%20id='Vector_63'%20opacity='0.5'%20d='M12.1215%206.63637C12.087%206.75632%2012.0545%206.87626%2012.022%206.99724L11.0713%206.92486C11.0713%206.92486%2011.1048%206.77183%2011.1772%206.57227C11.4926%206.59501%2011.8071%206.61569%2012.1215%206.63637Z'%20fill='url(%23paint18_linear_15836_3582)'/%3e%3cpath%20id='Vector_64'%20opacity='0.5'%20d='M12.3248%206.53237C12.3049%206.53134%2012.285%206.52927%2012.2661%206.52824C12.3563%206.22114%2012.4558%205.91715%2012.5659%205.61626C13.0585%205.61419%2013.5491%205.68553%2013.5491%205.68553L13.4275%206.60062C13.0596%206.58924%2012.6917%206.55512%2012.3248%206.53237Z'%20fill='url(%23paint19_linear_15836_3582)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_15836_3582'%20x1='6.97955'%20y1='7.26947'%20x2='3.42246'%20y2='11.0928'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_15836_3582'%20x1='5.83965'%20y1='11.0797'%20x2='7.63822'%20y2='13.9137'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint2_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(6.59902%2012.3229)%20rotate(-68.7958)%20scale(1.33886%201.39191)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint3_linear_15836_3582'%20x1='18.9194'%20y1='9.08262'%20x2='21.1401'%20y2='13.4021'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_15836_3582'%20x1='19.0563'%20y1='12.8942'%20x2='16.7225'%20y2='14.9831'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint5_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(18.0786%2013.8269)%20rotate(-11.4054)%20scale(1.5459%201.0378)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint6_linear_15836_3582'%20x1='16.4136'%20y1='13.2152'%20x2='7.77357'%20y2='16.8418'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_15836_3582'%20x1='13.1228'%20y1='13.5101'%20x2='13.8927'%20y2='10.0946'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_15836_3582'%20x1='11.1224'%20y1='11.3127'%20x2='16.8305'%20y2='12.8003'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint9_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(13.6018%2011.9993)%20rotate(-115.351)%20scale(1.12129%201.92215)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint10_linear_15836_3582'%20x1='12.7619'%20y1='19.1153'%20x2='14.1622'%20y2='13.5938'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_15836_3582'%20x1='7.73648'%20y1='15.1437'%20x2='8.50022'%20y2='12.1323'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint12_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(8.11332%2013.8562)%20rotate(-32.3967)%20scale(0.686669%201.07581)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint13_linear_15836_3582'%20x1='14.3226'%20y1='3.95403'%20x2='13.6519'%20y2='12.7924'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_15836_3582'%20x1='14.485'%20y1='10.9477'%20x2='14.9061'%20y2='5.39774'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(15.9514%205.90347)%20rotate(-175.657)%20scale(5.63684%205.57701)'%3e%3cstop%20stop-color='%234D4178'/%3e%3cstop%20offset='1'%20stop-color='%2327213B'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_15836_3582'%20x1='14.5737'%20y1='8.91767'%20x2='14.4352'%20y2='10.7426'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint17_linear_15836_3582'%20x1='11.869'%20y1='5.60405'%20x2='11.7294'%20y2='7.44393'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint18_linear_15836_3582'%20x1='11.6895'%20y1='5.59016'%20x2='11.5499'%20y2='7.43012'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint19_linear_15836_3582'%20x1='12.9403'%20y1='5.68553'%20x2='12.8006'%20y2='7.52546'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_15836_3582'%3e%3crect%20width='25.3151'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", a8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Et = ({ - icon: e, - className: t = "", - ...n -}) => /* @__PURE__ */ p.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), fd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "code", ...e }), pd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "add", ...e }), hd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "trash", ...e }), l8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "comment-unresolved", ...e }), s8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "check", ...e }), w2 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "pass-filled", ...e }), c8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "debug-restart", ...e }), u8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "gear", ...e }), gd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "chevron-up", ...e }), md = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "chevron-down", ...e }), d8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "info", ...e }), f8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "send", ...e }), p8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "pencil", ...e }), E2 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "share", ...e }), h8 = ({ pos: e, onAddComment: t }) => jn( - /* @__PURE__ */ p.jsx(r8, { children: e && /* @__PURE__ */ p.jsx( - Pe, - { - onClick: t, - id: `${Ui}-highlight`, - style: { - position: "absolute", - top: e.y, - left: e.x, - // right: "15px", - zIndex: d6 + 5, - cursor: "pointer", - background: "#007AFF", - width: 26, - height: 26, - borderRadius: "100%", - boxShadow: "none", - border: "none", - display: "flex", - justifyContent: "center", - alignItems: "center", - fontSize: "13px", - fontWeight: "bold", - color: "#fff", - padding: 0 - }, - children: /* @__PURE__ */ p.jsx(pd, {}) - } - ) }), - e.element.parentElement -), g8 = () => { - const { - state: { isRightPanelOpen: e } - } = q6(), t = Ht(), n = () => { - t(ic(!e)); - }; - return /* @__PURE__ */ p.jsx(Pe, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); -}, m8 = (e) => Ie.get(`dbt/dbt_docs_share/${e}`), b8 = (e, t, n) => Ie.post(`dbt/dbt_docs_share/${e}/conversation_group`, { - ...t, - telemetry: { - eventName: "dbtCollaboration:create", - properties: { source: n } - } -}), y8 = (e, t, n, o) => Ie.post( - `dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, - { - ...n, - telemetry: { - eventName: "dbtCollaboration:reply", - properties: { source: o } - } - } -), C8 = (e) => Ie.get( - `dbt/dbt_docs_share/${e}/conversations` -), v8 = (e) => Ie.get("users/chat", { company: e }), x8 = (e, t, n) => Ie.post( - `dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, - { - resolved: !0, - telemetry: { - eventName: "dbtCollaboration:resolve", - properties: { source: n } - } - } -), w8 = () => { - const e = je( - (l) => l.shareId - ), [t, n] = ue( - null - ), [o, r] = ue(!1), i = Ht(); - ce(() => { - t != null && t.manifest_presigned_url && fetch(t.manifest_presigned_url).then((l) => l.json()).then((l) => { - i(Z6(l)); - }).catch( - (l) => console.error( - "error loading manifest", - l, - t.manifest_presigned_url - ) ); - }, [i, t == null ? void 0 : t.manifest_presigned_url]); - const a = Me(async () => { - if (!e) - return; - r(!0); - const l = await m8(e); - if (l) { - n(l); - const s = document.getElementById("collapse-sidebar"); - s == null || s.click(); - } - r(!1); - }, [e]); - return ce(() => { - !e || t || o || a(); - }, [e, t, a, o]), { shareDetails: t, loading: o }; -}, E8 = () => { - const e = je( - (c) => c.selectedConversationId ? c.conversations[c.selectedConversationId] : null - ), t = je( - (c) => c.docsAppRendered - ), n = je( - (c) => c.newConversation - ), o = Ht(), [r, i] = ue(null), [a, l] = ue(null); - ce(() => { - n && (i(null), l(null)); - }, [n]); - const s = Me(() => { - console.log("resetHighlights"), r && p6(r), l(null), i(null); - }, [r]); - return ce(() => { - !e || !t || e.meta.resource_type && e.meta.uniqueId && (window.location.hash = `#!/${e.meta.resource_type}/${e.meta.uniqueId}`); - }, [e, t, o]), { - getHighlightedSelectionData: () => r, - pos: a, - onSelectionEnd: (c) => { - const d = c.target, h = g6(d), { end: f, start: m } = c.detail.selectionRange, b = document.getSelection(); - if (!b || !b.rangeCount) - return s(), null; - const g = b.getRangeAt(0).toString(), x = d == null ? void 0 : d.innerText; - if (!g || !x) - return; - const { end: C, start: E, x: w, y: S } = m6( - h, - d, - g, - f, - m - ); - console.log("selection range", C, E, w, S); - const _ = { - meta: { - filePath: "", - field: h, - highlight: g, - range: { - end: { line: C, character: 0 }, - start: { line: E, character: 0 } - } - } - }; - o(ac()), l({ - x: w, - y: S, - element: d - }), document.body.addEventListener("click", s, { once: !0 }), i(_); - } + }, + Y_ = () => { + var e; + return [(e = Qs()) == null ? void 0 : e.parentElement, ec()]; }; -}, S8 = ({ - conversationGroup: e -}) => { - const t = je( - (l) => l.selectedConversationId - ), n = Ht(), o = pe(null), r = Be(() => h6(e.meta), [e.meta]), i = () => { - n( - rc(e.conversation_group_id) - ); - }, a = Be(() => { - if (!r) - return; - if (e.meta.field === "description") - return { top: 0, bottom: r.offsetHeight }; - let l = 0, s = 0; - for (let u = e.meta.range.start.line; u <= e.meta.range.end.line; u++) { - const c = r.querySelector( - `.line-numbers-rows > span:nth-child(${u + 1})` - ); - c && (u === e.meta.range.start.line && (l = c.offsetTop + 15), u === e.meta.range.end.line && (s = c.offsetTop + c.offsetHeight)); - } - return { top: l, bottom: s }; - }, [ - r, - e.meta.field, - e.meta.range.start.line, - e.meta.range.end.line - ]); - return ce(() => { - var l; - t === e.conversation_group_id && ((l = o.current) == null || l.scrollIntoView({ - behavior: "smooth", - block: "center" - })); - }, [e.conversation_group_id, t]), !a || !(r != null && r.parentElement) ? null : jn( - /* @__PURE__ */ p.jsx( - "div", - { - ref: o, - className: `altimate-highlighter ${t === e.conversation_group_id ? "active" : ""}`, - style: { top: a.top, height: a.bottom - a.top }, - onClick: i, - children: /* @__PURE__ */ p.jsx(l8, {}) - } - ), - r.parentElement - ); -}, k8 = () => { - const e = je( - (r) => Object.values(r.conversations || {}) - ), t = je( - (r) => r.codeblockLoaded - ), n = je( - (r) => r.currentPage - ), o = e == null ? void 0 : e.filter( - (r) => r.meta.resource_type === n.resourceType && r.meta.uniqueId === n.name - ); - return !(o != null && o.length) || !t ? null : /* @__PURE__ */ p.jsx(p.Fragment, { children: o.map((r) => /* @__PURE__ */ p.jsx( - S8, - { - conversationGroup: r - }, - r.conversation_group_id - )) }); -}, _8 = "_dbtDocs_14zop_9", A8 = "_hotspotButton_14zop_46", M8 = "_pulse_14zop_1", T8 = "_conversationRightPanelCloseButton_14zop_62", O8 = "_conversationRightPanel_14zop_62", N8 = "_newConversationForm_14zop_94", D8 = "_highlightText_14zop_108", L8 = "_conversationInputForm_14zop_130", F8 = "_conversationGroup_14zop_156", R8 = "_replyForm_14zop_189", j8 = "_resolveButton_14zop_237", Cn = { - dbtDocs: _8, - hotspotButton: A8, - pulse: M8, - conversationRightPanelCloseButton: T8, - conversationRightPanel: O8, - newConversationForm: N8, - highlightText: D8, - conversationInputForm: L8, - conversationGroup: F8, - replyForm: R8, - resolveButton: j8 -}, I8 = "_profileImage_11vaf_1", z8 = { - profileImage: I8 -}, bd = ({ user: e }) => { - var t; - return /* @__PURE__ */ p.jsx("div", { className: z8.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); -}; -function H8(e) { - if (Array.isArray(e)) { - for (var t = 0, n = new Array(e.length); t < e.length; t++) - n[t] = e[t]; - return n; - } -} -function P8(e) { - if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") return Array.from(e); +var Rt = /* @__PURE__ */ ((e) => ( + (e[(e.LOADING = 0)] = "LOADING"), + (e[(e.UNINITIALIZED = 1)] = "UNINITIALIZED"), + (e[(e.INITIALIZED = 2)] = "INITIALIZED"), + e +))(Rt || {}); +function b6(e) { + if (typeof e != "object" || e === null) return !1; + let t = e; + for (; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t); + return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null; } -function B8() { - throw new TypeError("Invalid attempt to spread non-iterable instance"); +function y6(e) { + return b6(e) && "type" in e && typeof e.type == "string"; } -function Ei(e) { - return H8(e) || P8(e) || B8(); +var td = Symbol.for("immer-nothing"), + f2 = Symbol.for("immer-draftable"), + At = Symbol.for("immer-state"), + C6 = + process.env.NODE_ENV !== "production" + ? [ + // All error codes, starting by 0: + function (e) { + return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`; + }, + function (e) { + return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`; + }, + "This object has been frozen and should not be mutated", + function (e) { + return ( + "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " + + e + ); + }, + "An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.", + "Immer forbids circular references", + "The first or second argument to `produce` must be a function", + "The third argument to `produce` must be a function or undefined", + "First argument to `createDraft` must be a plain object, an array, or an immerable object", + "First argument to `finishDraft` must be a draft returned by `createDraft`", + function (e) { + return `'current' expects a draft, got: ${e}`; + }, + "Object.defineProperty() cannot be used on an Immer draft", + "Object.setPrototypeOf() cannot be used on an Immer draft", + "Immer only supports deleting array indices", + "Immer only supports setting array indices and the 'length' property", + function (e) { + return `'original' expects a draft, got: ${e}`; + }, + // Note: if more errors are added, the errorOffset in Patches.ts should be increased + // See Patches.ts for additional errors + ] + : []; +function Ct(e, ...t) { + if (process.env.NODE_ENV !== "production") { + const n = C6[e], + o = typeof n == "function" ? n.apply(null, t) : n; + throw new Error(`[Immer] ${o}`); + } + throw new Error( + `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`, + ); } -function It() { - return It = Object.assign || function(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var o in n) - Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]); - } - return e; - }, It.apply(this, arguments); +var wo = Object.getPrototypeOf; +function Gn(e) { + return !!e && !!e[At]; } -function V8(e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function"); +function yn(e) { + var t; + return e + ? nd(e) || + Array.isArray(e) || + !!e[f2] || + !!((t = e.constructor) != null && t[f2]) || + Yi(e) || + Gi(e) + : !1; } -function $8(e, t) { - for (var n = 0; n < t.length; n++) { - var o = t[n]; - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o); - } +var v6 = Object.prototype.constructor.toString(); +function nd(e) { + if (!e || typeof e != "object") return !1; + const t = wo(e); + if (t === null) return !0; + const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor; + return n === Object + ? !0 + : typeof n == "function" && Function.toString.call(n) === v6; } -function W8(e, t, n) { - return t && $8(e.prototype, t), e; +function Ci(e, t) { + qi(e) === 0 + ? Reflect.ownKeys(e).forEach((n) => { + t(n, e[n], e); + }) + : e.forEach((n, o) => t(o, n, e)); } -function ve(e) { - if (e === void 0) - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return e; +function qi(e) { + const t = e[At]; + return t ? t.type_ : Array.isArray(e) ? 1 : Yi(e) ? 2 : Gi(e) ? 3 : 0; } -function ls(e, t) { - return ls = Object.setPrototypeOf || function(o, r) { - return o.__proto__ = r, o; - }, ls(e, t); +function ts(e, t) { + return qi(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); } -function Z8(e, t) { - if (typeof t != "function" && t !== null) - throw new TypeError("Super expression must either be null or a function"); - e.prototype = Object.create(t && t.prototype, { - constructor: { - value: e, - writable: !0, - configurable: !0 - } - }), t && ls(e, t); +function od(e, t, n) { + const o = qi(e); + o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : (e[t] = n); } -function po(e) { - return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? po = function(n) { - return typeof n; - } : po = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n; - }, po(e); +function x6(e, t) { + return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t; } -function si(e) { - return typeof Symbol == "function" && po(Symbol.iterator) === "symbol" ? si = function(n) { - return po(n); - } : si = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : po(n); - }, si(e); +function Yi(e) { + return e instanceof Map; } -function U8(e, t) { - return t && (si(t) === "object" || typeof t == "function") ? t : ve(e); +function Gi(e) { + return e instanceof Set; } -function Si(e) { - return Si = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { - return n.__proto__ || Object.getPrototypeOf(n); - }, Si(e); +function zn(e) { + return e.copy_ || e.base_; } -function be(e, t, n) { - return t in e ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[t] = n, e; -} -var q8 = function(e, t, n, o, r, i, a, l) { - if (process.env.NODE_ENV !== "production" && t === void 0) - throw new Error("invariant requires an error message argument"); - if (!e) { - var s; - if (t === void 0) - s = new Error( - "Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings." - ); - else { - var u = [n, o, r, i, a, l], c = 0; - s = new Error( - t.replace(/%s/g, function() { - return u[c++]; - }) - ), s.name = "Invariant Violation"; +function ns(e, t) { + if (Yi(e)) return new Map(e); + if (Gi(e)) return new Set(e); + if (Array.isArray(e)) return Array.prototype.slice.call(e); + const n = nd(e); + if (t === !0 || (t === "class_only" && !n)) { + const o = Object.getOwnPropertyDescriptors(e); + delete o[At]; + let r = Reflect.ownKeys(o); + for (let i = 0; i < r.length; i++) { + const a = r[i], + l = o[a]; + l.writable === !1 && ((l.writable = !0), (l.configurable = !0)), + (l.get || l.set) && + (o[a] = { + configurable: !0, + writable: !0, + // could live with !!desc.set as well here... + enumerable: l.enumerable, + value: e[a], + }); } - throw s.framesToPop = 1, s; + return Object.create(wo(e), o); + } else { + const o = wo(e); + if (o !== null && n) return { ...e }; + const r = Object.create(o); + return Object.assign(r, e); } -}, Y8 = q8; -const Eo = /* @__PURE__ */ un(Y8); -function G8(e) { - if (Array.isArray(e)) return e; } -function K8(e, t) { - var n = [], o = !0, r = !1, i = void 0; - try { - for (var a = e[Symbol.iterator](), l; !(o = (l = a.next()).done) && (n.push(l.value), !(t && n.length === t)); o = !0) - ; - } catch (s) { - r = !0, i = s; - } finally { - try { - !o && a.return != null && a.return(); - } finally { - if (r) throw i; - } - } - return n; +function tc(e, t = !1) { + return ( + Ki(e) || + Gn(e) || + !yn(e) || + (qi(e) > 1 && (e.set = e.add = e.clear = e.delete = w6), + Object.freeze(e), + t && Object.entries(e).forEach(([n, o]) => tc(o, !0))), + e + ); } -function X8() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); +function w6() { + Ct(2); } -function ki(e, t) { - return G8(e) || K8(e, t) || X8(); +function Ki(e) { + return Object.isFrozen(e); } -function Q8(e, t) { - if (e == null) return {}; - var n = {}, o = Object.keys(e), r, i; - for (i = 0; i < o.length; i++) - r = o[i], !(t.indexOf(r) >= 0) && (n[r] = e[r]); - return n; +var E6 = {}; +function Kn(e) { + const t = E6[e]; + return t || Ct(0, e), t; } -function J8(e, t) { - if (e == null) return {}; - var n = Q8(e, t), o, r; - if (Object.getOwnPropertySymbols) { - var i = Object.getOwnPropertySymbols(e); - for (r = 0; r < i.length; r++) - o = i[r], !(t.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(e, o) && (n[o] = e[o]); - } - return n; +var rr; +function rd() { + return rr; } -function ar(e) { - "@babel/helpers - typeof"; - return ar = 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; - }, ar(e); +function S6(e, t) { + return { + drafts_: [], + parent_: e, + immer_: t, + // Whenever the modified draft contains a draft from another scope, we + // need to prevent auto-freezing so the unowned draft can be finalized. + canAutoFreeze_: !0, + unfinalizedDrafts_: 0, + }; } -function e7(e, t) { - if (ar(e) != "object" || !e) return e; - var n = e[Symbol.toPrimitive]; - if (n !== void 0) { - var o = n.call(e, t || "default"); - if (ar(o) != "object") return o; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (t === "string" ? String : Number)(e); +function p2(e, t) { + t && + (Kn("Patches"), + (e.patches_ = []), + (e.inversePatches_ = []), + (e.patchListener_ = t)); } -function t7(e) { - var t = e7(e, "string"); - return ar(t) == "symbol" ? t : t + ""; +function os(e) { + rs(e), e.drafts_.forEach(k6), (e.drafts_ = null); } -function lr(e, t, n) { - return (t = t7(t)) in e ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[t] = n, e; +function rs(e) { + e === rr && (rr = e.parent_); } -function ss(e, t) { - (t == null || t > e.length) && (t = e.length); - for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n]; - return o; +function h2(e) { + return (rr = S6(rr, e)); } -function n7(e) { - if (Array.isArray(e)) return ss(e); +function k6(e) { + const t = e[At]; + t.type_ === 0 || t.type_ === 1 ? t.revoke_() : (t.revoked_ = !0); } -function o7(e) { - if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); +function g2(e, t) { + t.unfinalizedDrafts_ = t.drafts_.length; + const n = t.drafts_[0]; + return ( + e !== void 0 && e !== n + ? (n[At].modified_ && (os(t), Ct(4)), + yn(e) && ((e = vi(t, e)), t.parent_ || xi(t, e)), + t.patches_ && + Kn("Patches").generateReplacementPatches_( + n[At].base_, + e, + t.patches_, + t.inversePatches_, + )) + : (e = vi(t, n, [])), + os(t), + t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), + e !== td ? e : void 0 + ); } -function r7(e, t) { - if (e) { - if (typeof e == "string") return ss(e, t); - var n = {}.toString.call(e).slice(8, -1); - return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ss(e, t) : void 0; +function vi(e, t, n) { + if (Ki(t)) return t; + const o = t[At]; + if (!o) return Ci(t, (r, i) => m2(e, o, t, r, i, n)), t; + if (o.scope_ !== e) return t; + if (!o.modified_) return xi(e, o.base_, !0), o.base_; + if (!o.finalized_) { + (o.finalized_ = !0), o.scope_.unfinalizedDrafts_--; + const r = o.copy_; + let i = r, + a = !1; + o.type_ === 3 && ((i = new Set(r)), r.clear(), (a = !0)), + Ci(i, (l, s) => m2(e, o, r, l, s, n, a)), + xi(e, r, !1), + n && + e.patches_ && + Kn("Patches").generatePatches_(o, n, e.patches_, e.inversePatches_); } + return o.copy_; } -function i7() { - throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); +function m2(e, t, n, o, r, i, a) { + if ((process.env.NODE_ENV !== "production" && r === n && Ct(5), Gn(r))) { + const l = + i && + t && + t.type_ !== 3 && // Set objects are atomic since they have no keys. + !ts(t.assigned_, o) + ? i.concat(o) + : void 0, + s = vi(e, r, l); + if ((od(n, o, s), Gn(s))) e.canAutoFreeze_ = !1; + else return; + } else a && n.add(r); + if (yn(r) && !Ki(r)) { + if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) return; + vi(e, r), + (!t || !t.scope_.parent_) && + typeof o != "symbol" && + Object.prototype.propertyIsEnumerable.call(n, o) && + xi(e, r); + } } -function gn(e) { - return n7(e) || o7(e) || r7(e) || i7(); +function xi(e, t, n = !1) { + !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && tc(t, n); +} +function _6(e, t) { + const n = Array.isArray(e), + o = { + type_: n ? 1 : 0, + // Track which produce call this is associated with. + scope_: t ? t.scope_ : rd(), + // True for both shallow and deep changes. + modified_: !1, + // Used during finalization. + finalized_: !1, + // Track which properties have been assigned (true) or deleted (false). + assigned_: {}, + // The parent draft state. + parent_: t, + // The base state. + base_: e, + // The base proxy. + draft_: null, + // set below + // The base copy with any updated values. + copy_: null, + // Called by the `produce` function. + revoke_: null, + isManual_: !1, + }; + let r = o, + i = nc; + n && ((r = [o]), (i = ir)); + const { revoke: a, proxy: l } = Proxy.revocable(r, i); + return (o.draft_ = l), (o.revoke_ = a), l; } -var Lo = function(t) { - return t === Object(t) ? Object.keys(t) : []; -}, yd = function(t) { - return t === Object(t) ? Object.values(t) : []; +var nc = { + get(e, t) { + if (t === At) return e; + const n = zn(e); + if (!ts(n, t)) return A6(e, n, t); + const o = n[t]; + return e.finalized_ || !yn(o) + ? o + : o === gl(e.base_, t) + ? (ml(e), (e.copy_[t] = as(o, e))) + : o; + }, + has(e, t) { + return t in zn(e); + }, + ownKeys(e) { + return Reflect.ownKeys(zn(e)); + }, + set(e, t, n) { + const o = id(zn(e), t); + if (o != null && o.set) return o.set.call(e.draft_, n), !0; + if (!e.modified_) { + const r = gl(zn(e), t), + i = r == null ? void 0 : r[At]; + if (i && i.base_ === n) + return (e.copy_[t] = n), (e.assigned_[t] = !1), !0; + if (x6(n, r) && (n !== void 0 || ts(e.base_, t))) return !0; + ml(e), is(e); + } + return ( + (e.copy_[t] === n && // special case: handle new props with value 'undefined' + (n !== void 0 || t in e.copy_)) || // special case: NaN + (Number.isNaN(n) && Number.isNaN(e.copy_[t])) || + ((e.copy_[t] = n), (e.assigned_[t] = !0)), + !0 + ); + }, + deleteProperty(e, t) { + return ( + gl(e.base_, t) !== void 0 || t in e.base_ + ? ((e.assigned_[t] = !1), ml(e), is(e)) + : delete e.assigned_[t], + e.copy_ && delete e.copy_[t], + !0 + ); + }, + // Note: We never coerce `desc.value` into an Immer draft, because we can't make + // the same guarantee in ES5 mode. + getOwnPropertyDescriptor(e, t) { + const n = zn(e), + o = Reflect.getOwnPropertyDescriptor(n, t); + return ( + o && { + writable: !0, + configurable: e.type_ !== 1 || t !== "length", + enumerable: o.enumerable, + value: n[t], + } + ); + }, + defineProperty() { + Ct(11); + }, + getPrototypeOf(e) { + return wo(e.base_); + }, + setPrototypeOf() { + Ct(12); + }, + }, + ir = {}; +Ci(nc, (e, t) => { + ir[e] = function () { + return (arguments[0] = arguments[0][0]), t.apply(this, arguments); + }; +}); +ir.deleteProperty = function (e, t) { + return ( + process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ct(13), + ir.set.call(this, e, t, void 0) + ); }; -function Cd(e, t) { - var n = Object.assign({}, e); - return ci(e) && ci(t) && Lo(t).forEach(function(o) { - ci(t[o]) ? o in e ? n[o] = Cd(e[o], t[o]) : Object.assign(n, lr({}, o, t[o])) : Object.assign(n, lr({}, o, t[o])); - }), n; -} -var cs = function(t) { - for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++) - o[r - 1] = arguments[r]; - return o.reduce(function(i, a) { - return Cd(i, a); - }, t); -}, a7 = function(t, n) { - var o = Object.assign({}, t); - if (n) - for (var r = 0; r < n.length; r++) - delete o[n[r]]; - return o; -}, ci = function(t) { - return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); -}, l7 = function(t) { - return (t || []).filter(Boolean); -}, sc = function(t) { - return t[0] === "&"; -}, s7 = function(t) { - return !sc(t); -}, S2 = function(t) { - return t.replace(/-(\w)/g, function(n, o) { - return o.toUpperCase(); - }); -}, c7 = function(t) { - for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = Lo(t), r = {}, i = 0, a = o.length; i < a; i += 1) { - var l = o[i], s = Object.prototype.toString.call(t[l]) !== "[object Object]" || // style defs - l[0] === ":" || // pseudo selectors - l[0] === "@" || // @media / @keyframes / @supports / @font-face - n.indexOf(l) >= 0; - s && (r[l] = t[l]); +ir.set = function (e, t, n) { + return ( + process.env.NODE_ENV !== "production" && + t !== "length" && + isNaN(parseInt(t)) && + Ct(14), + nc.set.call(this, e[0], t, n, e[0]) + ); +}; +function gl(e, t) { + const n = e[At]; + return (n ? zn(n) : e)[t]; +} +function A6(e, t, n) { + var r; + const o = id(t, n); + return o + ? "value" in o + ? o.value + : // This is a very special case, if the prop is a getter defined by the + // prototype, we should invoke it with the draft as context! + (r = o.get) == null + ? void 0 + : r.call(e.draft_) + : void 0; +} +function id(e, t) { + if (!(t in e)) return; + let n = wo(e); + for (; n; ) { + const o = Object.getOwnPropertyDescriptor(n, t); + if (o) return o; + n = wo(n); } - return r; -}, vd = function(t, n) { - for (var o = n.map(S2), r = Lo(t), i = {}, a = 0, l = r.length; a < l; a += 1) { - var s = r[a]; - (n.indexOf(s) >= 0 || o.indexOf(S2(s)) >= 0) && (i[s] = t[s]); +} +function is(e) { + e.modified_ || ((e.modified_ = !0), e.parent_ && is(e.parent_)); +} +function ml(e) { + e.copy_ || (e.copy_ = ns(e.base_, e.scope_.immer_.useStrictShallowCopy_)); +} +var M6 = class { + constructor(e) { + (this.autoFreeze_ = !0), + (this.useStrictShallowCopy_ = !1), + (this.produce = (t, n, o) => { + if (typeof t == "function" && typeof n != "function") { + const i = n; + n = t; + const a = this; + return function (s = i, ...u) { + return a.produce(s, (c) => n.call(this, c, ...u)); + }; + } + typeof n != "function" && Ct(6), + o !== void 0 && typeof o != "function" && Ct(7); + let r; + if (yn(t)) { + const i = h2(this), + a = as(t, void 0); + let l = !0; + try { + (r = n(a)), (l = !1); + } finally { + l ? os(i) : rs(i); + } + return p2(i, o), g2(r, i); + } else if (!t || typeof t != "object") { + if ( + ((r = n(t)), + r === void 0 && (r = t), + r === td && (r = void 0), + this.autoFreeze_ && tc(r, !0), + o) + ) { + const i = [], + a = []; + Kn("Patches").generateReplacementPatches_(t, r, i, a), o(i, a); + } + return r; + } else Ct(1, t); + }), + (this.produceWithPatches = (t, n) => { + if (typeof t == "function") + return (a, ...l) => this.produceWithPatches(a, (s) => t(s, ...l)); + let o, r; + return [ + this.produce(t, n, (a, l) => { + (o = a), (r = l); + }), + o, + r, + ]; + }), + typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && + this.setAutoFreeze(e.autoFreeze), + typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && + this.setUseStrictShallowCopy(e.useStrictShallowCopy); } - return i; -}, u7 = function e(t, n) { - for (var o = cs.apply(void 0, [{}, a7(t, n)].concat(gn(yd(vd(t, n))))), r = Lo(o).filter(sc), i = 0, a = r.length; i < a; i += 1) { - var l = r[i], s = e(o[l], n); - n.indexOf(l) >= 0 ? (delete o[l], o = cs({}, o, s)) : o[l] = s; + createDraft(e) { + yn(e) || Ct(8), Gn(e) && (e = T6(e)); + const t = h2(this), + n = as(e, void 0); + return (n[At].isManual_ = !0), rs(t), n; } - return o; -}; -function k2(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); + finishDraft(e, t) { + const n = e && e[At]; + (!n || !n.isManual_) && Ct(9); + const { scope_: o } = n; + return p2(o, t), g2(void 0, o); } - return n; -} -function _2(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? k2(Object(n), !0).forEach(function(o) { - lr(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + /** + * Pass true to automatically freeze all copies created by Immer. + * + * By default, auto-freezing is enabled. + */ + setAutoFreeze(e) { + this.autoFreeze_ = e; } - return e; -} -var d7 = ["animationName"], xd = function(t) { - var n = t.style, o = t.className; - return _2(_2({}, n ? { - style: c7(n, d7) - } : {}), o ? { - className: o - } : {}); -}, wd = /* @__PURE__ */ zt(xd); -wd.Provider; -var Ed = function(t) { - if (t) { - if (typeof t == "string") - return [t]; - if (!Array.isArray(t)) { - var n = t; - return Lo(t).reduce(function(o, r) { - return o.concat(n[r] ? [r] : []); - }, []); + /** + * Pass true to enable strict shallow copy. + * + * By default, immer does not copy the object descriptors such as getter, setter and non-enumrable properties. + */ + setUseStrictShallowCopy(e) { + this.useStrictShallowCopy_ = e; + } + applyPatches(e, t) { + let n; + for (n = t.length - 1; n >= 0; n--) { + const r = t[n]; + if (r.path.length === 0 && r.op === "replace") { + e = r.value; + break; + } } - } else return []; - return t; -}, f7 = {}, p7 = function(t) { - return function(n, o) { - var r = o || f7; - t.memoize = t.memoize || /* @__PURE__ */ new WeakMap(); - var i; - t.memoize.has(r) ? i = t.memoize.get(r) : (i = {}, t.memoize.set(r, i)); - var a = Ed(n).join(" "); - return a in i ? i[a] : i[a] = t(n || [], o); - }; -}; -function A2(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); + n > -1 && (t = t.slice(n + 1)); + const o = Kn("Patches").applyPatches_; + return Gn(e) ? o(e, t) : this.produce(e, (r) => o(r, t)); } - return n; +}; +function as(e, t) { + const n = Yi(e) + ? Kn("MapSet").proxyMap_(e, t) + : Gi(e) + ? Kn("MapSet").proxySet_(e, t) + : _6(e, t); + return (t ? t.scope_ : rd()).drafts_.push(n), n; } -function oo(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? A2(Object(n), !0).forEach(function(o) { - lr(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); - } - return e; +function T6(e) { + return Gn(e) || Ct(10, e), ad(e); } -var h7 = function(t) { - var n = t && Lo(t)[0]; - return n && n.split("__")[0].split("--")[0]; -}, g7 = function(t, n, o) { +function ad(e) { + if (!yn(e) || Ki(e)) return e; + const t = e[At]; + let n; if (t) { - var r = t.split(" ")[0], i = [].concat(gn(n.length === 0 ? o.map(function(a) { - return "".concat(r, "--").concat(a.substring(1)); - }) : []), gn(n.map(function(a) { - return "".concat(r, "__").concat(a); - }))); - return n.length === 0 ? [t].concat(gn(i)) : i; - } -}; -function Sd(e) { - var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xd, i = n || h7(o) || (t == null ? void 0 : t.className), a = typeof t == "function" ? t : p7(function(d, h) { - var f = Ed(d); - Eo(Array.isArray(f), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), Eo(!h || ci(h), "Optional second parameter must be a plain object."); - var m = f.filter(sc), b = f.filter(s7), y = b.length > 0 ? function(C) { - return yd(vd(C, b)); - } : function(C) { - return [C]; - }, g = function() { - var E = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - return y(u7(E, m)); - }, x = g7(i, b, m); - return Sd(oo(oo(oo({}, (t || h) && { - style: cs.apply(void 0, [{}].concat(gn(g(h)), gn(g(t)))) - }), x && { - className: x.join(" ") - }), o && { - classNames: o - }), r); - }), l = oo({}, typeof t == "function" ? t : { - style: t - }), s = gn(new Set([].concat(gn(l.className ? l.className.split(" ") : []), gn(i ? i.split(" ") : [])))), u = o ? l7(s.map(function(d) { - return o[d]; - })) : s, c = r(oo(oo({}, l), u.length > 0 ? { - className: u.join(" ") - } : {})); - return Object.assign(a, c), a; + if (!t.modified_) return t.base_; + (t.finalized_ = !0), (n = ns(e, t.scope_.immer_.useStrictShallowCopy_)); + } else n = ns(e, !0); + return ( + Ci(n, (o, r) => { + od(n, o, ad(r)); + }), + t && (t.finalized_ = !1), + n + ); } -function M2(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); +var Mt = new M6(), + ld = Mt.produce; +Mt.produceWithPatches.bind(Mt); +Mt.setAutoFreeze.bind(Mt); +Mt.setUseStrictShallowCopy.bind(Mt); +Mt.applyPatches.bind(Mt); +Mt.createDraft.bind(Mt); +Mt.finishDraft.bind(Mt); +function b2(e, t) { + function n(...o) { + if (t) { + let r = t(...o); + if (!r) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(0) + : "prepareAction did not return an object", + ); + return { + type: e, + payload: r.payload, + ...("meta" in r && { + meta: r.meta, + }), + ...("error" in r && { + error: r.error, + }), + }; + } + return { + type: e, + payload: o[0], + }; } - return n; + return ( + (n.toString = () => `${e}`), + (n.type = e), + (n.match = (o) => y6(o) && o.type === e), + n + ); } -function Bo(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? M2(Object(n), !0).forEach(function(o) { - lr(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); - } - return e; +function y2(e) { + return yn(e) ? ld(e, () => {}) : e; } -var m7 = function() { - for (var t = arguments.length, n = new Array(t), o = 0; o < t; o++) - n[o] = arguments[o]; - return n.reduce(function(r, i) { - return Bo(Bo(Bo({}, r), typeof i == "function" ? i : {}), {}, { - style: Bo(Bo({}, r.style), typeof i == "function" ? i.style : i) - }); - }, {}); -}, cc = function(t, n, o) { - var r = n.style, i = n.className, a = n.classNames, l = Je(wd), s = Be(function() { - return Sd({ - style: r, - className: i, - classNames: a - }, l); - }, [r, i, a, l]); - return s(o, t); -}, us = { exports: {} }, Vr = { exports: {} }, Ne = {}; -/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var T2; -function b7() { - if (T2) return Ne; - T2 = 1; - var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; - function C(w) { - if (typeof w == "object" && w !== null) { - var S = w.$$typeof; - switch (S) { - case t: - switch (w = w.type, w) { - case s: - case u: - case o: - case i: - case r: - case d: - return w; - default: - switch (w = w && w.$$typeof, w) { - case l: - case c: - case m: - case f: - case a: - return w; - default: - return S; - } - } - case n: - return S; - } - } - } - function E(w) { - return C(w) === u; +function C2(e, t, n) { + if (e.has(t)) { + let r = e.get(t); + return n.update && ((r = n.update(r, t, e)), e.set(t, r)), r; } - return Ne.AsyncMode = s, Ne.ConcurrentMode = u, Ne.ContextConsumer = l, Ne.ContextProvider = a, Ne.Element = t, Ne.ForwardRef = c, Ne.Fragment = o, Ne.Lazy = m, Ne.Memo = f, Ne.Portal = n, Ne.Profiler = i, Ne.StrictMode = r, Ne.Suspense = d, Ne.isAsyncMode = function(w) { - return E(w) || C(w) === s; - }, Ne.isConcurrentMode = E, Ne.isContextConsumer = function(w) { - return C(w) === l; - }, Ne.isContextProvider = function(w) { - return C(w) === a; - }, Ne.isElement = function(w) { - return typeof w == "object" && w !== null && w.$$typeof === t; - }, Ne.isForwardRef = function(w) { - return C(w) === c; - }, Ne.isFragment = function(w) { - return C(w) === o; - }, Ne.isLazy = function(w) { - return C(w) === m; - }, Ne.isMemo = function(w) { - return C(w) === f; - }, Ne.isPortal = function(w) { - return C(w) === n; - }, Ne.isProfiler = function(w) { - return C(w) === i; - }, Ne.isStrictMode = function(w) { - return C(w) === r; - }, Ne.isSuspense = function(w) { - return C(w) === d; - }, Ne.isValidElementType = function(w) { - return typeof w == "string" || typeof w == "function" || w === o || w === u || w === i || w === r || w === d || w === h || typeof w == "object" && w !== null && (w.$$typeof === m || w.$$typeof === f || w.$$typeof === a || w.$$typeof === l || w.$$typeof === c || w.$$typeof === y || w.$$typeof === g || w.$$typeof === x || w.$$typeof === b); - }, Ne.typeOf = C, Ne; -} -var De = {}; -/** @license React v16.13.1 - * react-is.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var O2; -function y7() { - return O2 || (O2 = 1, process.env.NODE_ENV !== "production" && function() { - var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119; - function C(J) { - return typeof J == "string" || typeof J == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - J === o || J === u || J === i || J === r || J === d || J === h || typeof J == "object" && J !== null && (J.$$typeof === m || J.$$typeof === f || J.$$typeof === a || J.$$typeof === l || J.$$typeof === c || J.$$typeof === y || J.$$typeof === g || J.$$typeof === x || J.$$typeof === b); - } - function E(J) { - if (typeof J == "object" && J !== null) { - var ke = J.$$typeof; - switch (ke) { - case t: - var ie = J.type; - switch (ie) { - case s: - case u: - case o: - case i: - case r: - case d: - return ie; - default: - var _e = ie && ie.$$typeof; - switch (_e) { - case l: - case c: - case m: - case f: - case a: - return _e; - default: - return ke; - } - } - case n: - return ke; - } - } - } - var w = s, S = u, _ = l, A = a, R = t, L = c, j = o, P = m, V = f, k = n, N = i, T = r, F = d, I = !1; - function D(J) { - return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(J) || E(J) === s; - } - function v(J) { - return E(J) === u; - } - function z(J) { - return E(J) === l; - } - function B(J) { - return E(J) === a; - } - function M(J) { - return typeof J == "object" && J !== null && J.$$typeof === t; - } - function W(J) { - return E(J) === c; - } - function G(J) { - return E(J) === o; - } - function K(J) { - return E(J) === m; - } - function Q(J) { - return E(J) === f; - } - function ne(J) { - return E(J) === n; - } - function oe(J) { - return E(J) === i; - } - function U(J) { - return E(J) === r; - } - function ge(J) { - return E(J) === d; - } - De.AsyncMode = w, De.ConcurrentMode = S, De.ContextConsumer = _, De.ContextProvider = A, De.Element = R, De.ForwardRef = L, De.Fragment = j, De.Lazy = P, De.Memo = V, De.Portal = k, De.Profiler = N, De.StrictMode = T, De.Suspense = F, De.isAsyncMode = D, De.isConcurrentMode = v, De.isContextConsumer = z, De.isContextProvider = B, De.isElement = M, De.isForwardRef = W, De.isFragment = G, De.isLazy = K, De.isMemo = Q, De.isPortal = ne, De.isProfiler = oe, De.isStrictMode = U, De.isSuspense = ge, De.isValidElementType = C, De.typeOf = E; - }()), De; -} -var N2; -function kd() { - return N2 || (N2 = 1, process.env.NODE_ENV === "production" ? Vr.exports = b7() : Vr.exports = y7()), Vr.exports; + if (!n.insert) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(10) + : "No insert provided for key not already in map", + ); + const o = n.insert(t, e); + return e.set(t, o), o; } -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/ -var bl, D2; -function C7() { - if (D2) return bl; - D2 = 1; - var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; - function o(i) { - if (i == null) - throw new TypeError("Object.assign cannot be called with null or undefined"); - return Object(i); - } - function r() { - try { - if (!Object.assign) - return !1; - var i = new String("abc"); - if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5") - return !1; - for (var a = {}, l = 0; l < 10; l++) - a["_" + String.fromCharCode(l)] = l; - var s = Object.getOwnPropertyNames(a).map(function(c) { - return a[c]; - }); - if (s.join("") !== "0123456789") - return !1; - var u = {}; - return "abcdefghijklmnopqrst".split("").forEach(function(c) { - u[c] = c; - }), Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst"; - } catch { - return !1; - } - } - return bl = r() ? Object.assign : function(i, a) { - for (var l, s = o(i), u, c = 1; c < arguments.length; c++) { - l = Object(arguments[c]); - for (var d in l) - t.call(l, d) && (s[d] = l[d]); - if (e) { - u = e(l); - for (var h = 0; h < u.length; h++) - n.call(l, u[h]) && (s[u[h]] = l[u[h]]); +function sd(e) { + const t = {}, + n = []; + let o; + const r = { + addCase(i, a) { + if (process.env.NODE_ENV !== "production") { + if (n.length > 0) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(26) + : "`builder.addCase` should only be called before calling `builder.addMatcher`", + ); + if (o) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(27) + : "`builder.addCase` should only be called before calling `builder.addDefaultCase`", + ); } - } - return s; - }, bl; -} -var yl, L2; -function uc() { - if (L2) return yl; - L2 = 1; - var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return yl = e, yl; + const l = typeof i == "string" ? i : i.type; + if (!l) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(28) + : "`builder.addCase` cannot be called with an empty action type", + ); + if (l in t) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(29) + : `\`builder.addCase\` cannot be called with two reducers for the same action type '${l}'`, + ); + return (t[l] = a), r; + }, + addMatcher(i, a) { + if (process.env.NODE_ENV !== "production" && o) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(30) + : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`", + ); + return ( + n.push({ + matcher: i, + reducer: a, + }), + r + ); + }, + addDefaultCase(i) { + if (process.env.NODE_ENV !== "production" && o) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(31) + : "`builder.addDefaultCase` can only be called once", + ); + return (o = i), r; + }, + }; + return e(r), [t, n, o]; } -var Cl, F2; -function _d() { - return F2 || (F2 = 1, Cl = Function.call.bind(Object.prototype.hasOwnProperty)), Cl; +function O6(e) { + return typeof e == "function"; } -var vl, R2; -function v7() { - if (R2) return vl; - R2 = 1; - var e = function() { - }; - if (process.env.NODE_ENV !== "production") { - var t = uc(), n = {}, o = _d(); - e = function(i) { - var a = "Warning: " + i; - typeof console < "u" && console.error(a); - try { - throw new Error(a); - } catch { - } - }; +function N6(e, t) { + if (process.env.NODE_ENV !== "production" && typeof t == "object") + throw new Error( + process.env.NODE_ENV === "production" + ? tt(8) + : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer", + ); + let [n, o, r] = sd(t), + i; + if (O6(e)) i = () => y2(e()); + else { + const l = y2(e); + i = () => l; } - function r(i, a, l, s, u) { - if (process.env.NODE_ENV !== "production") { - for (var c in i) - if (o(i, c)) { - var d; - try { - if (typeof i[c] != "function") { - var h = Error( - (s || "React class") + ": " + l + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." - ); - throw h.name = "Invariant Violation", h; + function a(l = i(), s) { + let u = [ + n[s.type], + ...o.filter(({ matcher: c }) => c(s)).map(({ reducer: c }) => c), + ]; + return ( + u.filter((c) => !!c).length === 0 && (u = [r]), + u.reduce((c, d) => { + if (d) + if (Gn(c)) { + const f = d(c, s); + return f === void 0 ? c : f; + } else { + if (yn(c)) return ld(c, (h) => d(h, s)); + { + const h = d(c, s); + if (h === void 0) { + if (c === null) return c; + throw new Error( + process.env.NODE_ENV === "production" + ? tt(9) + : "A case reducer on a non-draftable value must not return undefined", + ); + } + return h; } - d = i[c](a, c, s, l, null, t); - } catch (m) { - d = m; - } - if (d && !(d instanceof Error) && e( - (s || "React class") + ": type specification of " + l + " `" + c + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." - ), d instanceof Error && !(d.message in n)) { - n[d.message] = !0; - var f = u ? u() : ""; - e( - "Failed " + l + " type: " + d.message + (f ?? "") - ); } - } - } + return c; + }, l) + ); } - return r.resetWarningCache = function() { - process.env.NODE_ENV !== "production" && (n = {}); - }, vl = r, vl; + return (a.getInitialState = i), a; } -var xl, j2; -function x7() { - if (j2) return xl; - j2 = 1; - var e = kd(), t = C7(), n = uc(), o = _d(), r = v7(), i = function() { - }; - process.env.NODE_ENV !== "production" && (i = function(l) { - var s = "Warning: " + l; - typeof console < "u" && console.error(s); - try { - throw new Error(s); - } catch { - } - }); - function a() { - return null; - } - return xl = function(l, s) { - var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator"; - function d(v) { - var z = v && (u && v[u] || v[c]); - if (typeof z == "function") - return z; +var D6 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); +function L6(e, t) { + return `${e}/${t}`; +} +function F6({ creators: e } = {}) { + var n; + const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[D6]; + return function (r) { + const { name: i, reducerPath: a = i } = r; + if (!i) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(11) + : "`name` is a required option for createSlice", + ); + typeof process < "u" && + process.env.NODE_ENV === "development" && + r.initialState === void 0 && + console.error( + "You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`", + ); + const l = + (typeof r.reducers == "function" ? r.reducers(j6()) : r.reducers) || {}, + s = Object.keys(l), + u = { + sliceCaseReducersByName: {}, + sliceCaseReducersByType: {}, + actionCreators: {}, + sliceMatchers: [], + }, + c = { + addCase(C, E) { + const w = typeof C == "string" ? C : C.type; + if (!w) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(12) + : "`context.addCase` cannot be called with an empty action type", + ); + if (w in u.sliceCaseReducersByType) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(13) + : "`context.addCase` cannot be called with two reducers for the same action type: " + + w, + ); + return (u.sliceCaseReducersByType[w] = E), c; + }, + addMatcher(C, E) { + return ( + u.sliceMatchers.push({ + matcher: C, + reducer: E, + }), + c + ); + }, + exposeAction(C, E) { + return (u.actionCreators[C] = E), c; + }, + exposeCaseReducer(C, E) { + return (u.sliceCaseReducersByName[C] = E), c; + }, + }; + s.forEach((C) => { + const E = l[C], + w = { + reducerName: C, + type: L6(i, C), + createNotation: typeof r.reducers == "function", + }; + z6(E) ? P6(w, E, c, t) : I6(w, E, c); + }); + function d() { + if ( + process.env.NODE_ENV !== "production" && + typeof r.extraReducers == "object" + ) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(14) + : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice", + ); + const [C = {}, E = [], w = void 0] = + typeof r.extraReducers == "function" + ? sd(r.extraReducers) + : [r.extraReducers], + S = { + ...C, + ...u.sliceCaseReducersByType, + }; + return N6(r.initialState, (_) => { + for (let A in S) _.addCase(A, S[A]); + for (let A of u.sliceMatchers) _.addMatcher(A.matcher, A.reducer); + for (let A of E) _.addMatcher(A.matcher, A.reducer); + w && _.addDefaultCase(w); + }); } - var h = "<>", f = { - array: g("array"), - bigint: g("bigint"), - bool: g("boolean"), - func: g("function"), - number: g("number"), - object: g("object"), - string: g("string"), - symbol: g("symbol"), - any: x(), - arrayOf: C, - element: E(), - elementType: w(), - instanceOf: S, - node: L(), - objectOf: A, - oneOf: _, - oneOfType: R, - shape: P, - exact: V - }; - function m(v, z) { - return v === z ? v !== 0 || 1 / v === 1 / z : v !== v && z !== z; + const h = (C) => C, + f = /* @__PURE__ */ new Map(); + let m; + function b(C, E) { + return m || (m = d()), m(C, E); } - function b(v, z) { - this.message = v, this.data = z && typeof z == "object" ? z : {}, this.stack = ""; + function y() { + return m || (m = d()), m.getInitialState(); } - b.prototype = Error.prototype; - function y(v) { - if (process.env.NODE_ENV !== "production") - var z = {}, B = 0; - function M(G, K, Q, ne, oe, U, ge) { - if (ne = ne || h, U = U || Q, ge !== n) { - if (s) { - var J = new Error( - "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types" + function g(C, E = !1) { + function w(_) { + let A = _[C]; + if (typeof A > "u") { + if (E) A = y(); + else if (process.env.NODE_ENV !== "production") + throw new Error( + process.env.NODE_ENV === "production" + ? tt(15) + : "selectSlice returned undefined for an uninjected slice reducer", ); - throw J.name = "Invariant Violation", J; - } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { - var ke = ne + ":" + Q; - !z[ke] && // Avoid spamming the console because they are often not actionable except for lib authors - B < 3 && (i( - "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + ne + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." - ), z[ke] = !0, B++); - } } - return K[Q] == null ? G ? K[Q] === null ? new b("The " + oe + " `" + U + "` is marked as required " + ("in `" + ne + "`, but its value is `null`.")) : new b("The " + oe + " `" + U + "` is marked as required in " + ("`" + ne + "`, but its value is `undefined`.")) : null : v(K, Q, ne, oe, U); + return A; } - var W = M.bind(null, !1); - return W.isRequired = M.bind(null, !0), W; - } - function g(v) { - function z(B, M, W, G, K, Q) { - var ne = B[M], oe = T(ne); - if (oe !== v) { - var U = F(ne); - return new b( - "Invalid " + G + " `" + K + "` of type " + ("`" + U + "` supplied to `" + W + "`, expected ") + ("`" + v + "`."), - { expectedType: v } - ); - } - return null; - } - return y(z); - } - function x() { - return y(a); - } - function C(v) { - function z(B, M, W, G, K) { - if (typeof v != "function") - return new b("Property `" + K + "` of component `" + W + "` has invalid PropType notation inside arrayOf."); - var Q = B[M]; - if (!Array.isArray(Q)) { - var ne = T(Q); - return new b("Invalid " + G + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an array.")); - } - for (var oe = 0; oe < Q.length; oe++) { - var U = v(Q, oe, W, G, K + "[" + oe + "]", n); - if (U instanceof Error) - return U; - } - return null; - } - return y(z); - } - function E() { - function v(z, B, M, W, G) { - var K = z[B]; - if (!l(K)) { - var Q = T(K); - return new b("Invalid " + W + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + M + "`, expected a single ReactElement.")); - } - return null; - } - return y(v); - } - function w() { - function v(z, B, M, W, G) { - var K = z[B]; - if (!e.isValidElementType(K)) { - var Q = T(K); - return new b("Invalid " + W + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + M + "`, expected a single ReactElement type.")); - } - return null; - } - return y(v); - } - function S(v) { - function z(B, M, W, G, K) { - if (!(B[M] instanceof v)) { - var Q = v.name || h, ne = D(B[M]); - return new b("Invalid " + G + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected ") + ("instance of `" + Q + "`.")); - } - return null; - } - return y(z); - } - function _(v) { - if (!Array.isArray(v)) - return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i( - "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." - ) : i("Invalid argument supplied to oneOf, expected an array.")), a; - function z(B, M, W, G, K) { - for (var Q = B[M], ne = 0; ne < v.length; ne++) - if (m(Q, v[ne])) - return null; - var oe = JSON.stringify(v, function(ge, J) { - var ke = F(J); - return ke === "symbol" ? String(J) : J; + function S(_ = h) { + const A = C2(f, E, { + insert: () => /* @__PURE__ */ new WeakMap(), + }); + return C2(A, _, { + insert: () => { + const R = {}; + for (const [L, j] of Object.entries(r.selectors ?? {})) + R[L] = R6(j, _, y, E); + return R; + }, }); - return new b("Invalid " + G + " `" + K + "` of value `" + String(Q) + "` " + ("supplied to `" + W + "`, expected one of " + oe + ".")); } - return y(z); + return { + reducerPath: C, + getSelectors: S, + get selectors() { + return S(w); + }, + selectSlice: w, + }; } - function A(v) { - function z(B, M, W, G, K) { - if (typeof v != "function") - return new b("Property `" + K + "` of component `" + W + "` has invalid PropType notation inside objectOf."); - var Q = B[M], ne = T(Q); - if (ne !== "object") - return new b("Invalid " + G + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + W + "`, expected an object.")); - for (var oe in Q) - if (o(Q, oe)) { - var U = v(Q, oe, W, G, K + "." + oe, n); - if (U instanceof Error) - return U; + const x = { + name: i, + reducer: b, + actions: u.actionCreators, + caseReducers: u.sliceCaseReducersByName, + getInitialState: y, + ...g(a), + injectInto(C, { reducerPath: E, ...w } = {}) { + const S = E ?? a; + return ( + C.inject( + { + reducerPath: S, + reducer: b, + }, + w, + ), + { + ...x, + ...g(S, !0), } - return null; - } - return y(z); - } - function R(v) { - if (!Array.isArray(v)) - return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a; - for (var z = 0; z < v.length; z++) { - var B = v[z]; - if (typeof B != "function") - return i( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + I(B) + " at index " + z + "." - ), a; - } - function M(W, G, K, Q, ne) { - for (var oe = [], U = 0; U < v.length; U++) { - var ge = v[U], J = ge(W, G, K, Q, ne, n); - if (J == null) - return null; - J.data && o(J.data, "expectedType") && oe.push(J.data.expectedType); - } - var ke = oe.length > 0 ? ", expected one of type [" + oe.join(", ") + "]" : ""; - return new b("Invalid " + Q + " `" + ne + "` supplied to " + ("`" + K + "`" + ke + ".")); - } - return y(M); - } - function L() { - function v(z, B, M, W, G) { - return k(z[B]) ? null : new b("Invalid " + W + " `" + G + "` supplied to " + ("`" + M + "`, expected a ReactNode.")); - } - return y(v); - } - function j(v, z, B, M, W) { - return new b( - (v || "React class") + ": " + z + " type `" + B + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`." - ); - } - function P(v) { - function z(B, M, W, G, K) { - var Q = B[M], ne = T(Q); - if (ne !== "object") - return new b("Invalid " + G + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`.")); - for (var oe in v) { - var U = v[oe]; - if (typeof U != "function") - return j(W, G, K, oe, F(U)); - var ge = U(Q, oe, W, G, K + "." + oe, n); - if (ge) - return ge; - } - return null; - } - return y(z); - } - function V(v) { - function z(B, M, W, G, K) { - var Q = B[M], ne = T(Q); - if (ne !== "object") - return new b("Invalid " + G + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + W + "`, expected `object`.")); - var oe = t({}, B[M], v); - for (var U in oe) { - var ge = v[U]; - if (o(v, U) && typeof ge != "function") - return j(W, G, K, U, F(ge)); - if (!ge) - return new b( - "Invalid " + G + " `" + K + "` key `" + U + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(B[M], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(v), null, " ") - ); - var J = ge(Q, U, W, G, K + "." + U, n); - if (J) - return J; - } - return null; - } - return y(z); - } - function k(v) { - switch (typeof v) { - case "number": - case "string": - case "undefined": - return !0; - case "boolean": - return !v; - case "object": - if (Array.isArray(v)) - return v.every(k); - if (v === null || l(v)) - return !0; - var z = d(v); - if (z) { - var B = z.call(v), M; - if (z !== v.entries) { - for (; !(M = B.next()).done; ) - if (!k(M.value)) - return !1; - } else - for (; !(M = B.next()).done; ) { - var W = M.value; - if (W && !k(W[1])) - return !1; - } - } else - return !1; - return !0; - default: - return !1; - } - } - function N(v, z) { - return v === "symbol" ? !0 : z ? z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && z instanceof Symbol : !1; - } - function T(v) { - var z = typeof v; - return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : N(z, v) ? "symbol" : z; - } - function F(v) { - if (typeof v > "u" || v === null) - return "" + v; - var z = T(v); - if (z === "object") { - if (v instanceof Date) - return "date"; - if (v instanceof RegExp) - return "regexp"; - } - return z; - } - function I(v) { - var z = F(v); - switch (z) { - case "array": - case "object": - return "an " + z; - case "boolean": - case "date": - case "regexp": - return "a " + z; - default: - return z; - } - } - function D(v) { - return !v.constructor || !v.constructor.name ? h : v.constructor.name; - } - return f.checkPropTypes = r, f.resetWarningCache = r.resetWarningCache, f.PropTypes = f, f; - }, xl; -} -var wl, I2; -function w7() { - if (I2) return wl; - I2 = 1; - var e = uc(); - function t() { - } - function n() { - } - return n.resetWarningCache = t, wl = function() { - function o(a, l, s, u, c, d) { - if (d !== e) { - var h = new Error( - "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types" ); - throw h.name = "Invariant Violation", h; - } - } - o.isRequired = o; - function r() { - return o; - } - var i = { - array: o, - bigint: o, - bool: o, - func: o, - number: o, - object: o, - string: o, - symbol: o, - any: o, - arrayOf: r, - element: o, - elementType: o, - instanceOf: r, - node: o, - objectOf: r, - oneOf: r, - oneOfType: r, - shape: r, - exact: r, - checkPropTypes: n, - resetWarningCache: t + }, }; - return i.PropTypes = i, i; - }, wl; -} -if (process.env.NODE_ENV !== "production") { - var E7 = kd(), S7 = !0; - us.exports = x7()(E7.isElement, S7); -} else - us.exports = w7()(); -var k7 = us.exports; -const q = /* @__PURE__ */ un(k7); -var ui = function(t) { - return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); -}, rn = { - id: "__id__", - display: "__display__" -}, z2 = function(t, n) { - Eo(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); - var o = t.indexOf(rn.display), r = t.indexOf(rn.id); - return o < 0 && (o = null), r < 0 && (r = null), Eo(o !== null || r !== null, "The markup '".concat(t, "' does not contain either of the placeholders '__id__' or '__display__'")), o !== null && r !== null ? n === "id" && r <= o || n === "display" && o <= r ? 0 : 1 : 0; -}, _7 = function(t) { - var n = /^\/(.+)\/(\w+)?$/; - return new RegExp(t.map(function(o) { - var r = n.exec(o.toString()), i = ki(r, 3), a = i[1], l = i[2]; - return Eo(!l, "RegExp flags are not supported. Change /".concat(a, "/").concat(l, " into /").concat(a, "/")), "(".concat(a, ")"); - }).join("|"), "g"); -}, Ad = function(t) { - var n = 0; - return t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n; -}, A7 = function() { -}, kr = function(t, n, o) { - for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : A7, i = _7(n.map(function(w) { - return w.regex; - })), a = 2, l = n.map(function(w) { - var S = w.markup, _ = a; - return a += Ad(S) + 1, _; - }), s, u = 0, c = 0; (s = i.exec(t)) !== null; ) { - var d = l.find(function(w) { - return !!s[w]; - }), h = l.indexOf(d), f = n[h], m = f.markup, b = f.displayTransform, y = d + z2(m, "id"), g = d + z2(m, "display"), x = s[y], C = b(x, s[g]), E = t.substring(u, s.index); - r(E, u, c), c += E.length, o(s[0], s.index, c, x, C, h, u), c += C.length, u = i.lastIndex; - } - u < t.length && r(t.substring(u), u, c); -}, Pn = function(t, n) { - var o = ""; - return kr(t, n, function(r, i, a, l, s) { - o += s; - }, function(r) { - o += r; - }), o; -}, mt = function(t, n, o) { - var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "START"; - if (typeof o != "number") - return o; - var i, a = function(u, c, d) { - i === void 0 && d + u.length >= o && (i = c + o - d); - }, l = function(u, c, d, h, f, m, b) { - i === void 0 && d + f.length > o && (r === "NULL" ? i = null : i = c + (r === "END" ? u.length : 0)); + return x; }; - return kr(t, n, l, a), i === void 0 ? t.length : i; -}, er = function(t, n, o, r) { - return t.substring(0, n) + r + t.substring(o); -}, M7 = function(t, n, o, r) { - var i = o.selectionStartBefore, a = o.selectionEndBefore, l = o.selectionEndAfter, s = Pn(t, r), u = s.length - n.length; - i === "undefined" && (i = l + u), a === "undefined" && (a = i), i === a && a === l && s.length === n.length && (i = i - 1); - var c = n.slice(i, l), d = Math.min(i, l), h = a; - i === l && (h = Math.max(a, i + u)); - var f = mt(t, r, d, "START"), m = mt(t, r, h, "END"), b = mt(t, r, d, "NULL"), y = mt(t, r, h, "NULL"), g = b === null || y === null, x = er(t, f, m, c); - if (!g) { - var C = Pn(x, r); - if (C !== n) { - for (d = 0; n[d] === C[d]; ) - d++; - c = n.slice(d, l), h = s.lastIndexOf(n.substring(l)), f = mt(t, r, d, "START"), m = mt(t, r, h, "END"), x = er(t, f, m, c); +} +function R6(e, t, n, o) { + function r(i, ...a) { + let l = t(i); + if (typeof l > "u") { + if (o) l = n(); + else if (process.env.NODE_ENV !== "production") + throw new Error( + process.env.NODE_ENV === "production" + ? tt(16) + : "selectState returned undefined for an uninjected slice reducer", + ); } + return e(l, ...a); } - return x; -}, H2 = function(t, n, o) { - var r = o, i = !1, a = function(s, u, c, d, h, f, m) { - c <= o && c + h.length > o && (r = c, i = !0); - }; - if (kr(t, n, a), i) - return r; -}, Go = function(t, n) { - var o = []; - return kr(t, n, function(r, i, a, l, s, u, c) { - o.push({ - id: l, - display: s, - childIndex: u, - index: i, - plainTextIndex: a - }); - }), o; -}, Md = function(t, n) { - return "".concat(t, "-").concat(n); -}, $r = function(t) { - return Object.values(t).reduce(function(n, o) { - var r = o.results; - return n + r.length; - }, 0); -}, T7 = function(t, n) { - var o = Go(t, n), r = o[o.length - 1]; - return r ? r.plainTextIndex + r.display.length : 0; -}, O7 = function(t) { - var n = ui(t), o = t[t.indexOf(rn.display) + rn.display.length], r = t[t.indexOf(rn.id) + rn.id.length]; - return new RegExp(n.replace(rn.display, "([^".concat(ui(o || ""), "]+?)")).replace(rn.id, "([^".concat(ui(r || ""), "]+?)"))); -}, Mn = function(t) { - return xo.toArray(t).map(function(n) { - var o = n.props, r = o.markup, i = o.regex, a = o.displayTransform; + return (r.unwrapped = e), r; +} +var oc = /* @__PURE__ */ F6(); +function j6() { + function e(t, n) { return { - markup: r, - regex: i ? N7(i, r) : O7(r), - displayTransform: a || function(l, s) { - return s || l; - } + _reducerDefinitionType: "asyncThunk", + payloadCreator: t, + ...n, }; - }); -}, N7 = function(t, n) { - var o = new RegExp(t.toString() + "|").exec("").length - 1, r = Ad(n); - return Eo(o === r, "Number of capturing groups in RegExp ".concat(t.toString(), " (").concat(o, ") does not match the number of placeholders in the markup '").concat(n, "' (").concat(r, ")")), t; -}, D7 = function(t, n, o) { - return t.replace(rn.id, n).replace(rn.display, o); -}, L7 = [{ - base: "A", - letters: /(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g -}, { - base: "AA", - letters: /(Ꜳ|[\uA732])/g -}, { - base: "AE", - letters: /(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g -}, { - base: "AO", - letters: /(Ꜵ|[\uA734])/g -}, { - base: "AU", - letters: /(Ꜷ|[\uA736])/g -}, { - base: "AV", - letters: /(Ꜹ|Ꜻ|[\uA738\uA73A])/g -}, { - base: "AY", - letters: /(Ꜽ|[\uA73C])/g -}, { - base: "B", - letters: /(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g -}, { - base: "C", - letters: /(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g -}, { - base: "D", - letters: /(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g -}, { - base: "DZ", - letters: /(DZ|DŽ|[\u01F1\u01C4])/g -}, { - base: "Dz", - letters: /(Dz|Dž|[\u01F2\u01C5])/g -}, { - base: "E", - letters: /(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g -}, { - base: "F", - letters: /(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g -}, { - base: "G", - letters: /(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g -}, { - base: "H", - letters: /(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g -}, { - base: "I", - letters: /(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g -}, { - base: "J", - letters: /(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g -}, { - base: "K", - letters: /(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g -}, { - base: "L", - letters: /(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g -}, { - base: "LJ", - letters: /(LJ|[\u01C7])/g -}, { - base: "Lj", - letters: /(Lj|[\u01C8])/g -}, { - base: "M", - letters: /(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g -}, { - base: "N", - letters: /(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g -}, { - base: "NJ", - letters: /(NJ|[\u01CA])/g -}, { - base: "Nj", - letters: /(Nj|[\u01CB])/g -}, { - base: "O", - letters: /(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g -}, { - base: "OE", - letters: /(Œ|[\u0152])/g -}, { - base: "OI", - letters: /(Ƣ|[\u01A2])/g -}, { - base: "OO", - letters: /(Ꝏ|[\uA74E])/g -}, { - base: "OU", - letters: /(Ȣ|[\u0222])/g -}, { - base: "P", - letters: /(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g -}, { - base: "Q", - letters: /(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g -}, { - base: "R", - letters: /(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g -}, { - base: "S", - letters: /(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g -}, { - base: "T", - letters: /(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g -}, { - base: "TH", - letters: /(Þ|[\u00DE])/g -}, { - base: "TZ", - letters: /(Ꜩ|[\uA728])/g -}, { - base: "U", - letters: /(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g -}, { - base: "V", - letters: /(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g -}, { - base: "VY", - letters: /(Ꝡ|[\uA760])/g -}, { - base: "W", - letters: /(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g -}, { - base: "X", - letters: /(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g -}, { - base: "Y", - letters: /(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g -}, { - base: "Z", - letters: /(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g -}, { - base: "a", - letters: /(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g -}, { - base: "aa", - letters: /(ꜳ|[\uA733])/g -}, { - base: "ae", - letters: /(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g -}, { - base: "ao", - letters: /(ꜵ|[\uA735])/g -}, { - base: "au", - letters: /(ꜷ|[\uA737])/g -}, { - base: "av", - letters: /(ꜹ|ꜻ|[\uA739\uA73B])/g -}, { - base: "ay", - letters: /(ꜽ|[\uA73D])/g -}, { - base: "b", - letters: /(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g -}, { - base: "c", - letters: /(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g -}, { - base: "d", - letters: /(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g -}, { - base: "dz", - letters: /(dz|dž|[\u01F3\u01C6])/g -}, { - base: "e", - letters: /(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g -}, { - base: "f", - letters: /(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g -}, { - base: "g", - letters: /(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g -}, { - base: "h", - letters: /(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g -}, { - base: "hv", - letters: /(ƕ|[\u0195])/g -}, { - base: "i", - letters: /(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g -}, { - base: "ij", - letters: /(ij|[\u0133])/g -}, { - base: "j", - letters: /(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g -}, { - base: "k", - letters: /(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g -}, { - base: "l", - letters: /(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g -}, { - base: "lj", - letters: /(lj|[\u01C9])/g -}, { - base: "m", - letters: /(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g -}, { - base: "n", - letters: /(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g -}, { - base: "nj", - letters: /(nj|[\u01CC])/g -}, { - base: "o", - letters: /(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g -}, { - base: "oe", - letters: /(œ|[\u0153])/g -}, { - base: "oi", - letters: /(ƣ|[\u01A3])/g -}, { - base: "ou", - letters: /(ȣ|[\u0223])/g -}, { - base: "oo", - letters: /(ꝏ|[\uA74F])/g -}, { - base: "p", - letters: /(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g -}, { - base: "q", - letters: /(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g -}, { - base: "r", - letters: /(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g -}, { - base: "s", - letters: /(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g -}, { - base: "ss", - letters: /(ß|[\u00DF])/g -}, { - base: "t", - letters: /(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g -}, { - base: "th", - letters: /(þ|[\u00FE])/g -}, { - base: "tz", - letters: /(ꜩ|[\uA729])/g -}, { - base: "u", - letters: /(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g -}, { - base: "v", - letters: /(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g -}, { - base: "vy", - letters: /(ꝡ|[\uA761])/g -}, { - base: "w", - letters: /(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g -}, { - base: "x", - letters: /(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g -}, { - base: "y", - letters: /(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g -}, { - base: "z", - letters: /(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g -}], F7 = function(t) { - var n = t; - return L7.forEach(function(o) { - n = n.replace(o.letters, o.base); - }), n; -}, P2 = function(t) { - return F7(t).toLowerCase(); -}, Td = function(t, n, o) { - return o ? P2(t).indexOf(P2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); -}, R7 = function() { - return !!document.documentMode; -}, ds = function(t) { - return typeof t == "number"; -}, j7 = function(t) { - return t === Object(t) ? Object.keys(t) : []; -}, I7 = function(t) { - for (var n, o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), i = 1; i < o; i++) - r[i - 1] = arguments[i]; - var a = (n = []).concat.apply(n, r); - return Object.keys(t).reduce(function(l, s) { - return t.hasOwnProperty(s) && !a.includes(s) && t[s] !== void 0 && (l[s] = t[s]), l; - }, {}); -}, z7 = ["style", "className", "classNames"]; -function B2(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); - } - return n; -} -function V2(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? B2(Object(n), !0).forEach(function(o) { - be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); } - return e; -} -function Qi(e, t) { - var n = function(r) { - var i = function(s) { - var u = s.style, c = s.className, d = s.classNames, h = J8(s, z7), f = t ? t(h) : void 0, m = cc(e, { - style: u, - className: c, - classNames: d - }, f); - return /* @__PURE__ */ $.createElement(r, It({}, h, { - style: m - })); - }, a = r.displayName || r.name || "Component"; - return i.displayName = "defaultStyle(".concat(a, ")"), /* @__PURE__ */ $.forwardRef(function(l, s) { - return i(V2(V2({}, l), {}, { - ref: s - })); - }); - }; - return n; -} -var H7 = function(t, n) { - return t.hasOwnProperty(n) ? t[n]++ : t[n] = 0, n + "_" + t[n]; -}; -function Od(e) { - var t = e.selectionStart, n = e.selectionEnd, o = e.value, r = o === void 0 ? "" : o, i = e.onCaretPositionChange, a = e.containerRef, l = e.children; - e.singleLine; - var s = e.style, u = ue({ - left: void 0, - top: void 0 - }), c = ki(u, 2), d = c[0], h = c[1], f = ue(), m = ki(f, 2), b = m[0], y = m[1]; - ce(function() { - g(); - }); - var g = function() { - if (b) { - var k = b.offsetLeft, N = b.offsetTop; - if (!(d.left === k && d.top === N)) { - var T = { - left: k, - top: N + return ( + (e.withTypes = () => e), + { + reducer(t) { + return Object.assign( + { + // hack so the wrapping function has the same name as the original + // we need to create a wrapper so the `reducerDefinitionType` is not assigned to the original + [t.name](...n) { + return t(...n); + }, + }[t.name], + { + _reducerDefinitionType: "reducer", + /* reducer */ + }, + ); + }, + preparedReducer(t, n) { + return { + _reducerDefinitionType: "reducerWithPrepare", + prepare: t, + reducer: n, }; - h(T), i(T); - } + }, + asyncThunk: e, } - }, x = Mn(l), C; - n === t && (C = mt(r, x, t, "START")); - var E = [], w = {}, S = E, _ = 0, A = function(k, N, T) { - if (ds(C) && C >= N && C <= N + k.length) { - var F = C - N; - S.push(L(k.substring(0, F), _)), S = [L(k.substring(F), _)]; - } else - S.push(L(k, _)); - _++; - }, R = function(k, N, T, F, I, D, v) { - var z = H7(w, F); - S.push(j(F, I, D, z)); - }, L = function(k, N) { - return /* @__PURE__ */ $.createElement("span", It({}, s("substring"), { - key: N - }), k); - }, j = function(k, N, T, F) { - var I = { - id: k, - display: N, - key: F - }, D = xo.toArray(l)[T]; - return /* @__PURE__ */ $.cloneElement(D, I); - }, P = function(k) { - return /* @__PURE__ */ $.createElement("span", It({}, s("caret"), { - ref: y, - key: "caret" - }), k); - }; - return kr(r, x, R, A), S.push(" "), S !== E && E.push(P(S)), /* @__PURE__ */ $.createElement("div", It({}, s, { - ref: a - }), E); -} -Od.propTypes = { - selectionStart: q.number, - selectionEnd: q.number, - value: q.string.isRequired, - onCaretPositionChange: q.func.isRequired, - containerRef: q.oneOfType([q.func, q.shape({ - current: typeof Element > "u" ? q.any : q.instanceOf(Element) - })]), - children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired -}; -var P7 = Qi({ - position: "relative", - boxSizing: "border-box", - width: "100%", - color: "transparent", - overflow: "hidden", - whiteSpace: "pre-wrap", - wordWrap: "break-word", - border: "1px solid transparent", - textAlign: "start", - "&singleLine": { - whiteSpace: "pre", - wordWrap: null - }, - substring: { - visibility: "hidden" - } -}, function(e) { - return { - "&singleLine": e.singleLine - }; -}), B7 = P7(Od); -function Nd(e) { - var t = e.id, n = e.focused, o = e.ignoreAccents, r = e.index, i = e.onClick, a = e.onMouseEnter, l = e.query, s = e.renderSuggestion, u = e.suggestion, c = e.style; - e.className, e.classNames; - var d = { - onClick: i, - onMouseEnter: a - }, h = function() { - var y = f(), g = m(y); - return s ? s(u, l, g, r, n) : g; - }, f = function() { - if (typeof u == "string") - return u; - var y = u.id, g = u.display; - return y === void 0 || !g ? y : g; - }, m = function(y) { - var g = Td(y, l, o); - return g === -1 ? /* @__PURE__ */ $.createElement("span", c("display"), y) : /* @__PURE__ */ $.createElement("span", c("display"), y.substring(0, g), /* @__PURE__ */ $.createElement("b", c("highlight"), y.substring(g, g + l.length)), y.substring(g + l.length)); - }; - return /* @__PURE__ */ $.createElement("li", It({ - id: t, - role: "option", - "aria-selected": n - }, d, c), h()); + ); } -Nd.propTypes = { - id: q.string.isRequired, - query: q.string.isRequired, - index: q.number.isRequired, - ignoreAccents: q.bool, - suggestion: q.oneOfType([q.string, q.shape({ - id: q.oneOfType([q.string, q.number]).isRequired, - display: q.string - })]).isRequired, - renderSuggestion: q.func, - focused: q.bool -}; -var V7 = Qi({ - cursor: "pointer" -}, function(e) { - return { - "&focused": e.focused - }; -}), $7 = V7(Nd); -function W7(e) { - var t = e.style, n = e.className, o = e.classNames, r = cc(Z7, { - style: t, - className: n, - classNames: o - }), i = r("spinner"); - return /* @__PURE__ */ $.createElement("div", r, /* @__PURE__ */ $.createElement("div", i, /* @__PURE__ */ $.createElement("div", i(["element", "element1"])), /* @__PURE__ */ $.createElement("div", i(["element", "element2"])), /* @__PURE__ */ $.createElement("div", i(["element", "element3"])), /* @__PURE__ */ $.createElement("div", i(["element", "element4"])), /* @__PURE__ */ $.createElement("div", i(["element", "element5"])))); +function I6({ type: e, reducerName: t, createNotation: n }, o, r) { + let i, a; + if ("reducer" in o) { + if (n && !H6(o)) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(17) + : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.", + ); + (i = o.reducer), (a = o.prepare); + } else i = o; + r.addCase(e, i) + .exposeCaseReducer(t, i) + .exposeAction(t, a ? b2(e, a) : b2(e)); } -var Z7 = {}; -function Dd(e) { - var t = e.id, n = e.suggestions, o = n === void 0 ? {} : n, r = e.a11ySuggestionsListLabel, i = e.focusIndex, a = e.position, l = e.left, s = e.right, u = e.top, c = e.scrollFocusedIntoView, d = e.isLoading, h = e.isOpened, f = e.onSelect, m = f === void 0 ? function() { - return null; - } : f, b = e.ignoreAccents, y = e.containerRef, g = e.children, x = e.style, C = e.customSuggestionsContainer, E = e.onMouseDown, w = e.onMouseEnter, S = ue(void 0), _ = ki(S, 2), A = _[0], R = _[1]; - ce(function() { - if (!(!A || A.offsetHeight >= A.scrollHeight || !c)) { - var T = A.scrollTop, F = A.children[i].getBoundingClientRect(), I = F.top, D = F.bottom, v = A.getBoundingClientRect(), z = v.top; - I = I - z + T, D = D - z + T, I < T ? A.scrollTop = I : D > A.offsetHeight && (A.scrollTop = D - A.offsetHeight); - } - }, [i, c, A]); - var L = function() { - var F = /* @__PURE__ */ $.createElement("ul", It({ - ref: R, - id: t, - role: "listbox", - "aria-label": r - }, x("list")), Object.values(o).reduce(function(I, D) { - var v = D.results, z = D.queryInfo; - return [].concat(Ei(I), Ei(v.map(function(B, M) { - return j(B, z, I.length + M); - }))); - }, [])); - return C ? C(F) : F; - }, j = function(F, I, D) { - var v = D === i, z = I.childIndex, B = I.query, M = xo.toArray(g)[z].props.renderSuggestion; - return /* @__PURE__ */ $.createElement($7, { - style: x("item"), - key: "".concat(z, "-").concat(N(F)), - id: Md(t, D), - query: B, - index: D, - ignoreAccents: b, - renderSuggestion: M, - suggestion: F, - focused: v, - onClick: function() { - return k(F, I); - }, - onMouseEnter: function() { - return V(D); - } - }); - }, P = function() { - if (d) - return /* @__PURE__ */ $.createElement(W7, { - style: x("loadingIndicator") - }); - }, V = function(F, I) { - w && w(F); - }, k = function(F, I) { - m(F, I); - }, N = function(F) { - return typeof F == "string" ? F : F.id; - }; - return h ? /* @__PURE__ */ $.createElement("div", It({}, m7({ - position: a || "absolute", - left: l, - right: s, - top: u - }, x), { - onMouseDown: E, - ref: y - }), L(), P()) : null; +function z6(e) { + return e._reducerDefinitionType === "asyncThunk"; } -Dd.propTypes = { - id: q.string.isRequired, - suggestions: q.object.isRequired, - a11ySuggestionsListLabel: q.string, - focusIndex: q.number, - position: q.string, - left: q.number, - right: q.number, - top: q.number, - scrollFocusedIntoView: q.bool, - isLoading: q.bool, - isOpened: q.bool.isRequired, - onSelect: q.func, - ignoreAccents: q.bool, - customSuggestionsContainer: q.func, - containerRef: q.oneOfType([q.func, q.shape({ - current: typeof Element > "u" ? q.any : q.instanceOf(Element) - })]) -}; -var U7 = Qi({ - zIndex: 1, - backgroundColor: "white", - marginTop: 14, - minWidth: 100, - list: { - margin: 0, - padding: 0, - listStyleType: "none" - } -}), q7 = U7(Dd); -function $2(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - t && (o = o.filter(function(r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), n.push.apply(n, o); - } - return n; +function H6(e) { + return e._reducerDefinitionType === "reducerWithPrepare"; } -function Zt(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? $2(Object(n), !0).forEach(function(o) { - be(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); +function P6({ type: e, reducerName: t }, n, o, r) { + if (!r) + throw new Error( + process.env.NODE_ENV === "production" + ? tt(18) + : "Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.", + ); + const { + payloadCreator: i, + fulfilled: a, + pending: l, + rejected: s, + settled: u, + options: c, + } = n, + d = r(e, i, c); + o.exposeAction(t, d), + a && o.addCase(d.fulfilled, a), + l && o.addCase(d.pending, l), + s && o.addCase(d.rejected, s), + u && o.addMatcher(d.settled, u), + o.exposeCaseReducer(t, { + fulfilled: a || Pr, + pending: l || Pr, + rejected: s || Pr, + settled: u || Pr, }); - } - return e; -} -function Y7(e) { - var t = G7(); - return function() { - var o = Si(e), r; - if (t) { - var i = Si(this).constructor; - r = Reflect.construct(o, arguments, i); - } else - r = o.apply(this, arguments); - return U8(this, r); - }; } -function G7() { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; - if (typeof Proxy == "function") return !0; - try { - return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { - })), !0; - } catch { - return !1; - } +function Pr() {} +function tt(e) { + return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `; } -var K7 = function(t) { - var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - if (t instanceof RegExp) - return t; - var o = n.allowSpaceInQuery, r = ui(t); - return new RegExp("(?:^|\\s)(".concat(r, "([^").concat(o ? "" : "\\s").concat(r, "]*))$")); -}, X7 = function(t, n) { - return t instanceof Array ? function(o, r) { - for (var i = [], a = 0, l = t.length; a < l; ++a) { - var s = t[a].display || t[a].id; - Td(s, o, n) >= 0 && i.push(t[a]); - } - return i; - } : t; -}, ro = { - TAB: 9, - RETURN: 13, - ESC: 27, - UP: 38, - DOWN: 40 -}, Wr = !1, Ld = { - /** - * If set to `true` a regular text input element will be rendered - * instead of a textarea - */ - singleLine: q.bool, - allowSpaceInQuery: q.bool, - allowSuggestionsAboveCursor: q.bool, - forceSuggestionsAboveCursor: q.bool, - ignoreAccents: q.bool, - a11ySuggestionsListLabel: q.string, - value: q.string, - onKeyDown: q.func, - customSuggestionsContainer: q.func, - onSelect: q.func, - onBlur: q.func, - onChange: q.func, - suggestionsPortalHost: typeof Element > "u" ? q.any : q.PropTypes.instanceOf(Element), - inputRef: q.oneOfType([q.func, q.shape({ - current: typeof Element > "u" ? q.any : q.instanceOf(Element) - })]), - children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired -}, dc = /* @__PURE__ */ function(e) { - Z8(n, e); - var t = Y7(n); - function n(o) { - var r; - return V8(this, n), r = t.call(this, o), be(ve(r), "setContainerElement", function(i) { - r.containerElement = i; - }), be(ve(r), "getInputProps", function() { - var i = r.props, a = i.readOnly, l = i.disabled, s = i.style, u = I7( - r.props, - ["style", "classNames", "className"], - // substyle props - j7(Ld) - ); - return Zt(Zt(Zt(Zt({}, u), s("input")), {}, { - value: r.getPlainText(), - onScroll: r.updateHighlighterScroll - }, !a && !l && { - onChange: r.handleChange, - onSelect: r.handleSelect, - onKeyDown: r.handleKeyDown, - onBlur: r.handleBlur, - onCompositionStart: r.handleCompositionStart, - onCompositionEnd: r.handleCompositionEnd - }), r.isOpened() && { - role: "combobox", - "aria-controls": r.uuidSuggestionsOverlay, - "aria-expanded": !0, - "aria-autocomplete": "list", - "aria-haspopup": "listbox", - "aria-activedescendant": Md(r.uuidSuggestionsOverlay, r.state.focusIndex) - }); - }), be(ve(r), "renderControl", function() { - var i = r.props, a = i.singleLine, l = i.style, s = r.getInputProps(); - return /* @__PURE__ */ $.createElement("div", l("control"), r.renderHighlighter(), a ? r.renderInput(s) : r.renderTextarea(s)); - }), be(ve(r), "renderInput", function(i) { - return /* @__PURE__ */ $.createElement("input", It({ - type: "text", - ref: r.setInputRef - }, i)); - }), be(ve(r), "renderTextarea", function(i) { - return /* @__PURE__ */ $.createElement("textarea", It({ - ref: r.setInputRef - }, i)); - }), be(ve(r), "setInputRef", function(i) { - r.inputElement = i; - var a = r.props.inputRef; - typeof a == "function" ? a(i) : a && (a.current = i); - }), be(ve(r), "setSuggestionsElement", function(i) { - r.suggestionsElement = i; - }), be(ve(r), "renderSuggestionsOverlay", function() { - if (!ds(r.state.selectionStart)) - return null; - var i = r.state.suggestionsPosition, a = i.position, l = i.left, s = i.top, u = i.right, c = /* @__PURE__ */ $.createElement(q7, { - id: r.uuidSuggestionsOverlay, - style: r.props.style("suggestions"), - position: a, - left: l, - top: s, - right: u, - focusIndex: r.state.focusIndex, - scrollFocusedIntoView: r.state.scrollFocusedIntoView, - containerRef: r.setSuggestionsElement, - suggestions: r.state.suggestions, - customSuggestionsContainer: r.props.customSuggestionsContainer, - onSelect: r.addMention, - onMouseDown: r.handleSuggestionsMouseDown, - onMouseEnter: r.handleSuggestionsMouseEnter, - isLoading: r.isLoading(), - isOpened: r.isOpened(), - ignoreAccents: r.props.ignoreAccents, - a11ySuggestionsListLabel: r.props.a11ySuggestionsListLabel - }, r.props.children); - return r.props.suggestionsPortalHost ? /* @__PURE__ */ q5.createPortal(c, r.props.suggestionsPortalHost) : c; - }), be(ve(r), "renderHighlighter", function() { - var i = r.state, a = i.selectionStart, l = i.selectionEnd, s = r.props, u = s.singleLine, c = s.children, d = s.value, h = s.style; - return /* @__PURE__ */ $.createElement(B7, { - containerRef: r.setHighlighterElement, - style: h("highlighter"), - value: d, - singleLine: u, - selectionStart: a, - selectionEnd: l, - onCaretPositionChange: r.handleCaretPositionChange - }, c); - }), be(ve(r), "setHighlighterElement", function(i) { - r.highlighterElement = i; - }), be(ve(r), "handleCaretPositionChange", function(i) { - r.setState({ - caretPosition: i - }); - }), be(ve(r), "getPlainText", function() { - return Pn(r.props.value || "", Mn(r.props.children)); - }), be(ve(r), "executeOnChange", function(i) { - for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), s = 1; s < a; s++) - l[s - 1] = arguments[s]; - if (r.props.onChange) { - var u; - return (u = r.props).onChange.apply(u, [i].concat(l)); - } - if (r.props.valueLink) { - var c; - return (c = r.props.valueLink).requestChange.apply(c, [i.target.value].concat(l)); - } - }), be(ve(r), "handleChange", function(i) { - if (Wr = !1, R7()) { - var a = document.activeElement && document.activeElement.contentDocument || document; - if (a.activeElement !== i.target) - return; - } - var l = r.props.value || "", s = Mn(r.props.children), u = i.target.value, c = r.state.selectionStart; - c == null && (c = i.target.selectionStart); - var d = r.state.selectionEnd; - d == null && (d = i.target.selectionEnd); - var h = M7(l, u, { - selectionStartBefore: c, - selectionEndBefore: d, - selectionEndAfter: i.target.selectionEnd - }, s); - u = Pn(h, s); - var f = i.target.selectionStart, m = i.target.selectionEnd, b = !1, y = H2(l, s, f); - y !== void 0 && r.state.selectionEnd > y && (f = y + (i.nativeEvent.data ? i.nativeEvent.data.length : 0), m = f, b = !0), r.setState({ - selectionStart: f, - selectionEnd: m, - setSelectionAfterMentionChange: b - }); - var g = Go(h, s); - i.nativeEvent.isComposing && f === m && r.updateMentionsQueries(r.inputElement.value, f); - var x = { - target: { - value: h - } - }; - r.executeOnChange(x, h, u, g); - }), be(ve(r), "handleSelect", function(i) { - if (r.setState({ - selectionStart: i.target.selectionStart, - selectionEnd: i.target.selectionEnd - }), !Wr) { - var a = r.inputElement; - i.target.selectionStart === i.target.selectionEnd ? r.updateMentionsQueries(a.value, i.target.selectionStart) : r.clearSuggestions(), r.updateHighlighterScroll(), r.props.onSelect(i); - } - }), be(ve(r), "handleKeyDown", function(i) { - var a = $r(r.state.suggestions); - if (a === 0 || !r.suggestionsElement) { - r.props.onKeyDown(i); - return; - } - switch (Object.values(ro).indexOf(i.keyCode) >= 0 && (i.preventDefault(), i.stopPropagation()), i.keyCode) { - case ro.ESC: { - r.clearSuggestions(); - return; - } - case ro.DOWN: { - r.shiftFocus(1); - return; - } - case ro.UP: { - r.shiftFocus(-1); - return; - } - case ro.RETURN: { - r.selectFocused(); - return; - } - case ro.TAB: { - r.selectFocused(); +const B6 = { + users: {}, + isRightPanelOpen: !1, + selectedConversationId: void 0, + conversations: {}, + conversationsLoadingState: Rt.UNINITIALIZED, + newConversation: void 0, + shareId: void 0, + docsAppRendered: !1, + currentPage: l6(), + codeblockLoaded: !1, + source: Ks.DBT_DOCS, + manifest: {}, + }, + wi = oc({ + name: "appState", + initialState: B6, + reducers: { + setDocsAppRendered: (e, t) => { + e.docsAppRendered = t.payload; + }, + setManifest: (e, t) => { + e.manifest = t.payload; + }, + updateCurrentPage: (e, t) => { + e.currentPage = t.payload; + }, + setConversationSource: (e, t) => { + e.source = t.payload; + }, + updateCodeblockLoaded: (e, t) => { + e.codeblockLoaded = t.payload; + }, + setShareId: (e, t) => { + e.shareId = t.payload; + }, + setCurrentUserId: (e, t) => { + e.currentUserId = t.payload; + }, + setConversationsLoadingState: (e, t) => { + e.conversationsLoadingState = t.payload; + }, + refetchConversations: (e) => { + e.conversationsLoadingState = Rt.UNINITIALIZED; + }, + setUsers: (e, t) => { + var n; + return (n = t.payload) != null && n.length + ? { + ...e, + users: t.payload.reduce((o, r) => ((o[r.id] = r), o), {}), + } + : e; + }, + updateRightPanelState: (e, t) => { + e.isRightPanelOpen = t.payload; + }, + updateSelectedConversationId: (e, t) => { + e.selectedConversationId = t.payload; + }, + upsertConversation: (e, t) => { + e.conversations = { + ...e.conversations, + [t.payload.conversation_group_id]: { + ...e.conversations[t.payload.conversation_group_id], + ...t.payload, + }, + }; + }, + resolveConversationGroup: ( + e, + { payload: { conversationGroupId: t } }, + ) => { + e.conversations[t] && delete e.conversations[t]; + }, + updateNewConversation: (e, t) => { + var r, i; + const n = { ...t.payload }; + if (!n.meta) { + console.log("Invalid meta"); return; } - default: + const o = Js(); + if (!o || o.length < 3) { + console.error("Unable to find model parts", o); return; - } - }), be(ve(r), "shiftFocus", function(i) { - var a = $r(r.state.suggestions); - r.setState({ - focusIndex: (a + r.state.focusIndex + i) % a, - scrollFocusedIntoView: !0 - }); - }), be(ve(r), "selectFocused", function() { - var i = r.state, a = i.suggestions, l = i.focusIndex, s = Object.values(a).reduce(function(d, h) { - var f = h.results, m = h.queryInfo; - return [].concat(Ei(d), Ei(f.map(function(b) { - return { - result: b, - queryInfo: m - }; - }))); - }, [])[l], u = s.result, c = s.queryInfo; - r.addMention(u, c), r.setState({ - focusIndex: 0 - }); - }), be(ve(r), "handleBlur", function(i) { - var a = r._suggestionsMouseDown; - r._suggestionsMouseDown = !1, a || r.setState({ - selectionStart: null, - selectionEnd: null - }), window.setTimeout(function() { - r.updateHighlighterScroll(); - }, 1), r.props.onBlur(i, a); - }), be(ve(r), "handleSuggestionsMouseDown", function(i) { - r._suggestionsMouseDown = !0; - }), be(ve(r), "handleSuggestionsMouseEnter", function(i) { - r.setState({ - focusIndex: i, - scrollFocusedIntoView: !1 - }); - }), be(ve(r), "updateSuggestionsPosition", function() { - var i = r.state.caretPosition, a = r.props, l = a.suggestionsPortalHost, s = a.allowSuggestionsAboveCursor, u = a.forceSuggestionsAboveCursor; - if (!(!i || !r.suggestionsElement)) { - var c = r.suggestionsElement, d = r.highlighterElement, h = d.getBoundingClientRect(), f = El(d, "font-size"), m = { - left: h.left + i.left, - top: h.top + i.top + f - }, b = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); - if (c) { - var y = {}; - if (l) { - y.position = "fixed"; - var g = m.left, x = m.top; - g -= El(c, "margin-left"), x -= El(c, "margin-top"), g -= d.scrollLeft, x -= d.scrollTop; - var C = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); - g + c.offsetWidth > C ? y.left = Math.max(0, C - c.offsetWidth) : y.left = g, s && x + c.offsetHeight > b && c.offsetHeight < x - f || u ? y.top = Math.max(0, x - c.offsetHeight - f) : y.top = x; - } else { - var E = i.left - d.scrollLeft, w = i.top - d.scrollTop; - E + c.offsetWidth > r.containerElement.offsetWidth ? y.right = 0 : y.left = E, s && m.top - d.scrollTop + c.offsetHeight > b && c.offsetHeight < h.top - f - d.scrollTop || u ? y.top = w - c.offsetHeight - f : y.top = w; - } - y.left === r.state.suggestionsPosition.left && y.top === r.state.suggestionsPosition.top && y.position === r.state.suggestionsPosition.position || r.setState({ - suggestionsPosition: y - }); - } - } - }), be(ve(r), "updateHighlighterScroll", function() { - var i = r.inputElement, a = r.highlighterElement; - !i || !a || (a.scrollLeft = i.scrollLeft, a.scrollTop = i.scrollTop, a.height = i.height); - }), be(ve(r), "handleCompositionStart", function() { - Wr = !0; - }), be(ve(r), "handleCompositionEnd", function() { - Wr = !1; - }), be(ve(r), "setSelection", function(i, a) { - if (!(i === null || a === null)) { - var l = r.inputElement; - if (l.setSelectionRange) - l.setSelectionRange(i, a); - else if (l.createTextRange) { - var s = l.createTextRange(); - s.collapse(!0), s.moveEnd("character", a), s.moveStart("character", i), s.select(); } - } - }), be(ve(r), "updateMentionsQueries", function(i, a) { - r._queryId++, r.suggestions = {}, r.setState({ - suggestions: {} - }); - var l = r.props.value || "", s = r.props.children, u = Mn(s), c = mt(l, u, a, "NULL"); - if (c !== null) { - var d = T7(l.substring(0, c), u), h = i.substring(d, a); - $.Children.forEach(s, function(f, m) { - if (f) { - var b = K7(f.props.trigger, r.props), y = h.match(b); - if (y) { - var g = d + h.indexOf(y[1], y.index); - r.queryData(y[2], m, g, g + y[1].length, i); - } - } - }); - } - }), be(ve(r), "clearSuggestions", function() { - r._queryId++, r.suggestions = {}, r.setState({ - suggestions: {}, - focusIndex: 0 - }); - }), be(ve(r), "queryData", function(i, a, l, s, u) { - var c = r.props, d = c.children, h = c.ignoreAccents, f = xo.toArray(d)[a], m = X7(f.props.data, h), b = m(i, r.updateSuggestions.bind(null, r._queryId, a, i, l, s, u)); - b instanceof Array && r.updateSuggestions(r._queryId, a, i, l, s, u, b); - }), be(ve(r), "updateSuggestions", function(i, a, l, s, u, c, d) { - if (i === r._queryId) { - r.suggestions = Zt(Zt({}, r.suggestions), {}, be({}, a, { - queryInfo: { - childIndex: a, - query: l, - querySequenceStart: s, - querySequenceEnd: u, - plainTextValue: c - }, - results: d - })); - var h = r.state.focusIndex, f = $r(r.suggestions); - r.setState({ - suggestions: r.suggestions, - focusIndex: h >= f ? Math.max(f - 1, 0) : h - }); - } - }), be(ve(r), "addMention", function(i, a) { - var l = i.id, s = i.display, u = a.childIndex, c = a.querySequenceStart, d = a.querySequenceEnd, h = a.plainTextValue, f = r.props.value || "", m = Mn(r.props.children), b = xo.toArray(r.props.children)[u], y = b.props, g = y.markup, x = y.displayTransform, C = y.appendSpaceOnAdd, E = y.onAdd, w = mt(f, m, c, "START"), S = w + d - c, _ = D7(g, l, s); - C && (_ += " "); - var A = er(f, w, S, _); - r.inputElement.focus(); - var R = x(l, s); - C && (R += " "); - var L = c + R.length; - r.setState({ - selectionStart: L, - selectionEnd: L, - setSelectionAfterMentionChange: !0 - }); - var j = { - target: { - value: A + if ( + (console.log("model parts found", o), + (n.meta.uniqueId = o[2]), + (n.meta.resource_type = o[1]), + n.meta.range || + (n.meta.range = { + end: { line: 0, character: 0 }, + start: { line: 0, character: 0 }, + }), + n.meta.uniqueId) + ) { + const a = + ((r = e.manifest.nodes) == null ? void 0 : r[n.meta.uniqueId]) || + ((i = e.manifest.macros) == null ? void 0 : i[n.meta.uniqueId]); + n.meta.filePath = (a == null ? void 0 : a.original_file_path) || ""; } - }, P = Go(A, m), V = er(h, c, d, R); - r.executeOnChange(j, A, V, P), E && E(l, s, w, S), r.clearSuggestions(); - }), be(ve(r), "isLoading", function() { - var i = !1; - return $.Children.forEach(r.props.children, function(a) { - i = i || a && a.props.isLoading; - }), i; - }), be(ve(r), "isOpened", function() { - return ds(r.state.selectionStart) && ($r(r.state.suggestions) !== 0 || r.isLoading()); - }), be(ve(r), "_queryId", 0), r.suggestions = {}, r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2), r.handleCopy = r.handleCopy.bind(ve(r)), r.handleCut = r.handleCut.bind(ve(r)), r.handlePaste = r.handlePaste.bind(ve(r)), r.state = { - focusIndex: 0, - selectionStart: null, - selectionEnd: null, - suggestions: {}, - caretPosition: null, - suggestionsPosition: {}, - setSelectionAfterHandlePaste: !1 - }, r; - } - return W8(n, [{ - key: "componentDidMount", - value: function() { - document.addEventListener("copy", this.handleCopy), document.addEventListener("cut", this.handleCut), document.addEventListener("paste", this.handlePaste), this.updateSuggestionsPosition(); - } - }, { - key: "componentDidUpdate", - value: function(r, i) { - i.suggestionsPosition === this.state.suggestionsPosition && this.updateSuggestionsPosition(), this.state.setSelectionAfterMentionChange && (this.setState({ - setSelectionAfterMentionChange: !1 - }), this.setSelection(this.state.selectionStart, this.state.selectionEnd)), this.state.setSelectionAfterHandlePaste && (this.setState({ - setSelectionAfterHandlePaste: !1 - }), this.setSelection(this.state.selectionStart, this.state.selectionEnd)); - } - }, { - key: "componentWillUnmount", - value: function() { - document.removeEventListener("copy", this.handleCopy), document.removeEventListener("cut", this.handleCut), document.removeEventListener("paste", this.handlePaste); - } - }, { - key: "render", - value: function() { - return /* @__PURE__ */ $.createElement("div", It({ - ref: this.setContainerElement - }, this.props.style), this.renderControl(), this.renderSuggestionsOverlay()); - } - }, { - key: "handlePaste", - value: function(r) { - if (r.target === this.inputElement && this.supportsClipboardActions(r)) { - r.preventDefault(); - var i = this.state, a = i.selectionStart, l = i.selectionEnd, s = this.props, u = s.value, c = s.children, d = Mn(c), h = mt(u, d, a, "START"), f = mt(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), y = er(u, h, f, m || b).replace(/\r/g, ""), g = Pn(y, d), x = { - target: Zt(Zt({}, r.target), {}, { - value: y - }) - }; - this.executeOnChange(x, y, g, Go(y, d)); - var C = H2(u, d, a), E = (C || a) + Pn(m || b, d).length; - this.setState({ - selectionStart: E, - selectionEnd: E, - setSelectionAfterHandlePaste: !0 - }); - } - } - }, { - key: "saveSelectionToClipboard", - value: function(r) { - var i = this.inputElement.selectionStart, a = this.inputElement.selectionEnd, l = this.props, s = l.children, u = l.value, c = Mn(s), d = mt(u, c, i, "START"), h = mt(u, c, a, "END"); - r.clipboardData.setData("text/plain", r.target.value.slice(i, a)), r.clipboardData.setData("text/react-mentions", u.slice(d, h)); - } - }, { - key: "supportsClipboardActions", - value: function(r) { - return !!r.clipboardData; - } - }, { - key: "handleCopy", - value: function(r) { - r.target === this.inputElement && this.supportsClipboardActions(r) && (r.preventDefault(), this.saveSelectionToClipboard(r)); - } - }, { - key: "handleCut", - value: function(r) { - if (r.target === this.inputElement && this.supportsClipboardActions(r)) { - r.preventDefault(), this.saveSelectionToClipboard(r); - var i = this.state, a = i.selectionStart, l = i.selectionEnd, s = this.props, u = s.children, c = s.value, d = Mn(u), h = mt(c, d, a, "START"), f = mt(c, d, l, "END"), m = [c.slice(0, h), c.slice(f)].join(""), b = Pn(m, d), y = { - target: Zt(Zt({}, r.target), {}, { - value: b - }) - }; - this.executeOnChange(y, m, b, Go(c, d)); - } - } - // Handle input element's change event - }]), n; -}($.Component); -be(dc, "propTypes", Ld); -be(dc, "defaultProps", { - ignoreAccents: !1, - singleLine: !1, - allowSuggestionsAboveCursor: !1, - onKeyDown: function() { - return null; + e.newConversation = n; + }, + resetNewConversation: (e) => { + e.newConversation = void 0; + }, + setConversations: (e, t) => { + t.payload && + ((e.conversations = t.payload.reduce( + (n, o) => ((n[o.conversation_group_id] = o), n), + {}, + )), + (e.selectedConversationId = + e.selectedConversationId || t.payload[0].conversation_group_id)); + }, + }, + }), + { + setCurrentUserId: G_, + setShareId: K_, + updateSelectedConversationId: rc, + updateRightPanelState: ic, + setUsers: V6, + setConversations: $6, + resetNewConversation: ac, + updateNewConversation: lc, + upsertConversation: X_, + setDocsAppRendered: Q_, + updateCurrentPage: J_, + updateCodeblockLoaded: eA, + resolveConversationGroup: W6, + setConversationsLoadingState: v2, + refetchConversations: cd, + setConversationSource: tA, + setManifest: Z6, + } = wi.actions, + Xi = zt({ + state: wi.getInitialState(), + dispatch: () => null, + getValue: () => null, + }), + U6 = ({ + children: e, + shareId: t, + userId: n, + conversationGroupId: o, + source: r, + }) => { + const [i, a] = Gs(wi.reducer, { + ...wi.getInitialState(), + shareId: t, + currentUserId: n, + selectedConversationId: o, + isRightPanelOpen: !!o, + source: r, + }), + l = Me((u) => u(i), [i]), + s = Be( + () => ({ + state: i, + dispatch: a, + getValue: l, + }), + [i, a, l], + ); + return /* @__PURE__ */ p.jsx(Xi.Provider, { value: s, children: e }); }, - onSelect: function() { - return null; + q6 = () => Je(Xi), + je = (e) => { + const { getValue: t } = Je(Xi); + return t(e); + }, + Ht = () => { + const { dispatch: e } = Je(Xi); + return e; }, - onBlur: function() { + Y6 = (e) => e; +let ud = Y6; +process.env.NODE_ENV !== "production" && + (ud = (e, t) => { + if (!e) throw new Error(t); + }); +const G6 = zt(null), + K6 = zt({}), + X6 = zt({ + transformPagePoint: (e) => e, + isStatic: !1, + reducedMotion: "never", + }), + Q6 = typeof window < "u", + J6 = Q6 ? $5 : ce; +function dd(e) { + const t = pe(null); + return t.current === null && (t.current = e()), t.current; +} +class e8 extends O.Component { + getSnapshotBeforeUpdate(t) { + const n = this.props.childRef.current; + if (n && t.isPresent && !this.props.isPresent) { + const o = this.props.sizeRef.current; + (o.height = n.offsetHeight || 0), + (o.width = n.offsetWidth || 0), + (o.top = n.offsetTop), + (o.left = n.offsetLeft); + } return null; } -}); -var El = function(t, n) { - var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); - return isFinite(o) ? o : 0; -}, Q7 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), J7 = Qi({ - position: "relative", - overflowY: "visible", - input: { - display: "block", - width: "100%", - position: "absolute", - margin: 0, - top: 0, - left: 0, - boxSizing: "border-box", - backgroundColor: "transparent", - fontFamily: "inherit", - fontSize: "inherit", - letterSpacing: "inherit" - }, - "&multiLine": { - input: Zt({ - height: "100%", - bottom: 0, - overflow: "hidden", - resize: "none" - }, Q7 ? { - marginTop: 1, - marginLeft: -3 - } : null) - } -}, function(e) { - var t = e.singleLine; - return { - "&singleLine": t, - "&multiLine": !t - }; -}), e9 = J7(dc), t9 = { - fontWeight: "inherit" -}, fc = function(t) { - var n = t.display, o = t.style, r = t.className, i = t.classNames, a = cc(t9, { - style: o, - className: r, - classNames: i - }); - return /* @__PURE__ */ $.createElement("strong", a, n); -}; -fc.propTypes = { - /** - * Called when a new mention is added in the input - * - * Example: - * - * ```js - * function(id, display) { - * console.log("user " + display + " was mentioned!"); - * } - * ``` - */ - onAdd: q.func, - onRemove: q.func, - renderSuggestion: q.func, - trigger: q.oneOfType([q.string, q.instanceOf(RegExp)]), - markup: q.string, - displayTransform: q.func, /** - * If set to `true` spaces will not interrupt matching suggestions + * Required with getSnapshotBeforeUpdate to stop React complaining. */ - allowSpaceInQuery: q.bool, - isLoading: q.bool -}; -fc.defaultProps = { - trigger: "@", - markup: "@[__display__](__id__)", - displayTransform: function(t, n) { - return n || t; - }, - onAdd: function() { - return null; - }, - onRemove: function() { - return null; - }, - renderSuggestion: null, - isLoading: !1, - appendSpaceOnAdd: !1 -}; -const n9 = { - "&multiLine": { - minHeight: "40px" - }, - input: { - border: "none", - outline: "none", - fontWeight: "500", - fontSize: "15px", - color: "rgba(0, 5, 15, 0.85)" - }, - suggestions: { - backgroundColor: "var(--background--01)", - border: "1px solid rgba(0,0,0,0.1)", - borderRadius: "8px", - padding: "5px", - boxShadow: "0px 0px 10px rgba(0,0,0,0.1)", - minWidth: "150px", - maxHeight: "200px", - overflowY: "auto", - item: { - fontSize: "15px", - padding: "4px 11px 4px 11px", - borderRadius: "4px", - fontWeight: "500", - "&focused": { - backgroundColor: "var(--background--04)" - } - } + componentDidUpdate() {} + render() { + return this.props.children; } -}, o9 = ({ - value: e, - setValue: t, - users: n, - placeholder: o = "Type your reply here...", - onEnterKeypress: r -}) => { - const i = n.map((u) => ({ - ...u, - display: u.display_name - })), a = (u) => { - u.stopPropagation(), u.key === "Enter" && !u.shiftKey && (u.preventDefault(), r == null || r()); - }, l = (u, c) => { - console.info("[MentionsInputComponent] on mention select", { id: u, display: c }); - }, s = (u) => { - t(u.target.value); - }; - return /* @__PURE__ */ p.jsx( - e9, - { - autoFocus: !0, - value: e, - onChange: s, - style: { - ...n9, - minHeight: "40px", - marginBottom: "10px" - }, - placeholder: o, - className: "mentions-input", - onKeyDown: a, - children: /* @__PURE__ */ p.jsx( - fc, - { - displayTransform: (u, c) => `@${c}`, - trigger: "@", - markup: "@[__id__](__display__)", - data: i, - appendSpaceOnAdd: !0, - renderSuggestion: (u, c) => /* @__PURE__ */ p.jsx("div", { className: `user ${c ? "focused" : ""}`, children: u.display }), - onAdd: l +} +function t8({ children: e, isPresent: t }) { + const n = q0(), + o = pe(null), + r = pe({ + width: 0, + height: 0, + top: 0, + left: 0, + }), + { nonce: i } = Je(X6); + return ( + W5(() => { + const { width: a, height: l, top: s, left: u } = r.current; + if (t || !o.current || !a || !l) return; + o.current.dataset.motionPopId = n; + const c = document.createElement("style"); + return ( + i && (c.nonce = i), + document.head.appendChild(c), + c.sheet && + c.sheet.insertRule(` + [data-motion-pop-id="${n}"] { + position: absolute !important; + width: ${a}px !important; + height: ${l}px !important; + top: ${s}px !important; + left: ${u}px !important; + } + `), + () => { + document.head.removeChild(c); } - ) - } + ); + }, [t]), + p.jsx(e8, { + isPresent: t, + childRef: o, + sizeRef: r, + children: O.cloneElement(e, { ref: o }), + }) ); -}, Fd = ({ - comment: e, - setComment: t, - loading: n, - users: o, - currentUser: r, - placeholder: i, - onEnterKeypress: a -}) => /* @__PURE__ */ p.jsxs("div", { className: Cn.conversationInputForm, children: [ - r ? /* @__PURE__ */ p.jsx(bd, { user: r }) : null, - /* @__PURE__ */ p.jsx( - o9, - { - value: e, - setValue: t, - users: o, - placeholder: i, - onEnterKeypress: a - } - ), - /* @__PURE__ */ p.jsx(Wi, { loading: n, color: "primary", children: /* @__PURE__ */ p.jsx(f8, {}) }) -] }), Rd = ({ - meta: { highlight: e, filePath: t, field: n, column: o } +} +const n8 = ({ + children: e, + initial: t, + isPresent: n, + onExitComplete: o, + custom: r, + presenceAffectsLayout: i, + mode: a, }) => { - if (!e) - return null; - const r = o ? `${t} (${o})` : t; - return /* @__PURE__ */ p.jsx("div", { className: Cn.highlightText, children: /* @__PURE__ */ p.jsx( - Sr, - { - code: e, - language: n ? "markdown" : "sql", - showLineNumbers: !n, - fileName: r, - theme: "light" + const l = dd(o8), + s = q0(), + u = Be( + () => ({ + id: s, + initial: t, + isPresent: n, + custom: r, + onExitComplete: (c) => { + l.set(c, !0); + for (const d of l.values()) if (!d) return; + o && o(); + }, + register: (c) => (l.set(c, !1), () => l.delete(c)), + }), + /** + * If the presence of a child affects the layout of the components around it, + * we want to make a new context value to ensure they get re-rendered + * so they can detect that layout change. + */ + i ? [Math.random()] : [n], + ); + return ( + Be(() => { + l.forEach((c, d) => l.set(d, !1)); + }, [n]), + O.useEffect(() => { + !n && !l.size && o && o(); + }, [n]), + a === "popLayout" && (e = p.jsx(t8, { isPresent: n, children: e })), + p.jsx(G6.Provider, { value: u, children: e }) + ); +}; +function o8() { + return /* @__PURE__ */ new Map(); +} +const Br = (e) => e.key || ""; +function x2(e) { + const t = []; + return ( + xo.forEach(e, (n) => { + U0(n) && t.push(n); + }), + t + ); +} +const r8 = ({ + children: e, + exitBeforeEnter: t, + custom: n, + initial: o = !0, + onExitComplete: r, + presenceAffectsLayout: i = !0, + mode: a = "sync", + }) => { + ud(!t, "Replace exitBeforeEnter with mode='wait'"); + const l = Be(() => x2(e), [e]), + s = l.map(Br), + u = pe(!0), + c = pe(l), + d = dd(() => /* @__PURE__ */ new Map()), + [h, f] = ue(l), + [m, b] = ue(l); + J6(() => { + (u.current = !1), (c.current = l); + for (let x = 0; x < m.length; x++) { + const C = Br(m[x]); + s.includes(C) ? d.delete(C) : d.get(C) !== !0 && d.set(C, !1); + } + }, [m, s.length, s.join("-")]); + const y = []; + if (l !== h) { + let x = [...l]; + for (let C = 0; C < m.length; C++) { + const E = m[C], + w = Br(E); + s.includes(w) || (x.splice(C, 0, E), y.push(E)); + } + a === "wait" && y.length && (x = y), b(x2(x)), f(l); + return; } - ) }); -}, r9 = () => { - const e = je( - (c) => c.users - ), t = je( - (c) => c.newConversation - ), n = je( - (c) => c.currentUserId ? c.users[c.currentUserId] : null - ), o = je( - (c) => c.shareId - ), r = Ht(), [i, a] = ue(!1), [l, s] = ue(""), u = async (c) => { - if (c == null || c.stopPropagation(), c == null || c.preventDefault(), !(!t || !o)) { - a(!0); - try { - console.log("saving conversation", t, l); - const d = await b8( - o, + process.env.NODE_ENV !== "production" && + a === "wait" && + m.length > 1 && + console.warn( + `You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`, + ); + const { forceRender: g } = Je(K6); + return p.jsx(p.Fragment, { + children: m.map((x) => { + const C = Br(x), + E = l === m || s.includes(C), + w = () => { + if (d.has(C)) d.set(C, !0); + else return; + let S = !0; + d.forEach((_) => { + _ || (S = !1); + }), + S && (g == null || g(), b(c.current), r && r()); + }; + return p.jsx( + n8, { - ...t, - message: l + isPresent: E, + initial: !u.current || o ? void 0 : !1, + custom: E ? void 0 : n, + presenceAffectsLayout: i, + mode: a, + onExitComplete: E ? void 0 : w, + children: x, }, - "dbt-docs" - // this component is used only from dbt docs page - ); - if (!d.conversation_group_id) { - console.error( - "Unable to create conversation group", - d - ); - return; - } - console.log( - "Successfully created conversation group", - d + C, ); - } catch (d) { - console.error("error while saving conversation", t, d); - } - r(cd()), a(!1), r(ic(!0)), r(ac()), s(""); - } - }; - return /* @__PURE__ */ p.jsx(sn, { className: Cn.newConversationForm, children: /* @__PURE__ */ p.jsx(Rn, { children: /* @__PURE__ */ p.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ p.jsx("h4", { children: "Add comment" }), - /* @__PURE__ */ p.jsx( - Rd, - { - meta: (t == null ? void 0 : t.meta) || {} - } + }), + }); + }, + i8 = + "data:image/svg+xml,%3csvg%20width='26'%20height='24'%20viewBox='0%200%2026%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Frame'%20clip-path='url(%23clip0_15836_3582)'%3e%3cg%20id='Group'%3e%3cg%20id='Group_2'%3e%3cpath%20id='Vector'%20d='M2.66432%2011.3174C0.315394%208.57735%20-0.664635%205.72559%200.475762%204.94906C1.61616%204.1715%204.44409%205.76385%206.79407%208.50394C9.14299%2011.244%2010.123%2014.0958%208.98262%2014.8733C7.84223%2015.6499%205.01324%2014.0586%202.66432%2011.3174Z'%20fill='url(%23paint0_linear_15836_3582)'/%3e%3cpath%20id='Vector_2'%20d='M1.08995%209.13979C1.05432%209.08085%201.02077%209.02191%200.988281%208.96401C1.50398%208.75204%201.99451%208.49871%202.43579%208.23401C3.26488%207.73666%204.03423%207.15142%204.67151%206.46898C4.67885%206.46174%204.68514%206.4545%204.69248%206.44727C4.75012%206.4938%204.80777%206.54033%204.86437%206.58892C4.17049%207.31479%203.35293%207.9662%202.44417%208.47596C2.02072%208.71482%201.56477%208.94333%201.08995%209.13979Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M8.11873%2011.4596C7.3368%2010.529%206.05385%2010.1403%205.25306%2010.5911C4.45331%2011.0419%204.43864%2012.1617%205.22057%2013.0923C6.00249%2014.0229%207.28544%2014.4117%208.08623%2013.9609C8.88598%2013.5101%208.90065%2012.3902%208.11873%2011.4596Z'%20fill='url(%23paint1_linear_15836_3582)'/%3e%3cpath%20id='Vector_4'%20d='M8.03714%2013.4942C8.50484%2012.928%208.23355%2011.9461%207.43118%2011.3011C6.62882%2010.6561%205.59923%2010.5922%205.13152%2011.1584C4.66382%2011.7246%204.93511%2012.7065%205.73748%2013.3515C6.53984%2013.9965%207.56943%2014.0604%208.03714%2013.4942Z'%20fill='url(%23paint2_radial_15836_3582)'/%3e%3cg%20id='Group_3'%3e%3cpath%20id='Vector_5'%20d='M21.5845%2013.7628C24.2783%2011.7713%2025.8684%209.37657%2025.1368%208.41392C24.4051%207.45127%2021.6286%208.28467%2018.9348%2010.2751C16.241%2012.2655%2014.651%2014.6613%2015.3826%2015.624C16.1142%2016.5866%2018.8908%2015.7532%2021.5845%2013.7628Z'%20fill='url(%23paint3_linear_15836_3582)'/%3e%3cpath%20id='Vector_6'%20d='M23.4827%2012.1157C23.5278%2012.0691%2023.5718%2012.0236%2023.6148%2011.9771C23.2458%2011.669%2022.9094%2011.3288%2022.6159%2010.9896C22.0656%2010.3517%2021.5887%209.64544%2021.248%208.88028C21.2438%208.87201%2021.2407%208.86374%2021.2365%208.85547C21.1768%208.88545%2021.116%208.91544%2021.0552%208.94646C21.4315%209.76435%2021.9304%2010.5409%2022.5425%2011.2088C22.8287%2011.5211%2023.1442%2011.8313%2023.4827%2012.1157Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_7'%20d='M17.0302%2012.6899C17.9316%2012.0106%2019.1003%2011.9382%2019.639%2012.5276C20.1778%2013.1169%2019.8843%2014.1458%2018.9818%2014.8251C18.0804%2015.5044%2016.9117%2015.5768%2016.373%2014.9874C15.8342%2014.3981%2016.1287%2013.3692%2017.0302%2012.6899Z'%20fill='url(%23paint4_linear_15836_3582)'/%3e%3cpath%20id='Vector_8'%20d='M17.2549%2012.9346C18.0032%2012.3711%2018.9728%2012.3101%2019.4193%2012.7992C19.8669%2013.2883%2019.6227%2014.1423%2018.8743%2014.7059C18.1259%2015.2694%2017.1563%2015.3304%2016.7098%2014.8413C16.2623%2014.3522%2016.5065%2013.4982%2017.2549%2012.9346Z'%20fill='url(%23paint5_radial_15836_3582)'/%3e%3cg%20id='Group_4'%3e%3cpath%20id='Vector_9'%20d='M8.4355%2010.8031L7.72484%2013.5297C6.96493%2016.4445%208.59272%2019.3769%2011.3609%2020.079C14.128%2020.7811%2016.9874%2018.9871%2017.7473%2016.0723L18.4706%2013.2981C18.4779%2013.2309%2018.4643%2013.1595%2018.4307%2013.0851C18.4265%2013.0737%2018.4213%2013.0634%2018.415%2013.053C18.349%2012.9238%2018.2263%2012.7863%2018.0555%2012.6425C18.0272%2012.6188%2017.9978%2012.595%2017.9664%2012.5712H17.9654C17.935%2012.5474%2017.9014%2012.5236%2017.8689%2012.4988C17.8522%2012.4864%2017.8343%2012.474%2017.8165%2012.4616C17.7987%2012.4492%2017.7809%2012.4368%2017.762%2012.4254C17.7442%2012.413%2017.7253%2012.4006%2017.7065%2012.3882C17.6687%2012.3634%2017.6299%2012.3385%2017.5901%2012.3137C17.4098%2012.2021%2017.2054%2012.0893%2016.979%2011.9777C16.4759%2011.7285%2015.868%2011.4814%2015.1877%2011.2549C15.1196%2011.2322%2015.0504%2011.2094%2014.9812%2011.1877C14.8429%2011.1432%2014.7003%2011.0998%2014.5567%2011.0574L12.9751%2010.6562C10.557%2010.1413%208.59586%2010.1878%208.4355%2010.8031Z'%20fill='url(%23paint6_linear_15836_3582)'/%3e%3cpath%20id='Vector_10'%20opacity='0.2'%20d='M8.81373%2011.0098C8.65126%2011.6344%2010.5862%2012.6642%2013.1363%2013.3105C15.6865%2013.9577%2017.8845%2013.9753%2018.048%2013.3518C18.2105%2012.7273%2016.2756%2011.6974%2013.7254%2011.0512C11.1752%2010.4039%208.97619%2010.3863%208.81373%2011.0098Z'%20fill='url(%23paint7_linear_15836_3582)'/%3e%3cpath%20id='Vector_11'%20d='M13.8752%2010.892C11.8208%2010.3709%2010.0337%2010.4184%209.88275%2010.9985C9.73182%2011.5786%2011.2747%2012.4709%2013.3281%2012.991C15.3824%2013.5121%2017.1696%2013.4646%2017.3205%2012.8845C17.4714%2012.3055%2015.9285%2011.4131%2013.8752%2010.892Z'%20fill='url(%23paint8_linear_15836_3582)'/%3e%3cpath%20id='Vector_12'%20d='M16.6706%2012.7859C16.796%2012.3048%2015.516%2011.5643%2013.8116%2011.132C12.1073%2010.6997%2010.624%2010.7394%2010.4985%2011.2206C10.3731%2011.7017%2011.6531%2012.4422%2013.3575%2012.8745C15.0619%2013.3068%2016.5452%2013.2671%2016.6706%2012.7859Z'%20fill='url(%23paint9_radial_15836_3582)'/%3e%3cpath%20id='Vector_13'%20d='M11.1729%2016.1522C10.609%2017.4602%2011.1038%2018.9202%2012.2787%2019.4134C13.4537%2019.9066%2014.8646%2019.247%2015.4285%2017.94C15.9924%2016.632%2015.4976%2015.172%2014.3227%2014.6788C13.1477%2014.1845%2011.7379%2014.8442%2011.1729%2016.1522Z'%20fill='url(%23paint10_linear_15836_3582)'/%3e%3cg%20id='Group_5'%3e%3cpath%20id='Vector_14'%20d='M8.72695%2011.4727C9.19129%2011.5906%209.27829%2012.7497%208.92401%2014.1104C8.62633%2015.252%208.12636%2016.1215%207.69871%2016.3025C7.68928%2016.2642%207.67984%2016.2249%207.67041%2016.1857C8.01945%2016.0243%208.5016%2015.2468%208.80557%2014.0804C9.16613%2012.699%209.04035%2011.6764%208.69761%2011.5895C8.54458%2011.5513%208.34018%2011.694%208.12741%2011.9856L8.19763%2011.7157C8.38211%2011.5223%208.56554%2011.4313%208.72695%2011.4727Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_15'%20d='M7.55699%2013.7083C7.27503%2014.7878%207.28028%2015.7225%207.56642%2015.7959C7.85362%2015.8683%208.31376%2015.0525%208.59572%2013.972C8.87767%2012.8925%208.87243%2011.9578%208.58628%2011.8843C8.29909%2011.812%207.8379%2012.6288%207.55699%2013.7083Z'%20fill='url(%23paint11_linear_15836_3582)'/%3e%3cpath%20id='Vector_16'%20d='M7.67662%2013.739C7.44288%2014.6355%207.44708%2015.411%207.68501%2015.471C7.92294%2015.5309%208.30552%2014.8537%208.53926%2013.9572C8.773%2013.0607%208.7688%2012.2852%208.53087%2012.2253C8.29189%2012.1663%207.90931%2012.8436%207.67662%2013.739Z'%20fill='url(%23paint12_radial_15836_3582)'/%3e%3c/g%3e%3cpath%20id='Vector_17'%20opacity='0.5'%20d='M8.36426%2011.0755C9.54763%2011.9916%2013.5568%2013.0783%2015.1123%2012.8602C16.7653%2012.6285%2014.4268%2011.3071%2014.4268%2011.3071L12.4594%2010.5523C10.2834%2010.1511%208.58437%2010.2328%208.43553%2010.8035L8.36426%2011.0755Z'%20fill='%23231F20'/%3e%3cg%20id='Group_6'%3e%3cpath%20id='Vector_18'%20d='M20.3665%208.35913C20.6243%205.04932%2017.94%202.79831%2014.4329%202.53257C10.9257%202.2658%207.92379%204.08563%207.66594%207.39545C7.4081%2010.7053%2010.2004%2011.5728%2013.7075%2011.8385C17.2147%2012.1053%2020.1086%2011.669%2020.3665%208.35913Z'%20fill='url(%23paint13_linear_15836_3582)'/%3e%3cg%20id='Group_7'%3e%3cpath%20id='Vector_19'%20d='M8.46122%209.06024C8.8742%209.09126%209.16978%208.18031%209.23791%207.30762C9.30604%206.43389%209.1551%205.48882%208.74213%205.4578C8.32915%205.42678%208.03357%206.33773%207.96544%207.21042C7.89731%208.08415%208.04825%209.02922%208.46122%209.06024ZM8.7306%205.60463C8.96119%205.62221%209.16453%206.32119%209.08907%207.29624C9.01255%208.2713%208.70334%208.93099%208.47275%208.91341C8.24215%208.89583%208.03881%208.19685%208.11428%207.2218C8.18975%206.24674%208.5%205.58705%208.7306%205.60463Z'%20fill='%239D9CA9'/%3e%3c/g%3e%3cpath%20id='Vector_20'%20d='M10.1709%206.95357C9.97486%209.46617%2011.915%2011.1443%2014.4547%2011.3377C16.9944%2011.53%2019.1714%2010.1641%2019.3674%207.65255C19.5634%205.13994%2017.4975%205.0717%2014.9589%204.87834C12.4181%204.68498%2010.3669%204.44096%2010.1709%206.95357Z'%20fill='%23E2E3E7'/%3e%3cpath%20id='Vector_21'%20d='M10.2478%206.97754C10.0549%209.44672%2011.9626%2011.0887%2014.4593%2011.2779C16.956%2011.4671%2019.0953%2010.1333%2019.2882%207.66307C19.481%205.1939%2017.4508%205.12565%2014.954%204.93643C12.4573%204.74721%2010.4407%204.50732%2010.2478%206.97754Z'%20fill='url(%23paint14_linear_15836_3582)'/%3e%3cpath%20id='Vector_22'%20d='M10.2729%203.35018C11.0339%204.02745%2011.602%204.87326%2011.6649%205.94551C11.6722%206.07062%2011.8662%206.03236%2011.8588%205.90829C11.7959%204.82052%2011.2247%203.9499%2010.4564%203.25195C10.3945%203.28297%2010.3337%203.31606%2010.2729%203.35018Z'%20fill='%239D9CA9'/%3e%3cpath%20id='Vector_23'%20d='M18.2494%206.54673C18.6152%205.85396%2018.9107%205.11051%2018.9139%204.40223C18.8416%204.33088%2018.7661%204.2616%2018.6896%204.19336C18.7598%204.94714%2018.4737%205.72884%2018.0743%206.48573C18.0156%206.59533%2018.1917%206.65737%2018.2494%206.54673Z'%20fill='%239D9CA9'/%3e%3cpath%20id='Vector_24'%20d='M10.4249%207.04055C10.2414%209.39289%2012.06%2010.9315%2014.4372%2011.1124C16.8144%2011.2934%2018.851%2010.0464%2019.0344%207.69507C19.2179%205.34273%2017.284%205.27862%2014.9068%205.09768C12.5296%204.91673%2010.6083%204.68821%2010.4249%207.04055Z'%20fill='url(%23paint15_radial_15836_3582)'/%3e%3cg%20id='Group_8'%3e%3cpath%20id='Vector_25'%20d='M13.9044%208.79297C13.8541%209.43922%2014.3436%2010.0027%2014.9987%2010.0524C15.6538%2010.102%2016.2251%209.61913%2016.2754%208.97288L13.9044%208.79297Z'%20fill='black'/%3e%3cpath%20id='Vector_26'%20d='M13.9283%208.80762C13.879%209.44042%2014.3591%209.99258%2015.0005%2010.0412C15.642%2010.0898%2016.2017%209.6162%2016.251%208.9834L13.9283%208.80762Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_27'%20d='M13.9516%208.82129C13.9034%209.44065%2014.373%209.98143%2015.0009%2010.029C15.6287%2010.0766%2016.1769%209.61333%2016.2251%208.99397L13.9516%208.82129Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_28'%20d='M13.9755%208.83496C13.9283%209.44088%2014.3874%209.97029%2015.0027%2010.0168C15.6169%2010.0633%2016.1536%209.61046%2016.2007%209.0035L13.9755%208.83496Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_29'%20d='M13.9989%208.84863C13.9527%209.44111%2014.4024%209.95914%2015.003%2010.0046C15.6036%2010.0501%2016.1287%209.60655%2016.1748%209.01407L13.9989%208.84863Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_30'%20d='M14.0227%208.86328C13.9776%209.44232%2014.4168%209.94794%2015.0038%209.99344C15.5908%2010.0379%2016.1033%209.60466%2016.1494%209.02562L14.0227%208.86328Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_31'%20d='M14.0461%208.87695C14.0021%209.44255%2014.4308%209.9368%2015.0051%209.98023C15.5785%2010.0237%2016.0795%209.60075%2016.1235%209.03412L14.0461%208.87695Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_32'%20d='M14.0699%208.88965C14.0269%209.44284%2014.4462%209.92468%2015.0059%209.96707C15.5656%2010.0095%2016.0551%209.59587%2016.0981%209.04371L14.0699%208.88965Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_33'%20d='M14.0933%208.9043C14.0514%209.44404%2014.4601%209.91451%2015.0073%209.95587C15.5544%209.99723%2016.0313%209.59397%2016.0733%209.05423L14.0933%208.9043Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_34'%20d='M14.1171%208.91797C14.0763%209.44427%2014.4746%209.90337%2015.0081%209.94369C15.5416%209.98402%2016.007%209.5911%2016.0479%209.0648L14.1171%208.91797Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_35'%20d='M14.1405%208.93262C14.1007%209.44548%2014.4895%209.8932%2015.0094%209.93249C15.5293%209.97178%2015.9832%209.58817%2016.023%209.07531L14.1405%208.93262Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_36'%20d='M14.1644%208.94629C14.1256%209.44571%2014.504%209.88102%2015.0102%209.92031C15.5165%209.95857%2015.9578%209.5853%2015.9976%209.08588L14.1644%208.94629Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cg%20id='Group_9'%3e%3cpath%20id='Vector_37'%20d='M14.6004%208.06197C14.6622%207.26786%2014.0606%206.57508%2013.2556%206.51408C12.4506%206.45307%2011.7484%207.04658%2011.6865%207.84069L14.6004%208.06197Z'%20fill='black'/%3e%3cpath%20id='Vector_38'%20d='M14.5723%208.04547C14.6331%207.26791%2014.043%206.58961%2013.2558%206.52964C12.4676%206.46967%2011.78%207.05181%2011.7192%207.82834L14.5723%208.04547Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_39'%20d='M14.5429%208.02801C14.6026%207.26699%2014.0251%206.60317%2013.2536%206.54423C12.4822%206.48529%2011.8093%207.05502%2011.7495%207.81604L14.5429%208.02801Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_40'%20d='M14.5133%208.01042C14.571%207.26594%2014.0071%206.61556%2013.2524%206.55869C12.4977%206.50182%2011.8384%207.05811%2011.7808%207.80258L14.5133%208.01042Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_41'%20d='M14.4853%207.99392C14.5419%207.26599%2013.9895%206.63008%2013.2516%206.57425C12.5137%206.51841%2011.8691%207.06333%2011.8125%207.79126L14.4853%207.99392Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_42'%20d='M14.4558%207.97646C14.5113%207.26507%2013.9715%206.64364%2013.2504%206.58884C12.5292%206.53404%2011.8993%207.06654%2011.8438%207.77793L14.4558%207.97646Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_43'%20d='M14.4273%207.95984C14.4818%207.265%2013.9545%206.65701%2013.2491%206.60427C12.5437%206.55154%2011.9285%207.0706%2011.875%207.76648L14.4273%207.95984Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_44'%20d='M14.3982%207.9425C14.4517%207.26317%2013.936%206.67069%2013.2484%206.61899C12.5597%206.56626%2011.9591%207.07498%2011.9067%207.75328L14.3982%207.9425Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_45'%20d='M14.3687%207.92588C14.4201%207.26309%2013.918%206.68509%2013.2462%206.63442C12.5743%206.58376%2011.9884%207.07904%2011.937%207.74183L14.3687%207.92588Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_46'%20d='M14.3407%207.9075C14.391%207.26126%2013.9016%206.69773%2013.2465%206.64706C12.5914%206.59743%2012.0201%207.08031%2011.9688%207.72655L14.3407%207.9075Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_47'%20d='M14.3113%207.89101C14.3605%207.26131%2013.8826%206.71122%2013.2442%206.66262C12.6059%206.61403%2012.0483%207.08553%2011.999%207.71523L14.3113%207.89101Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_48'%20d='M14.2827%207.87355C14.3309%207.26039%2013.8655%206.72478%2013.244%206.67721C12.6224%206.62965%2012.0795%207.08874%2012.0312%207.7019L14.2827%207.87355Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cg%20id='Group_10'%3e%3cpath%20id='Vector_49'%20d='M18.4852%208.35689C18.5471%207.56278%2018.0324%206.87725%2017.3365%206.82451C16.6405%206.77178%2016.0252%207.37253%2015.9634%208.1656L18.4852%208.35689Z'%20fill='black'/%3e%3cpath%20id='Vector_50'%20d='M18.4602%208.34046C18.521%207.5629%2018.0168%206.8908%2017.3355%206.8391C16.6532%206.7874%2016.0515%207.37574%2015.9907%208.15227L18.4602%208.34046Z'%20fill='%23061417'/%3e%3cpath%20id='Vector_51'%20d='M18.4362%208.32397C18.4959%207.56295%2018.0022%206.90533%2017.3346%206.85466C16.6669%206.804%2016.0778%207.37993%2016.0181%208.14095L18.4362%208.32397Z'%20fill='%230C282D'/%3e%3cpath%20id='Vector_52'%20d='M18.4106%208.30754C18.4683%207.56306%2017.9861%206.91889%2017.3331%206.86925C16.6801%206.81962%2016.1036%207.38315%2016.0449%208.12762L18.4106%208.30754Z'%20fill='%23133C44'/%3e%3cpath%20id='Vector_53'%20d='M18.3856%208.29007C18.4422%207.56214%2017.9706%206.93244%2017.3312%206.88384C16.6918%206.83524%2016.1279%207.38636%2016.0713%208.1143L18.3856%208.29007Z'%20fill='%2319505B'/%3e%3cpath%20id='Vector_54'%20d='M18.3615%208.27359C18.4171%207.5622%2017.9559%206.94697%2017.3312%206.89941C16.7065%206.85184%2016.1552%207.39055%2016.0996%208.10194L18.3615%208.27359Z'%20fill='%231F6472'/%3e%3cpath%20id='Vector_55'%20d='M18.3365%208.25715C18.391%207.56231%2017.9403%206.96052%2017.3302%206.914C16.7202%206.86747%2016.1815%207.39377%2016.127%208.08861L18.3365%208.25715Z'%20fill='%23257888'/%3e%3cpath%20id='Vector_56'%20d='M18.311%208.23969C18.3644%207.56035%2017.9242%206.97408%2017.3278%206.92858C16.7325%206.88309%2016.2063%207.39698%2016.1528%208.07632L18.311%208.23969Z'%20fill='%232B8C9F'/%3e%3cpath%20id='Vector_57'%20d='M18.2859%208.22222C18.3373%207.55943%2017.9086%206.9866%2017.3269%206.94317C16.7451%206.89871%2016.2326%207.4002%2016.1802%208.06299L18.2859%208.22222Z'%20fill='%2331A0B6'/%3e%3cpath%20id='Vector_58'%20d='M18.2618%208.20579C18.3122%207.55955%2017.8939%207.00119%2017.3269%206.95776C16.7598%206.91433%2016.2599%207.40341%2016.2085%208.04966L18.2618%208.20579Z'%20fill='%2338B4CD'/%3e%3cpath%20id='Vector_59'%20d='M18.2368%208.1893C18.2861%207.5596%2017.8773%207.01469%2017.3249%206.97333C16.7726%206.93093%2016.2841%207.4076%2016.2349%208.03731L18.2368%208.1893Z'%20fill='%233EC8E3'/%3e%3cpath%20id='Vector_60'%20d='M18.2117%208.17287C18.2599%207.55971%2017.8616%207.02927%2017.3239%206.98791C16.7852%206.94655%2016.3104%207.41082%2016.2632%208.02501L18.2117%208.17287Z'%20fill='%2344DCFA'/%3e%3c/g%3e%3cpath%20id='Vector_61'%20opacity='0.2'%20d='M10.7266%208.85254C11.3303%2010.1647%2012.7411%2010.9846%2014.437%2011.1129C16.0785%2011.238%2017.5574%2010.6817%2018.376%209.55152C18.1475%209.68077%2017.1266%209.89894%2016.1256%209.91549C13.653%209.95685%2011.0966%209.06864%2010.7266%208.85254Z'%20fill='url(%23paint16_linear_15836_3582)'/%3e%3cg%20id='Group_11'%3e%3cpath%20id='Vector_62'%20opacity='0.5'%20d='M11.2222%206.4588C11.3417%206.16928%2011.5356%205.83013%2011.8186%205.71846C11.9821%205.65332%2012.2116%205.62644%2012.4485%205.61816C12.3406%205.91595%2012.2441%206.21685%2012.155%206.52084C11.8437%206.50223%2011.5324%206.48052%2011.2222%206.4588Z'%20fill='url(%23paint17_linear_15836_3582)'/%3e%3cpath%20id='Vector_63'%20opacity='0.5'%20d='M12.1215%206.63637C12.087%206.75632%2012.0545%206.87626%2012.022%206.99724L11.0713%206.92486C11.0713%206.92486%2011.1048%206.77183%2011.1772%206.57227C11.4926%206.59501%2011.8071%206.61569%2012.1215%206.63637Z'%20fill='url(%23paint18_linear_15836_3582)'/%3e%3cpath%20id='Vector_64'%20opacity='0.5'%20d='M12.3248%206.53237C12.3049%206.53134%2012.285%206.52927%2012.2661%206.52824C12.3563%206.22114%2012.4558%205.91715%2012.5659%205.61626C13.0585%205.61419%2013.5491%205.68553%2013.5491%205.68553L13.4275%206.60062C13.0596%206.58924%2012.6917%206.55512%2012.3248%206.53237Z'%20fill='url(%23paint19_linear_15836_3582)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_15836_3582'%20x1='6.97955'%20y1='7.26947'%20x2='3.42246'%20y2='11.0928'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_15836_3582'%20x1='5.83965'%20y1='11.0797'%20x2='7.63822'%20y2='13.9137'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint2_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(6.59902%2012.3229)%20rotate(-68.7958)%20scale(1.33886%201.39191)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint3_linear_15836_3582'%20x1='18.9194'%20y1='9.08262'%20x2='21.1401'%20y2='13.4021'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_15836_3582'%20x1='19.0563'%20y1='12.8942'%20x2='16.7225'%20y2='14.9831'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint5_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(18.0786%2013.8269)%20rotate(-11.4054)%20scale(1.5459%201.0378)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint6_linear_15836_3582'%20x1='16.4136'%20y1='13.2152'%20x2='7.77357'%20y2='16.8418'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_15836_3582'%20x1='13.1228'%20y1='13.5101'%20x2='13.8927'%20y2='10.0946'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_15836_3582'%20x1='11.1224'%20y1='11.3127'%20x2='16.8305'%20y2='12.8003'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint9_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(13.6018%2011.9993)%20rotate(-115.351)%20scale(1.12129%201.92215)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint10_linear_15836_3582'%20x1='12.7619'%20y1='19.1153'%20x2='14.1622'%20y2='13.5938'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_15836_3582'%20x1='7.73648'%20y1='15.1437'%20x2='8.50022'%20y2='12.1323'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint12_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(8.11332%2013.8562)%20rotate(-32.3967)%20scale(0.686669%201.07581)'%3e%3cstop%20stop-color='%2344DCFA'/%3e%3cstop%20offset='0.4438'%20stop-color='%234CAAE5'/%3e%3cstop%20offset='1'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint13_linear_15836_3582'%20x1='14.3226'%20y1='3.95403'%20x2='13.6519'%20y2='12.7924'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_15836_3582'%20x1='14.485'%20y1='10.9477'%20x2='14.9061'%20y2='5.39774'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E3E4E8'/%3e%3cstop%20offset='1'%20stop-color='%239E9EAB'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_15836_3582'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(15.9514%205.90347)%20rotate(-175.657)%20scale(5.63684%205.57701)'%3e%3cstop%20stop-color='%234D4178'/%3e%3cstop%20offset='1'%20stop-color='%2327213B'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_15836_3582'%20x1='14.5737'%20y1='8.91767'%20x2='14.4352'%20y2='10.7426'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint17_linear_15836_3582'%20x1='11.869'%20y1='5.60405'%20x2='11.7294'%20y2='7.44393'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint18_linear_15836_3582'%20x1='11.6895'%20y1='5.59016'%20x2='11.5499'%20y2='7.43012'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint19_linear_15836_3582'%20x1='12.9403'%20y1='5.68553'%20x2='12.8006'%20y2='7.52546'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_15836_3582'%3e%3crect%20width='25.3151'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + a8 = + "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.98979%2010.231C5.41138%2010.231%203.20947%2010.6208%203.20947%2012.1821C3.20947%2013.7433%205.39741%2014.1471%207.98979%2014.1471C10.5682%2014.1471%2012.7695%2013.7567%2012.7695%2012.196C12.7695%2010.6354%2010.5822%2010.231%207.98979%2010.231Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.9898%208.00408C9.68187%208.00408%2011.0533%206.63202%2011.0533%204.93996C11.0533%203.24789%209.68187%201.87646%207.9898%201.87646C6.29774%201.87646%204.92568%203.24789%204.92568%204.93996C4.91996%206.62631%206.2825%207.99837%207.96822%208.00408H7.9898Z'%20stroke='%23247EFE'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", + Et = ({ icon: e, className: t = "", ...n }) => + /* @__PURE__ */ p.jsx("i", { + className: `${t} codicon codicon-${e}`, + ...n, + }), + fd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "code", ...e }), + pd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "add", ...e }), + hd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "trash", ...e }), + l8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "comment-unresolved", ...e }), + s8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "check", ...e }), + w2 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "pass-filled", ...e }), + c8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "debug-restart", ...e }), + u8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "gear", ...e }), + gd = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "chevron-up", ...e }), + md = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "chevron-down", ...e }), + d8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "info", ...e }), + f8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "send", ...e }), + p8 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "pencil", ...e }), + E2 = (e) => /* @__PURE__ */ p.jsx(Et, { icon: "share", ...e }), + h8 = ({ pos: e, onAddComment: t }) => + jn( + /* @__PURE__ */ p.jsx(r8, { + children: + e && + /* @__PURE__ */ p.jsx(Pe, { + onClick: t, + id: `${Ui}-highlight`, + style: { + position: "absolute", + top: e.y, + left: e.x, + // right: "15px", + zIndex: d6 + 5, + cursor: "pointer", + background: "#007AFF", + width: 26, + height: 26, + borderRadius: "100%", + boxShadow: "none", + border: "none", + display: "flex", + justifyContent: "center", + alignItems: "center", + fontSize: "13px", + fontWeight: "bold", + color: "#fff", + padding: 0, + }, + children: /* @__PURE__ */ p.jsx(pd, {}), + }), + }), + e.element.parentElement, ), - /* @__PURE__ */ p.jsx( - Fd, - { - comment: l, - setComment: s, - loading: i, - users: Object.values(e), - currentUser: n, - placeholder: "Start a conversation or add others with @", - onEnterKeypress: u - } - ) - ] }) }) }); -}; -var jd = { exports: {} }; -(function(e, t) { - (function(n, o) { - e.exports = o(); - })(Yn, function() { - var n = 1e3, o = 6e4, r = 36e5, i = "millisecond", a = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", h = "quarter", f = "year", m = "date", b = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) { - var N = ["th", "st", "nd", "rd"], T = k % 100; - return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; - } }, C = function(k, N, T) { - var F = String(k); - return !F || F.length >= N ? k : "" + Array(N + 1 - F.length).join(T) + k; - }, E = { s: C, z: function(k) { - var N = -k.utcOffset(), T = Math.abs(N), F = Math.floor(T / 60), I = T % 60; - return (N <= 0 ? "+" : "-") + C(F, 2, "0") + ":" + C(I, 2, "0"); - }, m: function k(N, T) { - if (N.date() < T.date()) return -k(T, N); - var F = 12 * (T.year() - N.year()) + (T.month() - N.month()), I = N.clone().add(F, d), D = T - I < 0, v = N.clone().add(F + (D ? -1 : 1), d); - return +(-(F + (T - I) / (D ? I - v : v - I)) || 0); - }, a: function(k) { - return k < 0 ? Math.ceil(k) || 0 : Math.floor(k); - }, p: function(k) { - return { M: d, y: f, w: c, d: u, D: m, h: s, m: l, s: a, ms: i, Q: h }[k] || String(k || "").toLowerCase().replace(/s$/, ""); - }, u: function(k) { - return k === void 0; - } }, w = "en", S = {}; - S[w] = x; - var _ = "$isDayjsObject", A = function(k) { - return k instanceof P || !(!k || !k[_]); - }, R = function k(N, T, F) { - var I; - if (!N) return w; - if (typeof N == "string") { - var D = N.toLowerCase(); - S[D] && (I = D), T && (S[D] = T, I = D); - var v = N.split("-"); - if (!I && v.length > 1) return k(v[0]); - } else { - var z = N.name; - S[z] = N, I = z; + g8 = () => { + const { + state: { isRightPanelOpen: e }, + } = q6(), + t = Ht(), + n = () => { + t(ic(!e)); + }; + return /* @__PURE__ */ p.jsx(Pe, { + onClick: n, + children: e ? "Hide conversations" : "Show conversations", + }); + }, + m8 = (e) => Ie.get(`dbt/dbt_docs_share/${e}`), + b8 = (e, t, n) => + Ie.post(`dbt/dbt_docs_share/${e}/conversation_group`, { + ...t, + telemetry: { + eventName: "dbtCollaboration:create", + properties: { source: n }, + }, + }), + y8 = (e, t, n, o) => + Ie.post(`dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, { + ...n, + telemetry: { + eventName: "dbtCollaboration:reply", + properties: { source: o }, + }, + }), + C8 = (e) => Ie.get(`dbt/dbt_docs_share/${e}/conversations`), + v8 = (e) => Ie.get("users/chat", { company: e }), + x8 = (e, t, n) => + Ie.post(`dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, { + resolved: !0, + telemetry: { + eventName: "dbtCollaboration:resolve", + properties: { source: n }, + }, + }), + w8 = () => { + const e = je((l) => l.shareId), + [t, n] = ue(null), + [o, r] = ue(!1), + i = Ht(); + ce(() => { + t != null && + t.manifest_presigned_url && + fetch(t.manifest_presigned_url) + .then((l) => l.json()) + .then((l) => { + i(Z6(l)); + }) + .catch((l) => + console.error( + "error loading manifest", + l, + t.manifest_presigned_url, + ), + ); + }, [i, t == null ? void 0 : t.manifest_presigned_url]); + const a = Me(async () => { + if (!e) return; + r(!0); + const l = await m8(e); + if (l) { + n(l); + const s = document.getElementById("collapse-sidebar"); + s == null || s.click(); } - return !F && I && (w = I), I || !F && w; - }, L = function(k, N) { - if (A(k)) return k.clone(); - var T = typeof N == "object" ? N : {}; - return T.date = k, T.args = arguments, new P(T); - }, j = E; - j.l = R, j.i = A, j.w = function(k, N) { - return L(k, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); - }; - var P = function() { - function k(T) { - this.$L = R(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[_] = !0; + r(!1); + }, [e]); + return ( + ce(() => { + !e || t || o || a(); + }, [e, t, a, o]), + { shareDetails: t, loading: o } + ); + }, + E8 = () => { + const e = je((c) => + c.selectedConversationId + ? c.conversations[c.selectedConversationId] + : null, + ), + t = je((c) => c.docsAppRendered), + n = je((c) => c.newConversation), + o = Ht(), + [r, i] = ue(null), + [a, l] = ue(null); + ce(() => { + n && (i(null), l(null)); + }, [n]); + const s = Me(() => { + console.log("resetHighlights"), r && p6(r), l(null), i(null); + }, [r]); + return ( + ce(() => { + !e || + !t || + (e.meta.resource_type && + e.meta.uniqueId && + (window.location.hash = `#!/${e.meta.resource_type}/${e.meta.uniqueId}`)); + }, [e, t, o]), + { + getHighlightedSelectionData: () => r, + pos: a, + onSelectionEnd: (c) => { + const d = c.target, + h = g6(d), + { end: f, start: m } = c.detail.selectionRange, + b = document.getSelection(); + if (!b || !b.rangeCount) return s(), null; + const g = b.getRangeAt(0).toString(), + x = d == null ? void 0 : d.innerText; + if (!g || !x) return; + const { end: C, start: E, x: w, y: S } = m6(h, d, g, f, m); + console.log("selection range", C, E, w, S); + const _ = { + meta: { + filePath: "", + field: h, + highlight: g, + range: { + end: { line: C, character: 0 }, + start: { line: E, character: 0 }, + }, + }, + }; + o(ac()), + l({ + x: w, + y: S, + element: d, + }), + document.body.addEventListener("click", s, { once: !0 }), + i(_); + }, } - var N = k.prototype; - return N.parse = function(T) { - this.$d = function(F) { - var I = F.date, D = F.utc; - if (I === null) return /* @__PURE__ */ new Date(NaN); - if (j.u(I)) return /* @__PURE__ */ new Date(); - if (I instanceof Date) return new Date(I); - if (typeof I == "string" && !/Z$/i.test(I)) { - var v = I.match(y); - if (v) { - var z = v[2] - 1 || 0, B = (v[7] || "0").substring(0, 3); - return D ? new Date(Date.UTC(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B)) : new Date(v[1], z, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, B); - } - } - return new Date(I); - }(T), this.init(); - }, N.init = function() { - var T = this.$d; - this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds(); - }, N.$utils = function() { - return j; - }, N.isValid = function() { - return this.$d.toString() !== b; - }, N.isSame = function(T, F) { - var I = L(T); - return this.startOf(F) <= I && I <= this.endOf(F); - }, N.isAfter = function(T, F) { - return L(T) < this.startOf(F); - }, N.isBefore = function(T, F) { - return this.endOf(F) < L(T); - }, N.$g = function(T, F, I) { - return j.u(T) ? this[F] : this.set(I, T); - }, N.unix = function() { - return Math.floor(this.valueOf() / 1e3); - }, N.valueOf = function() { - return this.$d.getTime(); - }, N.startOf = function(T, F) { - var I = this, D = !!j.u(F) || F, v = j.p(T), z = function(oe, U) { - var ge = j.w(I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), I); - return D ? ge : ge.endOf(u); - }, B = function(oe, U) { - return j.w(I.toDate()[oe].apply(I.toDate("s"), (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U)), I); - }, M = this.$W, W = this.$M, G = this.$D, K = "set" + (this.$u ? "UTC" : ""); - switch (v) { - case f: - return D ? z(1, 0) : z(31, 11); - case d: - return D ? z(1, W) : z(0, W + 1); - case c: - var Q = this.$locale().weekStart || 0, ne = (M < Q ? M + 7 : M) - Q; - return z(D ? G - ne : G + (6 - ne), W); - case u: - case m: - return B(K + "Hours", 0); - case s: - return B(K + "Minutes", 1); - case l: - return B(K + "Seconds", 2); - case a: - return B(K + "Milliseconds", 3); - default: - return this.clone(); + ); + }, + S8 = ({ conversationGroup: e }) => { + const t = je((l) => l.selectedConversationId), + n = Ht(), + o = pe(null), + r = Be(() => h6(e.meta), [e.meta]), + i = () => { + n(rc(e.conversation_group_id)); + }, + a = Be(() => { + if (!r) return; + if (e.meta.field === "description") + return { top: 0, bottom: r.offsetHeight }; + let l = 0, + s = 0; + for (let u = e.meta.range.start.line; u <= e.meta.range.end.line; u++) { + const c = r.querySelector( + `.line-numbers-rows > span:nth-child(${u + 1})`, + ); + c && + (u === e.meta.range.start.line && (l = c.offsetTop + 15), + u === e.meta.range.end.line && (s = c.offsetTop + c.offsetHeight)); } - }, N.endOf = function(T) { - return this.startOf(T, !1); - }, N.$set = function(T, F) { - var I, D = j.p(T), v = "set" + (this.$u ? "UTC" : ""), z = (I = {}, I[u] = v + "Date", I[m] = v + "Date", I[d] = v + "Month", I[f] = v + "FullYear", I[s] = v + "Hours", I[l] = v + "Minutes", I[a] = v + "Seconds", I[i] = v + "Milliseconds", I)[D], B = D === u ? this.$D + (F - this.$W) : F; - if (D === d || D === f) { - var M = this.clone().set(m, 1); - M.$d[z](B), M.init(), this.$d = M.set(m, Math.min(this.$D, M.daysInMonth())).$d; - } else z && this.$d[z](B); - return this.init(), this; - }, N.set = function(T, F) { - return this.clone().$set(T, F); - }, N.get = function(T) { - return this[j.p(T)](); - }, N.add = function(T, F) { - var I, D = this; - T = Number(T); - var v = j.p(F), z = function(W) { - var G = L(D); - return j.w(G.date(G.date() + Math.round(W * T)), D); - }; - if (v === d) return this.set(d, this.$M + T); - if (v === f) return this.set(f, this.$y + T); - if (v === u) return z(1); - if (v === c) return z(7); - var B = (I = {}, I[l] = o, I[s] = r, I[a] = n, I)[v] || 1, M = this.$d.getTime() + T * B; - return j.w(M, this); - }, N.subtract = function(T, F) { - return this.add(-1 * T, F); - }, N.format = function(T) { - var F = this, I = this.$locale(); - if (!this.isValid()) return I.invalidDate || b; - var D = T || "YYYY-MM-DDTHH:mm:ssZ", v = j.z(this), z = this.$H, B = this.$m, M = this.$M, W = I.weekdays, G = I.months, K = I.meridiem, Q = function(U, ge, J, ke) { - return U && (U[ge] || U(F, D)) || J[ge].slice(0, ke); - }, ne = function(U) { - return j.s(z % 12 || 12, U, "0"); - }, oe = K || function(U, ge, J) { - var ke = U < 12 ? "AM" : "PM"; - return J ? ke.toLowerCase() : ke; - }; - return D.replace(g, function(U, ge) { - return ge || function(J) { - switch (J) { - case "YY": - return String(F.$y).slice(-2); - case "YYYY": - return j.s(F.$y, 4, "0"); - case "M": - return M + 1; - case "MM": - return j.s(M + 1, 2, "0"); - case "MMM": - return Q(I.monthsShort, M, G, 3); - case "MMMM": - return Q(G, M); - case "D": - return F.$D; - case "DD": - return j.s(F.$D, 2, "0"); - case "d": - return String(F.$W); - case "dd": - return Q(I.weekdaysMin, F.$W, W, 2); - case "ddd": - return Q(I.weekdaysShort, F.$W, W, 3); - case "dddd": - return W[F.$W]; - case "H": - return String(z); - case "HH": - return j.s(z, 2, "0"); - case "h": - return ne(1); - case "hh": - return ne(2); - case "a": - return oe(z, B, !0); - case "A": - return oe(z, B, !1); - case "m": - return String(B); - case "mm": - return j.s(B, 2, "0"); - case "s": - return String(F.$s); - case "ss": - return j.s(F.$s, 2, "0"); - case "SSS": - return j.s(F.$ms, 3, "0"); - case "Z": - return v; - } - return null; - }(U) || v.replace(":", ""); + return { top: l, bottom: s }; + }, [r, e.meta.field, e.meta.range.start.line, e.meta.range.end.line]); + return ( + ce(() => { + var l; + t === e.conversation_group_id && + ((l = o.current) == null || + l.scrollIntoView({ + behavior: "smooth", + block: "center", + })); + }, [e.conversation_group_id, t]), + !a || !(r != null && r.parentElement) + ? null + : jn( + /* @__PURE__ */ p.jsx("div", { + ref: o, + className: `altimate-highlighter ${t === e.conversation_group_id ? "active" : ""}`, + style: { top: a.top, height: a.bottom - a.top }, + onClick: i, + children: /* @__PURE__ */ p.jsx(l8, {}), + }), + r.parentElement, + ) + ); + }, + k8 = () => { + const e = je((r) => Object.values(r.conversations || {})), + t = je((r) => r.codeblockLoaded), + n = je((r) => r.currentPage), + o = + e == null + ? void 0 + : e.filter( + (r) => + r.meta.resource_type === n.resourceType && + r.meta.uniqueId === n.name, + ); + return !(o != null && o.length) || !t + ? null + : /* @__PURE__ */ p.jsx(p.Fragment, { + children: o.map((r) => + /* @__PURE__ */ p.jsx( + S8, + { + conversationGroup: r, + }, + r.conversation_group_id, + ), + ), }); - }, N.utcOffset = function() { - return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); - }, N.diff = function(T, F, I) { - var D, v = this, z = j.p(F), B = L(T), M = (B.utcOffset() - this.utcOffset()) * o, W = this - B, G = function() { - return j.m(v, B); - }; - switch (z) { - case f: - D = G() / 12; - break; - case d: - D = G(); - break; - case h: - D = G() / 3; - break; - case c: - D = (W - M) / 6048e5; - break; - case u: - D = (W - M) / 864e5; - break; - case s: - D = W / r; - break; - case l: - D = W / o; - break; - case a: - D = W / n; - break; - default: - D = W; - } - return I ? D : j.a(D); - }, N.daysInMonth = function() { - return this.endOf(d).$D; - }, N.$locale = function() { - return S[this.$L]; - }, N.locale = function(T, F) { - if (!T) return this.$L; - var I = this.clone(), D = R(T, F, !0); - return D && (I.$L = D), I; - }, N.clone = function() { - return j.w(this.$d, this); - }, N.toDate = function() { - return new Date(this.valueOf()); - }, N.toJSON = function() { - return this.isValid() ? this.toISOString() : null; - }, N.toISOString = function() { - return this.$d.toISOString(); - }, N.toString = function() { - return this.$d.toUTCString(); - }, k; - }(), V = P.prototype; - return L.prototype = V, [["$ms", i], ["$s", a], ["$m", l], ["$H", s], ["$W", u], ["$M", d], ["$y", f], ["$D", m]].forEach(function(k) { - V[k[1]] = function(N) { - return this.$g(N, k[0], k[1]); - }; - }), L.extend = function(k, N) { - return k.$i || (k(N, P, L), k.$i = !0), L; - }, L.locale = R, L.isDayjs = A, L.unix = function(k) { - return L(1e3 * k); - }, L.en = S[w], L.Ls = S, L.p = {}, L; - }); -})(jd); -var i9 = jd.exports; -const fs = /* @__PURE__ */ un(i9), a9 = ({ - conversationGroupId: e, - shareId: t -}) => { - const { onResolve: n, source: o } = sr(), [r, i] = ue(!1), a = async () => { - e && (i(!0), await x8(t, e, o), n(), i(!1)); - }; - return e ? /* @__PURE__ */ p.jsx( - Zn, - { - disabled: r, - className: Cn.resolveButton, - title: "Resolve conversation", - onClick: a, - children: /* @__PURE__ */ p.jsx(s8, {}) - } - ) : null; -}, Id = ({ - user: e, - timestamp: t, - showResolveButton: n, - conversationGroupId: o, - shareId: r -}) => /* @__PURE__ */ p.jsxs(Er, { className: "d-flex align-items-center justify-content-between mb-0", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-1", children: [ - /* @__PURE__ */ p.jsx(bd, { user: e }), - /* @__PURE__ */ p.jsxs("h4", { children: [ - e == null ? void 0 : e.first_name, - " ", - e == null ? void 0 : e.last_name - ] }), - /* @__PURE__ */ p.jsx("span", { children: fs(t).format("HH:mm, DD MMM YY") }) - ] }), - n ? /* @__PURE__ */ p.jsx( - a9, - { - conversationGroupId: o, - shareId: r - } - ) : null -] }), l9 = ({ conversation: e, shareId: t }) => { - const { users: n } = sr(), o = Be(() => { - if (e != null && e.user_id) - return n[e.user_id]; - }, [e.user_id, n]); - return /* @__PURE__ */ p.jsxs(sn, { children: [ - /* @__PURE__ */ p.jsx( - Id, - { - user: o, - timestamp: e.timestamp, - shareId: t - } - ), - /* @__PURE__ */ p.jsx(Rn, { children: /* @__PURE__ */ p.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) - ] }); -}, s9 = ({ conversationGroupId: e, shareId: t }) => { - const { currentUser: n, users: o, onReplyAdd: r, source: i } = sr(), a = Object.values(o), [l, s] = ue(""), [u, c] = ue(!1), d = async (h) => { - if (h == null || h.stopPropagation(), h == null || h.preventDefault(), !(!t || !e)) { - c(!0), console.log("saving reply", t, e, { - message: l - }); - try { - await y8( - t, - e, - { - message: l - }, - i - ), r(); - } catch (f) { - console.error("error while saving reply", f); - } - c(!1), s(""); - } + }, + _8 = "_dbtDocs_14zop_9", + A8 = "_hotspotButton_14zop_46", + M8 = "_pulse_14zop_1", + T8 = "_conversationRightPanelCloseButton_14zop_62", + O8 = "_conversationRightPanel_14zop_62", + N8 = "_newConversationForm_14zop_94", + D8 = "_highlightText_14zop_108", + L8 = "_conversationInputForm_14zop_130", + F8 = "_conversationGroup_14zop_156", + R8 = "_replyForm_14zop_189", + j8 = "_resolveButton_14zop_237", + Cn = { + dbtDocs: _8, + hotspotButton: A8, + pulse: M8, + conversationRightPanelCloseButton: T8, + conversationRightPanel: O8, + newConversationForm: N8, + highlightText: D8, + conversationInputForm: L8, + conversationGroup: F8, + replyForm: R8, + resolveButton: j8, + }, + I8 = "_profileImage_11vaf_1", + z8 = { + profileImage: I8, + }, + bd = ({ user: e }) => { + var t; + return /* @__PURE__ */ p.jsx("div", { + className: z8.profileImage, + children: + ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "", + }); }; - return /* @__PURE__ */ p.jsx("div", { className: Cn.replyForm, children: /* @__PURE__ */ p.jsx("form", { onSubmit: d, className: "", children: /* @__PURE__ */ p.jsx( - Fd, - { - comment: l, - setComment: s, - loading: u, - users: Object.values(a), - currentUser: n || null, - onEnterKeypress: d - } - ) }) }); -}, c9 = ({ - conversationGroup: e, - shareId: t, - onSelect: n -}) => { - var h; - const { users: o } = sr(), r = Be(() => { - if (e.owner) - return o[e.owner]; - }, [e.owner, o]), { isSelected: i } = sr(), [a, l] = ue(!1), s = Me( - (f) => { - !i || !f || (console.log( - "ConversationGroupComponent scrolling", - e.conversation_group_id - ), setTimeout(() => { - f.scrollIntoView({ - behavior: "smooth", - block: "center" - }); - }, 1e3)); - }, - [e.conversation_group_id, i] - ); - if (!((h = e == null ? void 0 : e.conversations) != null && h.length) || (e == null ? void 0 : e.status) !== "Pending") - return null; - const [u, ...c] = e.conversations, d = c.length ? c.length > 1 ? `${c.length} replies` : `${c.length} reply` : "Reply"; - return /* @__PURE__ */ p.jsx("div", { ref: s, className: Cn.conversationGroup, children: /* @__PURE__ */ p.jsxs(sn, { className: `${i ? "active" : ""}`, onClick: n, children: [ - /* @__PURE__ */ p.jsx( - Id, - { - user: r, - timestamp: u.timestamp, - showResolveButton: !0, - conversationGroupId: e.conversation_group_id, - shareId: t - } - ), - /* @__PURE__ */ p.jsxs(Rn, { children: [ - /* @__PURE__ */ p.jsx(Rd, { meta: e.meta }), - /* @__PURE__ */ p.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), - /* @__PURE__ */ p.jsx(Pe, { onClick: () => l((f) => !f), color: "link", children: d }), - c.length ? /* @__PURE__ */ p.jsx(p.Fragment, { children: a ? /* @__PURE__ */ p.jsx(p.Fragment, { children: c.map((f) => /* @__PURE__ */ p.jsx( - l9, - { - conversation: f, - shareId: t - }, - f.conversation_id - )) }) : null }) : null, - a ? /* @__PURE__ */ p.jsx( - s9, - { - conversationGroupId: e.conversation_group_id, - shareId: t +function H8(e) { + if (Array.isArray(e)) { + for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t]; + return n; + } +} +function P8(e) { + if ( + Symbol.iterator in Object(e) || + Object.prototype.toString.call(e) === "[object Arguments]" + ) + return Array.from(e); +} +function B8() { + throw new TypeError("Invalid attempt to spread non-iterable instance"); +} +function Ei(e) { + return H8(e) || P8(e) || B8(); +} +function It() { + return ( + (It = + Object.assign || + function (e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t]; + for (var o in n) + Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]); } - ) : null - ] }) - ] }) }); -}, zd = zt({ - users: {}, - conversationGroup: void 0, - currentUser: void 0, - isSelected: !1, - shareId: void 0, - onSelect: () => null, - onResolve: () => null, - onReplyAdd: () => null, - source: Ks.DBT_DOCS -}), u9 = ({ - currentUser: e, - conversationGroup: t, - shareId: n, - onSelect: o, - isSelected: r, - users: i, - onResolve: a, - onReplyAdd: l, - source: s -}) => { - const u = Be( - () => ({ - currentUser: e, - conversationGroup: t, - shareId: n, - onSelect: o, - isSelected: r, - users: i, - onResolve: a, - onReplyAdd: l, - source: s - }), - [ - e, - t, - n, - o, - r, - i, - a, - l, - s - ] + return e; + }), + It.apply(this, arguments) ); - return !t || !n ? null : /* @__PURE__ */ p.jsx(zd.Provider, { value: u, children: /* @__PURE__ */ p.jsx( - c9, - { - conversationGroup: t, - shareId: n, - onSelect: o - } - ) }); -}, sr = () => Je(zd), d9 = () => { - const e = je( - (d) => d.source - ), t = je( - (d) => d.conversations - ), n = je( - (d) => d.selectedConversationId - ), o = je( - (d) => d.shareId - ), r = je( - (d) => d.users - ), i = je( - (d) => d.currentUserId - ), a = Ht(); - if (!i || !o) - return null; - const l = r[i], s = (d) => { - a(W6({ shareId: o, conversationGroupId: d })); - }, u = (d) => { - a(rc(d)); - }, c = (d) => { - console.log("onReplyAdd", d), a(cd()); - }; - return !t || !Object.keys(t).length ? /* @__PURE__ */ p.jsx("div", { children: "No conversations yet!" }) : /* @__PURE__ */ p.jsx("div", { children: Object.values(t).map((d) => /* @__PURE__ */ p.jsx( - u9, - { - conversationGroup: d, - shareId: o, - isSelected: n === d.conversation_group_id, - currentUser: l, - onResolve: () => s(d.conversation_group_id), - onSelect: () => u(d.conversation_group_id), - users: r, - onReplyAdd: () => c(d.conversation_group_id), - source: e - }, - d.conversation_group_id - )) }); -}, f9 = () => { - const e = je( - (a) => a.isRightPanelOpen - ), t = je( - (a) => a.selectedConversationId - ), n = je( - (a) => a.newConversation - ), o = Ht(), r = () => { - o(ic(!1)), o(rc(void 0)), o(ac()); - }; - return !!n || e || t ? /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx( - L5, - { - onClick: r, - className: Cn.conversationRightPanelCloseButton - } - ), - /* @__PURE__ */ p.jsxs("div", { className: Cn.conversationRightPanel, children: [ - /* @__PURE__ */ p.jsx("h3", { children: "Comments" }), - n ? /* @__PURE__ */ p.jsx(r9, {}) : /* @__PURE__ */ p.jsx(d9, {}) - ] }) - ] }) : null; -}, p9 = 10, h9 = () => { - const e = pe(), t = je( - (a) => a.shareId - ), n = je( - (a) => a.conversationsLoadingState - ), o = Ht(), r = je( - (a) => Object.keys(a.conversations || {}) - ), i = Me( - (a) => { - clearTimeout(e.current), C8(a).then((l) => { - console.log("useConversations", l), o($6(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { - i(a); - }, p9 * 1e3); - }).catch( - (l) => console.error("error while fetching conversations list", l) - ).finally(() => { - o(v2(Rt.INITIALIZED)); - }); - }, - [o] +} +function V8(e, t) { + if (!(e instanceof t)) + throw new TypeError("Cannot call a class as a function"); +} +function $8(e, t) { + for (var n = 0; n < t.length; n++) { + var o = t[n]; + (o.enumerable = o.enumerable || !1), + (o.configurable = !0), + "value" in o && (o.writable = !0), + Object.defineProperty(e, o.key, o); + } +} +function W8(e, t, n) { + return t && $8(e.prototype, t), e; +} +function ve(e) { + if (e === void 0) + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called", + ); + return e; +} +function ls(e, t) { + return ( + (ls = + Object.setPrototypeOf || + function (o, r) { + return (o.__proto__ = r), o; + }), + ls(e, t) ); - return ce(() => { - n !== Rt.UNINITIALIZED || !t || (o(v2(Rt.LOADING)), i(t)); - }, [o, n, r, t, i]), { isLoading: n === Rt.LOADING }; -}, g9 = () => { - const e = Ht(), t = je( - (r) => Object.keys(r.users || {}) - ), [n, o] = ue(Rt.UNINITIALIZED); - return ce(() => { - n !== Rt.UNINITIALIZED || Object.keys(t).length || (o(Rt.LOADING), v8().then((r) => { - console.log("useConversationUsers", r), e(V6(r)); - }).catch((r) => console.error("error while fetching users list", r)).finally(() => { - o(Rt.INITIALIZED); - })); - }, [e, n, t]), { isLoading: n === Rt.LOADING }; -}, m9 = () => (g9(), h9(), /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx(f9, {}), - /* @__PURE__ */ p.jsx(k8, {}) -] })), Hd = ({ target: e, ...t }) => jn( - /* @__PURE__ */ p.jsx( - Zn, - { - className: Cn.hotspotButton, - title: "Click to start conversation", - ...t, - children: /* @__PURE__ */ p.jsx(pd, {}) - } - ), - e -), b9 = () => { - var s; - const e = Ht(), t = je( - (u) => u.codeblockLoaded - ), n = je( - (u) => u.manifest - ), [o, r] = ue(0), i = (s = Qs()) == null ? void 0 : s.parentElement, a = () => { - var h; - if (!i || !n.nodes) - return; - const u = Js(); - if (!u || u.length < 3) { - console.error("Unable to find model parts", u); - return; - } - const d = { - highlight: ((h = n.nodes[u[2]]) == null ? void 0 : h.raw_code).split(` -`)[o], - range: { - end: { line: o, character: 0 }, - start: { line: o, character: 0 } - } - }; - e(lc({ meta: d })); - }, l = Me( - (u) => { - if (!i) - return; - const c = u.y, d = i.querySelectorAll( - ".line-numbers-rows > span" - ), h = Array.from(d).findIndex((f) => { - const { height: m, y: b } = f.getBoundingClientRect(); - return c >= b && c <= b + m; - }); - r(h); +} +function Z8(e, t) { + if (typeof t != "function" && t !== null) + throw new TypeError("Super expression must either be null or a function"); + (e.prototype = Object.create(t && t.prototype, { + constructor: { + value: e, + writable: !0, + configurable: !0, }, - [i] + })), + t && ls(e, t); +} +function po(e) { + return ( + typeof Symbol == "function" && typeof Symbol.iterator == "symbol" + ? (po = function (n) { + return typeof n; + }) + : (po = function (n) { + return n && + typeof Symbol == "function" && + n.constructor === Symbol && + n !== Symbol.prototype + ? "symbol" + : typeof n; + }), + po(e) ); - return ce(() => { - if (!(!t || !i)) - return i.addEventListener("mousemove", l), () => { - i.removeEventListener("mousemove", l); - }; - }, [t, i, l]), !t || !i ? null : /* @__PURE__ */ p.jsx( - Hd, - { - target: i, - onClick: a, - style: { top: o * 21.2 } - } +} +function si(e) { + return ( + typeof Symbol == "function" && po(Symbol.iterator) === "symbol" + ? (si = function (n) { + return po(n); + }) + : (si = function (n) { + return n && + typeof Symbol == "function" && + n.constructor === Symbol && + n !== Symbol.prototype + ? "symbol" + : po(n); + }), + si(e) ); -}, y9 = () => { - const e = Ht(), t = je( - (r) => r.codeblockLoaded - ), n = ec(), o = () => { - const r = { - field: "description", - highlight: n == null ? void 0 : n.innerText - }; - e(lc({ meta: r })); - }; - return !t || !n ? null : /* @__PURE__ */ p.jsx(Hd, { target: n, onClick: o }); -}, C9 = () => /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx(y9, {}), - /* @__PURE__ */ p.jsx(b9, {}) -] }), v9 = Z5(() => import("./DbtDocsRenderer.js")), x9 = () => { - const { loading: e, shareDetails: t } = w8(), n = Ht(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: i } = E8(), a = (l) => { - l.stopPropagation(); - const s = o(); - s && n(lc(s)); - }; - return e ? /* @__PURE__ */ p.jsx("div", { children: "Loading..." }) : !(t != null && t.catalog_presigned_url) || !(t != null && t.manifest_presigned_url) ? /* @__PURE__ */ p.jsx("div", { children: "Unable to load required artifacts. Please try again." }) : /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex justify-content-end mb-2", children: [ - /* @__PURE__ */ p.jsx(C9, {}), - /* @__PURE__ */ p.jsx(g8, {}) - ] }), - /* @__PURE__ */ p.jsx(m9, {}), - /* @__PURE__ */ p.jsx( - v9, - { - shareDetails: t, - onSelectionEnd: i - } - ), - r ? /* @__PURE__ */ p.jsx(h8, { pos: r, onAddComment: a }) : null - ] }); -}, nA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ p.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ p.jsx( - U6, - { - shareId: e, - userId: t, - conversationGroupId: n, - source: o, - children: /* @__PURE__ */ p.jsx(x9, {}) - } -) }), w9 = { - selectedTable: "", - moreTables: {}, - sidebarScreen: "", - selectedColumn: void 0, - collectColumns: {}, - confidence: { confidence: "high" }, - leftExpansion: 0, - rightExpansion: 0, - minRange: [0, 0], - nodeCount: 0, - selectCheck: !0, - nonSelectCheck: !0, - defaultExpansion: 1, - aiEnabled: !1, - modalArgs: null, - theme: "dark", - lineageType: "dynamic", - highlightedNodes: [], - externalSidePanel: !1, - selectedNode: "", - nodeSavingsPerformance: {}, - nodesCost: {}, - errors: {} -}, _i = oc({ - name: "lineageState", - initialState: w9, - reducers: { - setAllowSyncColumnsWithDB: (e, t) => { - e.allowSyncColumnsWithDB = t.payload; - }, - setStaticLineage: (e, t) => { - e.sqlLineage = t.payload; - }, - setLineageType: (e, t) => { - e.lineageType = t.payload; - }, - setTheme: (e, t) => { - e.theme = t.payload; - }, - setSelectedTable: (e, t) => { - e.selectedTable = t.payload; - }, - setModalArgs: (e, t) => { - e.modalArgs = t.payload; - }, - setAiEnabled: (e, t) => { - e.aiEnabled = t.payload; - }, - setMoreTables: (e, t) => { - e.moreTables = t.payload; - }, - mergeSeeMoreTables: (e, t) => { - e.moreTables = { - ...e.moreTables, - lineage: [...e.moreTables.lineage || [], ...t.payload] - }; - }, - setSidebarScreen: (e, t) => { - e.sidebarScreen = t.payload; - }, - setSelectedColumn: (e, t) => { - e.selectedColumn = t.payload; - }, - setCollectColumns: (e, t) => { - e.collectColumns = t.payload; - }, - mergeCollectColumns: (e, t) => { - const n = t.payload, o = { - ...e.collectColumns - }; - for (const r in n) { - const i = n[r]; - if (!(r in o)) { - o[r] = i; - continue; - } - const a = i.map((l) => { - const s = o[r].findIndex( - (u) => u.column === l.column - ); - return s === -1 ? l : (l.viewsType && (o[r][s].viewsType = l.viewsType), null); - }).filter((l) => l !== null); - o[r].push(...a); - } - e.collectColumns = o; - }, - setConfidence: (e, t) => { - e.confidence = t.payload; - }, - updateConfidenceWithOperatorList: (e, t) => { - const n = { ...e.confidence, confidence: "low" }; - n.operator_list = n.operator_list || [], n.operator_list.push(...t.payload.operatorList || []), e.confidence = n; - }, - setLeftExpansion: (e, t) => { - e.leftExpansion = t.payload; - }, - setRightExpansion: (e, t) => { - e.rightExpansion = t.payload; - }, - setMinRange: (e, t) => { - e.minRange = t.payload; - }, - setNodeCount: (e, t) => { - e.nodeCount = t.payload; - }, - setSelectCheck: (e, t) => { - e.selectCheck = t.payload; - }, - setNonSelectCheck: (e, t) => { - e.nonSelectCheck = t.payload; - }, - setDefaultExpansion: (e, t) => { - e.defaultExpansion = t.payload; - }, - setSqlLineageDetails: (e, t) => { - e.sqlLineage = t.payload; - }, - setHighlightedNodes: (e, t) => { - e.highlightedNodes = t.payload; - }, - setSelectedNode: (e, t) => { - e.selectedNode = t.payload; - }, - setNodesSavingsPerformance: (e, t) => { - e.nodeSavingsPerformance = t.payload; - }, - setNodesCost: (e, t) => { - e.nodesCost = t.payload; - }, - setErrors: (e, t) => { - e.errors = t.payload; - } - } -}), { - setSelectedTable: Xn, - setMoreTables: pc, - mergeSeeMoreTables: hc, - setSidebarScreen: Yt, - setSelectedColumn: Vn, - setCollectColumns: cr, - mergeCollectColumns: gc, - setConfidence: E9, - updateConfidenceWithOperatorList: mc, - setLeftExpansion: Sl, - setRightExpansion: kl, - setMinRange: ur, - setNodeCount: So, - setSelectCheck: Pd, - setNonSelectCheck: Bd, - setDefaultExpansion: Vd, - setAiEnabled: S9, - setModalArgs: ko, - setTheme: k9, - setLineageType: oA, - setStaticLineage: rA, - setAllowSyncColumnsWithDB: iA, - setSqlLineageDetails: _9, - setHighlightedNodes: A9, - setSelectedNode: M9, - setNodesSavingsPerformance: T9, - setNodesCost: O9, - setErrors: bc -} = _i.actions; -function bt(e) { - if (typeof e == "string" || typeof e == "number") return "" + e; - let t = ""; - if (Array.isArray(e)) - for (let n = 0, o; n < e.length; n++) - (o = bt(e[n])) !== "" && (t += (t && " ") + o); - else - for (let n in e) - e[n] && (t += (t && " ") + n); - return t; } -var ps = { exports: {} }, _l = {}, Zr = { exports: {} }, Al = {}; -/** - * @license React - * use-sync-external-store-shim.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var W2; -function N9() { - if (W2) return Al; - W2 = 1; - var e = $; - function t(d, h) { - return d === h && (d !== 0 || 1 / d === 1 / h) || d !== d && h !== h; - } - var n = typeof Object.is == "function" ? Object.is : t, o = e.useState, r = e.useEffect, i = e.useLayoutEffect, a = e.useDebugValue; - function l(d, h) { - var f = h(), m = o({ inst: { value: f, getSnapshot: h } }), b = m[0].inst, y = m[1]; - return i(function() { - b.value = f, b.getSnapshot = h, s(b) && y({ inst: b }); - }, [d, f, h]), r(function() { - return s(b) && y({ inst: b }), d(function() { - s(b) && y({ inst: b }); - }); - }, [d]), a(f), f; - } - function s(d) { - var h = d.getSnapshot; - d = d.value; - try { - var f = h(); - return !n(d, f); - } catch { - return !0; - } - } - function u(d, h) { - return h(); - } - var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : l; - return Al.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, Al; +function U8(e, t) { + return t && (si(t) === "object" || typeof t == "function") ? t : ve(e); } -var Ml = {}; -/** - * @license React - * use-sync-external-store-shim.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var Z2; -function D9() { - return Z2 || (Z2 = 1, process.env.NODE_ENV !== "production" && function() { - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - var e = $, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function n(C) { - { - for (var E = arguments.length, w = new Array(E > 1 ? E - 1 : 0), S = 1; S < E; S++) - w[S - 1] = arguments[S]; - o("error", C, w); - } - } - function o(C, E, w) { - { - var S = t.ReactDebugCurrentFrame, _ = S.getStackAddendum(); - _ !== "" && (E += "%s", w = w.concat([_])); - var A = w.map(function(R) { - return String(R); - }); - A.unshift("Warning: " + E), Function.prototype.apply.call(console[C], console, A); - } - } - function r(C, E) { - return C === E && (C !== 0 || 1 / C === 1 / E) || C !== C && E !== E; - } - var i = typeof Object.is == "function" ? Object.is : r, a = e.useState, l = e.useEffect, s = e.useLayoutEffect, u = e.useDebugValue, c = !1, d = !1; - function h(C, E, w) { - c || e.startTransition !== void 0 && (c = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.")); - var S = E(); - if (!d) { - var _ = E(); - i(S, _) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0); - } - var A = a({ - inst: { - value: S, - getSnapshot: E - } - }), R = A[0].inst, L = A[1]; - return s(function() { - R.value = S, R.getSnapshot = E, f(R) && L({ - inst: R - }); - }, [C, S, E]), l(function() { - f(R) && L({ - inst: R - }); - var j = function() { - f(R) && L({ - inst: R - }); - }; - return C(j); - }, [C]), u(S), S; - } - function f(C) { - var E = C.getSnapshot, w = C.value; - try { - var S = E(); - return !i(w, S); - } catch { - return !0; - } - } - function m(C, E, w) { - return E(); - } - var b = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !b, g = y ? m : h, x = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g; - Ml.useSyncExternalStore = x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Ml; +function Si(e) { + return ( + (Si = Object.setPrototypeOf + ? Object.getPrototypeOf + : function (n) { + return n.__proto__ || Object.getPrototypeOf(n); + }), + Si(e) + ); } -var U2; -function $d() { - return U2 || (U2 = 1, process.env.NODE_ENV === "production" ? Zr.exports = N9() : Zr.exports = D9()), Zr.exports; +function be(e, t, n) { + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ); } -/** - * @license React - * use-sync-external-store-shim/with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var q2; -function L9() { - if (q2) return _l; - q2 = 1; - var e = $, t = $d(); - function n(u, c) { - return u === c && (u !== 0 || 1 / u === 1 / c) || u !== u && c !== c; - } - var o = typeof Object.is == "function" ? Object.is : n, r = t.useSyncExternalStore, i = e.useRef, a = e.useEffect, l = e.useMemo, s = e.useDebugValue; - return _l.useSyncExternalStoreWithSelector = function(u, c, d, h, f) { - var m = i(null); - if (m.current === null) { - var b = { hasValue: !1, value: null }; - m.current = b; - } else b = m.current; - m = l(function() { - function g(S) { - if (!x) { - if (x = !0, C = S, S = h(S), f !== void 0 && b.hasValue) { - var _ = b.value; - if (f(_, S)) return E = _; - } - return E = S; - } - if (_ = E, o(C, S)) return _; - var A = h(S); - return f !== void 0 && f(_, A) ? _ : (C = S, E = A); +var q8 = function (e, t, n, o, r, i, a, l) { + if (process.env.NODE_ENV !== "production" && t === void 0) + throw new Error("invariant requires an error message argument"); + if (!e) { + var s; + if (t === void 0) + s = new Error( + "Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.", + ); + else { + var u = [n, o, r, i, a, l], + c = 0; + (s = new Error( + t.replace(/%s/g, function () { + return u[c++]; + }), + )), + (s.name = "Invariant Violation"); } - var x = !1, C, E, w = d === void 0 ? null : d; - return [function() { - return g(c()); - }, w === null ? void 0 : function() { - return g(w()); - }]; - }, [c, d, h, f]); - var y = r(u, m[0], m[1]); - return a(function() { - b.hasValue = !0, b.value = y; - }, [y]), s(y), y; - }, _l; -} -var Tl = {}; -/** - * @license React - * use-sync-external-store-shim/with-selector.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var Y2; -function F9() { - return Y2 || (Y2 = 1, process.env.NODE_ENV !== "production" && function() { - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); - var e = $, t = $d(); - function n(c, d) { - return c === d && (c !== 0 || 1 / c === 1 / d) || c !== c && d !== d; - } - var o = typeof Object.is == "function" ? Object.is : n, r = t.useSyncExternalStore, i = e.useRef, a = e.useEffect, l = e.useMemo, s = e.useDebugValue; - function u(c, d, h, f, m) { - var b = i(null), y; - b.current === null ? (y = { - hasValue: !1, - value: null - }, b.current = y) : y = b.current; - var g = l(function() { - var w = !1, S, _, A = function(P) { - if (!w) { - w = !0, S = P; - var V = f(P); - if (m !== void 0 && y.hasValue) { - var k = y.value; - if (m(k, V)) - return _ = k, k; - } - return _ = V, V; - } - var N = S, T = _; - if (o(N, P)) - return T; - var F = f(P); - return m !== void 0 && m(T, F) ? T : (S = P, _ = F, F); - }, R = h === void 0 ? null : h, L = function() { - return A(d()); - }, j = R === null ? void 0 : function() { - return A(R()); - }; - return [L, j]; - }, [d, h, f, m]), x = g[0], C = g[1], E = r(c, x, C); - return a(function() { - y.hasValue = !0, y.value = E; - }, [E]), s(E), E; + throw ((s.framesToPop = 1), s); } - Tl.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Tl; + }, + Y8 = q8; +const Eo = /* @__PURE__ */ un(Y8); +function G8(e) { + if (Array.isArray(e)) return e; } -process.env.NODE_ENV === "production" ? ps.exports = L9() : ps.exports = F9(); -var R9 = ps.exports; -const j9 = /* @__PURE__ */ un(R9), I9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, G2 = (e) => { - let t; - const n = /* @__PURE__ */ new Set(), o = (c, d) => { - const h = typeof c == "function" ? c(t) : c; - if (!Object.is(h, t)) { - const f = t; - t = d ?? (typeof h != "object" || h === null) ? h : Object.assign({}, t, h), n.forEach((m) => m(t, f)); +function K8(e, t) { + var n = [], + o = !0, + r = !1, + i = void 0; + try { + for ( + var a = e[Symbol.iterator](), l; + !(o = (l = a.next()).done) && (n.push(l.value), !(t && n.length === t)); + o = !0 + ); + } catch (s) { + (r = !0), (i = s); + } finally { + try { + !o && a.return != null && a.return(); + } finally { + if (r) throw i; } - }, r = () => t, s = { setState: o, getState: r, getInitialState: () => u, subscribe: (c) => (n.add(c), () => n.delete(c)), destroy: () => { - (I9 ? "production" : void 0) !== "production" && console.warn( - "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected." - ), n.clear(); - } }, u = t = e(o, r, s); - return s; -}, z9 = (e) => e ? G2(e) : G2, { useDebugValue: H9 } = $, { useSyncExternalStoreWithSelector: P9 } = j9, B9 = (e) => e; -function Wd(e, t = B9, n) { - const o = P9( - e.subscribe, - e.getState, - e.getServerState || e.getInitialState, - t, - n - ); - return H9(o), o; -} -const K2 = (e, t) => { - const n = z9(e), o = (r, i = t) => Wd(n, r, i); - return Object.assign(o, n), o; -}, V9 = (e, t) => e ? K2(e, t) : K2; -function st(e, t) { - if (Object.is(e, t)) - return !0; - if (typeof e != "object" || e === null || typeof t != "object" || t === null) - return !1; - if (e instanceof Map && t instanceof Map) { - if (e.size !== t.size) return !1; - for (const [o, r] of e) - if (!Object.is(r, t.get(o))) - return !1; - return !0; - } - if (e instanceof Set && t instanceof Set) { - if (e.size !== t.size) return !1; - for (const o of e) - if (!t.has(o)) - return !1; - return !0; } - const n = Object.keys(e); - if (n.length !== Object.keys(t).length) - return !1; - for (const o of n) - if (!Object.prototype.hasOwnProperty.call(t, o) || !Object.is(e[o], t[o])) - return !1; - return !0; + return n; } -var $9 = { value: () => { -} }; -function Ji() { - for (var e = 0, t = arguments.length, n = {}, o; e < t; ++e) { - if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) throw new Error("illegal type: " + o); - n[o] = []; - } - return new di(n); +function X8() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function di(e) { - this._ = e; +function ki(e, t) { + return G8(e) || K8(e, t) || X8(); } -function W9(e, t) { - return e.trim().split(/^|\s+/).map(function(n) { - var o = "", r = n.indexOf("."); - if (r >= 0 && (o = n.slice(r + 1), n = n.slice(0, r)), n && !t.hasOwnProperty(n)) throw new Error("unknown type: " + n); - return { type: n, name: o }; - }); +function Q8(e, t) { + if (e == null) return {}; + var n = {}, + o = Object.keys(e), + r, + i; + for (i = 0; i < o.length; i++) + (r = o[i]), !(t.indexOf(r) >= 0) && (n[r] = e[r]); + return n; } -di.prototype = Ji.prototype = { - constructor: di, - on: function(e, t) { - var n = this._, o = W9(e + "", n), r, i = -1, a = o.length; - if (arguments.length < 2) { - for (; ++i < a; ) if ((r = (e = o[i]).type) && (r = Z9(n[r], e.name))) return r; - return; - } - if (t != null && typeof t != "function") throw new Error("invalid callback: " + t); - for (; ++i < a; ) - if (r = (e = o[i]).type) n[r] = X2(n[r], e.name, t); - else if (t == null) for (r in n) n[r] = X2(n[r], e.name, null); - return this; - }, - copy: function() { - var e = {}, t = this._; - for (var n in t) e[n] = t[n].slice(); - return new di(e); - }, - call: function(e, t) { - if ((r = arguments.length - 2) > 0) for (var n = new Array(r), o = 0, r, i; o < r; ++o) n[o] = arguments[o + 2]; - if (!this._.hasOwnProperty(e)) throw new Error("unknown type: " + e); - for (i = this._[e], o = 0, r = i.length; o < r; ++o) i[o].value.apply(t, n); - }, - apply: function(e, t, n) { - if (!this._.hasOwnProperty(e)) throw new Error("unknown type: " + e); - for (var o = this._[e], r = 0, i = o.length; r < i; ++r) o[r].value.apply(t, n); +function J8(e, t) { + if (e == null) return {}; + var n = Q8(e, t), + o, + r; + if (Object.getOwnPropertySymbols) { + var i = Object.getOwnPropertySymbols(e); + for (r = 0; r < i.length; r++) + (o = i[r]), + !(t.indexOf(o) >= 0) && + Object.prototype.propertyIsEnumerable.call(e, o) && + (n[o] = e[o]); } -}; -function Z9(e, t) { - for (var n = 0, o = e.length, r; n < o; ++n) - if ((r = e[n]).name === t) - return r.value; + return n; } -function X2(e, t, n) { - for (var o = 0, r = e.length; o < r; ++o) - if (e[o].name === t) { - e[o] = $9, e = e.slice(0, o).concat(e.slice(o + 1)); - break; - } - return n != null && e.push({ name: t, value: n }), e; +function ar(e) { + "@babel/helpers - typeof"; + return ( + (ar = + 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; + }), + ar(e) + ); } -var hs = "http://www.w3.org/1999/xhtml"; -const Q2 = { - svg: "http://www.w3.org/2000/svg", - xhtml: hs, - xlink: "http://www.w3.org/1999/xlink", - xml: "http://www.w3.org/XML/1998/namespace", - xmlns: "http://www.w3.org/2000/xmlns/" -}; -function ea(e) { - var t = e += "", n = t.indexOf(":"); - return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Q2.hasOwnProperty(t) ? { space: Q2[t], local: e } : e; +function e7(e, t) { + if (ar(e) != "object" || !e) return e; + var n = e[Symbol.toPrimitive]; + if (n !== void 0) { + var o = n.call(e, t || "default"); + if (ar(o) != "object") return o; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (t === "string" ? String : Number)(e); } -function U9(e) { - return function() { - var t = this.ownerDocument, n = this.namespaceURI; - return n === hs && t.documentElement.namespaceURI === hs ? t.createElement(e) : t.createElementNS(n, e); - }; +function t7(e) { + var t = e7(e, "string"); + return ar(t) == "symbol" ? t : t + ""; } -function q9(e) { - return function() { - return this.ownerDocument.createElementNS(e.space, e.local); - }; +function lr(e, t, n) { + return ( + (t = t7(t)) in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ); } -function Zd(e) { - var t = ea(e); - return (t.local ? q9 : U9)(t); +function ss(e, t) { + (t == null || t > e.length) && (t = e.length); + for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n]; + return o; } -function Y9() { +function n7(e) { + if (Array.isArray(e)) return ss(e); } -function yc(e) { - return e == null ? Y9 : function() { - return this.querySelector(e); - }; +function o7(e) { + if ( + (typeof Symbol < "u" && e[Symbol.iterator] != null) || + e["@@iterator"] != null + ) + return Array.from(e); } -function G9(e) { - typeof e != "function" && (e = yc(e)); - for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var i = t[r], a = i.length, l = o[r] = new Array(a), s, u, c = 0; c < a; ++c) - (s = i[c]) && (u = e.call(s, s.__data__, c, i)) && ("__data__" in s && (u.__data__ = s.__data__), l[c] = u); - return new Tt(o, this._parents); -} -function K9(e) { - return e == null ? [] : Array.isArray(e) ? e : Array.from(e); -} -function X9() { - return []; -} -function Ud(e) { - return e == null ? X9 : function() { - return this.querySelectorAll(e); - }; -} -function Q9(e) { - return function() { - return K9(e.apply(this, arguments)); - }; -} -function J9(e) { - typeof e == "function" ? e = Q9(e) : e = Ud(e); - for (var t = this._groups, n = t.length, o = [], r = [], i = 0; i < n; ++i) - for (var a = t[i], l = a.length, s, u = 0; u < l; ++u) - (s = a[u]) && (o.push(e.call(s, s.__data__, u, a)), r.push(s)); - return new Tt(o, r); -} -function qd(e) { - return function() { - return this.matches(e); - }; -} -function Yd(e) { - return function(t) { - return t.matches(e); - }; -} -var ep = Array.prototype.find; -function tp(e) { - return function() { - return ep.call(this.children, e); - }; -} -function np() { - return this.firstElementChild; +function r7(e, t) { + if (e) { + if (typeof e == "string") return ss(e, t); + var n = {}.toString.call(e).slice(8, -1); + return ( + n === "Object" && e.constructor && (n = e.constructor.name), + n === "Map" || n === "Set" + ? Array.from(e) + : n === "Arguments" || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) + ? ss(e, t) + : void 0 + ); + } } -function op(e) { - return this.select(e == null ? np : tp(typeof e == "function" ? e : Yd(e))); +function i7() { + throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } -var rp = Array.prototype.filter; -function ip() { - return Array.from(this.children); +function gn(e) { + return n7(e) || o7(e) || r7(e) || i7(); } -function ap(e) { - return function() { - return rp.call(this.children, e); +var Lo = function (t) { + return t === Object(t) ? Object.keys(t) : []; + }, + yd = function (t) { + return t === Object(t) ? Object.values(t) : []; }; +function Cd(e, t) { + var n = Object.assign({}, e); + return ( + ci(e) && + ci(t) && + Lo(t).forEach(function (o) { + ci(t[o]) + ? o in e + ? (n[o] = Cd(e[o], t[o])) + : Object.assign(n, lr({}, o, t[o])) + : Object.assign(n, lr({}, o, t[o])); + }), + n + ); } -function lp(e) { - return this.selectAll(e == null ? ip : ap(typeof e == "function" ? e : Yd(e))); -} -function sp(e) { - typeof e != "function" && (e = qd(e)); - for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var i = t[r], a = i.length, l = o[r] = [], s, u = 0; u < a; ++u) - (s = i[u]) && e.call(s, s.__data__, u, i) && l.push(s); - return new Tt(o, this._parents); -} -function Gd(e) { - return new Array(e.length); -} -function cp() { - return new Tt(this._enter || this._groups.map(Gd), this._parents); -} -function Ai(e, t) { - this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t; -} -Ai.prototype = { - constructor: Ai, - appendChild: function(e) { - return this._parent.insertBefore(e, this._next); +var cs = function (t) { + for ( + var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; + r < n; + r++ + ) + o[r - 1] = arguments[r]; + return o.reduce(function (i, a) { + return Cd(i, a); + }, t); }, - insertBefore: function(e, t) { - return this._parent.insertBefore(e, t); + a7 = function (t, n) { + var o = Object.assign({}, t); + if (n) for (var r = 0; r < n.length; r++) delete o[n[r]]; + return o; }, - querySelector: function(e) { - return this._parent.querySelector(e); + ci = function (t) { + return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); }, - querySelectorAll: function(e) { - return this._parent.querySelectorAll(e); - } -}; -function up(e) { - return function() { - return e; + l7 = function (t) { + return (t || []).filter(Boolean); + }, + sc = function (t) { + return t[0] === "&"; + }, + s7 = function (t) { + return !sc(t); + }, + S2 = function (t) { + return t.replace(/-(\w)/g, function (n, o) { + return o.toUpperCase(); + }); + }, + c7 = function (t) { + for ( + var n = + arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], + o = Lo(t), + r = {}, + i = 0, + a = o.length; + i < a; + i += 1 + ) { + var l = o[i], + s = + Object.prototype.toString.call(t[l]) !== "[object Object]" || // style defs + l[0] === ":" || // pseudo selectors + l[0] === "@" || // @media / @keyframes / @supports / @font-face + n.indexOf(l) >= 0; + s && (r[l] = t[l]); + } + return r; + }, + vd = function (t, n) { + for ( + var o = n.map(S2), r = Lo(t), i = {}, a = 0, l = r.length; + a < l; + a += 1 + ) { + var s = r[a]; + (n.indexOf(s) >= 0 || o.indexOf(S2(s)) >= 0) && (i[s] = t[s]); + } + return i; + }, + u7 = function e(t, n) { + for ( + var o = cs.apply(void 0, [{}, a7(t, n)].concat(gn(yd(vd(t, n))))), + r = Lo(o).filter(sc), + i = 0, + a = r.length; + i < a; + i += 1 + ) { + var l = r[i], + s = e(o[l], n); + n.indexOf(l) >= 0 ? (delete o[l], (o = cs({}, o, s))) : (o[l] = s); + } + return o; }; +function k2(e, t) { + var n = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); + } + return n; } -function dp(e, t, n, o, r, i) { - for (var a = 0, l, s = t.length, u = i.length; a < u; ++a) - (l = t[a]) ? (l.__data__ = i[a], o[a] = l) : n[a] = new Ai(e, i[a]); - for (; a < s; ++a) - (l = t[a]) && (r[a] = l); -} -function fp(e, t, n, o, r, i, a) { - var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = i.length, h = new Array(c), f; - for (l = 0; l < c; ++l) - (s = t[l]) && (h[l] = f = a.call(s, s.__data__, l, t) + "", u.has(f) ? r[l] = s : u.set(f, s)); - for (l = 0; l < d; ++l) - f = a.call(e, i[l], l, i) + "", (s = u.get(f)) ? (o[l] = s, s.__data__ = i[l], u.delete(f)) : n[l] = new Ai(e, i[l]); - for (l = 0; l < c; ++l) - (s = t[l]) && u.get(h[l]) === s && (r[l] = s); -} -function pp(e) { - return e.__data__; +function _2(e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t] != null ? arguments[t] : {}; + t % 2 + ? k2(Object(n), !0).forEach(function (o) { + lr(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : k2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); + } + return e; } -function hp(e, t) { - if (!arguments.length) return Array.from(this, pp); - var n = t ? fp : dp, o = this._parents, r = this._groups; - typeof e != "function" && (e = up(e)); - for (var i = r.length, a = new Array(i), l = new Array(i), s = new Array(i), u = 0; u < i; ++u) { - var c = o[u], d = r[u], h = d.length, f = gp(e.call(c, c && c.__data__, u, o)), m = f.length, b = l[u] = new Array(m), y = a[u] = new Array(m), g = s[u] = new Array(h); - n(c, d, b, y, g, f, t); - for (var x = 0, C = 0, E, w; x < m; ++x) - if (E = b[x]) { - for (x >= C && (C = x + 1); !(w = y[C]) && ++C < m; ) ; - E._next = w || null; +var d7 = ["animationName"], + xd = function (t) { + var n = t.style, + o = t.className; + return _2( + _2( + {}, + n + ? { + style: c7(n, d7), + } + : {}, + ), + o + ? { + className: o, + } + : {}, + ); + }, + wd = /* @__PURE__ */ zt(xd); +wd.Provider; +var Ed = function (t) { + if (t) { + if (typeof t == "string") return [t]; + if (!Array.isArray(t)) { + var n = t; + return Lo(t).reduce(function (o, r) { + return o.concat(n[r] ? [r] : []); + }, []); } + } else return []; + return t; + }, + f7 = {}, + p7 = function (t) { + return function (n, o) { + var r = o || f7; + t.memoize = t.memoize || /* @__PURE__ */ new WeakMap(); + var i; + t.memoize.has(r) + ? (i = t.memoize.get(r)) + : ((i = {}), t.memoize.set(r, i)); + var a = Ed(n).join(" "); + return a in i ? i[a] : (i[a] = t(n || [], o)); + }; + }; +function A2(e, t) { + var n = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } - return a = new Tt(a, o), a._enter = l, a._exit = s, a; -} -function gp(e) { - return typeof e == "object" && "length" in e ? e : Array.from(e); -} -function mp() { - return new Tt(this._exit || this._groups.map(Gd), this._parents); -} -function bp(e, t, n) { - var o = this.enter(), r = this, i = this.exit(); - return typeof e == "function" ? (o = e(o), o && (o = o.selection())) : o = o.append(e + ""), t != null && (r = t(r), r && (r = r.selection())), n == null ? i.remove() : n(i), o && r ? o.merge(r).order() : r; -} -function yp(e) { - for (var t = e.selection ? e.selection() : e, n = this._groups, o = t._groups, r = n.length, i = o.length, a = Math.min(r, i), l = new Array(r), s = 0; s < a; ++s) - for (var u = n[s], c = o[s], d = u.length, h = l[s] = new Array(d), f, m = 0; m < d; ++m) - (f = u[m] || c[m]) && (h[m] = f); - for (; s < r; ++s) - l[s] = n[s]; - return new Tt(l, this._parents); -} -function Cp() { - for (var e = this._groups, t = -1, n = e.length; ++t < n; ) - for (var o = e[t], r = o.length - 1, i = o[r], a; --r >= 0; ) - (a = o[r]) && (i && a.compareDocumentPosition(i) ^ 4 && i.parentNode.insertBefore(a, i), i = a); - return this; + return n; } -function vp(e) { - e || (e = xp); - function t(d, h) { - return d && h ? e(d.__data__, h.__data__) : !d - !h; - } - for (var n = this._groups, o = n.length, r = new Array(o), i = 0; i < o; ++i) { - for (var a = n[i], l = a.length, s = r[i] = new Array(l), u, c = 0; c < l; ++c) - (u = a[c]) && (s[c] = u); - s.sort(t); +function oo(e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t] != null ? arguments[t] : {}; + t % 2 + ? A2(Object(n), !0).forEach(function (o) { + lr(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : A2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } - return new Tt(r, this._parents).order(); -} -function xp(e, t) { - return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN; -} -function wp() { - var e = arguments[0]; - return arguments[0] = this, e.apply(null, arguments), this; -} -function Ep() { - return Array.from(this); -} -function Sp() { - for (var e = this._groups, t = 0, n = e.length; t < n; ++t) - for (var o = e[t], r = 0, i = o.length; r < i; ++r) { - var a = o[r]; - if (a) return a; - } - return null; -} -function kp() { - let e = 0; - for (const t of this) ++e; return e; } -function _p() { - return !this.node(); -} -function Ap(e) { - for (var t = this._groups, n = 0, o = t.length; n < o; ++n) - for (var r = t[n], i = 0, a = r.length, l; i < a; ++i) - (l = r[i]) && e.call(l, l.__data__, i, r); - return this; -} -function Mp(e) { - return function() { - this.removeAttribute(e); - }; -} -function Tp(e) { - return function() { - this.removeAttributeNS(e.space, e.local); +var h7 = function (t) { + var n = t && Lo(t)[0]; + return n && n.split("__")[0].split("--")[0]; + }, + g7 = function (t, n, o) { + if (t) { + var r = t.split(" ")[0], + i = [].concat( + gn( + n.length === 0 + ? o.map(function (a) { + return "".concat(r, "--").concat(a.substring(1)); + }) + : [], + ), + gn( + n.map(function (a) { + return "".concat(r, "__").concat(a); + }), + ), + ); + return n.length === 0 ? [t].concat(gn(i)) : i; + } }; +function Sd(e) { + var t = e.style, + n = e.className, + o = e.classNames, + r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xd, + i = n || h7(o) || (t == null ? void 0 : t.className), + a = + typeof t == "function" + ? t + : p7(function (d, h) { + var f = Ed(d); + Eo( + Array.isArray(f), + "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value.", + ), + Eo( + !h || ci(h), + "Optional second parameter must be a plain object.", + ); + var m = f.filter(sc), + b = f.filter(s7), + y = + b.length > 0 + ? function (C) { + return yd(vd(C, b)); + } + : function (C) { + return [C]; + }, + g = function () { + var E = + arguments.length > 0 && arguments[0] !== void 0 + ? arguments[0] + : {}; + return y(u7(E, m)); + }, + x = g7(i, b, m); + return Sd( + oo( + oo( + oo( + {}, + (t || h) && { + style: cs.apply(void 0, [{}].concat(gn(g(h)), gn(g(t)))), + }, + ), + x && { + className: x.join(" "), + }, + ), + o && { + classNames: o, + }, + ), + r, + ); + }), + l = oo( + {}, + typeof t == "function" + ? t + : { + style: t, + }, + ), + s = gn( + new Set( + [].concat( + gn(l.className ? l.className.split(" ") : []), + gn(i ? i.split(" ") : []), + ), + ), + ), + u = o + ? l7( + s.map(function (d) { + return o[d]; + }), + ) + : s, + c = r( + oo( + oo({}, l), + u.length > 0 + ? { + className: u.join(" "), + } + : {}, + ), + ); + return Object.assign(a, c), a; } -function Op(e, t) { - return function() { - this.setAttribute(e, t); - }; +function M2(e, t) { + var n = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); + } + return n; } -function Np(e, t) { - return function() { - this.setAttributeNS(e.space, e.local, t); - }; -} -function Dp(e, t) { - return function() { - var n = t.apply(this, arguments); - n == null ? this.removeAttribute(e) : this.setAttribute(e, n); - }; -} -function Lp(e, t) { - return function() { - var n = t.apply(this, arguments); - n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n); - }; -} -function Fp(e, t) { - var n = ea(e); - if (arguments.length < 2) { - var o = this.node(); - return n.local ? o.getAttributeNS(n.space, n.local) : o.getAttribute(n); +function Bo(e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t] != null ? arguments[t] : {}; + t % 2 + ? M2(Object(n), !0).forEach(function (o) { + lr(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : M2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } - return this.each((t == null ? n.local ? Tp : Mp : typeof t == "function" ? n.local ? Lp : Dp : n.local ? Np : Op)(n, t)); -} -function Kd(e) { - return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView; -} -function Rp(e) { - return function() { - this.style.removeProperty(e); - }; -} -function jp(e, t, n) { - return function() { - this.style.setProperty(e, t, n); - }; -} -function Ip(e, t, n) { - return function() { - var o = t.apply(this, arguments); - o == null ? this.style.removeProperty(e) : this.style.setProperty(e, o, n); - }; -} -function zp(e, t, n) { - return arguments.length > 1 ? this.each((t == null ? Rp : typeof t == "function" ? Ip : jp)(e, t, n ?? "")) : _o(this.node(), e); -} -function _o(e, t) { - return e.style.getPropertyValue(t) || Kd(e).getComputedStyle(e, null).getPropertyValue(t); -} -function Hp(e) { - return function() { - delete this[e]; - }; -} -function Pp(e, t) { - return function() { - this[e] = t; - }; -} -function Bp(e, t) { - return function() { - var n = t.apply(this, arguments); - n == null ? delete this[e] : this[e] = n; - }; -} -function Vp(e, t) { - return arguments.length > 1 ? this.each((t == null ? Hp : typeof t == "function" ? Bp : Pp)(e, t)) : this.node()[e]; -} -function Xd(e) { - return e.trim().split(/^|\s+/); -} -function Cc(e) { - return e.classList || new Qd(e); -} -function Qd(e) { - this._node = e, this._names = Xd(e.getAttribute("class") || ""); + return e; } -Qd.prototype = { - add: function(e) { - var t = this._names.indexOf(e); - t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" "))); +var m7 = function () { + for (var t = arguments.length, n = new Array(t), o = 0; o < t; o++) + n[o] = arguments[o]; + return n.reduce(function (r, i) { + return Bo( + Bo(Bo({}, r), typeof i == "function" ? i : {}), + {}, + { + style: Bo(Bo({}, r.style), typeof i == "function" ? i.style : i), + }, + ); + }, {}); }, - remove: function(e) { - var t = this._names.indexOf(e); - t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" "))); + cc = function (t, n, o) { + var r = n.style, + i = n.className, + a = n.classNames, + l = Je(wd), + s = Be( + function () { + return Sd( + { + style: r, + className: i, + classNames: a, + }, + l, + ); + }, + [r, i, a, l], + ); + return s(o, t); }, - contains: function(e) { - return this._names.indexOf(e) >= 0; + us = { exports: {} }, + Vr = { exports: {} }, + Ne = {}; +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var T2; +function b7() { + if (T2) return Ne; + T2 = 1; + var e = typeof Symbol == "function" && Symbol.for, + t = e ? Symbol.for("react.element") : 60103, + n = e ? Symbol.for("react.portal") : 60106, + o = e ? Symbol.for("react.fragment") : 60107, + r = e ? Symbol.for("react.strict_mode") : 60108, + i = e ? Symbol.for("react.profiler") : 60114, + a = e ? Symbol.for("react.provider") : 60109, + l = e ? Symbol.for("react.context") : 60110, + s = e ? Symbol.for("react.async_mode") : 60111, + u = e ? Symbol.for("react.concurrent_mode") : 60111, + c = e ? Symbol.for("react.forward_ref") : 60112, + d = e ? Symbol.for("react.suspense") : 60113, + h = e ? Symbol.for("react.suspense_list") : 60120, + f = e ? Symbol.for("react.memo") : 60115, + m = e ? Symbol.for("react.lazy") : 60116, + b = e ? Symbol.for("react.block") : 60121, + y = e ? Symbol.for("react.fundamental") : 60117, + g = e ? Symbol.for("react.responder") : 60118, + x = e ? Symbol.for("react.scope") : 60119; + function C(w) { + if (typeof w == "object" && w !== null) { + var S = w.$$typeof; + switch (S) { + case t: + switch (((w = w.type), w)) { + case s: + case u: + case o: + case i: + case r: + case d: + return w; + default: + switch (((w = w && w.$$typeof), w)) { + case l: + case c: + case m: + case f: + case a: + return w; + default: + return S; + } + } + case n: + return S; + } + } } -}; -function Jd(e, t) { - for (var n = Cc(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); -} -function e3(e, t) { - for (var n = Cc(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); -} -function $p(e) { - return function() { - Jd(this, e); - }; -} -function Wp(e) { - return function() { - e3(this, e); - }; -} -function Zp(e, t) { - return function() { - (t.apply(this, arguments) ? Jd : e3)(this, e); - }; -} -function Up(e, t) { - var n = Xd(e + ""); - if (arguments.length < 2) { - for (var o = Cc(this.node()), r = -1, i = n.length; ++r < i; ) if (!o.contains(n[r])) return !1; - return !0; + function E(w) { + return C(w) === u; } - return this.each((typeof t == "function" ? Zp : t ? $p : Wp)(n, t)); -} -function qp() { - this.textContent = ""; -} -function Yp(e) { - return function() { - this.textContent = e; - }; + return ( + (Ne.AsyncMode = s), + (Ne.ConcurrentMode = u), + (Ne.ContextConsumer = l), + (Ne.ContextProvider = a), + (Ne.Element = t), + (Ne.ForwardRef = c), + (Ne.Fragment = o), + (Ne.Lazy = m), + (Ne.Memo = f), + (Ne.Portal = n), + (Ne.Profiler = i), + (Ne.StrictMode = r), + (Ne.Suspense = d), + (Ne.isAsyncMode = function (w) { + return E(w) || C(w) === s; + }), + (Ne.isConcurrentMode = E), + (Ne.isContextConsumer = function (w) { + return C(w) === l; + }), + (Ne.isContextProvider = function (w) { + return C(w) === a; + }), + (Ne.isElement = function (w) { + return typeof w == "object" && w !== null && w.$$typeof === t; + }), + (Ne.isForwardRef = function (w) { + return C(w) === c; + }), + (Ne.isFragment = function (w) { + return C(w) === o; + }), + (Ne.isLazy = function (w) { + return C(w) === m; + }), + (Ne.isMemo = function (w) { + return C(w) === f; + }), + (Ne.isPortal = function (w) { + return C(w) === n; + }), + (Ne.isProfiler = function (w) { + return C(w) === i; + }), + (Ne.isStrictMode = function (w) { + return C(w) === r; + }), + (Ne.isSuspense = function (w) { + return C(w) === d; + }), + (Ne.isValidElementType = function (w) { + return ( + typeof w == "string" || + typeof w == "function" || + w === o || + w === u || + w === i || + w === r || + w === d || + w === h || + (typeof w == "object" && + w !== null && + (w.$$typeof === m || + w.$$typeof === f || + w.$$typeof === a || + w.$$typeof === l || + w.$$typeof === c || + w.$$typeof === y || + w.$$typeof === g || + w.$$typeof === x || + w.$$typeof === b)) + ); + }), + (Ne.typeOf = C), + Ne + ); } -function Gp(e) { - return function() { - var t = e.apply(this, arguments); - this.textContent = t ?? ""; - }; +var De = {}; +/** @license React v16.13.1 + * react-is.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var O2; +function y7() { + return ( + O2 || + ((O2 = 1), + process.env.NODE_ENV !== "production" && + (function () { + var e = typeof Symbol == "function" && Symbol.for, + t = e ? Symbol.for("react.element") : 60103, + n = e ? Symbol.for("react.portal") : 60106, + o = e ? Symbol.for("react.fragment") : 60107, + r = e ? Symbol.for("react.strict_mode") : 60108, + i = e ? Symbol.for("react.profiler") : 60114, + a = e ? Symbol.for("react.provider") : 60109, + l = e ? Symbol.for("react.context") : 60110, + s = e ? Symbol.for("react.async_mode") : 60111, + u = e ? Symbol.for("react.concurrent_mode") : 60111, + c = e ? Symbol.for("react.forward_ref") : 60112, + d = e ? Symbol.for("react.suspense") : 60113, + h = e ? Symbol.for("react.suspense_list") : 60120, + f = e ? Symbol.for("react.memo") : 60115, + m = e ? Symbol.for("react.lazy") : 60116, + b = e ? Symbol.for("react.block") : 60121, + y = e ? Symbol.for("react.fundamental") : 60117, + g = e ? Symbol.for("react.responder") : 60118, + x = e ? Symbol.for("react.scope") : 60119; + function C(J) { + return ( + typeof J == "string" || + typeof J == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + J === o || + J === u || + J === i || + J === r || + J === d || + J === h || + (typeof J == "object" && + J !== null && + (J.$$typeof === m || + J.$$typeof === f || + J.$$typeof === a || + J.$$typeof === l || + J.$$typeof === c || + J.$$typeof === y || + J.$$typeof === g || + J.$$typeof === x || + J.$$typeof === b)) + ); + } + function E(J) { + if (typeof J == "object" && J !== null) { + var ke = J.$$typeof; + switch (ke) { + case t: + var ie = J.type; + switch (ie) { + case s: + case u: + case o: + case i: + case r: + case d: + return ie; + default: + var _e = ie && ie.$$typeof; + switch (_e) { + case l: + case c: + case m: + case f: + case a: + return _e; + default: + return ke; + } + } + case n: + return ke; + } + } + } + var w = s, + S = u, + _ = l, + A = a, + R = t, + L = c, + j = o, + P = m, + V = f, + k = n, + N = i, + T = r, + F = d, + I = !1; + function D(J) { + return ( + I || + ((I = !0), + console.warn( + "The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.", + )), + v(J) || E(J) === s + ); + } + function v(J) { + return E(J) === u; + } + function z(J) { + return E(J) === l; + } + function B(J) { + return E(J) === a; + } + function M(J) { + return typeof J == "object" && J !== null && J.$$typeof === t; + } + function W(J) { + return E(J) === c; + } + function G(J) { + return E(J) === o; + } + function K(J) { + return E(J) === m; + } + function Q(J) { + return E(J) === f; + } + function ne(J) { + return E(J) === n; + } + function oe(J) { + return E(J) === i; + } + function U(J) { + return E(J) === r; + } + function ge(J) { + return E(J) === d; + } + (De.AsyncMode = w), + (De.ConcurrentMode = S), + (De.ContextConsumer = _), + (De.ContextProvider = A), + (De.Element = R), + (De.ForwardRef = L), + (De.Fragment = j), + (De.Lazy = P), + (De.Memo = V), + (De.Portal = k), + (De.Profiler = N), + (De.StrictMode = T), + (De.Suspense = F), + (De.isAsyncMode = D), + (De.isConcurrentMode = v), + (De.isContextConsumer = z), + (De.isContextProvider = B), + (De.isElement = M), + (De.isForwardRef = W), + (De.isFragment = G), + (De.isLazy = K), + (De.isMemo = Q), + (De.isPortal = ne), + (De.isProfiler = oe), + (De.isStrictMode = U), + (De.isSuspense = ge), + (De.isValidElementType = C), + (De.typeOf = E); + })()), + De + ); } -function Kp(e) { - return arguments.length ? this.each(e == null ? qp : (typeof e == "function" ? Gp : Yp)(e)) : this.node().textContent; +var N2; +function kd() { + return ( + N2 || + ((N2 = 1), + process.env.NODE_ENV === "production" + ? (Vr.exports = b7()) + : (Vr.exports = y7())), + Vr.exports + ); } -function Xp() { - this.innerHTML = ""; +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ +var bl, D2; +function C7() { + if (D2) return bl; + D2 = 1; + var e = Object.getOwnPropertySymbols, + t = Object.prototype.hasOwnProperty, + n = Object.prototype.propertyIsEnumerable; + function o(i) { + if (i == null) + throw new TypeError( + "Object.assign cannot be called with null or undefined", + ); + return Object(i); + } + function r() { + try { + if (!Object.assign) return !1; + var i = new String("abc"); + if (((i[5] = "de"), Object.getOwnPropertyNames(i)[0] === "5")) return !1; + for (var a = {}, l = 0; l < 10; l++) a["_" + String.fromCharCode(l)] = l; + var s = Object.getOwnPropertyNames(a).map(function (c) { + return a[c]; + }); + if (s.join("") !== "0123456789") return !1; + var u = {}; + return ( + "abcdefghijklmnopqrst".split("").forEach(function (c) { + u[c] = c; + }), + Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst" + ); + } catch { + return !1; + } + } + return ( + (bl = r() + ? Object.assign + : function (i, a) { + for (var l, s = o(i), u, c = 1; c < arguments.length; c++) { + l = Object(arguments[c]); + for (var d in l) t.call(l, d) && (s[d] = l[d]); + if (e) { + u = e(l); + for (var h = 0; h < u.length; h++) + n.call(l, u[h]) && (s[u[h]] = l[u[h]]); + } + } + return s; + }), + bl + ); } -function Qp(e) { - return function() { - this.innerHTML = e; - }; +var yl, L2; +function uc() { + if (L2) return yl; + L2 = 1; + var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; + return (yl = e), yl; } -function Jp(e) { - return function() { - var t = e.apply(this, arguments); - this.innerHTML = t ?? ""; - }; +var Cl, F2; +function _d() { + return ( + F2 || + ((F2 = 1), (Cl = Function.call.bind(Object.prototype.hasOwnProperty))), + Cl + ); } -function eh(e) { - return arguments.length ? this.each(e == null ? Xp : (typeof e == "function" ? Jp : Qp)(e)) : this.node().innerHTML; -} -function th() { - this.nextSibling && this.parentNode.appendChild(this); -} -function nh() { - return this.each(th); -} -function oh() { - this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild); -} -function rh() { - return this.each(oh); -} -function ih(e) { - var t = typeof e == "function" ? e : Zd(e); - return this.select(function() { - return this.appendChild(t.apply(this, arguments)); - }); -} -function ah() { - return null; -} -function lh(e, t) { - var n = typeof e == "function" ? e : Zd(e), o = t == null ? ah : typeof t == "function" ? t : yc(t); - return this.select(function() { - return this.insertBefore(n.apply(this, arguments), o.apply(this, arguments) || null); - }); -} -function sh() { - var e = this.parentNode; - e && e.removeChild(this); -} -function ch() { - return this.each(sh); -} -function uh() { - var e = this.cloneNode(!1), t = this.parentNode; - return t ? t.insertBefore(e, this.nextSibling) : e; -} -function dh() { - var e = this.cloneNode(!0), t = this.parentNode; - return t ? t.insertBefore(e, this.nextSibling) : e; -} -function fh(e) { - return this.select(e ? dh : uh); -} -function ph(e) { - return arguments.length ? this.property("__data__", e) : this.node().__data__; -} -function hh(e) { - return function(t) { - e.call(this, t, this.__data__); - }; -} -function gh(e) { - return e.trim().split(/^|\s+/).map(function(t) { - var n = "", o = t.indexOf("."); - return o >= 0 && (n = t.slice(o + 1), t = t.slice(0, o)), { type: t, name: n }; - }); -} -function mh(e) { - return function() { - var t = this.__on; - if (t) { - for (var n = 0, o = -1, r = t.length, i; n < r; ++n) - i = t[n], (!e.type || i.type === e.type) && i.name === e.name ? this.removeEventListener(i.type, i.listener, i.options) : t[++o] = i; - ++o ? t.length = o : delete this.__on; - } - }; -} -function bh(e, t, n) { - return function() { - var o = this.__on, r, i = hh(t); - if (o) { - for (var a = 0, l = o.length; a < l; ++a) - if ((r = o[a]).type === e.type && r.name === e.name) { - this.removeEventListener(r.type, r.listener, r.options), this.addEventListener(r.type, r.listener = i, r.options = n), r.value = t; - return; +var vl, R2; +function v7() { + if (R2) return vl; + R2 = 1; + var e = function () {}; + if (process.env.NODE_ENV !== "production") { + var t = uc(), + n = {}, + o = _d(); + e = function (i) { + var a = "Warning: " + i; + typeof console < "u" && console.error(a); + try { + throw new Error(a); + } catch {} + }; + } + function r(i, a, l, s, u) { + if (process.env.NODE_ENV !== "production") { + for (var c in i) + if (o(i, c)) { + var d; + try { + if (typeof i[c] != "function") { + var h = Error( + (s || "React class") + + ": " + + l + + " type `" + + c + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + typeof i[c] + + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", + ); + throw ((h.name = "Invariant Violation"), h); + } + d = i[c](a, c, s, l, null, t); + } catch (m) { + d = m; + } + if ( + (d && + !(d instanceof Error) && + e( + (s || "React class") + + ": type specification of " + + l + + " `" + + c + + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + + typeof d + + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", + ), + d instanceof Error && !(d.message in n)) + ) { + n[d.message] = !0; + var f = u ? u() : ""; + e("Failed " + l + " type: " + d.message + (f ?? "")); + } } } - this.addEventListener(e.type, i, n), r = { type: e.type, name: e.name, value: t, listener: i, options: n }, o ? o.push(r) : this.__on = [r]; - }; -} -function yh(e, t, n) { - var o = gh(e + ""), r, i = o.length, a; - if (arguments.length < 2) { - var l = this.node().__on; - if (l) { - for (var s = 0, u = l.length, c; s < u; ++s) - for (r = 0, c = l[s]; r < i; ++r) - if ((a = o[r]).type === c.type && a.name === c.name) - return c.value; - } - return; } - for (l = t ? bh : mh, r = 0; r < i; ++r) this.each(l(o[r], t, n)); - return this; -} -function t3(e, t, n) { - var o = Kd(e), r = o.CustomEvent; - typeof r == "function" ? r = new r(t, n) : (r = o.document.createEvent("Event"), n ? (r.initEvent(t, n.bubbles, n.cancelable), r.detail = n.detail) : r.initEvent(t, !1, !1)), e.dispatchEvent(r); -} -function Ch(e, t) { - return function() { - return t3(this, e, t); - }; -} -function vh(e, t) { - return function() { - return t3(this, e, t.apply(this, arguments)); - }; + return ( + (r.resetWarningCache = function () { + process.env.NODE_ENV !== "production" && (n = {}); + }), + (vl = r), + vl + ); } -function xh(e, t) { - return this.each((typeof t == "function" ? vh : Ch)(e, t)); +var xl, j2; +function x7() { + if (j2) return xl; + j2 = 1; + var e = kd(), + t = C7(), + n = uc(), + o = _d(), + r = v7(), + i = function () {}; + process.env.NODE_ENV !== "production" && + (i = function (l) { + var s = "Warning: " + l; + typeof console < "u" && console.error(s); + try { + throw new Error(s); + } catch {} + }); + function a() { + return null; + } + return ( + (xl = function (l, s) { + var u = typeof Symbol == "function" && Symbol.iterator, + c = "@@iterator"; + function d(v) { + var z = v && ((u && v[u]) || v[c]); + if (typeof z == "function") return z; + } + var h = "<>", + f = { + array: g("array"), + bigint: g("bigint"), + bool: g("boolean"), + func: g("function"), + number: g("number"), + object: g("object"), + string: g("string"), + symbol: g("symbol"), + any: x(), + arrayOf: C, + element: E(), + elementType: w(), + instanceOf: S, + node: L(), + objectOf: A, + oneOf: _, + oneOfType: R, + shape: P, + exact: V, + }; + function m(v, z) { + return v === z ? v !== 0 || 1 / v === 1 / z : v !== v && z !== z; + } + function b(v, z) { + (this.message = v), + (this.data = z && typeof z == "object" ? z : {}), + (this.stack = ""); + } + b.prototype = Error.prototype; + function y(v) { + if (process.env.NODE_ENV !== "production") + var z = {}, + B = 0; + function M(G, K, Q, ne, oe, U, ge) { + if (((ne = ne || h), (U = U || Q), ge !== n)) { + if (s) { + var J = new Error( + "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types", + ); + throw ((J.name = "Invariant Violation"), J); + } else if ( + process.env.NODE_ENV !== "production" && + typeof console < "u" + ) { + var ke = ne + ":" + Q; + !z[ke] && // Avoid spamming the console because they are often not actionable except for lib authors + B < 3 && + (i( + "You are manually calling a React.PropTypes validation function for the `" + + U + + "` prop on `" + + ne + + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.", + ), + (z[ke] = !0), + B++); + } + } + return K[Q] == null + ? G + ? K[Q] === null + ? new b( + "The " + + oe + + " `" + + U + + "` is marked as required " + + ("in `" + ne + "`, but its value is `null`."), + ) + : new b( + "The " + + oe + + " `" + + U + + "` is marked as required in " + + ("`" + ne + "`, but its value is `undefined`."), + ) + : null + : v(K, Q, ne, oe, U); + } + var W = M.bind(null, !1); + return (W.isRequired = M.bind(null, !0)), W; + } + function g(v) { + function z(B, M, W, G, K, Q) { + var ne = B[M], + oe = T(ne); + if (oe !== v) { + var U = F(ne); + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + U + "` supplied to `" + W + "`, expected ") + + ("`" + v + "`."), + { expectedType: v }, + ); + } + return null; + } + return y(z); + } + function x() { + return y(a); + } + function C(v) { + function z(B, M, W, G, K) { + if (typeof v != "function") + return new b( + "Property `" + + K + + "` of component `" + + W + + "` has invalid PropType notation inside arrayOf.", + ); + var Q = B[M]; + if (!Array.isArray(Q)) { + var ne = T(Q); + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + ne + "` supplied to `" + W + "`, expected an array."), + ); + } + for (var oe = 0; oe < Q.length; oe++) { + var U = v(Q, oe, W, G, K + "[" + oe + "]", n); + if (U instanceof Error) return U; + } + return null; + } + return y(z); + } + function E() { + function v(z, B, M, W, G) { + var K = z[B]; + if (!l(K)) { + var Q = T(K); + return new b( + "Invalid " + + W + + " `" + + G + + "` of type " + + ("`" + + Q + + "` supplied to `" + + M + + "`, expected a single ReactElement."), + ); + } + return null; + } + return y(v); + } + function w() { + function v(z, B, M, W, G) { + var K = z[B]; + if (!e.isValidElementType(K)) { + var Q = T(K); + return new b( + "Invalid " + + W + + " `" + + G + + "` of type " + + ("`" + + Q + + "` supplied to `" + + M + + "`, expected a single ReactElement type."), + ); + } + return null; + } + return y(v); + } + function S(v) { + function z(B, M, W, G, K) { + if (!(B[M] instanceof v)) { + var Q = v.name || h, + ne = D(B[M]); + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + ne + "` supplied to `" + W + "`, expected ") + + ("instance of `" + Q + "`."), + ); + } + return null; + } + return y(z); + } + function _(v) { + if (!Array.isArray(v)) + return ( + process.env.NODE_ENV !== "production" && + (arguments.length > 1 + ? i( + "Invalid arguments supplied to oneOf, expected an array, got " + + arguments.length + + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).", + ) + : i("Invalid argument supplied to oneOf, expected an array.")), + a + ); + function z(B, M, W, G, K) { + for (var Q = B[M], ne = 0; ne < v.length; ne++) + if (m(Q, v[ne])) return null; + var oe = JSON.stringify(v, function (ge, J) { + var ke = F(J); + return ke === "symbol" ? String(J) : J; + }); + return new b( + "Invalid " + + G + + " `" + + K + + "` of value `" + + String(Q) + + "` " + + ("supplied to `" + W + "`, expected one of " + oe + "."), + ); + } + return y(z); + } + function A(v) { + function z(B, M, W, G, K) { + if (typeof v != "function") + return new b( + "Property `" + + K + + "` of component `" + + W + + "` has invalid PropType notation inside objectOf.", + ); + var Q = B[M], + ne = T(Q); + if (ne !== "object") + return new b( + "Invalid " + + G + + " `" + + K + + "` of type " + + ("`" + ne + "` supplied to `" + W + "`, expected an object."), + ); + for (var oe in Q) + if (o(Q, oe)) { + var U = v(Q, oe, W, G, K + "." + oe, n); + if (U instanceof Error) return U; + } + return null; + } + return y(z); + } + function R(v) { + if (!Array.isArray(v)) + return ( + process.env.NODE_ENV !== "production" && + i( + "Invalid argument supplied to oneOfType, expected an instance of array.", + ), + a + ); + for (var z = 0; z < v.length; z++) { + var B = v[z]; + if (typeof B != "function") + return ( + i( + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + + I(B) + + " at index " + + z + + ".", + ), + a + ); + } + function M(W, G, K, Q, ne) { + for (var oe = [], U = 0; U < v.length; U++) { + var ge = v[U], + J = ge(W, G, K, Q, ne, n); + if (J == null) return null; + J.data && o(J.data, "expectedType") && oe.push(J.data.expectedType); + } + var ke = + oe.length > 0 + ? ", expected one of type [" + oe.join(", ") + "]" + : ""; + return new b( + "Invalid " + + Q + + " `" + + ne + + "` supplied to " + + ("`" + K + "`" + ke + "."), + ); + } + return y(M); + } + function L() { + function v(z, B, M, W, G) { + return k(z[B]) + ? null + : new b( + "Invalid " + + W + + " `" + + G + + "` supplied to " + + ("`" + M + "`, expected a ReactNode."), + ); + } + return y(v); + } + function j(v, z, B, M, W) { + return new b( + (v || "React class") + + ": " + + z + + " type `" + + B + + "." + + M + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + W + + "`.", + ); + } + function P(v) { + function z(B, M, W, G, K) { + var Q = B[M], + ne = T(Q); + if (ne !== "object") + return new b( + "Invalid " + + G + + " `" + + K + + "` of type `" + + ne + + "` " + + ("supplied to `" + W + "`, expected `object`."), + ); + for (var oe in v) { + var U = v[oe]; + if (typeof U != "function") return j(W, G, K, oe, F(U)); + var ge = U(Q, oe, W, G, K + "." + oe, n); + if (ge) return ge; + } + return null; + } + return y(z); + } + function V(v) { + function z(B, M, W, G, K) { + var Q = B[M], + ne = T(Q); + if (ne !== "object") + return new b( + "Invalid " + + G + + " `" + + K + + "` of type `" + + ne + + "` " + + ("supplied to `" + W + "`, expected `object`."), + ); + var oe = t({}, B[M], v); + for (var U in oe) { + var ge = v[U]; + if (o(v, U) && typeof ge != "function") return j(W, G, K, U, F(ge)); + if (!ge) + return new b( + "Invalid " + + G + + " `" + + K + + "` key `" + + U + + "` supplied to `" + + W + + "`.\nBad object: " + + JSON.stringify(B[M], null, " ") + + ` +Valid keys: ` + + JSON.stringify(Object.keys(v), null, " "), + ); + var J = ge(Q, U, W, G, K + "." + U, n); + if (J) return J; + } + return null; + } + return y(z); + } + function k(v) { + switch (typeof v) { + case "number": + case "string": + case "undefined": + return !0; + case "boolean": + return !v; + case "object": + if (Array.isArray(v)) return v.every(k); + if (v === null || l(v)) return !0; + var z = d(v); + if (z) { + var B = z.call(v), + M; + if (z !== v.entries) { + for (; !(M = B.next()).done; ) if (!k(M.value)) return !1; + } else + for (; !(M = B.next()).done; ) { + var W = M.value; + if (W && !k(W[1])) return !1; + } + } else return !1; + return !0; + default: + return !1; + } + } + function N(v, z) { + return v === "symbol" + ? !0 + : z + ? z["@@toStringTag"] === "Symbol" || + (typeof Symbol == "function" && z instanceof Symbol) + : !1; + } + function T(v) { + var z = typeof v; + return Array.isArray(v) + ? "array" + : v instanceof RegExp + ? "object" + : N(z, v) + ? "symbol" + : z; + } + function F(v) { + if (typeof v > "u" || v === null) return "" + v; + var z = T(v); + if (z === "object") { + if (v instanceof Date) return "date"; + if (v instanceof RegExp) return "regexp"; + } + return z; + } + function I(v) { + var z = F(v); + switch (z) { + case "array": + case "object": + return "an " + z; + case "boolean": + case "date": + case "regexp": + return "a " + z; + default: + return z; + } + } + function D(v) { + return !v.constructor || !v.constructor.name ? h : v.constructor.name; + } + return ( + (f.checkPropTypes = r), + (f.resetWarningCache = r.resetWarningCache), + (f.PropTypes = f), + f + ); + }), + xl + ); } -function* wh() { - for (var e = this._groups, t = 0, n = e.length; t < n; ++t) - for (var o = e[t], r = 0, i = o.length, a; r < i; ++r) - (a = o[r]) && (yield a); +var wl, I2; +function w7() { + if (I2) return wl; + I2 = 1; + var e = uc(); + function t() {} + function n() {} + return ( + (n.resetWarningCache = t), + (wl = function () { + function o(a, l, s, u, c, d) { + if (d !== e) { + var h = new Error( + "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types", + ); + throw ((h.name = "Invariant Violation"), h); + } + } + o.isRequired = o; + function r() { + return o; + } + var i = { + array: o, + bigint: o, + bool: o, + func: o, + number: o, + object: o, + string: o, + symbol: o, + any: o, + arrayOf: r, + element: o, + elementType: o, + instanceOf: r, + node: o, + objectOf: r, + oneOf: r, + oneOfType: r, + shape: r, + exact: r, + checkPropTypes: n, + resetWarningCache: t, + }; + return (i.PropTypes = i), i; + }), + wl + ); } -var n3 = [null]; -function Tt(e, t) { - this._groups = e, this._parents = t; -} -function _r() { - return new Tt([[document.documentElement]], n3); -} -function Eh() { - return this; -} -Tt.prototype = _r.prototype = { - constructor: Tt, - select: G9, - selectAll: J9, - selectChild: op, - selectChildren: lp, - filter: sp, - data: hp, - enter: cp, - exit: mp, - join: bp, - merge: yp, - selection: Eh, - order: Cp, - sort: vp, - call: wp, - nodes: Ep, - node: Sp, - size: kp, - empty: _p, - each: Ap, - attr: Fp, - style: zp, - property: Vp, - classed: Up, - text: Kp, - html: eh, - raise: nh, - lower: rh, - append: ih, - insert: lh, - remove: ch, - clone: fh, - datum: ph, - on: yh, - dispatch: xh, - [Symbol.iterator]: wh -}; -function Ut(e) { - return typeof e == "string" ? new Tt([[document.querySelector(e)]], [document.documentElement]) : new Tt([[e]], n3); -} -function Sh(e) { - let t; - for (; t = e.sourceEvent; ) e = t; - return e; -} -function on(e, t) { - if (e = Sh(e), t === void 0 && (t = e.currentTarget), t) { - var n = t.ownerSVGElement || t; - if (n.createSVGPoint) { - var o = n.createSVGPoint(); - return o.x = e.clientX, o.y = e.clientY, o = o.matrixTransform(t.getScreenCTM().inverse()), [o.x, o.y]; - } - if (t.getBoundingClientRect) { - var r = t.getBoundingClientRect(); - return [e.clientX - r.left - t.clientLeft, e.clientY - r.top - t.clientTop]; - } - } - return [e.pageX, e.pageY]; -} -const kh = { passive: !1 }, dr = { capture: !0, passive: !1 }; -function Ol(e) { - e.stopImmediatePropagation(); -} -function ho(e) { - e.preventDefault(), e.stopImmediatePropagation(); -} -function o3(e) { - var t = e.document.documentElement, n = Ut(e).on("dragstart.drag", ho, dr); - "onselectstart" in t ? n.on("selectstart.drag", ho, dr) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); -} -function r3(e, t) { - var n = e.document.documentElement, o = Ut(e).on("dragstart.drag", null); - t && (o.on("click.drag", ho, dr), setTimeout(function() { - o.on("click.drag", null); - }, 0)), "onselectstart" in n ? o.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect); -} -const Ur = (e) => () => e; -function gs(e, { - sourceEvent: t, - subject: n, - target: o, - identifier: r, - active: i, - x: a, - y: l, - dx: s, - dy: u, - dispatch: c -}) { - Object.defineProperties(this, { - type: { value: e, enumerable: !0, configurable: !0 }, - sourceEvent: { value: t, enumerable: !0, configurable: !0 }, - subject: { value: n, enumerable: !0, configurable: !0 }, - target: { value: o, enumerable: !0, configurable: !0 }, - identifier: { value: r, enumerable: !0, configurable: !0 }, - active: { value: i, enumerable: !0, configurable: !0 }, - x: { value: a, enumerable: !0, configurable: !0 }, - y: { value: l, enumerable: !0, configurable: !0 }, - dx: { value: s, enumerable: !0, configurable: !0 }, - dy: { value: u, enumerable: !0, configurable: !0 }, - _: { value: c } - }); -} -gs.prototype.on = function() { - var e = this._.on.apply(this._, arguments); - return e === this._ ? this : e; -}; -function _h(e) { - return !e.ctrlKey && !e.button; -} -function Ah() { - return this.parentNode; -} -function Mh(e, t) { - return t ?? { x: e.x, y: e.y }; -} -function Th() { - return navigator.maxTouchPoints || "ontouchstart" in this; -} -function Oh() { - var e = _h, t = Ah, n = Mh, o = Th, r = {}, i = Ji("start", "drag", "end"), a = 0, l, s, u, c, d = 0; - function h(E) { - E.on("mousedown.drag", f).filter(o).on("touchstart.drag", y).on("touchmove.drag", g, kh).on("touchend.drag touchcancel.drag", x).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); - } - function f(E, w) { - if (!(c || !e.call(this, E, w))) { - var S = C(this, t.call(this, E, w), E, w, "mouse"); - S && (Ut(E.view).on("mousemove.drag", m, dr).on("mouseup.drag", b, dr), o3(E.view), Ol(E), u = !1, l = E.clientX, s = E.clientY, S("start", E)); - } - } - function m(E) { - if (ho(E), !u) { - var w = E.clientX - l, S = E.clientY - s; - u = w * w + S * S > d; - } - r.mouse("drag", S); - } - function b(E) { - Ut(E.view).on("mousemove.drag mouseup.drag", null), r3(E.view, u), ho(E), r.mouse("end", E); - } - function y(E, w) { - if (e.call(this, E, w)) { - var S = E.changedTouches, _ = t.call(this, E, w), A = S.length, R, L; - for (R = 0; R < A; ++R) - (L = C(this, _, E, w, S[R].identifier, S[R])) && (Ol(E), L("start", E, S[R])); - } - } - function g(E) { - var w = E.changedTouches, S = w.length, _, A; - for (_ = 0; _ < S; ++_) - (A = r[w[_].identifier]) && (ho(E), A("drag", E, w[_])); - } - function x(E) { - var w = E.changedTouches, S = w.length, _, A; - for (c && clearTimeout(c), c = setTimeout(function() { - c = null; - }, 500), _ = 0; _ < S; ++_) - (A = r[w[_].identifier]) && (Ol(E), A("end", E, w[_])); - } - function C(E, w, S, _, A, R) { - var L = i.copy(), j = on(R || S, w), P, V, k; - if ((k = n.call(E, new gs("beforestart", { - sourceEvent: S, - target: h, - identifier: A, - active: a, - x: j[0], - y: j[1], - dx: 0, - dy: 0, - dispatch: L - }), _)) != null) - return P = k.x - j[0] || 0, V = k.y - j[1] || 0, function N(T, F, I) { - var D = j, v; - switch (T) { - case "start": - r[A] = N, v = a++; - break; - case "end": - delete r[A], --a; - case "drag": - j = on(I || F, w), v = a; - break; - } - L.call( - T, - E, - new gs(T, { - sourceEvent: F, - subject: k, - target: h, - identifier: A, - active: v, - x: j[0] + P, - y: j[1] + V, - dx: j[0] - D[0], - dy: j[1] - D[1], - dispatch: L - }), - _ - ); - }; - } - return h.filter = function(E) { - return arguments.length ? (e = typeof E == "function" ? E : Ur(!!E), h) : e; - }, h.container = function(E) { - return arguments.length ? (t = typeof E == "function" ? E : Ur(E), h) : t; - }, h.subject = function(E) { - return arguments.length ? (n = typeof E == "function" ? E : Ur(E), h) : n; - }, h.touchable = function(E) { - return arguments.length ? (o = typeof E == "function" ? E : Ur(!!E), h) : o; - }, h.on = function() { - var E = i.on.apply(i, arguments); - return E === i ? h : E; - }, h.clickDistance = function(E) { - return arguments.length ? (d = (E = +E) * E, h) : Math.sqrt(d); - }, h; -} -function vc(e, t, n) { - e.prototype = t.prototype = n, n.constructor = e; -} -function i3(e, t) { - var n = Object.create(e.prototype); - for (var o in t) n[o] = t[o]; - return n; -} -function Ar() { -} -var fr = 0.7, Mi = 1 / fr, go = "\\s*([+-]?\\d+)\\s*", pr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ln = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Nh = /^#([0-9a-f]{3,8})$/, Dh = new RegExp(`^rgb\\(${go},${go},${go}\\)$`), Lh = new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`), Fh = new RegExp(`^rgba\\(${go},${go},${go},${pr}\\)$`), Rh = new RegExp(`^rgba\\(${ln},${ln},${ln},${pr}\\)$`), jh = new RegExp(`^hsl\\(${pr},${ln},${ln}\\)$`), Ih = new RegExp(`^hsla\\(${pr},${ln},${ln},${pr}\\)$`), J2 = { - aliceblue: 15792383, - antiquewhite: 16444375, - aqua: 65535, - aquamarine: 8388564, - azure: 15794175, - beige: 16119260, - bisque: 16770244, - black: 0, - blanchedalmond: 16772045, - blue: 255, - blueviolet: 9055202, - brown: 10824234, - burlywood: 14596231, - cadetblue: 6266528, - chartreuse: 8388352, - chocolate: 13789470, - coral: 16744272, - cornflowerblue: 6591981, - cornsilk: 16775388, - crimson: 14423100, - cyan: 65535, - darkblue: 139, - darkcyan: 35723, - darkgoldenrod: 12092939, - darkgray: 11119017, - darkgreen: 25600, - darkgrey: 11119017, - darkkhaki: 12433259, - darkmagenta: 9109643, - darkolivegreen: 5597999, - darkorange: 16747520, - darkorchid: 10040012, - darkred: 9109504, - darksalmon: 15308410, - darkseagreen: 9419919, - darkslateblue: 4734347, - darkslategray: 3100495, - darkslategrey: 3100495, - darkturquoise: 52945, - darkviolet: 9699539, - deeppink: 16716947, - deepskyblue: 49151, - dimgray: 6908265, - dimgrey: 6908265, - dodgerblue: 2003199, - firebrick: 11674146, - floralwhite: 16775920, - forestgreen: 2263842, - fuchsia: 16711935, - gainsboro: 14474460, - ghostwhite: 16316671, - gold: 16766720, - goldenrod: 14329120, - gray: 8421504, - green: 32768, - greenyellow: 11403055, - grey: 8421504, - honeydew: 15794160, - hotpink: 16738740, - indianred: 13458524, - indigo: 4915330, - ivory: 16777200, - khaki: 15787660, - lavender: 15132410, - lavenderblush: 16773365, - lawngreen: 8190976, - lemonchiffon: 16775885, - lightblue: 11393254, - lightcoral: 15761536, - lightcyan: 14745599, - lightgoldenrodyellow: 16448210, - lightgray: 13882323, - lightgreen: 9498256, - lightgrey: 13882323, - lightpink: 16758465, - lightsalmon: 16752762, - lightseagreen: 2142890, - lightskyblue: 8900346, - lightslategray: 7833753, - lightslategrey: 7833753, - lightsteelblue: 11584734, - lightyellow: 16777184, - lime: 65280, - limegreen: 3329330, - linen: 16445670, - magenta: 16711935, - maroon: 8388608, - mediumaquamarine: 6737322, - mediumblue: 205, - mediumorchid: 12211667, - mediumpurple: 9662683, - mediumseagreen: 3978097, - mediumslateblue: 8087790, - mediumspringgreen: 64154, - mediumturquoise: 4772300, - mediumvioletred: 13047173, - midnightblue: 1644912, - mintcream: 16121850, - mistyrose: 16770273, - moccasin: 16770229, - navajowhite: 16768685, - navy: 128, - oldlace: 16643558, - olive: 8421376, - olivedrab: 7048739, - orange: 16753920, - orangered: 16729344, - orchid: 14315734, - palegoldenrod: 15657130, - palegreen: 10025880, - paleturquoise: 11529966, - palevioletred: 14381203, - papayawhip: 16773077, - peachpuff: 16767673, - peru: 13468991, - pink: 16761035, - plum: 14524637, - powderblue: 11591910, - purple: 8388736, - rebeccapurple: 6697881, - red: 16711680, - rosybrown: 12357519, - royalblue: 4286945, - saddlebrown: 9127187, - salmon: 16416882, - sandybrown: 16032864, - seagreen: 3050327, - seashell: 16774638, - sienna: 10506797, - silver: 12632256, - skyblue: 8900331, - slateblue: 6970061, - slategray: 7372944, - slategrey: 7372944, - snow: 16775930, - springgreen: 65407, - steelblue: 4620980, - tan: 13808780, - teal: 32896, - thistle: 14204888, - tomato: 16737095, - turquoise: 4251856, - violet: 15631086, - wheat: 16113331, - white: 16777215, - whitesmoke: 16119285, - yellow: 16776960, - yellowgreen: 10145074 -}; -vc(Ar, hr, { - copy(e) { - return Object.assign(new this.constructor(), this, e); +if (process.env.NODE_ENV !== "production") { + var E7 = kd(), + S7 = !0; + us.exports = x7()(E7.isElement, S7); +} else us.exports = w7()(); +var k7 = us.exports; +const q = /* @__PURE__ */ un(k7); +var ui = function (t) { + return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); }, - displayable() { - return this.rgb().displayable(); + rn = { + id: "__id__", + display: "__display__", }, - hex: eu, - // Deprecated! Use color.formatHex. - formatHex: eu, - formatHex8: zh, - formatHsl: Hh, - formatRgb: tu, - toString: tu -}); -function eu() { - return this.rgb().formatHex(); -} -function zh() { - return this.rgb().formatHex8(); -} -function Hh() { - return a3(this).formatHsl(); -} -function tu() { - return this.rgb().formatRgb(); -} -function hr(e) { - var t, n; - return e = (e + "").trim().toLowerCase(), (t = Nh.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? nu(t) : n === 3 ? new xt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? qr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? qr(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Dh.exec(e)) ? new xt(t[1], t[2], t[3], 1) : (t = Lh.exec(e)) ? new xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Fh.exec(e)) ? qr(t[1], t[2], t[3], t[4]) : (t = Rh.exec(e)) ? qr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = jh.exec(e)) ? iu(t[1], t[2] / 100, t[3] / 100, 1) : (t = Ih.exec(e)) ? iu(t[1], t[2] / 100, t[3] / 100, t[4]) : J2.hasOwnProperty(e) ? nu(J2[e]) : e === "transparent" ? new xt(NaN, NaN, NaN, 0) : null; -} -function nu(e) { - return new xt(e >> 16 & 255, e >> 8 & 255, e & 255, 1); -} -function qr(e, t, n, o) { - return o <= 0 && (e = t = n = NaN), new xt(e, t, n, o); -} -function Ph(e) { - return e instanceof Ar || (e = hr(e)), e ? (e = e.rgb(), new xt(e.r, e.g, e.b, e.opacity)) : new xt(); -} -function ms(e, t, n, o) { - return arguments.length === 1 ? Ph(e) : new xt(e, t, n, o ?? 1); -} -function xt(e, t, n, o) { - this.r = +e, this.g = +t, this.b = +n, this.opacity = +o; -} -vc(xt, ms, i3(Ar, { - brighter(e) { - return e = e == null ? Mi : Math.pow(Mi, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); + z2 = function (t, n) { + Eo( + n === "id" || n === "display", + 'Second arg must be either "id" or "display", got: "'.concat(n, '"'), + ); + var o = t.indexOf(rn.display), + r = t.indexOf(rn.id); + return ( + o < 0 && (o = null), + r < 0 && (r = null), + Eo( + o !== null || r !== null, + "The markup '".concat( + t, + "' does not contain either of the placeholders '__id__' or '__display__'", + ), + ), + o !== null && r !== null + ? (n === "id" && r <= o) || (n === "display" && o <= r) + ? 0 + : 1 + : 0 + ); }, - darker(e) { - return e = e == null ? fr : Math.pow(fr, e), new xt(this.r * e, this.g * e, this.b * e, this.opacity); + _7 = function (t) { + var n = /^\/(.+)\/(\w+)?$/; + return new RegExp( + t + .map(function (o) { + var r = n.exec(o.toString()), + i = ki(r, 3), + a = i[1], + l = i[2]; + return ( + Eo( + !l, + "RegExp flags are not supported. Change /" + .concat(a, "/") + .concat(l, " into /") + .concat(a, "/"), + ), + "(".concat(a, ")") + ); + }) + .join("|"), + "g", + ); }, - rgb() { - return this; + Ad = function (t) { + var n = 0; + return ( + t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n + ); }, - clamp() { - return new xt(Un(this.r), Un(this.g), Un(this.b), Ti(this.opacity)); + A7 = function () {}, + kr = function (t, n, o) { + for ( + var r = + arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : A7, + i = _7( + n.map(function (w) { + return w.regex; + }), + ), + a = 2, + l = n.map(function (w) { + var S = w.markup, + _ = a; + return (a += Ad(S) + 1), _; + }), + s, + u = 0, + c = 0; + (s = i.exec(t)) !== null; + + ) { + var d = l.find(function (w) { + return !!s[w]; + }), + h = l.indexOf(d), + f = n[h], + m = f.markup, + b = f.displayTransform, + y = d + z2(m, "id"), + g = d + z2(m, "display"), + x = s[y], + C = b(x, s[g]), + E = t.substring(u, s.index); + r(E, u, c), + (c += E.length), + o(s[0], s.index, c, x, C, h, u), + (c += C.length), + (u = i.lastIndex); + } + u < t.length && r(t.substring(u), u, c); }, - displayable() { - return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1; + Pn = function (t, n) { + var o = ""; + return ( + kr( + t, + n, + function (r, i, a, l, s) { + o += s; + }, + function (r) { + o += r; + }, + ), + o + ); }, - hex: ou, - // Deprecated! Use color.formatHex. - formatHex: ou, - formatHex8: Bh, - formatRgb: ru, - toString: ru -})); -function ou() { - return `#${$n(this.r)}${$n(this.g)}${$n(this.b)}`; -} -function Bh() { - return `#${$n(this.r)}${$n(this.g)}${$n(this.b)}${$n((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; -} -function ru() { - const e = Ti(this.opacity); - return `${e === 1 ? "rgb(" : "rgba("}${Un(this.r)}, ${Un(this.g)}, ${Un(this.b)}${e === 1 ? ")" : `, ${e})`}`; -} -function Ti(e) { - return isNaN(e) ? 1 : Math.max(0, Math.min(1, e)); -} -function Un(e) { - return Math.max(0, Math.min(255, Math.round(e) || 0)); -} -function $n(e) { - return e = Un(e), (e < 16 ? "0" : "") + e.toString(16); -} -function iu(e, t, n, o) { - return o <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new qt(e, t, n, o); -} -function a3(e) { - if (e instanceof qt) return new qt(e.h, e.s, e.l, e.opacity); - if (e instanceof Ar || (e = hr(e)), !e) return new qt(); - if (e instanceof qt) return e; - e = e.rgb(); - var t = e.r / 255, n = e.g / 255, o = e.b / 255, r = Math.min(t, n, o), i = Math.max(t, n, o), a = NaN, l = i - r, s = (i + r) / 2; - return l ? (t === i ? a = (n - o) / l + (n < o) * 6 : n === i ? a = (o - t) / l + 2 : a = (t - n) / l + 4, l /= s < 0.5 ? i + r : 2 - i - r, a *= 60) : l = s > 0 && s < 1 ? 0 : a, new qt(a, l, s, e.opacity); -} -function Vh(e, t, n, o) { - return arguments.length === 1 ? a3(e) : new qt(e, t, n, o ?? 1); -} -function qt(e, t, n, o) { - this.h = +e, this.s = +t, this.l = +n, this.opacity = +o; -} -vc(qt, Vh, i3(Ar, { - brighter(e) { - return e = e == null ? Mi : Math.pow(Mi, e), new qt(this.h, this.s, this.l * e, this.opacity); - }, - darker(e) { - return e = e == null ? fr : Math.pow(fr, e), new qt(this.h, this.s, this.l * e, this.opacity); - }, - rgb() { - var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, o = n + (n < 0.5 ? n : 1 - n) * t, r = 2 * n - o; - return new xt( - Nl(e >= 240 ? e - 240 : e + 120, r, o), - Nl(e, r, o), - Nl(e < 120 ? e + 240 : e - 120, r, o), - this.opacity + mt = function (t, n, o) { + var r = + arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "START"; + if (typeof o != "number") return o; + var i, + a = function (u, c, d) { + i === void 0 && d + u.length >= o && (i = c + o - d); + }, + l = function (u, c, d, h, f, m, b) { + i === void 0 && + d + f.length > o && + (r === "NULL" ? (i = null) : (i = c + (r === "END" ? u.length : 0))); + }; + return kr(t, n, l, a), i === void 0 ? t.length : i; + }, + er = function (t, n, o, r) { + return t.substring(0, n) + r + t.substring(o); + }, + M7 = function (t, n, o, r) { + var i = o.selectionStartBefore, + a = o.selectionEndBefore, + l = o.selectionEndAfter, + s = Pn(t, r), + u = s.length - n.length; + i === "undefined" && (i = l + u), + a === "undefined" && (a = i), + i === a && a === l && s.length === n.length && (i = i - 1); + var c = n.slice(i, l), + d = Math.min(i, l), + h = a; + i === l && (h = Math.max(a, i + u)); + var f = mt(t, r, d, "START"), + m = mt(t, r, h, "END"), + b = mt(t, r, d, "NULL"), + y = mt(t, r, h, "NULL"), + g = b === null || y === null, + x = er(t, f, m, c); + if (!g) { + var C = Pn(x, r); + if (C !== n) { + for (d = 0; n[d] === C[d]; ) d++; + (c = n.slice(d, l)), + (h = s.lastIndexOf(n.substring(l))), + (f = mt(t, r, d, "START")), + (m = mt(t, r, h, "END")), + (x = er(t, f, m, c)); + } + } + return x; + }, + H2 = function (t, n, o) { + var r = o, + i = !1, + a = function (s, u, c, d, h, f, m) { + c <= o && c + h.length > o && ((r = c), (i = !0)); + }; + if ((kr(t, n, a), i)) return r; + }, + Go = function (t, n) { + var o = []; + return ( + kr(t, n, function (r, i, a, l, s, u, c) { + o.push({ + id: l, + display: s, + childIndex: u, + index: i, + plainTextIndex: a, + }); + }), + o ); }, - clamp() { - return new qt(au(this.h), Yr(this.s), Yr(this.l), Ti(this.opacity)); + Md = function (t, n) { + return "".concat(t, "-").concat(n); }, - displayable() { - return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1; + $r = function (t) { + return Object.values(t).reduce(function (n, o) { + var r = o.results; + return n + r.length; + }, 0); }, - formatHsl() { - const e = Ti(this.opacity); - return `${e === 1 ? "hsl(" : "hsla("}${au(this.h)}, ${Yr(this.s) * 100}%, ${Yr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; + T7 = function (t, n) { + var o = Go(t, n), + r = o[o.length - 1]; + return r ? r.plainTextIndex + r.display.length : 0; + }, + O7 = function (t) { + var n = ui(t), + o = t[t.indexOf(rn.display) + rn.display.length], + r = t[t.indexOf(rn.id) + rn.id.length]; + return new RegExp( + n + .replace(rn.display, "([^".concat(ui(o || ""), "]+?)")) + .replace(rn.id, "([^".concat(ui(r || ""), "]+?)")), + ); + }, + Mn = function (t) { + return xo.toArray(t).map(function (n) { + var o = n.props, + r = o.markup, + i = o.regex, + a = o.displayTransform; + return { + markup: r, + regex: i ? N7(i, r) : O7(r), + displayTransform: + a || + function (l, s) { + return s || l; + }, + }; + }); + }, + N7 = function (t, n) { + var o = new RegExp(t.toString() + "|").exec("").length - 1, + r = Ad(n); + return ( + Eo( + o === r, + "Number of capturing groups in RegExp " + .concat(t.toString(), " (") + .concat( + o, + ") does not match the number of placeholders in the markup '", + ) + .concat(n, "' (") + .concat(r, ")"), + ), + t + ); + }, + D7 = function (t, n, o) { + return t.replace(rn.id, n).replace(rn.display, o); + }, + L7 = [ + { + base: "A", + letters: + /(A|Ⓐ|A|À|Á|Â|Ầ|Ấ|Ẫ|Ẩ|Ã|Ā|Ă|Ằ|Ắ|Ẵ|Ẳ|Ȧ|Ǡ|Ä|Ǟ|Ả|Å|Ǻ|Ǎ|Ȁ|Ȃ|Ạ|Ậ|Ặ|Ḁ|Ą|Ⱥ|Ɐ|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g, + }, + { + base: "AA", + letters: /(Ꜳ|[\uA732])/g, + }, + { + base: "AE", + letters: /(Æ|Ǽ|Ǣ|[\u00C6\u01FC\u01E2])/g, + }, + { + base: "AO", + letters: /(Ꜵ|[\uA734])/g, + }, + { + base: "AU", + letters: /(Ꜷ|[\uA736])/g, + }, + { + base: "AV", + letters: /(Ꜹ|Ꜻ|[\uA738\uA73A])/g, + }, + { + base: "AY", + letters: /(Ꜽ|[\uA73C])/g, + }, + { + base: "B", + letters: + /(B|Ⓑ|B|Ḃ|Ḅ|Ḇ|Ƀ|Ƃ|Ɓ|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g, + }, + { + base: "C", + letters: + /(C|Ⓒ|C|Ć|Ĉ|Ċ|Č|Ç|Ḉ|Ƈ|Ȼ|Ꜿ|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g, + }, + { + base: "D", + letters: + /(D|Ⓓ|D|Ḋ|Ď|Ḍ|Ḑ|Ḓ|Ḏ|Đ|Ƌ|Ɗ|Ɖ|Ꝺ|Ð|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g, + }, + { + base: "DZ", + letters: /(DZ|DŽ|[\u01F1\u01C4])/g, + }, + { + base: "Dz", + letters: /(Dz|Dž|[\u01F2\u01C5])/g, + }, + { + base: "E", + letters: + /(E|Ⓔ|E|È|É|Ê|Ề|Ế|Ễ|Ể|Ẽ|Ē|Ḕ|Ḗ|Ĕ|Ė|Ë|Ẻ|Ě|Ȅ|Ȇ|Ẹ|Ệ|Ȩ|Ḝ|Ę|Ḙ|Ḛ|Ɛ|Ǝ|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g, + }, + { + base: "F", + letters: + /(F|Ⓕ|F|Ḟ|Ƒ|Ꝼ|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g, + }, + { + base: "G", + letters: + /(G|Ⓖ|G|Ǵ|Ĝ|Ḡ|Ğ|Ġ|Ǧ|Ģ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ꝿ|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g, + }, + { + base: "H", + letters: + /(H|Ⓗ|H|Ĥ|Ḣ|Ḧ|Ȟ|Ḥ|Ḩ|Ḫ|Ħ|Ⱨ|Ⱶ|Ɥ|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g, + }, + { + base: "I", + letters: + /(I|Ⓘ|I|Ì|Í|Î|Ĩ|Ī|Ĭ|İ|Ï|Ḯ|Ỉ|Ǐ|Ȉ|Ȋ|Ị|Į|Ḭ|Ɨ|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g, + }, + { + base: "J", + letters: + /(J|Ⓙ|J|Ĵ|Ɉ|[\u004A\u24BF\uFF2A\u0134\u0248])/g, + }, + { + base: "K", + letters: + /(K|Ⓚ|K|Ḱ|Ǩ|Ḳ|Ķ|Ḵ|Ƙ|Ⱪ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g, + }, + { + base: "L", + letters: + /(L|Ⓛ|L|Ŀ|Ĺ|Ľ|Ḷ|Ḹ|Ļ|Ḽ|Ḻ|Ł|Ƚ|Ɫ|Ⱡ|Ꝉ|Ꝇ|Ꞁ|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g, + }, + { + base: "LJ", + letters: /(LJ|[\u01C7])/g, + }, + { + base: "Lj", + letters: /(Lj|[\u01C8])/g, + }, + { + base: "M", + letters: + /(M|Ⓜ|M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g, + }, + { + base: "N", + letters: + /(N|Ⓝ|N|Ǹ|Ń|Ñ|Ṅ|Ň|Ṇ|Ņ|Ṋ|Ṉ|Ƞ|Ɲ|Ꞑ|Ꞥ|Ŋ|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g, + }, + { + base: "NJ", + letters: /(NJ|[\u01CA])/g, + }, + { + base: "Nj", + letters: /(Nj|[\u01CB])/g, + }, + { + base: "O", + letters: + /(O|Ⓞ|O|Ò|Ó|Ô|Ồ|Ố|Ỗ|Ổ|Õ|Ṍ|Ȭ|Ṏ|Ō|Ṑ|Ṓ|Ŏ|Ȯ|Ȱ|Ö|Ȫ|Ỏ|Ő|Ǒ|Ȍ|Ȏ|Ơ|Ờ|Ớ|Ỡ|Ở|Ợ|Ọ|Ộ|Ǫ|Ǭ|Ø|Ǿ|Ɔ|Ɵ|Ꝋ|Ꝍ|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g, + }, + { + base: "OE", + letters: /(Œ|[\u0152])/g, + }, + { + base: "OI", + letters: /(Ƣ|[\u01A2])/g, + }, + { + base: "OO", + letters: /(Ꝏ|[\uA74E])/g, + }, + { + base: "OU", + letters: /(Ȣ|[\u0222])/g, + }, + { + base: "P", + letters: + /(P|Ⓟ|P|Ṕ|Ṗ|Ƥ|Ᵽ|Ꝑ|Ꝓ|Ꝕ|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g, + }, + { + base: "Q", + letters: + /(Q|Ⓠ|Q|Ꝗ|Ꝙ|Ɋ|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g, + }, + { + base: "R", + letters: + /(R|Ⓡ|R|Ŕ|Ṙ|Ř|Ȑ|Ȓ|Ṛ|Ṝ|Ŗ|Ṟ|Ɍ|Ɽ|Ꝛ|Ꞧ|Ꞃ|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g, + }, + { + base: "S", + letters: + /(S|Ⓢ|S|ẞ|Ś|Ṥ|Ŝ|Ṡ|Š|Ṧ|Ṣ|Ṩ|Ș|Ş|Ȿ|Ꞩ|Ꞅ|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g, + }, + { + base: "T", + letters: + /(T|Ⓣ|T|Ṫ|Ť|Ṭ|Ț|Ţ|Ṱ|Ṯ|Ŧ|Ƭ|Ʈ|Ⱦ|Ꞇ|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g, + }, + { + base: "TH", + letters: /(Þ|[\u00DE])/g, + }, + { + base: "TZ", + letters: /(Ꜩ|[\uA728])/g, + }, + { + base: "U", + letters: + /(U|Ⓤ|U|Ù|Ú|Û|Ũ|Ṹ|Ū|Ṻ|Ŭ|Ü|Ǜ|Ǘ|Ǖ|Ǚ|Ủ|Ů|Ű|Ǔ|Ȕ|Ȗ|Ư|Ừ|Ứ|Ữ|Ử|Ự|Ụ|Ṳ|Ų|Ṷ|Ṵ|Ʉ|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g, + }, + { + base: "V", + letters: + /(V|Ⓥ|V|Ṽ|Ṿ|Ʋ|Ꝟ|Ʌ|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g, + }, + { + base: "VY", + letters: /(Ꝡ|[\uA760])/g, + }, + { + base: "W", + letters: + /(W|Ⓦ|W|Ẁ|Ẃ|Ŵ|Ẇ|Ẅ|Ẉ|Ⱳ|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g, + }, + { + base: "X", + letters: + /(X|Ⓧ|X|Ẋ|Ẍ|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g, + }, + { + base: "Y", + letters: + /(Y|Ⓨ|Y|Ỳ|Ý|Ŷ|Ỹ|Ȳ|Ẏ|Ÿ|Ỷ|Ỵ|Ƴ|Ɏ|Ỿ|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g, + }, + { + base: "Z", + letters: + /(Z|Ⓩ|Z|Ź|Ẑ|Ż|Ž|Ẓ|Ẕ|Ƶ|Ȥ|Ɀ|Ⱬ|Ꝣ|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g, + }, + { + base: "a", + letters: + /(a|ⓐ|a|ẚ|à|á|â|ầ|ấ|ẫ|ẩ|ã|ā|ă|ằ|ắ|ẵ|ẳ|ȧ|ǡ|ä|ǟ|ả|å|ǻ|ǎ|ȁ|ȃ|ạ|ậ|ặ|ḁ|ą|ⱥ|ɐ|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g, + }, + { + base: "aa", + letters: /(ꜳ|[\uA733])/g, + }, + { + base: "ae", + letters: /(æ|ǽ|ǣ|[\u00E6\u01FD\u01E3])/g, + }, + { + base: "ao", + letters: /(ꜵ|[\uA735])/g, + }, + { + base: "au", + letters: /(ꜷ|[\uA737])/g, + }, + { + base: "av", + letters: /(ꜹ|ꜻ|[\uA739\uA73B])/g, + }, + { + base: "ay", + letters: /(ꜽ|[\uA73D])/g, + }, + { + base: "b", + letters: + /(b|ⓑ|b|ḃ|ḅ|ḇ|ƀ|ƃ|ɓ|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g, + }, + { + base: "c", + letters: + /(c|ⓒ|c|ć|ĉ|ċ|č|ç|ḉ|ƈ|ȼ|ꜿ|ↄ|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g, + }, + { + base: "d", + letters: + /(d|ⓓ|d|ḋ|ď|ḍ|ḑ|ḓ|ḏ|đ|ƌ|ɖ|ɗ|ꝺ|ð|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g, + }, + { + base: "dz", + letters: /(dz|dž|[\u01F3\u01C6])/g, + }, + { + base: "e", + letters: + /(e|ⓔ|e|è|é|ê|ề|ế|ễ|ể|ẽ|ē|ḕ|ḗ|ĕ|ė|ë|ẻ|ě|ȅ|ȇ|ẹ|ệ|ȩ|ḝ|ę|ḙ|ḛ|ɇ|ɛ|ǝ|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g, + }, + { + base: "f", + letters: + /(f|ⓕ|f|ḟ|ƒ|ꝼ|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g, + }, + { + base: "g", + letters: + /(g|ⓖ|g|ǵ|ĝ|ḡ|ğ|ġ|ǧ|ģ|ǥ|ɠ|ꞡ|ᵹ|ꝿ|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g, + }, + { + base: "h", + letters: + /(h|ⓗ|h|ĥ|ḣ|ḧ|ȟ|ḥ|ḩ|ḫ|ẖ|ħ|ⱨ|ⱶ|ɥ|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g, + }, + { + base: "hv", + letters: /(ƕ|[\u0195])/g, + }, + { + base: "i", + letters: + /(i|ⓘ|i|ì|í|î|ĩ|ī|ĭ|ï|ḯ|ỉ|ǐ|ȉ|ȋ|ị|į|ḭ|ɨ|ı|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g, + }, + { + base: "ij", + letters: /(ij|[\u0133])/g, + }, + { + base: "j", + letters: + /(j|ⓙ|j|ĵ|ǰ|ɉ|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g, + }, + { + base: "k", + letters: + /(k|ⓚ|k|ḱ|ǩ|ḳ|ķ|ḵ|ƙ|ⱪ|ꝁ|ꝃ|ꝅ|ꞣ|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g, + }, + { + base: "l", + letters: + /(l|ⓛ|l|ŀ|ĺ|ľ|ḷ|ḹ|ļ|ḽ|ḻ|ł|ƚ|ɫ|ⱡ|ꝉ|ꞁ|ꝇ|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g, + }, + { + base: "lj", + letters: /(lj|[\u01C9])/g, + }, + { + base: "m", + letters: + /(m|ⓜ|m|ḿ|ṁ|ṃ|ɱ|ɯ|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g, + }, + { + base: "n", + letters: + /(n|ⓝ|n|ǹ|ń|ñ|ṅ|ň|ṇ|ņ|ṋ|ṉ|ƞ|ɲ|ʼn|ꞑ|ꞥ|ŋ|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g, + }, + { + base: "nj", + letters: /(nj|[\u01CC])/g, + }, + { + base: "o", + letters: + /(o|ⓞ|o|ò|ó|ô|ồ|ố|ỗ|ổ|õ|ṍ|ȭ|ṏ|ō|ṑ|ṓ|ŏ|ȯ|ȱ|ö|ȫ|ỏ|ő|ǒ|ȍ|ȏ|ơ|ờ|ớ|ỡ|ở|ợ|ọ|ộ|ǫ|ǭ|ø|ǿ|ɔ|ꝋ|ꝍ|ɵ|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g, + }, + { + base: "oe", + letters: /(œ|[\u0153])/g, + }, + { + base: "oi", + letters: /(ƣ|[\u01A3])/g, + }, + { + base: "ou", + letters: /(ȣ|[\u0223])/g, + }, + { + base: "oo", + letters: /(ꝏ|[\uA74F])/g, + }, + { + base: "p", + letters: + /(p|ⓟ|p|ṕ|ṗ|ƥ|ᵽ|ꝑ|ꝓ|ꝕ|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g, + }, + { + base: "q", + letters: + /(q|ⓠ|q|ɋ|ꝗ|ꝙ|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g, + }, + { + base: "r", + letters: + /(r|ⓡ|r|ŕ|ṙ|ř|ȑ|ȓ|ṛ|ṝ|ŗ|ṟ|ɍ|ɽ|ꝛ|ꞧ|ꞃ|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g, + }, + { + base: "s", + letters: + /(s|ⓢ|s|ś|ṥ|ŝ|ṡ|š|ṧ|ṣ|ṩ|ș|ş|ȿ|ꞩ|ꞅ|ẛ|ſ|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g, + }, + { + base: "ss", + letters: /(ß|[\u00DF])/g, + }, + { + base: "t", + letters: + /(t|ⓣ|t|ṫ|ẗ|ť|ṭ|ț|ţ|ṱ|ṯ|ŧ|ƭ|ʈ|ⱦ|ꞇ|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g, + }, + { + base: "th", + letters: /(þ|[\u00FE])/g, + }, + { + base: "tz", + letters: /(ꜩ|[\uA729])/g, + }, + { + base: "u", + letters: + /(u|ⓤ|u|ù|ú|û|ũ|ṹ|ū|ṻ|ŭ|ü|ǜ|ǘ|ǖ|ǚ|ủ|ů|ű|ǔ|ȕ|ȗ|ư|ừ|ứ|ữ|ử|ự|ụ|ṳ|ų|ṷ|ṵ|ʉ|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g, + }, + { + base: "v", + letters: + /(v|ⓥ|v|ṽ|ṿ|ʋ|ꝟ|ʌ|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g, + }, + { + base: "vy", + letters: /(ꝡ|[\uA761])/g, + }, + { + base: "w", + letters: + /(w|ⓦ|w|ẁ|ẃ|ŵ|ẇ|ẅ|ẘ|ẉ|ⱳ|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g, + }, + { + base: "x", + letters: + /(x|ⓧ|x|ẋ|ẍ|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g, + }, + { + base: "y", + letters: + /(y|ⓨ|y|ỳ|ý|ŷ|ỹ|ȳ|ẏ|ÿ|ỷ|ẙ|ỵ|ƴ|ɏ|ỿ|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g, + }, + { + base: "z", + letters: + /(z|ⓩ|z|ź|ẑ|ż|ž|ẓ|ẕ|ƶ|ȥ|ɀ|ⱬ|ꝣ|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g, + }, + ], + F7 = function (t) { + var n = t; + return ( + L7.forEach(function (o) { + n = n.replace(o.letters, o.base); + }), + n + ); + }, + P2 = function (t) { + return F7(t).toLowerCase(); + }, + Td = function (t, n, o) { + return o ? P2(t).indexOf(P2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); + }, + R7 = function () { + return !!document.documentMode; + }, + ds = function (t) { + return typeof t == "number"; + }, + j7 = function (t) { + return t === Object(t) ? Object.keys(t) : []; + }, + I7 = function (t) { + for ( + var n, o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), i = 1; + i < o; + i++ + ) + r[i - 1] = arguments[i]; + var a = (n = []).concat.apply(n, r); + return Object.keys(t).reduce(function (l, s) { + return ( + t.hasOwnProperty(s) && + !a.includes(s) && + t[s] !== void 0 && + (l[s] = t[s]), + l + ); + }, {}); + }, + z7 = ["style", "className", "classNames"]; +function B2(e, t) { + var n = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } -})); -function au(e) { - return e = (e || 0) % 360, e < 0 ? e + 360 : e; -} -function Yr(e) { - return Math.max(0, Math.min(1, e || 0)); -} -function Nl(e, t, n) { - return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255; -} -const l3 = (e) => () => e; -function $h(e, t) { - return function(n) { - return e + n * t; - }; + return n; } -function Wh(e, t, n) { - return e = Math.pow(e, n), t = Math.pow(t, n) - e, n = 1 / n, function(o) { - return Math.pow(e + o * t, n); - }; +function V2(e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t] != null ? arguments[t] : {}; + t % 2 + ? B2(Object(n), !0).forEach(function (o) { + be(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : B2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); + } + return e; } -function Zh(e) { - return (e = +e) == 1 ? s3 : function(t, n) { - return n - t ? Wh(t, n, e) : l3(isNaN(t) ? n : t); +function Qi(e, t) { + var n = function (r) { + var i = function (s) { + var u = s.style, + c = s.className, + d = s.classNames, + h = J8(s, z7), + f = t ? t(h) : void 0, + m = cc( + e, + { + style: u, + className: c, + classNames: d, + }, + f, + ); + return /* @__PURE__ */ $.createElement( + r, + It({}, h, { + style: m, + }), + ); + }, + a = r.displayName || r.name || "Component"; + return ( + (i.displayName = "defaultStyle(".concat(a, ")")), + /* @__PURE__ */ $.forwardRef(function (l, s) { + return i( + V2( + V2({}, l), + {}, + { + ref: s, + }, + ), + ); + }) + ); }; + return n; } -function s3(e, t) { - var n = t - e; - return n ? $h(e, n) : l3(isNaN(e) ? t : e); -} -const lu = function e(t) { - var n = Zh(t); - function o(r, i) { - var a = n((r = ms(r)).r, (i = ms(i)).r), l = n(r.g, i.g), s = n(r.b, i.b), u = s3(r.opacity, i.opacity); - return function(c) { - return r.r = a(c), r.g = l(c), r.b = s(c), r.opacity = u(c), r + ""; - }; - } - return o.gamma = e, o; -}(1); -function Tn(e, t) { - return e = +e, t = +t, function(n) { - return e * (1 - n) + t * n; - }; -} -var bs = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Dl = new RegExp(bs.source, "g"); -function Uh(e) { - return function() { - return e; - }; -} -function qh(e) { - return function(t) { - return e(t) + ""; - }; -} -function Yh(e, t) { - var n = bs.lastIndex = Dl.lastIndex = 0, o, r, i, a = -1, l = [], s = []; - for (e = e + "", t = t + ""; (o = bs.exec(e)) && (r = Dl.exec(t)); ) - (i = r.index) > n && (i = t.slice(n, i), l[a] ? l[a] += i : l[++a] = i), (o = o[0]) === (r = r[0]) ? l[a] ? l[a] += r : l[++a] = r : (l[++a] = null, s.push({ i: a, x: Tn(o, r) })), n = Dl.lastIndex; - return n < t.length && (i = t.slice(n), l[a] ? l[a] += i : l[++a] = i), l.length < 2 ? s[0] ? qh(s[0].x) : Uh(t) : (t = s.length, function(u) { - for (var c = 0, d; c < t; ++c) l[(d = s[c]).i] = d.x(u); - return l.join(""); +var H7 = function (t, n) { + return t.hasOwnProperty(n) ? t[n]++ : (t[n] = 0), n + "_" + t[n]; +}; +function Od(e) { + var t = e.selectionStart, + n = e.selectionEnd, + o = e.value, + r = o === void 0 ? "" : o, + i = e.onCaretPositionChange, + a = e.containerRef, + l = e.children; + e.singleLine; + var s = e.style, + u = ue({ + left: void 0, + top: void 0, + }), + c = ki(u, 2), + d = c[0], + h = c[1], + f = ue(), + m = ki(f, 2), + b = m[0], + y = m[1]; + ce(function () { + g(); }); + var g = function () { + if (b) { + var k = b.offsetLeft, + N = b.offsetTop; + if (!(d.left === k && d.top === N)) { + var T = { + left: k, + top: N, + }; + h(T), i(T); + } + } + }, + x = Mn(l), + C; + n === t && (C = mt(r, x, t, "START")); + var E = [], + w = {}, + S = E, + _ = 0, + A = function (k, N, T) { + if (ds(C) && C >= N && C <= N + k.length) { + var F = C - N; + S.push(L(k.substring(0, F), _)), (S = [L(k.substring(F), _)]); + } else S.push(L(k, _)); + _++; + }, + R = function (k, N, T, F, I, D, v) { + var z = H7(w, F); + S.push(j(F, I, D, z)); + }, + L = function (k, N) { + return /* @__PURE__ */ $.createElement( + "span", + It({}, s("substring"), { + key: N, + }), + k, + ); + }, + j = function (k, N, T, F) { + var I = { + id: k, + display: N, + key: F, + }, + D = xo.toArray(l)[T]; + return /* @__PURE__ */ $.cloneElement(D, I); + }, + P = function (k) { + return /* @__PURE__ */ $.createElement( + "span", + It({}, s("caret"), { + ref: y, + key: "caret", + }), + k, + ); + }; + return ( + kr(r, x, R, A), + S.push(" "), + S !== E && E.push(P(S)), + /* @__PURE__ */ $.createElement( + "div", + It({}, s, { + ref: a, + }), + E, + ) + ); } -var su = 180 / Math.PI, ys = { - translateX: 0, - translateY: 0, - rotate: 0, - skewX: 0, - scaleX: 1, - scaleY: 1 +Od.propTypes = { + selectionStart: q.number, + selectionEnd: q.number, + value: q.string.isRequired, + onCaretPositionChange: q.func.isRequired, + containerRef: q.oneOfType([ + q.func, + q.shape({ + current: typeof Element > "u" ? q.any : q.instanceOf(Element), + }), + ]), + children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired, }; -function c3(e, t, n, o, r, i) { - var a, l, s; - return (a = Math.sqrt(e * e + t * t)) && (e /= a, t /= a), (s = e * n + t * o) && (n -= e * s, o -= t * s), (l = Math.sqrt(n * n + o * o)) && (n /= l, o /= l, s /= l), e * o < t * n && (e = -e, t = -t, s = -s, a = -a), { - translateX: r, - translateY: i, - rotate: Math.atan2(t, e) * su, - skewX: Math.atan(s) * su, - scaleX: a, - scaleY: l - }; -} -var Gr; -function Gh(e) { - const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + ""); - return t.isIdentity ? ys : c3(t.a, t.b, t.c, t.d, t.e, t.f); -} -function Kh(e) { - return e == null || (Gr || (Gr = document.createElementNS("http://www.w3.org/2000/svg", "g")), Gr.setAttribute("transform", e), !(e = Gr.transform.baseVal.consolidate())) ? ys : (e = e.matrix, c3(e.a, e.b, e.c, e.d, e.e, e.f)); -} -function u3(e, t, n, o) { - function r(u) { - return u.length ? u.pop() + " " : ""; - } - function i(u, c, d, h, f, m) { - if (u !== d || c !== h) { - var b = f.push("translate(", null, t, null, n); - m.push({ i: b - 4, x: Tn(u, d) }, { i: b - 2, x: Tn(c, h) }); - } else (d || h) && f.push("translate(" + d + t + h + n); - } - function a(u, c, d, h) { - u !== c ? (u - c > 180 ? c += 360 : c - u > 180 && (u += 360), h.push({ i: d.push(r(d) + "rotate(", null, o) - 2, x: Tn(u, c) })) : c && d.push(r(d) + "rotate(" + c + o); - } - function l(u, c, d, h) { - u !== c ? h.push({ i: d.push(r(d) + "skewX(", null, o) - 2, x: Tn(u, c) }) : c && d.push(r(d) + "skewX(" + c + o); - } - function s(u, c, d, h, f, m) { - if (u !== d || c !== h) { - var b = f.push(r(f) + "scale(", null, ",", null, ")"); - m.push({ i: b - 4, x: Tn(u, d) }, { i: b - 2, x: Tn(c, h) }); - } else (d !== 1 || h !== 1) && f.push(r(f) + "scale(" + d + "," + h + ")"); - } - return function(u, c) { - var d = [], h = []; - return u = e(u), c = e(c), i(u.translateX, u.translateY, c.translateX, c.translateY, d, h), a(u.rotate, c.rotate, d, h), l(u.skewX, c.skewX, d, h), s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, d, h), u = c = null, function(f) { - for (var m = -1, b = h.length, y; ++m < b; ) d[(y = h[m]).i] = y.x(f); - return d.join(""); +var P7 = Qi( + { + position: "relative", + boxSizing: "border-box", + width: "100%", + color: "transparent", + overflow: "hidden", + whiteSpace: "pre-wrap", + wordWrap: "break-word", + border: "1px solid transparent", + textAlign: "start", + "&singleLine": { + whiteSpace: "pre", + wordWrap: null, + }, + substring: { + visibility: "hidden", + }, + }, + function (e) { + return { + "&singleLine": e.singleLine, + }; + }, + ), + B7 = P7(Od); +function Nd(e) { + var t = e.id, + n = e.focused, + o = e.ignoreAccents, + r = e.index, + i = e.onClick, + a = e.onMouseEnter, + l = e.query, + s = e.renderSuggestion, + u = e.suggestion, + c = e.style; + e.className, e.classNames; + var d = { + onClick: i, + onMouseEnter: a, + }, + h = function () { + var y = f(), + g = m(y); + return s ? s(u, l, g, r, n) : g; + }, + f = function () { + if (typeof u == "string") return u; + var y = u.id, + g = u.display; + return y === void 0 || !g ? y : g; + }, + m = function (y) { + var g = Td(y, l, o); + return g === -1 + ? /* @__PURE__ */ $.createElement("span", c("display"), y) + : /* @__PURE__ */ $.createElement( + "span", + c("display"), + y.substring(0, g), + /* @__PURE__ */ $.createElement( + "b", + c("highlight"), + y.substring(g, g + l.length), + ), + y.substring(g + l.length), + ); }; - }; -} -var Xh = u3(Gh, "px, ", "px)", "deg)"), Qh = u3(Kh, ", ", ")", ")"), Jh = 1e-12; -function cu(e) { - return ((e = Math.exp(e)) + 1 / e) / 2; -} -function eg(e) { - return ((e = Math.exp(e)) - 1 / e) / 2; -} -function tg(e) { - return ((e = Math.exp(2 * e)) - 1) / (e + 1); + return /* @__PURE__ */ $.createElement( + "li", + It( + { + id: t, + role: "option", + "aria-selected": n, + }, + d, + c, + ), + h(), + ); } -const ng = function e(t, n, o) { - function r(i, a) { - var l = i[0], s = i[1], u = i[2], c = a[0], d = a[1], h = a[2], f = c - l, m = d - s, b = f * f + m * m, y, g; - if (b < Jh) - g = Math.log(h / u) / t, y = function(_) { - return [ - l + _ * f, - s + _ * m, - u * Math.exp(t * _ * g) - ]; - }; - else { - var x = Math.sqrt(b), C = (h * h - u * u + o * b) / (2 * u * n * x), E = (h * h - u * u - o * b) / (2 * h * n * x), w = Math.log(Math.sqrt(C * C + 1) - C), S = Math.log(Math.sqrt(E * E + 1) - E); - g = (S - w) / t, y = function(_) { - var A = _ * g, R = cu(w), L = u / (n * x) * (R * tg(t * A + w) - eg(w)); - return [ - l + L * f, - s + L * m, - u * R / cu(t * A + w) - ]; - }; - } - return y.duration = g * 1e3 * t / Math.SQRT2, y; - } - return r.rho = function(i) { - var a = Math.max(1e-3, +i), l = a * a, s = l * l; - return e(a, l, s); - }, r; -}(Math.SQRT2, 2, 4); -var Ao = 0, Ko = 0, Vo = 0, d3 = 1e3, Oi, Xo, Ni = 0, Qn = 0, ta = 0, gr = typeof performance == "object" && performance.now ? performance : Date, f3 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { - setTimeout(e, 17); +Nd.propTypes = { + id: q.string.isRequired, + query: q.string.isRequired, + index: q.number.isRequired, + ignoreAccents: q.bool, + suggestion: q.oneOfType([ + q.string, + q.shape({ + id: q.oneOfType([q.string, q.number]).isRequired, + display: q.string, + }), + ]).isRequired, + renderSuggestion: q.func, + focused: q.bool, }; -function xc() { - return Qn || (f3(og), Qn = gr.now() + ta); -} -function og() { - Qn = 0; +var V7 = Qi( + { + cursor: "pointer", + }, + function (e) { + return { + "&focused": e.focused, + }; + }, + ), + $7 = V7(Nd); +function W7(e) { + var t = e.style, + n = e.className, + o = e.classNames, + r = cc(Z7, { + style: t, + className: n, + classNames: o, + }), + i = r("spinner"); + return /* @__PURE__ */ $.createElement( + "div", + r, + /* @__PURE__ */ $.createElement( + "div", + i, + /* @__PURE__ */ $.createElement("div", i(["element", "element1"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element2"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element3"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element4"])), + /* @__PURE__ */ $.createElement("div", i(["element", "element5"])), + ), + ); } -function Di() { - this._call = this._time = this._next = null; +var Z7 = {}; +function Dd(e) { + var t = e.id, + n = e.suggestions, + o = n === void 0 ? {} : n, + r = e.a11ySuggestionsListLabel, + i = e.focusIndex, + a = e.position, + l = e.left, + s = e.right, + u = e.top, + c = e.scrollFocusedIntoView, + d = e.isLoading, + h = e.isOpened, + f = e.onSelect, + m = + f === void 0 + ? function () { + return null; + } + : f, + b = e.ignoreAccents, + y = e.containerRef, + g = e.children, + x = e.style, + C = e.customSuggestionsContainer, + E = e.onMouseDown, + w = e.onMouseEnter, + S = ue(void 0), + _ = ki(S, 2), + A = _[0], + R = _[1]; + ce( + function () { + if (!(!A || A.offsetHeight >= A.scrollHeight || !c)) { + var T = A.scrollTop, + F = A.children[i].getBoundingClientRect(), + I = F.top, + D = F.bottom, + v = A.getBoundingClientRect(), + z = v.top; + (I = I - z + T), + (D = D - z + T), + I < T + ? (A.scrollTop = I) + : D > A.offsetHeight && (A.scrollTop = D - A.offsetHeight); + } + }, + [i, c, A], + ); + var L = function () { + var F = /* @__PURE__ */ $.createElement( + "ul", + It( + { + ref: R, + id: t, + role: "listbox", + "aria-label": r, + }, + x("list"), + ), + Object.values(o).reduce(function (I, D) { + var v = D.results, + z = D.queryInfo; + return [].concat( + Ei(I), + Ei( + v.map(function (B, M) { + return j(B, z, I.length + M); + }), + ), + ); + }, []), + ); + return C ? C(F) : F; + }, + j = function (F, I, D) { + var v = D === i, + z = I.childIndex, + B = I.query, + M = xo.toArray(g)[z].props.renderSuggestion; + return /* @__PURE__ */ $.createElement($7, { + style: x("item"), + key: "".concat(z, "-").concat(N(F)), + id: Md(t, D), + query: B, + index: D, + ignoreAccents: b, + renderSuggestion: M, + suggestion: F, + focused: v, + onClick: function () { + return k(F, I); + }, + onMouseEnter: function () { + return V(D); + }, + }); + }, + P = function () { + if (d) + return /* @__PURE__ */ $.createElement(W7, { + style: x("loadingIndicator"), + }); + }, + V = function (F, I) { + w && w(F); + }, + k = function (F, I) { + m(F, I); + }, + N = function (F) { + return typeof F == "string" ? F : F.id; + }; + return h + ? /* @__PURE__ */ $.createElement( + "div", + It( + {}, + m7( + { + position: a || "absolute", + left: l, + right: s, + top: u, + }, + x, + ), + { + onMouseDown: E, + ref: y, + }, + ), + L(), + P(), + ) + : null; } -Di.prototype = p3.prototype = { - constructor: Di, - restart: function(e, t, n) { - if (typeof e != "function") throw new TypeError("callback is not a function"); - n = (n == null ? xc() : +n) + (t == null ? 0 : +t), !this._next && Xo !== this && (Xo ? Xo._next = this : Oi = this, Xo = this), this._call = e, this._time = n, Cs(); - }, - stop: function() { - this._call && (this._call = null, this._time = 1 / 0, Cs()); - } +Dd.propTypes = { + id: q.string.isRequired, + suggestions: q.object.isRequired, + a11ySuggestionsListLabel: q.string, + focusIndex: q.number, + position: q.string, + left: q.number, + right: q.number, + top: q.number, + scrollFocusedIntoView: q.bool, + isLoading: q.bool, + isOpened: q.bool.isRequired, + onSelect: q.func, + ignoreAccents: q.bool, + customSuggestionsContainer: q.func, + containerRef: q.oneOfType([ + q.func, + q.shape({ + current: typeof Element > "u" ? q.any : q.instanceOf(Element), + }), + ]), }; -function p3(e, t, n) { - var o = new Di(); - return o.restart(e, t, n), o; -} -function rg() { - xc(), ++Ao; - for (var e = Oi, t; e; ) - (t = Qn - e._time) >= 0 && e._call.call(void 0, t), e = e._next; - --Ao; -} -function uu() { - Qn = (Ni = gr.now()) + ta, Ao = Ko = 0; - try { - rg(); - } finally { - Ao = 0, ag(), Qn = 0; +var U7 = Qi({ + zIndex: 1, + backgroundColor: "white", + marginTop: 14, + minWidth: 100, + list: { + margin: 0, + padding: 0, + listStyleType: "none", + }, + }), + q7 = U7(Dd); +function $2(e, t) { + var n = Object.keys(e); + if (Object.getOwnPropertySymbols) { + var o = Object.getOwnPropertySymbols(e); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } + return n; } -function ig() { - var e = gr.now(), t = e - Ni; - t > d3 && (ta -= t, Ni = e); +function Zt(e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t] != null ? arguments[t] : {}; + t % 2 + ? $2(Object(n), !0).forEach(function (o) { + be(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : $2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); + } + return e; } -function ag() { - for (var e, t = Oi, n, o = 1 / 0; t; ) - t._call ? (o > t._time && (o = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : Oi = n); - Xo = e, Cs(o); +function Y7(e) { + var t = G7(); + return function () { + var o = Si(e), + r; + if (t) { + var i = Si(this).constructor; + r = Reflect.construct(o, arguments, i); + } else r = o.apply(this, arguments); + return U8(this, r); + }; } -function Cs(e) { - if (!Ao) { - Ko && (Ko = clearTimeout(Ko)); - var t = e - Qn; - t > 24 ? (e < 1 / 0 && (Ko = setTimeout(uu, e - gr.now() - ta)), Vo && (Vo = clearInterval(Vo))) : (Vo || (Ni = gr.now(), Vo = setInterval(ig, d3)), Ao = 1, f3(uu)); +function G7() { + if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) + return !1; + if (typeof Proxy == "function") return !0; + try { + return ( + Boolean.prototype.valueOf.call( + Reflect.construct(Boolean, [], function () {}), + ), + !0 + ); + } catch { + return !1; } } -function du(e, t, n) { - var o = new Di(); - return t = t == null ? 0 : +t, o.restart((r) => { - o.stop(), e(r + t); - }, t, n), o; -} -var lg = Ji("start", "end", "cancel", "interrupt"), sg = [], h3 = 0, fu = 1, vs = 2, fi = 3, pu = 4, xs = 5, pi = 6; -function na(e, t, n, o, r, i) { - var a = e.__transition; - if (!a) e.__transition = {}; - else if (n in a) return; - cg(e, n, { - name: t, - index: o, - // For context during callback. - group: r, - // For context during callback. - on: lg, - tween: sg, - time: i.time, - delay: i.delay, - duration: i.duration, - ease: i.ease, - timer: null, - state: h3 - }); -} -function wc(e, t) { - var n = Xt(e, t); - if (n.state > h3) throw new Error("too late; already scheduled"); - return n; -} -function dn(e, t) { - var n = Xt(e, t); - if (n.state > fi) throw new Error("too late; already running"); - return n; -} -function Xt(e, t) { - var n = e.__transition; - if (!n || !(n = n[t])) throw new Error("transition not found"); - return n; -} -function cg(e, t, n) { - var o = e.__transition, r; - o[t] = n, n.timer = p3(i, 0, n.time); - function i(u) { - n.state = fu, n.timer.restart(a, n.delay, n.time), n.delay <= u && a(u - n.delay); - } - function a(u) { - var c, d, h, f; - if (n.state !== fu) return s(); - for (c in o) - if (f = o[c], f.name === n.name) { - if (f.state === fi) return du(a); - f.state === pu ? (f.state = pi, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete o[c]) : +c < t && (f.state = pi, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete o[c]); - } - if (du(function() { - n.state === fi && (n.state = pu, n.timer.restart(l, n.delay, n.time), l(u)); - }), n.state = vs, n.on.call("start", e, e.__data__, n.index, n.group), n.state === vs) { - for (n.state = fi, r = new Array(h = n.tween.length), c = 0, d = -1; c < h; ++c) - (f = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && (r[++d] = f); - r.length = d + 1; - } - } - function l(u) { - for (var c = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(s), n.state = xs, 1), d = -1, h = r.length; ++d < h; ) - r[d].call(e, c); - n.state === xs && (n.on.call("end", e, e.__data__, n.index, n.group), s()); - } - function s() { - n.state = pi, n.timer.stop(), delete o[t]; - for (var u in o) return; - delete e.__transition; - } -} -function hi(e, t) { - var n = e.__transition, o, r, i = !0, a; - if (n) { - t = t == null ? null : t + ""; - for (a in n) { - if ((o = n[a]).name !== t) { - i = !1; - continue; - } - r = o.state > vs && o.state < xs, o.state = pi, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[a]; - } - i && delete e.__transition; - } -} -function ug(e) { - return this.each(function() { - hi(this, e); - }); -} -function dg(e, t) { - var n, o; - return function() { - var r = dn(this, e), i = r.tween; - if (i !== n) { - o = n = i; - for (var a = 0, l = o.length; a < l; ++a) - if (o[a].name === t) { - o = o.slice(), o.splice(a, 1); - break; - } - } - r.tween = o; - }; -} -function fg(e, t, n) { - var o, r; - if (typeof n != "function") throw new Error(); - return function() { - var i = dn(this, e), a = i.tween; - if (a !== o) { - r = (o = a).slice(); - for (var l = { name: t, value: n }, s = 0, u = r.length; s < u; ++s) - if (r[s].name === t) { - r[s] = l; - break; +var K7 = function (t) { + var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; + if (t instanceof RegExp) return t; + var o = n.allowSpaceInQuery, + r = ui(t); + return new RegExp( + "(?:^|\\s)(" + .concat(r, "([^") + .concat(o ? "" : "\\s") + .concat(r, "]*))$"), + ); + }, + X7 = function (t, n) { + return t instanceof Array + ? function (o, r) { + for (var i = [], a = 0, l = t.length; a < l; ++a) { + var s = t[a].display || t[a].id; + Td(s, o, n) >= 0 && i.push(t[a]); + } + return i; } - s === u && r.push(l); + : t; + }, + ro = { + TAB: 9, + RETURN: 13, + ESC: 27, + UP: 38, + DOWN: 40, + }, + Wr = !1, + Ld = { + /** + * If set to `true` a regular text input element will be rendered + * instead of a textarea + */ + singleLine: q.bool, + allowSpaceInQuery: q.bool, + allowSuggestionsAboveCursor: q.bool, + forceSuggestionsAboveCursor: q.bool, + ignoreAccents: q.bool, + a11ySuggestionsListLabel: q.string, + value: q.string, + onKeyDown: q.func, + customSuggestionsContainer: q.func, + onSelect: q.func, + onBlur: q.func, + onChange: q.func, + suggestionsPortalHost: + typeof Element > "u" ? q.any : q.PropTypes.instanceOf(Element), + inputRef: q.oneOfType([ + q.func, + q.shape({ + current: typeof Element > "u" ? q.any : q.instanceOf(Element), + }), + ]), + children: q.oneOfType([q.element, q.arrayOf(q.element)]).isRequired, + }, + dc = /* @__PURE__ */ (function (e) { + Z8(n, e); + var t = Y7(n); + function n(o) { + var r; + return ( + V8(this, n), + (r = t.call(this, o)), + be(ve(r), "setContainerElement", function (i) { + r.containerElement = i; + }), + be(ve(r), "getInputProps", function () { + var i = r.props, + a = i.readOnly, + l = i.disabled, + s = i.style, + u = I7( + r.props, + ["style", "classNames", "className"], + // substyle props + j7(Ld), + ); + return Zt( + Zt( + Zt(Zt({}, u), s("input")), + {}, + { + value: r.getPlainText(), + onScroll: r.updateHighlighterScroll, + }, + !a && + !l && { + onChange: r.handleChange, + onSelect: r.handleSelect, + onKeyDown: r.handleKeyDown, + onBlur: r.handleBlur, + onCompositionStart: r.handleCompositionStart, + onCompositionEnd: r.handleCompositionEnd, + }, + ), + r.isOpened() && { + role: "combobox", + "aria-controls": r.uuidSuggestionsOverlay, + "aria-expanded": !0, + "aria-autocomplete": "list", + "aria-haspopup": "listbox", + "aria-activedescendant": Md( + r.uuidSuggestionsOverlay, + r.state.focusIndex, + ), + }, + ); + }), + be(ve(r), "renderControl", function () { + var i = r.props, + a = i.singleLine, + l = i.style, + s = r.getInputProps(); + return /* @__PURE__ */ $.createElement( + "div", + l("control"), + r.renderHighlighter(), + a ? r.renderInput(s) : r.renderTextarea(s), + ); + }), + be(ve(r), "renderInput", function (i) { + return /* @__PURE__ */ $.createElement( + "input", + It( + { + type: "text", + ref: r.setInputRef, + }, + i, + ), + ); + }), + be(ve(r), "renderTextarea", function (i) { + return /* @__PURE__ */ $.createElement( + "textarea", + It( + { + ref: r.setInputRef, + }, + i, + ), + ); + }), + be(ve(r), "setInputRef", function (i) { + r.inputElement = i; + var a = r.props.inputRef; + typeof a == "function" ? a(i) : a && (a.current = i); + }), + be(ve(r), "setSuggestionsElement", function (i) { + r.suggestionsElement = i; + }), + be(ve(r), "renderSuggestionsOverlay", function () { + if (!ds(r.state.selectionStart)) return null; + var i = r.state.suggestionsPosition, + a = i.position, + l = i.left, + s = i.top, + u = i.right, + c = /* @__PURE__ */ $.createElement( + q7, + { + id: r.uuidSuggestionsOverlay, + style: r.props.style("suggestions"), + position: a, + left: l, + top: s, + right: u, + focusIndex: r.state.focusIndex, + scrollFocusedIntoView: r.state.scrollFocusedIntoView, + containerRef: r.setSuggestionsElement, + suggestions: r.state.suggestions, + customSuggestionsContainer: r.props.customSuggestionsContainer, + onSelect: r.addMention, + onMouseDown: r.handleSuggestionsMouseDown, + onMouseEnter: r.handleSuggestionsMouseEnter, + isLoading: r.isLoading(), + isOpened: r.isOpened(), + ignoreAccents: r.props.ignoreAccents, + a11ySuggestionsListLabel: r.props.a11ySuggestionsListLabel, + }, + r.props.children, + ); + return r.props.suggestionsPortalHost + ? /* @__PURE__ */ q5.createPortal(c, r.props.suggestionsPortalHost) + : c; + }), + be(ve(r), "renderHighlighter", function () { + var i = r.state, + a = i.selectionStart, + l = i.selectionEnd, + s = r.props, + u = s.singleLine, + c = s.children, + d = s.value, + h = s.style; + return /* @__PURE__ */ $.createElement( + B7, + { + containerRef: r.setHighlighterElement, + style: h("highlighter"), + value: d, + singleLine: u, + selectionStart: a, + selectionEnd: l, + onCaretPositionChange: r.handleCaretPositionChange, + }, + c, + ); + }), + be(ve(r), "setHighlighterElement", function (i) { + r.highlighterElement = i; + }), + be(ve(r), "handleCaretPositionChange", function (i) { + r.setState({ + caretPosition: i, + }); + }), + be(ve(r), "getPlainText", function () { + return Pn(r.props.value || "", Mn(r.props.children)); + }), + be(ve(r), "executeOnChange", function (i) { + for ( + var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), s = 1; + s < a; + s++ + ) + l[s - 1] = arguments[s]; + if (r.props.onChange) { + var u; + return (u = r.props).onChange.apply(u, [i].concat(l)); + } + if (r.props.valueLink) { + var c; + return (c = r.props.valueLink).requestChange.apply( + c, + [i.target.value].concat(l), + ); + } + }), + be(ve(r), "handleChange", function (i) { + if (((Wr = !1), R7())) { + var a = + (document.activeElement && + document.activeElement.contentDocument) || + document; + if (a.activeElement !== i.target) return; + } + var l = r.props.value || "", + s = Mn(r.props.children), + u = i.target.value, + c = r.state.selectionStart; + c == null && (c = i.target.selectionStart); + var d = r.state.selectionEnd; + d == null && (d = i.target.selectionEnd); + var h = M7( + l, + u, + { + selectionStartBefore: c, + selectionEndBefore: d, + selectionEndAfter: i.target.selectionEnd, + }, + s, + ); + u = Pn(h, s); + var f = i.target.selectionStart, + m = i.target.selectionEnd, + b = !1, + y = H2(l, s, f); + y !== void 0 && + r.state.selectionEnd > y && + ((f = y + (i.nativeEvent.data ? i.nativeEvent.data.length : 0)), + (m = f), + (b = !0)), + r.setState({ + selectionStart: f, + selectionEnd: m, + setSelectionAfterMentionChange: b, + }); + var g = Go(h, s); + i.nativeEvent.isComposing && + f === m && + r.updateMentionsQueries(r.inputElement.value, f); + var x = { + target: { + value: h, + }, + }; + r.executeOnChange(x, h, u, g); + }), + be(ve(r), "handleSelect", function (i) { + if ( + (r.setState({ + selectionStart: i.target.selectionStart, + selectionEnd: i.target.selectionEnd, + }), + !Wr) + ) { + var a = r.inputElement; + i.target.selectionStart === i.target.selectionEnd + ? r.updateMentionsQueries(a.value, i.target.selectionStart) + : r.clearSuggestions(), + r.updateHighlighterScroll(), + r.props.onSelect(i); + } + }), + be(ve(r), "handleKeyDown", function (i) { + var a = $r(r.state.suggestions); + if (a === 0 || !r.suggestionsElement) { + r.props.onKeyDown(i); + return; + } + switch ( + (Object.values(ro).indexOf(i.keyCode) >= 0 && + (i.preventDefault(), i.stopPropagation()), + i.keyCode) + ) { + case ro.ESC: { + r.clearSuggestions(); + return; + } + case ro.DOWN: { + r.shiftFocus(1); + return; + } + case ro.UP: { + r.shiftFocus(-1); + return; + } + case ro.RETURN: { + r.selectFocused(); + return; + } + case ro.TAB: { + r.selectFocused(); + return; + } + default: + return; + } + }), + be(ve(r), "shiftFocus", function (i) { + var a = $r(r.state.suggestions); + r.setState({ + focusIndex: (a + r.state.focusIndex + i) % a, + scrollFocusedIntoView: !0, + }); + }), + be(ve(r), "selectFocused", function () { + var i = r.state, + a = i.suggestions, + l = i.focusIndex, + s = Object.values(a).reduce(function (d, h) { + var f = h.results, + m = h.queryInfo; + return [].concat( + Ei(d), + Ei( + f.map(function (b) { + return { + result: b, + queryInfo: m, + }; + }), + ), + ); + }, [])[l], + u = s.result, + c = s.queryInfo; + r.addMention(u, c), + r.setState({ + focusIndex: 0, + }); + }), + be(ve(r), "handleBlur", function (i) { + var a = r._suggestionsMouseDown; + (r._suggestionsMouseDown = !1), + a || + r.setState({ + selectionStart: null, + selectionEnd: null, + }), + window.setTimeout(function () { + r.updateHighlighterScroll(); + }, 1), + r.props.onBlur(i, a); + }), + be(ve(r), "handleSuggestionsMouseDown", function (i) { + r._suggestionsMouseDown = !0; + }), + be(ve(r), "handleSuggestionsMouseEnter", function (i) { + r.setState({ + focusIndex: i, + scrollFocusedIntoView: !1, + }); + }), + be(ve(r), "updateSuggestionsPosition", function () { + var i = r.state.caretPosition, + a = r.props, + l = a.suggestionsPortalHost, + s = a.allowSuggestionsAboveCursor, + u = a.forceSuggestionsAboveCursor; + if (!(!i || !r.suggestionsElement)) { + var c = r.suggestionsElement, + d = r.highlighterElement, + h = d.getBoundingClientRect(), + f = El(d, "font-size"), + m = { + left: h.left + i.left, + top: h.top + i.top + f, + }, + b = Math.max( + document.documentElement.clientHeight, + window.innerHeight || 0, + ); + if (c) { + var y = {}; + if (l) { + y.position = "fixed"; + var g = m.left, + x = m.top; + (g -= El(c, "margin-left")), + (x -= El(c, "margin-top")), + (g -= d.scrollLeft), + (x -= d.scrollTop); + var C = Math.max( + document.documentElement.clientWidth, + window.innerWidth || 0, + ); + g + c.offsetWidth > C + ? (y.left = Math.max(0, C - c.offsetWidth)) + : (y.left = g), + (s && x + c.offsetHeight > b && c.offsetHeight < x - f) || u + ? (y.top = Math.max(0, x - c.offsetHeight - f)) + : (y.top = x); + } else { + var E = i.left - d.scrollLeft, + w = i.top - d.scrollTop; + E + c.offsetWidth > r.containerElement.offsetWidth + ? (y.right = 0) + : (y.left = E), + (s && + m.top - d.scrollTop + c.offsetHeight > b && + c.offsetHeight < h.top - f - d.scrollTop) || + u + ? (y.top = w - c.offsetHeight - f) + : (y.top = w); + } + (y.left === r.state.suggestionsPosition.left && + y.top === r.state.suggestionsPosition.top && + y.position === r.state.suggestionsPosition.position) || + r.setState({ + suggestionsPosition: y, + }); + } + } + }), + be(ve(r), "updateHighlighterScroll", function () { + var i = r.inputElement, + a = r.highlighterElement; + !i || + !a || + ((a.scrollLeft = i.scrollLeft), + (a.scrollTop = i.scrollTop), + (a.height = i.height)); + }), + be(ve(r), "handleCompositionStart", function () { + Wr = !0; + }), + be(ve(r), "handleCompositionEnd", function () { + Wr = !1; + }), + be(ve(r), "setSelection", function (i, a) { + if (!(i === null || a === null)) { + var l = r.inputElement; + if (l.setSelectionRange) l.setSelectionRange(i, a); + else if (l.createTextRange) { + var s = l.createTextRange(); + s.collapse(!0), + s.moveEnd("character", a), + s.moveStart("character", i), + s.select(); + } + } + }), + be(ve(r), "updateMentionsQueries", function (i, a) { + r._queryId++, + (r.suggestions = {}), + r.setState({ + suggestions: {}, + }); + var l = r.props.value || "", + s = r.props.children, + u = Mn(s), + c = mt(l, u, a, "NULL"); + if (c !== null) { + var d = T7(l.substring(0, c), u), + h = i.substring(d, a); + $.Children.forEach(s, function (f, m) { + if (f) { + var b = K7(f.props.trigger, r.props), + y = h.match(b); + if (y) { + var g = d + h.indexOf(y[1], y.index); + r.queryData(y[2], m, g, g + y[1].length, i); + } + } + }); + } + }), + be(ve(r), "clearSuggestions", function () { + r._queryId++, + (r.suggestions = {}), + r.setState({ + suggestions: {}, + focusIndex: 0, + }); + }), + be(ve(r), "queryData", function (i, a, l, s, u) { + var c = r.props, + d = c.children, + h = c.ignoreAccents, + f = xo.toArray(d)[a], + m = X7(f.props.data, h), + b = m(i, r.updateSuggestions.bind(null, r._queryId, a, i, l, s, u)); + b instanceof Array && + r.updateSuggestions(r._queryId, a, i, l, s, u, b); + }), + be(ve(r), "updateSuggestions", function (i, a, l, s, u, c, d) { + if (i === r._queryId) { + r.suggestions = Zt( + Zt({}, r.suggestions), + {}, + be({}, a, { + queryInfo: { + childIndex: a, + query: l, + querySequenceStart: s, + querySequenceEnd: u, + plainTextValue: c, + }, + results: d, + }), + ); + var h = r.state.focusIndex, + f = $r(r.suggestions); + r.setState({ + suggestions: r.suggestions, + focusIndex: h >= f ? Math.max(f - 1, 0) : h, + }); + } + }), + be(ve(r), "addMention", function (i, a) { + var l = i.id, + s = i.display, + u = a.childIndex, + c = a.querySequenceStart, + d = a.querySequenceEnd, + h = a.plainTextValue, + f = r.props.value || "", + m = Mn(r.props.children), + b = xo.toArray(r.props.children)[u], + y = b.props, + g = y.markup, + x = y.displayTransform, + C = y.appendSpaceOnAdd, + E = y.onAdd, + w = mt(f, m, c, "START"), + S = w + d - c, + _ = D7(g, l, s); + C && (_ += " "); + var A = er(f, w, S, _); + r.inputElement.focus(); + var R = x(l, s); + C && (R += " "); + var L = c + R.length; + r.setState({ + selectionStart: L, + selectionEnd: L, + setSelectionAfterMentionChange: !0, + }); + var j = { + target: { + value: A, + }, + }, + P = Go(A, m), + V = er(h, c, d, R); + r.executeOnChange(j, A, V, P), + E && E(l, s, w, S), + r.clearSuggestions(); + }), + be(ve(r), "isLoading", function () { + var i = !1; + return ( + $.Children.forEach(r.props.children, function (a) { + i = i || (a && a.props.isLoading); + }), + i + ); + }), + be(ve(r), "isOpened", function () { + return ( + ds(r.state.selectionStart) && + ($r(r.state.suggestions) !== 0 || r.isLoading()) + ); + }), + be(ve(r), "_queryId", 0), + (r.suggestions = {}), + (r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2)), + (r.handleCopy = r.handleCopy.bind(ve(r))), + (r.handleCut = r.handleCut.bind(ve(r))), + (r.handlePaste = r.handlePaste.bind(ve(r))), + (r.state = { + focusIndex: 0, + selectionStart: null, + selectionEnd: null, + suggestions: {}, + caretPosition: null, + suggestionsPosition: {}, + setSelectionAfterHandlePaste: !1, + }), + r + ); } - i.tween = r; - }; -} -function pg(e, t) { - var n = this._id; - if (e += "", arguments.length < 2) { - for (var o = Xt(this.node(), n).tween, r = 0, i = o.length, a; r < i; ++r) - if ((a = o[r]).name === e) - return a.value; - return null; - } - return this.each((t == null ? dg : fg)(n, e, t)); -} -function Ec(e, t, n) { - var o = e._id; - return e.each(function() { - var r = dn(this, o); - (r.value || (r.value = {}))[t] = n.apply(this, arguments); - }), function(r) { - return Xt(r, o).value[t]; - }; -} -function g3(e, t) { - var n; - return (typeof t == "number" ? Tn : t instanceof hr ? lu : (n = hr(t)) ? (t = n, lu) : Yh)(e, t); -} -function hg(e) { - return function() { - this.removeAttribute(e); - }; -} -function gg(e) { - return function() { - this.removeAttributeNS(e.space, e.local); - }; -} -function mg(e, t, n) { - var o, r = n + "", i; - return function() { - var a = this.getAttribute(e); - return a === r ? null : a === o ? i : i = t(o = a, n); - }; -} -function bg(e, t, n) { - var o, r = n + "", i; - return function() { - var a = this.getAttributeNS(e.space, e.local); - return a === r ? null : a === o ? i : i = t(o = a, n); - }; -} -function yg(e, t, n) { - var o, r, i; - return function() { - var a, l = n(this), s; - return l == null ? void this.removeAttribute(e) : (a = this.getAttribute(e), s = l + "", a === s ? null : a === o && s === r ? i : (r = s, i = t(o = a, l))); - }; -} -function Cg(e, t, n) { - var o, r, i; - return function() { - var a, l = n(this), s; - return l == null ? void this.removeAttributeNS(e.space, e.local) : (a = this.getAttributeNS(e.space, e.local), s = l + "", a === s ? null : a === o && s === r ? i : (r = s, i = t(o = a, l))); - }; -} -function vg(e, t) { - var n = ea(e), o = n === "transform" ? Qh : g3; - return this.attrTween(e, typeof t == "function" ? (n.local ? Cg : yg)(n, o, Ec(this, "attr." + e, t)) : t == null ? (n.local ? gg : hg)(n) : (n.local ? bg : mg)(n, o, t)); -} -function xg(e, t) { - return function(n) { - this.setAttribute(e, t.call(this, n)); - }; -} -function wg(e, t) { - return function(n) { - this.setAttributeNS(e.space, e.local, t.call(this, n)); - }; -} -function Eg(e, t) { - var n, o; - function r() { - var i = t.apply(this, arguments); - return i !== o && (n = (o = i) && wg(e, i)), n; - } - return r._value = t, r; -} -function Sg(e, t) { - var n, o; - function r() { - var i = t.apply(this, arguments); - return i !== o && (n = (o = i) && xg(e, i)), n; - } - return r._value = t, r; -} -function kg(e, t) { - var n = "attr." + e; - if (arguments.length < 2) return (n = this.tween(n)) && n._value; - if (t == null) return this.tween(n, null); - if (typeof t != "function") throw new Error(); - var o = ea(e); - return this.tween(n, (o.local ? Eg : Sg)(o, t)); -} -function _g(e, t) { - return function() { - wc(this, e).delay = +t.apply(this, arguments); - }; -} -function Ag(e, t) { - return t = +t, function() { - wc(this, e).delay = t; - }; -} -function Mg(e) { - var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? _g : Ag)(t, e)) : Xt(this.node(), t).delay; -} -function Tg(e, t) { - return function() { - dn(this, e).duration = +t.apply(this, arguments); - }; -} -function Og(e, t) { - return t = +t, function() { - dn(this, e).duration = t; - }; -} -function Ng(e) { - var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Tg : Og)(t, e)) : Xt(this.node(), t).duration; -} -function Dg(e, t) { - if (typeof t != "function") throw new Error(); - return function() { - dn(this, e).ease = t; - }; -} -function Lg(e) { - var t = this._id; - return arguments.length ? this.each(Dg(t, e)) : Xt(this.node(), t).ease; -} -function Fg(e, t) { - return function() { - var n = t.apply(this, arguments); - if (typeof n != "function") throw new Error(); - dn(this, e).ease = n; - }; -} -function Rg(e) { - if (typeof e != "function") throw new Error(); - return this.each(Fg(this._id, e)); -} -function jg(e) { - typeof e != "function" && (e = qd(e)); - for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var i = t[r], a = i.length, l = o[r] = [], s, u = 0; u < a; ++u) - (s = i[u]) && e.call(s, s.__data__, u, i) && l.push(s); - return new vn(o, this._parents, this._name, this._id); -} -function Ig(e) { - if (e._id !== this._id) throw new Error(); - for (var t = this._groups, n = e._groups, o = t.length, r = n.length, i = Math.min(o, r), a = new Array(o), l = 0; l < i; ++l) - for (var s = t[l], u = n[l], c = s.length, d = a[l] = new Array(c), h, f = 0; f < c; ++f) - (h = s[f] || u[f]) && (d[f] = h); - for (; l < o; ++l) - a[l] = t[l]; - return new vn(a, this._parents, this._name, this._id); -} -function zg(e) { - return (e + "").trim().split(/^|\s+/).every(function(t) { - var n = t.indexOf("."); - return n >= 0 && (t = t.slice(0, n)), !t || t === "start"; - }); -} -function Hg(e, t, n) { - var o, r, i = zg(t) ? wc : dn; - return function() { - var a = i(this, e), l = a.on; - l !== o && (r = (o = l).copy()).on(t, n), a.on = r; + return ( + W8(n, [ + { + key: "componentDidMount", + value: function () { + document.addEventListener("copy", this.handleCopy), + document.addEventListener("cut", this.handleCut), + document.addEventListener("paste", this.handlePaste), + this.updateSuggestionsPosition(); + }, + }, + { + key: "componentDidUpdate", + value: function (r, i) { + i.suggestionsPosition === this.state.suggestionsPosition && + this.updateSuggestionsPosition(), + this.state.setSelectionAfterMentionChange && + (this.setState({ + setSelectionAfterMentionChange: !1, + }), + this.setSelection( + this.state.selectionStart, + this.state.selectionEnd, + )), + this.state.setSelectionAfterHandlePaste && + (this.setState({ + setSelectionAfterHandlePaste: !1, + }), + this.setSelection( + this.state.selectionStart, + this.state.selectionEnd, + )); + }, + }, + { + key: "componentWillUnmount", + value: function () { + document.removeEventListener("copy", this.handleCopy), + document.removeEventListener("cut", this.handleCut), + document.removeEventListener("paste", this.handlePaste); + }, + }, + { + key: "render", + value: function () { + return /* @__PURE__ */ $.createElement( + "div", + It( + { + ref: this.setContainerElement, + }, + this.props.style, + ), + this.renderControl(), + this.renderSuggestionsOverlay(), + ); + }, + }, + { + key: "handlePaste", + value: function (r) { + if ( + r.target === this.inputElement && + this.supportsClipboardActions(r) + ) { + r.preventDefault(); + var i = this.state, + a = i.selectionStart, + l = i.selectionEnd, + s = this.props, + u = s.value, + c = s.children, + d = Mn(c), + h = mt(u, d, a, "START"), + f = mt(u, d, l, "END"), + m = r.clipboardData.getData("text/react-mentions"), + b = r.clipboardData.getData("text/plain"), + y = er(u, h, f, m || b).replace(/\r/g, ""), + g = Pn(y, d), + x = { + target: Zt( + Zt({}, r.target), + {}, + { + value: y, + }, + ), + }; + this.executeOnChange(x, y, g, Go(y, d)); + var C = H2(u, d, a), + E = (C || a) + Pn(m || b, d).length; + this.setState({ + selectionStart: E, + selectionEnd: E, + setSelectionAfterHandlePaste: !0, + }); + } + }, + }, + { + key: "saveSelectionToClipboard", + value: function (r) { + var i = this.inputElement.selectionStart, + a = this.inputElement.selectionEnd, + l = this.props, + s = l.children, + u = l.value, + c = Mn(s), + d = mt(u, c, i, "START"), + h = mt(u, c, a, "END"); + r.clipboardData.setData("text/plain", r.target.value.slice(i, a)), + r.clipboardData.setData("text/react-mentions", u.slice(d, h)); + }, + }, + { + key: "supportsClipboardActions", + value: function (r) { + return !!r.clipboardData; + }, + }, + { + key: "handleCopy", + value: function (r) { + r.target === this.inputElement && + this.supportsClipboardActions(r) && + (r.preventDefault(), this.saveSelectionToClipboard(r)); + }, + }, + { + key: "handleCut", + value: function (r) { + if ( + r.target === this.inputElement && + this.supportsClipboardActions(r) + ) { + r.preventDefault(), this.saveSelectionToClipboard(r); + var i = this.state, + a = i.selectionStart, + l = i.selectionEnd, + s = this.props, + u = s.children, + c = s.value, + d = Mn(u), + h = mt(c, d, a, "START"), + f = mt(c, d, l, "END"), + m = [c.slice(0, h), c.slice(f)].join(""), + b = Pn(m, d), + y = { + target: Zt( + Zt({}, r.target), + {}, + { + value: b, + }, + ), + }; + this.executeOnChange(y, m, b, Go(c, d)); + } + }, + // Handle input element's change event + }, + ]), + n + ); + })($.Component); +be(dc, "propTypes", Ld); +be(dc, "defaultProps", { + ignoreAccents: !1, + singleLine: !1, + allowSuggestionsAboveCursor: !1, + onKeyDown: function () { + return null; + }, + onSelect: function () { + return null; + }, + onBlur: function () { + return null; + }, +}); +var El = function (t, n) { + var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); + return isFinite(o) ? o : 0; + }, + Q7 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), + J7 = Qi( + { + position: "relative", + overflowY: "visible", + input: { + display: "block", + width: "100%", + position: "absolute", + margin: 0, + top: 0, + left: 0, + boxSizing: "border-box", + backgroundColor: "transparent", + fontFamily: "inherit", + fontSize: "inherit", + letterSpacing: "inherit", + }, + "&multiLine": { + input: Zt( + { + height: "100%", + bottom: 0, + overflow: "hidden", + resize: "none", + }, + Q7 + ? { + marginTop: 1, + marginLeft: -3, + } + : null, + ), + }, + }, + function (e) { + var t = e.singleLine; + return { + "&singleLine": t, + "&multiLine": !t, + }; + }, + ), + e9 = J7(dc), + t9 = { + fontWeight: "inherit", + }, + fc = function (t) { + var n = t.display, + o = t.style, + r = t.className, + i = t.classNames, + a = cc(t9, { + style: o, + className: r, + classNames: i, + }); + return /* @__PURE__ */ $.createElement("strong", a, n); }; -} -function Pg(e, t) { - var n = this._id; - return arguments.length < 2 ? Xt(this.node(), n).on.on(e) : this.each(Hg(n, e, t)); -} -function Bg(e) { - return function() { - var t = this.parentNode; - for (var n in this.__transition) if (+n !== e) return; - t && t.removeChild(this); +fc.propTypes = { + /** + * Called when a new mention is added in the input + * + * Example: + * + * ```js + * function(id, display) { + * console.log("user " + display + " was mentioned!"); + * } + * ``` + */ + onAdd: q.func, + onRemove: q.func, + renderSuggestion: q.func, + trigger: q.oneOfType([q.string, q.instanceOf(RegExp)]), + markup: q.string, + displayTransform: q.func, + /** + * If set to `true` spaces will not interrupt matching suggestions + */ + allowSpaceInQuery: q.bool, + isLoading: q.bool, +}; +fc.defaultProps = { + trigger: "@", + markup: "@[__display__](__id__)", + displayTransform: function (t, n) { + return n || t; + }, + onAdd: function () { + return null; + }, + onRemove: function () { + return null; + }, + renderSuggestion: null, + isLoading: !1, + appendSpaceOnAdd: !1, +}; +const n9 = { + "&multiLine": { + minHeight: "40px", + }, + input: { + border: "none", + outline: "none", + fontWeight: "500", + fontSize: "15px", + color: "rgba(0, 5, 15, 0.85)", + }, + suggestions: { + backgroundColor: "var(--background--01)", + border: "1px solid rgba(0,0,0,0.1)", + borderRadius: "8px", + padding: "5px", + boxShadow: "0px 0px 10px rgba(0,0,0,0.1)", + minWidth: "150px", + maxHeight: "200px", + overflowY: "auto", + item: { + fontSize: "15px", + padding: "4px 11px 4px 11px", + borderRadius: "4px", + fontWeight: "500", + "&focused": { + backgroundColor: "var(--background--04)", + }, + }, + }, + }, + o9 = ({ + value: e, + setValue: t, + users: n, + placeholder: o = "Type your reply here...", + onEnterKeypress: r, + }) => { + const i = n.map((u) => ({ + ...u, + display: u.display_name, + })), + a = (u) => { + u.stopPropagation(), + u.key === "Enter" && + !u.shiftKey && + (u.preventDefault(), r == null || r()); + }, + l = (u, c) => { + console.info("[MentionsInputComponent] on mention select", { + id: u, + display: c, + }); + }, + s = (u) => { + t(u.target.value); + }; + return /* @__PURE__ */ p.jsx(e9, { + autoFocus: !0, + value: e, + onChange: s, + style: { + ...n9, + minHeight: "40px", + marginBottom: "10px", + }, + placeholder: o, + className: "mentions-input", + onKeyDown: a, + children: /* @__PURE__ */ p.jsx(fc, { + displayTransform: (u, c) => `@${c}`, + trigger: "@", + markup: "@[__id__](__display__)", + data: i, + appendSpaceOnAdd: !0, + renderSuggestion: (u, c) => + /* @__PURE__ */ p.jsx("div", { + className: `user ${c ? "focused" : ""}`, + children: u.display, + }), + onAdd: l, + }), + }); + }, + Fd = ({ + comment: e, + setComment: t, + loading: n, + users: o, + currentUser: r, + placeholder: i, + onEnterKeypress: a, + }) => + /* @__PURE__ */ p.jsxs("div", { + className: Cn.conversationInputForm, + children: [ + r ? /* @__PURE__ */ p.jsx(bd, { user: r }) : null, + /* @__PURE__ */ p.jsx(o9, { + value: e, + setValue: t, + users: o, + placeholder: i, + onEnterKeypress: a, + }), + /* @__PURE__ */ p.jsx(Wi, { + loading: n, + color: "primary", + children: /* @__PURE__ */ p.jsx(f8, {}), + }), + ], + }), + Rd = ({ meta: { highlight: e, filePath: t, field: n, column: o } }) => { + if (!e) return null; + const r = o ? `${t} (${o})` : t; + return /* @__PURE__ */ p.jsx("div", { + className: Cn.highlightText, + children: /* @__PURE__ */ p.jsx(Sr, { + code: e, + language: n ? "markdown" : "sql", + showLineNumbers: !n, + fileName: r, + theme: "light", + }), + }); + }, + r9 = () => { + const e = je((c) => c.users), + t = je((c) => c.newConversation), + n = je((c) => (c.currentUserId ? c.users[c.currentUserId] : null)), + o = je((c) => c.shareId), + r = Ht(), + [i, a] = ue(!1), + [l, s] = ue(""), + u = async (c) => { + if ( + (c == null || c.stopPropagation(), + c == null || c.preventDefault(), + !(!t || !o)) + ) { + a(!0); + try { + console.log("saving conversation", t, l); + const d = await b8( + o, + { + ...t, + message: l, + }, + "dbt-docs", + // this component is used only from dbt docs page + ); + if (!d.conversation_group_id) { + console.error("Unable to create conversation group", d); + return; + } + console.log("Successfully created conversation group", d); + } catch (d) { + console.error("error while saving conversation", t, d); + } + r(cd()), a(!1), r(ic(!0)), r(ac()), s(""); + } + }; + return /* @__PURE__ */ p.jsx(sn, { + className: Cn.newConversationForm, + children: /* @__PURE__ */ p.jsx(Rn, { + children: /* @__PURE__ */ p.jsxs("form", { + onSubmit: u, + children: [ + /* @__PURE__ */ p.jsx("h4", { children: "Add comment" }), + /* @__PURE__ */ p.jsx(Rd, { + meta: (t == null ? void 0 : t.meta) || {}, + }), + /* @__PURE__ */ p.jsx(Fd, { + comment: l, + setComment: s, + loading: i, + users: Object.values(e), + currentUser: n, + placeholder: "Start a conversation or add others with @", + onEnterKeypress: u, + }), + ], + }), + }), + }); }; -} -function Vg() { - return this.on("end.remove", Bg(this._id)); -} -function $g(e) { - var t = this._name, n = this._id; - typeof e != "function" && (e = yc(e)); - for (var o = this._groups, r = o.length, i = new Array(r), a = 0; a < r; ++a) - for (var l = o[a], s = l.length, u = i[a] = new Array(s), c, d, h = 0; h < s; ++h) - (c = l[h]) && (d = e.call(c, c.__data__, h, l)) && ("__data__" in c && (d.__data__ = c.__data__), u[h] = d, na(u[h], t, n, h, u, Xt(c, n))); - return new vn(i, this._parents, t, n); -} -function Wg(e) { - var t = this._name, n = this._id; - typeof e != "function" && (e = Ud(e)); - for (var o = this._groups, r = o.length, i = [], a = [], l = 0; l < r; ++l) - for (var s = o[l], u = s.length, c, d = 0; d < u; ++d) - if (c = s[d]) { - for (var h = e.call(c, c.__data__, d, s), f, m = Xt(c, n), b = 0, y = h.length; b < y; ++b) - (f = h[b]) && na(f, t, n, b, h, m); - i.push(h), a.push(c); - } - return new vn(i, a, t, n); -} -var Zg = _r.prototype.constructor; -function Ug() { - return new Zg(this._groups, this._parents); -} -function qg(e, t) { - var n, o, r; - return function() { - var i = _o(this, e), a = (this.style.removeProperty(e), _o(this, e)); - return i === a ? null : i === n && a === o ? r : r = t(n = i, o = a); - }; -} -function m3(e) { - return function() { - this.style.removeProperty(e); - }; -} -function Yg(e, t, n) { - var o, r = n + "", i; - return function() { - var a = _o(this, e); - return a === r ? null : a === o ? i : i = t(o = a, n); - }; -} -function Gg(e, t, n) { - var o, r, i; - return function() { - var a = _o(this, e), l = n(this), s = l + ""; - return l == null && (s = l = (this.style.removeProperty(e), _o(this, e))), a === s ? null : a === o && s === r ? i : (r = s, i = t(o = a, l)); - }; -} -function Kg(e, t) { - var n, o, r, i = "style." + t, a = "end." + i, l; - return function() { - var s = dn(this, e), u = s.on, c = s.value[i] == null ? l || (l = m3(t)) : void 0; - (u !== n || r !== c) && (o = (n = u).copy()).on(a, r = c), s.on = o; - }; -} -function Xg(e, t, n) { - var o = (e += "") == "transform" ? Xh : g3; - return t == null ? this.styleTween(e, qg(e, o)).on("end.style." + e, m3(e)) : typeof t == "function" ? this.styleTween(e, Gg(e, o, Ec(this, "style." + e, t))).each(Kg(this._id, e)) : this.styleTween(e, Yg(e, o, t), n).on("end.style." + e, null); -} -function Qg(e, t, n) { - return function(o) { - this.style.setProperty(e, t.call(this, o), n); - }; -} -function Jg(e, t, n) { - var o, r; - function i() { - var a = t.apply(this, arguments); - return a !== r && (o = (r = a) && Qg(e, a, n)), o; - } - return i._value = t, i; -} -function em(e, t, n) { - var o = "style." + (e += ""); - if (arguments.length < 2) return (o = this.tween(o)) && o._value; - if (t == null) return this.tween(o, null); - if (typeof t != "function") throw new Error(); - return this.tween(o, Jg(e, t, n ?? "")); -} -function tm(e) { - return function() { - this.textContent = e; - }; -} -function nm(e) { - return function() { - var t = e(this); - this.textContent = t ?? ""; - }; -} -function om(e) { - return this.tween("text", typeof e == "function" ? nm(Ec(this, "text", e)) : tm(e == null ? "" : e + "")); -} -function rm(e) { - return function(t) { - this.textContent = e.call(this, t); - }; -} -function im(e) { - var t, n; - function o() { - var r = e.apply(this, arguments); - return r !== n && (t = (n = r) && rm(r)), t; - } - return o._value = e, o; -} -function am(e) { - var t = "text"; - if (arguments.length < 1) return (t = this.tween(t)) && t._value; - if (e == null) return this.tween(t, null); - if (typeof e != "function") throw new Error(); - return this.tween(t, im(e)); -} -function lm() { - for (var e = this._name, t = this._id, n = b3(), o = this._groups, r = o.length, i = 0; i < r; ++i) - for (var a = o[i], l = a.length, s, u = 0; u < l; ++u) - if (s = a[u]) { - var c = Xt(s, t); - na(s, e, n, u, a, { - time: c.time + c.delay + c.duration, - delay: 0, - duration: c.duration, - ease: c.ease - }); - } - return new vn(o, this._parents, e, n); -} -function sm() { - var e, t, n = this, o = n._id, r = n.size(); - return new Promise(function(i, a) { - var l = { value: a }, s = { value: function() { - --r === 0 && i(); - } }; - n.each(function() { - var u = dn(this, o), c = u.on; - c !== e && (t = (e = c).copy(), t._.cancel.push(l), t._.interrupt.push(l), t._.end.push(s)), u.on = t; - }), r === 0 && i(); - }); -} -var cm = 0; -function vn(e, t, n, o) { - this._groups = e, this._parents = t, this._name = n, this._id = o; -} -function b3() { - return ++cm; -} -var hn = _r.prototype; -vn.prototype = { - constructor: vn, - select: $g, - selectAll: Wg, - selectChild: hn.selectChild, - selectChildren: hn.selectChildren, - filter: jg, - merge: Ig, - selection: Ug, - transition: lm, - call: hn.call, - nodes: hn.nodes, - node: hn.node, - size: hn.size, - empty: hn.empty, - each: hn.each, - on: Pg, - attr: vg, - attrTween: kg, - style: Xg, - styleTween: em, - text: om, - textTween: am, - remove: Vg, - tween: pg, - delay: Mg, - duration: Ng, - ease: Lg, - easeVarying: Rg, - end: sm, - [Symbol.iterator]: hn[Symbol.iterator] -}; -function um(e) { - return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; -} -var dm = { - time: null, - // Set on use. - delay: 0, - duration: 250, - ease: um -}; -function fm(e, t) { - for (var n; !(n = e.__transition) || !(n = n[t]); ) - if (!(e = e.parentNode)) - throw new Error(`transition ${t} not found`); - return n; -} -function pm(e) { - var t, n; - e instanceof vn ? (t = e._id, e = e._name) : (t = b3(), (n = dm).time = xc(), e = e == null ? null : e + ""); - for (var o = this._groups, r = o.length, i = 0; i < r; ++i) - for (var a = o[i], l = a.length, s, u = 0; u < l; ++u) - (s = a[u]) && na(s, e, t, u, a, n || fm(s, t)); - return new vn(o, this._parents, e, t); -} -_r.prototype.interrupt = ug; -_r.prototype.transition = pm; -const Kr = (e) => () => e; -function hm(e, { - sourceEvent: t, - target: n, - transform: o, - dispatch: r -}) { - Object.defineProperties(this, { - type: { value: e, enumerable: !0, configurable: !0 }, - sourceEvent: { value: t, enumerable: !0, configurable: !0 }, - target: { value: n, enumerable: !0, configurable: !0 }, - transform: { value: o, enumerable: !0, configurable: !0 }, - _: { value: r } +var jd = { exports: {} }; +(function (e, t) { + (function (n, o) { + e.exports = o(); + })(Yn, function () { + var n = 1e3, + o = 6e4, + r = 36e5, + i = "millisecond", + a = "second", + l = "minute", + s = "hour", + u = "day", + c = "week", + d = "month", + h = "quarter", + f = "year", + m = "date", + b = "Invalid Date", + y = + /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, + g = + /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, + x = { + name: "en", + weekdays: + "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), + months: + "January_February_March_April_May_June_July_August_September_October_November_December".split( + "_", + ), + ordinal: function (k) { + var N = ["th", "st", "nd", "rd"], + T = k % 100; + return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; + }, + }, + C = function (k, N, T) { + var F = String(k); + return !F || F.length >= N + ? k + : "" + Array(N + 1 - F.length).join(T) + k; + }, + E = { + s: C, + z: function (k) { + var N = -k.utcOffset(), + T = Math.abs(N), + F = Math.floor(T / 60), + I = T % 60; + return (N <= 0 ? "+" : "-") + C(F, 2, "0") + ":" + C(I, 2, "0"); + }, + m: function k(N, T) { + if (N.date() < T.date()) return -k(T, N); + var F = 12 * (T.year() - N.year()) + (T.month() - N.month()), + I = N.clone().add(F, d), + D = T - I < 0, + v = N.clone().add(F + (D ? -1 : 1), d); + return +(-(F + (T - I) / (D ? I - v : v - I)) || 0); + }, + a: function (k) { + return k < 0 ? Math.ceil(k) || 0 : Math.floor(k); + }, + p: function (k) { + return ( + { M: d, y: f, w: c, d: u, D: m, h: s, m: l, s: a, ms: i, Q: h }[ + k + ] || + String(k || "") + .toLowerCase() + .replace(/s$/, "") + ); + }, + u: function (k) { + return k === void 0; + }, + }, + w = "en", + S = {}; + S[w] = x; + var _ = "$isDayjsObject", + A = function (k) { + return k instanceof P || !(!k || !k[_]); + }, + R = function k(N, T, F) { + var I; + if (!N) return w; + if (typeof N == "string") { + var D = N.toLowerCase(); + S[D] && (I = D), T && ((S[D] = T), (I = D)); + var v = N.split("-"); + if (!I && v.length > 1) return k(v[0]); + } else { + var z = N.name; + (S[z] = N), (I = z); + } + return !F && I && (w = I), I || (!F && w); + }, + L = function (k, N) { + if (A(k)) return k.clone(); + var T = typeof N == "object" ? N : {}; + return (T.date = k), (T.args = arguments), new P(T); + }, + j = E; + (j.l = R), + (j.i = A), + (j.w = function (k, N) { + return L(k, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); + }); + var P = (function () { + function k(T) { + (this.$L = R(T.locale, null, !0)), + this.parse(T), + (this.$x = this.$x || T.x || {}), + (this[_] = !0); + } + var N = k.prototype; + return ( + (N.parse = function (T) { + (this.$d = (function (F) { + var I = F.date, + D = F.utc; + if (I === null) return /* @__PURE__ */ new Date(NaN); + if (j.u(I)) return /* @__PURE__ */ new Date(); + if (I instanceof Date) return new Date(I); + if (typeof I == "string" && !/Z$/i.test(I)) { + var v = I.match(y); + if (v) { + var z = v[2] - 1 || 0, + B = (v[7] || "0").substring(0, 3); + return D + ? new Date( + Date.UTC( + v[1], + z, + v[3] || 1, + v[4] || 0, + v[5] || 0, + v[6] || 0, + B, + ), + ) + : new Date( + v[1], + z, + v[3] || 1, + v[4] || 0, + v[5] || 0, + v[6] || 0, + B, + ); + } + } + return new Date(I); + })(T)), + this.init(); + }), + (N.init = function () { + var T = this.$d; + (this.$y = T.getFullYear()), + (this.$M = T.getMonth()), + (this.$D = T.getDate()), + (this.$W = T.getDay()), + (this.$H = T.getHours()), + (this.$m = T.getMinutes()), + (this.$s = T.getSeconds()), + (this.$ms = T.getMilliseconds()); + }), + (N.$utils = function () { + return j; + }), + (N.isValid = function () { + return this.$d.toString() !== b; + }), + (N.isSame = function (T, F) { + var I = L(T); + return this.startOf(F) <= I && I <= this.endOf(F); + }), + (N.isAfter = function (T, F) { + return L(T) < this.startOf(F); + }), + (N.isBefore = function (T, F) { + return this.endOf(F) < L(T); + }), + (N.$g = function (T, F, I) { + return j.u(T) ? this[F] : this.set(I, T); + }), + (N.unix = function () { + return Math.floor(this.valueOf() / 1e3); + }), + (N.valueOf = function () { + return this.$d.getTime(); + }), + (N.startOf = function (T, F) { + var I = this, + D = !!j.u(F) || F, + v = j.p(T), + z = function (oe, U) { + var ge = j.w( + I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), + I, + ); + return D ? ge : ge.endOf(u); + }, + B = function (oe, U) { + return j.w( + I.toDate()[oe].apply( + I.toDate("s"), + (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U), + ), + I, + ); + }, + M = this.$W, + W = this.$M, + G = this.$D, + K = "set" + (this.$u ? "UTC" : ""); + switch (v) { + case f: + return D ? z(1, 0) : z(31, 11); + case d: + return D ? z(1, W) : z(0, W + 1); + case c: + var Q = this.$locale().weekStart || 0, + ne = (M < Q ? M + 7 : M) - Q; + return z(D ? G - ne : G + (6 - ne), W); + case u: + case m: + return B(K + "Hours", 0); + case s: + return B(K + "Minutes", 1); + case l: + return B(K + "Seconds", 2); + case a: + return B(K + "Milliseconds", 3); + default: + return this.clone(); + } + }), + (N.endOf = function (T) { + return this.startOf(T, !1); + }), + (N.$set = function (T, F) { + var I, + D = j.p(T), + v = "set" + (this.$u ? "UTC" : ""), + z = ((I = {}), + (I[u] = v + "Date"), + (I[m] = v + "Date"), + (I[d] = v + "Month"), + (I[f] = v + "FullYear"), + (I[s] = v + "Hours"), + (I[l] = v + "Minutes"), + (I[a] = v + "Seconds"), + (I[i] = v + "Milliseconds"), + I)[D], + B = D === u ? this.$D + (F - this.$W) : F; + if (D === d || D === f) { + var M = this.clone().set(m, 1); + M.$d[z](B), + M.init(), + (this.$d = M.set(m, Math.min(this.$D, M.daysInMonth())).$d); + } else z && this.$d[z](B); + return this.init(), this; + }), + (N.set = function (T, F) { + return this.clone().$set(T, F); + }), + (N.get = function (T) { + return this[j.p(T)](); + }), + (N.add = function (T, F) { + var I, + D = this; + T = Number(T); + var v = j.p(F), + z = function (W) { + var G = L(D); + return j.w(G.date(G.date() + Math.round(W * T)), D); + }; + if (v === d) return this.set(d, this.$M + T); + if (v === f) return this.set(f, this.$y + T); + if (v === u) return z(1); + if (v === c) return z(7); + var B = ((I = {}), (I[l] = o), (I[s] = r), (I[a] = n), I)[v] || 1, + M = this.$d.getTime() + T * B; + return j.w(M, this); + }), + (N.subtract = function (T, F) { + return this.add(-1 * T, F); + }), + (N.format = function (T) { + var F = this, + I = this.$locale(); + if (!this.isValid()) return I.invalidDate || b; + var D = T || "YYYY-MM-DDTHH:mm:ssZ", + v = j.z(this), + z = this.$H, + B = this.$m, + M = this.$M, + W = I.weekdays, + G = I.months, + K = I.meridiem, + Q = function (U, ge, J, ke) { + return (U && (U[ge] || U(F, D))) || J[ge].slice(0, ke); + }, + ne = function (U) { + return j.s(z % 12 || 12, U, "0"); + }, + oe = + K || + function (U, ge, J) { + var ke = U < 12 ? "AM" : "PM"; + return J ? ke.toLowerCase() : ke; + }; + return D.replace(g, function (U, ge) { + return ( + ge || + (function (J) { + switch (J) { + case "YY": + return String(F.$y).slice(-2); + case "YYYY": + return j.s(F.$y, 4, "0"); + case "M": + return M + 1; + case "MM": + return j.s(M + 1, 2, "0"); + case "MMM": + return Q(I.monthsShort, M, G, 3); + case "MMMM": + return Q(G, M); + case "D": + return F.$D; + case "DD": + return j.s(F.$D, 2, "0"); + case "d": + return String(F.$W); + case "dd": + return Q(I.weekdaysMin, F.$W, W, 2); + case "ddd": + return Q(I.weekdaysShort, F.$W, W, 3); + case "dddd": + return W[F.$W]; + case "H": + return String(z); + case "HH": + return j.s(z, 2, "0"); + case "h": + return ne(1); + case "hh": + return ne(2); + case "a": + return oe(z, B, !0); + case "A": + return oe(z, B, !1); + case "m": + return String(B); + case "mm": + return j.s(B, 2, "0"); + case "s": + return String(F.$s); + case "ss": + return j.s(F.$s, 2, "0"); + case "SSS": + return j.s(F.$ms, 3, "0"); + case "Z": + return v; + } + return null; + })(U) || + v.replace(":", "") + ); + }); + }), + (N.utcOffset = function () { + return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); + }), + (N.diff = function (T, F, I) { + var D, + v = this, + z = j.p(F), + B = L(T), + M = (B.utcOffset() - this.utcOffset()) * o, + W = this - B, + G = function () { + return j.m(v, B); + }; + switch (z) { + case f: + D = G() / 12; + break; + case d: + D = G(); + break; + case h: + D = G() / 3; + break; + case c: + D = (W - M) / 6048e5; + break; + case u: + D = (W - M) / 864e5; + break; + case s: + D = W / r; + break; + case l: + D = W / o; + break; + case a: + D = W / n; + break; + default: + D = W; + } + return I ? D : j.a(D); + }), + (N.daysInMonth = function () { + return this.endOf(d).$D; + }), + (N.$locale = function () { + return S[this.$L]; + }), + (N.locale = function (T, F) { + if (!T) return this.$L; + var I = this.clone(), + D = R(T, F, !0); + return D && (I.$L = D), I; + }), + (N.clone = function () { + return j.w(this.$d, this); + }), + (N.toDate = function () { + return new Date(this.valueOf()); + }), + (N.toJSON = function () { + return this.isValid() ? this.toISOString() : null; + }), + (N.toISOString = function () { + return this.$d.toISOString(); + }), + (N.toString = function () { + return this.$d.toUTCString(); + }), + k + ); + })(), + V = P.prototype; + return ( + (L.prototype = V), + [ + ["$ms", i], + ["$s", a], + ["$m", l], + ["$H", s], + ["$W", u], + ["$M", d], + ["$y", f], + ["$D", m], + ].forEach(function (k) { + V[k[1]] = function (N) { + return this.$g(N, k[0], k[1]); + }; + }), + (L.extend = function (k, N) { + return k.$i || (k(N, P, L), (k.$i = !0)), L; + }), + (L.locale = R), + (L.isDayjs = A), + (L.unix = function (k) { + return L(1e3 * k); + }), + (L.en = S[w]), + (L.Ls = S), + (L.p = {}), + L + ); }); -} -function mn(e, t, n) { - this.k = e, this.x = t, this.y = n; -} -mn.prototype = { - constructor: mn, - scale: function(e) { - return e === 1 ? this : new mn(this.k * e, this.x, this.y); +})(jd); +var i9 = jd.exports; +const fs = /* @__PURE__ */ un(i9), + a9 = ({ conversationGroupId: e, shareId: t }) => { + const { onResolve: n, source: o } = sr(), + [r, i] = ue(!1), + a = async () => { + e && (i(!0), await x8(t, e, o), n(), i(!1)); + }; + return e + ? /* @__PURE__ */ p.jsx(Zn, { + disabled: r, + className: Cn.resolveButton, + title: "Resolve conversation", + onClick: a, + children: /* @__PURE__ */ p.jsx(s8, {}), + }) + : null; }, - translate: function(e, t) { - return e === 0 & t === 0 ? this : new mn(this.k, this.x + this.k * e, this.y + this.k * t); + Id = ({ + user: e, + timestamp: t, + showResolveButton: n, + conversationGroupId: o, + shareId: r, + }) => + /* @__PURE__ */ p.jsxs(Er, { + className: "d-flex align-items-center justify-content-between mb-0", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-1", + children: [ + /* @__PURE__ */ p.jsx(bd, { user: e }), + /* @__PURE__ */ p.jsxs("h4", { + children: [ + e == null ? void 0 : e.first_name, + " ", + e == null ? void 0 : e.last_name, + ], + }), + /* @__PURE__ */ p.jsx("span", { + children: fs(t).format("HH:mm, DD MMM YY"), + }), + ], + }), + n + ? /* @__PURE__ */ p.jsx(a9, { + conversationGroupId: o, + shareId: r, + }) + : null, + ], + }), + l9 = ({ conversation: e, shareId: t }) => { + const { users: n } = sr(), + o = Be(() => { + if (e != null && e.user_id) return n[e.user_id]; + }, [e.user_id, n]); + return /* @__PURE__ */ p.jsxs(sn, { + children: [ + /* @__PURE__ */ p.jsx(Id, { + user: o, + timestamp: e.timestamp, + shareId: t, + }), + /* @__PURE__ */ p.jsx(Rn, { + children: /* @__PURE__ */ p.jsx("p", { + children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2"), + }), + }), + ], + }); }, - apply: function(e) { - return [e[0] * this.k + this.x, e[1] * this.k + this.y]; + s9 = ({ conversationGroupId: e, shareId: t }) => { + const { currentUser: n, users: o, onReplyAdd: r, source: i } = sr(), + a = Object.values(o), + [l, s] = ue(""), + [u, c] = ue(!1), + d = async (h) => { + if ( + (h == null || h.stopPropagation(), + h == null || h.preventDefault(), + !(!t || !e)) + ) { + c(!0), + console.log("saving reply", t, e, { + message: l, + }); + try { + await y8( + t, + e, + { + message: l, + }, + i, + ), + r(); + } catch (f) { + console.error("error while saving reply", f); + } + c(!1), s(""); + } + }; + return /* @__PURE__ */ p.jsx("div", { + className: Cn.replyForm, + children: /* @__PURE__ */ p.jsx("form", { + onSubmit: d, + className: "", + children: /* @__PURE__ */ p.jsx(Fd, { + comment: l, + setComment: s, + loading: u, + users: Object.values(a), + currentUser: n || null, + onEnterKeypress: d, + }), + }), + }); }, - applyX: function(e) { - return e * this.k + this.x; + c9 = ({ conversationGroup: e, shareId: t, onSelect: n }) => { + var h; + const { users: o } = sr(), + r = Be(() => { + if (e.owner) return o[e.owner]; + }, [e.owner, o]), + { isSelected: i } = sr(), + [a, l] = ue(!1), + s = Me( + (f) => { + !i || + !f || + (console.log( + "ConversationGroupComponent scrolling", + e.conversation_group_id, + ), + setTimeout(() => { + f.scrollIntoView({ + behavior: "smooth", + block: "center", + }); + }, 1e3)); + }, + [e.conversation_group_id, i], + ); + if ( + !((h = e == null ? void 0 : e.conversations) != null && h.length) || + (e == null ? void 0 : e.status) !== "Pending" + ) + return null; + const [u, ...c] = e.conversations, + d = c.length + ? c.length > 1 + ? `${c.length} replies` + : `${c.length} reply` + : "Reply"; + return /* @__PURE__ */ p.jsx("div", { + ref: s, + className: Cn.conversationGroup, + children: /* @__PURE__ */ p.jsxs(sn, { + className: `${i ? "active" : ""}`, + onClick: n, + children: [ + /* @__PURE__ */ p.jsx(Id, { + user: r, + timestamp: u.timestamp, + showResolveButton: !0, + conversationGroupId: e.conversation_group_id, + shareId: t, + }), + /* @__PURE__ */ p.jsxs(Rn, { + children: [ + /* @__PURE__ */ p.jsx(Rd, { meta: e.meta }), + /* @__PURE__ */ p.jsx("p", { + children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2"), + }), + /* @__PURE__ */ p.jsx(Pe, { + onClick: () => l((f) => !f), + color: "link", + children: d, + }), + c.length + ? /* @__PURE__ */ p.jsx(p.Fragment, { + children: a + ? /* @__PURE__ */ p.jsx(p.Fragment, { + children: c.map((f) => + /* @__PURE__ */ p.jsx( + l9, + { + conversation: f, + shareId: t, + }, + f.conversation_id, + ), + ), + }) + : null, + }) + : null, + a + ? /* @__PURE__ */ p.jsx(s9, { + conversationGroupId: e.conversation_group_id, + shareId: t, + }) + : null, + ], + }), + ], + }), + }); }, - applyY: function(e) { - return e * this.k + this.y; + zd = zt({ + users: {}, + conversationGroup: void 0, + currentUser: void 0, + isSelected: !1, + shareId: void 0, + onSelect: () => null, + onResolve: () => null, + onReplyAdd: () => null, + source: Ks.DBT_DOCS, + }), + u9 = ({ + currentUser: e, + conversationGroup: t, + shareId: n, + onSelect: o, + isSelected: r, + users: i, + onResolve: a, + onReplyAdd: l, + source: s, + }) => { + const u = Be( + () => ({ + currentUser: e, + conversationGroup: t, + shareId: n, + onSelect: o, + isSelected: r, + users: i, + onResolve: a, + onReplyAdd: l, + source: s, + }), + [e, t, n, o, r, i, a, l, s], + ); + return !t || !n + ? null + : /* @__PURE__ */ p.jsx(zd.Provider, { + value: u, + children: /* @__PURE__ */ p.jsx(c9, { + conversationGroup: t, + shareId: n, + onSelect: o, + }), + }); }, - invert: function(e) { - return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k]; + sr = () => Je(zd), + d9 = () => { + const e = je((d) => d.source), + t = je((d) => d.conversations), + n = je((d) => d.selectedConversationId), + o = je((d) => d.shareId), + r = je((d) => d.users), + i = je((d) => d.currentUserId), + a = Ht(); + if (!i || !o) return null; + const l = r[i], + s = (d) => { + a(W6({ shareId: o, conversationGroupId: d })); + }, + u = (d) => { + a(rc(d)); + }, + c = (d) => { + console.log("onReplyAdd", d), a(cd()); + }; + return !t || !Object.keys(t).length + ? /* @__PURE__ */ p.jsx("div", { children: "No conversations yet!" }) + : /* @__PURE__ */ p.jsx("div", { + children: Object.values(t).map((d) => + /* @__PURE__ */ p.jsx( + u9, + { + conversationGroup: d, + shareId: o, + isSelected: n === d.conversation_group_id, + currentUser: l, + onResolve: () => s(d.conversation_group_id), + onSelect: () => u(d.conversation_group_id), + users: r, + onReplyAdd: () => c(d.conversation_group_id), + source: e, + }, + d.conversation_group_id, + ), + ), + }); }, - invertX: function(e) { - return (e - this.x) / this.k; + f9 = () => { + const e = je((a) => a.isRightPanelOpen), + t = je((a) => a.selectedConversationId), + n = je((a) => a.newConversation), + o = Ht(), + r = () => { + o(ic(!1)), o(rc(void 0)), o(ac()); + }; + return !!n || e || t + ? /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx(L5, { + onClick: r, + className: Cn.conversationRightPanelCloseButton, + }), + /* @__PURE__ */ p.jsxs("div", { + className: Cn.conversationRightPanel, + children: [ + /* @__PURE__ */ p.jsx("h3", { children: "Comments" }), + n + ? /* @__PURE__ */ p.jsx(r9, {}) + : /* @__PURE__ */ p.jsx(d9, {}), + ], + }), + ], + }) + : null; }, - invertY: function(e) { - return (e - this.y) / this.k; + p9 = 10, + h9 = () => { + const e = pe(), + t = je((a) => a.shareId), + n = je((a) => a.conversationsLoadingState), + o = Ht(), + r = je((a) => Object.keys(a.conversations || {})), + i = Me( + (a) => { + clearTimeout(e.current), + C8(a) + .then((l) => { + console.log("useConversations", l), + o($6(l == null ? void 0 : l.dbt_docs_share_conversations)), + (e.current = setTimeout(() => { + i(a); + }, p9 * 1e3)); + }) + .catch((l) => + console.error("error while fetching conversations list", l), + ) + .finally(() => { + o(v2(Rt.INITIALIZED)); + }); + }, + [o], + ); + return ( + ce(() => { + n !== Rt.UNINITIALIZED || !t || (o(v2(Rt.LOADING)), i(t)); + }, [o, n, r, t, i]), + { isLoading: n === Rt.LOADING } + ); }, - rescaleX: function(e) { - return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e)); + g9 = () => { + const e = Ht(), + t = je((r) => Object.keys(r.users || {})), + [n, o] = ue(Rt.UNINITIALIZED); + return ( + ce(() => { + n !== Rt.UNINITIALIZED || + Object.keys(t).length || + (o(Rt.LOADING), + v8() + .then((r) => { + console.log("useConversationUsers", r), e(V6(r)); + }) + .catch((r) => console.error("error while fetching users list", r)) + .finally(() => { + o(Rt.INITIALIZED); + })); + }, [e, n, t]), + { isLoading: n === Rt.LOADING } + ); }, - rescaleY: function(e) { - return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e)); + m9 = () => ( + g9(), + h9(), + /* @__PURE__ */ p.jsxs("div", { + children: [/* @__PURE__ */ p.jsx(f9, {}), /* @__PURE__ */ p.jsx(k8, {})], + }) + ), + Hd = ({ target: e, ...t }) => + jn( + /* @__PURE__ */ p.jsx(Zn, { + className: Cn.hotspotButton, + title: "Click to start conversation", + ...t, + children: /* @__PURE__ */ p.jsx(pd, {}), + }), + e, + ), + b9 = () => { + var s; + const e = Ht(), + t = je((u) => u.codeblockLoaded), + n = je((u) => u.manifest), + [o, r] = ue(0), + i = (s = Qs()) == null ? void 0 : s.parentElement, + a = () => { + var h; + if (!i || !n.nodes) return; + const u = Js(); + if (!u || u.length < 3) { + console.error("Unable to find model parts", u); + return; + } + const d = { + highlight: ((h = n.nodes[u[2]]) == null ? void 0 : h.raw_code).split(` +`)[o], + range: { + end: { line: o, character: 0 }, + start: { line: o, character: 0 }, + }, + }; + e(lc({ meta: d })); + }, + l = Me( + (u) => { + if (!i) return; + const c = u.y, + d = i.querySelectorAll(".line-numbers-rows > span"), + h = Array.from(d).findIndex((f) => { + const { height: m, y: b } = f.getBoundingClientRect(); + return c >= b && c <= b + m; + }); + r(h); + }, + [i], + ); + return ( + ce(() => { + if (!(!t || !i)) + return ( + i.addEventListener("mousemove", l), + () => { + i.removeEventListener("mousemove", l); + } + ); + }, [t, i, l]), + !t || !i + ? null + : /* @__PURE__ */ p.jsx(Hd, { + target: i, + onClick: a, + style: { top: o * 21.2 }, + }) + ); }, - toString: function() { - return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; - } -}; -var Dn = new mn(1, 0, 0); -mn.prototype; -function Ll(e) { - e.stopImmediatePropagation(); -} -function $o(e) { - e.preventDefault(), e.stopImmediatePropagation(); -} -function gm(e) { - return (!e.ctrlKey || e.type === "wheel") && !e.button; -} -function mm() { - var e = this; - return e instanceof SVGElement ? (e = e.ownerSVGElement || e, e.hasAttribute("viewBox") ? (e = e.viewBox.baseVal, [[e.x, e.y], [e.x + e.width, e.y + e.height]]) : [[0, 0], [e.width.baseVal.value, e.height.baseVal.value]]) : [[0, 0], [e.clientWidth, e.clientHeight]]; -} -function hu() { - return this.__zoom || Dn; -} -function bm(e) { - return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * (e.ctrlKey ? 10 : 1); -} -function ym() { - return navigator.maxTouchPoints || "ontouchstart" in this; -} -function Cm(e, t, n) { - var o = e.invertX(t[0][0]) - n[0][0], r = e.invertX(t[1][0]) - n[1][0], i = e.invertY(t[0][1]) - n[0][1], a = e.invertY(t[1][1]) - n[1][1]; - return e.translate( - r > o ? (o + r) / 2 : Math.min(0, o) || Math.max(0, r), - a > i ? (i + a) / 2 : Math.min(0, i) || Math.max(0, a) - ); + y9 = () => { + const e = Ht(), + t = je((r) => r.codeblockLoaded), + n = ec(), + o = () => { + const r = { + field: "description", + highlight: n == null ? void 0 : n.innerText, + }; + e(lc({ meta: r })); + }; + return !t || !n + ? null + : /* @__PURE__ */ p.jsx(Hd, { target: n, onClick: o }); + }, + C9 = () => + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [/* @__PURE__ */ p.jsx(y9, {}), /* @__PURE__ */ p.jsx(b9, {})], + }), + v9 = Z5(() => import("./DbtDocsRenderer.js")), + x9 = () => { + const { loading: e, shareDetails: t } = w8(), + n = Ht(), + { getHighlightedSelectionData: o, pos: r, onSelectionEnd: i } = E8(), + a = (l) => { + l.stopPropagation(); + const s = o(); + s && n(lc(s)); + }; + return e + ? /* @__PURE__ */ p.jsx("div", { children: "Loading..." }) + : !(t != null && t.catalog_presigned_url) || + !(t != null && t.manifest_presigned_url) + ? /* @__PURE__ */ p.jsx("div", { + children: "Unable to load required artifacts. Please try again.", + }) + : /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex justify-content-end mb-2", + children: [ + /* @__PURE__ */ p.jsx(C9, {}), + /* @__PURE__ */ p.jsx(g8, {}), + ], + }), + /* @__PURE__ */ p.jsx(m9, {}), + /* @__PURE__ */ p.jsx(v9, { + shareDetails: t, + onSelectionEnd: i, + }), + r ? /* @__PURE__ */ p.jsx(h8, { pos: r, onAddComment: a }) : null, + ], + }); + }, + nA = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => + /* @__PURE__ */ p.jsx("div", { + className: "altimate-component", + children: /* @__PURE__ */ p.jsx(U6, { + shareId: e, + userId: t, + conversationGroupId: n, + source: o, + children: /* @__PURE__ */ p.jsx(x9, {}), + }), + }), + w9 = { + selectedTable: "", + moreTables: {}, + sidebarScreen: "", + selectedColumn: void 0, + collectColumns: {}, + confidence: { confidence: "high" }, + leftExpansion: 0, + rightExpansion: 0, + minRange: [0, 0], + nodeCount: 0, + selectCheck: !0, + nonSelectCheck: !0, + defaultExpansion: 1, + aiEnabled: !1, + modalArgs: null, + theme: "dark", + lineageType: "dynamic", + highlightedNodes: [], + externalSidePanel: !1, + selectedNode: "", + nodeSavingsPerformance: {}, + nodesCost: {}, + errors: {}, + }, + _i = oc({ + name: "lineageState", + initialState: w9, + reducers: { + setAllowSyncColumnsWithDB: (e, t) => { + e.allowSyncColumnsWithDB = t.payload; + }, + setStaticLineage: (e, t) => { + e.sqlLineage = t.payload; + }, + setLineageType: (e, t) => { + e.lineageType = t.payload; + }, + setTheme: (e, t) => { + e.theme = t.payload; + }, + setSelectedTable: (e, t) => { + e.selectedTable = t.payload; + }, + setModalArgs: (e, t) => { + e.modalArgs = t.payload; + }, + setAiEnabled: (e, t) => { + e.aiEnabled = t.payload; + }, + setMoreTables: (e, t) => { + e.moreTables = t.payload; + }, + mergeSeeMoreTables: (e, t) => { + e.moreTables = { + ...e.moreTables, + lineage: [...(e.moreTables.lineage || []), ...t.payload], + }; + }, + setSidebarScreen: (e, t) => { + e.sidebarScreen = t.payload; + }, + setSelectedColumn: (e, t) => { + e.selectedColumn = t.payload; + }, + setCollectColumns: (e, t) => { + e.collectColumns = t.payload; + }, + mergeCollectColumns: (e, t) => { + const n = t.payload, + o = { + ...e.collectColumns, + }; + for (const r in n) { + const i = n[r]; + if (!(r in o)) { + o[r] = i; + continue; + } + const a = i + .map((l) => { + const s = o[r].findIndex((u) => u.column === l.column); + return s === -1 + ? l + : (l.viewsType && (o[r][s].viewsType = l.viewsType), null); + }) + .filter((l) => l !== null); + o[r].push(...a); + } + e.collectColumns = o; + }, + setConfidence: (e, t) => { + e.confidence = t.payload; + }, + updateConfidenceWithOperatorList: (e, t) => { + const n = { ...e.confidence, confidence: "low" }; + (n.operator_list = n.operator_list || []), + n.operator_list.push(...(t.payload.operatorList || [])), + (e.confidence = n); + }, + setLeftExpansion: (e, t) => { + e.leftExpansion = t.payload; + }, + setRightExpansion: (e, t) => { + e.rightExpansion = t.payload; + }, + setMinRange: (e, t) => { + e.minRange = t.payload; + }, + setNodeCount: (e, t) => { + e.nodeCount = t.payload; + }, + setSelectCheck: (e, t) => { + e.selectCheck = t.payload; + }, + setNonSelectCheck: (e, t) => { + e.nonSelectCheck = t.payload; + }, + setDefaultExpansion: (e, t) => { + e.defaultExpansion = t.payload; + }, + setSqlLineageDetails: (e, t) => { + e.sqlLineage = t.payload; + }, + setHighlightedNodes: (e, t) => { + e.highlightedNodes = t.payload; + }, + setSelectedNode: (e, t) => { + e.selectedNode = t.payload; + }, + setNodesSavingsPerformance: (e, t) => { + e.nodeSavingsPerformance = t.payload; + }, + setNodesCost: (e, t) => { + e.nodesCost = t.payload; + }, + setErrors: (e, t) => { + e.errors = t.payload; + }, + }, + }), + { + setSelectedTable: Xn, + setMoreTables: pc, + mergeSeeMoreTables: hc, + setSidebarScreen: Yt, + setSelectedColumn: Vn, + setCollectColumns: cr, + mergeCollectColumns: gc, + setConfidence: E9, + updateConfidenceWithOperatorList: mc, + setLeftExpansion: Sl, + setRightExpansion: kl, + setMinRange: ur, + setNodeCount: So, + setSelectCheck: Pd, + setNonSelectCheck: Bd, + setDefaultExpansion: Vd, + setAiEnabled: S9, + setModalArgs: ko, + setTheme: k9, + setLineageType: oA, + setStaticLineage: rA, + setAllowSyncColumnsWithDB: iA, + setSqlLineageDetails: _9, + setHighlightedNodes: A9, + setSelectedNode: M9, + setNodesSavingsPerformance: T9, + setNodesCost: O9, + setErrors: bc, + } = _i.actions; +function bt(e) { + if (typeof e == "string" || typeof e == "number") return "" + e; + let t = ""; + if (Array.isArray(e)) + for (let n = 0, o; n < e.length; n++) + (o = bt(e[n])) !== "" && (t += (t && " ") + o); + else for (let n in e) e[n] && (t += (t && " ") + n); + return t; } -function vm() { - var e = gm, t = mm, n = Cm, o = bm, r = ym, i = [0, 1 / 0], a = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = ng, u = Ji("start", "zoom", "end"), c, d, h, f = 500, m = 150, b = 0, y = 10; - function g(k) { - k.property("__zoom", hu).on("wheel.zoom", A, { passive: !1 }).on("mousedown.zoom", R).on("dblclick.zoom", L).filter(r).on("touchstart.zoom", j).on("touchmove.zoom", P).on("touchend.zoom touchcancel.zoom", V).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); - } - g.transform = function(k, N, T, F) { - var I = k.selection ? k.selection() : k; - I.property("__zoom", hu), k !== I ? w(k, N, T, F) : I.interrupt().each(function() { - S(this, arguments).event(F).start().zoom(null, typeof N == "function" ? N.apply(this, arguments) : N).end(); - }); - }, g.scaleBy = function(k, N, T, F) { - g.scaleTo(k, function() { - var I = this.__zoom.k, D = typeof N == "function" ? N.apply(this, arguments) : N; - return I * D; - }, T, F); - }, g.scaleTo = function(k, N, T, F) { - g.transform(k, function() { - var I = t.apply(this, arguments), D = this.__zoom, v = T == null ? E(I) : typeof T == "function" ? T.apply(this, arguments) : T, z = D.invert(v), B = typeof N == "function" ? N.apply(this, arguments) : N; - return n(C(x(D, B), v, z), I, a); - }, T, F); - }, g.translateBy = function(k, N, T, F) { - g.transform(k, function() { - return n(this.__zoom.translate( - typeof N == "function" ? N.apply(this, arguments) : N, - typeof T == "function" ? T.apply(this, arguments) : T - ), t.apply(this, arguments), a); - }, null, F); - }, g.translateTo = function(k, N, T, F, I) { - g.transform(k, function() { - var D = t.apply(this, arguments), v = this.__zoom, z = F == null ? E(D) : typeof F == "function" ? F.apply(this, arguments) : F; - return n(Dn.translate(z[0], z[1]).scale(v.k).translate( - typeof N == "function" ? -N.apply(this, arguments) : -N, - typeof T == "function" ? -T.apply(this, arguments) : -T - ), D, a); - }, F, I); - }; - function x(k, N) { - return N = Math.max(i[0], Math.min(i[1], N)), N === k.k ? k : new mn(N, k.x, k.y); - } - function C(k, N, T) { - var F = N[0] - T[0] * k.k, I = N[1] - T[1] * k.k; - return F === k.x && I === k.y ? k : new mn(k.k, F, I); - } - function E(k) { - return [(+k[0][0] + +k[1][0]) / 2, (+k[0][1] + +k[1][1]) / 2]; +var ps = { exports: {} }, + _l = {}, + Zr = { exports: {} }, + Al = {}; +/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var W2; +function N9() { + if (W2) return Al; + W2 = 1; + var e = $; + function t(d, h) { + return (d === h && (d !== 0 || 1 / d === 1 / h)) || (d !== d && h !== h); } - function w(k, N, T, F) { - k.on("start.zoom", function() { - S(this, arguments).event(F).start(); - }).on("interrupt.zoom end.zoom", function() { - S(this, arguments).event(F).end(); - }).tween("zoom", function() { - var I = this, D = arguments, v = S(I, D).event(F), z = t.apply(I, D), B = T == null ? E(z) : typeof T == "function" ? T.apply(I, D) : T, M = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), W = I.__zoom, G = typeof N == "function" ? N.apply(I, D) : N, K = s(W.invert(B).concat(M / W.k), G.invert(B).concat(M / G.k)); - return function(Q) { - if (Q === 1) Q = G; - else { - var ne = K(Q), oe = M / ne[2]; - Q = new mn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); - } - v.zoom(null, Q); - }; - }); + var n = typeof Object.is == "function" ? Object.is : t, + o = e.useState, + r = e.useEffect, + i = e.useLayoutEffect, + a = e.useDebugValue; + function l(d, h) { + var f = h(), + m = o({ inst: { value: f, getSnapshot: h } }), + b = m[0].inst, + y = m[1]; + return ( + i( + function () { + (b.value = f), (b.getSnapshot = h), s(b) && y({ inst: b }); + }, + [d, f, h], + ), + r( + function () { + return ( + s(b) && y({ inst: b }), + d(function () { + s(b) && y({ inst: b }); + }) + ); + }, + [d], + ), + a(f), + f + ); } - function S(k, N, T) { - return !T && k.__zooming || new _(k, N); + function s(d) { + var h = d.getSnapshot; + d = d.value; + try { + var f = h(); + return !n(d, f); + } catch { + return !0; + } } - function _(k, N) { - this.that = k, this.args = N, this.active = 0, this.sourceEvent = null, this.extent = t.apply(k, N), this.taps = 0; + function u(d, h) { + return h(); } - _.prototype = { - event: function(k) { - return k && (this.sourceEvent = k), this; - }, - start: function() { - return ++this.active === 1 && (this.that.__zooming = this, this.emit("start")), this; - }, - zoom: function(k, N) { - return this.mouse && k !== "mouse" && (this.mouse[1] = N.invert(this.mouse[0])), this.touch0 && k !== "touch" && (this.touch0[1] = N.invert(this.touch0[0])), this.touch1 && k !== "touch" && (this.touch1[1] = N.invert(this.touch1[0])), this.that.__zoom = N, this.emit("zoom"), this; - }, - end: function() { - return --this.active === 0 && (delete this.that.__zooming, this.emit("end")), this; - }, - emit: function(k) { - var N = Ut(this.that).datum(); - u.call( - k, - this.that, - new hm(k, { - sourceEvent: this.sourceEvent, - target: g, - type: k, - transform: this.that.__zoom, - dispatch: u - }), - N + var c = + typeof window > "u" || + typeof window.document > "u" || + typeof window.document.createElement > "u" + ? u + : l; + return ( + (Al.useSyncExternalStore = + e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c), + Al + ); +} +var Ml = {}; +/** + * @license React + * use-sync-external-store-shim.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var Z2; +function D9() { + return ( + Z2 || + ((Z2 = 1), + process.env.NODE_ENV !== "production" && + (function () { + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart( + new Error(), + ); + var e = $, + t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function n(C) { + { + for ( + var E = arguments.length, + w = new Array(E > 1 ? E - 1 : 0), + S = 1; + S < E; + S++ + ) + w[S - 1] = arguments[S]; + o("error", C, w); + } + } + function o(C, E, w) { + { + var S = t.ReactDebugCurrentFrame, + _ = S.getStackAddendum(); + _ !== "" && ((E += "%s"), (w = w.concat([_]))); + var A = w.map(function (R) { + return String(R); + }); + A.unshift("Warning: " + E), + Function.prototype.apply.call(console[C], console, A); + } + } + function r(C, E) { + return ( + (C === E && (C !== 0 || 1 / C === 1 / E)) || (C !== C && E !== E) + ); + } + var i = typeof Object.is == "function" ? Object.is : r, + a = e.useState, + l = e.useEffect, + s = e.useLayoutEffect, + u = e.useDebugValue, + c = !1, + d = !1; + function h(C, E, w) { + c || + (e.startTransition !== void 0 && + ((c = !0), + n( + "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.", + ))); + var S = E(); + if (!d) { + var _ = E(); + i(S, _) || + (n( + "The result of getSnapshot should be cached to avoid an infinite loop", + ), + (d = !0)); + } + var A = a({ + inst: { + value: S, + getSnapshot: E, + }, + }), + R = A[0].inst, + L = A[1]; + return ( + s( + function () { + (R.value = S), + (R.getSnapshot = E), + f(R) && + L({ + inst: R, + }); + }, + [C, S, E], + ), + l( + function () { + f(R) && + L({ + inst: R, + }); + var j = function () { + f(R) && + L({ + inst: R, + }); + }; + return C(j); + }, + [C], + ), + u(S), + S + ); + } + function f(C) { + var E = C.getSnapshot, + w = C.value; + try { + var S = E(); + return !i(w, S); + } catch { + return !0; + } + } + function m(C, E, w) { + return E(); + } + var b = + typeof window < "u" && + typeof window.document < "u" && + typeof window.document.createElement < "u", + y = !b, + g = y ? m : h, + x = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : g; + (Ml.useSyncExternalStore = x), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error(), + ); + })()), + Ml + ); +} +var U2; +function $d() { + return ( + U2 || + ((U2 = 1), + process.env.NODE_ENV === "production" + ? (Zr.exports = N9()) + : (Zr.exports = D9())), + Zr.exports + ); +} +/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var q2; +function L9() { + if (q2) return _l; + q2 = 1; + var e = $, + t = $d(); + function n(u, c) { + return (u === c && (u !== 0 || 1 / u === 1 / c)) || (u !== u && c !== c); + } + var o = typeof Object.is == "function" ? Object.is : n, + r = t.useSyncExternalStore, + i = e.useRef, + a = e.useEffect, + l = e.useMemo, + s = e.useDebugValue; + return ( + (_l.useSyncExternalStoreWithSelector = function (u, c, d, h, f) { + var m = i(null); + if (m.current === null) { + var b = { hasValue: !1, value: null }; + m.current = b; + } else b = m.current; + m = l( + function () { + function g(S) { + if (!x) { + if (((x = !0), (C = S), (S = h(S)), f !== void 0 && b.hasValue)) { + var _ = b.value; + if (f(_, S)) return (E = _); + } + return (E = S); + } + if (((_ = E), o(C, S))) return _; + var A = h(S); + return f !== void 0 && f(_, A) ? _ : ((C = S), (E = A)); + } + var x = !1, + C, + E, + w = d === void 0 ? null : d; + return [ + function () { + return g(c()); + }, + w === null + ? void 0 + : function () { + return g(w()); + }, + ]; + }, + [c, d, h, f], ); - } - }; - function A(k, ...N) { - if (!e.apply(this, arguments)) return; - var T = S(this, N).event(k), F = this.__zoom, I = Math.max(i[0], Math.min(i[1], F.k * Math.pow(2, o.apply(this, arguments)))), D = on(k); - if (T.wheel) - (T.mouse[0][0] !== D[0] || T.mouse[0][1] !== D[1]) && (T.mouse[1] = F.invert(T.mouse[0] = D)), clearTimeout(T.wheel); - else { - if (F.k === I) return; - T.mouse = [D, F.invert(D)], hi(this), T.start(); - } - $o(k), T.wheel = setTimeout(v, m), T.zoom("mouse", n(C(x(F, I), T.mouse[0], T.mouse[1]), T.extent, a)); - function v() { - T.wheel = null, T.end(); - } - } - function R(k, ...N) { - if (h || !e.apply(this, arguments)) return; - var T = k.currentTarget, F = S(this, N, !0).event(k), I = Ut(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", M, !0), D = on(k, T), v = k.clientX, z = k.clientY; - o3(k.view), Ll(k), F.mouse = [D, this.__zoom.invert(D)], hi(this), F.start(); - function B(W) { - if ($o(W), !F.moved) { - var G = W.clientX - v, K = W.clientY - z; - F.moved = G * G + K * K > b; - } - F.event(W).zoom("mouse", n(C(F.that.__zoom, F.mouse[0] = on(W, T), F.mouse[1]), F.extent, a)); - } - function M(W) { - I.on("mousemove.zoom mouseup.zoom", null), r3(W.view, F.moved), $o(W), F.event(W).end(); - } - } - function L(k, ...N) { - if (e.apply(this, arguments)) { - var T = this.__zoom, F = on(k.changedTouches ? k.changedTouches[0] : k, this), I = T.invert(F), D = T.k * (k.shiftKey ? 0.5 : 2), v = n(C(x(T, D), F, I), t.apply(this, N), a); - $o(k), l > 0 ? Ut(this).transition().duration(l).call(w, v, F, k) : Ut(this).call(g.transform, v, F, k); - } - } - function j(k, ...N) { - if (e.apply(this, arguments)) { - var T = k.touches, F = T.length, I = S(this, N, k.changedTouches.length === F).event(k), D, v, z, B; - for (Ll(k), v = 0; v < F; ++v) - z = T[v], B = on(z, this), B = [B, this.__zoom.invert(B), z.identifier], I.touch0 ? !I.touch1 && I.touch0[2] !== B[2] && (I.touch1 = B, I.taps = 0) : (I.touch0 = B, D = !0, I.taps = 1 + !!c); - c && (c = clearTimeout(c)), D && (I.taps < 2 && (d = B[0], c = setTimeout(function() { - c = null; - }, f)), hi(this), I.start()); - } + var y = r(u, m[0], m[1]); + return ( + a( + function () { + (b.hasValue = !0), (b.value = y); + }, + [y], + ), + s(y), + y + ); + }), + _l + ); +} +var Tl = {}; +/** + * @license React + * use-sync-external-store-shim/with-selector.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var Y2; +function F9() { + return ( + Y2 || + ((Y2 = 1), + process.env.NODE_ENV !== "production" && + (function () { + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart( + new Error(), + ); + var e = $, + t = $d(); + function n(c, d) { + return ( + (c === d && (c !== 0 || 1 / c === 1 / d)) || (c !== c && d !== d) + ); + } + var o = typeof Object.is == "function" ? Object.is : n, + r = t.useSyncExternalStore, + i = e.useRef, + a = e.useEffect, + l = e.useMemo, + s = e.useDebugValue; + function u(c, d, h, f, m) { + var b = i(null), + y; + b.current === null + ? ((y = { + hasValue: !1, + value: null, + }), + (b.current = y)) + : (y = b.current); + var g = l( + function () { + var w = !1, + S, + _, + A = function (P) { + if (!w) { + (w = !0), (S = P); + var V = f(P); + if (m !== void 0 && y.hasValue) { + var k = y.value; + if (m(k, V)) return (_ = k), k; + } + return (_ = V), V; + } + var N = S, + T = _; + if (o(N, P)) return T; + var F = f(P); + return m !== void 0 && m(T, F) + ? T + : ((S = P), (_ = F), F); + }, + R = h === void 0 ? null : h, + L = function () { + return A(d()); + }, + j = + R === null + ? void 0 + : function () { + return A(R()); + }; + return [L, j]; + }, + [d, h, f, m], + ), + x = g[0], + C = g[1], + E = r(c, x, C); + return ( + a( + function () { + (y.hasValue = !0), (y.value = E); + }, + [E], + ), + s(E), + E + ); + } + (Tl.useSyncExternalStoreWithSelector = u), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error(), + ); + })()), + Tl + ); +} +process.env.NODE_ENV === "production" + ? (ps.exports = L9()) + : (ps.exports = F9()); +var R9 = ps.exports; +const j9 = /* @__PURE__ */ un(R9), + I9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, + G2 = (e) => { + let t; + const n = /* @__PURE__ */ new Set(), + o = (c, d) => { + const h = typeof c == "function" ? c(t) : c; + if (!Object.is(h, t)) { + const f = t; + (t = + (d ?? (typeof h != "object" || h === null)) + ? h + : Object.assign({}, t, h)), + n.forEach((m) => m(t, f)); + } + }, + r = () => t, + s = { + setState: o, + getState: r, + getInitialState: () => u, + subscribe: (c) => (n.add(c), () => n.delete(c)), + destroy: () => { + (I9 ? "production" : void 0) !== "production" && + console.warn( + "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected.", + ), + n.clear(); + }, + }, + u = (t = e(o, r, s)); + return s; + }, + z9 = (e) => (e ? G2(e) : G2), + { useDebugValue: H9 } = $, + { useSyncExternalStoreWithSelector: P9 } = j9, + B9 = (e) => e; +function Wd(e, t = B9, n) { + const o = P9( + e.subscribe, + e.getState, + e.getServerState || e.getInitialState, + t, + n, + ); + return H9(o), o; +} +const K2 = (e, t) => { + const n = z9(e), + o = (r, i = t) => Wd(n, r, i); + return Object.assign(o, n), o; + }, + V9 = (e, t) => (e ? K2(e, t) : K2); +function st(e, t) { + if (Object.is(e, t)) return !0; + if (typeof e != "object" || e === null || typeof t != "object" || t === null) + return !1; + if (e instanceof Map && t instanceof Map) { + if (e.size !== t.size) return !1; + for (const [o, r] of e) if (!Object.is(r, t.get(o))) return !1; + return !0; } - function P(k, ...N) { - if (this.__zooming) { - var T = S(this, N).event(k), F = k.changedTouches, I = F.length, D, v, z, B; - for ($o(k), D = 0; D < I; ++D) - v = F[D], z = on(v, this), T.touch0 && T.touch0[2] === v.identifier ? T.touch0[0] = z : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); - if (v = T.that.__zoom, T.touch1) { - var M = T.touch0[0], W = T.touch0[1], G = T.touch1[0], K = T.touch1[1], Q = (Q = G[0] - M[0]) * Q + (Q = G[1] - M[1]) * Q, ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; - v = x(v, Math.sqrt(Q / ne)), z = [(M[0] + G[0]) / 2, (M[1] + G[1]) / 2], B = [(W[0] + K[0]) / 2, (W[1] + K[1]) / 2]; - } else if (T.touch0) z = T.touch0[0], B = T.touch0[1]; - else return; - T.zoom("touch", n(C(v, z, B), T.extent, a)); - } + if (e instanceof Set && t instanceof Set) { + if (e.size !== t.size) return !1; + for (const o of e) if (!t.has(o)) return !1; + return !0; } - function V(k, ...N) { - if (this.__zooming) { - var T = S(this, N).event(k), F = k.changedTouches, I = F.length, D, v; - for (Ll(k), h && clearTimeout(h), h = setTimeout(function() { - h = null; - }, f), D = 0; D < I; ++D) - v = F[D], T.touch0 && T.touch0[2] === v.identifier ? delete T.touch0 : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; - if (T.touch1 && !T.touch0 && (T.touch0 = T.touch1, delete T.touch1), T.touch0) T.touch0[1] = this.__zoom.invert(T.touch0[0]); - else if (T.end(), T.taps === 2 && (v = on(v, this), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) { - var z = Ut(this).on("dblclick.zoom"); - z && z.apply(this, arguments); - } - } + const n = Object.keys(e); + if (n.length !== Object.keys(t).length) return !1; + for (const o of n) + if (!Object.prototype.hasOwnProperty.call(t, o) || !Object.is(e[o], t[o])) + return !1; + return !0; +} +var $9 = { value: () => {} }; +function Ji() { + for (var e = 0, t = arguments.length, n = {}, o; e < t; ++e) { + if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) + throw new Error("illegal type: " + o); + n[o] = []; } - return g.wheelDelta = function(k) { - return arguments.length ? (o = typeof k == "function" ? k : Kr(+k), g) : o; - }, g.filter = function(k) { - return arguments.length ? (e = typeof k == "function" ? k : Kr(!!k), g) : e; - }, g.touchable = function(k) { - return arguments.length ? (r = typeof k == "function" ? k : Kr(!!k), g) : r; - }, g.extent = function(k) { - return arguments.length ? (t = typeof k == "function" ? k : Kr([[+k[0][0], +k[0][1]], [+k[1][0], +k[1][1]]]), g) : t; - }, g.scaleExtent = function(k) { - return arguments.length ? (i[0] = +k[0], i[1] = +k[1], g) : [i[0], i[1]]; - }, g.translateExtent = function(k) { - return arguments.length ? (a[0][0] = +k[0][0], a[1][0] = +k[1][0], a[0][1] = +k[0][1], a[1][1] = +k[1][1], g) : [[a[0][0], a[0][1]], [a[1][0], a[1][1]]]; - }, g.constrain = function(k) { - return arguments.length ? (n = k, g) : n; - }, g.duration = function(k) { - return arguments.length ? (l = +k, g) : l; - }, g.interpolate = function(k) { - return arguments.length ? (s = k, g) : s; - }, g.on = function() { - var k = u.on.apply(u, arguments); - return k === u ? g : k; - }, g.clickDistance = function(k) { - return arguments.length ? (b = (k = +k) * k, g) : Math.sqrt(b); - }, g.tapDistance = function(k) { - return arguments.length ? (y = +k, g) : y; - }, g; -} -const oa = zt(null), xm = oa.Provider, Kt = { - error001: () => "[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001", - error002: () => "It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.", - error003: (e) => `Node type "${e}" not found. Using fallback type "default".`, - error004: () => "The React Flow parent container needs a width and a height to render the graph.", - error005: () => "Only child nodes can use a parent extent.", - error006: () => "Can't create edge. An edge needs a source and a target.", - error007: (e) => `The old edge with id=${e} does not exist.`, - error009: (e) => `Marker type "${e}" doesn't exist.`, - error008: (e, t) => `Couldn't create edge for ${e ? "target" : "source"} handle id: "${e ? t.targetHandle : t.sourceHandle}", edge id: ${t.id}.`, - error010: () => "Handle: No node id found. Make sure to only use a Handle inside a custom Node.", - error011: (e) => `Edge type "${e}" not found. Using fallback type "default".`, - error012: (e) => `Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.` -}, y3 = Kt.error001(); -function Ze(e, t) { - const n = Je(oa); - if (n === null) - throw new Error(y3); - return Wd(n, e, t); + return new di(n); } -const nt = () => { - const e = Je(oa); - if (e === null) - throw new Error(y3); - return Be(() => ({ - getState: e.getState, - setState: e.setState, - subscribe: e.subscribe, - destroy: e.destroy - }), [e]); -}, wm = (e) => e.userSelectionActive ? "none" : "all"; -function C3({ position: e, children: t, className: n, style: o, ...r }) { - const i = Ze(wm), a = `${e}`.split("-"); - return $.createElement("div", { className: bt(["react-flow__panel", n, ...a]), style: { ...o, pointerEvents: i }, ...r }, t); +function di(e) { + this._ = e; } -function Em({ proOptions: e, position: t = "bottom-right" }) { - return e != null && e.hideAttribution ? null : $.createElement( - C3, - { position: t, className: "react-flow__attribution", "data-message": "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro" }, - $.createElement("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution" }, "React Flow") - ); +function W9(e, t) { + return e + .trim() + .split(/^|\s+/) + .map(function (n) { + var o = "", + r = n.indexOf("."); + if ( + (r >= 0 && ((o = n.slice(r + 1)), (n = n.slice(0, r))), + n && !t.hasOwnProperty(n)) + ) + throw new Error("unknown type: " + n); + return { type: n, name: o }; + }); } -const Sm = ({ x: e, y: t, label: n, labelStyle: o = {}, labelShowBg: r = !0, labelBgStyle: i = {}, labelBgPadding: a = [2, 4], labelBgBorderRadius: l = 2, children: s, className: u, ...c }) => { - const d = pe(null), [h, f] = ue({ x: 0, y: 0, width: 0, height: 0 }), m = bt(["react-flow__edge-textwrapper", u]); - return ce(() => { - if (d.current) { - const b = d.current.getBBox(); - f({ - x: b.x, - y: b.y, - width: b.width, - height: b.height - }); +di.prototype = Ji.prototype = { + constructor: di, + on: function (e, t) { + var n = this._, + o = W9(e + "", n), + r, + i = -1, + a = o.length; + if (arguments.length < 2) { + for (; ++i < a; ) + if ((r = (e = o[i]).type) && (r = Z9(n[r], e.name))) return r; + return; } - }, [n]), typeof n > "u" || !n ? null : $.createElement( - "g", - { transform: `translate(${e - h.width / 2} ${t - h.height / 2})`, className: m, visibility: h.width ? "visible" : "hidden", ...c }, - r && $.createElement("rect", { width: h.width + 2 * a[0], x: -a[0], y: -a[1], height: h.height + 2 * a[1], className: "react-flow__edge-textbg", style: i, rx: l, ry: l }), - $.createElement("text", { className: "react-flow__edge-text", y: h.height / 2, dy: "0.3em", ref: d, style: o }, n), - s - ); + if (t != null && typeof t != "function") + throw new Error("invalid callback: " + t); + for (; ++i < a; ) + if ((r = (e = o[i]).type)) n[r] = X2(n[r], e.name, t); + else if (t == null) for (r in n) n[r] = X2(n[r], e.name, null); + return this; + }, + copy: function () { + var e = {}, + t = this._; + for (var n in t) e[n] = t[n].slice(); + return new di(e); + }, + call: function (e, t) { + if ((r = arguments.length - 2) > 0) + for (var n = new Array(r), o = 0, r, i; o < r; ++o) + n[o] = arguments[o + 2]; + if (!this._.hasOwnProperty(e)) throw new Error("unknown type: " + e); + for (i = this._[e], o = 0, r = i.length; o < r; ++o) i[o].value.apply(t, n); + }, + apply: function (e, t, n) { + if (!this._.hasOwnProperty(e)) throw new Error("unknown type: " + e); + for (var o = this._[e], r = 0, i = o.length; r < i; ++r) + o[r].value.apply(t, n); + }, }; -var km = Ye(Sm); -const Sc = (e) => ({ - width: e.offsetWidth, - height: e.offsetHeight -}), Mo = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), kc = (e = { x: 0, y: 0 }, t) => ({ - x: Mo(e.x, t[0][0], t[1][0]), - y: Mo(e.y, t[0][1], t[1][1]) -}), gu = (e, t, n) => e < t ? Mo(Math.abs(e - t), 1, 50) / 50 : e > n ? -Mo(Math.abs(e - n), 1, 50) / 50 : 0, v3 = (e, t) => { - const n = gu(e.x, 35, t.width - 35) * 20, o = gu(e.y, 35, t.height - 35) * 20; - return [n, o]; -}, x3 = (e) => { - var t; - return ((t = e.getRootNode) == null ? void 0 : t.call(e)) || (window == null ? void 0 : window.document); -}, _m = (e, t) => ({ - x: Math.min(e.x, t.x), - y: Math.min(e.y, t.y), - x2: Math.max(e.x2, t.x2), - y2: Math.max(e.y2, t.y2) -}), _c = ({ x: e, y: t, width: n, height: o }) => ({ - x: e, - y: t, - x2: e + n, - y2: t + o -}), Am = ({ x: e, y: t, x2: n, y2: o }) => ({ - x: e, - y: t, - width: n - e, - height: o - t -}), mu = (e) => ({ - ...e.positionAbsolute || { x: 0, y: 0 }, - width: e.width || 0, - height: e.height || 0 -}), ws = (e, t) => { - const n = Math.max(0, Math.min(e.x + e.width, t.x + t.width) - Math.max(e.x, t.x)), o = Math.max(0, Math.min(e.y + e.height, t.y + t.height) - Math.max(e.y, t.y)); - return Math.ceil(n * o); -}, Mm = (e) => jt(e.width) && jt(e.height) && jt(e.x) && jt(e.y), jt = (e) => !isNaN(e) && isFinite(e), qe = Symbol.for("internals"), w3 = ["Enter", " ", "Escape"], E3 = (e, t) => { - process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); -}, Tm = (e) => "nativeEvent" in e; -function Es(e) { - var r, i; - const t = Tm(e) ? e.nativeEvent : e, n = ((i = (r = t.composedPath) == null ? void 0 : r.call(t)) == null ? void 0 : i[0]) || e.target; - return ["INPUT", "SELECT", "TEXTAREA"].includes(n == null ? void 0 : n.nodeName) || (n == null ? void 0 : n.hasAttribute("contenteditable")) || !!(n != null && n.closest(".nokey")); +function Z9(e, t) { + for (var n = 0, o = e.length, r; n < o; ++n) + if ((r = e[n]).name === t) return r.value; } -const S3 = (e) => "clientX" in e, Ln = (e, t) => { - var i, a; - const n = S3(e), o = n ? e.clientX : (i = e.touches) == null ? void 0 : i[0].clientX, r = n ? e.clientY : (a = e.touches) == null ? void 0 : a[0].clientY; - return { - x: o - ((t == null ? void 0 : t.left) ?? 0), - y: r - ((t == null ? void 0 : t.top) ?? 0) +function X2(e, t, n) { + for (var o = 0, r = e.length; o < r; ++o) + if (e[o].name === t) { + (e[o] = $9), (e = e.slice(0, o).concat(e.slice(o + 1))); + break; + } + return n != null && e.push({ name: t, value: n }), e; +} +var hs = "http://www.w3.org/1999/xhtml"; +const Q2 = { + svg: "http://www.w3.org/2000/svg", + xhtml: hs, + xlink: "http://www.w3.org/1999/xlink", + xml: "http://www.w3.org/XML/1998/namespace", + xmlns: "http://www.w3.org/2000/xmlns/", +}; +function ea(e) { + var t = (e += ""), + n = t.indexOf(":"); + return ( + n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), + Q2.hasOwnProperty(t) ? { space: Q2[t], local: e } : e + ); +} +function U9(e) { + return function () { + var t = this.ownerDocument, + n = this.namespaceURI; + return n === hs && t.documentElement.namespaceURI === hs + ? t.createElement(e) + : t.createElementNS(n, e); }; -}, Li = () => { - var e; - return typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.indexOf("Mac")) >= 0; -}, Fo = ({ id: e, path: t, labelX: n, labelY: o, label: r, labelStyle: i, labelShowBg: a, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: h, interactionWidth: f = 20 }) => $.createElement( - $.Fragment, - null, - $.createElement("path", { id: e, style: c, d: t, fill: "none", className: "react-flow__edge-path", markerEnd: d, markerStart: h }), - f && $.createElement("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: f, className: "react-flow__edge-interaction" }), - r && jt(n) && jt(o) ? $.createElement(km, { x: n, y: o, label: r, labelStyle: i, labelShowBg: a, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null -); -Fo.displayName = "BaseEdge"; -function Wo(e, t, n) { - return n === void 0 ? n : (o) => { - const r = t().edges.find((i) => i.id === e); - r && n(o, { ...r }); +} +function q9(e) { + return function () { + return this.ownerDocument.createElementNS(e.space, e.local); }; } -function k3({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { - const r = Math.abs(n - e) / 2, i = n < e ? n + r : n - r, a = Math.abs(o - t) / 2, l = o < t ? o + a : o - a; - return [i, l, r, a]; -} -function _3({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourceControlX: r, sourceControlY: i, targetControlX: a, targetControlY: l }) { - const s = e * 0.125 + r * 0.375 + a * 0.375 + n * 0.125, u = t * 0.125 + i * 0.375 + l * 0.375 + o * 0.125, c = Math.abs(s - e), d = Math.abs(u - t); - return [s, u, c, d]; -} -var Jn; -(function(e) { - e.Strict = "strict", e.Loose = "loose"; -})(Jn || (Jn = {})); -var Wn; -(function(e) { - e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal"; -})(Wn || (Wn = {})); -var mr; -(function(e) { - e.Partial = "partial", e.Full = "full"; -})(mr || (mr = {})); -var Nn; -(function(e) { - e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier"; -})(Nn || (Nn = {})); -var Fi; -(function(e) { - e.Arrow = "arrow", e.ArrowClosed = "arrowclosed"; -})(Fi || (Fi = {})); -var ae; -(function(e) { - e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom"; -})(ae || (ae = {})); -function bu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { - return e === ae.Left || e === ae.Right ? [0.5 * (t + o), n] : [t, 0.5 * (n + r)]; -} -function A3({ sourceX: e, sourceY: t, sourcePosition: n = ae.Bottom, targetX: o, targetY: r, targetPosition: i = ae.Top }) { - const [a, l] = bu({ - pos: n, - x1: e, - y1: t, - x2: o, - y2: r - }), [s, u] = bu({ - pos: i, - x1: o, - y1: r, - x2: e, - y2: t - }), [c, d, h, f] = _3({ - sourceX: e, - sourceY: t, - targetX: o, - targetY: r, - sourceControlX: a, - sourceControlY: l, - targetControlX: s, - targetControlY: u - }); - return [ - `M${e},${t} C${a},${l} ${s},${u} ${o},${r}`, - c, - d, - h, - f - ]; +function Zd(e) { + var t = ea(e); + return (t.local ? q9 : U9)(t); } -const Ac = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ae.Bottom, targetPosition: i = ae.Top, label: a, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, interactionWidth: b }) => { - const [y, g, x] = A3({ - sourceX: e, - sourceY: t, - sourcePosition: r, - targetX: n, - targetY: o, - targetPosition: i - }); - return $.createElement(Fo, { path: y, labelX: g, labelY: x, label: a, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, interactionWidth: b }); -}); -Ac.displayName = "SimpleBezierEdge"; -const yu = { - [ae.Left]: { x: -1, y: 0 }, - [ae.Right]: { x: 1, y: 0 }, - [ae.Top]: { x: 0, y: -1 }, - [ae.Bottom]: { x: 0, y: 1 } -}, Om = ({ source: e, sourcePosition: t = ae.Bottom, target: n }) => t === ae.Left || t === ae.Right ? e.x < n.x ? { x: 1, y: 0 } : { x: -1, y: 0 } : e.y < n.y ? { x: 0, y: 1 } : { x: 0, y: -1 }, Cu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); -function Nm({ source: e, sourcePosition: t = ae.Bottom, target: n, targetPosition: o = ae.Top, center: r, offset: i }) { - const a = yu[t], l = yu[o], s = { x: e.x + a.x * i, y: e.y + a.y * i }, u = { x: n.x + l.x * i, y: n.y + l.y * i }, c = Om({ - source: s, - sourcePosition: t, - target: u - }), d = c.x !== 0 ? "x" : "y", h = c[d]; - let f = [], m, b; - const y = { x: 0, y: 0 }, g = { x: 0, y: 0 }, [x, C, E, w] = k3({ - sourceX: e.x, - sourceY: e.y, - targetX: n.x, - targetY: n.y - }); - if (a[d] * l[d] === -1) { - m = r.x ?? x, b = r.y ?? C; - const _ = [ - { x: m, y: s.y }, - { x: m, y: u.y } - ], A = [ - { x: s.x, y: b }, - { x: u.x, y: b } - ]; - a[d] === h ? f = d === "x" ? _ : A : f = d === "x" ? A : _; - } else { - const _ = [{ x: s.x, y: u.y }], A = [{ x: u.x, y: s.y }]; - if (d === "x" ? f = a.x === h ? A : _ : f = a.y === h ? _ : A, t === o) { - const V = Math.abs(e[d] - n[d]); - if (V <= i) { - const k = Math.min(i - 1, i - V); - a[d] === h ? y[d] = (s[d] > e[d] ? -1 : 1) * k : g[d] = (u[d] > n[d] ? -1 : 1) * k; - } - } - if (t !== o) { - const V = d === "x" ? "y" : "x", k = a[d] === l[V], N = s[V] > u[V], T = s[V] < u[V]; - (a[d] === 1 && (!k && N || k && T) || a[d] !== 1 && (!k && T || k && N)) && (f = d === "x" ? _ : A); - } - const R = { x: s.x + y.x, y: s.y + y.y }, L = { x: u.x + g.x, y: u.y + g.y }, j = Math.max(Math.abs(R.x - f[0].x), Math.abs(L.x - f[0].x)), P = Math.max(Math.abs(R.y - f[0].y), Math.abs(L.y - f[0].y)); - j >= P ? (m = (R.x + L.x) / 2, b = f[0].y) : (m = f[0].x, b = (R.y + L.y) / 2); - } - return [[ - e, - { x: s.x + y.x, y: s.y + y.y }, - ...f, - { x: u.x + g.x, y: u.y + g.y }, - n - ], m, b, E, w]; +function Y9() {} +function yc(e) { + return e == null + ? Y9 + : function () { + return this.querySelector(e); + }; } -function Dm(e, t, n, o) { - const r = Math.min(Cu(e, t) / 2, Cu(t, n) / 2, o), { x: i, y: a } = t; - if (e.x === i && i === n.x || e.y === a && a === n.y) - return `L${i} ${a}`; - if (e.y === a) { - const u = e.x < n.x ? -1 : 1, c = e.y < n.y ? 1 : -1; - return `L ${i + r * u},${a}Q ${i},${a} ${i},${a + r * c}`; - } - const l = e.x < n.x ? 1 : -1, s = e.y < n.y ? -1 : 1; - return `L ${i},${a + r * s}Q ${i},${a} ${i + r * l},${a}`; +function G9(e) { + typeof e != "function" && (e = yc(e)); + for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) + for ( + var i = t[r], a = i.length, l = (o[r] = new Array(a)), s, u, c = 0; + c < a; + ++c + ) + (s = i[c]) && + (u = e.call(s, s.__data__, c, i)) && + ("__data__" in s && (u.__data__ = s.__data__), (l[c] = u)); + return new Tt(o, this._parents); } -function Ss({ sourceX: e, sourceY: t, sourcePosition: n = ae.Bottom, targetX: o, targetY: r, targetPosition: i = ae.Top, borderRadius: a = 5, centerX: l, centerY: s, offset: u = 20 }) { - const [c, d, h, f, m] = Nm({ - source: { x: e, y: t }, - sourcePosition: n, - target: { x: o, y: r }, - targetPosition: i, - center: { x: l, y: s }, - offset: u - }); - return [c.reduce((y, g, x) => { - let C = ""; - return x > 0 && x < c.length - 1 ? C = Dm(c[x - 1], g, c[x + 1], a) : C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`, y += C, y; - }, ""), d, h, f, m]; +function K9(e) { + return e == null ? [] : Array.isArray(e) ? e : Array.from(e); } -const ra = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: i, labelShowBg: a, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ae.Bottom, targetPosition: h = ae.Top, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = Ss({ - sourceX: e, - sourceY: t, - sourcePosition: d, - targetX: n, - targetY: o, - targetPosition: h, - borderRadius: b == null ? void 0 : b.borderRadius, - offset: b == null ? void 0 : b.offset - }); - return $.createElement(Fo, { path: g, labelX: x, labelY: C, label: r, labelStyle: i, labelShowBg: a, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: f, markerStart: m, interactionWidth: y }); -}); -ra.displayName = "SmoothStepEdge"; -const Mc = Ye((e) => { - var t; - return $.createElement(ra, { ...e, pathOptions: Be(() => { - var n; - return { borderRadius: 0, offset: (n = e.pathOptions) == null ? void 0 : n.offset }; - }, [(t = e.pathOptions) == null ? void 0 : t.offset]) }); -}); -Mc.displayName = "StepEdge"; -function Lm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { - const [r, i, a, l] = k3({ - sourceX: e, - sourceY: t, - targetX: n, - targetY: o - }); - return [`M ${e},${t}L ${n},${o}`, r, i, a, l]; +function X9() { + return []; } -const Tc = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: i, labelShowBg: a, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: h, interactionWidth: f }) => { - const [m, b, y] = Lm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); - return $.createElement(Fo, { path: m, labelX: b, labelY: y, label: r, labelStyle: i, labelShowBg: a, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: h, interactionWidth: f }); -}); -Tc.displayName = "StraightEdge"; -function Xr(e, t) { - return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); +function Ud(e) { + return e == null + ? X9 + : function () { + return this.querySelectorAll(e); + }; } -function vu({ pos: e, x1: t, y1: n, x2: o, y2: r, c: i }) { - switch (e) { - case ae.Left: - return [t - Xr(t - o, i), n]; - case ae.Right: - return [t + Xr(o - t, i), n]; - case ae.Top: - return [t, n - Xr(n - r, i)]; - case ae.Bottom: - return [t, n + Xr(r - n, i)]; - } +function Q9(e) { + return function () { + return K9(e.apply(this, arguments)); + }; } -function M3({ sourceX: e, sourceY: t, sourcePosition: n = ae.Bottom, targetX: o, targetY: r, targetPosition: i = ae.Top, curvature: a = 0.25 }) { - const [l, s] = vu({ - pos: n, - x1: e, - y1: t, - x2: o, - y2: r, - c: a - }), [u, c] = vu({ - pos: i, - x1: o, - y1: r, - x2: e, - y2: t, - c: a - }), [d, h, f, m] = _3({ - sourceX: e, - sourceY: t, - targetX: o, - targetY: r, - sourceControlX: l, - sourceControlY: s, - targetControlX: u, - targetControlY: c - }); - return [ - `M${e},${t} C${l},${s} ${u},${c} ${o},${r}`, - d, - h, - f, - m - ]; +function J9(e) { + typeof e == "function" ? (e = Q9(e)) : (e = Ud(e)); + for (var t = this._groups, n = t.length, o = [], r = [], i = 0; i < n; ++i) + for (var a = t[i], l = a.length, s, u = 0; u < l; ++u) + (s = a[u]) && (o.push(e.call(s, s.__data__, u, a)), r.push(s)); + return new Tt(o, r); } -const Ri = Ye(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ae.Bottom, targetPosition: i = ae.Top, label: a, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, pathOptions: b, interactionWidth: y }) => { - const [g, x, C] = M3({ - sourceX: e, - sourceY: t, - sourcePosition: r, - targetX: n, - targetY: o, - targetPosition: i, - curvature: b == null ? void 0 : b.curvature - }); - return $.createElement(Fo, { path: g, labelX: x, labelY: C, label: a, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: m, interactionWidth: y }); -}); -Ri.displayName = "BezierEdge"; -const Oc = zt(null), Fm = Oc.Provider; -Oc.Consumer; -const Rm = () => Je(Oc), jm = (e) => "id" in e && "source" in e && "target" in e, Im = (e) => "id" in e && !("source" in e) && !("target" in e), zm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, ks = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, Hm = (e, t) => t.some((n) => n.source === e.source && n.target === e.target && (n.sourceHandle === e.sourceHandle || !n.sourceHandle && !e.sourceHandle) && (n.targetHandle === e.targetHandle || !n.targetHandle && !e.targetHandle)), Pm = (e, t) => { - if (!e.source || !e.target) - return E3("006", Kt.error006()), t; - let n; - return jm(e) ? n = { ...e } : n = { - ...e, - id: zm(e) - }, Hm(n, t) ? t : t.concat(n); -}, _s = ({ x: e, y: t }, [n, o, r], i, [a, l]) => { - const s = { - x: (e - n) / r, - y: (t - o) / r +function qd(e) { + return function () { + return this.matches(e); }; - return i ? { - x: a * Math.round(s.x / a), - y: l * Math.round(s.y / l) - } : s; -}, T3 = ({ x: e, y: t }, [n, o, r]) => ({ - x: e * r + n, - y: t * r + o -}), mo = (e, t = [0, 0]) => { - if (!e) - return { - x: 0, - y: 0, - positionAbsolute: { - x: 0, - y: 0 - } - }; - const n = (e.width ?? 0) * t[0], o = (e.height ?? 0) * t[1], r = { - x: e.position.x - n, - y: e.position.y - o +} +function Yd(e) { + return function (t) { + return t.matches(e); }; - return { - ...r, - positionAbsolute: e.positionAbsolute ? { - x: e.positionAbsolute.x - n, - y: e.positionAbsolute.y - o - } : r +} +var ep = Array.prototype.find; +function tp(e) { + return function () { + return ep.call(this.children, e); }; -}, Nc = (e, t = [0, 0]) => { - if (e.length === 0) - return { x: 0, y: 0, width: 0, height: 0 }; - const n = e.reduce((o, r) => { - const { x: i, y: a } = mo(r, t).positionAbsolute; - return _m(o, _c({ - x: i, - y: a, - width: r.width || 0, - height: r.height || 0 - })); - }, { x: 1 / 0, y: 1 / 0, x2: -1 / 0, y2: -1 / 0 }); - return Am(n); -}, O3 = (e, t, [n, o, r] = [0, 0, 1], i = !1, a = !1, l = [0, 0]) => { - const s = { - x: (t.x - n) / r, - y: (t.y - o) / r, - width: t.width / r, - height: t.height / r - }, u = []; - return e.forEach((c) => { - const { width: d, height: h, selectable: f = !0, hidden: m = !1 } = c; - if (a && !f || m) - return !1; - const { positionAbsolute: b } = mo(c, l), y = { - x: b.x, - y: b.y, - width: d || 0, - height: h || 0 - }, g = ws(s, y), x = typeof d > "u" || typeof h > "u" || d === null || h === null, C = i && g > 0, E = (d || 0) * (h || 0); - (x || C || g >= E || c.dragging) && u.push(c); - }), u; -}, N3 = (e, t) => { - const n = e.map((o) => o.id); - return t.filter((o) => n.includes(o.source) || n.includes(o.target)); -}, D3 = (e, t, n, o, r, i = 0.1) => { - const a = t / (e.width * (1 + i)), l = n / (e.height * (1 + i)), s = Math.min(a, l), u = Mo(s, o, r), c = e.x + e.width / 2, d = e.y + e.height / 2, h = t / 2 - c * u, f = n / 2 - d * u; - return { x: h, y: f, zoom: u }; -}, Hn = (e, t = 0) => e.transition().duration(t); -function xu(e, t, n, o) { - return (t[n] || []).reduce((r, i) => { - var a, l; - return `${e.id}-${i.id}-${n}` !== o && r.push({ - id: i.id || null, - type: n, - nodeId: e.id, - x: (((a = e.positionAbsolute) == null ? void 0 : a.x) ?? 0) + i.x + i.width / 2, - y: (((l = e.positionAbsolute) == null ? void 0 : l.y) ?? 0) + i.y + i.height / 2 - }), r; - }, []); } -function Bm(e, t, n, o, r, i) { - const { x: a, y: l } = Ln(e), u = t.elementsFromPoint(a, l).find((m) => m.classList.contains("react-flow__handle")); - if (u) { - const m = u.getAttribute("data-nodeid"); - if (m) { - const b = Dc(void 0, u), y = u.getAttribute("data-handleid"), g = i({ nodeId: m, id: y, type: b }); - if (g) { - const x = r.find((C) => C.nodeId === m && C.type === b && C.id === y); - return { - handle: { - id: y, - type: b, - nodeId: m, - x: (x == null ? void 0 : x.x) || n.x, - y: (x == null ? void 0 : x.y) || n.y - }, - validHandleResult: g - }; - } - } - } - let c = [], d = 1 / 0; - if (r.forEach((m) => { - const b = Math.sqrt((m.x - n.x) ** 2 + (m.y - n.y) ** 2); - if (b <= o) { - const y = i(m); - b <= d && (b < d ? c = [{ handle: m, validHandleResult: y }] : b === d && c.push({ - handle: m, - validHandleResult: y - }), d = b); - } - }), !c.length) - return { handle: null, validHandleResult: L3() }; - if (c.length === 1) - return c[0]; - const h = c.some(({ validHandleResult: m }) => m.isValid), f = c.some(({ handle: m }) => m.type === "target"); - return c.find(({ handle: m, validHandleResult: b }) => f ? m.type === "target" : h ? b.isValid : !0) || c[0]; -} -const Vm = { source: null, target: null, sourceHandle: null, targetHandle: null }, L3 = () => ({ - handleDomNode: null, - isValid: !1, - connection: Vm, - endHandle: null -}); -function F3(e, t, n, o, r, i, a) { - const l = r === "target", s = a.querySelector(`.react-flow__handle[data-id="${e == null ? void 0 : e.nodeId}-${e == null ? void 0 : e.id}-${e == null ? void 0 : e.type}"]`), u = { - ...L3(), - handleDomNode: s +function np() { + return this.firstElementChild; +} +function op(e) { + return this.select(e == null ? np : tp(typeof e == "function" ? e : Yd(e))); +} +var rp = Array.prototype.filter; +function ip() { + return Array.from(this.children); +} +function ap(e) { + return function () { + return rp.call(this.children, e); }; - if (s) { - const c = Dc(void 0, s), d = s.getAttribute("data-nodeid"), h = s.getAttribute("data-handleid"), f = s.classList.contains("connectable"), m = s.classList.contains("connectableend"), b = { - source: l ? d : n, - sourceHandle: l ? h : o, - target: l ? n : d, - targetHandle: l ? o : h - }; - u.connection = b, f && m && (t === Jn.Strict ? l && c === "source" || !l && c === "target" : d !== n || h !== o) && (u.endHandle = { - nodeId: d, - handleId: h, - type: c - }, u.isValid = i(b)); - } - return u; } -function $m({ nodes: e, nodeId: t, handleId: n, handleType: o }) { - return e.reduce((r, i) => { - if (i[qe]) { - const { handleBounds: a } = i[qe]; - let l = [], s = []; - a && (l = xu(i, a, "source", `${t}-${n}-${o}`), s = xu(i, a, "target", `${t}-${n}-${o}`)), r.push(...l, ...s); - } - return r; - }, []); +function lp(e) { + return this.selectAll( + e == null ? ip : ap(typeof e == "function" ? e : Yd(e)), + ); } -function Dc(e, t) { - return e || (t != null && t.classList.contains("target") ? "target" : t != null && t.classList.contains("source") ? "source" : null); +function sp(e) { + typeof e != "function" && (e = qd(e)); + for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) + for (var i = t[r], a = i.length, l = (o[r] = []), s, u = 0; u < a; ++u) + (s = i[u]) && e.call(s, s.__data__, u, i) && l.push(s); + return new Tt(o, this._parents); } -function Fl(e) { - e == null || e.classList.remove("valid", "connecting", "react-flow__handle-valid", "react-flow__handle-connecting"); +function Gd(e) { + return new Array(e.length); } -function Wm(e, t) { - let n = null; - return t ? n = "valid" : e && !t && (n = "invalid"), n; +function cp() { + return new Tt(this._enter || this._groups.map(Gd), this._parents); } -function R3({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getState: i, setState: a, isValidConnection: l, edgeUpdaterType: s, onReconnectEnd: u }) { - const c = x3(e.target), { connectionMode: d, domNode: h, autoPanOnConnect: f, connectionRadius: m, onConnectStart: b, panBy: y, getNodes: g, cancelConnection: x } = i(); - let C = 0, E; - const { x: w, y: S } = Ln(e), _ = c == null ? void 0 : c.elementFromPoint(w, S), A = Dc(s, _), R = h == null ? void 0 : h.getBoundingClientRect(); - if (!R || !A) - return; - let L, j = Ln(e, R), P = !1, V = null, k = !1, N = null; - const T = $m({ - nodes: g(), - nodeId: n, - handleId: t, - handleType: A - }), F = () => { - if (!f) - return; - const [v, z] = v3(j, R); - y({ x: v, y: z }), C = requestAnimationFrame(F); - }; - a({ - connectionPosition: j, - connectionStatus: null, - // connectionNodeId etc will be removed in the next major in favor of connectionStartHandle - connectionNodeId: n, - connectionHandleId: t, - connectionHandleType: A, - connectionStartHandle: { - nodeId: n, - handleId: t, - type: A - }, - connectionEndHandle: null - }), b == null || b(e, { nodeId: n, handleId: t, handleType: A }); - function I(v) { - const { transform: z } = i(); - j = Ln(v, R); - const { handle: B, validHandleResult: M } = Bm(v, c, _s(j, z, !1, [1, 1]), m, T, (W) => F3(W, d, n, t, r ? "target" : "source", l, c)); - if (E = B, P || (F(), P = !0), N = M.handleDomNode, V = M.connection, k = M.isValid, a({ - connectionPosition: E && k ? T3({ - x: E.x, - y: E.y - }, z) : j, - connectionStatus: Wm(!!E, k), - connectionEndHandle: M.endHandle - }), !E && !k && !N) - return Fl(L); - V.source !== V.target && N && (Fl(L), L = N, N.classList.add("connecting", "react-flow__handle-connecting"), N.classList.toggle("valid", k), N.classList.toggle("react-flow__handle-valid", k)); - } - function D(v) { - var z, B; - (E || N) && V && k && (o == null || o(V)), (B = (z = i()).onConnectEnd) == null || B.call(z, v), s && (u == null || u(v)), Fl(L), x(), cancelAnimationFrame(C), P = !1, k = !1, V = null, N = null, c.removeEventListener("mousemove", I), c.removeEventListener("mouseup", D), c.removeEventListener("touchmove", I), c.removeEventListener("touchend", D); - } - c.addEventListener("mousemove", I), c.addEventListener("mouseup", D), c.addEventListener("touchmove", I), c.addEventListener("touchend", D); +function Ai(e, t) { + (this.ownerDocument = e.ownerDocument), + (this.namespaceURI = e.namespaceURI), + (this._next = null), + (this._parent = e), + (this.__data__ = t); } -const wu = () => !0, Zm = (e) => ({ - connectionStartHandle: e.connectionStartHandle, - connectOnClick: e.connectOnClick, - noPanClassName: e.noPanClassName -}), Um = (e, t, n) => (o) => { - const { connectionStartHandle: r, connectionEndHandle: i, connectionClickStartHandle: a } = o; - return { - connecting: (r == null ? void 0 : r.nodeId) === e && (r == null ? void 0 : r.handleId) === t && (r == null ? void 0 : r.type) === n || (i == null ? void 0 : i.nodeId) === e && (i == null ? void 0 : i.handleId) === t && (i == null ? void 0 : i.type) === n, - clickConnecting: (a == null ? void 0 : a.nodeId) === e && (a == null ? void 0 : a.handleId) === t && (a == null ? void 0 : a.type) === n - }; -}, j3 = Ys(({ type: e = "source", position: t = ae.Top, isValidConnection: n, isConnectable: o = !0, isConnectableStart: r = !0, isConnectableEnd: i = !0, id: a, onConnect: l, children: s, className: u, onMouseDown: c, onTouchStart: d, ...h }, f) => { - var R, L; - const m = a || null, b = e === "target", y = nt(), g = Rm(), { connectOnClick: x, noPanClassName: C } = Ze(Zm, st), { connecting: E, clickConnecting: w } = Ze(Um(g, m, e), st); - g || (L = (R = y.getState()).onError) == null || L.call(R, "010", Kt.error010()); - const S = (j) => { - const { defaultEdgeOptions: P, onConnect: V, hasDefaultEdges: k } = y.getState(), N = { - ...P, - ...j - }; - if (k) { - const { edges: T, setEdges: F } = y.getState(); - F(Pm(N, T)); - } - V == null || V(N), l == null || l(N); - }, _ = (j) => { - if (!g) - return; - const P = S3(j); - r && (P && j.button === 0 || !P) && R3({ - event: j, - handleId: m, - nodeId: g, - onConnect: S, - isTarget: b, - getState: y.getState, - setState: y.setState, - isValidConnection: n || y.getState().isValidConnection || wu - }), P ? c == null || c(j) : d == null || d(j); - }, A = (j) => { - const { onClickConnectStart: P, onClickConnectEnd: V, connectionClickStartHandle: k, connectionMode: N, isValidConnection: T } = y.getState(); - if (!g || !k && !r) - return; - if (!k) { - P == null || P(j, { nodeId: g, handleId: m, handleType: e }), y.setState({ connectionClickStartHandle: { nodeId: g, type: e, handleId: m } }); - return; - } - const F = x3(j.target), I = n || T || wu, { connection: D, isValid: v } = F3({ - nodeId: g, - id: m, - type: e - }, N, k.nodeId, k.handleId || null, k.type, I, F); - v && S(D), V == null || V(j), y.setState({ connectionClickStartHandle: null }); - }; - return $.createElement("div", { "data-handleid": m, "data-nodeid": g, "data-handlepos": t, "data-id": `${g}-${m}-${e}`, className: bt([ - "react-flow__handle", - `react-flow__handle-${t}`, - "nodrag", - C, - u, - { - source: !b, - target: b, - connectable: o, - connectablestart: r, - connectableend: i, - connecting: w, - // this class is used to style the handle when the user is connecting - connectionindicator: o && (r && !E || i && E) - } - ]), onMouseDown: _, onTouchStart: _, onClick: x ? A : void 0, ref: f, ...h }, s); -}); -j3.displayName = "Handle"; -var Lt = Ye(j3); -const I3 = ({ data: e, isConnectable: t, targetPosition: n = ae.Top, sourcePosition: o = ae.Bottom }) => $.createElement( - $.Fragment, - null, - $.createElement(Lt, { type: "target", position: n, isConnectable: t }), - e == null ? void 0 : e.label, - $.createElement(Lt, { type: "source", position: o, isConnectable: t }) -); -I3.displayName = "DefaultNode"; -var As = Ye(I3); -const z3 = ({ data: e, isConnectable: t, sourcePosition: n = ae.Bottom }) => $.createElement( - $.Fragment, - null, - e == null ? void 0 : e.label, - $.createElement(Lt, { type: "source", position: n, isConnectable: t }) -); -z3.displayName = "InputNode"; -var H3 = Ye(z3); -const P3 = ({ data: e, isConnectable: t, targetPosition: n = ae.Top }) => $.createElement( - $.Fragment, - null, - $.createElement(Lt, { type: "target", position: n, isConnectable: t }), - e == null ? void 0 : e.label -); -P3.displayName = "OutputNode"; -var B3 = Ye(P3); -const Lc = () => null; -Lc.displayName = "GroupNode"; -const qm = (e) => ({ - selectedNodes: e.getNodes().filter((t) => t.selected), - selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })) -}), Qr = (e) => e.id; -function Ym(e, t) { - return st(e.selectedNodes.map(Qr), t.selectedNodes.map(Qr)) && st(e.selectedEdges.map(Qr), t.selectedEdges.map(Qr)); -} -const V3 = Ye(({ onSelectionChange: e }) => { - const t = nt(), { selectedNodes: n, selectedEdges: o } = Ze(qm, Ym); - return ce(() => { - const r = { nodes: n, edges: o }; - e == null || e(r), t.getState().onSelectionChange.forEach((i) => i(r)); - }, [n, o, e]), null; -}); -V3.displayName = "SelectionListener"; -const Gm = (e) => !!e.onSelectionChange; -function Km({ onSelectionChange: e }) { - const t = Ze(Gm); - return e || t ? $.createElement(V3, { onSelectionChange: e }) : null; +Ai.prototype = { + constructor: Ai, + appendChild: function (e) { + return this._parent.insertBefore(e, this._next); + }, + insertBefore: function (e, t) { + return this._parent.insertBefore(e, t); + }, + querySelector: function (e) { + return this._parent.querySelector(e); + }, + querySelectorAll: function (e) { + return this._parent.querySelectorAll(e); + }, +}; +function up(e) { + return function () { + return e; + }; } -const Xm = (e) => ({ - setNodes: e.setNodes, - setEdges: e.setEdges, - setDefaultNodesAndEdges: e.setDefaultNodesAndEdges, - setMinZoom: e.setMinZoom, - setMaxZoom: e.setMaxZoom, - setTranslateExtent: e.setTranslateExtent, - setNodeExtent: e.setNodeExtent, - reset: e.reset -}); -function io(e, t) { - ce(() => { - typeof e < "u" && t(e); - }, [e]); +function dp(e, t, n, o, r, i) { + for (var a = 0, l, s = t.length, u = i.length; a < u; ++a) + (l = t[a]) ? ((l.__data__ = i[a]), (o[a] = l)) : (n[a] = new Ai(e, i[a])); + for (; a < s; ++a) (l = t[a]) && (r[a] = l); } -function Ce(e, t, n) { - ce(() => { - typeof t < "u" && n({ [e]: t }); - }, [t]); +function fp(e, t, n, o, r, i, a) { + var l, + s, + u = /* @__PURE__ */ new Map(), + c = t.length, + d = i.length, + h = new Array(c), + f; + for (l = 0; l < c; ++l) + (s = t[l]) && + ((h[l] = f = a.call(s, s.__data__, l, t) + ""), + u.has(f) ? (r[l] = s) : u.set(f, s)); + for (l = 0; l < d; ++l) + (f = a.call(e, i[l], l, i) + ""), + (s = u.get(f)) + ? ((o[l] = s), (s.__data__ = i[l]), u.delete(f)) + : (n[l] = new Ai(e, i[l])); + for (l = 0; l < c; ++l) (s = t[l]) && u.get(h[l]) === s && (r[l] = s); } -const Qm = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: r, onConnectStart: i, onConnectEnd: a, onClickConnectStart: l, onClickConnectEnd: s, nodesDraggable: u, nodesConnectable: c, nodesFocusable: d, edgesFocusable: h, edgesUpdatable: f, elevateNodesOnSelect: m, minZoom: b, maxZoom: y, nodeExtent: g, onNodesChange: x, onEdgesChange: C, elementsSelectable: E, connectionMode: w, snapGrid: S, snapToGrid: _, translateExtent: A, connectOnClick: R, defaultEdgeOptions: L, fitView: j, fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: F, onSelectionDrag: I, onSelectionDragStart: D, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, rfId: M, autoPanOnConnect: W, autoPanOnNodeDrag: G, onError: K, connectionRadius: Q, isValidConnection: ne, nodeDragThreshold: oe }) => { - const { setNodes: U, setEdges: ge, setDefaultNodesAndEdges: J, setMinZoom: ke, setMaxZoom: ie, setTranslateExtent: _e, setNodeExtent: $e, reset: Ee } = Ze(Xm, st), le = nt(); - return ce(() => { - const Ge = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...L })); - return J(n, Ge), () => { - Ee(); - }; - }, []), Ce("defaultEdgeOptions", L, le.setState), Ce("connectionMode", w, le.setState), Ce("onConnect", r, le.setState), Ce("onConnectStart", i, le.setState), Ce("onConnectEnd", a, le.setState), Ce("onClickConnectStart", l, le.setState), Ce("onClickConnectEnd", s, le.setState), Ce("nodesDraggable", u, le.setState), Ce("nodesConnectable", c, le.setState), Ce("nodesFocusable", d, le.setState), Ce("edgesFocusable", h, le.setState), Ce("edgesUpdatable", f, le.setState), Ce("elementsSelectable", E, le.setState), Ce("elevateNodesOnSelect", m, le.setState), Ce("snapToGrid", _, le.setState), Ce("snapGrid", S, le.setState), Ce("onNodesChange", x, le.setState), Ce("onEdgesChange", C, le.setState), Ce("connectOnClick", R, le.setState), Ce("fitViewOnInit", j, le.setState), Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", F, le.setState), Ce("onSelectionDrag", I, le.setState), Ce("onSelectionDragStart", D, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), Ce("rfId", M, le.setState), Ce("autoPanOnConnect", W, le.setState), Ce("autoPanOnNodeDrag", G, le.setState), Ce("onError", K, le.setState), Ce("connectionRadius", Q, le.setState), Ce("isValidConnection", ne, le.setState), Ce("nodeDragThreshold", oe, le.setState), io(e, U), io(t, ge), io(b, ke), io(y, ie), io(A, _e), io(g, $e), null; -}, Eu = { display: "none" }, Jm = { - position: "absolute", - width: 1, - height: 1, - margin: -1, - border: 0, - padding: 0, - overflow: "hidden", - clip: "rect(0px, 0px, 0px, 0px)", - clipPath: "inset(100%)" -}, $3 = "react-flow__node-desc", W3 = "react-flow__edge-desc", eb = "react-flow__aria-live", tb = (e) => e.ariaLiveMessage; -function nb({ rfId: e }) { - const t = Ze(tb); - return $.createElement("div", { id: `${eb}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: Jm }, t); +function pp(e) { + return e.__data__; } -function ob({ rfId: e, disableKeyboardA11y: t }) { - return $.createElement( - $.Fragment, - null, - $.createElement( - "div", - { id: `${$3}-${e}`, style: Eu }, - "Press enter or space to select a node.", - !t && "You can then use the arrow keys to move the node around.", - " Press delete to remove it and escape to cancel.", - " " - ), - $.createElement("div", { id: `${W3}-${e}`, style: Eu }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), - !t && $.createElement(nb, { rfId: e }) - ); +function hp(e, t) { + if (!arguments.length) return Array.from(this, pp); + var n = t ? fp : dp, + o = this._parents, + r = this._groups; + typeof e != "function" && (e = up(e)); + for ( + var i = r.length, + a = new Array(i), + l = new Array(i), + s = new Array(i), + u = 0; + u < i; + ++u + ) { + var c = o[u], + d = r[u], + h = d.length, + f = gp(e.call(c, c && c.__data__, u, o)), + m = f.length, + b = (l[u] = new Array(m)), + y = (a[u] = new Array(m)), + g = (s[u] = new Array(h)); + n(c, d, b, y, g, f, t); + for (var x = 0, C = 0, E, w; x < m; ++x) + if ((E = b[x])) { + for (x >= C && (C = x + 1); !(w = y[C]) && ++C < m; ); + E._next = w || null; + } + } + return (a = new Tt(a, o)), (a._enter = l), (a._exit = s), a; } -var br = (e = null, t = { actInsideInputWithModifier: !0 }) => { - const [n, o] = ue(!1), r = pe(!1), i = pe(/* @__PURE__ */ new Set([])), [a, l] = Be(() => { - if (e !== null) { - const u = (Array.isArray(e) ? e : [e]).filter((d) => typeof d == "string").map((d) => d.split("+")), c = u.reduce((d, h) => d.concat(...h), []); - return [u, c]; - } - return [[], []]; - }, [e]); - return ce(() => { - const s = typeof document < "u" ? document : null, u = (t == null ? void 0 : t.target) || s; - if (e !== null) { - const c = (f) => { - if (r.current = f.ctrlKey || f.metaKey || f.shiftKey, (!r.current || r.current && !t.actInsideInputWithModifier) && Es(f)) - return !1; - const b = ku(f.code, l); - i.current.add(f[b]), Su(a, i.current, !1) && (f.preventDefault(), o(!0)); - }, d = (f) => { - if ((!r.current || r.current && !t.actInsideInputWithModifier) && Es(f)) - return !1; - const b = ku(f.code, l); - Su(a, i.current, !0) ? (o(!1), i.current.clear()) : i.current.delete(f[b]), f.key === "Meta" && i.current.clear(), r.current = !1; - }, h = () => { - i.current.clear(), o(!1); - }; - return u == null || u.addEventListener("keydown", c), u == null || u.addEventListener("keyup", d), window.addEventListener("blur", h), () => { - u == null || u.removeEventListener("keydown", c), u == null || u.removeEventListener("keyup", d), window.removeEventListener("blur", h); - }; - } - }, [e, o]), n; -}; -function Su(e, t, n) { - return e.filter((o) => n || o.length === t.size).some((o) => o.every((r) => t.has(r))); +function gp(e) { + return typeof e == "object" && "length" in e ? e : Array.from(e); } -function ku(e, t) { - return t.includes(e) ? "code" : "key"; +function mp() { + return new Tt(this._exit || this._groups.map(Gd), this._parents); } -function Z3(e, t, n, o) { - var l, s; - const r = e.parentNode || e.parentId; - if (!r) - return n; - const i = t.get(r), a = mo(i, o); - return Z3(i, t, { - x: (n.x ?? 0) + a.x, - y: (n.y ?? 0) + a.y, - z: (((l = i[qe]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) ? ((s = i[qe]) == null ? void 0 : s.z) ?? 0 : n.z ?? 0 - }, o); +function bp(e, t, n) { + var o = this.enter(), + r = this, + i = this.exit(); + return ( + typeof e == "function" + ? ((o = e(o)), o && (o = o.selection())) + : (o = o.append(e + "")), + t != null && ((r = t(r)), r && (r = r.selection())), + n == null ? i.remove() : n(i), + o && r ? o.merge(r).order() : r + ); } -function U3(e, t, n) { - e.forEach((o) => { - var i; - const r = o.parentNode || o.parentId; - if (r && !e.has(r)) - throw new Error(`Parent node ${r} not found`); - if (r || n != null && n[o.id]) { - const { x: a, y: l, z: s } = Z3(o, e, { - ...o.position, - z: ((i = o[qe]) == null ? void 0 : i.z) ?? 0 - }, t); - o.positionAbsolute = { - x: a, - y: l - }, o[qe].z = s, n != null && n[o.id] && (o[qe].isParent = !0); - } - }); +function yp(e) { + for ( + var t = e.selection ? e.selection() : e, + n = this._groups, + o = t._groups, + r = n.length, + i = o.length, + a = Math.min(r, i), + l = new Array(r), + s = 0; + s < a; + ++s + ) + for ( + var u = n[s], c = o[s], d = u.length, h = (l[s] = new Array(d)), f, m = 0; + m < d; + ++m + ) + (f = u[m] || c[m]) && (h[m] = f); + for (; s < r; ++s) l[s] = n[s]; + return new Tt(l, this._parents); } -function Rl(e, t, n, o) { - const r = /* @__PURE__ */ new Map(), i = {}, a = o ? 1e3 : 0; - return e.forEach((l) => { - var f; - const s = (jt(l.zIndex) ? l.zIndex : 0) + (l.selected ? a : 0), u = t.get(l.id), c = { - ...l, - positionAbsolute: { - x: l.position.x, - y: l.position.y - } - }, d = l.parentNode || l.parentId; - d && (i[d] = !0); - const h = (u == null ? void 0 : u.type) && (u == null ? void 0 : u.type) !== l.type; - Object.defineProperty(c, qe, { - enumerable: !1, - value: { - handleBounds: h || (f = u == null ? void 0 : u[qe]) == null ? void 0 : f.handleBounds, - z: s - } - }), r.set(l.id, c); - }), U3(r, n, i), r; +function Cp() { + for (var e = this._groups, t = -1, n = e.length; ++t < n; ) + for (var o = e[t], r = o.length - 1, i = o[r], a; --r >= 0; ) + (a = o[r]) && + (i && + a.compareDocumentPosition(i) ^ 4 && + i.parentNode.insertBefore(a, i), + (i = a)); + return this; } -function q3(e, t = {}) { - const { getNodes: n, width: o, height: r, minZoom: i, maxZoom: a, d3Zoom: l, d3Selection: s, fitViewOnInitDone: u, fitViewOnInit: c, nodeOrigin: d } = e(), h = t.initial && !u && c; - if (l && s && (h || !t.initial)) { - const m = n().filter((y) => { - var x; - const g = t.includeHiddenNodes ? y.width && y.height : !y.hidden; - return (x = t.nodes) != null && x.length ? g && t.nodes.some((C) => C.id === y.id) : g; - }), b = m.every((y) => y.width && y.height); - if (m.length > 0 && b) { - const y = Nc(m, d), { x: g, y: x, zoom: C } = D3(y, o, r, t.minZoom ?? i, t.maxZoom ?? a, t.padding ?? 0.1), E = Dn.translate(g, x).scale(C); - return typeof t.duration == "number" && t.duration > 0 ? l.transform(Hn(s, t.duration), E) : l.transform(s, E), !0; - } +function vp(e) { + e || (e = xp); + function t(d, h) { + return d && h ? e(d.__data__, h.__data__) : !d - !h; } - return !1; + for ( + var n = this._groups, o = n.length, r = new Array(o), i = 0; + i < o; + ++i + ) { + for ( + var a = n[i], l = a.length, s = (r[i] = new Array(l)), u, c = 0; + c < l; + ++c + ) + (u = a[c]) && (s[c] = u); + s.sort(t); + } + return new Tt(r, this._parents).order(); } -function rb(e, t) { - return e.forEach((n) => { - const o = t.get(n.id); - o && t.set(o.id, { - ...o, - [qe]: o[qe], - selected: n.selected - }); - }), new Map(t); +function xp(e, t) { + return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN; } -function ib(e, t) { - return t.map((n) => { - const o = e.find((r) => r.id === n.id); - return o && (n.selected = o.selected), n; - }); +function wp() { + var e = arguments[0]; + return (arguments[0] = this), e.apply(null, arguments), this; } -function Jr({ changedNodes: e, changedEdges: t, get: n, set: o }) { - const { nodeInternals: r, edges: i, onNodesChange: a, onEdgesChange: l, hasDefaultNodes: s, hasDefaultEdges: u } = n(); - e != null && e.length && (s && o({ nodeInternals: rb(e, r) }), a == null || a(e)), t != null && t.length && (u && o({ edges: ib(t, i) }), l == null || l(t)); -} -const ao = () => { -}, ab = { - zoomIn: ao, - zoomOut: ao, - zoomTo: ao, - getZoom: () => 1, - setViewport: ao, - getViewport: () => ({ x: 0, y: 0, zoom: 1 }), - fitView: () => !1, - setCenter: ao, - fitBounds: ao, - project: (e) => e, - screenToFlowPosition: (e) => e, - flowToScreenPosition: (e) => e, - viewportInitialized: !1 -}, lb = (e) => ({ - d3Zoom: e.d3Zoom, - d3Selection: e.d3Selection -}), sb = () => { - const e = nt(), { d3Zoom: t, d3Selection: n } = Ze(lb, st); - return Be(() => n && t ? { - zoomIn: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1.2), - zoomOut: (r) => t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1 / 1.2), - zoomTo: (r, i) => t.scaleTo(Hn(n, i == null ? void 0 : i.duration), r), - getZoom: () => e.getState().transform[2], - setViewport: (r, i) => { - const [a, l, s] = e.getState().transform, u = Dn.translate(r.x ?? a, r.y ?? l).scale(r.zoom ?? s); - t.transform(Hn(n, i == null ? void 0 : i.duration), u); - }, - getViewport: () => { - const [r, i, a] = e.getState().transform; - return { x: r, y: i, zoom: a }; - }, - fitView: (r) => q3(e.getState, r), - setCenter: (r, i, a) => { - const { width: l, height: s, maxZoom: u } = e.getState(), c = typeof (a == null ? void 0 : a.zoom) < "u" ? a.zoom : u, d = l / 2 - r * c, h = s / 2 - i * c, f = Dn.translate(d, h).scale(c); - t.transform(Hn(n, a == null ? void 0 : a.duration), f); - }, - fitBounds: (r, i) => { - const { width: a, height: l, minZoom: s, maxZoom: u } = e.getState(), { x: c, y: d, zoom: h } = D3(r, a, l, s, u, (i == null ? void 0 : i.padding) ?? 0.1), f = Dn.translate(c, d).scale(h); - t.transform(Hn(n, i == null ? void 0 : i.duration), f); - }, - // @deprecated Use `screenToFlowPosition`. - project: (r) => { - const { transform: i, snapToGrid: a, snapGrid: l } = e.getState(); - return console.warn("[DEPRECATED] `project` is deprecated. Instead use `screenToFlowPosition`. There is no need to subtract the react flow bounds anymore! https://reactflow.dev/api-reference/types/react-flow-instance#screen-to-flow-position"), _s(r, i, a, l); - }, - screenToFlowPosition: (r) => { - const { transform: i, snapToGrid: a, snapGrid: l, domNode: s } = e.getState(); - if (!s) - return r; - const { x: u, y: c } = s.getBoundingClientRect(), d = { - x: r.x - u, - y: r.y - c - }; - return _s(d, i, a, l); - }, - flowToScreenPosition: (r) => { - const { transform: i, domNode: a } = e.getState(); - if (!a) - return r; - const { x: l, y: s } = a.getBoundingClientRect(), u = T3(r, i); - return { - x: u.x + l, - y: u.y + s - }; - }, - viewportInitialized: !0 - } : ab, [t, n]); -}; -function Qt() { - const e = sb(), t = nt(), n = Me(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = Me((b) => t.getState().nodeInternals.get(b), []), r = Me(() => { - const { edges: b = [] } = t.getState(); - return b.map((y) => ({ ...y })); - }, []), i = Me((b) => { - const { edges: y = [] } = t.getState(); - return y.find((g) => g.id === b); - }, []), a = Me((b) => { - const { getNodes: y, setNodes: g, hasDefaultNodes: x, onNodesChange: C } = t.getState(), E = y(), w = typeof b == "function" ? b(E) : b; - if (x) - g(w); - else if (C) { - const S = w.length === 0 ? E.map((_) => ({ type: "remove", id: _.id })) : w.map((_) => ({ item: _, type: "reset" })); - C(S); - } - }, []), l = Me((b) => { - const { edges: y = [], setEdges: g, hasDefaultEdges: x, onEdgesChange: C } = t.getState(), E = typeof b == "function" ? b(y) : b; - if (x) - g(E); - else if (C) { - const w = E.length === 0 ? y.map((S) => ({ type: "remove", id: S.id })) : E.map((S) => ({ item: S, type: "reset" })); - C(w); - } - }, []), s = Me((b) => { - const y = Array.isArray(b) ? b : [b], { getNodes: g, setNodes: x, hasDefaultNodes: C, onNodesChange: E } = t.getState(); - if (C) { - const S = [...g(), ...y]; - x(S); - } else if (E) { - const w = y.map((S) => ({ item: S, type: "add" })); - E(w); - } - }, []), u = Me((b) => { - const y = Array.isArray(b) ? b : [b], { edges: g = [], setEdges: x, hasDefaultEdges: C, onEdgesChange: E } = t.getState(); - if (C) - x([...g, ...y]); - else if (E) { - const w = y.map((S) => ({ item: S, type: "add" })); - E(w); - } - }, []), c = Me(() => { - const { getNodes: b, edges: y = [], transform: g } = t.getState(), [x, C, E] = g; - return { - nodes: b().map((w) => ({ ...w })), - edges: y.map((w) => ({ ...w })), - viewport: { - x, - y: C, - zoom: E - } - }; - }, []), d = Me(({ nodes: b, edges: y }) => { - const { nodeInternals: g, getNodes: x, edges: C, hasDefaultNodes: E, hasDefaultEdges: w, onNodesDelete: S, onEdgesDelete: _, onNodesChange: A, onEdgesChange: R } = t.getState(), L = (b || []).map((N) => N.id), j = (y || []).map((N) => N.id), P = x().reduce((N, T) => { - const F = T.parentNode || T.parentId, I = !L.includes(T.id) && F && N.find((v) => v.id === F); - return (typeof T.deletable == "boolean" ? T.deletable : !0) && (L.includes(T.id) || I) && N.push(T), N; - }, []), V = C.filter((N) => typeof N.deletable == "boolean" ? N.deletable : !0), k = V.filter((N) => j.includes(N.id)); - if (P || k) { - const N = N3(P, V), T = [...k, ...N], F = T.reduce((I, D) => (I.includes(D.id) || I.push(D.id), I), []); - if ((w || E) && (w && t.setState({ - edges: C.filter((I) => !F.includes(I.id)) - }), E && (P.forEach((I) => { - g.delete(I.id); - }), t.setState({ - nodeInternals: new Map(g) - }))), F.length > 0 && (_ == null || _(T), R && R(F.map((I) => ({ - id: I, - type: "remove" - })))), P.length > 0 && (S == null || S(P), A)) { - const I = P.map((D) => ({ id: D.id, type: "remove" })); - A(I); - } - } - }, []), h = Me((b) => { - const y = Mm(b), g = y ? null : t.getState().nodeInternals.get(b.id); - return !y && !g ? [null, null, y] : [y ? b : mu(g), g, y]; - }, []), f = Me((b, y = !0, g) => { - const [x, C, E] = h(b); - return x ? (g || t.getState().getNodes()).filter((w) => { - if (!E && (w.id === C.id || !w.positionAbsolute)) - return !1; - const S = mu(w), _ = ws(S, x); - return y && _ > 0 || _ >= x.width * x.height; - }) : []; - }, []), m = Me((b, y, g = !0) => { - const [x] = h(b); - if (!x) - return !1; - const C = ws(x, y); - return g && C > 0 || C >= x.width * x.height; - }, []); - return Be(() => ({ - ...e, - getNodes: n, - getNode: o, - getEdges: r, - getEdge: i, - setNodes: a, - setEdges: l, - addNodes: s, - addEdges: u, - toObject: c, - deleteElements: d, - getIntersectingNodes: f, - isNodeIntersecting: m - }), [ - e, - n, - o, - r, - i, - a, - l, - s, - u, - c, - d, - f, - m - ]); +function Ep() { + return Array.from(this); } -const cb = { actInsideInputWithModifier: !1 }; -var ub = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { - const n = nt(), { deleteElements: o } = Qt(), r = br(e, cb), i = br(t); - ce(() => { - if (r) { - const { edges: a, getNodes: l } = n.getState(), s = l().filter((c) => c.selected), u = a.filter((c) => c.selected); - o({ nodes: s, edges: u }), n.setState({ nodesSelectionActive: !1 }); +function Sp() { + for (var e = this._groups, t = 0, n = e.length; t < n; ++t) + for (var o = e[t], r = 0, i = o.length; r < i; ++r) { + var a = o[r]; + if (a) return a; } - }, [r]), ce(() => { - n.setState({ multiSelectionActive: i }); - }, [i]); -}; -function db(e) { - const t = nt(); - ce(() => { - let n; - const o = () => { - var i, a; - if (!e.current) - return; - const r = Sc(e.current); - (r.height === 0 || r.width === 0) && ((a = (i = t.getState()).onError) == null || a.call(i, "004", Kt.error004())), t.setState({ width: r.width || 500, height: r.height || 500 }); - }; - return o(), window.addEventListener("resize", o), e.current && (n = new ResizeObserver(() => o()), n.observe(e.current)), () => { - window.removeEventListener("resize", o), n && e.current && n.unobserve(e.current); - }; - }, []); + return null; } -const Fc = { - position: "absolute", - width: "100%", - height: "100%", - top: 0, - left: 0 -}, fb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, ei = (e) => ({ - x: e.x, - y: e.y, - zoom: e.k -}), lo = (e, t) => e.target.closest(`.${t}`), _u = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), Au = (e) => { - const t = e.ctrlKey && Li() ? 10 : 1; - return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; -}, pb = (e) => ({ - d3Zoom: e.d3Zoom, - d3Selection: e.d3Selection, - d3ZoomHandler: e.d3ZoomHandler, - userSelectionActive: e.userSelectionActive -}), hb = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: i = !0, panOnScroll: a = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = Wn.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: h, translateExtent: f, minZoom: m, maxZoom: b, zoomActivationKeyCode: y, preventScrolling: g = !0, children: x, noWheelClassName: C, noPanClassName: E }) => { - const w = pe(), S = nt(), _ = pe(!1), A = pe(!1), R = pe(null), L = pe({ x: 0, y: 0, zoom: 0 }), { d3Zoom: j, d3Selection: P, d3ZoomHandler: V, userSelectionActive: k } = Ze(pb, st), N = br(y), T = pe(0), F = pe(!1), I = pe(); - return db(R), ce(() => { - if (R.current) { - const D = R.current.getBoundingClientRect(), v = vm().scaleExtent([m, b]).translateExtent(f), z = Ut(R.current).call(v), B = Dn.translate(h.x, h.y).scale(Mo(h.zoom, m, b)), M = [ - [0, 0], - [D.width, D.height] - ], W = v.constrain()(B, M, f); - v.transform(z, W), v.wheelDelta(Au), S.setState({ - d3Zoom: v, - d3Selection: z, - d3ZoomHandler: z.on("wheel.zoom"), - // we need to pass transform because zoom handler is not registered when we set the initial transform - transform: [W.x, W.y, W.k], - domNode: R.current.closest(".react-flow") - }); - } - }, []), ce(() => { - P && j && (a && !N && !k ? P.on("wheel.zoom", (D) => { - if (lo(D, C)) - return !1; - D.preventDefault(), D.stopImmediatePropagation(); - const v = P.property("__zoom").k || 1; - if (D.ctrlKey && i) { - const ne = on(D), oe = Au(D), U = v * Math.pow(2, oe); - j.scaleTo(P, U, ne, D); - return; - } - const z = D.deltaMode === 1 ? 20 : 1; - let B = s === Wn.Vertical ? 0 : D.deltaX * z, M = s === Wn.Horizontal ? 0 : D.deltaY * z; - !Li() && D.shiftKey && s !== Wn.Vertical && (B = D.deltaY * z, M = 0), j.translateBy( - P, - -(B / v) * l, - -(M / v) * l, - // @ts-ignore - { internal: !0 } - ); - const W = ei(P.property("__zoom")), { onViewportChangeStart: G, onViewportChange: K, onViewportChangeEnd: Q } = S.getState(); - clearTimeout(I.current), F.current || (F.current = !0, t == null || t(D, W), G == null || G(W)), F.current && (e == null || e(D, W), K == null || K(W), I.current = setTimeout(() => { - n == null || n(D, W), Q == null || Q(W), F.current = !1; - }, 150)); - }, { passive: !1 }) : typeof V < "u" && P.on("wheel.zoom", function(D, v) { - if (!g && D.type === "wheel" && !D.ctrlKey || lo(D, C)) - return null; - D.preventDefault(), V.call(this, D, v); - }, { passive: !1 })); - }, [ - k, - a, - s, - P, - j, - V, - N, - i, - g, - C, - t, - e, - n - ]), ce(() => { - j && j.on("start", (D) => { - var B, M; - if (!D.sourceEvent || D.sourceEvent.internal) - return null; - T.current = (B = D.sourceEvent) == null ? void 0 : B.button; - const { onViewportChangeStart: v } = S.getState(), z = ei(D.transform); - _.current = !0, L.current = z, ((M = D.sourceEvent) == null ? void 0 : M.type) === "mousedown" && S.setState({ paneDragging: !0 }), v == null || v(z), t == null || t(D.sourceEvent, z); - }); - }, [j, t]), ce(() => { - j && (k && !_.current ? j.on("zoom", null) : k || j.on("zoom", (D) => { - var z; - const { onViewportChange: v } = S.getState(); - if (S.setState({ transform: [D.transform.x, D.transform.y, D.transform.k] }), A.current = !!(o && _u(d, T.current ?? 0)), (e || v) && !((z = D.sourceEvent) != null && z.internal)) { - const B = ei(D.transform); - v == null || v(B), e == null || e(D.sourceEvent, B); - } - })); - }, [k, j, e, d, o]), ce(() => { - j && j.on("end", (D) => { - if (!D.sourceEvent || D.sourceEvent.internal) - return null; - const { onViewportChangeEnd: v } = S.getState(); - if (_.current = !1, S.setState({ paneDragging: !1 }), o && _u(d, T.current ?? 0) && !A.current && o(D.sourceEvent), A.current = !1, (n || v) && fb(L.current, D.transform)) { - const z = ei(D.transform); - L.current = z, clearTimeout(w.current), w.current = setTimeout(() => { - v == null || v(z), n == null || n(D.sourceEvent, z); - }, a ? 150 : 0); - } - }); - }, [j, a, d, n, o]), ce(() => { - j && j.filter((D) => { - const v = N || r, z = i && D.ctrlKey; - if ((d === !0 || Array.isArray(d) && d.includes(1)) && D.button === 1 && D.type === "mousedown" && (lo(D, "react-flow__node") || lo(D, "react-flow__edge"))) - return !0; - if (!d && !v && !a && !u && !i || k || !u && D.type === "dblclick" || lo(D, C) && D.type === "wheel" || lo(D, E) && (D.type !== "wheel" || a && D.type === "wheel" && !N) || !i && D.ctrlKey && D.type === "wheel" || !v && !a && !z && D.type === "wheel" || !d && (D.type === "mousedown" || D.type === "touchstart") || Array.isArray(d) && !d.includes(D.button) && D.type === "mousedown") - return !1; - const B = Array.isArray(d) && d.includes(D.button) || !D.button || D.button <= 1; - return (!D.ctrlKey || D.type === "wheel") && B; - }); - }, [ - k, - j, - r, - i, - a, - u, - d, - c, - N - ]), $.createElement("div", { className: "react-flow__renderer", ref: R, style: Fc }, x); -}, gb = (e) => ({ - userSelectionActive: e.userSelectionActive, - userSelectionRect: e.userSelectionRect -}); -function mb() { - const { userSelectionActive: e, userSelectionRect: t } = Ze(gb, st); - return e && t ? $.createElement("div", { className: "react-flow__selection react-flow__container", style: { - width: t.width, - height: t.height, - transform: `translate(${t.x}px, ${t.y}px)` - } }) : null; +function kp() { + let e = 0; + for (const t of this) ++e; + return e; } -function Mu(e, t) { - const n = t.parentNode || t.parentId, o = e.find((r) => r.id === n); - if (o) { - const r = t.position.x + t.width - o.width, i = t.position.y + t.height - o.height; - if (r > 0 || i > 0 || t.position.x < 0 || t.position.y < 0) { - if (o.style = { ...o.style }, o.style.width = o.style.width ?? o.width, o.style.height = o.style.height ?? o.height, r > 0 && (o.style.width += r), i > 0 && (o.style.height += i), t.position.x < 0) { - const a = Math.abs(t.position.x); - o.position.x = o.position.x - a, o.style.width += a, t.position.x = 0; - } - if (t.position.y < 0) { - const a = Math.abs(t.position.y); - o.position.y = o.position.y - a, o.style.height += a, t.position.y = 0; - } - o.width = o.style.width, o.height = o.style.height; - } - } +function _p() { + return !this.node(); } -function bb(e, t) { - if (e.some((o) => o.type === "reset")) - return e.filter((o) => o.type === "reset").map((o) => o.item); - const n = e.filter((o) => o.type === "add").map((o) => o.item); - return t.reduce((o, r) => { - const i = e.filter((l) => l.id === r.id); - if (i.length === 0) - return o.push(r), o; - const a = { ...r }; - for (const l of i) - if (l) - switch (l.type) { - case "select": { - a.selected = l.selected; - break; - } - case "position": { - typeof l.position < "u" && (a.position = l.position), typeof l.positionAbsolute < "u" && (a.positionAbsolute = l.positionAbsolute), typeof l.dragging < "u" && (a.dragging = l.dragging), a.expandParent && Mu(o, a); - break; - } - case "dimensions": { - typeof l.dimensions < "u" && (a.width = l.dimensions.width, a.height = l.dimensions.height), typeof l.updateStyle < "u" && (a.style = { ...a.style || {}, ...l.dimensions }), typeof l.resizing == "boolean" && (a.resizing = l.resizing), a.expandParent && Mu(o, a); - break; - } - case "remove": - return o; - } - return o.push(a), o; - }, n); +function Ap(e) { + for (var t = this._groups, n = 0, o = t.length; n < o; ++n) + for (var r = t[n], i = 0, a = r.length, l; i < a; ++i) + (l = r[i]) && e.call(l, l.__data__, i, r); + return this; } -function yb(e, t) { - return bb(e, t); +function Mp(e) { + return function () { + this.removeAttribute(e); + }; } -const On = (e, t) => ({ - id: e, - type: "select", - selected: t -}); -function co(e, t) { - return e.reduce((n, o) => { - const r = t.includes(o.id); - return !o.selected && r ? (o.selected = !0, n.push(On(o.id, !0))) : o.selected && !r && (o.selected = !1, n.push(On(o.id, !1))), n; - }, []); +function Tp(e) { + return function () { + this.removeAttributeNS(e.space, e.local); + }; } -const jl = (e, t) => (n) => { - n.target === t.current && (e == null || e(n)); -}, Cb = (e) => ({ - userSelectionActive: e.userSelectionActive, - elementsSelectable: e.elementsSelectable, - dragging: e.paneDragging -}), Y3 = Ye(({ isSelecting: e, selectionMode: t = mr.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: i, onPaneContextMenu: a, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { - const h = pe(null), f = nt(), m = pe(0), b = pe(0), y = pe(), { userSelectionActive: g, elementsSelectable: x, dragging: C } = Ze(Cb, st), E = () => { - f.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, b.current = 0; - }, w = (V) => { - i == null || i(V), f.getState().resetSelectedElements(), f.setState({ nodesSelectionActive: !1 }); - }, S = (V) => { - if (Array.isArray(n) && (n != null && n.includes(2))) { - V.preventDefault(); - return; - } - a == null || a(V); - }, _ = l ? (V) => l(V) : void 0, A = (V) => { - const { resetSelectedElements: k, domNode: N } = f.getState(); - if (y.current = N == null ? void 0 : N.getBoundingClientRect(), !x || !e || V.button !== 0 || V.target !== h.current || !y.current) - return; - const { x: T, y: F } = Ln(V, y.current); - k(), f.setState({ - userSelectionRect: { - width: 0, - height: 0, - startX: T, - startY: F, - x: T, - y: F - } - }), o == null || o(V); - }, R = (V) => { - const { userSelectionRect: k, nodeInternals: N, edges: T, transform: F, onNodesChange: I, onEdgesChange: D, nodeOrigin: v, getNodes: z } = f.getState(); - if (!e || !y.current || !k) - return; - f.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); - const B = Ln(V, y.current), M = k.startX ?? 0, W = k.startY ?? 0, G = { - ...k, - x: B.x < M ? B.x : M, - y: B.y < W ? B.y : W, - width: Math.abs(B.x - M), - height: Math.abs(B.y - W) - }, K = z(), Q = O3(N, G, F, t === mr.Partial, !0, v), ne = N3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); - if (m.current !== oe.length) { - m.current = oe.length; - const U = co(K, oe); - U.length && (I == null || I(U)); - } - if (b.current !== ne.length) { - b.current = ne.length; - const U = co(T, ne); - U.length && (D == null || D(U)); - } - f.setState({ - userSelectionRect: G - }); - }, L = (V) => { - if (V.button !== 0) - return; - const { userSelectionRect: k } = f.getState(); - !g && k && V.target === h.current && (w == null || w(V)), f.setState({ nodesSelectionActive: m.current > 0 }), E(), r == null || r(V); - }, j = (V) => { - g && (f.setState({ nodesSelectionActive: m.current > 0 }), r == null || r(V)), E(); - }, P = x && (e || g); - return $.createElement( - "div", - { className: bt(["react-flow__pane", { dragging: C, selection: e }]), onClick: P ? void 0 : jl(w, h), onContextMenu: jl(S, h), onWheel: jl(_, h), onMouseEnter: P ? void 0 : s, onMouseDown: P ? A : void 0, onMouseMove: P ? R : u, onMouseUp: P ? L : void 0, onMouseLeave: P ? j : c, ref: h, style: Fc }, - d, - $.createElement(mb, null) - ); -}); -Y3.displayName = "Pane"; -function G3(e, t) { - const n = e.parentNode || e.parentId; - if (!n) - return !1; - const o = t.get(n); - return o ? o.selected ? !0 : G3(o, t) : !1; +function Op(e, t) { + return function () { + this.setAttribute(e, t); + }; } -function Tu(e, t, n) { - let o = e; - do { - if (o != null && o.matches(t)) - return !0; - if (o === n.current) - return !1; - o = o.parentElement; - } while (o); - return !1; +function Np(e, t) { + return function () { + this.setAttributeNS(e.space, e.local, t); + }; } -function vb(e, t, n, o) { - return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !G3(r, e)) && (r.draggable || t && typeof r.draggable > "u")).map((r) => { - var i, a; - return { - id: r.id, - position: r.position || { x: 0, y: 0 }, - positionAbsolute: r.positionAbsolute || { x: 0, y: 0 }, - distance: { - x: n.x - (((i = r.positionAbsolute) == null ? void 0 : i.x) ?? 0), - y: n.y - (((a = r.positionAbsolute) == null ? void 0 : a.y) ?? 0) - }, - delta: { - x: 0, - y: 0 - }, - extent: r.extent, - parentNode: r.parentNode || r.parentId, - parentId: r.parentNode || r.parentId, - width: r.width, - height: r.height, - expandParent: r.expandParent - }; - }); +function Dp(e, t) { + return function () { + var n = t.apply(this, arguments); + n == null ? this.removeAttribute(e) : this.setAttribute(e, n); + }; } -function xb(e, t) { - return !t || t === "parent" ? t : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; +function Lp(e, t) { + return function () { + var n = t.apply(this, arguments); + n == null + ? this.removeAttributeNS(e.space, e.local) + : this.setAttributeNS(e.space, e.local, n); + }; } -function K3(e, t, n, o, r = [0, 0], i) { - const a = xb(e, e.extent || o); - let l = a; - const s = e.parentNode || e.parentId; - if (e.extent === "parent" && !e.expandParent) - if (s && e.width && e.height) { - const d = n.get(s), { x: h, y: f } = mo(d, r).positionAbsolute; - l = d && jt(h) && jt(f) && jt(d.width) && jt(d.height) ? [ - [h + e.width * r[0], f + e.height * r[1]], - [ - h + d.width - e.width + e.width * r[0], - f + d.height - e.height + e.height * r[1] - ] - ] : l; - } else - i == null || i("005", Kt.error005()), l = a; - else if (e.extent && s && e.extent !== "parent") { - const d = n.get(s), { x: h, y: f } = mo(d, r).positionAbsolute; - l = [ - [e.extent[0][0] + h, e.extent[0][1] + f], - [e.extent[1][0] + h, e.extent[1][1] + f] - ]; - } - let u = { x: 0, y: 0 }; - if (s) { - const d = n.get(s); - u = mo(d, r).positionAbsolute; +function Fp(e, t) { + var n = ea(e); + if (arguments.length < 2) { + var o = this.node(); + return n.local ? o.getAttributeNS(n.space, n.local) : o.getAttribute(n); } - const c = l && l !== "parent" ? kc(t, l) : t; - return { - position: { - x: c.x - u.x, - y: c.y - u.y - }, - positionAbsolute: c + return this.each( + (t == null + ? n.local + ? Tp + : Mp + : typeof t == "function" + ? n.local + ? Lp + : Dp + : n.local + ? Np + : Op)(n, t), + ); +} +function Kd(e) { + return ( + (e.ownerDocument && e.ownerDocument.defaultView) || + (e.document && e) || + e.defaultView + ); +} +function Rp(e) { + return function () { + this.style.removeProperty(e); }; } -function Il({ nodeId: e, dragItems: t, nodeInternals: n }) { - const o = t.map((r) => ({ - ...n.get(r.id), - position: r.position, - positionAbsolute: r.positionAbsolute - })); - return [e ? o.find((r) => r.id === e) : o[0], o]; +function jp(e, t, n) { + return function () { + this.style.setProperty(e, t, n); + }; } -const Ou = (e, t, n, o) => { - const r = t.querySelectorAll(e); - if (!r || !r.length) - return null; - const i = Array.from(r), a = t.getBoundingClientRect(), l = { - x: a.width * o[0], - y: a.height * o[1] +function Ip(e, t, n) { + return function () { + var o = t.apply(this, arguments); + o == null ? this.style.removeProperty(e) : this.style.setProperty(e, o, n); }; - return i.map((s) => { - const u = s.getBoundingClientRect(); - return { - id: s.getAttribute("data-handleid"), - position: s.getAttribute("data-handlepos"), - x: (u.left - a.left - l.x) / n, - y: (u.top - a.top - l.y) / n, - ...Sc(s) - }; - }); -}; -function Zo(e, t, n) { - return n === void 0 ? n : (o) => { - const r = t().nodeInternals.get(e); - r && n(o, { ...r }); +} +function zp(e, t, n) { + return arguments.length > 1 + ? this.each( + (t == null ? Rp : typeof t == "function" ? Ip : jp)(e, t, n ?? ""), + ) + : _o(this.node(), e); +} +function _o(e, t) { + return ( + e.style.getPropertyValue(t) || + Kd(e).getComputedStyle(e, null).getPropertyValue(t) + ); +} +function Hp(e) { + return function () { + delete this[e]; }; } -function Ms({ id: e, store: t, unselect: n = !1, nodeRef: o }) { - const { addSelectedNodes: r, unselectNodesAndEdges: i, multiSelectionActive: a, nodeInternals: l, onError: s } = t.getState(), u = l.get(e); - if (!u) { - s == null || s("012", Kt.error012(e)); - return; - } - t.setState({ nodesSelectionActive: !1 }), u.selected ? (n || u.selected && a) && (i({ nodes: [u], edges: [] }), requestAnimationFrame(() => { - var c; - return (c = o == null ? void 0 : o.current) == null ? void 0 : c.blur(); - })) : r([e]); +function Pp(e, t) { + return function () { + this[e] = t; + }; } -function wb() { - const e = nt(); - return Me(({ sourceEvent: n }) => { - const { transform: o, snapGrid: r, snapToGrid: i } = e.getState(), a = n.touches ? n.touches[0].clientX : n.clientX, l = n.touches ? n.touches[0].clientY : n.clientY, s = { - x: (a - o[0]) / o[2], - y: (l - o[1]) / o[2] - }; - return { - xSnapped: i ? r[0] * Math.round(s.x / r[0]) : s.x, - ySnapped: i ? r[1] * Math.round(s.y / r[1]) : s.y, - ...s - }; - }, []); +function Bp(e, t) { + return function () { + var n = t.apply(this, arguments); + n == null ? delete this[e] : (this[e] = n); + }; } -function zl(e) { - return (t, n, o) => e == null ? void 0 : e(t, o); -} -function X3({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: i, selectNodesOnDrag: a }) { - const l = nt(), [s, u] = ue(!1), c = pe([]), d = pe({ x: null, y: null }), h = pe(0), f = pe(null), m = pe({ x: 0, y: 0 }), b = pe(null), y = pe(!1), g = pe(!1), x = pe(!1), C = wb(); - return ce(() => { - if (e != null && e.current) { - const E = Ut(e.current), w = ({ x: A, y: R }) => { - const { nodeInternals: L, onNodeDrag: j, onSelectionDrag: P, updateNodePositions: V, nodeExtent: k, snapGrid: N, snapToGrid: T, nodeOrigin: F, onError: I } = l.getState(); - d.current = { x: A, y: R }; - let D = !1, v = { x: 0, y: 0, x2: 0, y2: 0 }; - if (c.current.length > 1 && k) { - const B = Nc(c.current, F); - v = _c(B); - } - if (c.current = c.current.map((B) => { - const M = { x: A - B.distance.x, y: R - B.distance.y }; - T && (M.x = N[0] * Math.round(M.x / N[0]), M.y = N[1] * Math.round(M.y / N[1])); - const W = [ - [k[0][0], k[0][1]], - [k[1][0], k[1][1]] - ]; - c.current.length > 1 && k && !B.extent && (W[0][0] = B.positionAbsolute.x - v.x + k[0][0], W[1][0] = B.positionAbsolute.x + (B.width ?? 0) - v.x2 + k[1][0], W[0][1] = B.positionAbsolute.y - v.y + k[0][1], W[1][1] = B.positionAbsolute.y + (B.height ?? 0) - v.y2 + k[1][1]); - const G = K3(B, M, L, W, F, I); - return D = D || B.position.x !== G.position.x || B.position.y !== G.position.y, B.position = G.position, B.positionAbsolute = G.positionAbsolute, B; - }), !D) - return; - V(c.current, !0, !0), u(!0); - const z = r ? j : zl(P); - if (z && b.current) { - const [B, M] = Il({ - nodeId: r, - dragItems: c.current, - nodeInternals: L - }); - z(b.current, B, M); - } - }, S = () => { - if (!f.current) - return; - const [A, R] = v3(m.current, f.current); - if (A !== 0 || R !== 0) { - const { transform: L, panBy: j } = l.getState(); - d.current.x = (d.current.x ?? 0) - A / L[2], d.current.y = (d.current.y ?? 0) - R / L[2], j({ x: A, y: R }) && w(d.current); - } - h.current = requestAnimationFrame(S); - }, _ = (A) => { - var F; - const { nodeInternals: R, multiSelectionActive: L, nodesDraggable: j, unselectNodesAndEdges: P, onNodeDragStart: V, onSelectionDragStart: k } = l.getState(); - g.current = !0; - const N = r ? V : zl(k); - (!a || !i) && !L && r && ((F = R.get(r)) != null && F.selected || P()), r && i && a && Ms({ - id: r, - store: l, - nodeRef: e - }); - const T = C(A); - if (d.current = T, c.current = vb(R, j, T, r), N && c.current) { - const [I, D] = Il({ - nodeId: r, - dragItems: c.current, - nodeInternals: R - }); - N(A.sourceEvent, I, D); - } - }; - if (t) - E.on(".drag", null); - else { - const A = Oh().on("start", (R) => { - const { domNode: L, nodeDragThreshold: j } = l.getState(); - j === 0 && _(R), x.current = !1; - const P = C(R); - d.current = P, f.current = (L == null ? void 0 : L.getBoundingClientRect()) || null, m.current = Ln(R.sourceEvent, f.current); - }).on("drag", (R) => { - var V, k; - const L = C(R), { autoPanOnNodeDrag: j, nodeDragThreshold: P } = l.getState(); - if (R.sourceEvent.type === "touchmove" && R.sourceEvent.touches.length > 1 && (x.current = !0), !x.current) { - if (!y.current && g.current && j && (y.current = !0, S()), !g.current) { - const N = L.xSnapped - (((V = d == null ? void 0 : d.current) == null ? void 0 : V.x) ?? 0), T = L.ySnapped - (((k = d == null ? void 0 : d.current) == null ? void 0 : k.y) ?? 0); - Math.sqrt(N * N + T * T) > P && _(R); - } - (d.current.x !== L.xSnapped || d.current.y !== L.ySnapped) && c.current && g.current && (b.current = R.sourceEvent, m.current = Ln(R.sourceEvent, f.current), w(L)); - } - }).on("end", (R) => { - if (!(!g.current || x.current) && (u(!1), y.current = !1, g.current = !1, cancelAnimationFrame(h.current), c.current)) { - const { updateNodePositions: L, nodeInternals: j, onNodeDragStop: P, onSelectionDragStop: V } = l.getState(), k = r ? P : zl(V); - if (L(c.current, !1, !1), k) { - const [N, T] = Il({ - nodeId: r, - dragItems: c.current, - nodeInternals: j - }); - k(R.sourceEvent, N, T); - } - } - }).filter((R) => { - const L = R.target; - return !R.button && (!n || !Tu(L, `.${n}`, e)) && (!o || Tu(L, o, e)); - }); - return E.call(A), () => { - E.on(".drag", null); - }; - } - } - }, [ - e, - t, - n, - o, - i, - l, - r, - a, - C - ]), s; +function Vp(e, t) { + return arguments.length > 1 + ? this.each((t == null ? Hp : typeof t == "function" ? Bp : Pp)(e, t)) + : this.node()[e]; } -function Q3() { - const e = nt(); - return Me((n) => { - const { nodeInternals: o, nodeExtent: r, updateNodePositions: i, getNodes: a, snapToGrid: l, snapGrid: s, onError: u, nodesDraggable: c } = e.getState(), d = a().filter((x) => x.selected && (x.draggable || c && typeof x.draggable > "u")), h = l ? s[0] : 5, f = l ? s[1] : 5, m = n.isShiftPressed ? 4 : 1, b = n.x * h * m, y = n.y * f * m, g = d.map((x) => { - if (x.positionAbsolute) { - const C = { x: x.positionAbsolute.x + b, y: x.positionAbsolute.y + y }; - l && (C.x = s[0] * Math.round(C.x / s[0]), C.y = s[1] * Math.round(C.y / s[1])); - const { positionAbsolute: E, position: w } = K3(x, C, o, r, void 0, u); - x.position = w, x.positionAbsolute = E; - } - return x; - }); - i(g, !0, !1); - }, []); +function Xd(e) { + return e.trim().split(/^|\s+/); } -const bo = { - ArrowUp: { x: 0, y: -1 }, - ArrowDown: { x: 0, y: 1 }, - ArrowLeft: { x: -1, y: 0 }, - ArrowRight: { x: 1, y: 0 } +function Cc(e) { + return e.classList || new Qd(e); +} +function Qd(e) { + (this._node = e), (this._names = Xd(e.getAttribute("class") || "")); +} +Qd.prototype = { + add: function (e) { + var t = this._names.indexOf(e); + t < 0 && + (this._names.push(e), + this._node.setAttribute("class", this._names.join(" "))); + }, + remove: function (e) { + var t = this._names.indexOf(e); + t >= 0 && + (this._names.splice(t, 1), + this._node.setAttribute("class", this._names.join(" "))); + }, + contains: function (e) { + return this._names.indexOf(e) >= 0; + }, }; -var Uo = (e) => { - const t = ({ id: n, type: o, data: r, xPos: i, yPos: a, xPosOrigin: l, yPosOrigin: s, selected: u, onClick: c, onMouseEnter: d, onMouseMove: h, onMouseLeave: f, onContextMenu: m, onDoubleClick: b, style: y, className: g, isDraggable: x, isSelectable: C, isConnectable: E, isFocusable: w, selectNodesOnDrag: S, sourcePosition: _, targetPosition: A, hidden: R, resizeObserver: L, dragHandle: j, zIndex: P, isParent: V, noDragClassName: k, noPanClassName: N, initialized: T, disableKeyboardA11y: F, ariaLabel: I, rfId: D, hasHandleBounds: v }) => { - const z = nt(), B = pe(null), M = pe(null), W = pe(_), G = pe(A), K = pe(o), Q = C || x || c || d || h || f, ne = Q3(), oe = Zo(n, z.getState, d), U = Zo(n, z.getState, h), ge = Zo(n, z.getState, f), J = Zo(n, z.getState, m), ke = Zo(n, z.getState, b), ie = (Ee) => { - const { nodeDragThreshold: le } = z.getState(); - if (C && (!S || !x || le > 0) && Ms({ - id: n, - store: z, - nodeRef: B - }), c) { - const Ge = z.getState().nodeInternals.get(n); - Ge && c(Ee, { ...Ge }); - } - }, _e = (Ee) => { - if (!Es(Ee) && !F) - if (w3.includes(Ee.key) && C) { - const le = Ee.key === "Escape"; - Ms({ - id: n, - store: z, - unselect: le, - nodeRef: B - }); - } else x && u && Object.prototype.hasOwnProperty.call(bo, Ee.key) && (z.setState({ - ariaLiveMessage: `Moved selected node ${Ee.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~i}, y: ${~~a}` - }), ne({ - x: bo[Ee.key].x, - y: bo[Ee.key].y, - isShiftPressed: Ee.shiftKey - })); - }; - ce(() => () => { - M.current && (L == null || L.unobserve(M.current), M.current = null); - }, []), ce(() => { - if (B.current && !R) { - const Ee = B.current; - (!T || !v || M.current !== Ee) && (M.current && (L == null || L.unobserve(M.current)), L == null || L.observe(Ee), M.current = Ee); - } - }, [R, T, v]), ce(() => { - const Ee = K.current !== o, le = W.current !== _, Ge = G.current !== A; - B.current && (Ee || le || Ge) && (Ee && (K.current = o), le && (W.current = _), Ge && (G.current = A), z.getState().updateNodeDimensions([{ id: n, nodeElement: B.current, forceUpdate: !0 }])); - }, [n, o, _, A]); - const $e = X3({ - nodeRef: B, - disabled: R || !x, - noDragClassName: k, - handleSelector: j, - nodeId: n, - isSelectable: C, - selectNodesOnDrag: S +function Jd(e, t) { + for (var n = Cc(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); +} +function e3(e, t) { + for (var n = Cc(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); +} +function $p(e) { + return function () { + Jd(this, e); + }; +} +function Wp(e) { + return function () { + e3(this, e); + }; +} +function Zp(e, t) { + return function () { + (t.apply(this, arguments) ? Jd : e3)(this, e); + }; +} +function Up(e, t) { + var n = Xd(e + ""); + if (arguments.length < 2) { + for (var o = Cc(this.node()), r = -1, i = n.length; ++r < i; ) + if (!o.contains(n[r])) return !1; + return !0; + } + return this.each((typeof t == "function" ? Zp : t ? $p : Wp)(n, t)); +} +function qp() { + this.textContent = ""; +} +function Yp(e) { + return function () { + this.textContent = e; + }; +} +function Gp(e) { + return function () { + var t = e.apply(this, arguments); + this.textContent = t ?? ""; + }; +} +function Kp(e) { + return arguments.length + ? this.each(e == null ? qp : (typeof e == "function" ? Gp : Yp)(e)) + : this.node().textContent; +} +function Xp() { + this.innerHTML = ""; +} +function Qp(e) { + return function () { + this.innerHTML = e; + }; +} +function Jp(e) { + return function () { + var t = e.apply(this, arguments); + this.innerHTML = t ?? ""; + }; +} +function eh(e) { + return arguments.length + ? this.each(e == null ? Xp : (typeof e == "function" ? Jp : Qp)(e)) + : this.node().innerHTML; +} +function th() { + this.nextSibling && this.parentNode.appendChild(this); +} +function nh() { + return this.each(th); +} +function oh() { + this.previousSibling && + this.parentNode.insertBefore(this, this.parentNode.firstChild); +} +function rh() { + return this.each(oh); +} +function ih(e) { + var t = typeof e == "function" ? e : Zd(e); + return this.select(function () { + return this.appendChild(t.apply(this, arguments)); + }); +} +function ah() { + return null; +} +function lh(e, t) { + var n = typeof e == "function" ? e : Zd(e), + o = t == null ? ah : typeof t == "function" ? t : yc(t); + return this.select(function () { + return this.insertBefore( + n.apply(this, arguments), + o.apply(this, arguments) || null, + ); + }); +} +function sh() { + var e = this.parentNode; + e && e.removeChild(this); +} +function ch() { + return this.each(sh); +} +function uh() { + var e = this.cloneNode(!1), + t = this.parentNode; + return t ? t.insertBefore(e, this.nextSibling) : e; +} +function dh() { + var e = this.cloneNode(!0), + t = this.parentNode; + return t ? t.insertBefore(e, this.nextSibling) : e; +} +function fh(e) { + return this.select(e ? dh : uh); +} +function ph(e) { + return arguments.length ? this.property("__data__", e) : this.node().__data__; +} +function hh(e) { + return function (t) { + e.call(this, t, this.__data__); + }; +} +function gh(e) { + return e + .trim() + .split(/^|\s+/) + .map(function (t) { + var n = "", + o = t.indexOf("."); + return ( + o >= 0 && ((n = t.slice(o + 1)), (t = t.slice(0, o))), + { type: t, name: n } + ); }); - return R ? null : $.createElement( - "div", - { className: bt([ - "react-flow__node", - `react-flow__node-${o}`, +} +function mh(e) { + return function () { + var t = this.__on; + if (t) { + for (var n = 0, o = -1, r = t.length, i; n < r; ++n) + (i = t[n]), + (!e.type || i.type === e.type) && i.name === e.name + ? this.removeEventListener(i.type, i.listener, i.options) + : (t[++o] = i); + ++o ? (t.length = o) : delete this.__on; + } + }; +} +function bh(e, t, n) { + return function () { + var o = this.__on, + r, + i = hh(t); + if (o) { + for (var a = 0, l = o.length; a < l; ++a) + if ((r = o[a]).type === e.type && r.name === e.name) { + this.removeEventListener(r.type, r.listener, r.options), + this.addEventListener(r.type, (r.listener = i), (r.options = n)), + (r.value = t); + return; + } + } + this.addEventListener(e.type, i, n), + (r = { type: e.type, name: e.name, value: t, listener: i, options: n }), + o ? o.push(r) : (this.__on = [r]); + }; +} +function yh(e, t, n) { + var o = gh(e + ""), + r, + i = o.length, + a; + if (arguments.length < 2) { + var l = this.node().__on; + if (l) { + for (var s = 0, u = l.length, c; s < u; ++s) + for (r = 0, c = l[s]; r < i; ++r) + if ((a = o[r]).type === c.type && a.name === c.name) return c.value; + } + return; + } + for (l = t ? bh : mh, r = 0; r < i; ++r) this.each(l(o[r], t, n)); + return this; +} +function t3(e, t, n) { + var o = Kd(e), + r = o.CustomEvent; + typeof r == "function" + ? (r = new r(t, n)) + : ((r = o.document.createEvent("Event")), + n + ? (r.initEvent(t, n.bubbles, n.cancelable), (r.detail = n.detail)) + : r.initEvent(t, !1, !1)), + e.dispatchEvent(r); +} +function Ch(e, t) { + return function () { + return t3(this, e, t); + }; +} +function vh(e, t) { + return function () { + return t3(this, e, t.apply(this, arguments)); + }; +} +function xh(e, t) { + return this.each((typeof t == "function" ? vh : Ch)(e, t)); +} +function* wh() { + for (var e = this._groups, t = 0, n = e.length; t < n; ++t) + for (var o = e[t], r = 0, i = o.length, a; r < i; ++r) + (a = o[r]) && (yield a); +} +var n3 = [null]; +function Tt(e, t) { + (this._groups = e), (this._parents = t); +} +function _r() { + return new Tt([[document.documentElement]], n3); +} +function Eh() { + return this; +} +Tt.prototype = _r.prototype = { + constructor: Tt, + select: G9, + selectAll: J9, + selectChild: op, + selectChildren: lp, + filter: sp, + data: hp, + enter: cp, + exit: mp, + join: bp, + merge: yp, + selection: Eh, + order: Cp, + sort: vp, + call: wp, + nodes: Ep, + node: Sp, + size: kp, + empty: _p, + each: Ap, + attr: Fp, + style: zp, + property: Vp, + classed: Up, + text: Kp, + html: eh, + raise: nh, + lower: rh, + append: ih, + insert: lh, + remove: ch, + clone: fh, + datum: ph, + on: yh, + dispatch: xh, + [Symbol.iterator]: wh, +}; +function Ut(e) { + return typeof e == "string" + ? new Tt([[document.querySelector(e)]], [document.documentElement]) + : new Tt([[e]], n3); +} +function Sh(e) { + let t; + for (; (t = e.sourceEvent); ) e = t; + return e; +} +function on(e, t) { + if (((e = Sh(e)), t === void 0 && (t = e.currentTarget), t)) { + var n = t.ownerSVGElement || t; + if (n.createSVGPoint) { + var o = n.createSVGPoint(); + return ( + (o.x = e.clientX), + (o.y = e.clientY), + (o = o.matrixTransform(t.getScreenCTM().inverse())), + [o.x, o.y] + ); + } + if (t.getBoundingClientRect) { + var r = t.getBoundingClientRect(); + return [ + e.clientX - r.left - t.clientLeft, + e.clientY - r.top - t.clientTop, + ]; + } + } + return [e.pageX, e.pageY]; +} +const kh = { passive: !1 }, + dr = { capture: !0, passive: !1 }; +function Ol(e) { + e.stopImmediatePropagation(); +} +function ho(e) { + e.preventDefault(), e.stopImmediatePropagation(); +} +function o3(e) { + var t = e.document.documentElement, + n = Ut(e).on("dragstart.drag", ho, dr); + "onselectstart" in t + ? n.on("selectstart.drag", ho, dr) + : ((t.__noselect = t.style.MozUserSelect), + (t.style.MozUserSelect = "none")); +} +function r3(e, t) { + var n = e.document.documentElement, + o = Ut(e).on("dragstart.drag", null); + t && + (o.on("click.drag", ho, dr), + setTimeout(function () { + o.on("click.drag", null); + }, 0)), + "onselectstart" in n + ? o.on("selectstart.drag", null) + : ((n.style.MozUserSelect = n.__noselect), delete n.__noselect); +} +const Ur = (e) => () => e; +function gs( + e, + { + sourceEvent: t, + subject: n, + target: o, + identifier: r, + active: i, + x: a, + y: l, + dx: s, + dy: u, + dispatch: c, + }, +) { + Object.defineProperties(this, { + type: { value: e, enumerable: !0, configurable: !0 }, + sourceEvent: { value: t, enumerable: !0, configurable: !0 }, + subject: { value: n, enumerable: !0, configurable: !0 }, + target: { value: o, enumerable: !0, configurable: !0 }, + identifier: { value: r, enumerable: !0, configurable: !0 }, + active: { value: i, enumerable: !0, configurable: !0 }, + x: { value: a, enumerable: !0, configurable: !0 }, + y: { value: l, enumerable: !0, configurable: !0 }, + dx: { value: s, enumerable: !0, configurable: !0 }, + dy: { value: u, enumerable: !0, configurable: !0 }, + _: { value: c }, + }); +} +gs.prototype.on = function () { + var e = this._.on.apply(this._, arguments); + return e === this._ ? this : e; +}; +function _h(e) { + return !e.ctrlKey && !e.button; +} +function Ah() { + return this.parentNode; +} +function Mh(e, t) { + return t ?? { x: e.x, y: e.y }; +} +function Th() { + return navigator.maxTouchPoints || "ontouchstart" in this; +} +function Oh() { + var e = _h, + t = Ah, + n = Mh, + o = Th, + r = {}, + i = Ji("start", "drag", "end"), + a = 0, + l, + s, + u, + c, + d = 0; + function h(E) { + E.on("mousedown.drag", f) + .filter(o) + .on("touchstart.drag", y) + .on("touchmove.drag", g, kh) + .on("touchend.drag touchcancel.drag", x) + .style("touch-action", "none") + .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + } + function f(E, w) { + if (!(c || !e.call(this, E, w))) { + var S = C(this, t.call(this, E, w), E, w, "mouse"); + S && + (Ut(E.view).on("mousemove.drag", m, dr).on("mouseup.drag", b, dr), + o3(E.view), + Ol(E), + (u = !1), + (l = E.clientX), + (s = E.clientY), + S("start", E)); + } + } + function m(E) { + if ((ho(E), !u)) { + var w = E.clientX - l, + S = E.clientY - s; + u = w * w + S * S > d; + } + r.mouse("drag", E); + } + function b(E) { + Ut(E.view).on("mousemove.drag mouseup.drag", null), + r3(E.view, u), + ho(E), + r.mouse("end", E); + } + function y(E, w) { + if (e.call(this, E, w)) { + var S = E.changedTouches, + _ = t.call(this, E, w), + A = S.length, + R, + L; + for (R = 0; R < A; ++R) + (L = C(this, _, E, w, S[R].identifier, S[R])) && + (Ol(E), L("start", E, S[R])); + } + } + function g(E) { + var w = E.changedTouches, + S = w.length, + _, + A; + for (_ = 0; _ < S; ++_) + (A = r[w[_].identifier]) && (ho(E), A("drag", E, w[_])); + } + function x(E) { + var w = E.changedTouches, + S = w.length, + _, + A; + for ( + c && clearTimeout(c), + c = setTimeout(function () { + c = null; + }, 500), + _ = 0; + _ < S; + ++_ + ) + (A = r[w[_].identifier]) && (Ol(E), A("end", E, w[_])); + } + function C(E, w, S, _, A, R) { + var L = i.copy(), + j = on(R || S, w), + P, + V, + k; + if ( + (k = n.call( + E, + new gs("beforestart", { + sourceEvent: S, + target: h, + identifier: A, + active: a, + x: j[0], + y: j[1], + dx: 0, + dy: 0, + dispatch: L, + }), + _, + )) != null + ) + return ( + (P = k.x - j[0] || 0), + (V = k.y - j[1] || 0), + function N(T, F, I) { + var D = j, + v; + switch (T) { + case "start": + (r[A] = N), (v = a++); + break; + case "end": + delete r[A], --a; + case "drag": + (j = on(I || F, w)), (v = a); + break; + } + L.call( + T, + E, + new gs(T, { + sourceEvent: F, + subject: k, + target: h, + identifier: A, + active: v, + x: j[0] + P, + y: j[1] + V, + dx: j[0] - D[0], + dy: j[1] - D[1], + dispatch: L, + }), + _, + ); + } + ); + } + return ( + (h.filter = function (E) { + return arguments.length + ? ((e = typeof E == "function" ? E : Ur(!!E)), h) + : e; + }), + (h.container = function (E) { + return arguments.length + ? ((t = typeof E == "function" ? E : Ur(E)), h) + : t; + }), + (h.subject = function (E) { + return arguments.length + ? ((n = typeof E == "function" ? E : Ur(E)), h) + : n; + }), + (h.touchable = function (E) { + return arguments.length + ? ((o = typeof E == "function" ? E : Ur(!!E)), h) + : o; + }), + (h.on = function () { + var E = i.on.apply(i, arguments); + return E === i ? h : E; + }), + (h.clickDistance = function (E) { + return arguments.length ? ((d = (E = +E) * E), h) : Math.sqrt(d); + }), + h + ); +} +function vc(e, t, n) { + (e.prototype = t.prototype = n), (n.constructor = e); +} +function i3(e, t) { + var n = Object.create(e.prototype); + for (var o in t) n[o] = t[o]; + return n; +} +function Ar() {} +var fr = 0.7, + Mi = 1 / fr, + go = "\\s*([+-]?\\d+)\\s*", + pr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", + ln = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", + Nh = /^#([0-9a-f]{3,8})$/, + Dh = new RegExp(`^rgb\\(${go},${go},${go}\\)$`), + Lh = new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`), + Fh = new RegExp(`^rgba\\(${go},${go},${go},${pr}\\)$`), + Rh = new RegExp(`^rgba\\(${ln},${ln},${ln},${pr}\\)$`), + jh = new RegExp(`^hsl\\(${pr},${ln},${ln}\\)$`), + Ih = new RegExp(`^hsla\\(${pr},${ln},${ln},${pr}\\)$`), + J2 = { + aliceblue: 15792383, + antiquewhite: 16444375, + aqua: 65535, + aquamarine: 8388564, + azure: 15794175, + beige: 16119260, + bisque: 16770244, + black: 0, + blanchedalmond: 16772045, + blue: 255, + blueviolet: 9055202, + brown: 10824234, + burlywood: 14596231, + cadetblue: 6266528, + chartreuse: 8388352, + chocolate: 13789470, + coral: 16744272, + cornflowerblue: 6591981, + cornsilk: 16775388, + crimson: 14423100, + cyan: 65535, + darkblue: 139, + darkcyan: 35723, + darkgoldenrod: 12092939, + darkgray: 11119017, + darkgreen: 25600, + darkgrey: 11119017, + darkkhaki: 12433259, + darkmagenta: 9109643, + darkolivegreen: 5597999, + darkorange: 16747520, + darkorchid: 10040012, + darkred: 9109504, + darksalmon: 15308410, + darkseagreen: 9419919, + darkslateblue: 4734347, + darkslategray: 3100495, + darkslategrey: 3100495, + darkturquoise: 52945, + darkviolet: 9699539, + deeppink: 16716947, + deepskyblue: 49151, + dimgray: 6908265, + dimgrey: 6908265, + dodgerblue: 2003199, + firebrick: 11674146, + floralwhite: 16775920, + forestgreen: 2263842, + fuchsia: 16711935, + gainsboro: 14474460, + ghostwhite: 16316671, + gold: 16766720, + goldenrod: 14329120, + gray: 8421504, + green: 32768, + greenyellow: 11403055, + grey: 8421504, + honeydew: 15794160, + hotpink: 16738740, + indianred: 13458524, + indigo: 4915330, + ivory: 16777200, + khaki: 15787660, + lavender: 15132410, + lavenderblush: 16773365, + lawngreen: 8190976, + lemonchiffon: 16775885, + lightblue: 11393254, + lightcoral: 15761536, + lightcyan: 14745599, + lightgoldenrodyellow: 16448210, + lightgray: 13882323, + lightgreen: 9498256, + lightgrey: 13882323, + lightpink: 16758465, + lightsalmon: 16752762, + lightseagreen: 2142890, + lightskyblue: 8900346, + lightslategray: 7833753, + lightslategrey: 7833753, + lightsteelblue: 11584734, + lightyellow: 16777184, + lime: 65280, + limegreen: 3329330, + linen: 16445670, + magenta: 16711935, + maroon: 8388608, + mediumaquamarine: 6737322, + mediumblue: 205, + mediumorchid: 12211667, + mediumpurple: 9662683, + mediumseagreen: 3978097, + mediumslateblue: 8087790, + mediumspringgreen: 64154, + mediumturquoise: 4772300, + mediumvioletred: 13047173, + midnightblue: 1644912, + mintcream: 16121850, + mistyrose: 16770273, + moccasin: 16770229, + navajowhite: 16768685, + navy: 128, + oldlace: 16643558, + olive: 8421376, + olivedrab: 7048739, + orange: 16753920, + orangered: 16729344, + orchid: 14315734, + palegoldenrod: 15657130, + palegreen: 10025880, + paleturquoise: 11529966, + palevioletred: 14381203, + papayawhip: 16773077, + peachpuff: 16767673, + peru: 13468991, + pink: 16761035, + plum: 14524637, + powderblue: 11591910, + purple: 8388736, + rebeccapurple: 6697881, + red: 16711680, + rosybrown: 12357519, + royalblue: 4286945, + saddlebrown: 9127187, + salmon: 16416882, + sandybrown: 16032864, + seagreen: 3050327, + seashell: 16774638, + sienna: 10506797, + silver: 12632256, + skyblue: 8900331, + slateblue: 6970061, + slategray: 7372944, + slategrey: 7372944, + snow: 16775930, + springgreen: 65407, + steelblue: 4620980, + tan: 13808780, + teal: 32896, + thistle: 14204888, + tomato: 16737095, + turquoise: 4251856, + violet: 15631086, + wheat: 16113331, + white: 16777215, + whitesmoke: 16119285, + yellow: 16776960, + yellowgreen: 10145074, + }; +vc(Ar, hr, { + copy(e) { + return Object.assign(new this.constructor(), this, e); + }, + displayable() { + return this.rgb().displayable(); + }, + hex: eu, + // Deprecated! Use color.formatHex. + formatHex: eu, + formatHex8: zh, + formatHsl: Hh, + formatRgb: tu, + toString: tu, +}); +function eu() { + return this.rgb().formatHex(); +} +function zh() { + return this.rgb().formatHex8(); +} +function Hh() { + return a3(this).formatHsl(); +} +function tu() { + return this.rgb().formatRgb(); +} +function hr(e) { + var t, n; + return ( + (e = (e + "").trim().toLowerCase()), + (t = Nh.exec(e)) + ? ((n = t[1].length), + (t = parseInt(t[1], 16)), + n === 6 + ? nu(t) + : n === 3 + ? new xt( + ((t >> 8) & 15) | ((t >> 4) & 240), + ((t >> 4) & 15) | (t & 240), + ((t & 15) << 4) | (t & 15), + 1, + ) + : n === 8 + ? qr( + (t >> 24) & 255, + (t >> 16) & 255, + (t >> 8) & 255, + (t & 255) / 255, + ) + : n === 4 + ? qr( + ((t >> 12) & 15) | ((t >> 8) & 240), + ((t >> 8) & 15) | ((t >> 4) & 240), + ((t >> 4) & 15) | (t & 240), + (((t & 15) << 4) | (t & 15)) / 255, + ) + : null) + : (t = Dh.exec(e)) + ? new xt(t[1], t[2], t[3], 1) + : (t = Lh.exec(e)) + ? new xt( + (t[1] * 255) / 100, + (t[2] * 255) / 100, + (t[3] * 255) / 100, + 1, + ) + : (t = Fh.exec(e)) + ? qr(t[1], t[2], t[3], t[4]) + : (t = Rh.exec(e)) + ? qr( + (t[1] * 255) / 100, + (t[2] * 255) / 100, + (t[3] * 255) / 100, + t[4], + ) + : (t = jh.exec(e)) + ? iu(t[1], t[2] / 100, t[3] / 100, 1) + : (t = Ih.exec(e)) + ? iu(t[1], t[2] / 100, t[3] / 100, t[4]) + : J2.hasOwnProperty(e) + ? nu(J2[e]) + : e === "transparent" + ? new xt(NaN, NaN, NaN, 0) + : null + ); +} +function nu(e) { + return new xt((e >> 16) & 255, (e >> 8) & 255, e & 255, 1); +} +function qr(e, t, n, o) { + return o <= 0 && (e = t = n = NaN), new xt(e, t, n, o); +} +function Ph(e) { + return ( + e instanceof Ar || (e = hr(e)), + e ? ((e = e.rgb()), new xt(e.r, e.g, e.b, e.opacity)) : new xt() + ); +} +function ms(e, t, n, o) { + return arguments.length === 1 ? Ph(e) : new xt(e, t, n, o ?? 1); +} +function xt(e, t, n, o) { + (this.r = +e), (this.g = +t), (this.b = +n), (this.opacity = +o); +} +vc( + xt, + ms, + i3(Ar, { + brighter(e) { + return ( + (e = e == null ? Mi : Math.pow(Mi, e)), + new xt(this.r * e, this.g * e, this.b * e, this.opacity) + ); + }, + darker(e) { + return ( + (e = e == null ? fr : Math.pow(fr, e)), + new xt(this.r * e, this.g * e, this.b * e, this.opacity) + ); + }, + rgb() { + return this; + }, + clamp() { + return new xt(Un(this.r), Un(this.g), Un(this.b), Ti(this.opacity)); + }, + displayable() { + return ( + -0.5 <= this.r && + this.r < 255.5 && + -0.5 <= this.g && + this.g < 255.5 && + -0.5 <= this.b && + this.b < 255.5 && + 0 <= this.opacity && + this.opacity <= 1 + ); + }, + hex: ou, + // Deprecated! Use color.formatHex. + formatHex: ou, + formatHex8: Bh, + formatRgb: ru, + toString: ru, + }), +); +function ou() { + return `#${$n(this.r)}${$n(this.g)}${$n(this.b)}`; +} +function Bh() { + return `#${$n(this.r)}${$n(this.g)}${$n(this.b)}${$n((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`; +} +function ru() { + const e = Ti(this.opacity); + return `${e === 1 ? "rgb(" : "rgba("}${Un(this.r)}, ${Un(this.g)}, ${Un(this.b)}${e === 1 ? ")" : `, ${e})`}`; +} +function Ti(e) { + return isNaN(e) ? 1 : Math.max(0, Math.min(1, e)); +} +function Un(e) { + return Math.max(0, Math.min(255, Math.round(e) || 0)); +} +function $n(e) { + return (e = Un(e)), (e < 16 ? "0" : "") + e.toString(16); +} +function iu(e, t, n, o) { + return ( + o <= 0 + ? (e = t = n = NaN) + : n <= 0 || n >= 1 + ? (e = t = NaN) + : t <= 0 && (e = NaN), + new qt(e, t, n, o) + ); +} +function a3(e) { + if (e instanceof qt) return new qt(e.h, e.s, e.l, e.opacity); + if ((e instanceof Ar || (e = hr(e)), !e)) return new qt(); + if (e instanceof qt) return e; + e = e.rgb(); + var t = e.r / 255, + n = e.g / 255, + o = e.b / 255, + r = Math.min(t, n, o), + i = Math.max(t, n, o), + a = NaN, + l = i - r, + s = (i + r) / 2; + return ( + l + ? (t === i + ? (a = (n - o) / l + (n < o) * 6) + : n === i + ? (a = (o - t) / l + 2) + : (a = (t - n) / l + 4), + (l /= s < 0.5 ? i + r : 2 - i - r), + (a *= 60)) + : (l = s > 0 && s < 1 ? 0 : a), + new qt(a, l, s, e.opacity) + ); +} +function Vh(e, t, n, o) { + return arguments.length === 1 ? a3(e) : new qt(e, t, n, o ?? 1); +} +function qt(e, t, n, o) { + (this.h = +e), (this.s = +t), (this.l = +n), (this.opacity = +o); +} +vc( + qt, + Vh, + i3(Ar, { + brighter(e) { + return ( + (e = e == null ? Mi : Math.pow(Mi, e)), + new qt(this.h, this.s, this.l * e, this.opacity) + ); + }, + darker(e) { + return ( + (e = e == null ? fr : Math.pow(fr, e)), + new qt(this.h, this.s, this.l * e, this.opacity) + ); + }, + rgb() { + var e = (this.h % 360) + (this.h < 0) * 360, + t = isNaN(e) || isNaN(this.s) ? 0 : this.s, + n = this.l, + o = n + (n < 0.5 ? n : 1 - n) * t, + r = 2 * n - o; + return new xt( + Nl(e >= 240 ? e - 240 : e + 120, r, o), + Nl(e, r, o), + Nl(e < 120 ? e + 240 : e - 120, r, o), + this.opacity, + ); + }, + clamp() { + return new qt(au(this.h), Yr(this.s), Yr(this.l), Ti(this.opacity)); + }, + displayable() { + return ( + ((0 <= this.s && this.s <= 1) || isNaN(this.s)) && + 0 <= this.l && + this.l <= 1 && + 0 <= this.opacity && + this.opacity <= 1 + ); + }, + formatHsl() { + const e = Ti(this.opacity); + return `${e === 1 ? "hsl(" : "hsla("}${au(this.h)}, ${Yr(this.s) * 100}%, ${Yr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; + }, + }), +); +function au(e) { + return (e = (e || 0) % 360), e < 0 ? e + 360 : e; +} +function Yr(e) { + return Math.max(0, Math.min(1, e || 0)); +} +function Nl(e, t, n) { + return ( + (e < 60 + ? t + ((n - t) * e) / 60 + : e < 180 + ? n + : e < 240 + ? t + ((n - t) * (240 - e)) / 60 + : t) * 255 + ); +} +const l3 = (e) => () => e; +function $h(e, t) { + return function (n) { + return e + n * t; + }; +} +function Wh(e, t, n) { + return ( + (e = Math.pow(e, n)), + (t = Math.pow(t, n) - e), + (n = 1 / n), + function (o) { + return Math.pow(e + o * t, n); + } + ); +} +function Zh(e) { + return (e = +e) == 1 + ? s3 + : function (t, n) { + return n - t ? Wh(t, n, e) : l3(isNaN(t) ? n : t); + }; +} +function s3(e, t) { + var n = t - e; + return n ? $h(e, n) : l3(isNaN(e) ? t : e); +} +const lu = (function e(t) { + var n = Zh(t); + function o(r, i) { + var a = n((r = ms(r)).r, (i = ms(i)).r), + l = n(r.g, i.g), + s = n(r.b, i.b), + u = s3(r.opacity, i.opacity); + return function (c) { + return ( + (r.r = a(c)), (r.g = l(c)), (r.b = s(c)), (r.opacity = u(c)), r + "" + ); + }; + } + return (o.gamma = e), o; +})(1); +function Tn(e, t) { + return ( + (e = +e), + (t = +t), + function (n) { + return e * (1 - n) + t * n; + } + ); +} +var bs = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, + Dl = new RegExp(bs.source, "g"); +function Uh(e) { + return function () { + return e; + }; +} +function qh(e) { + return function (t) { + return e(t) + ""; + }; +} +function Yh(e, t) { + var n = (bs.lastIndex = Dl.lastIndex = 0), + o, + r, + i, + a = -1, + l = [], + s = []; + for (e = e + "", t = t + ""; (o = bs.exec(e)) && (r = Dl.exec(t)); ) + (i = r.index) > n && + ((i = t.slice(n, i)), l[a] ? (l[a] += i) : (l[++a] = i)), + (o = o[0]) === (r = r[0]) + ? l[a] + ? (l[a] += r) + : (l[++a] = r) + : ((l[++a] = null), s.push({ i: a, x: Tn(o, r) })), + (n = Dl.lastIndex); + return ( + n < t.length && ((i = t.slice(n)), l[a] ? (l[a] += i) : (l[++a] = i)), + l.length < 2 + ? s[0] + ? qh(s[0].x) + : Uh(t) + : ((t = s.length), + function (u) { + for (var c = 0, d; c < t; ++c) l[(d = s[c]).i] = d.x(u); + return l.join(""); + }) + ); +} +var su = 180 / Math.PI, + ys = { + translateX: 0, + translateY: 0, + rotate: 0, + skewX: 0, + scaleX: 1, + scaleY: 1, + }; +function c3(e, t, n, o, r, i) { + var a, l, s; + return ( + (a = Math.sqrt(e * e + t * t)) && ((e /= a), (t /= a)), + (s = e * n + t * o) && ((n -= e * s), (o -= t * s)), + (l = Math.sqrt(n * n + o * o)) && ((n /= l), (o /= l), (s /= l)), + e * o < t * n && ((e = -e), (t = -t), (s = -s), (a = -a)), + { + translateX: r, + translateY: i, + rotate: Math.atan2(t, e) * su, + skewX: Math.atan(s) * su, + scaleX: a, + scaleY: l, + } + ); +} +var Gr; +function Gh(e) { + const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)( + e + "", + ); + return t.isIdentity ? ys : c3(t.a, t.b, t.c, t.d, t.e, t.f); +} +function Kh(e) { + return e == null || + (Gr || (Gr = document.createElementNS("http://www.w3.org/2000/svg", "g")), + Gr.setAttribute("transform", e), + !(e = Gr.transform.baseVal.consolidate())) + ? ys + : ((e = e.matrix), c3(e.a, e.b, e.c, e.d, e.e, e.f)); +} +function u3(e, t, n, o) { + function r(u) { + return u.length ? u.pop() + " " : ""; + } + function i(u, c, d, h, f, m) { + if (u !== d || c !== h) { + var b = f.push("translate(", null, t, null, n); + m.push({ i: b - 4, x: Tn(u, d) }, { i: b - 2, x: Tn(c, h) }); + } else (d || h) && f.push("translate(" + d + t + h + n); + } + function a(u, c, d, h) { + u !== c + ? (u - c > 180 ? (c += 360) : c - u > 180 && (u += 360), + h.push({ i: d.push(r(d) + "rotate(", null, o) - 2, x: Tn(u, c) })) + : c && d.push(r(d) + "rotate(" + c + o); + } + function l(u, c, d, h) { + u !== c + ? h.push({ i: d.push(r(d) + "skewX(", null, o) - 2, x: Tn(u, c) }) + : c && d.push(r(d) + "skewX(" + c + o); + } + function s(u, c, d, h, f, m) { + if (u !== d || c !== h) { + var b = f.push(r(f) + "scale(", null, ",", null, ")"); + m.push({ i: b - 4, x: Tn(u, d) }, { i: b - 2, x: Tn(c, h) }); + } else (d !== 1 || h !== 1) && f.push(r(f) + "scale(" + d + "," + h + ")"); + } + return function (u, c) { + var d = [], + h = []; + return ( + (u = e(u)), + (c = e(c)), + i(u.translateX, u.translateY, c.translateX, c.translateY, d, h), + a(u.rotate, c.rotate, d, h), + l(u.skewX, c.skewX, d, h), + s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, d, h), + (u = c = null), + function (f) { + for (var m = -1, b = h.length, y; ++m < b; ) d[(y = h[m]).i] = y.x(f); + return d.join(""); + } + ); + }; +} +var Xh = u3(Gh, "px, ", "px)", "deg)"), + Qh = u3(Kh, ", ", ")", ")"), + Jh = 1e-12; +function cu(e) { + return ((e = Math.exp(e)) + 1 / e) / 2; +} +function eg(e) { + return ((e = Math.exp(e)) - 1 / e) / 2; +} +function tg(e) { + return ((e = Math.exp(2 * e)) - 1) / (e + 1); +} +const ng = (function e(t, n, o) { + function r(i, a) { + var l = i[0], + s = i[1], + u = i[2], + c = a[0], + d = a[1], + h = a[2], + f = c - l, + m = d - s, + b = f * f + m * m, + y, + g; + if (b < Jh) + (g = Math.log(h / u) / t), + (y = function (_) { + return [l + _ * f, s + _ * m, u * Math.exp(t * _ * g)]; + }); + else { + var x = Math.sqrt(b), + C = (h * h - u * u + o * b) / (2 * u * n * x), + E = (h * h - u * u - o * b) / (2 * h * n * x), + w = Math.log(Math.sqrt(C * C + 1) - C), + S = Math.log(Math.sqrt(E * E + 1) - E); + (g = (S - w) / t), + (y = function (_) { + var A = _ * g, + R = cu(w), + L = (u / (n * x)) * (R * tg(t * A + w) - eg(w)); + return [l + L * f, s + L * m, (u * R) / cu(t * A + w)]; + }); + } + return (y.duration = (g * 1e3 * t) / Math.SQRT2), y; + } + return ( + (r.rho = function (i) { + var a = Math.max(1e-3, +i), + l = a * a, + s = l * l; + return e(a, l, s); + }), + r + ); +})(Math.SQRT2, 2, 4); +var Ao = 0, + Ko = 0, + Vo = 0, + d3 = 1e3, + Oi, + Xo, + Ni = 0, + Qn = 0, + ta = 0, + gr = typeof performance == "object" && performance.now ? performance : Date, + f3 = + typeof window == "object" && window.requestAnimationFrame + ? window.requestAnimationFrame.bind(window) + : function (e) { + setTimeout(e, 17); + }; +function xc() { + return Qn || (f3(og), (Qn = gr.now() + ta)); +} +function og() { + Qn = 0; +} +function Di() { + this._call = this._time = this._next = null; +} +Di.prototype = p3.prototype = { + constructor: Di, + restart: function (e, t, n) { + if (typeof e != "function") + throw new TypeError("callback is not a function"); + (n = (n == null ? xc() : +n) + (t == null ? 0 : +t)), + !this._next && + Xo !== this && + (Xo ? (Xo._next = this) : (Oi = this), (Xo = this)), + (this._call = e), + (this._time = n), + Cs(); + }, + stop: function () { + this._call && ((this._call = null), (this._time = 1 / 0), Cs()); + }, +}; +function p3(e, t, n) { + var o = new Di(); + return o.restart(e, t, n), o; +} +function rg() { + xc(), ++Ao; + for (var e = Oi, t; e; ) + (t = Qn - e._time) >= 0 && e._call.call(void 0, t), (e = e._next); + --Ao; +} +function uu() { + (Qn = (Ni = gr.now()) + ta), (Ao = Ko = 0); + try { + rg(); + } finally { + (Ao = 0), ag(), (Qn = 0); + } +} +function ig() { + var e = gr.now(), + t = e - Ni; + t > d3 && ((ta -= t), (Ni = e)); +} +function ag() { + for (var e, t = Oi, n, o = 1 / 0; t; ) + t._call + ? (o > t._time && (o = t._time), (e = t), (t = t._next)) + : ((n = t._next), (t._next = null), (t = e ? (e._next = n) : (Oi = n))); + (Xo = e), Cs(o); +} +function Cs(e) { + if (!Ao) { + Ko && (Ko = clearTimeout(Ko)); + var t = e - Qn; + t > 24 + ? (e < 1 / 0 && (Ko = setTimeout(uu, e - gr.now() - ta)), + Vo && (Vo = clearInterval(Vo))) + : (Vo || ((Ni = gr.now()), (Vo = setInterval(ig, d3))), (Ao = 1), f3(uu)); + } +} +function du(e, t, n) { + var o = new Di(); + return ( + (t = t == null ? 0 : +t), + o.restart( + (r) => { + o.stop(), e(r + t); + }, + t, + n, + ), + o + ); +} +var lg = Ji("start", "end", "cancel", "interrupt"), + sg = [], + h3 = 0, + fu = 1, + vs = 2, + fi = 3, + pu = 4, + xs = 5, + pi = 6; +function na(e, t, n, o, r, i) { + var a = e.__transition; + if (!a) e.__transition = {}; + else if (n in a) return; + cg(e, n, { + name: t, + index: o, + // For context during callback. + group: r, + // For context during callback. + on: lg, + tween: sg, + time: i.time, + delay: i.delay, + duration: i.duration, + ease: i.ease, + timer: null, + state: h3, + }); +} +function wc(e, t) { + var n = Xt(e, t); + if (n.state > h3) throw new Error("too late; already scheduled"); + return n; +} +function dn(e, t) { + var n = Xt(e, t); + if (n.state > fi) throw new Error("too late; already running"); + return n; +} +function Xt(e, t) { + var n = e.__transition; + if (!n || !(n = n[t])) throw new Error("transition not found"); + return n; +} +function cg(e, t, n) { + var o = e.__transition, + r; + (o[t] = n), (n.timer = p3(i, 0, n.time)); + function i(u) { + (n.state = fu), + n.timer.restart(a, n.delay, n.time), + n.delay <= u && a(u - n.delay); + } + function a(u) { + var c, d, h, f; + if (n.state !== fu) return s(); + for (c in o) + if (((f = o[c]), f.name === n.name)) { + if (f.state === fi) return du(a); + f.state === pu + ? ((f.state = pi), + f.timer.stop(), + f.on.call("interrupt", e, e.__data__, f.index, f.group), + delete o[c]) + : +c < t && + ((f.state = pi), + f.timer.stop(), + f.on.call("cancel", e, e.__data__, f.index, f.group), + delete o[c]); + } + if ( + (du(function () { + n.state === fi && + ((n.state = pu), n.timer.restart(l, n.delay, n.time), l(u)); + }), + (n.state = vs), + n.on.call("start", e, e.__data__, n.index, n.group), + n.state === vs) + ) { + for ( + n.state = fi, r = new Array((h = n.tween.length)), c = 0, d = -1; + c < h; + ++c + ) + (f = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && + (r[++d] = f); + r.length = d + 1; + } + } + function l(u) { + for ( + var c = + u < n.duration + ? n.ease.call(null, u / n.duration) + : (n.timer.restart(s), (n.state = xs), 1), + d = -1, + h = r.length; + ++d < h; + + ) + r[d].call(e, c); + n.state === xs && (n.on.call("end", e, e.__data__, n.index, n.group), s()); + } + function s() { + (n.state = pi), n.timer.stop(), delete o[t]; + for (var u in o) return; + delete e.__transition; + } +} +function hi(e, t) { + var n = e.__transition, + o, + r, + i = !0, + a; + if (n) { + t = t == null ? null : t + ""; + for (a in n) { + if ((o = n[a]).name !== t) { + i = !1; + continue; + } + (r = o.state > vs && o.state < xs), + (o.state = pi), + o.timer.stop(), + o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), + delete n[a]; + } + i && delete e.__transition; + } +} +function ug(e) { + return this.each(function () { + hi(this, e); + }); +} +function dg(e, t) { + var n, o; + return function () { + var r = dn(this, e), + i = r.tween; + if (i !== n) { + o = n = i; + for (var a = 0, l = o.length; a < l; ++a) + if (o[a].name === t) { + (o = o.slice()), o.splice(a, 1); + break; + } + } + r.tween = o; + }; +} +function fg(e, t, n) { + var o, r; + if (typeof n != "function") throw new Error(); + return function () { + var i = dn(this, e), + a = i.tween; + if (a !== o) { + r = (o = a).slice(); + for (var l = { name: t, value: n }, s = 0, u = r.length; s < u; ++s) + if (r[s].name === t) { + r[s] = l; + break; + } + s === u && r.push(l); + } + i.tween = r; + }; +} +function pg(e, t) { + var n = this._id; + if (((e += ""), arguments.length < 2)) { + for (var o = Xt(this.node(), n).tween, r = 0, i = o.length, a; r < i; ++r) + if ((a = o[r]).name === e) return a.value; + return null; + } + return this.each((t == null ? dg : fg)(n, e, t)); +} +function Ec(e, t, n) { + var o = e._id; + return ( + e.each(function () { + var r = dn(this, o); + (r.value || (r.value = {}))[t] = n.apply(this, arguments); + }), + function (r) { + return Xt(r, o).value[t]; + } + ); +} +function g3(e, t) { + var n; + return ( + typeof t == "number" + ? Tn + : t instanceof hr + ? lu + : (n = hr(t)) + ? ((t = n), lu) + : Yh + )(e, t); +} +function hg(e) { + return function () { + this.removeAttribute(e); + }; +} +function gg(e) { + return function () { + this.removeAttributeNS(e.space, e.local); + }; +} +function mg(e, t, n) { + var o, + r = n + "", + i; + return function () { + var a = this.getAttribute(e); + return a === r ? null : a === o ? i : (i = t((o = a), n)); + }; +} +function bg(e, t, n) { + var o, + r = n + "", + i; + return function () { + var a = this.getAttributeNS(e.space, e.local); + return a === r ? null : a === o ? i : (i = t((o = a), n)); + }; +} +function yg(e, t, n) { + var o, r, i; + return function () { + var a, + l = n(this), + s; + return l == null + ? void this.removeAttribute(e) + : ((a = this.getAttribute(e)), + (s = l + ""), + a === s + ? null + : a === o && s === r + ? i + : ((r = s), (i = t((o = a), l)))); + }; +} +function Cg(e, t, n) { + var o, r, i; + return function () { + var a, + l = n(this), + s; + return l == null + ? void this.removeAttributeNS(e.space, e.local) + : ((a = this.getAttributeNS(e.space, e.local)), + (s = l + ""), + a === s + ? null + : a === o && s === r + ? i + : ((r = s), (i = t((o = a), l)))); + }; +} +function vg(e, t) { + var n = ea(e), + o = n === "transform" ? Qh : g3; + return this.attrTween( + e, + typeof t == "function" + ? (n.local ? Cg : yg)(n, o, Ec(this, "attr." + e, t)) + : t == null + ? (n.local ? gg : hg)(n) + : (n.local ? bg : mg)(n, o, t), + ); +} +function xg(e, t) { + return function (n) { + this.setAttribute(e, t.call(this, n)); + }; +} +function wg(e, t) { + return function (n) { + this.setAttributeNS(e.space, e.local, t.call(this, n)); + }; +} +function Eg(e, t) { + var n, o; + function r() { + var i = t.apply(this, arguments); + return i !== o && (n = (o = i) && wg(e, i)), n; + } + return (r._value = t), r; +} +function Sg(e, t) { + var n, o; + function r() { + var i = t.apply(this, arguments); + return i !== o && (n = (o = i) && xg(e, i)), n; + } + return (r._value = t), r; +} +function kg(e, t) { + var n = "attr." + e; + if (arguments.length < 2) return (n = this.tween(n)) && n._value; + if (t == null) return this.tween(n, null); + if (typeof t != "function") throw new Error(); + var o = ea(e); + return this.tween(n, (o.local ? Eg : Sg)(o, t)); +} +function _g(e, t) { + return function () { + wc(this, e).delay = +t.apply(this, arguments); + }; +} +function Ag(e, t) { + return ( + (t = +t), + function () { + wc(this, e).delay = t; + } + ); +} +function Mg(e) { + var t = this._id; + return arguments.length + ? this.each((typeof e == "function" ? _g : Ag)(t, e)) + : Xt(this.node(), t).delay; +} +function Tg(e, t) { + return function () { + dn(this, e).duration = +t.apply(this, arguments); + }; +} +function Og(e, t) { + return ( + (t = +t), + function () { + dn(this, e).duration = t; + } + ); +} +function Ng(e) { + var t = this._id; + return arguments.length + ? this.each((typeof e == "function" ? Tg : Og)(t, e)) + : Xt(this.node(), t).duration; +} +function Dg(e, t) { + if (typeof t != "function") throw new Error(); + return function () { + dn(this, e).ease = t; + }; +} +function Lg(e) { + var t = this._id; + return arguments.length ? this.each(Dg(t, e)) : Xt(this.node(), t).ease; +} +function Fg(e, t) { + return function () { + var n = t.apply(this, arguments); + if (typeof n != "function") throw new Error(); + dn(this, e).ease = n; + }; +} +function Rg(e) { + if (typeof e != "function") throw new Error(); + return this.each(Fg(this._id, e)); +} +function jg(e) { + typeof e != "function" && (e = qd(e)); + for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) + for (var i = t[r], a = i.length, l = (o[r] = []), s, u = 0; u < a; ++u) + (s = i[u]) && e.call(s, s.__data__, u, i) && l.push(s); + return new vn(o, this._parents, this._name, this._id); +} +function Ig(e) { + if (e._id !== this._id) throw new Error(); + for ( + var t = this._groups, + n = e._groups, + o = t.length, + r = n.length, + i = Math.min(o, r), + a = new Array(o), + l = 0; + l < i; + ++l + ) + for ( + var s = t[l], u = n[l], c = s.length, d = (a[l] = new Array(c)), h, f = 0; + f < c; + ++f + ) + (h = s[f] || u[f]) && (d[f] = h); + for (; l < o; ++l) a[l] = t[l]; + return new vn(a, this._parents, this._name, this._id); +} +function zg(e) { + return (e + "") + .trim() + .split(/^|\s+/) + .every(function (t) { + var n = t.indexOf("."); + return n >= 0 && (t = t.slice(0, n)), !t || t === "start"; + }); +} +function Hg(e, t, n) { + var o, + r, + i = zg(t) ? wc : dn; + return function () { + var a = i(this, e), + l = a.on; + l !== o && (r = (o = l).copy()).on(t, n), (a.on = r); + }; +} +function Pg(e, t) { + var n = this._id; + return arguments.length < 2 + ? Xt(this.node(), n).on.on(e) + : this.each(Hg(n, e, t)); +} +function Bg(e) { + return function () { + var t = this.parentNode; + for (var n in this.__transition) if (+n !== e) return; + t && t.removeChild(this); + }; +} +function Vg() { + return this.on("end.remove", Bg(this._id)); +} +function $g(e) { + var t = this._name, + n = this._id; + typeof e != "function" && (e = yc(e)); + for (var o = this._groups, r = o.length, i = new Array(r), a = 0; a < r; ++a) + for ( + var l = o[a], s = l.length, u = (i[a] = new Array(s)), c, d, h = 0; + h < s; + ++h + ) + (c = l[h]) && + (d = e.call(c, c.__data__, h, l)) && + ("__data__" in c && (d.__data__ = c.__data__), + (u[h] = d), + na(u[h], t, n, h, u, Xt(c, n))); + return new vn(i, this._parents, t, n); +} +function Wg(e) { + var t = this._name, + n = this._id; + typeof e != "function" && (e = Ud(e)); + for (var o = this._groups, r = o.length, i = [], a = [], l = 0; l < r; ++l) + for (var s = o[l], u = s.length, c, d = 0; d < u; ++d) + if ((c = s[d])) { + for ( + var h = e.call(c, c.__data__, d, s), + f, + m = Xt(c, n), + b = 0, + y = h.length; + b < y; + ++b + ) + (f = h[b]) && na(f, t, n, b, h, m); + i.push(h), a.push(c); + } + return new vn(i, a, t, n); +} +var Zg = _r.prototype.constructor; +function Ug() { + return new Zg(this._groups, this._parents); +} +function qg(e, t) { + var n, o, r; + return function () { + var i = _o(this, e), + a = (this.style.removeProperty(e), _o(this, e)); + return i === a ? null : i === n && a === o ? r : (r = t((n = i), (o = a))); + }; +} +function m3(e) { + return function () { + this.style.removeProperty(e); + }; +} +function Yg(e, t, n) { + var o, + r = n + "", + i; + return function () { + var a = _o(this, e); + return a === r ? null : a === o ? i : (i = t((o = a), n)); + }; +} +function Gg(e, t, n) { + var o, r, i; + return function () { + var a = _o(this, e), + l = n(this), + s = l + ""; + return ( + l == null && (s = l = (this.style.removeProperty(e), _o(this, e))), + a === s ? null : a === o && s === r ? i : ((r = s), (i = t((o = a), l))) + ); + }; +} +function Kg(e, t) { + var n, + o, + r, + i = "style." + t, + a = "end." + i, + l; + return function () { + var s = dn(this, e), + u = s.on, + c = s.value[i] == null ? l || (l = m3(t)) : void 0; + (u !== n || r !== c) && (o = (n = u).copy()).on(a, (r = c)), (s.on = o); + }; +} +function Xg(e, t, n) { + var o = (e += "") == "transform" ? Xh : g3; + return t == null + ? this.styleTween(e, qg(e, o)).on("end.style." + e, m3(e)) + : typeof t == "function" + ? this.styleTween(e, Gg(e, o, Ec(this, "style." + e, t))).each( + Kg(this._id, e), + ) + : this.styleTween(e, Yg(e, o, t), n).on("end.style." + e, null); +} +function Qg(e, t, n) { + return function (o) { + this.style.setProperty(e, t.call(this, o), n); + }; +} +function Jg(e, t, n) { + var o, r; + function i() { + var a = t.apply(this, arguments); + return a !== r && (o = (r = a) && Qg(e, a, n)), o; + } + return (i._value = t), i; +} +function em(e, t, n) { + var o = "style." + (e += ""); + if (arguments.length < 2) return (o = this.tween(o)) && o._value; + if (t == null) return this.tween(o, null); + if (typeof t != "function") throw new Error(); + return this.tween(o, Jg(e, t, n ?? "")); +} +function tm(e) { + return function () { + this.textContent = e; + }; +} +function nm(e) { + return function () { + var t = e(this); + this.textContent = t ?? ""; + }; +} +function om(e) { + return this.tween( + "text", + typeof e == "function" + ? nm(Ec(this, "text", e)) + : tm(e == null ? "" : e + ""), + ); +} +function rm(e) { + return function (t) { + this.textContent = e.call(this, t); + }; +} +function im(e) { + var t, n; + function o() { + var r = e.apply(this, arguments); + return r !== n && (t = (n = r) && rm(r)), t; + } + return (o._value = e), o; +} +function am(e) { + var t = "text"; + if (arguments.length < 1) return (t = this.tween(t)) && t._value; + if (e == null) return this.tween(t, null); + if (typeof e != "function") throw new Error(); + return this.tween(t, im(e)); +} +function lm() { + for ( + var e = this._name, + t = this._id, + n = b3(), + o = this._groups, + r = o.length, + i = 0; + i < r; + ++i + ) + for (var a = o[i], l = a.length, s, u = 0; u < l; ++u) + if ((s = a[u])) { + var c = Xt(s, t); + na(s, e, n, u, a, { + time: c.time + c.delay + c.duration, + delay: 0, + duration: c.duration, + ease: c.ease, + }); + } + return new vn(o, this._parents, e, n); +} +function sm() { + var e, + t, + n = this, + o = n._id, + r = n.size(); + return new Promise(function (i, a) { + var l = { value: a }, + s = { + value: function () { + --r === 0 && i(); + }, + }; + n.each(function () { + var u = dn(this, o), + c = u.on; + c !== e && + ((t = (e = c).copy()), + t._.cancel.push(l), + t._.interrupt.push(l), + t._.end.push(s)), + (u.on = t); + }), + r === 0 && i(); + }); +} +var cm = 0; +function vn(e, t, n, o) { + (this._groups = e), (this._parents = t), (this._name = n), (this._id = o); +} +function b3() { + return ++cm; +} +var hn = _r.prototype; +vn.prototype = { + constructor: vn, + select: $g, + selectAll: Wg, + selectChild: hn.selectChild, + selectChildren: hn.selectChildren, + filter: jg, + merge: Ig, + selection: Ug, + transition: lm, + call: hn.call, + nodes: hn.nodes, + node: hn.node, + size: hn.size, + empty: hn.empty, + each: hn.each, + on: Pg, + attr: vg, + attrTween: kg, + style: Xg, + styleTween: em, + text: om, + textTween: am, + remove: Vg, + tween: pg, + delay: Mg, + duration: Ng, + ease: Lg, + easeVarying: Rg, + end: sm, + [Symbol.iterator]: hn[Symbol.iterator], +}; +function um(e) { + return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; +} +var dm = { + time: null, + // Set on use. + delay: 0, + duration: 250, + ease: um, +}; +function fm(e, t) { + for (var n; !(n = e.__transition) || !(n = n[t]); ) + if (!(e = e.parentNode)) throw new Error(`transition ${t} not found`); + return n; +} +function pm(e) { + var t, n; + e instanceof vn + ? ((t = e._id), (e = e._name)) + : ((t = b3()), ((n = dm).time = xc()), (e = e == null ? null : e + "")); + for (var o = this._groups, r = o.length, i = 0; i < r; ++i) + for (var a = o[i], l = a.length, s, u = 0; u < l; ++u) + (s = a[u]) && na(s, e, t, u, a, n || fm(s, t)); + return new vn(o, this._parents, e, t); +} +_r.prototype.interrupt = ug; +_r.prototype.transition = pm; +const Kr = (e) => () => e; +function hm(e, { sourceEvent: t, target: n, transform: o, dispatch: r }) { + Object.defineProperties(this, { + type: { value: e, enumerable: !0, configurable: !0 }, + sourceEvent: { value: t, enumerable: !0, configurable: !0 }, + target: { value: n, enumerable: !0, configurable: !0 }, + transform: { value: o, enumerable: !0, configurable: !0 }, + _: { value: r }, + }); +} +function mn(e, t, n) { + (this.k = e), (this.x = t), (this.y = n); +} +mn.prototype = { + constructor: mn, + scale: function (e) { + return e === 1 ? this : new mn(this.k * e, this.x, this.y); + }, + translate: function (e, t) { + return (e === 0) & (t === 0) + ? this + : new mn(this.k, this.x + this.k * e, this.y + this.k * t); + }, + apply: function (e) { + return [e[0] * this.k + this.x, e[1] * this.k + this.y]; + }, + applyX: function (e) { + return e * this.k + this.x; + }, + applyY: function (e) { + return e * this.k + this.y; + }, + invert: function (e) { + return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k]; + }, + invertX: function (e) { + return (e - this.x) / this.k; + }, + invertY: function (e) { + return (e - this.y) / this.k; + }, + rescaleX: function (e) { + return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e)); + }, + rescaleY: function (e) { + return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e)); + }, + toString: function () { + return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; + }, +}; +var Dn = new mn(1, 0, 0); +mn.prototype; +function Ll(e) { + e.stopImmediatePropagation(); +} +function $o(e) { + e.preventDefault(), e.stopImmediatePropagation(); +} +function gm(e) { + return (!e.ctrlKey || e.type === "wheel") && !e.button; +} +function mm() { + var e = this; + return e instanceof SVGElement + ? ((e = e.ownerSVGElement || e), + e.hasAttribute("viewBox") + ? ((e = e.viewBox.baseVal), + [ + [e.x, e.y], + [e.x + e.width, e.y + e.height], + ]) + : [ + [0, 0], + [e.width.baseVal.value, e.height.baseVal.value], + ]) + : [ + [0, 0], + [e.clientWidth, e.clientHeight], + ]; +} +function hu() { + return this.__zoom || Dn; +} +function bm(e) { + return ( + -e.deltaY * + (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * + (e.ctrlKey ? 10 : 1) + ); +} +function ym() { + return navigator.maxTouchPoints || "ontouchstart" in this; +} +function Cm(e, t, n) { + var o = e.invertX(t[0][0]) - n[0][0], + r = e.invertX(t[1][0]) - n[1][0], + i = e.invertY(t[0][1]) - n[0][1], + a = e.invertY(t[1][1]) - n[1][1]; + return e.translate( + r > o ? (o + r) / 2 : Math.min(0, o) || Math.max(0, r), + a > i ? (i + a) / 2 : Math.min(0, i) || Math.max(0, a), + ); +} +function vm() { + var e = gm, + t = mm, + n = Cm, + o = bm, + r = ym, + i = [0, 1 / 0], + a = [ + [-1 / 0, -1 / 0], + [1 / 0, 1 / 0], + ], + l = 250, + s = ng, + u = Ji("start", "zoom", "end"), + c, + d, + h, + f = 500, + m = 150, + b = 0, + y = 10; + function g(k) { + k.property("__zoom", hu) + .on("wheel.zoom", A, { passive: !1 }) + .on("mousedown.zoom", R) + .on("dblclick.zoom", L) + .filter(r) + .on("touchstart.zoom", j) + .on("touchmove.zoom", P) + .on("touchend.zoom touchcancel.zoom", V) + .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + } + (g.transform = function (k, N, T, F) { + var I = k.selection ? k.selection() : k; + I.property("__zoom", hu), + k !== I + ? w(k, N, T, F) + : I.interrupt().each(function () { + S(this, arguments) + .event(F) + .start() + .zoom(null, typeof N == "function" ? N.apply(this, arguments) : N) + .end(); + }); + }), + (g.scaleBy = function (k, N, T, F) { + g.scaleTo( + k, + function () { + var I = this.__zoom.k, + D = typeof N == "function" ? N.apply(this, arguments) : N; + return I * D; + }, + T, + F, + ); + }), + (g.scaleTo = function (k, N, T, F) { + g.transform( + k, + function () { + var I = t.apply(this, arguments), + D = this.__zoom, + v = + T == null + ? E(I) + : typeof T == "function" + ? T.apply(this, arguments) + : T, + z = D.invert(v), + B = typeof N == "function" ? N.apply(this, arguments) : N; + return n(C(x(D, B), v, z), I, a); + }, + T, + F, + ); + }), + (g.translateBy = function (k, N, T, F) { + g.transform( + k, + function () { + return n( + this.__zoom.translate( + typeof N == "function" ? N.apply(this, arguments) : N, + typeof T == "function" ? T.apply(this, arguments) : T, + ), + t.apply(this, arguments), + a, + ); + }, + null, + F, + ); + }), + (g.translateTo = function (k, N, T, F, I) { + g.transform( + k, + function () { + var D = t.apply(this, arguments), + v = this.__zoom, + z = + F == null + ? E(D) + : typeof F == "function" + ? F.apply(this, arguments) + : F; + return n( + Dn.translate(z[0], z[1]) + .scale(v.k) + .translate( + typeof N == "function" ? -N.apply(this, arguments) : -N, + typeof T == "function" ? -T.apply(this, arguments) : -T, + ), + D, + a, + ); + }, + F, + I, + ); + }); + function x(k, N) { + return ( + (N = Math.max(i[0], Math.min(i[1], N))), + N === k.k ? k : new mn(N, k.x, k.y) + ); + } + function C(k, N, T) { + var F = N[0] - T[0] * k.k, + I = N[1] - T[1] * k.k; + return F === k.x && I === k.y ? k : new mn(k.k, F, I); + } + function E(k) { + return [(+k[0][0] + +k[1][0]) / 2, (+k[0][1] + +k[1][1]) / 2]; + } + function w(k, N, T, F) { + k.on("start.zoom", function () { + S(this, arguments).event(F).start(); + }) + .on("interrupt.zoom end.zoom", function () { + S(this, arguments).event(F).end(); + }) + .tween("zoom", function () { + var I = this, + D = arguments, + v = S(I, D).event(F), + z = t.apply(I, D), + B = T == null ? E(z) : typeof T == "function" ? T.apply(I, D) : T, + M = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), + W = I.__zoom, + G = typeof N == "function" ? N.apply(I, D) : N, + K = s(W.invert(B).concat(M / W.k), G.invert(B).concat(M / G.k)); + return function (Q) { + if (Q === 1) Q = G; + else { + var ne = K(Q), + oe = M / ne[2]; + Q = new mn(oe, B[0] - ne[0] * oe, B[1] - ne[1] * oe); + } + v.zoom(null, Q); + }; + }); + } + function S(k, N, T) { + return (!T && k.__zooming) || new _(k, N); + } + function _(k, N) { + (this.that = k), + (this.args = N), + (this.active = 0), + (this.sourceEvent = null), + (this.extent = t.apply(k, N)), + (this.taps = 0); + } + _.prototype = { + event: function (k) { + return k && (this.sourceEvent = k), this; + }, + start: function () { + return ( + ++this.active === 1 && + ((this.that.__zooming = this), this.emit("start")), + this + ); + }, + zoom: function (k, N) { + return ( + this.mouse && + k !== "mouse" && + (this.mouse[1] = N.invert(this.mouse[0])), + this.touch0 && + k !== "touch" && + (this.touch0[1] = N.invert(this.touch0[0])), + this.touch1 && + k !== "touch" && + (this.touch1[1] = N.invert(this.touch1[0])), + (this.that.__zoom = N), + this.emit("zoom"), + this + ); + }, + end: function () { + return ( + --this.active === 0 && (delete this.that.__zooming, this.emit("end")), + this + ); + }, + emit: function (k) { + var N = Ut(this.that).datum(); + u.call( + k, + this.that, + new hm(k, { + sourceEvent: this.sourceEvent, + target: g, + type: k, + transform: this.that.__zoom, + dispatch: u, + }), + N, + ); + }, + }; + function A(k, ...N) { + if (!e.apply(this, arguments)) return; + var T = S(this, N).event(k), + F = this.__zoom, + I = Math.max( + i[0], + Math.min(i[1], F.k * Math.pow(2, o.apply(this, arguments))), + ), + D = on(k); + if (T.wheel) + (T.mouse[0][0] !== D[0] || T.mouse[0][1] !== D[1]) && + (T.mouse[1] = F.invert((T.mouse[0] = D))), + clearTimeout(T.wheel); + else { + if (F.k === I) return; + (T.mouse = [D, F.invert(D)]), hi(this), T.start(); + } + $o(k), + (T.wheel = setTimeout(v, m)), + T.zoom("mouse", n(C(x(F, I), T.mouse[0], T.mouse[1]), T.extent, a)); + function v() { + (T.wheel = null), T.end(); + } + } + function R(k, ...N) { + if (h || !e.apply(this, arguments)) return; + var T = k.currentTarget, + F = S(this, N, !0).event(k), + I = Ut(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", M, !0), + D = on(k, T), + v = k.clientX, + z = k.clientY; + o3(k.view), + Ll(k), + (F.mouse = [D, this.__zoom.invert(D)]), + hi(this), + F.start(); + function B(W) { + if (($o(W), !F.moved)) { + var G = W.clientX - v, + K = W.clientY - z; + F.moved = G * G + K * K > b; + } + F.event(W).zoom( + "mouse", + n(C(F.that.__zoom, (F.mouse[0] = on(W, T)), F.mouse[1]), F.extent, a), + ); + } + function M(W) { + I.on("mousemove.zoom mouseup.zoom", null), + r3(W.view, F.moved), + $o(W), + F.event(W).end(); + } + } + function L(k, ...N) { + if (e.apply(this, arguments)) { + var T = this.__zoom, + F = on(k.changedTouches ? k.changedTouches[0] : k, this), + I = T.invert(F), + D = T.k * (k.shiftKey ? 0.5 : 2), + v = n(C(x(T, D), F, I), t.apply(this, N), a); + $o(k), + l > 0 + ? Ut(this).transition().duration(l).call(w, v, F, k) + : Ut(this).call(g.transform, v, F, k); + } + } + function j(k, ...N) { + if (e.apply(this, arguments)) { + var T = k.touches, + F = T.length, + I = S(this, N, k.changedTouches.length === F).event(k), + D, + v, + z, + B; + for (Ll(k), v = 0; v < F; ++v) + (z = T[v]), + (B = on(z, this)), + (B = [B, this.__zoom.invert(B), z.identifier]), + I.touch0 + ? !I.touch1 && + I.touch0[2] !== B[2] && + ((I.touch1 = B), (I.taps = 0)) + : ((I.touch0 = B), (D = !0), (I.taps = 1 + !!c)); + c && (c = clearTimeout(c)), + D && + (I.taps < 2 && + ((d = B[0]), + (c = setTimeout(function () { + c = null; + }, f))), + hi(this), + I.start()); + } + } + function P(k, ...N) { + if (this.__zooming) { + var T = S(this, N).event(k), + F = k.changedTouches, + I = F.length, + D, + v, + z, + B; + for ($o(k), D = 0; D < I; ++D) + (v = F[D]), + (z = on(v, this)), + T.touch0 && T.touch0[2] === v.identifier + ? (T.touch0[0] = z) + : T.touch1 && T.touch1[2] === v.identifier && (T.touch1[0] = z); + if (((v = T.that.__zoom), T.touch1)) { + var M = T.touch0[0], + W = T.touch0[1], + G = T.touch1[0], + K = T.touch1[1], + Q = (Q = G[0] - M[0]) * Q + (Q = G[1] - M[1]) * Q, + ne = (ne = K[0] - W[0]) * ne + (ne = K[1] - W[1]) * ne; + (v = x(v, Math.sqrt(Q / ne))), + (z = [(M[0] + G[0]) / 2, (M[1] + G[1]) / 2]), + (B = [(W[0] + K[0]) / 2, (W[1] + K[1]) / 2]); + } else if (T.touch0) (z = T.touch0[0]), (B = T.touch0[1]); + else return; + T.zoom("touch", n(C(v, z, B), T.extent, a)); + } + } + function V(k, ...N) { + if (this.__zooming) { + var T = S(this, N).event(k), + F = k.changedTouches, + I = F.length, + D, + v; + for ( + Ll(k), + h && clearTimeout(h), + h = setTimeout(function () { + h = null; + }, f), + D = 0; + D < I; + ++D + ) + (v = F[D]), + T.touch0 && T.touch0[2] === v.identifier + ? delete T.touch0 + : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; + if ( + (T.touch1 && !T.touch0 && ((T.touch0 = T.touch1), delete T.touch1), + T.touch0) + ) + T.touch0[1] = this.__zoom.invert(T.touch0[0]); + else if ( + (T.end(), + T.taps === 2 && + ((v = on(v, this)), Math.hypot(d[0] - v[0], d[1] - v[1]) < y)) + ) { + var z = Ut(this).on("dblclick.zoom"); + z && z.apply(this, arguments); + } + } + } + return ( + (g.wheelDelta = function (k) { + return arguments.length + ? ((o = typeof k == "function" ? k : Kr(+k)), g) + : o; + }), + (g.filter = function (k) { + return arguments.length + ? ((e = typeof k == "function" ? k : Kr(!!k)), g) + : e; + }), + (g.touchable = function (k) { + return arguments.length + ? ((r = typeof k == "function" ? k : Kr(!!k)), g) + : r; + }), + (g.extent = function (k) { + return arguments.length + ? ((t = + typeof k == "function" + ? k + : Kr([ + [+k[0][0], +k[0][1]], + [+k[1][0], +k[1][1]], + ])), + g) + : t; + }), + (g.scaleExtent = function (k) { + return arguments.length + ? ((i[0] = +k[0]), (i[1] = +k[1]), g) + : [i[0], i[1]]; + }), + (g.translateExtent = function (k) { + return arguments.length + ? ((a[0][0] = +k[0][0]), + (a[1][0] = +k[1][0]), + (a[0][1] = +k[0][1]), + (a[1][1] = +k[1][1]), + g) + : [ + [a[0][0], a[0][1]], + [a[1][0], a[1][1]], + ]; + }), + (g.constrain = function (k) { + return arguments.length ? ((n = k), g) : n; + }), + (g.duration = function (k) { + return arguments.length ? ((l = +k), g) : l; + }), + (g.interpolate = function (k) { + return arguments.length ? ((s = k), g) : s; + }), + (g.on = function () { + var k = u.on.apply(u, arguments); + return k === u ? g : k; + }), + (g.clickDistance = function (k) { + return arguments.length ? ((b = (k = +k) * k), g) : Math.sqrt(b); + }), + (g.tapDistance = function (k) { + return arguments.length ? ((y = +k), g) : y; + }), + g + ); +} +const oa = zt(null), + xm = oa.Provider, + Kt = { + error001: () => + "[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001", + error002: () => + "It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.", + error003: (e) => + `Node type "${e}" not found. Using fallback type "default".`, + error004: () => + "The React Flow parent container needs a width and a height to render the graph.", + error005: () => "Only child nodes can use a parent extent.", + error006: () => "Can't create edge. An edge needs a source and a target.", + error007: (e) => `The old edge with id=${e} does not exist.`, + error009: (e) => `Marker type "${e}" doesn't exist.`, + error008: (e, t) => + `Couldn't create edge for ${e ? "target" : "source"} handle id: "${e ? t.targetHandle : t.sourceHandle}", edge id: ${t.id}.`, + error010: () => + "Handle: No node id found. Make sure to only use a Handle inside a custom Node.", + error011: (e) => + `Edge type "${e}" not found. Using fallback type "default".`, + error012: (e) => + `Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`, + }, + y3 = Kt.error001(); +function Ze(e, t) { + const n = Je(oa); + if (n === null) throw new Error(y3); + return Wd(n, e, t); +} +const nt = () => { + const e = Je(oa); + if (e === null) throw new Error(y3); + return Be( + () => ({ + getState: e.getState, + setState: e.setState, + subscribe: e.subscribe, + destroy: e.destroy, + }), + [e], + ); + }, + wm = (e) => (e.userSelectionActive ? "none" : "all"); +function C3({ position: e, children: t, className: n, style: o, ...r }) { + const i = Ze(wm), + a = `${e}`.split("-"); + return $.createElement( + "div", + { + className: bt(["react-flow__panel", n, ...a]), + style: { ...o, pointerEvents: i }, + ...r, + }, + t, + ); +} +function Em({ proOptions: e, position: t = "bottom-right" }) { + return e != null && e.hideAttribution + ? null + : $.createElement( + C3, + { + position: t, + className: "react-flow__attribution", + "data-message": + "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro", + }, + $.createElement( + "a", + { + href: "https://reactflow.dev", + target: "_blank", + rel: "noopener noreferrer", + "aria-label": "React Flow attribution", + }, + "React Flow", + ), + ); +} +const Sm = ({ + x: e, + y: t, + label: n, + labelStyle: o = {}, + labelShowBg: r = !0, + labelBgStyle: i = {}, + labelBgPadding: a = [2, 4], + labelBgBorderRadius: l = 2, + children: s, + className: u, + ...c +}) => { + const d = pe(null), + [h, f] = ue({ x: 0, y: 0, width: 0, height: 0 }), + m = bt(["react-flow__edge-textwrapper", u]); + return ( + ce(() => { + if (d.current) { + const b = d.current.getBBox(); + f({ + x: b.x, + y: b.y, + width: b.width, + height: b.height, + }); + } + }, [n]), + typeof n > "u" || !n + ? null + : $.createElement( + "g", + { + transform: `translate(${e - h.width / 2} ${t - h.height / 2})`, + className: m, + visibility: h.width ? "visible" : "hidden", + ...c, + }, + r && + $.createElement("rect", { + width: h.width + 2 * a[0], + x: -a[0], + y: -a[1], + height: h.height + 2 * a[1], + className: "react-flow__edge-textbg", + style: i, + rx: l, + ry: l, + }), + $.createElement( + "text", + { + className: "react-flow__edge-text", + y: h.height / 2, + dy: "0.3em", + ref: d, + style: o, + }, + n, + ), + s, + ) + ); +}; +var km = Ye(Sm); +const Sc = (e) => ({ + width: e.offsetWidth, + height: e.offsetHeight, + }), + Mo = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), + kc = (e = { x: 0, y: 0 }, t) => ({ + x: Mo(e.x, t[0][0], t[1][0]), + y: Mo(e.y, t[0][1], t[1][1]), + }), + gu = (e, t, n) => + e < t + ? Mo(Math.abs(e - t), 1, 50) / 50 + : e > n + ? -Mo(Math.abs(e - n), 1, 50) / 50 + : 0, + v3 = (e, t) => { + const n = gu(e.x, 35, t.width - 35) * 20, + o = gu(e.y, 35, t.height - 35) * 20; + return [n, o]; + }, + x3 = (e) => { + var t; + return ( + ((t = e.getRootNode) == null ? void 0 : t.call(e)) || + (window == null ? void 0 : window.document) + ); + }, + _m = (e, t) => ({ + x: Math.min(e.x, t.x), + y: Math.min(e.y, t.y), + x2: Math.max(e.x2, t.x2), + y2: Math.max(e.y2, t.y2), + }), + _c = ({ x: e, y: t, width: n, height: o }) => ({ + x: e, + y: t, + x2: e + n, + y2: t + o, + }), + Am = ({ x: e, y: t, x2: n, y2: o }) => ({ + x: e, + y: t, + width: n - e, + height: o - t, + }), + mu = (e) => ({ + ...(e.positionAbsolute || { x: 0, y: 0 }), + width: e.width || 0, + height: e.height || 0, + }), + ws = (e, t) => { + const n = Math.max( + 0, + Math.min(e.x + e.width, t.x + t.width) - Math.max(e.x, t.x), + ), + o = Math.max( + 0, + Math.min(e.y + e.height, t.y + t.height) - Math.max(e.y, t.y), + ); + return Math.ceil(n * o); + }, + Mm = (e) => jt(e.width) && jt(e.height) && jt(e.x) && jt(e.y), + jt = (e) => !isNaN(e) && isFinite(e), + qe = Symbol.for("internals"), + w3 = ["Enter", " ", "Escape"], + E3 = (e, t) => { + process.env.NODE_ENV === "development" && + console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); + }, + Tm = (e) => "nativeEvent" in e; +function Es(e) { + var r, i; + const t = Tm(e) ? e.nativeEvent : e, + n = + ((i = (r = t.composedPath) == null ? void 0 : r.call(t)) == null + ? void 0 + : i[0]) || e.target; + return ( + ["INPUT", "SELECT", "TEXTAREA"].includes(n == null ? void 0 : n.nodeName) || + (n == null ? void 0 : n.hasAttribute("contenteditable")) || + !!(n != null && n.closest(".nokey")) + ); +} +const S3 = (e) => "clientX" in e, + Ln = (e, t) => { + var i, a; + const n = S3(e), + o = n ? e.clientX : (i = e.touches) == null ? void 0 : i[0].clientX, + r = n ? e.clientY : (a = e.touches) == null ? void 0 : a[0].clientY; + return { + x: o - ((t == null ? void 0 : t.left) ?? 0), + y: r - ((t == null ? void 0 : t.top) ?? 0), + }; + }, + Li = () => { + var e; + return ( + typeof navigator < "u" && + ((e = navigator == null ? void 0 : navigator.userAgent) == null + ? void 0 + : e.indexOf("Mac")) >= 0 + ); + }, + Fo = ({ + id: e, + path: t, + labelX: n, + labelY: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: f = 20, + }) => + $.createElement( + $.Fragment, + null, + $.createElement("path", { + id: e, + style: c, + d: t, + fill: "none", + className: "react-flow__edge-path", + markerEnd: d, + markerStart: h, + }), + f && + $.createElement("path", { + d: t, + fill: "none", + strokeOpacity: 0, + strokeWidth: f, + className: "react-flow__edge-interaction", + }), + r && jt(n) && jt(o) + ? $.createElement(km, { + x: n, + y: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + }) + : null, + ); +Fo.displayName = "BaseEdge"; +function Wo(e, t, n) { + return n === void 0 + ? n + : (o) => { + const r = t().edges.find((i) => i.id === e); + r && n(o, { ...r }); + }; +} +function k3({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const r = Math.abs(n - e) / 2, + i = n < e ? n + r : n - r, + a = Math.abs(o - t) / 2, + l = o < t ? o + a : o - a; + return [i, l, r, a]; +} +function _3({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourceControlX: r, + sourceControlY: i, + targetControlX: a, + targetControlY: l, +}) { + const s = e * 0.125 + r * 0.375 + a * 0.375 + n * 0.125, + u = t * 0.125 + i * 0.375 + l * 0.375 + o * 0.125, + c = Math.abs(s - e), + d = Math.abs(u - t); + return [s, u, c, d]; +} +var Jn; +(function (e) { + (e.Strict = "strict"), (e.Loose = "loose"); +})(Jn || (Jn = {})); +var Wn; +(function (e) { + (e.Free = "free"), (e.Vertical = "vertical"), (e.Horizontal = "horizontal"); +})(Wn || (Wn = {})); +var mr; +(function (e) { + (e.Partial = "partial"), (e.Full = "full"); +})(mr || (mr = {})); +var Nn; +(function (e) { + (e.Bezier = "default"), + (e.Straight = "straight"), + (e.Step = "step"), + (e.SmoothStep = "smoothstep"), + (e.SimpleBezier = "simplebezier"); +})(Nn || (Nn = {})); +var Fi; +(function (e) { + (e.Arrow = "arrow"), (e.ArrowClosed = "arrowclosed"); +})(Fi || (Fi = {})); +var ae; +(function (e) { + (e.Left = "left"), + (e.Top = "top"), + (e.Right = "right"), + (e.Bottom = "bottom"); +})(ae || (ae = {})); +function bu({ pos: e, x1: t, y1: n, x2: o, y2: r }) { + return e === ae.Left || e === ae.Right + ? [0.5 * (t + o), n] + : [t, 0.5 * (n + r)]; +} +function A3({ + sourceX: e, + sourceY: t, + sourcePosition: n = ae.Bottom, + targetX: o, + targetY: r, + targetPosition: i = ae.Top, +}) { + const [a, l] = bu({ + pos: n, + x1: e, + y1: t, + x2: o, + y2: r, + }), + [s, u] = bu({ + pos: i, + x1: o, + y1: r, + x2: e, + y2: t, + }), + [c, d, h, f] = _3({ + sourceX: e, + sourceY: t, + targetX: o, + targetY: r, + sourceControlX: a, + sourceControlY: l, + targetControlX: s, + targetControlY: u, + }); + return [`M${e},${t} C${a},${l} ${s},${u} ${o},${r}`, c, d, h, f]; +} +const Ac = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourcePosition: r = ae.Bottom, + targetPosition: i = ae.Top, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + interactionWidth: b, + }) => { + const [y, g, x] = A3({ + sourceX: e, + sourceY: t, + sourcePosition: r, + targetX: n, + targetY: o, + targetPosition: i, + }); + return $.createElement(Fo, { + path: y, + labelX: g, + labelY: x, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + interactionWidth: b, + }); + }, +); +Ac.displayName = "SimpleBezierEdge"; +const yu = { + [ae.Left]: { x: -1, y: 0 }, + [ae.Right]: { x: 1, y: 0 }, + [ae.Top]: { x: 0, y: -1 }, + [ae.Bottom]: { x: 0, y: 1 }, + }, + Om = ({ source: e, sourcePosition: t = ae.Bottom, target: n }) => + t === ae.Left || t === ae.Right + ? e.x < n.x + ? { x: 1, y: 0 } + : { x: -1, y: 0 } + : e.y < n.y + ? { x: 0, y: 1 } + : { x: 0, y: -1 }, + Cu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); +function Nm({ + source: e, + sourcePosition: t = ae.Bottom, + target: n, + targetPosition: o = ae.Top, + center: r, + offset: i, +}) { + const a = yu[t], + l = yu[o], + s = { x: e.x + a.x * i, y: e.y + a.y * i }, + u = { x: n.x + l.x * i, y: n.y + l.y * i }, + c = Om({ + source: s, + sourcePosition: t, + target: u, + }), + d = c.x !== 0 ? "x" : "y", + h = c[d]; + let f = [], + m, + b; + const y = { x: 0, y: 0 }, + g = { x: 0, y: 0 }, + [x, C, E, w] = k3({ + sourceX: e.x, + sourceY: e.y, + targetX: n.x, + targetY: n.y, + }); + if (a[d] * l[d] === -1) { + (m = r.x ?? x), (b = r.y ?? C); + const _ = [ + { x: m, y: s.y }, + { x: m, y: u.y }, + ], + A = [ + { x: s.x, y: b }, + { x: u.x, y: b }, + ]; + a[d] === h ? (f = d === "x" ? _ : A) : (f = d === "x" ? A : _); + } else { + const _ = [{ x: s.x, y: u.y }], + A = [{ x: u.x, y: s.y }]; + if ( + (d === "x" ? (f = a.x === h ? A : _) : (f = a.y === h ? _ : A), t === o) + ) { + const V = Math.abs(e[d] - n[d]); + if (V <= i) { + const k = Math.min(i - 1, i - V); + a[d] === h + ? (y[d] = (s[d] > e[d] ? -1 : 1) * k) + : (g[d] = (u[d] > n[d] ? -1 : 1) * k); + } + } + if (t !== o) { + const V = d === "x" ? "y" : "x", + k = a[d] === l[V], + N = s[V] > u[V], + T = s[V] < u[V]; + ((a[d] === 1 && ((!k && N) || (k && T))) || + (a[d] !== 1 && ((!k && T) || (k && N)))) && + (f = d === "x" ? _ : A); + } + const R = { x: s.x + y.x, y: s.y + y.y }, + L = { x: u.x + g.x, y: u.y + g.y }, + j = Math.max(Math.abs(R.x - f[0].x), Math.abs(L.x - f[0].x)), + P = Math.max(Math.abs(R.y - f[0].y), Math.abs(L.y - f[0].y)); + j >= P + ? ((m = (R.x + L.x) / 2), (b = f[0].y)) + : ((m = f[0].x), (b = (R.y + L.y) / 2)); + } + return [ + [ + e, + { x: s.x + y.x, y: s.y + y.y }, + ...f, + { x: u.x + g.x, y: u.y + g.y }, + n, + ], + m, + b, + E, + w, + ]; +} +function Dm(e, t, n, o) { + const r = Math.min(Cu(e, t) / 2, Cu(t, n) / 2, o), + { x: i, y: a } = t; + if ((e.x === i && i === n.x) || (e.y === a && a === n.y)) return `L${i} ${a}`; + if (e.y === a) { + const u = e.x < n.x ? -1 : 1, + c = e.y < n.y ? 1 : -1; + return `L ${i + r * u},${a}Q ${i},${a} ${i},${a + r * c}`; + } + const l = e.x < n.x ? 1 : -1, + s = e.y < n.y ? -1 : 1; + return `L ${i},${a + r * s}Q ${i},${a} ${i + r * l},${a}`; +} +function Ss({ + sourceX: e, + sourceY: t, + sourcePosition: n = ae.Bottom, + targetX: o, + targetY: r, + targetPosition: i = ae.Top, + borderRadius: a = 5, + centerX: l, + centerY: s, + offset: u = 20, +}) { + const [c, d, h, f, m] = Nm({ + source: { x: e, y: t }, + sourcePosition: n, + target: { x: o, y: r }, + targetPosition: i, + center: { x: l, y: s }, + offset: u, + }); + return [ + c.reduce((y, g, x) => { + let C = ""; + return ( + x > 0 && x < c.length - 1 + ? (C = Dm(c[x - 1], g, c[x + 1], a)) + : (C = `${x === 0 ? "M" : "L"}${g.x} ${g.y}`), + (y += C), + y + ); + }, ""), + d, + h, + f, + m, + ]; +} +const ra = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + sourcePosition: d = ae.Bottom, + targetPosition: h = ae.Top, + markerEnd: f, + markerStart: m, + pathOptions: b, + interactionWidth: y, + }) => { + const [g, x, C] = Ss({ + sourceX: e, + sourceY: t, + sourcePosition: d, + targetX: n, + targetY: o, + targetPosition: h, + borderRadius: b == null ? void 0 : b.borderRadius, + offset: b == null ? void 0 : b.offset, + }); + return $.createElement(Fo, { + path: g, + labelX: x, + labelY: C, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: f, + markerStart: m, + interactionWidth: y, + }); + }, +); +ra.displayName = "SmoothStepEdge"; +const Mc = Ye((e) => { + var t; + return $.createElement(ra, { + ...e, + pathOptions: Be(() => { + var n; + return { + borderRadius: 0, + offset: (n = e.pathOptions) == null ? void 0 : n.offset, + }; + }, [(t = e.pathOptions) == null ? void 0 : t.offset]), + }); +}); +Mc.displayName = "StepEdge"; +function Lm({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const [r, i, a, l] = k3({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + }); + return [`M ${e},${t}L ${n},${o}`, r, i, a, l]; +} +const Tc = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: f, + }) => { + const [m, b, y] = Lm({ sourceX: e, sourceY: t, targetX: n, targetY: o }); + return $.createElement(Fo, { + path: m, + labelX: b, + labelY: y, + label: r, + labelStyle: i, + labelShowBg: a, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: f, + }); + }, +); +Tc.displayName = "StraightEdge"; +function Xr(e, t) { + return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); +} +function vu({ pos: e, x1: t, y1: n, x2: o, y2: r, c: i }) { + switch (e) { + case ae.Left: + return [t - Xr(t - o, i), n]; + case ae.Right: + return [t + Xr(o - t, i), n]; + case ae.Top: + return [t, n - Xr(n - r, i)]; + case ae.Bottom: + return [t, n + Xr(r - n, i)]; + } +} +function M3({ + sourceX: e, + sourceY: t, + sourcePosition: n = ae.Bottom, + targetX: o, + targetY: r, + targetPosition: i = ae.Top, + curvature: a = 0.25, +}) { + const [l, s] = vu({ + pos: n, + x1: e, + y1: t, + x2: o, + y2: r, + c: a, + }), + [u, c] = vu({ + pos: i, + x1: o, + y1: r, + x2: e, + y2: t, + c: a, + }), + [d, h, f, m] = _3({ + sourceX: e, + sourceY: t, + targetX: o, + targetY: r, + sourceControlX: l, + sourceControlY: s, + targetControlX: u, + targetControlY: c, + }); + return [`M${e},${t} C${l},${s} ${u},${c} ${o},${r}`, d, h, f, m]; +} +const Ri = Ye( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourcePosition: r = ae.Bottom, + targetPosition: i = ae.Top, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + pathOptions: b, + interactionWidth: y, + }) => { + const [g, x, C] = M3({ + sourceX: e, + sourceY: t, + sourcePosition: r, + targetX: n, + targetY: o, + targetPosition: i, + curvature: b == null ? void 0 : b.curvature, + }); + return $.createElement(Fo, { + path: g, + labelX: x, + labelY: C, + label: a, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: f, + markerStart: m, + interactionWidth: y, + }); + }, +); +Ri.displayName = "BezierEdge"; +const Oc = zt(null), + Fm = Oc.Provider; +Oc.Consumer; +const Rm = () => Je(Oc), + jm = (e) => "id" in e && "source" in e && "target" in e, + Im = (e) => "id" in e && !("source" in e) && !("target" in e), + zm = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => + `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, + ks = (e, t) => + typeof e > "u" + ? "" + : typeof e == "string" + ? e + : `${t ? `${t}__` : ""}${Object.keys(e) + .sort() + .map((o) => `${o}=${e[o]}`) + .join("&")}`, + Hm = (e, t) => + t.some( + (n) => + n.source === e.source && + n.target === e.target && + (n.sourceHandle === e.sourceHandle || + (!n.sourceHandle && !e.sourceHandle)) && + (n.targetHandle === e.targetHandle || + (!n.targetHandle && !e.targetHandle)), + ), + Pm = (e, t) => { + if (!e.source || !e.target) return E3("006", Kt.error006()), t; + let n; + return ( + jm(e) + ? (n = { ...e }) + : (n = { + ...e, + id: zm(e), + }), + Hm(n, t) ? t : t.concat(n) + ); + }, + _s = ({ x: e, y: t }, [n, o, r], i, [a, l]) => { + const s = { + x: (e - n) / r, + y: (t - o) / r, + }; + return i + ? { + x: a * Math.round(s.x / a), + y: l * Math.round(s.y / l), + } + : s; + }, + T3 = ({ x: e, y: t }, [n, o, r]) => ({ + x: e * r + n, + y: t * r + o, + }), + mo = (e, t = [0, 0]) => { + if (!e) + return { + x: 0, + y: 0, + positionAbsolute: { + x: 0, + y: 0, + }, + }; + const n = (e.width ?? 0) * t[0], + o = (e.height ?? 0) * t[1], + r = { + x: e.position.x - n, + y: e.position.y - o, + }; + return { + ...r, + positionAbsolute: e.positionAbsolute + ? { + x: e.positionAbsolute.x - n, + y: e.positionAbsolute.y - o, + } + : r, + }; + }, + Nc = (e, t = [0, 0]) => { + if (e.length === 0) return { x: 0, y: 0, width: 0, height: 0 }; + const n = e.reduce( + (o, r) => { + const { x: i, y: a } = mo(r, t).positionAbsolute; + return _m( + o, + _c({ + x: i, + y: a, + width: r.width || 0, + height: r.height || 0, + }), + ); + }, + { x: 1 / 0, y: 1 / 0, x2: -1 / 0, y2: -1 / 0 }, + ); + return Am(n); + }, + O3 = (e, t, [n, o, r] = [0, 0, 1], i = !1, a = !1, l = [0, 0]) => { + const s = { + x: (t.x - n) / r, + y: (t.y - o) / r, + width: t.width / r, + height: t.height / r, + }, + u = []; + return ( + e.forEach((c) => { + const { width: d, height: h, selectable: f = !0, hidden: m = !1 } = c; + if ((a && !f) || m) return !1; + const { positionAbsolute: b } = mo(c, l), + y = { + x: b.x, + y: b.y, + width: d || 0, + height: h || 0, + }, + g = ws(s, y), + x = typeof d > "u" || typeof h > "u" || d === null || h === null, + C = i && g > 0, + E = (d || 0) * (h || 0); + (x || C || g >= E || c.dragging) && u.push(c); + }), + u + ); + }, + N3 = (e, t) => { + const n = e.map((o) => o.id); + return t.filter((o) => n.includes(o.source) || n.includes(o.target)); + }, + D3 = (e, t, n, o, r, i = 0.1) => { + const a = t / (e.width * (1 + i)), + l = n / (e.height * (1 + i)), + s = Math.min(a, l), + u = Mo(s, o, r), + c = e.x + e.width / 2, + d = e.y + e.height / 2, + h = t / 2 - c * u, + f = n / 2 - d * u; + return { x: h, y: f, zoom: u }; + }, + Hn = (e, t = 0) => e.transition().duration(t); +function xu(e, t, n, o) { + return (t[n] || []).reduce((r, i) => { + var a, l; + return ( + `${e.id}-${i.id}-${n}` !== o && + r.push({ + id: i.id || null, + type: n, + nodeId: e.id, + x: + (((a = e.positionAbsolute) == null ? void 0 : a.x) ?? 0) + + i.x + + i.width / 2, + y: + (((l = e.positionAbsolute) == null ? void 0 : l.y) ?? 0) + + i.y + + i.height / 2, + }), + r + ); + }, []); +} +function Bm(e, t, n, o, r, i) { + const { x: a, y: l } = Ln(e), + u = t + .elementsFromPoint(a, l) + .find((m) => m.classList.contains("react-flow__handle")); + if (u) { + const m = u.getAttribute("data-nodeid"); + if (m) { + const b = Dc(void 0, u), + y = u.getAttribute("data-handleid"), + g = i({ nodeId: m, id: y, type: b }); + if (g) { + const x = r.find((C) => C.nodeId === m && C.type === b && C.id === y); + return { + handle: { + id: y, + type: b, + nodeId: m, + x: (x == null ? void 0 : x.x) || n.x, + y: (x == null ? void 0 : x.y) || n.y, + }, + validHandleResult: g, + }; + } + } + } + let c = [], + d = 1 / 0; + if ( + (r.forEach((m) => { + const b = Math.sqrt((m.x - n.x) ** 2 + (m.y - n.y) ** 2); + if (b <= o) { + const y = i(m); + b <= d && + (b < d + ? (c = [{ handle: m, validHandleResult: y }]) + : b === d && + c.push({ + handle: m, + validHandleResult: y, + }), + (d = b)); + } + }), + !c.length) + ) + return { handle: null, validHandleResult: L3() }; + if (c.length === 1) return c[0]; + const h = c.some(({ validHandleResult: m }) => m.isValid), + f = c.some(({ handle: m }) => m.type === "target"); + return ( + c.find(({ handle: m, validHandleResult: b }) => + f ? m.type === "target" : h ? b.isValid : !0, + ) || c[0] + ); +} +const Vm = { + source: null, + target: null, + sourceHandle: null, + targetHandle: null, + }, + L3 = () => ({ + handleDomNode: null, + isValid: !1, + connection: Vm, + endHandle: null, + }); +function F3(e, t, n, o, r, i, a) { + const l = r === "target", + s = a.querySelector( + `.react-flow__handle[data-id="${e == null ? void 0 : e.nodeId}-${e == null ? void 0 : e.id}-${e == null ? void 0 : e.type}"]`, + ), + u = { + ...L3(), + handleDomNode: s, + }; + if (s) { + const c = Dc(void 0, s), + d = s.getAttribute("data-nodeid"), + h = s.getAttribute("data-handleid"), + f = s.classList.contains("connectable"), + m = s.classList.contains("connectableend"), + b = { + source: l ? d : n, + sourceHandle: l ? h : o, + target: l ? n : d, + targetHandle: l ? o : h, + }; + (u.connection = b), + f && + m && + (t === Jn.Strict + ? (l && c === "source") || (!l && c === "target") + : d !== n || h !== o) && + ((u.endHandle = { + nodeId: d, + handleId: h, + type: c, + }), + (u.isValid = i(b))); + } + return u; +} +function $m({ nodes: e, nodeId: t, handleId: n, handleType: o }) { + return e.reduce((r, i) => { + if (i[qe]) { + const { handleBounds: a } = i[qe]; + let l = [], + s = []; + a && + ((l = xu(i, a, "source", `${t}-${n}-${o}`)), + (s = xu(i, a, "target", `${t}-${n}-${o}`))), + r.push(...l, ...s); + } + return r; + }, []); +} +function Dc(e, t) { + return ( + e || + (t != null && t.classList.contains("target") + ? "target" + : t != null && t.classList.contains("source") + ? "source" + : null) + ); +} +function Fl(e) { + e == null || + e.classList.remove( + "valid", + "connecting", + "react-flow__handle-valid", + "react-flow__handle-connecting", + ); +} +function Wm(e, t) { + let n = null; + return t ? (n = "valid") : e && !t && (n = "invalid"), n; +} +function R3({ + event: e, + handleId: t, + nodeId: n, + onConnect: o, + isTarget: r, + getState: i, + setState: a, + isValidConnection: l, + edgeUpdaterType: s, + onReconnectEnd: u, +}) { + const c = x3(e.target), + { + connectionMode: d, + domNode: h, + autoPanOnConnect: f, + connectionRadius: m, + onConnectStart: b, + panBy: y, + getNodes: g, + cancelConnection: x, + } = i(); + let C = 0, + E; + const { x: w, y: S } = Ln(e), + _ = c == null ? void 0 : c.elementFromPoint(w, S), + A = Dc(s, _), + R = h == null ? void 0 : h.getBoundingClientRect(); + if (!R || !A) return; + let L, + j = Ln(e, R), + P = !1, + V = null, + k = !1, + N = null; + const T = $m({ + nodes: g(), + nodeId: n, + handleId: t, + handleType: A, + }), + F = () => { + if (!f) return; + const [v, z] = v3(j, R); + y({ x: v, y: z }), (C = requestAnimationFrame(F)); + }; + a({ + connectionPosition: j, + connectionStatus: null, + // connectionNodeId etc will be removed in the next major in favor of connectionStartHandle + connectionNodeId: n, + connectionHandleId: t, + connectionHandleType: A, + connectionStartHandle: { + nodeId: n, + handleId: t, + type: A, + }, + connectionEndHandle: null, + }), + b == null || b(e, { nodeId: n, handleId: t, handleType: A }); + function I(v) { + const { transform: z } = i(); + j = Ln(v, R); + const { handle: B, validHandleResult: M } = Bm( + v, + c, + _s(j, z, !1, [1, 1]), + m, + T, + (W) => F3(W, d, n, t, r ? "target" : "source", l, c), + ); + if ( + ((E = B), + P || (F(), (P = !0)), + (N = M.handleDomNode), + (V = M.connection), + (k = M.isValid), + a({ + connectionPosition: + E && k + ? T3( + { + x: E.x, + y: E.y, + }, + z, + ) + : j, + connectionStatus: Wm(!!E, k), + connectionEndHandle: M.endHandle, + }), + !E && !k && !N) + ) + return Fl(L); + V.source !== V.target && + N && + (Fl(L), + (L = N), + N.classList.add("connecting", "react-flow__handle-connecting"), + N.classList.toggle("valid", k), + N.classList.toggle("react-flow__handle-valid", k)); + } + function D(v) { + var z, B; + (E || N) && V && k && (o == null || o(V)), + (B = (z = i()).onConnectEnd) == null || B.call(z, v), + s && (u == null || u(v)), + Fl(L), + x(), + cancelAnimationFrame(C), + (P = !1), + (k = !1), + (V = null), + (N = null), + c.removeEventListener("mousemove", I), + c.removeEventListener("mouseup", D), + c.removeEventListener("touchmove", I), + c.removeEventListener("touchend", D); + } + c.addEventListener("mousemove", I), + c.addEventListener("mouseup", D), + c.addEventListener("touchmove", I), + c.addEventListener("touchend", D); +} +const wu = () => !0, + Zm = (e) => ({ + connectionStartHandle: e.connectionStartHandle, + connectOnClick: e.connectOnClick, + noPanClassName: e.noPanClassName, + }), + Um = (e, t, n) => (o) => { + const { + connectionStartHandle: r, + connectionEndHandle: i, + connectionClickStartHandle: a, + } = o; + return { + connecting: + ((r == null ? void 0 : r.nodeId) === e && + (r == null ? void 0 : r.handleId) === t && + (r == null ? void 0 : r.type) === n) || + ((i == null ? void 0 : i.nodeId) === e && + (i == null ? void 0 : i.handleId) === t && + (i == null ? void 0 : i.type) === n), + clickConnecting: + (a == null ? void 0 : a.nodeId) === e && + (a == null ? void 0 : a.handleId) === t && + (a == null ? void 0 : a.type) === n, + }; + }, + j3 = Ys( + ( + { + type: e = "source", + position: t = ae.Top, + isValidConnection: n, + isConnectable: o = !0, + isConnectableStart: r = !0, + isConnectableEnd: i = !0, + id: a, + onConnect: l, + children: s, + className: u, + onMouseDown: c, + onTouchStart: d, + ...h + }, + f, + ) => { + var R, L; + const m = a || null, + b = e === "target", + y = nt(), + g = Rm(), + { connectOnClick: x, noPanClassName: C } = Ze(Zm, st), + { connecting: E, clickConnecting: w } = Ze(Um(g, m, e), st); + g || + (L = (R = y.getState()).onError) == null || + L.call(R, "010", Kt.error010()); + const S = (j) => { + const { + defaultEdgeOptions: P, + onConnect: V, + hasDefaultEdges: k, + } = y.getState(), + N = { + ...P, + ...j, + }; + if (k) { + const { edges: T, setEdges: F } = y.getState(); + F(Pm(N, T)); + } + V == null || V(N), l == null || l(N); + }, + _ = (j) => { + if (!g) return; + const P = S3(j); + r && + ((P && j.button === 0) || !P) && + R3({ + event: j, + handleId: m, + nodeId: g, + onConnect: S, + isTarget: b, + getState: y.getState, + setState: y.setState, + isValidConnection: n || y.getState().isValidConnection || wu, + }), + P ? c == null || c(j) : d == null || d(j); + }, + A = (j) => { + const { + onClickConnectStart: P, + onClickConnectEnd: V, + connectionClickStartHandle: k, + connectionMode: N, + isValidConnection: T, + } = y.getState(); + if (!g || (!k && !r)) return; + if (!k) { + P == null || P(j, { nodeId: g, handleId: m, handleType: e }), + y.setState({ + connectionClickStartHandle: { nodeId: g, type: e, handleId: m }, + }); + return; + } + const F = x3(j.target), + I = n || T || wu, + { connection: D, isValid: v } = F3( + { + nodeId: g, + id: m, + type: e, + }, + N, + k.nodeId, + k.handleId || null, + k.type, + I, + F, + ); + v && S(D), + V == null || V(j), + y.setState({ connectionClickStartHandle: null }); + }; + return $.createElement( + "div", + { + "data-handleid": m, + "data-nodeid": g, + "data-handlepos": t, + "data-id": `${g}-${m}-${e}`, + className: bt([ + "react-flow__handle", + `react-flow__handle-${t}`, + "nodrag", + C, + u, + { + source: !b, + target: b, + connectable: o, + connectablestart: r, + connectableend: i, + connecting: w, + // this class is used to style the handle when the user is connecting + connectionindicator: o && ((r && !E) || (i && E)), + }, + ]), + onMouseDown: _, + onTouchStart: _, + onClick: x ? A : void 0, + ref: f, + ...h, + }, + s, + ); + }, + ); +j3.displayName = "Handle"; +var Lt = Ye(j3); +const I3 = ({ + data: e, + isConnectable: t, + targetPosition: n = ae.Top, + sourcePosition: o = ae.Bottom, +}) => + $.createElement( + $.Fragment, + null, + $.createElement(Lt, { type: "target", position: n, isConnectable: t }), + e == null ? void 0 : e.label, + $.createElement(Lt, { type: "source", position: o, isConnectable: t }), + ); +I3.displayName = "DefaultNode"; +var As = Ye(I3); +const z3 = ({ data: e, isConnectable: t, sourcePosition: n = ae.Bottom }) => + $.createElement( + $.Fragment, + null, + e == null ? void 0 : e.label, + $.createElement(Lt, { type: "source", position: n, isConnectable: t }), + ); +z3.displayName = "InputNode"; +var H3 = Ye(z3); +const P3 = ({ data: e, isConnectable: t, targetPosition: n = ae.Top }) => + $.createElement( + $.Fragment, + null, + $.createElement(Lt, { type: "target", position: n, isConnectable: t }), + e == null ? void 0 : e.label, + ); +P3.displayName = "OutputNode"; +var B3 = Ye(P3); +const Lc = () => null; +Lc.displayName = "GroupNode"; +const qm = (e) => ({ + selectedNodes: e.getNodes().filter((t) => t.selected), + selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })), + }), + Qr = (e) => e.id; +function Ym(e, t) { + return ( + st(e.selectedNodes.map(Qr), t.selectedNodes.map(Qr)) && + st(e.selectedEdges.map(Qr), t.selectedEdges.map(Qr)) + ); +} +const V3 = Ye(({ onSelectionChange: e }) => { + const t = nt(), + { selectedNodes: n, selectedEdges: o } = Ze(qm, Ym); + return ( + ce(() => { + const r = { nodes: n, edges: o }; + e == null || e(r), t.getState().onSelectionChange.forEach((i) => i(r)); + }, [n, o, e]), + null + ); +}); +V3.displayName = "SelectionListener"; +const Gm = (e) => !!e.onSelectionChange; +function Km({ onSelectionChange: e }) { + const t = Ze(Gm); + return e || t ? $.createElement(V3, { onSelectionChange: e }) : null; +} +const Xm = (e) => ({ + setNodes: e.setNodes, + setEdges: e.setEdges, + setDefaultNodesAndEdges: e.setDefaultNodesAndEdges, + setMinZoom: e.setMinZoom, + setMaxZoom: e.setMaxZoom, + setTranslateExtent: e.setTranslateExtent, + setNodeExtent: e.setNodeExtent, + reset: e.reset, +}); +function io(e, t) { + ce(() => { + typeof e < "u" && t(e); + }, [e]); +} +function Ce(e, t, n) { + ce(() => { + typeof t < "u" && n({ [e]: t }); + }, [t]); +} +const Qm = ({ + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + onConnect: r, + onConnectStart: i, + onConnectEnd: a, + onClickConnectStart: l, + onClickConnectEnd: s, + nodesDraggable: u, + nodesConnectable: c, + nodesFocusable: d, + edgesFocusable: h, + edgesUpdatable: f, + elevateNodesOnSelect: m, + minZoom: b, + maxZoom: y, + nodeExtent: g, + onNodesChange: x, + onEdgesChange: C, + elementsSelectable: E, + connectionMode: w, + snapGrid: S, + snapToGrid: _, + translateExtent: A, + connectOnClick: R, + defaultEdgeOptions: L, + fitView: j, + fitViewOptions: P, + onNodesDelete: V, + onEdgesDelete: k, + onNodeDrag: N, + onNodeDragStart: T, + onNodeDragStop: F, + onSelectionDrag: I, + onSelectionDragStart: D, + onSelectionDragStop: v, + noPanClassName: z, + nodeOrigin: B, + rfId: M, + autoPanOnConnect: W, + autoPanOnNodeDrag: G, + onError: K, + connectionRadius: Q, + isValidConnection: ne, + nodeDragThreshold: oe, + }) => { + const { + setNodes: U, + setEdges: ge, + setDefaultNodesAndEdges: J, + setMinZoom: ke, + setMaxZoom: ie, + setTranslateExtent: _e, + setNodeExtent: $e, + reset: Ee, + } = Ze(Xm, st), + le = nt(); + return ( + ce(() => { + const Ge = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...L })); + return ( + J(n, Ge), + () => { + Ee(); + } + ); + }, []), + Ce("defaultEdgeOptions", L, le.setState), + Ce("connectionMode", w, le.setState), + Ce("onConnect", r, le.setState), + Ce("onConnectStart", i, le.setState), + Ce("onConnectEnd", a, le.setState), + Ce("onClickConnectStart", l, le.setState), + Ce("onClickConnectEnd", s, le.setState), + Ce("nodesDraggable", u, le.setState), + Ce("nodesConnectable", c, le.setState), + Ce("nodesFocusable", d, le.setState), + Ce("edgesFocusable", h, le.setState), + Ce("edgesUpdatable", f, le.setState), + Ce("elementsSelectable", E, le.setState), + Ce("elevateNodesOnSelect", m, le.setState), + Ce("snapToGrid", _, le.setState), + Ce("snapGrid", S, le.setState), + Ce("onNodesChange", x, le.setState), + Ce("onEdgesChange", C, le.setState), + Ce("connectOnClick", R, le.setState), + Ce("fitViewOnInit", j, le.setState), + Ce("fitViewOnInitOptions", P, le.setState), + Ce("onNodesDelete", V, le.setState), + Ce("onEdgesDelete", k, le.setState), + Ce("onNodeDrag", N, le.setState), + Ce("onNodeDragStart", T, le.setState), + Ce("onNodeDragStop", F, le.setState), + Ce("onSelectionDrag", I, le.setState), + Ce("onSelectionDragStart", D, le.setState), + Ce("onSelectionDragStop", v, le.setState), + Ce("noPanClassName", z, le.setState), + Ce("nodeOrigin", B, le.setState), + Ce("rfId", M, le.setState), + Ce("autoPanOnConnect", W, le.setState), + Ce("autoPanOnNodeDrag", G, le.setState), + Ce("onError", K, le.setState), + Ce("connectionRadius", Q, le.setState), + Ce("isValidConnection", ne, le.setState), + Ce("nodeDragThreshold", oe, le.setState), + io(e, U), + io(t, ge), + io(b, ke), + io(y, ie), + io(A, _e), + io(g, $e), + null + ); + }, + Eu = { display: "none" }, + Jm = { + position: "absolute", + width: 1, + height: 1, + margin: -1, + border: 0, + padding: 0, + overflow: "hidden", + clip: "rect(0px, 0px, 0px, 0px)", + clipPath: "inset(100%)", + }, + $3 = "react-flow__node-desc", + W3 = "react-flow__edge-desc", + eb = "react-flow__aria-live", + tb = (e) => e.ariaLiveMessage; +function nb({ rfId: e }) { + const t = Ze(tb); + return $.createElement( + "div", + { + id: `${eb}-${e}`, + "aria-live": "assertive", + "aria-atomic": "true", + style: Jm, + }, + t, + ); +} +function ob({ rfId: e, disableKeyboardA11y: t }) { + return $.createElement( + $.Fragment, + null, + $.createElement( + "div", + { id: `${$3}-${e}`, style: Eu }, + "Press enter or space to select a node.", + !t && "You can then use the arrow keys to move the node around.", + " Press delete to remove it and escape to cancel.", + " ", + ), + $.createElement( + "div", + { id: `${W3}-${e}`, style: Eu }, + "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.", + ), + !t && $.createElement(nb, { rfId: e }), + ); +} +var br = (e = null, t = { actInsideInputWithModifier: !0 }) => { + const [n, o] = ue(!1), + r = pe(!1), + i = pe(/* @__PURE__ */ new Set([])), + [a, l] = Be(() => { + if (e !== null) { + const u = (Array.isArray(e) ? e : [e]) + .filter((d) => typeof d == "string") + .map((d) => d.split("+")), + c = u.reduce((d, h) => d.concat(...h), []); + return [u, c]; + } + return [[], []]; + }, [e]); + return ( + ce(() => { + const s = typeof document < "u" ? document : null, + u = (t == null ? void 0 : t.target) || s; + if (e !== null) { + const c = (f) => { + if ( + ((r.current = f.ctrlKey || f.metaKey || f.shiftKey), + (!r.current || (r.current && !t.actInsideInputWithModifier)) && + Es(f)) + ) + return !1; + const b = ku(f.code, l); + i.current.add(f[b]), + Su(a, i.current, !1) && (f.preventDefault(), o(!0)); + }, + d = (f) => { + if ( + (!r.current || (r.current && !t.actInsideInputWithModifier)) && + Es(f) + ) + return !1; + const b = ku(f.code, l); + Su(a, i.current, !0) + ? (o(!1), i.current.clear()) + : i.current.delete(f[b]), + f.key === "Meta" && i.current.clear(), + (r.current = !1); + }, + h = () => { + i.current.clear(), o(!1); + }; + return ( + u == null || u.addEventListener("keydown", c), + u == null || u.addEventListener("keyup", d), + window.addEventListener("blur", h), + () => { + u == null || u.removeEventListener("keydown", c), + u == null || u.removeEventListener("keyup", d), + window.removeEventListener("blur", h); + } + ); + } + }, [e, o]), + n + ); +}; +function Su(e, t, n) { + return e + .filter((o) => n || o.length === t.size) + .some((o) => o.every((r) => t.has(r))); +} +function ku(e, t) { + return t.includes(e) ? "code" : "key"; +} +function Z3(e, t, n, o) { + var l, s; + const r = e.parentNode || e.parentId; + if (!r) return n; + const i = t.get(r), + a = mo(i, o); + return Z3( + i, + t, + { + x: (n.x ?? 0) + a.x, + y: (n.y ?? 0) + a.y, + z: + (((l = i[qe]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) + ? (((s = i[qe]) == null ? void 0 : s.z) ?? 0) + : (n.z ?? 0), + }, + o, + ); +} +function U3(e, t, n) { + e.forEach((o) => { + var i; + const r = o.parentNode || o.parentId; + if (r && !e.has(r)) throw new Error(`Parent node ${r} not found`); + if (r || (n != null && n[o.id])) { + const { + x: a, + y: l, + z: s, + } = Z3( + o, + e, + { + ...o.position, + z: ((i = o[qe]) == null ? void 0 : i.z) ?? 0, + }, + t, + ); + (o.positionAbsolute = { + x: a, + y: l, + }), + (o[qe].z = s), + n != null && n[o.id] && (o[qe].isParent = !0); + } + }); +} +function Rl(e, t, n, o) { + const r = /* @__PURE__ */ new Map(), + i = {}, + a = o ? 1e3 : 0; + return ( + e.forEach((l) => { + var f; + const s = (jt(l.zIndex) ? l.zIndex : 0) + (l.selected ? a : 0), + u = t.get(l.id), + c = { + ...l, + positionAbsolute: { + x: l.position.x, + y: l.position.y, + }, + }, + d = l.parentNode || l.parentId; + d && (i[d] = !0); + const h = + (u == null ? void 0 : u.type) && + (u == null ? void 0 : u.type) !== l.type; + Object.defineProperty(c, qe, { + enumerable: !1, + value: { + handleBounds: + h || (f = u == null ? void 0 : u[qe]) == null + ? void 0 + : f.handleBounds, + z: s, + }, + }), + r.set(l.id, c); + }), + U3(r, n, i), + r + ); +} +function q3(e, t = {}) { + const { + getNodes: n, + width: o, + height: r, + minZoom: i, + maxZoom: a, + d3Zoom: l, + d3Selection: s, + fitViewOnInitDone: u, + fitViewOnInit: c, + nodeOrigin: d, + } = e(), + h = t.initial && !u && c; + if (l && s && (h || !t.initial)) { + const m = n().filter((y) => { + var x; + const g = t.includeHiddenNodes ? y.width && y.height : !y.hidden; + return (x = t.nodes) != null && x.length + ? g && t.nodes.some((C) => C.id === y.id) + : g; + }), + b = m.every((y) => y.width && y.height); + if (m.length > 0 && b) { + const y = Nc(m, d), + { + x: g, + y: x, + zoom: C, + } = D3(y, o, r, t.minZoom ?? i, t.maxZoom ?? a, t.padding ?? 0.1), + E = Dn.translate(g, x).scale(C); + return ( + typeof t.duration == "number" && t.duration > 0 + ? l.transform(Hn(s, t.duration), E) + : l.transform(s, E), + !0 + ); + } + } + return !1; +} +function rb(e, t) { + return ( + e.forEach((n) => { + const o = t.get(n.id); + o && + t.set(o.id, { + ...o, + [qe]: o[qe], + selected: n.selected, + }); + }), + new Map(t) + ); +} +function ib(e, t) { + return t.map((n) => { + const o = e.find((r) => r.id === n.id); + return o && (n.selected = o.selected), n; + }); +} +function Jr({ changedNodes: e, changedEdges: t, get: n, set: o }) { + const { + nodeInternals: r, + edges: i, + onNodesChange: a, + onEdgesChange: l, + hasDefaultNodes: s, + hasDefaultEdges: u, + } = n(); + e != null && + e.length && + (s && o({ nodeInternals: rb(e, r) }), a == null || a(e)), + t != null && t.length && (u && o({ edges: ib(t, i) }), l == null || l(t)); +} +const ao = () => {}, + ab = { + zoomIn: ao, + zoomOut: ao, + zoomTo: ao, + getZoom: () => 1, + setViewport: ao, + getViewport: () => ({ x: 0, y: 0, zoom: 1 }), + fitView: () => !1, + setCenter: ao, + fitBounds: ao, + project: (e) => e, + screenToFlowPosition: (e) => e, + flowToScreenPosition: (e) => e, + viewportInitialized: !1, + }, + lb = (e) => ({ + d3Zoom: e.d3Zoom, + d3Selection: e.d3Selection, + }), + sb = () => { + const e = nt(), + { d3Zoom: t, d3Selection: n } = Ze(lb, st); + return Be( + () => + n && t + ? { + zoomIn: (r) => + t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1.2), + zoomOut: (r) => + t.scaleBy(Hn(n, r == null ? void 0 : r.duration), 1 / 1.2), + zoomTo: (r, i) => + t.scaleTo(Hn(n, i == null ? void 0 : i.duration), r), + getZoom: () => e.getState().transform[2], + setViewport: (r, i) => { + const [a, l, s] = e.getState().transform, + u = Dn.translate(r.x ?? a, r.y ?? l).scale(r.zoom ?? s); + t.transform(Hn(n, i == null ? void 0 : i.duration), u); + }, + getViewport: () => { + const [r, i, a] = e.getState().transform; + return { x: r, y: i, zoom: a }; + }, + fitView: (r) => q3(e.getState, r), + setCenter: (r, i, a) => { + const { width: l, height: s, maxZoom: u } = e.getState(), + c = typeof (a == null ? void 0 : a.zoom) < "u" ? a.zoom : u, + d = l / 2 - r * c, + h = s / 2 - i * c, + f = Dn.translate(d, h).scale(c); + t.transform(Hn(n, a == null ? void 0 : a.duration), f); + }, + fitBounds: (r, i) => { + const { + width: a, + height: l, + minZoom: s, + maxZoom: u, + } = e.getState(), + { + x: c, + y: d, + zoom: h, + } = D3( + r, + a, + l, + s, + u, + (i == null ? void 0 : i.padding) ?? 0.1, + ), + f = Dn.translate(c, d).scale(h); + t.transform(Hn(n, i == null ? void 0 : i.duration), f); + }, + // @deprecated Use `screenToFlowPosition`. + project: (r) => { + const { + transform: i, + snapToGrid: a, + snapGrid: l, + } = e.getState(); + return ( + console.warn( + "[DEPRECATED] `project` is deprecated. Instead use `screenToFlowPosition`. There is no need to subtract the react flow bounds anymore! https://reactflow.dev/api-reference/types/react-flow-instance#screen-to-flow-position", + ), + _s(r, i, a, l) + ); + }, + screenToFlowPosition: (r) => { + const { + transform: i, + snapToGrid: a, + snapGrid: l, + domNode: s, + } = e.getState(); + if (!s) return r; + const { x: u, y: c } = s.getBoundingClientRect(), + d = { + x: r.x - u, + y: r.y - c, + }; + return _s(d, i, a, l); + }, + flowToScreenPosition: (r) => { + const { transform: i, domNode: a } = e.getState(); + if (!a) return r; + const { x: l, y: s } = a.getBoundingClientRect(), + u = T3(r, i); + return { + x: u.x + l, + y: u.y + s, + }; + }, + viewportInitialized: !0, + } + : ab, + [t, n], + ); + }; +function Qt() { + const e = sb(), + t = nt(), + n = Me( + () => + t + .getState() + .getNodes() + .map((b) => ({ ...b })), + [], + ), + o = Me((b) => t.getState().nodeInternals.get(b), []), + r = Me(() => { + const { edges: b = [] } = t.getState(); + return b.map((y) => ({ ...y })); + }, []), + i = Me((b) => { + const { edges: y = [] } = t.getState(); + return y.find((g) => g.id === b); + }, []), + a = Me((b) => { + const { + getNodes: y, + setNodes: g, + hasDefaultNodes: x, + onNodesChange: C, + } = t.getState(), + E = y(), + w = typeof b == "function" ? b(E) : b; + if (x) g(w); + else if (C) { + const S = + w.length === 0 + ? E.map((_) => ({ type: "remove", id: _.id })) + : w.map((_) => ({ item: _, type: "reset" })); + C(S); + } + }, []), + l = Me((b) => { + const { + edges: y = [], + setEdges: g, + hasDefaultEdges: x, + onEdgesChange: C, + } = t.getState(), + E = typeof b == "function" ? b(y) : b; + if (x) g(E); + else if (C) { + const w = + E.length === 0 + ? y.map((S) => ({ type: "remove", id: S.id })) + : E.map((S) => ({ item: S, type: "reset" })); + C(w); + } + }, []), + s = Me((b) => { + const y = Array.isArray(b) ? b : [b], + { + getNodes: g, + setNodes: x, + hasDefaultNodes: C, + onNodesChange: E, + } = t.getState(); + if (C) { + const S = [...g(), ...y]; + x(S); + } else if (E) { + const w = y.map((S) => ({ item: S, type: "add" })); + E(w); + } + }, []), + u = Me((b) => { + const y = Array.isArray(b) ? b : [b], + { + edges: g = [], + setEdges: x, + hasDefaultEdges: C, + onEdgesChange: E, + } = t.getState(); + if (C) x([...g, ...y]); + else if (E) { + const w = y.map((S) => ({ item: S, type: "add" })); + E(w); + } + }, []), + c = Me(() => { + const { getNodes: b, edges: y = [], transform: g } = t.getState(), + [x, C, E] = g; + return { + nodes: b().map((w) => ({ ...w })), + edges: y.map((w) => ({ ...w })), + viewport: { + x, + y: C, + zoom: E, + }, + }; + }, []), + d = Me(({ nodes: b, edges: y }) => { + const { + nodeInternals: g, + getNodes: x, + edges: C, + hasDefaultNodes: E, + hasDefaultEdges: w, + onNodesDelete: S, + onEdgesDelete: _, + onNodesChange: A, + onEdgesChange: R, + } = t.getState(), + L = (b || []).map((N) => N.id), + j = (y || []).map((N) => N.id), + P = x().reduce((N, T) => { + const F = T.parentNode || T.parentId, + I = !L.includes(T.id) && F && N.find((v) => v.id === F); + return ( + (typeof T.deletable == "boolean" ? T.deletable : !0) && + (L.includes(T.id) || I) && + N.push(T), + N + ); + }, []), + V = C.filter((N) => + typeof N.deletable == "boolean" ? N.deletable : !0, + ), + k = V.filter((N) => j.includes(N.id)); + if (P || k) { + const N = N3(P, V), + T = [...k, ...N], + F = T.reduce((I, D) => (I.includes(D.id) || I.push(D.id), I), []); + if ( + ((w || E) && + (w && + t.setState({ + edges: C.filter((I) => !F.includes(I.id)), + }), + E && + (P.forEach((I) => { + g.delete(I.id); + }), + t.setState({ + nodeInternals: new Map(g), + }))), + F.length > 0 && + (_ == null || _(T), + R && + R( + F.map((I) => ({ + id: I, + type: "remove", + })), + )), + P.length > 0 && (S == null || S(P), A)) + ) { + const I = P.map((D) => ({ id: D.id, type: "remove" })); + A(I); + } + } + }, []), + h = Me((b) => { + const y = Mm(b), + g = y ? null : t.getState().nodeInternals.get(b.id); + return !y && !g ? [null, null, y] : [y ? b : mu(g), g, y]; + }, []), + f = Me((b, y = !0, g) => { + const [x, C, E] = h(b); + return x + ? (g || t.getState().getNodes()).filter((w) => { + if (!E && (w.id === C.id || !w.positionAbsolute)) return !1; + const S = mu(w), + _ = ws(S, x); + return (y && _ > 0) || _ >= x.width * x.height; + }) + : []; + }, []), + m = Me((b, y, g = !0) => { + const [x] = h(b); + if (!x) return !1; + const C = ws(x, y); + return (g && C > 0) || C >= x.width * x.height; + }, []); + return Be( + () => ({ + ...e, + getNodes: n, + getNode: o, + getEdges: r, + getEdge: i, + setNodes: a, + setEdges: l, + addNodes: s, + addEdges: u, + toObject: c, + deleteElements: d, + getIntersectingNodes: f, + isNodeIntersecting: m, + }), + [e, n, o, r, i, a, l, s, u, c, d, f, m], + ); +} +const cb = { actInsideInputWithModifier: !1 }; +var ub = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { + const n = nt(), + { deleteElements: o } = Qt(), + r = br(e, cb), + i = br(t); + ce(() => { + if (r) { + const { edges: a, getNodes: l } = n.getState(), + s = l().filter((c) => c.selected), + u = a.filter((c) => c.selected); + o({ nodes: s, edges: u }), n.setState({ nodesSelectionActive: !1 }); + } + }, [r]), + ce(() => { + n.setState({ multiSelectionActive: i }); + }, [i]); +}; +function db(e) { + const t = nt(); + ce(() => { + let n; + const o = () => { + var i, a; + if (!e.current) return; + const r = Sc(e.current); + (r.height === 0 || r.width === 0) && + ((a = (i = t.getState()).onError) == null || + a.call(i, "004", Kt.error004())), + t.setState({ width: r.width || 500, height: r.height || 500 }); + }; + return ( + o(), + window.addEventListener("resize", o), + e.current && ((n = new ResizeObserver(() => o())), n.observe(e.current)), + () => { + window.removeEventListener("resize", o), + n && e.current && n.unobserve(e.current); + } + ); + }, []); +} +const Fc = { + position: "absolute", + width: "100%", + height: "100%", + top: 0, + left: 0, + }, + fb = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, + ei = (e) => ({ + x: e.x, + y: e.y, + zoom: e.k, + }), + lo = (e, t) => e.target.closest(`.${t}`), + _u = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), + Au = (e) => { + const t = e.ctrlKey && Li() ? 10 : 1; + return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; + }, + pb = (e) => ({ + d3Zoom: e.d3Zoom, + d3Selection: e.d3Selection, + d3ZoomHandler: e.d3ZoomHandler, + userSelectionActive: e.userSelectionActive, + }), + hb = ({ + onMove: e, + onMoveStart: t, + onMoveEnd: n, + onPaneContextMenu: o, + zoomOnScroll: r = !0, + zoomOnPinch: i = !0, + panOnScroll: a = !1, + panOnScrollSpeed: l = 0.5, + panOnScrollMode: s = Wn.Free, + zoomOnDoubleClick: u = !0, + elementsSelectable: c, + panOnDrag: d = !0, + defaultViewport: h, + translateExtent: f, + minZoom: m, + maxZoom: b, + zoomActivationKeyCode: y, + preventScrolling: g = !0, + children: x, + noWheelClassName: C, + noPanClassName: E, + }) => { + const w = pe(), + S = nt(), + _ = pe(!1), + A = pe(!1), + R = pe(null), + L = pe({ x: 0, y: 0, zoom: 0 }), + { + d3Zoom: j, + d3Selection: P, + d3ZoomHandler: V, + userSelectionActive: k, + } = Ze(pb, st), + N = br(y), + T = pe(0), + F = pe(!1), + I = pe(); + return ( + db(R), + ce(() => { + if (R.current) { + const D = R.current.getBoundingClientRect(), + v = vm().scaleExtent([m, b]).translateExtent(f), + z = Ut(R.current).call(v), + B = Dn.translate(h.x, h.y).scale(Mo(h.zoom, m, b)), + M = [ + [0, 0], + [D.width, D.height], + ], + W = v.constrain()(B, M, f); + v.transform(z, W), + v.wheelDelta(Au), + S.setState({ + d3Zoom: v, + d3Selection: z, + d3ZoomHandler: z.on("wheel.zoom"), + // we need to pass transform because zoom handler is not registered when we set the initial transform + transform: [W.x, W.y, W.k], + domNode: R.current.closest(".react-flow"), + }); + } + }, []), + ce(() => { + P && + j && + (a && !N && !k + ? P.on( + "wheel.zoom", + (D) => { + if (lo(D, C)) return !1; + D.preventDefault(), D.stopImmediatePropagation(); + const v = P.property("__zoom").k || 1; + if (D.ctrlKey && i) { + const ne = on(D), + oe = Au(D), + U = v * Math.pow(2, oe); + j.scaleTo(P, U, ne, D); + return; + } + const z = D.deltaMode === 1 ? 20 : 1; + let B = s === Wn.Vertical ? 0 : D.deltaX * z, + M = s === Wn.Horizontal ? 0 : D.deltaY * z; + !Li() && + D.shiftKey && + s !== Wn.Vertical && + ((B = D.deltaY * z), (M = 0)), + j.translateBy( + P, + -(B / v) * l, + -(M / v) * l, + // @ts-ignore + { internal: !0 }, + ); + const W = ei(P.property("__zoom")), + { + onViewportChangeStart: G, + onViewportChange: K, + onViewportChangeEnd: Q, + } = S.getState(); + clearTimeout(I.current), + F.current || + ((F.current = !0), + t == null || t(D, W), + G == null || G(W)), + F.current && + (e == null || e(D, W), + K == null || K(W), + (I.current = setTimeout(() => { + n == null || n(D, W), + Q == null || Q(W), + (F.current = !1); + }, 150))); + }, + { passive: !1 }, + ) + : typeof V < "u" && + P.on( + "wheel.zoom", + function (D, v) { + if ((!g && D.type === "wheel" && !D.ctrlKey) || lo(D, C)) + return null; + D.preventDefault(), V.call(this, D, v); + }, + { passive: !1 }, + )); + }, [k, a, s, P, j, V, N, i, g, C, t, e, n]), + ce(() => { + j && + j.on("start", (D) => { + var B, M; + if (!D.sourceEvent || D.sourceEvent.internal) return null; + T.current = (B = D.sourceEvent) == null ? void 0 : B.button; + const { onViewportChangeStart: v } = S.getState(), + z = ei(D.transform); + (_.current = !0), + (L.current = z), + ((M = D.sourceEvent) == null ? void 0 : M.type) === "mousedown" && + S.setState({ paneDragging: !0 }), + v == null || v(z), + t == null || t(D.sourceEvent, z); + }); + }, [j, t]), + ce(() => { + j && + (k && !_.current + ? j.on("zoom", null) + : k || + j.on("zoom", (D) => { + var z; + const { onViewportChange: v } = S.getState(); + if ( + (S.setState({ + transform: [D.transform.x, D.transform.y, D.transform.k], + }), + (A.current = !!(o && _u(d, T.current ?? 0))), + (e || v) && !((z = D.sourceEvent) != null && z.internal)) + ) { + const B = ei(D.transform); + v == null || v(B), e == null || e(D.sourceEvent, B); + } + })); + }, [k, j, e, d, o]), + ce(() => { + j && + j.on("end", (D) => { + if (!D.sourceEvent || D.sourceEvent.internal) return null; + const { onViewportChangeEnd: v } = S.getState(); + if ( + ((_.current = !1), + S.setState({ paneDragging: !1 }), + o && _u(d, T.current ?? 0) && !A.current && o(D.sourceEvent), + (A.current = !1), + (n || v) && fb(L.current, D.transform)) + ) { + const z = ei(D.transform); + (L.current = z), + clearTimeout(w.current), + (w.current = setTimeout( + () => { + v == null || v(z), n == null || n(D.sourceEvent, z); + }, + a ? 150 : 0, + )); + } + }); + }, [j, a, d, n, o]), + ce(() => { + j && + j.filter((D) => { + const v = N || r, + z = i && D.ctrlKey; + if ( + (d === !0 || (Array.isArray(d) && d.includes(1))) && + D.button === 1 && + D.type === "mousedown" && + (lo(D, "react-flow__node") || lo(D, "react-flow__edge")) + ) + return !0; + if ( + (!d && !v && !a && !u && !i) || + k || + (!u && D.type === "dblclick") || + (lo(D, C) && D.type === "wheel") || + (lo(D, E) && + (D.type !== "wheel" || (a && D.type === "wheel" && !N))) || + (!i && D.ctrlKey && D.type === "wheel") || + (!v && !a && !z && D.type === "wheel") || + (!d && (D.type === "mousedown" || D.type === "touchstart")) || + (Array.isArray(d) && + !d.includes(D.button) && + D.type === "mousedown") + ) + return !1; + const B = + (Array.isArray(d) && d.includes(D.button)) || + !D.button || + D.button <= 1; + return (!D.ctrlKey || D.type === "wheel") && B; + }); + }, [k, j, r, i, a, u, d, c, N]), + $.createElement( + "div", + { className: "react-flow__renderer", ref: R, style: Fc }, + x, + ) + ); + }, + gb = (e) => ({ + userSelectionActive: e.userSelectionActive, + userSelectionRect: e.userSelectionRect, + }); +function mb() { + const { userSelectionActive: e, userSelectionRect: t } = Ze(gb, st); + return e && t + ? $.createElement("div", { + className: "react-flow__selection react-flow__container", + style: { + width: t.width, + height: t.height, + transform: `translate(${t.x}px, ${t.y}px)`, + }, + }) + : null; +} +function Mu(e, t) { + const n = t.parentNode || t.parentId, + o = e.find((r) => r.id === n); + if (o) { + const r = t.position.x + t.width - o.width, + i = t.position.y + t.height - o.height; + if (r > 0 || i > 0 || t.position.x < 0 || t.position.y < 0) { + if ( + ((o.style = { ...o.style }), + (o.style.width = o.style.width ?? o.width), + (o.style.height = o.style.height ?? o.height), + r > 0 && (o.style.width += r), + i > 0 && (o.style.height += i), + t.position.x < 0) + ) { + const a = Math.abs(t.position.x); + (o.position.x = o.position.x - a), + (o.style.width += a), + (t.position.x = 0); + } + if (t.position.y < 0) { + const a = Math.abs(t.position.y); + (o.position.y = o.position.y - a), + (o.style.height += a), + (t.position.y = 0); + } + (o.width = o.style.width), (o.height = o.style.height); + } + } +} +function bb(e, t) { + if (e.some((o) => o.type === "reset")) + return e.filter((o) => o.type === "reset").map((o) => o.item); + const n = e.filter((o) => o.type === "add").map((o) => o.item); + return t.reduce((o, r) => { + const i = e.filter((l) => l.id === r.id); + if (i.length === 0) return o.push(r), o; + const a = { ...r }; + for (const l of i) + if (l) + switch (l.type) { + case "select": { + a.selected = l.selected; + break; + } + case "position": { + typeof l.position < "u" && (a.position = l.position), + typeof l.positionAbsolute < "u" && + (a.positionAbsolute = l.positionAbsolute), + typeof l.dragging < "u" && (a.dragging = l.dragging), + a.expandParent && Mu(o, a); + break; + } + case "dimensions": { + typeof l.dimensions < "u" && + ((a.width = l.dimensions.width), + (a.height = l.dimensions.height)), + typeof l.updateStyle < "u" && + (a.style = { ...(a.style || {}), ...l.dimensions }), + typeof l.resizing == "boolean" && (a.resizing = l.resizing), + a.expandParent && Mu(o, a); + break; + } + case "remove": + return o; + } + return o.push(a), o; + }, n); +} +function yb(e, t) { + return bb(e, t); +} +const On = (e, t) => ({ + id: e, + type: "select", + selected: t, +}); +function co(e, t) { + return e.reduce((n, o) => { + const r = t.includes(o.id); + return ( + !o.selected && r + ? ((o.selected = !0), n.push(On(o.id, !0))) + : o.selected && !r && ((o.selected = !1), n.push(On(o.id, !1))), + n + ); + }, []); +} +const jl = (e, t) => (n) => { + n.target === t.current && (e == null || e(n)); + }, + Cb = (e) => ({ + userSelectionActive: e.userSelectionActive, + elementsSelectable: e.elementsSelectable, + dragging: e.paneDragging, + }), + Y3 = Ye( + ({ + isSelecting: e, + selectionMode: t = mr.Full, + panOnDrag: n, + onSelectionStart: o, + onSelectionEnd: r, + onPaneClick: i, + onPaneContextMenu: a, + onPaneScroll: l, + onPaneMouseEnter: s, + onPaneMouseMove: u, + onPaneMouseLeave: c, + children: d, + }) => { + const h = pe(null), + f = nt(), + m = pe(0), + b = pe(0), + y = pe(), + { + userSelectionActive: g, + elementsSelectable: x, + dragging: C, + } = Ze(Cb, st), + E = () => { + f.setState({ userSelectionActive: !1, userSelectionRect: null }), + (m.current = 0), + (b.current = 0); + }, + w = (V) => { + i == null || i(V), + f.getState().resetSelectedElements(), + f.setState({ nodesSelectionActive: !1 }); + }, + S = (V) => { + if (Array.isArray(n) && n != null && n.includes(2)) { + V.preventDefault(); + return; + } + a == null || a(V); + }, + _ = l ? (V) => l(V) : void 0, + A = (V) => { + const { resetSelectedElements: k, domNode: N } = f.getState(); + if ( + ((y.current = N == null ? void 0 : N.getBoundingClientRect()), + !x || !e || V.button !== 0 || V.target !== h.current || !y.current) + ) + return; + const { x: T, y: F } = Ln(V, y.current); + k(), + f.setState({ + userSelectionRect: { + width: 0, + height: 0, + startX: T, + startY: F, + x: T, + y: F, + }, + }), + o == null || o(V); + }, + R = (V) => { + const { + userSelectionRect: k, + nodeInternals: N, + edges: T, + transform: F, + onNodesChange: I, + onEdgesChange: D, + nodeOrigin: v, + getNodes: z, + } = f.getState(); + if (!e || !y.current || !k) return; + f.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); + const B = Ln(V, y.current), + M = k.startX ?? 0, + W = k.startY ?? 0, + G = { + ...k, + x: B.x < M ? B.x : M, + y: B.y < W ? B.y : W, + width: Math.abs(B.x - M), + height: Math.abs(B.y - W), + }, + K = z(), + Q = O3(N, G, F, t === mr.Partial, !0, v), + ne = N3(Q, T).map((U) => U.id), + oe = Q.map((U) => U.id); + if (m.current !== oe.length) { + m.current = oe.length; + const U = co(K, oe); + U.length && (I == null || I(U)); + } + if (b.current !== ne.length) { + b.current = ne.length; + const U = co(T, ne); + U.length && (D == null || D(U)); + } + f.setState({ + userSelectionRect: G, + }); + }, + L = (V) => { + if (V.button !== 0) return; + const { userSelectionRect: k } = f.getState(); + !g && k && V.target === h.current && (w == null || w(V)), + f.setState({ nodesSelectionActive: m.current > 0 }), + E(), + r == null || r(V); + }, + j = (V) => { + g && + (f.setState({ nodesSelectionActive: m.current > 0 }), + r == null || r(V)), + E(); + }, + P = x && (e || g); + return $.createElement( + "div", + { + className: bt(["react-flow__pane", { dragging: C, selection: e }]), + onClick: P ? void 0 : jl(w, h), + onContextMenu: jl(S, h), + onWheel: jl(_, h), + onMouseEnter: P ? void 0 : s, + onMouseDown: P ? A : void 0, + onMouseMove: P ? R : u, + onMouseUp: P ? L : void 0, + onMouseLeave: P ? j : c, + ref: h, + style: Fc, + }, + d, + $.createElement(mb, null), + ); + }, + ); +Y3.displayName = "Pane"; +function G3(e, t) { + const n = e.parentNode || e.parentId; + if (!n) return !1; + const o = t.get(n); + return o ? (o.selected ? !0 : G3(o, t)) : !1; +} +function Tu(e, t, n) { + let o = e; + do { + if (o != null && o.matches(t)) return !0; + if (o === n.current) return !1; + o = o.parentElement; + } while (o); + return !1; +} +function vb(e, t, n, o) { + return Array.from(e.values()) + .filter( + (r) => + (r.selected || r.id === o) && + (!r.parentNode || r.parentId || !G3(r, e)) && + (r.draggable || (t && typeof r.draggable > "u")), + ) + .map((r) => { + var i, a; + return { + id: r.id, + position: r.position || { x: 0, y: 0 }, + positionAbsolute: r.positionAbsolute || { x: 0, y: 0 }, + distance: { + x: n.x - (((i = r.positionAbsolute) == null ? void 0 : i.x) ?? 0), + y: n.y - (((a = r.positionAbsolute) == null ? void 0 : a.y) ?? 0), + }, + delta: { + x: 0, + y: 0, + }, + extent: r.extent, + parentNode: r.parentNode || r.parentId, + parentId: r.parentNode || r.parentId, + width: r.width, + height: r.height, + expandParent: r.expandParent, + }; + }); +} +function xb(e, t) { + return !t || t === "parent" + ? t + : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; +} +function K3(e, t, n, o, r = [0, 0], i) { + const a = xb(e, e.extent || o); + let l = a; + const s = e.parentNode || e.parentId; + if (e.extent === "parent" && !e.expandParent) + if (s && e.width && e.height) { + const d = n.get(s), + { x: h, y: f } = mo(d, r).positionAbsolute; + l = + d && jt(h) && jt(f) && jt(d.width) && jt(d.height) + ? [ + [h + e.width * r[0], f + e.height * r[1]], + [ + h + d.width - e.width + e.width * r[0], + f + d.height - e.height + e.height * r[1], + ], + ] + : l; + } else i == null || i("005", Kt.error005()), (l = a); + else if (e.extent && s && e.extent !== "parent") { + const d = n.get(s), + { x: h, y: f } = mo(d, r).positionAbsolute; + l = [ + [e.extent[0][0] + h, e.extent[0][1] + f], + [e.extent[1][0] + h, e.extent[1][1] + f], + ]; + } + let u = { x: 0, y: 0 }; + if (s) { + const d = n.get(s); + u = mo(d, r).positionAbsolute; + } + const c = l && l !== "parent" ? kc(t, l) : t; + return { + position: { + x: c.x - u.x, + y: c.y - u.y, + }, + positionAbsolute: c, + }; +} +function Il({ nodeId: e, dragItems: t, nodeInternals: n }) { + const o = t.map((r) => ({ + ...n.get(r.id), + position: r.position, + positionAbsolute: r.positionAbsolute, + })); + return [e ? o.find((r) => r.id === e) : o[0], o]; +} +const Ou = (e, t, n, o) => { + const r = t.querySelectorAll(e); + if (!r || !r.length) return null; + const i = Array.from(r), + a = t.getBoundingClientRect(), + l = { + x: a.width * o[0], + y: a.height * o[1], + }; + return i.map((s) => { + const u = s.getBoundingClientRect(); + return { + id: s.getAttribute("data-handleid"), + position: s.getAttribute("data-handlepos"), + x: (u.left - a.left - l.x) / n, + y: (u.top - a.top - l.y) / n, + ...Sc(s), + }; + }); +}; +function Zo(e, t, n) { + return n === void 0 + ? n + : (o) => { + const r = t().nodeInternals.get(e); + r && n(o, { ...r }); + }; +} +function Ms({ id: e, store: t, unselect: n = !1, nodeRef: o }) { + const { + addSelectedNodes: r, + unselectNodesAndEdges: i, + multiSelectionActive: a, + nodeInternals: l, + onError: s, + } = t.getState(), + u = l.get(e); + if (!u) { + s == null || s("012", Kt.error012(e)); + return; + } + t.setState({ nodesSelectionActive: !1 }), + u.selected + ? (n || (u.selected && a)) && + (i({ nodes: [u], edges: [] }), + requestAnimationFrame(() => { + var c; + return (c = o == null ? void 0 : o.current) == null + ? void 0 + : c.blur(); + })) + : r([e]); +} +function wb() { + const e = nt(); + return Me(({ sourceEvent: n }) => { + const { transform: o, snapGrid: r, snapToGrid: i } = e.getState(), + a = n.touches ? n.touches[0].clientX : n.clientX, + l = n.touches ? n.touches[0].clientY : n.clientY, + s = { + x: (a - o[0]) / o[2], + y: (l - o[1]) / o[2], + }; + return { + xSnapped: i ? r[0] * Math.round(s.x / r[0]) : s.x, + ySnapped: i ? r[1] * Math.round(s.y / r[1]) : s.y, + ...s, + }; + }, []); +} +function zl(e) { + return (t, n, o) => (e == null ? void 0 : e(t, o)); +} +function X3({ + nodeRef: e, + disabled: t = !1, + noDragClassName: n, + handleSelector: o, + nodeId: r, + isSelectable: i, + selectNodesOnDrag: a, +}) { + const l = nt(), + [s, u] = ue(!1), + c = pe([]), + d = pe({ x: null, y: null }), + h = pe(0), + f = pe(null), + m = pe({ x: 0, y: 0 }), + b = pe(null), + y = pe(!1), + g = pe(!1), + x = pe(!1), + C = wb(); + return ( + ce(() => { + if (e != null && e.current) { + const E = Ut(e.current), + w = ({ x: A, y: R }) => { + const { + nodeInternals: L, + onNodeDrag: j, + onSelectionDrag: P, + updateNodePositions: V, + nodeExtent: k, + snapGrid: N, + snapToGrid: T, + nodeOrigin: F, + onError: I, + } = l.getState(); + d.current = { x: A, y: R }; + let D = !1, + v = { x: 0, y: 0, x2: 0, y2: 0 }; + if (c.current.length > 1 && k) { + const B = Nc(c.current, F); + v = _c(B); + } + if ( + ((c.current = c.current.map((B) => { + const M = { x: A - B.distance.x, y: R - B.distance.y }; + T && + ((M.x = N[0] * Math.round(M.x / N[0])), + (M.y = N[1] * Math.round(M.y / N[1]))); + const W = [ + [k[0][0], k[0][1]], + [k[1][0], k[1][1]], + ]; + c.current.length > 1 && + k && + !B.extent && + ((W[0][0] = B.positionAbsolute.x - v.x + k[0][0]), + (W[1][0] = + B.positionAbsolute.x + (B.width ?? 0) - v.x2 + k[1][0]), + (W[0][1] = B.positionAbsolute.y - v.y + k[0][1]), + (W[1][1] = + B.positionAbsolute.y + (B.height ?? 0) - v.y2 + k[1][1])); + const G = K3(B, M, L, W, F, I); + return ( + (D = + D || + B.position.x !== G.position.x || + B.position.y !== G.position.y), + (B.position = G.position), + (B.positionAbsolute = G.positionAbsolute), + B + ); + })), + !D) + ) + return; + V(c.current, !0, !0), u(!0); + const z = r ? j : zl(P); + if (z && b.current) { + const [B, M] = Il({ + nodeId: r, + dragItems: c.current, + nodeInternals: L, + }); + z(b.current, B, M); + } + }, + S = () => { + if (!f.current) return; + const [A, R] = v3(m.current, f.current); + if (A !== 0 || R !== 0) { + const { transform: L, panBy: j } = l.getState(); + (d.current.x = (d.current.x ?? 0) - A / L[2]), + (d.current.y = (d.current.y ?? 0) - R / L[2]), + j({ x: A, y: R }) && w(d.current); + } + h.current = requestAnimationFrame(S); + }, + _ = (A) => { + var F; + const { + nodeInternals: R, + multiSelectionActive: L, + nodesDraggable: j, + unselectNodesAndEdges: P, + onNodeDragStart: V, + onSelectionDragStart: k, + } = l.getState(); + g.current = !0; + const N = r ? V : zl(k); + (!a || !i) && + !L && + r && + (((F = R.get(r)) != null && F.selected) || P()), + r && + i && + a && + Ms({ + id: r, + store: l, + nodeRef: e, + }); + const T = C(A); + if ( + ((d.current = T), (c.current = vb(R, j, T, r)), N && c.current) + ) { + const [I, D] = Il({ + nodeId: r, + dragItems: c.current, + nodeInternals: R, + }); + N(A.sourceEvent, I, D); + } + }; + if (t) E.on(".drag", null); + else { + const A = Oh() + .on("start", (R) => { + const { domNode: L, nodeDragThreshold: j } = l.getState(); + j === 0 && _(R), (x.current = !1); + const P = C(R); + (d.current = P), + (f.current = + (L == null ? void 0 : L.getBoundingClientRect()) || null), + (m.current = Ln(R.sourceEvent, f.current)); + }) + .on("drag", (R) => { + var V, k; + const L = C(R), + { autoPanOnNodeDrag: j, nodeDragThreshold: P } = l.getState(); + if ( + (R.sourceEvent.type === "touchmove" && + R.sourceEvent.touches.length > 1 && + (x.current = !0), + !x.current) + ) { + if ( + (!y.current && g.current && j && ((y.current = !0), S()), + !g.current) + ) { + const N = + L.xSnapped - + (((V = d == null ? void 0 : d.current) == null + ? void 0 + : V.x) ?? 0), + T = + L.ySnapped - + (((k = d == null ? void 0 : d.current) == null + ? void 0 + : k.y) ?? 0); + Math.sqrt(N * N + T * T) > P && _(R); + } + (d.current.x !== L.xSnapped || d.current.y !== L.ySnapped) && + c.current && + g.current && + ((b.current = R.sourceEvent), + (m.current = Ln(R.sourceEvent, f.current)), + w(L)); + } + }) + .on("end", (R) => { + if ( + !(!g.current || x.current) && + (u(!1), + (y.current = !1), + (g.current = !1), + cancelAnimationFrame(h.current), + c.current) + ) { + const { + updateNodePositions: L, + nodeInternals: j, + onNodeDragStop: P, + onSelectionDragStop: V, + } = l.getState(), + k = r ? P : zl(V); + if ((L(c.current, !1, !1), k)) { + const [N, T] = Il({ + nodeId: r, + dragItems: c.current, + nodeInternals: j, + }); + k(R.sourceEvent, N, T); + } + } + }) + .filter((R) => { + const L = R.target; + return ( + !R.button && (!n || !Tu(L, `.${n}`, e)) && (!o || Tu(L, o, e)) + ); + }); + return ( + E.call(A), + () => { + E.on(".drag", null); + } + ); + } + } + }, [e, t, n, o, i, l, r, a, C]), + s + ); +} +function Q3() { + const e = nt(); + return Me((n) => { + const { + nodeInternals: o, + nodeExtent: r, + updateNodePositions: i, + getNodes: a, + snapToGrid: l, + snapGrid: s, + onError: u, + nodesDraggable: c, + } = e.getState(), + d = a().filter( + (x) => x.selected && (x.draggable || (c && typeof x.draggable > "u")), + ), + h = l ? s[0] : 5, + f = l ? s[1] : 5, + m = n.isShiftPressed ? 4 : 1, + b = n.x * h * m, + y = n.y * f * m, + g = d.map((x) => { + if (x.positionAbsolute) { + const C = { + x: x.positionAbsolute.x + b, + y: x.positionAbsolute.y + y, + }; + l && + ((C.x = s[0] * Math.round(C.x / s[0])), + (C.y = s[1] * Math.round(C.y / s[1]))); + const { positionAbsolute: E, position: w } = K3( + x, + C, + o, + r, + void 0, + u, + ); + (x.position = w), (x.positionAbsolute = E); + } + return x; + }); + i(g, !0, !1); + }, []); +} +const bo = { + ArrowUp: { x: 0, y: -1 }, + ArrowDown: { x: 0, y: 1 }, + ArrowLeft: { x: -1, y: 0 }, + ArrowRight: { x: 1, y: 0 }, +}; +var Uo = (e) => { + const t = ({ + id: n, + type: o, + data: r, + xPos: i, + yPos: a, + xPosOrigin: l, + yPosOrigin: s, + selected: u, + onClick: c, + onMouseEnter: d, + onMouseMove: h, + onMouseLeave: f, + onContextMenu: m, + onDoubleClick: b, + style: y, + className: g, + isDraggable: x, + isSelectable: C, + isConnectable: E, + isFocusable: w, + selectNodesOnDrag: S, + sourcePosition: _, + targetPosition: A, + hidden: R, + resizeObserver: L, + dragHandle: j, + zIndex: P, + isParent: V, + noDragClassName: k, + noPanClassName: N, + initialized: T, + disableKeyboardA11y: F, + ariaLabel: I, + rfId: D, + hasHandleBounds: v, + }) => { + const z = nt(), + B = pe(null), + M = pe(null), + W = pe(_), + G = pe(A), + K = pe(o), + Q = C || x || c || d || h || f, + ne = Q3(), + oe = Zo(n, z.getState, d), + U = Zo(n, z.getState, h), + ge = Zo(n, z.getState, f), + J = Zo(n, z.getState, m), + ke = Zo(n, z.getState, b), + ie = (Ee) => { + const { nodeDragThreshold: le } = z.getState(); + if ( + (C && + (!S || !x || le > 0) && + Ms({ + id: n, + store: z, + nodeRef: B, + }), + c) + ) { + const Ge = z.getState().nodeInternals.get(n); + Ge && c(Ee, { ...Ge }); + } + }, + _e = (Ee) => { + if (!Es(Ee) && !F) + if (w3.includes(Ee.key) && C) { + const le = Ee.key === "Escape"; + Ms({ + id: n, + store: z, + unselect: le, + nodeRef: B, + }); + } else + x && + u && + Object.prototype.hasOwnProperty.call(bo, Ee.key) && + (z.setState({ + ariaLiveMessage: `Moved selected node ${Ee.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~i}, y: ${~~a}`, + }), + ne({ + x: bo[Ee.key].x, + y: bo[Ee.key].y, + isShiftPressed: Ee.shiftKey, + })); + }; + ce( + () => () => { + M.current && (L == null || L.unobserve(M.current), (M.current = null)); + }, + [], + ), + ce(() => { + if (B.current && !R) { + const Ee = B.current; + (!T || !v || M.current !== Ee) && + (M.current && (L == null || L.unobserve(M.current)), + L == null || L.observe(Ee), + (M.current = Ee)); + } + }, [R, T, v]), + ce(() => { + const Ee = K.current !== o, + le = W.current !== _, + Ge = G.current !== A; + B.current && + (Ee || le || Ge) && + (Ee && (K.current = o), + le && (W.current = _), + Ge && (G.current = A), + z + .getState() + .updateNodeDimensions([ + { id: n, nodeElement: B.current, forceUpdate: !0 }, + ])); + }, [n, o, _, A]); + const $e = X3({ + nodeRef: B, + disabled: R || !x, + noDragClassName: k, + handleSelector: j, + nodeId: n, + isSelectable: C, + selectNodesOnDrag: S, + }); + return R + ? null + : $.createElement( + "div", + { + className: bt([ + "react-flow__node", + `react-flow__node-${o}`, + { + // this is overwritable by passing `nopan` as a class name + [N]: x, + }, + g, + { + selected: u, + selectable: C, + parent: V, + dragging: $e, + }, + ]), + ref: B, + style: { + zIndex: P, + transform: `translate(${l}px,${s}px)`, + pointerEvents: Q ? "all" : "none", + visibility: T ? "visible" : "hidden", + ...y, + }, + "data-id": n, + "data-testid": `rf__node-${n}`, + onMouseEnter: oe, + onMouseMove: U, + onMouseLeave: ge, + onContextMenu: J, + onClick: ie, + onDoubleClick: ke, + onKeyDown: w ? _e : void 0, + tabIndex: w ? 0 : void 0, + role: w ? "button" : void 0, + "aria-describedby": F ? void 0 : `${$3}-${D}`, + "aria-label": I, + }, + $.createElement( + Fm, + { value: n }, + $.createElement(e, { + id: n, + data: r, + type: o, + xPos: i, + yPos: a, + selected: u, + isConnectable: E, + sourcePosition: _, + targetPosition: A, + dragging: $e, + dragHandle: j, + zIndex: P, + }), + ), + ); + }; + return (t.displayName = "NodeWrapper"), Ye(t); +}; +const Eb = (e) => { + const t = e.getNodes().filter((n) => n.selected); + return { + ...Nc(t, e.nodeOrigin), + transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, + userSelectionActive: e.userSelectionActive, + }; +}; +function Sb({ + onSelectionContextMenu: e, + noPanClassName: t, + disableKeyboardA11y: n, +}) { + const o = nt(), + { + width: r, + height: i, + x: a, + y: l, + transformString: s, + userSelectionActive: u, + } = Ze(Eb, st), + c = Q3(), + d = pe(null); + if ( + (ce(() => { + var m; + n || + (m = d.current) == null || + m.focus({ + preventScroll: !0, + }); + }, [n]), + X3({ + nodeRef: d, + }), + u || !r || !i) + ) + return null; + const h = e + ? (m) => { + const b = o + .getState() + .getNodes() + .filter((y) => y.selected); + e(m, b); + } + : void 0, + f = (m) => { + Object.prototype.hasOwnProperty.call(bo, m.key) && + c({ + x: bo[m.key].x, + y: bo[m.key].y, + isShiftPressed: m.shiftKey, + }); + }; + return $.createElement( + "div", + { + className: bt(["react-flow__nodesselection", "react-flow__container", t]), + style: { + transform: s, + }, + }, + $.createElement("div", { + ref: d, + className: "react-flow__nodesselection-rect", + onContextMenu: h, + tabIndex: n ? void 0 : -1, + onKeyDown: n ? void 0 : f, + style: { + width: r, + height: i, + top: l, + left: a, + }, + }), + ); +} +var kb = Ye(Sb); +const _b = (e) => e.nodesSelectionActive, + J3 = ({ + children: e, + onPaneClick: t, + onPaneMouseEnter: n, + onPaneMouseMove: o, + onPaneMouseLeave: r, + onPaneContextMenu: i, + onPaneScroll: a, + deleteKeyCode: l, + onMove: s, + onMoveStart: u, + onMoveEnd: c, + selectionKeyCode: d, + selectionOnDrag: h, + selectionMode: f, + onSelectionStart: m, + onSelectionEnd: b, + multiSelectionKeyCode: y, + panActivationKeyCode: g, + zoomActivationKeyCode: x, + elementsSelectable: C, + zoomOnScroll: E, + zoomOnPinch: w, + panOnScroll: S, + panOnScrollSpeed: _, + panOnScrollMode: A, + zoomOnDoubleClick: R, + panOnDrag: L, + defaultViewport: j, + translateExtent: P, + minZoom: V, + maxZoom: k, + preventScrolling: N, + onSelectionContextMenu: T, + noWheelClassName: F, + noPanClassName: I, + disableKeyboardA11y: D, + }) => { + const v = Ze(_b), + z = br(d), + B = br(g), + M = B || L, + W = B || S, + G = z || (h && M !== !0); + return ( + ub({ deleteKeyCode: l, multiSelectionKeyCode: y }), + $.createElement( + hb, + { + onMove: s, + onMoveStart: u, + onMoveEnd: c, + onPaneContextMenu: i, + elementsSelectable: C, + zoomOnScroll: E, + zoomOnPinch: w, + panOnScroll: W, + panOnScrollSpeed: _, + panOnScrollMode: A, + zoomOnDoubleClick: R, + panOnDrag: !z && M, + defaultViewport: j, + translateExtent: P, + minZoom: V, + maxZoom: k, + zoomActivationKeyCode: x, + preventScrolling: N, + noWheelClassName: F, + noPanClassName: I, + }, + $.createElement( + Y3, + { + onSelectionStart: m, + onSelectionEnd: b, + onPaneClick: t, + onPaneMouseEnter: n, + onPaneMouseMove: o, + onPaneMouseLeave: r, + onPaneContextMenu: i, + onPaneScroll: a, + panOnDrag: M, + isSelecting: !!G, + selectionMode: f, + }, + e, + v && + $.createElement(kb, { + onSelectionContextMenu: T, + noPanClassName: I, + disableKeyboardA11y: D, + }), + ), + ) + ); + }; +J3.displayName = "FlowRenderer"; +var Ab = Ye(J3); +function Mb(e) { + return Ze( + Me( + (n) => + e + ? O3( + n.nodeInternals, + { x: 0, y: 0, width: n.width, height: n.height }, + n.transform, + !0, + ) + : n.getNodes(), + [e], + ), + ); +} +function Tb(e) { + const t = { + input: Uo(e.input || H3), + default: Uo(e.default || As), + output: Uo(e.output || B3), + group: Uo(e.group || Lc), + }, + n = {}, + o = Object.keys(e) + .filter((r) => !["input", "default", "output", "group"].includes(r)) + .reduce((r, i) => ((r[i] = Uo(e[i] || As)), r), n); + return { + ...t, + ...o, + }; +} +const Ob = ({ x: e, y: t, width: n, height: o, origin: r }) => + !n || !o + ? { x: e, y: t } + : r[0] < 0 || r[1] < 0 || r[0] > 1 || r[1] > 1 + ? { x: e, y: t } + : { + x: e - n * r[0], + y: t - o * r[1], + }, + Nb = (e) => ({ + nodesDraggable: e.nodesDraggable, + nodesConnectable: e.nodesConnectable, + nodesFocusable: e.nodesFocusable, + elementsSelectable: e.elementsSelectable, + updateNodeDimensions: e.updateNodeDimensions, + onError: e.onError, + }), + ef = (e) => { + const { + nodesDraggable: t, + nodesConnectable: n, + nodesFocusable: o, + elementsSelectable: r, + updateNodeDimensions: i, + onError: a, + } = Ze(Nb, st), + l = Mb(e.onlyRenderVisibleElements), + s = pe(), + u = Be(() => { + if (typeof ResizeObserver > "u") return null; + const c = new ResizeObserver((d) => { + const h = d.map((f) => ({ + id: f.target.getAttribute("data-id"), + nodeElement: f.target, + forceUpdate: !0, + })); + i(h); + }); + return (s.current = c), c; + }, []); + return ( + ce( + () => () => { + var c; + (c = s == null ? void 0 : s.current) == null || c.disconnect(); + }, + [], + ), + $.createElement( + "div", + { className: "react-flow__nodes", style: Fc }, + l.map((c) => { + var w, S, _; + let d = c.type || "default"; + e.nodeTypes[d] || + (a == null || a("003", Kt.error003(d)), (d = "default")); + const h = e.nodeTypes[d] || e.nodeTypes.default, + f = !!(c.draggable || (t && typeof c.draggable > "u")), + m = !!(c.selectable || (r && typeof c.selectable > "u")), + b = !!(c.connectable || (n && typeof c.connectable > "u")), + y = !!(c.focusable || (o && typeof c.focusable > "u")), + g = e.nodeExtent + ? kc(c.positionAbsolute, e.nodeExtent) + : c.positionAbsolute, + x = (g == null ? void 0 : g.x) ?? 0, + C = (g == null ? void 0 : g.y) ?? 0, + E = Ob({ + x, + y: C, + width: c.width ?? 0, + height: c.height ?? 0, + origin: e.nodeOrigin, + }); + return $.createElement(h, { + key: c.id, + id: c.id, + className: c.className, + style: c.style, + type: d, + data: c.data, + sourcePosition: c.sourcePosition || ae.Bottom, + targetPosition: c.targetPosition || ae.Top, + hidden: c.hidden, + xPos: x, + yPos: C, + xPosOrigin: E.x, + yPosOrigin: E.y, + selectNodesOnDrag: e.selectNodesOnDrag, + onClick: e.onNodeClick, + onMouseEnter: e.onNodeMouseEnter, + onMouseMove: e.onNodeMouseMove, + onMouseLeave: e.onNodeMouseLeave, + onContextMenu: e.onNodeContextMenu, + onDoubleClick: e.onNodeDoubleClick, + selected: !!c.selected, + isDraggable: f, + isSelectable: m, + isConnectable: b, + isFocusable: y, + resizeObserver: u, + dragHandle: c.dragHandle, + zIndex: ((w = c[qe]) == null ? void 0 : w.z) ?? 0, + isParent: !!((S = c[qe]) != null && S.isParent), + noDragClassName: e.noDragClassName, + noPanClassName: e.noPanClassName, + initialized: !!c.width && !!c.height, + rfId: e.rfId, + disableKeyboardA11y: e.disableKeyboardA11y, + ariaLabel: c.ariaLabel, + hasHandleBounds: !!((_ = c[qe]) != null && _.handleBounds), + }); + }), + ) + ); + }; +ef.displayName = "NodeRenderer"; +var Db = Ye(ef); +const Lb = (e, t, n) => (n === ae.Left ? e - t : n === ae.Right ? e + t : e), + Fb = (e, t, n) => (n === ae.Top ? e - t : n === ae.Bottom ? e + t : e), + Nu = "react-flow__edgeupdater", + Du = ({ + position: e, + centerX: t, + centerY: n, + radius: o = 10, + onMouseDown: r, + onMouseEnter: i, + onMouseOut: a, + type: l, + }) => + $.createElement("circle", { + onMouseDown: r, + onMouseEnter: i, + onMouseOut: a, + className: bt([Nu, `${Nu}-${l}`]), + cx: Lb(t, o, e), + cy: Fb(n, o, e), + r: o, + stroke: "transparent", + fill: "transparent", + }), + Rb = () => !0; +var so = (e) => { + const t = ({ + id: n, + className: o, + type: r, + data: i, + onClick: a, + onEdgeDoubleClick: l, + selected: s, + animated: u, + label: c, + labelStyle: d, + labelShowBg: h, + labelBgStyle: f, + labelBgPadding: m, + labelBgBorderRadius: b, + style: y, + source: g, + target: x, + sourceX: C, + sourceY: E, + targetX: w, + targetY: S, + sourcePosition: _, + targetPosition: A, + elementsSelectable: R, + hidden: L, + sourceHandleId: j, + targetHandleId: P, + onContextMenu: V, + onMouseEnter: k, + onMouseMove: N, + onMouseLeave: T, + reconnectRadius: F, + onReconnect: I, + onReconnectStart: D, + onReconnectEnd: v, + markerEnd: z, + markerStart: B, + rfId: M, + ariaLabel: W, + isFocusable: G, + isReconnectable: K, + pathOptions: Q, + interactionWidth: ne, + disableKeyboardA11y: oe, + }) => { + const U = pe(null), + [ge, J] = ue(!1), + [ke, ie] = ue(!1), + _e = nt(), + $e = Be(() => `url('#${ks(B, M)}')`, [B, M]), + Ee = Be(() => `url('#${ks(z, M)}')`, [z, M]); + if (L) return null; + const le = (de) => { + var Se; + const { + edges: Ve, + addSelectedEdges: et, + unselectNodesAndEdges: Qe, + multiSelectionActive: ft, + } = _e.getState(), + rt = Ve.find(($t) => $t.id === n); + rt && + (R && + (_e.setState({ nodesSelectionActive: !1 }), + rt.selected && ft + ? (Qe({ nodes: [], edges: [rt] }), + (Se = U.current) == null || Se.blur()) + : et([n])), + a && a(de, rt)); + }, + Ge = Wo(n, _e.getState, l), + Ot = Wo(n, _e.getState, V), + Jt = Wo(n, _e.getState, k), + Nt = Wo(n, _e.getState, N), + en = Wo(n, _e.getState, T), + St = (de, Ve) => { + if (de.button !== 0) return; + const { edges: et, isValidConnection: Qe } = _e.getState(), + ft = Ve ? x : g, + rt = (Ve ? P : j) || null, + Se = Ve ? "target" : "source", + $t = Qe || Rb, + it = Ve, + En = et.find((Wt) => Wt.id === n); + ie(!0), D == null || D(de, En, Se); + const tn = (Wt) => { + ie(!1), v == null || v(Wt, En, Se); + }; + R3({ + event: de, + handleId: rt, + nodeId: ft, + onConnect: (Wt) => (I == null ? void 0 : I(En, Wt)), + isTarget: it, + getState: _e.getState, + setState: _e.setState, + isValidConnection: $t, + edgeUpdaterType: Se, + onReconnectEnd: tn, + }); + }, + Vt = (de) => St(de, !0), + Dt = (de) => St(de, !1), + Z = () => J(!0), + ee = () => J(!1), + se = !R && !a, + xe = (de) => { + var Ve; + if (!oe && w3.includes(de.key) && R) { + const { + unselectNodesAndEdges: et, + addSelectedEdges: Qe, + edges: ft, + } = _e.getState(); + de.key === "Escape" + ? ((Ve = U.current) == null || Ve.blur(), + et({ edges: [ft.find((Se) => Se.id === n)] })) + : Qe([n]); + } + }; + return $.createElement( + "g", + { + className: bt([ + "react-flow__edge", + `react-flow__edge-${r}`, + o, + { selected: s, animated: u, inactive: se, updating: ge }, + ]), + onClick: le, + onDoubleClick: Ge, + onContextMenu: Ot, + onMouseEnter: Jt, + onMouseMove: Nt, + onMouseLeave: en, + onKeyDown: G ? xe : void 0, + tabIndex: G ? 0 : void 0, + role: G ? "button" : "img", + "data-testid": `rf__edge-${n}`, + "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, + "aria-describedby": G ? `${W3}-${M}` : void 0, + ref: U, + }, + !ke && + $.createElement(e, { + id: n, + source: g, + target: x, + selected: s, + animated: u, + label: c, + labelStyle: d, + labelShowBg: h, + labelBgStyle: f, + labelBgPadding: m, + labelBgBorderRadius: b, + data: i, + style: y, + sourceX: C, + sourceY: E, + targetX: w, + targetY: S, + sourcePosition: _, + targetPosition: A, + sourceHandleId: j, + targetHandleId: P, + markerStart: $e, + markerEnd: Ee, + pathOptions: Q, + interactionWidth: ne, + }), + K && + $.createElement( + $.Fragment, + null, + (K === "source" || K === !0) && + $.createElement(Du, { + position: _, + centerX: C, + centerY: E, + radius: F, + onMouseDown: Vt, + onMouseEnter: Z, + onMouseOut: ee, + type: "source", + }), + (K === "target" || K === !0) && + $.createElement(Du, { + position: A, + centerX: w, + centerY: S, + radius: F, + onMouseDown: Dt, + onMouseEnter: Z, + onMouseOut: ee, + type: "target", + }), + ), + ); + }; + return (t.displayName = "EdgeWrapper"), Ye(t); +}; +function jb(e) { + const t = { + default: so(e.default || Ri), + straight: so(e.bezier || Tc), + step: so(e.step || Mc), + smoothstep: so(e.step || ra), + simplebezier: so(e.simplebezier || Ac), + }, + n = {}, + o = Object.keys(e) + .filter((r) => !["default", "bezier"].includes(r)) + .reduce((r, i) => ((r[i] = so(e[i] || Ri)), r), n); + return { + ...t, + ...o, + }; +} +function Lu(e, t, n = null) { + const o = ((n == null ? void 0 : n.x) || 0) + t.x, + r = ((n == null ? void 0 : n.y) || 0) + t.y, + i = (n == null ? void 0 : n.width) || t.width, + a = (n == null ? void 0 : n.height) || t.height; + switch (e) { + case ae.Top: + return { + x: o + i / 2, + y: r, + }; + case ae.Right: + return { + x: o + i, + y: r + a / 2, + }; + case ae.Bottom: + return { + x: o + i / 2, + y: r + a, + }; + case ae.Left: + return { + x: o, + y: r + a / 2, + }; + } +} +function Fu(e, t) { + return e + ? e.length === 1 || !t + ? e[0] + : (t && e.find((n) => n.id === t)) || null + : null; +} +const Ib = (e, t, n, o, r, i) => { + const a = Lu(n, e, t), + l = Lu(i, o, r); + return { + sourceX: a.x, + sourceY: a.y, + targetX: l.x, + targetY: l.y, + }; +}; +function zb({ + sourcePos: e, + targetPos: t, + sourceWidth: n, + sourceHeight: o, + targetWidth: r, + targetHeight: i, + width: a, + height: l, + transform: s, +}) { + const u = { + x: Math.min(e.x, t.x), + y: Math.min(e.y, t.y), + x2: Math.max(e.x + n, t.x + r), + y2: Math.max(e.y + o, t.y + i), + }; + u.x === u.x2 && (u.x2 += 1), u.y === u.y2 && (u.y2 += 1); + const c = _c({ + x: (0 - s[0]) / s[2], + y: (0 - s[1]) / s[2], + width: a / s[2], + height: l / s[2], + }), + d = Math.max(0, Math.min(c.x2, u.x2) - Math.max(c.x, u.x)), + h = Math.max(0, Math.min(c.y2, u.y2) - Math.max(c.y, u.y)); + return Math.ceil(d * h) > 0; +} +function Ru(e) { + var o, r, i, a, l; + const t = + ((o = e == null ? void 0 : e[qe]) == null ? void 0 : o.handleBounds) || + null, + n = + t && + (e == null ? void 0 : e.width) && + (e == null ? void 0 : e.height) && + typeof ((r = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : r.x) < "u" && + typeof ((i = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : i.y) < "u"; + return [ + { + x: + ((a = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : a.x) || 0, + y: + ((l = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : l.y) || 0, + width: (e == null ? void 0 : e.width) || 0, + height: (e == null ? void 0 : e.height) || 0, + }, + t, + !!n, + ]; +} +const Hb = [{ level: 0, isMaxLevel: !0, edges: [] }]; +function Pb(e, t, n = !1) { + let o = -1; + const r = e.reduce((a, l) => { + var c, d; + const s = jt(l.zIndex); + let u = s ? l.zIndex : 0; + if (n) { + const h = t.get(l.target), + f = t.get(l.source), + m = + l.selected || + (h == null ? void 0 : h.selected) || + (f == null ? void 0 : f.selected), + b = Math.max( + ((c = f == null ? void 0 : f[qe]) == null ? void 0 : c.z) || 0, + ((d = h == null ? void 0 : h[qe]) == null ? void 0 : d.z) || 0, + 1e3, + ); + u = (s ? l.zIndex : 0) + (m ? b : 0); + } + return a[u] ? a[u].push(l) : (a[u] = [l]), (o = u > o ? u : o), a; + }, {}), + i = Object.entries(r).map(([a, l]) => { + const s = +a; + return { + edges: l, + level: s, + isMaxLevel: s === o, + }; + }); + return i.length === 0 ? Hb : i; +} +function Bb(e, t, n) { + const o = Ze( + Me( + (r) => + e + ? r.edges.filter((i) => { + const a = t.get(i.source), + l = t.get(i.target); + return ( + (a == null ? void 0 : a.width) && + (a == null ? void 0 : a.height) && + (l == null ? void 0 : l.width) && + (l == null ? void 0 : l.height) && + zb({ + sourcePos: a.positionAbsolute || { x: 0, y: 0 }, + targetPos: l.positionAbsolute || { x: 0, y: 0 }, + sourceWidth: a.width, + sourceHeight: a.height, + targetWidth: l.width, + targetHeight: l.height, + width: r.width, + height: r.height, + transform: r.transform, + }) + ); + }) + : r.edges, + [e, t], + ), + ); + return Pb(o, t, n); +} +const Vb = ({ color: e = "none", strokeWidth: t = 1 }) => + $.createElement("polyline", { + style: { + stroke: e, + strokeWidth: t, + }, + strokeLinecap: "round", + strokeLinejoin: "round", + fill: "none", + points: "-5,-4 0,0 -5,4", + }), + $b = ({ color: e = "none", strokeWidth: t = 1 }) => + $.createElement("polyline", { + style: { + stroke: e, + fill: e, + strokeWidth: t, + }, + strokeLinecap: "round", + strokeLinejoin: "round", + points: "-5,-4 0,0 -5,4 -5,-4", + }), + ju = { + [Fi.Arrow]: Vb, + [Fi.ArrowClosed]: $b, + }; +function Wb(e) { + const t = nt(); + return Be(() => { + var r, i; + return Object.prototype.hasOwnProperty.call(ju, e) + ? ju[e] + : ((i = (r = t.getState()).onError) == null || + i.call(r, "009", Kt.error009(e)), + null); + }, [e]); +} +const Zb = ({ + id: e, + type: t, + color: n, + width: o = 12.5, + height: r = 12.5, + markerUnits: i = "strokeWidth", + strokeWidth: a, + orient: l = "auto-start-reverse", + }) => { + const s = Wb(t); + return s + ? $.createElement( + "marker", + { + className: "react-flow__arrowhead", + id: e, + markerWidth: `${o}`, + markerHeight: `${r}`, + viewBox: "-10 -10 20 20", + markerUnits: i, + orient: l, + refX: "0", + refY: "0", + }, + $.createElement(s, { color: n, strokeWidth: a }), + ) + : null; + }, + Ub = + ({ defaultColor: e, rfId: t }) => + (n) => { + const o = []; + return n.edges + .reduce( + (r, i) => ( + [i.markerStart, i.markerEnd].forEach((a) => { + if (a && typeof a == "object") { + const l = ks(a, t); + o.includes(l) || + (r.push({ id: l, color: a.color || e, ...a }), o.push(l)); + } + }), + r + ), + [], + ) + .sort((r, i) => r.id.localeCompare(i.id)); + }, + tf = ({ defaultColor: e, rfId: t }) => { + const n = Ze( + Me(Ub({ defaultColor: e, rfId: t }), [e, t]), + // the id includes all marker options, so we just need to look at that part of the marker + (o, r) => !(o.length !== r.length || o.some((i, a) => i.id !== r[a].id)), + ); + return $.createElement( + "defs", + null, + n.map((o) => + $.createElement(Zb, { + id: o.id, + key: o.id, + type: o.type, + color: o.color, + width: o.width, + height: o.height, + markerUnits: o.markerUnits, + strokeWidth: o.strokeWidth, + orient: o.orient, + }), + ), + ); + }; +tf.displayName = "MarkerDefinitions"; +var qb = Ye(tf); +const Yb = (e) => ({ + nodesConnectable: e.nodesConnectable, + edgesFocusable: e.edgesFocusable, + edgesUpdatable: e.edgesUpdatable, + elementsSelectable: e.elementsSelectable, + width: e.width, + height: e.height, + connectionMode: e.connectionMode, + nodeInternals: e.nodeInternals, + onError: e.onError, + }), + nf = ({ + defaultMarkerColor: e, + onlyRenderVisibleElements: t, + elevateEdgesOnSelect: n, + rfId: o, + edgeTypes: r, + noPanClassName: i, + onEdgeContextMenu: a, + onEdgeMouseEnter: l, + onEdgeMouseMove: s, + onEdgeMouseLeave: u, + onEdgeClick: c, + onEdgeDoubleClick: d, + onReconnect: h, + onReconnectStart: f, + onReconnectEnd: m, + reconnectRadius: b, + children: y, + disableKeyboardA11y: g, + }) => { + const { + edgesFocusable: x, + edgesUpdatable: C, + elementsSelectable: E, + width: w, + height: S, + connectionMode: _, + nodeInternals: A, + onError: R, + } = Ze(Yb, st), + L = Bb(t, A, n); + return w + ? $.createElement( + $.Fragment, + null, + L.map(({ level: j, edges: P, isMaxLevel: V }) => + $.createElement( + "svg", + { + key: j, + style: { zIndex: j }, + width: w, + height: S, + className: "react-flow__edges react-flow__container", + }, + V && $.createElement(qb, { defaultColor: e, rfId: o }), + $.createElement( + "g", + null, + P.map((k) => { + const [N, T, F] = Ru(A.get(k.source)), + [I, D, v] = Ru(A.get(k.target)); + if (!F || !v) return null; + let z = k.type || "default"; + r[z] || + (R == null || R("011", Kt.error011(z)), (z = "default")); + const B = r[z] || r.default, + M = + _ === Jn.Strict + ? D.target + : (D.target ?? []).concat(D.source ?? []), + W = Fu(T.source, k.sourceHandle), + G = Fu(M, k.targetHandle), + K = (W == null ? void 0 : W.position) || ae.Bottom, + Q = (G == null ? void 0 : G.position) || ae.Top, + ne = !!(k.focusable || (x && typeof k.focusable > "u")), + oe = k.reconnectable || k.updatable, + U = typeof h < "u" && (oe || (C && typeof oe > "u")); + if (!W || !G) + return R == null || R("008", Kt.error008(W, k)), null; + const { + sourceX: ge, + sourceY: J, + targetX: ke, + targetY: ie, + } = Ib(N, W, K, I, G, Q); + return $.createElement(B, { + key: k.id, + id: k.id, + className: bt([k.className, i]), + type: z, + data: k.data, + selected: !!k.selected, + animated: !!k.animated, + hidden: !!k.hidden, + label: k.label, + labelStyle: k.labelStyle, + labelShowBg: k.labelShowBg, + labelBgStyle: k.labelBgStyle, + labelBgPadding: k.labelBgPadding, + labelBgBorderRadius: k.labelBgBorderRadius, + style: k.style, + source: k.source, + target: k.target, + sourceHandleId: k.sourceHandle, + targetHandleId: k.targetHandle, + markerEnd: k.markerEnd, + markerStart: k.markerStart, + sourceX: ge, + sourceY: J, + targetX: ke, + targetY: ie, + sourcePosition: K, + targetPosition: Q, + elementsSelectable: E, + onContextMenu: a, + onMouseEnter: l, + onMouseMove: s, + onMouseLeave: u, + onClick: c, + onEdgeDoubleClick: d, + onReconnect: h, + onReconnectStart: f, + onReconnectEnd: m, + reconnectRadius: b, + rfId: o, + ariaLabel: k.ariaLabel, + isFocusable: ne, + isReconnectable: U, + pathOptions: "pathOptions" in k ? k.pathOptions : void 0, + interactionWidth: k.interactionWidth, + disableKeyboardA11y: g, + }); + }), + ), + ), + ), + y, + ) + : null; + }; +nf.displayName = "EdgeRenderer"; +var Gb = Ye(nf); +const Kb = (e) => + `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; +function Xb({ children: e }) { + const t = Ze(Kb); + return $.createElement( + "div", + { + className: "react-flow__viewport react-flow__container", + style: { transform: t }, + }, + e, + ); +} +function Qb(e) { + const t = Qt(), + n = pe(!1); + ce(() => { + !n.current && + t.viewportInitialized && + e && + (setTimeout(() => e(t), 1), (n.current = !0)); + }, [e, t.viewportInitialized]); +} +const Jb = { + [ae.Left]: ae.Right, + [ae.Right]: ae.Left, + [ae.Top]: ae.Bottom, + [ae.Bottom]: ae.Top, + }, + of = ({ + nodeId: e, + handleType: t, + style: n, + type: o = Nn.Bezier, + CustomComponent: r, + connectionStatus: i, + }) => { + var S, _, A; + const { + fromNode: a, + handleId: l, + toX: s, + toY: u, + connectionMode: c, + } = Ze( + Me( + (R) => ({ + fromNode: R.nodeInternals.get(e), + handleId: R.connectionHandleId, + toX: (R.connectionPosition.x - R.transform[0]) / R.transform[2], + toY: (R.connectionPosition.y - R.transform[1]) / R.transform[2], + connectionMode: R.connectionMode, + }), + [e], + ), + st, + ), + d = (S = a == null ? void 0 : a[qe]) == null ? void 0 : S.handleBounds; + let h = d == null ? void 0 : d[t]; + if ( + (c === Jn.Loose && + (h = + h || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), + !a || !h) + ) + return null; + const f = l ? h.find((R) => R.id === l) : h[0], + m = f ? f.x + f.width / 2 : (a.width ?? 0) / 2, + b = f ? f.y + f.height / 2 : (a.height ?? 0), + y = (((_ = a.positionAbsolute) == null ? void 0 : _.x) ?? 0) + m, + g = (((A = a.positionAbsolute) == null ? void 0 : A.y) ?? 0) + b, + x = f == null ? void 0 : f.position, + C = x ? Jb[x] : null; + if (!x || !C) return null; + if (r) + return $.createElement(r, { + connectionLineType: o, + connectionLineStyle: n, + fromNode: a, + fromHandle: f, + fromX: y, + fromY: g, + toX: s, + toY: u, + fromPosition: x, + toPosition: C, + connectionStatus: i, + }); + let E = ""; + const w = { + sourceX: y, + sourceY: g, + sourcePosition: x, + targetX: s, + targetY: u, + targetPosition: C, + }; + return ( + o === Nn.Bezier + ? ([E] = M3(w)) + : o === Nn.Step + ? ([E] = Ss({ + ...w, + borderRadius: 0, + })) + : o === Nn.SmoothStep + ? ([E] = Ss(w)) + : o === Nn.SimpleBezier + ? ([E] = A3(w)) + : (E = `M${y},${g} ${s},${u}`), + $.createElement("path", { + d: E, + fill: "none", + className: "react-flow__connection-path", + style: n, + }) + ); + }; +of.displayName = "ConnectionLine"; +const ey = (e) => ({ + nodeId: e.connectionNodeId, + handleType: e.connectionHandleType, + nodesConnectable: e.nodesConnectable, + connectionStatus: e.connectionStatus, + width: e.width, + height: e.height, +}); +function ty({ containerStyle: e, style: t, type: n, component: o }) { + const { + nodeId: r, + handleType: i, + nodesConnectable: a, + width: l, + height: s, + connectionStatus: u, + } = Ze(ey, st); + return !(r && i && l && a) + ? null + : $.createElement( + "svg", + { + style: e, + width: l, + height: s, + className: + "react-flow__edges react-flow__connectionline react-flow__container", + }, + $.createElement( + "g", + { className: bt(["react-flow__connection", u]) }, + $.createElement(of, { + nodeId: r, + handleType: i, + style: t, + type: n, + CustomComponent: o, + connectionStatus: u, + }), + ), + ); +} +function Iu(e, t) { + const n = pe(null), + o = nt(); + return Be(() => { + var i, a; + if (process.env.NODE_ENV === "development") { + const l = Object.keys(e); + st(n.current, l) && + ((a = (i = o.getState()).onError) == null || + a.call(i, "002", Kt.error002())), + (n.current = l); + } + return t(e); + }, [e]); +} +const rf = ({ + nodeTypes: e, + edgeTypes: t, + onMove: n, + onMoveStart: o, + onMoveEnd: r, + onInit: i, + onNodeClick: a, + onEdgeClick: l, + onNodeDoubleClick: s, + onEdgeDoubleClick: u, + onNodeMouseEnter: c, + onNodeMouseMove: d, + onNodeMouseLeave: h, + onNodeContextMenu: f, + onSelectionContextMenu: m, + onSelectionStart: b, + onSelectionEnd: y, + connectionLineType: g, + connectionLineStyle: x, + connectionLineComponent: C, + connectionLineContainerStyle: E, + selectionKeyCode: w, + selectionOnDrag: S, + selectionMode: _, + multiSelectionKeyCode: A, + panActivationKeyCode: R, + zoomActivationKeyCode: L, + deleteKeyCode: j, + onlyRenderVisibleElements: P, + elementsSelectable: V, + selectNodesOnDrag: k, + defaultViewport: N, + translateExtent: T, + minZoom: F, + maxZoom: I, + preventScrolling: D, + defaultMarkerColor: v, + zoomOnScroll: z, + zoomOnPinch: B, + panOnScroll: M, + panOnScrollSpeed: W, + panOnScrollMode: G, + zoomOnDoubleClick: K, + panOnDrag: Q, + onPaneClick: ne, + onPaneMouseEnter: oe, + onPaneMouseMove: U, + onPaneMouseLeave: ge, + onPaneScroll: J, + onPaneContextMenu: ke, + onEdgeContextMenu: ie, + onEdgeMouseEnter: _e, + onEdgeMouseMove: $e, + onEdgeMouseLeave: Ee, + onReconnect: le, + onReconnectStart: Ge, + onReconnectEnd: Ot, + reconnectRadius: Jt, + noDragClassName: Nt, + noWheelClassName: en, + noPanClassName: St, + elevateEdgesOnSelect: Vt, + disableKeyboardA11y: Dt, + nodeOrigin: Z, + nodeExtent: ee, + rfId: se, +}) => { + const xe = Iu(e, Tb), + de = Iu(t, jb); + return ( + Qb(i), + $.createElement( + Ab, + { + onPaneClick: ne, + onPaneMouseEnter: oe, + onPaneMouseMove: U, + onPaneMouseLeave: ge, + onPaneContextMenu: ke, + onPaneScroll: J, + deleteKeyCode: j, + selectionKeyCode: w, + selectionOnDrag: S, + selectionMode: _, + onSelectionStart: b, + onSelectionEnd: y, + multiSelectionKeyCode: A, + panActivationKeyCode: R, + zoomActivationKeyCode: L, + elementsSelectable: V, + onMove: n, + onMoveStart: o, + onMoveEnd: r, + zoomOnScroll: z, + zoomOnPinch: B, + zoomOnDoubleClick: K, + panOnScroll: M, + panOnScrollSpeed: W, + panOnScrollMode: G, + panOnDrag: Q, + defaultViewport: N, + translateExtent: T, + minZoom: F, + maxZoom: I, + onSelectionContextMenu: m, + preventScrolling: D, + noDragClassName: Nt, + noWheelClassName: en, + noPanClassName: St, + disableKeyboardA11y: Dt, + }, + $.createElement( + Xb, + null, + $.createElement( + Gb, + { + edgeTypes: de, + onEdgeClick: l, + onEdgeDoubleClick: u, + onlyRenderVisibleElements: P, + onEdgeContextMenu: ie, + onEdgeMouseEnter: _e, + onEdgeMouseMove: $e, + onEdgeMouseLeave: Ee, + onReconnect: le, + onReconnectStart: Ge, + onReconnectEnd: Ot, + reconnectRadius: Jt, + defaultMarkerColor: v, + noPanClassName: St, + elevateEdgesOnSelect: !!Vt, + disableKeyboardA11y: Dt, + rfId: se, + }, + $.createElement(ty, { + style: x, + type: g, + component: C, + containerStyle: E, + }), + ), + $.createElement("div", { className: "react-flow__edgelabel-renderer" }), + $.createElement(Db, { + nodeTypes: xe, + onNodeClick: a, + onNodeDoubleClick: s, + onNodeMouseEnter: c, + onNodeMouseMove: d, + onNodeMouseLeave: h, + onNodeContextMenu: f, + selectNodesOnDrag: k, + onlyRenderVisibleElements: P, + noPanClassName: St, + noDragClassName: Nt, + disableKeyboardA11y: Dt, + nodeOrigin: Z, + nodeExtent: ee, + rfId: se, + }), + ), + ) + ); +}; +rf.displayName = "GraphView"; +var ny = Ye(rf); +const Ts = [ + [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], + [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY], + ], + kn = { + rfId: "1", + width: 0, + height: 0, + transform: [0, 0, 1], + nodeInternals: /* @__PURE__ */ new Map(), + edges: [], + onNodesChange: null, + onEdgesChange: null, + hasDefaultNodes: !1, + hasDefaultEdges: !1, + d3Zoom: null, + d3Selection: null, + d3ZoomHandler: void 0, + minZoom: 0.5, + maxZoom: 2, + translateExtent: Ts, + nodeExtent: Ts, + nodesSelectionActive: !1, + userSelectionActive: !1, + userSelectionRect: null, + connectionNodeId: null, + connectionHandleId: null, + connectionHandleType: "source", + connectionPosition: { x: 0, y: 0 }, + connectionStatus: null, + connectionMode: Jn.Strict, + domNode: null, + paneDragging: !1, + noPanClassName: "nopan", + nodeOrigin: [0, 0], + nodeDragThreshold: 0, + snapGrid: [15, 15], + snapToGrid: !1, + nodesDraggable: !0, + nodesConnectable: !0, + nodesFocusable: !0, + edgesFocusable: !0, + edgesUpdatable: !0, + elementsSelectable: !0, + elevateNodesOnSelect: !0, + fitViewOnInit: !1, + fitViewOnInitDone: !1, + fitViewOnInitOptions: void 0, + onSelectionChange: [], + multiSelectionActive: !1, + connectionStartHandle: null, + connectionEndHandle: null, + connectionClickStartHandle: null, + connectOnClick: !0, + ariaLiveMessage: "", + autoPanOnConnect: !0, + autoPanOnNodeDrag: !0, + connectionRadius: 20, + onError: E3, + isValidConnection: void 0, + }, + oy = () => + V9( + (e, t) => ({ + ...kn, + setNodes: (n) => { + const { + nodeInternals: o, + nodeOrigin: r, + elevateNodesOnSelect: i, + } = t(); + e({ nodeInternals: Rl(n, o, r, i) }); + }, + getNodes: () => Array.from(t().nodeInternals.values()), + setEdges: (n) => { + const { defaultEdgeOptions: o = {} } = t(); + e({ edges: n.map((r) => ({ ...o, ...r })) }); + }, + setDefaultNodesAndEdges: (n, o) => { + const r = typeof n < "u", + i = typeof o < "u", + a = r + ? Rl( + n, + /* @__PURE__ */ new Map(), + t().nodeOrigin, + t().elevateNodesOnSelect, + ) + : /* @__PURE__ */ new Map(); + e({ + nodeInternals: a, + edges: i ? o : [], + hasDefaultNodes: r, + hasDefaultEdges: i, + }); + }, + updateNodeDimensions: (n) => { + const { + onNodesChange: o, + nodeInternals: r, + fitViewOnInit: i, + fitViewOnInitDone: a, + fitViewOnInitOptions: l, + domNode: s, + nodeOrigin: u, + } = t(), + c = s == null ? void 0 : s.querySelector(".react-flow__viewport"); + if (!c) return; + const d = window.getComputedStyle(c), + { m22: h } = new window.DOMMatrixReadOnly(d.transform), + f = n.reduce((b, y) => { + const g = r.get(y.id); + if (g != null && g.hidden) + r.set(g.id, { + ...g, + [qe]: { + ...g[qe], + // we need to reset the handle bounds when the node is hidden + // in order to force a new observation when the node is shown again + handleBounds: void 0, + }, + }); + else if (g) { + const x = Sc(y.nodeElement); + !!( + x.width && + x.height && + (g.width !== x.width || + g.height !== x.height || + y.forceUpdate) + ) && + (r.set(g.id, { + ...g, + [qe]: { + ...g[qe], + handleBounds: { + source: Ou(".source", y.nodeElement, h, u), + target: Ou(".target", y.nodeElement, h, u), + }, + }, + ...x, + }), + b.push({ + id: g.id, + type: "dimensions", + dimensions: x, + })); + } + return b; + }, []); + U3(r, u); + const m = a || (i && !a && q3(t, { initial: !0, ...l })); + e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), + (f == null ? void 0 : f.length) > 0 && (o == null || o(f)); + }, + updateNodePositions: (n, o = !0, r = !1) => { + const { triggerNodeChanges: i } = t(), + a = n.map((l) => { + const s = { + id: l.id, + type: "position", + dragging: r, + }; + return ( + o && + ((s.positionAbsolute = l.positionAbsolute), + (s.position = l.position)), + s + ); + }); + i(a); + }, + triggerNodeChanges: (n) => { + const { + onNodesChange: o, + nodeInternals: r, + hasDefaultNodes: i, + nodeOrigin: a, + getNodes: l, + elevateNodesOnSelect: s, + } = t(); + if (n != null && n.length) { + if (i) { + const u = yb(n, l()), + c = Rl(u, r, a, s); + e({ nodeInternals: c }); + } + o == null || o(n); + } + }, + addSelectedNodes: (n) => { + const { multiSelectionActive: o, edges: r, getNodes: i } = t(); + let a, + l = null; + o + ? (a = n.map((s) => On(s, !0))) + : ((a = co(i(), n)), (l = co(r, []))), + Jr({ + changedNodes: a, + changedEdges: l, + get: t, + set: e, + }); + }, + addSelectedEdges: (n) => { + const { multiSelectionActive: o, edges: r, getNodes: i } = t(); + let a, + l = null; + o + ? (a = n.map((s) => On(s, !0))) + : ((a = co(r, n)), (l = co(i(), []))), + Jr({ + changedNodes: l, + changedEdges: a, + get: t, + set: e, + }); + }, + unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { + const { edges: r, getNodes: i } = t(), + a = n || i(), + l = o || r, + s = a.map((c) => ((c.selected = !1), On(c.id, !1))), + u = l.map((c) => On(c.id, !1)); + Jr({ + changedNodes: s, + changedEdges: u, + get: t, + set: e, + }); + }, + setMinZoom: (n) => { + const { d3Zoom: o, maxZoom: r } = t(); + o == null || o.scaleExtent([n, r]), e({ minZoom: n }); + }, + setMaxZoom: (n) => { + const { d3Zoom: o, minZoom: r } = t(); + o == null || o.scaleExtent([r, n]), e({ maxZoom: n }); + }, + setTranslateExtent: (n) => { + var o; + (o = t().d3Zoom) == null || o.translateExtent(n), + e({ translateExtent: n }); + }, + resetSelectedElements: () => { + const { edges: n, getNodes: o } = t(), + i = o() + .filter((l) => l.selected) + .map((l) => On(l.id, !1)), + a = n.filter((l) => l.selected).map((l) => On(l.id, !1)); + Jr({ + changedNodes: i, + changedEdges: a, + get: t, + set: e, + }); + }, + setNodeExtent: (n) => { + const { nodeInternals: o } = t(); + o.forEach((r) => { + r.positionAbsolute = kc(r.position, n); + }), + e({ + nodeExtent: n, + nodeInternals: new Map(o), + }); + }, + panBy: (n) => { + const { + transform: o, + width: r, + height: i, + d3Zoom: a, + d3Selection: l, + translateExtent: s, + } = t(); + if (!a || !l || (!n.x && !n.y)) return !1; + const u = Dn.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), + c = [ + [0, 0], + [r, i], + ], + d = a == null ? void 0 : a.constrain()(u, c, s); + return ( + a.transform(l, d), o[0] !== d.x || o[1] !== d.y || o[2] !== d.k + ); + }, + cancelConnection: () => + e({ + connectionNodeId: kn.connectionNodeId, + connectionHandleId: kn.connectionHandleId, + connectionHandleType: kn.connectionHandleType, + connectionStatus: kn.connectionStatus, + connectionStartHandle: kn.connectionStartHandle, + connectionEndHandle: kn.connectionEndHandle, + }), + reset: () => e({ ...kn }), + }), + Object.is, + ), + Mr = ({ children: e }) => { + const t = pe(null); + return ( + t.current || (t.current = oy()), + $.createElement(xm, { value: t.current }, e) + ); + }; +Mr.displayName = "ReactFlowProvider"; +const af = ({ children: e }) => + Je(oa) ? $.createElement($.Fragment, null, e) : $.createElement(Mr, null, e); +af.displayName = "ReactFlowWrapper"; +const ry = { + input: H3, + default: As, + output: B3, + group: Lc, + }, + iy = { + default: Ri, + straight: Tc, + step: Mc, + smoothstep: ra, + simplebezier: Ac, + }, + ay = [0, 0], + ly = [15, 15], + sy = { x: 0, y: 0, zoom: 1 }, + cy = { + width: "100%", + height: "100%", + overflow: "hidden", + position: "relative", + zIndex: 0, + }, + ia = Ys( + ( + { + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + className: r, + nodeTypes: i = ry, + edgeTypes: a = iy, + onNodeClick: l, + onEdgeClick: s, + onInit: u, + onMove: c, + onMoveStart: d, + onMoveEnd: h, + onConnect: f, + onConnectStart: m, + onConnectEnd: b, + onClickConnectStart: y, + onClickConnectEnd: g, + onNodeMouseEnter: x, + onNodeMouseMove: C, + onNodeMouseLeave: E, + onNodeContextMenu: w, + onNodeDoubleClick: S, + onNodeDragStart: _, + onNodeDrag: A, + onNodeDragStop: R, + onNodesDelete: L, + onEdgesDelete: j, + onSelectionChange: P, + onSelectionDragStart: V, + onSelectionDrag: k, + onSelectionDragStop: N, + onSelectionContextMenu: T, + onSelectionStart: F, + onSelectionEnd: I, + connectionMode: D = Jn.Strict, + connectionLineType: v = Nn.Bezier, + connectionLineStyle: z, + connectionLineComponent: B, + connectionLineContainerStyle: M, + deleteKeyCode: W = "Backspace", + selectionKeyCode: G = "Shift", + selectionOnDrag: K = !1, + selectionMode: Q = mr.Full, + panActivationKeyCode: ne = "Space", + multiSelectionKeyCode: oe = Li() ? "Meta" : "Control", + zoomActivationKeyCode: U = Li() ? "Meta" : "Control", + snapToGrid: ge = !1, + snapGrid: J = ly, + onlyRenderVisibleElements: ke = !1, + selectNodesOnDrag: ie = !0, + nodesDraggable: _e, + nodesConnectable: $e, + nodesFocusable: Ee, + nodeOrigin: le = ay, + edgesFocusable: Ge, + edgesUpdatable: Ot, + elementsSelectable: Jt, + defaultViewport: Nt = sy, + minZoom: en = 0.5, + maxZoom: St = 2, + translateExtent: Vt = Ts, + preventScrolling: Dt = !0, + nodeExtent: Z, + defaultMarkerColor: ee = "#b1b1b7", + zoomOnScroll: se = !0, + zoomOnPinch: xe = !0, + panOnScroll: de = !1, + panOnScrollSpeed: Ve = 0.5, + panOnScrollMode: et = Wn.Free, + zoomOnDoubleClick: Qe = !0, + panOnDrag: ft = !0, + onPaneClick: rt, + onPaneMouseEnter: Se, + onPaneMouseMove: $t, + onPaneMouseLeave: it, + onPaneScroll: En, + onPaneContextMenu: tn, + children: no, + onEdgeContextMenu: Wt, + onEdgeDoubleClick: Lr, + onEdgeMouseEnter: fa, + onEdgeMouseMove: Fr, + onEdgeMouseLeave: pa, + onEdgeUpdate: Rr, + onEdgeUpdateStart: jr, + onEdgeUpdateEnd: ha, + onReconnect: ga, + onReconnectStart: Ir, + onReconnectEnd: zr, + reconnectRadius: ma = 10, + edgeUpdaterRadius: ba = 10, + onNodesChange: ya, + onEdgesChange: Ca, + noDragClassName: H = "nodrag", + noWheelClassName: X = "nowheel", + noPanClassName: re = "nopan", + fitView: fe = !1, + fitViewOptions: Ae, + connectOnClick: Re = !0, + attributionPosition: we, + proOptions: ye, + defaultEdgeOptions: at, + elevateNodesOnSelect: We = !0, + elevateEdgesOnSelect: Ue = !1, + disableKeyboardA11y: pt = !1, + autoPanOnConnect: Sn = !0, + autoPanOnNodeDrag: pn = !0, + connectionRadius: ct = 20, + isValidConnection: zo, + onError: va, + style: xa, + id: g1, + nodeDragThreshold: _5, + ...A5 + }, + M5, + ) => { + const wa = g1 || "1"; + return $.createElement( + "div", + { + ...A5, + style: { ...xa, ...cy }, + ref: M5, + className: bt(["react-flow", r]), + "data-testid": "rf__wrapper", + id: g1, + }, + $.createElement( + af, + null, + $.createElement(ny, { + onInit: u, + onMove: c, + onMoveStart: d, + onMoveEnd: h, + onNodeClick: l, + onEdgeClick: s, + onNodeMouseEnter: x, + onNodeMouseMove: C, + onNodeMouseLeave: E, + onNodeContextMenu: w, + onNodeDoubleClick: S, + nodeTypes: i, + edgeTypes: a, + connectionLineType: v, + connectionLineStyle: z, + connectionLineComponent: B, + connectionLineContainerStyle: M, + selectionKeyCode: G, + selectionOnDrag: K, + selectionMode: Q, + deleteKeyCode: W, + multiSelectionKeyCode: oe, + panActivationKeyCode: ne, + zoomActivationKeyCode: U, + onlyRenderVisibleElements: ke, + selectNodesOnDrag: ie, + defaultViewport: Nt, + translateExtent: Vt, + minZoom: en, + maxZoom: St, + preventScrolling: Dt, + zoomOnScroll: se, + zoomOnPinch: xe, + zoomOnDoubleClick: Qe, + panOnScroll: de, + panOnScrollSpeed: Ve, + panOnScrollMode: et, + panOnDrag: ft, + onPaneClick: rt, + onPaneMouseEnter: Se, + onPaneMouseMove: $t, + onPaneMouseLeave: it, + onPaneScroll: En, + onPaneContextMenu: tn, + onSelectionContextMenu: T, + onSelectionStart: F, + onSelectionEnd: I, + onEdgeContextMenu: Wt, + onEdgeDoubleClick: Lr, + onEdgeMouseEnter: fa, + onEdgeMouseMove: Fr, + onEdgeMouseLeave: pa, + onReconnect: ga ?? Rr, + onReconnectStart: Ir ?? jr, + onReconnectEnd: zr ?? ha, + reconnectRadius: ma ?? ba, + defaultMarkerColor: ee, + noDragClassName: H, + noWheelClassName: X, + noPanClassName: re, + elevateEdgesOnSelect: Ue, + rfId: wa, + disableKeyboardA11y: pt, + nodeOrigin: le, + nodeExtent: Z, + }), + $.createElement(Qm, { + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + onConnect: f, + onConnectStart: m, + onConnectEnd: b, + onClickConnectStart: y, + onClickConnectEnd: g, + nodesDraggable: _e, + nodesConnectable: $e, + nodesFocusable: Ee, + edgesFocusable: Ge, + edgesUpdatable: Ot, + elementsSelectable: Jt, + elevateNodesOnSelect: We, + minZoom: en, + maxZoom: St, + nodeExtent: Z, + onNodesChange: ya, + onEdgesChange: Ca, + snapToGrid: ge, + snapGrid: J, + connectionMode: D, + translateExtent: Vt, + connectOnClick: Re, + defaultEdgeOptions: at, + fitView: fe, + fitViewOptions: Ae, + onNodesDelete: L, + onEdgesDelete: j, + onNodeDragStart: _, + onNodeDrag: A, + onNodeDragStop: R, + onSelectionDrag: k, + onSelectionDragStart: V, + onSelectionDragStop: N, + noPanClassName: re, + nodeOrigin: le, + rfId: wa, + autoPanOnConnect: Sn, + autoPanOnNodeDrag: pn, + onError: va, + connectionRadius: ct, + isValidConnection: zo, + nodeDragThreshold: _5, + }), + $.createElement(Km, { onSelectionChange: P }), + no, + $.createElement(Em, { proOptions: ye, position: we }), + $.createElement(ob, { rfId: wa, disableKeyboardA11y: pt }), + ), + ); + }, + ); +ia.displayName = "ReactFlow"; +function uy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, + $.createElement("path", { + d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z", + }), + ); +} +function dy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, + $.createElement("path", { d: "M0 0h32v4.2H0z" }), + ); +} +function fy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, + $.createElement("path", { + d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z", + }), + ); +} +function py() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, + $.createElement("path", { + d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z", + }), + ); +} +function hy() { + return $.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, + $.createElement("path", { + d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z", + }), + ); +} +const Qo = ({ children: e, className: t, ...n }) => + $.createElement( + "button", + { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, + e, + ); +Qo.displayName = "ControlButton"; +const gy = (e) => ({ + isInteractive: + e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, + minZoomReached: e.transform[2] <= e.minZoom, + maxZoomReached: e.transform[2] >= e.maxZoom, + }), + lf = ({ + style: e, + showZoom: t = !0, + showFitView: n = !0, + showInteractive: o = !0, + fitViewOptions: r, + onZoomIn: i, + onZoomOut: a, + onFitView: l, + onInteractiveChange: s, + className: u, + children: c, + position: d = "bottom-left", + }) => { + const h = nt(), + [f, m] = ue(!1), + { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(gy, st), + { zoomIn: x, zoomOut: C, fitView: E } = Qt(); + if ( + (ce(() => { + m(!0); + }, []), + !f) + ) + return null; + const w = () => { + x(), i == null || i(); + }, + S = () => { + C(), a == null || a(); + }, + _ = () => { + E(r), l == null || l(); + }, + A = () => { + h.setState({ + nodesDraggable: !b, + nodesConnectable: !b, + elementsSelectable: !b, + }), + s == null || s(!b); + }; + return $.createElement( + C3, + { + className: bt(["react-flow__controls", u]), + position: d, + style: e, + "data-testid": "rf__controls", + }, + t && + $.createElement( + $.Fragment, + null, + $.createElement( + Qo, + { + onClick: w, + className: "react-flow__controls-zoomin", + title: "zoom in", + "aria-label": "zoom in", + disabled: g, + }, + $.createElement(uy, null), + ), + $.createElement( + Qo, + { + onClick: S, + className: "react-flow__controls-zoomout", + title: "zoom out", + "aria-label": "zoom out", + disabled: y, + }, + $.createElement(dy, null), + ), + ), + n && + $.createElement( + Qo, + { + className: "react-flow__controls-fitview", + onClick: _, + title: "fit view", + "aria-label": "fit view", + }, + $.createElement(fy, null), + ), + o && + $.createElement( + Qo, + { + className: "react-flow__controls-interactive", + onClick: A, + title: "toggle interactivity", + "aria-label": "toggle interactivity", + }, + b ? $.createElement(hy, null) : $.createElement(py, null), + ), + c, + ); + }; +lf.displayName = "Controls"; +var Rc = Ye(lf), + Gt; +(function (e) { + (e.Lines = "lines"), (e.Dots = "dots"), (e.Cross = "cross"); +})(Gt || (Gt = {})); +function my({ color: e, dimensions: t, lineWidth: n }) { + return $.createElement("path", { + stroke: e, + strokeWidth: n, + d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}`, + }); +} +function by({ color: e, radius: t }) { + return $.createElement("circle", { cx: t, cy: t, r: t, fill: e }); +} +const yy = { + [Gt.Dots]: "#91919a", + [Gt.Lines]: "#eee", + [Gt.Cross]: "#e2e2e2", + }, + Cy = { + [Gt.Dots]: 1, + [Gt.Lines]: 1, + [Gt.Cross]: 6, + }, + vy = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); +function sf({ + id: e, + variant: t = Gt.Dots, + // only used for dots and cross + gap: n = 20, + // only used for lines and cross + size: o, + lineWidth: r = 1, + offset: i = 2, + color: a, + style: l, + className: s, +}) { + const u = pe(null), + { transform: c, patternId: d } = Ze(vy, st), + h = a || yy[t], + f = o || Cy[t], + m = t === Gt.Dots, + b = t === Gt.Cross, + y = Array.isArray(n) ? n : [n, n], + g = [y[0] * c[2] || 1, y[1] * c[2] || 1], + x = f * c[2], + C = b ? [x, x] : g, + E = m ? [x / i, x / i] : [C[0] / i, C[1] / i]; + return $.createElement( + "svg", + { + className: bt(["react-flow__background", s]), + style: { + ...l, + position: "absolute", + width: "100%", + height: "100%", + top: 0, + left: 0, + }, + ref: u, + "data-testid": "rf__background", + }, + $.createElement( + "pattern", + { + id: d + e, + x: c[0] % g[0], + y: c[1] % g[1], + width: g[0], + height: g[1], + patternUnits: "userSpaceOnUse", + patternTransform: `translate(-${E[0]},-${E[1]})`, + }, + m + ? $.createElement(by, { color: h, radius: x / i }) + : $.createElement(my, { dimensions: C, color: h, lineWidth: r }), + ), + $.createElement("rect", { + x: "0", + y: "0", + width: "100%", + height: "100%", + fill: `url(#${d + e})`, + }), + ); +} +sf.displayName = "Background"; +var jc = Ye(sf); +const Ic = "columns", + zc = "exposure", + Hc = "tables", + xy = "feedback", + cf = "settings", + bn = "column-", + uf = "see-more-", + wy = 5, + Ey = 100, + Hl = 100, + Tr = 300, + yo = 80, + Sy = 12, + ky = yo, + df = 30, + zu = 4, + _y = 280, + Ay = 80, + My = 80, + Ty = 250, + Os = 0.05, + ff = "#7A899E", + Pc = "#E38E00", + Bc = { + Original: "#FDD835", + Alias: "#40C8AE", + Transformation: "#FF754C", + Unchanged: "#BC3FBC", + "Not sure": "#247efe", + "Non select": "#BC3FBC", + }, + aa = { + stroke: ff, + strokeWidth: 1, + }, + Vc = { + stroke: Pc, + strokeWidth: 2, + }, + $c = { + stroke: Pc, + strokeWidth: 1, + strokeDasharray: 10, + }, + pf = { + type: "arrow", + strokeWidth: 1, + width: 24, + height: 24, + color: ff, + }, + hf = { + type: "arrow", + strokeWidth: 1, + width: 16, + height: 16, + color: Pc, + }, + vt = (e) => e.id.startsWith(bn), + ti = (e) => e.id.startsWith(uf), + xn = (e) => !e.id.startsWith(bn), + Wc = (e, t, n, o, r, i = !1) => { + const [a, l] = r ? [n, o] : [o, n], + [s, u] = r ? Ns(e, t, i) : Ns(t, e, i); + return { + id: `${a}-${l}`, + source: a, + target: l, + sourceHandle: s, + targetHandle: u, + style: aa, + markerEnd: pf, + type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default", + }; + }, + To = (e, t, n) => ({ + id: e.table, + data: { ...e, level: t, parent: n }, + position: { x: 100, y: 100 }, + type: "table", + width: Tr, + height: yo, + }), + gf = (e, t, n, o) => ({ + id: e, + data: { ...o, level: t, parent: n, id: e }, + position: { x: 100, y: 100 }, + type: "operator", + width: Tr, + height: yo, + }), + ji = (e, t, n, o, r) => ({ + id: yr(e, t), + data: { column: t, table: e, viewsType: n, viewsCode: o, nodeType: r }, + parentNode: e, + extent: "parent", + draggable: !1, + type: "column", + position: { x: 100, y: 100 }, + height: df, + }), + Ii = (e, t, n, o, r, i) => { + const a = la(e, t), + [l, s] = Ns(n, o, !1); + return { + id: a, + data: { type: r }, + source: e, + target: t, + sourceHandle: l, + targetHandle: s, + style: r === "direct" ? Vc : $c, + zIndex: 1e3, + markerEnd: hf, + type: n === o ? "smoothstep" : "default", + hidden: !i[r], + }; + }, + la = (e, t) => bn + `${e}-${t}`, + zi = (e, t) => { + e.style = { opacity: t ? 1 : 0.5 }; + }, + Oo = (e, t) => { + var n; + (e.style = t + ? ((n = e.data) == null ? void 0 : n.type) === "indirect" + ? $c + : Vc + : aa), + (e.markerEnd = t ? hf : pf); + }, + Ns = (e, t, n) => + n + ? e < t + ? ["bottom", "top"] + : e > t + ? ["top", "bottom"] + : e < 0 + ? ["top", "top"] + : ["bottom", "bottom"] + : e < t + ? ["right", "left"] + : e > t + ? ["left", "right"] + : e < 0 + ? ["left", "left"] + : ["right", "right"], + Oy = (e, t) => { + const n = {}; + e.forEach((i) => { + xn(i) && (n[i.id] = i.data.level); + }); + const o = {}; + e.filter((i) => i.type === "table").forEach((i) => (o[i.id] = !0)); + const r = {}; + for (const i of t) { + if (vt(i)) continue; + const a = o[i.source], + l = o[i.target]; + if (!(a && l)) { + if (a) { + e.find((u) => u.id === i.target).data.tables.forEach((u) => { + r[u.table] = i.target; + }); + continue; + } + l && + e + .find((u) => u.id === i.source) + .data.tables.forEach((u) => { + r[u.table] = i.source; + }); + } + } + return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; + }, + yr = (e, t) => bn + `${e}/${t}`, + Hi = (e, t) => uf + e + "-" + (t ? "1" : "0"), + Hu = (e, t) => { + for (const n of e) if (n[0] === t[0] && n[1] === t[1]) return !0; + return !1; + }, + Pu = (e, t, n) => { + (e[t] = e[t] || []), e[t].push(...n); + }, + gi = (e, t = 1) => e * (df + zu) + t * zu, + Bu = (e, t) => (n) => e <= n && n <= t, + Ny = (e, t) => (n) => e < n && n < t, + Vu = (e, t) => { + const n = e.findIndex((o) => o.id === t); + n !== -1 && e.splice(n, 1); + }, + $u = (e, t, n) => (e === -1 || n >= t ? t : n >= e ? n : e), + Cr = (e, t, n = !0) => { + e.forEach((o) => { + vt(o) || ((o.hidden = !t), n && Oo(o, t)); + }); + }, + vr = (e, t, n = !0) => { + e.forEach((o) => { + vt(o) && ((o.hidden = !t), n && Oo(o, t)); + }); + }; +function mf(e) { + const t = /* @__PURE__ */ new Map(), + n = /* @__PURE__ */ new Map(); + for (const [i, a] of e) + t.has(i) || t.set(i, 0), + t.has(a) || t.set(a, 0), + t.set(a, t.get(a) + 1), + n.has(i) || n.set(i, 0), + n.has(a) || n.set(a, 0), + n.set(i, n.get(i) + 1); + const o = [], + r = []; + for (const [i, a] of t) a === 0 && o.push(i); + for (const [i, a] of n) a === 0 && r.push(i); + return { sources: o, sinks: r }; +} +const Dy = "_table_node_8ocim_1", + Ly = "_header_8ocim_8", + Fy = "_collapse_8ocim_16", + Ry = "_selected_8ocim_21", + jy = "_content_8ocim_24", + Iy = "_table_header_8ocim_37", + zy = "_seed_8ocim_48", + Hy = "_model_8ocim_53", + Py = "_source_8ocim_58", + By = "_exposure_8ocim_63", + Vy = "_snapshot_8ocim_68", + $y = "_metrics_8ocim_73", + Wy = "_macros_8ocim_78", + Zy = "_analysis_8ocim_83", + Uy = "_node_icon_8ocim_88", + qy = "_dialect_icon_8ocim_100", + Yy = "_table_handle_8ocim_109", + Gy = "_see_more_node_8ocim_123", + Ky = "_table_card_8ocim_134", + Xy = "_disabled_8ocim_146", + Qy = "_column_card_8ocim_151", + Jy = "_edit_icon_8ocim_164", + eC = "_active_8ocim_172", + tC = "_expand_lineage_icon_8ocim_176", + nC = "_processing_div_8ocim_189", + oC = "_gif_img_8ocim_192", + rC = "_card_8ocim_197", + iC = "_column_node_8ocim_212", + aC = "_column_name_8ocim_223", + lC = "_column_top_right_8ocim_228", + sC = "_divider_8ocim_236", + cC = "_table_details_header_8ocim_242", + uC = "_verticle_divider_8ocim_250", + dC = "_low_confidence_8ocim_255", + fC = "_high_confidence_8ocim_262", + pC = "_alert_icon_8ocim_269", + hC = "_menu_card_8ocim_275", + gC = "_menu_card_container_8ocim_280", + mC = "_table_details_tabs_8ocim_287", + bC = "_tab_8ocim_1", + yC = "_table_node_pill_8ocim_307", + CC = "_icon_8ocim_317", + vC = "_node-checkbox_8ocim_324", + xC = "_non_select_node_checkbox_8ocim_324", + wC = "_select_node_checkbox_8ocim_324", + EC = "_node_extra_info_8ocim_340", + SC = "_help_body_8ocim_344", + kC = "_feedback_body_8ocim_348", + _C = "_cancel_btn_8ocim_351", + AC = "_expand_nav_8ocim_356", + MC = "_expand_nav_btn_8ocim_364", + TC = "_lineage_legend_8ocim_391", + OC = "_column_legend_8ocim_408", + NC = "_dot_8ocim_424", + DC = "_model_views_type_8ocim_436", + LC = "_close_button_8ocim_445", + FC = "_op_node_8ocim_458", + RC = "_light_mode_8ocim_477", + jC = "_dark_mode_8ocim_480", + IC = "_highlighted_8ocim_483", + zC = "_cost_data_8ocim_489", + HC = "_op_type_text_8ocim_504", + PC = "_node_stats_8ocim_507", + BC = "_savings-performance_8ocim_523", + VC = "_performance_8ocim_523", + $C = "_savings_8ocim_523", + WC = "_value_8ocim_538", + ZC = "_percent_8ocim_541", + UC = "_static_table_node_8ocim_556", + qC = "_details_btn_8ocim_620", + YC = "_enable_8ocim_629", + GC = "_disable_8ocim_146", + KC = "_code_editor_container_8ocim_640", + XC = "_code_editor_8ocim_640", + QC = "_tooltip_container_8ocim_654", + JC = "_tooltip_text_8ocim_660", + ev = "_views_type_badge_8ocim_677", + tv = "_column_code_icon_8ocim_708", + nv = "_edge_select_8ocim_724", + ov = "_edge_non_select_8ocim_734", + rv = "_modal_views_code_container_8ocim_744", + iv = "_custom_node_code_block_8ocim_749", + av = "_reset_btn_8ocim_761", + lv = "_error_tooltip_8ocim_767", + Y = { + table_node: Dy, + header: Ly, + collapse: Fy, + selected: Ry, + content: jy, + table_header: Iy, + seed: zy, + model: Hy, + source: Py, + exposure: By, + snapshot: Vy, + metrics: $y, + macros: Wy, + analysis: Zy, + node_icon: Uy, + dialect_icon: qy, + table_handle: Yy, + see_more_node: Gy, + table_card: Ky, + disabled: Xy, + column_card: Qy, + edit_icon: Jy, + active: eC, + expand_lineage_icon: tC, + processing_div: nC, + gif_img: oC, + card: rC, + column_node: iC, + default: "_default_8ocim_220", + column_name: aC, + column_top_right: lC, + divider: sC, + table_details_header: cC, + verticle_divider: uC, + low_confidence: dC, + high_confidence: fC, + alert_icon: pC, + menu_card: hC, + menu_card_container: gC, + table_details_tabs: mC, + tab: bC, + table_node_pill: yC, + icon: CC, + "node-checkbox": "_node-checkbox_8ocim_324", + nodeCheckbox: vC, + non_select_node_checkbox: xC, + select_node_checkbox: wC, + node_extra_info: EC, + help_body: SC, + feedback_body: kC, + cancel_btn: _C, + expand_nav: AC, + expand_nav_btn: MC, + lineage_legend: TC, + column_legend: OC, + dot: NC, + model_views_type: DC, + close_button: LC, + op_node: FC, + light_mode: RC, + dark_mode: jC, + highlighted: IC, + cost_data: zC, + op_type_text: HC, + node_stats: PC, + "savings-performance": "_savings-performance_8ocim_523", + savingsPerformance: BC, + performance: VC, + savings: $C, + value: WC, + percent: ZC, + static_table_node: UC, + details_btn: qC, + enable: YC, + disable: GC, + code_editor_container: KC, + code_editor: XC, + tooltip_container: QC, + tooltip_text: JC, + views_type_badge: ev, + column_code_icon: tv, + edge_select: nv, + edge_non_select: ov, + modal_views_code_container: rv, + custom_node_code_block: iv, + reset_btn: av, + error_tooltip: lv, + }, + bf = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", + fill: "currentColor", + }), + ), + yf = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + xmlns: "http://www.w3.org/2000/svg", + width: "100%", + height: "100%", + viewBox: "0 0 15 15", + fill: "none", + ...e, + }, + /* @__PURE__ */ O.createElement("circle", { + cx: 7.5, + cy: 7.5, + r: 6.9, + stroke: "currentColor", + strokeWidth: 1.2, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", + stroke: "currentColor", + strokeWidth: 0.9, + }), + ), + sv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 15, + height: 15, + viewBox: "0 0 11 10", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_19334_15206)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", + fill: "#FFCE73", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", + fill: "#FFCE73", + }), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_19334_15206" }, + /* @__PURE__ */ O.createElement("rect", { + width: 10, + height: 10, + fill: "white", + transform: "translate(0.101318)", + }), + ), + ), + ), + cv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("circle", { + cx: 8, + cy: 8.5, + r: 6.5, + stroke: "currentColor", + }), + ), + uv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", + fill: "currentColor", + }), + ), + dv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", + fill: "currentColor", + }), + ), + fv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", + fill: "currentColor", + }), + ), + pv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M5.33325 1.83398V3.83398", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.6667 1.83398V3.83398", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2.33325 6.56055H13.6666", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.4955 9H10.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.4955 12H10.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.4955 9H5.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.4955 12H5.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + hv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", + stroke: "currentColor", + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", + stroke: "currentColor", + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + ni = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", + fill: "currentColor", + }), + ), + gv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", + fill: "currentColor", + }), + ), + mv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", + fill: "currentColor", + }), + ), + bv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", + fill: "currentColor", + }), + ), + Ds = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 28 28", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", + fill: "currentColor", + }), + ), + yv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", + fill: "currentColor", + }), + ), + Cv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_13119_16577)" }, + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_13119_16577", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 0, + y: 0, + width: 16, + height: 16, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_13119_16577)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M0.46875 15.5312H15.5312", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_13119_16577" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + Ls = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_13132_13629)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", + fill: "currentColor", + }), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_13132_13629" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + vv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 11, + height: 6, + viewBox: "0 0 11 6", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", + fill: "currentColor", + }), + ), + xv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 11, + height: 6, + viewBox: "0 0 11 6", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", + fill: "currentColor", + }), + ), + Zc = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { id: "x-close" }, + /* @__PURE__ */ O.createElement("path", { + id: "Icon", + d: "M12 4L4 12M4 4L12 12", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + ), + wv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 10 10", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_8292_48040)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_8292_48040" }, + /* @__PURE__ */ O.createElement("rect", { + width: 10, + height: 10, + fill: "white", + transform: "translate(0 10) rotate(-90)", + }), + ), + ), + ), + Ev = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + x: -0.5, + y: 0.5, + width: 31, + height: 31, + rx: 4.5, + transform: "matrix(-1 0 0 1 31 0)", + stroke: "#8390A3", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", + stroke: "#8390A3", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", + stroke: "#8390A3", + }), + ), + Sv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + x: 0.5, + y: -0.5, + width: 31, + height: 31, + rx: 4.5, + transform: "matrix(1 0 0 -1 0 31)", + stroke: "#8390A3", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", + stroke: "#8390A3", + strokeWidth: 1.2, + strokeMiterlimit: 10, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", + stroke: "#8390A3", + strokeWidth: 1.2, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + kv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 32, + height: 32, + rx: 5, + transform: "matrix(-1 0 0 1 32 0)", + fill: "#3F8CFF", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", + fill: "white", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", + fill: "white", + }), + ), + _v = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + x: 0.5, + y: -0.5, + width: 31, + height: 31, + rx: 4.5, + transform: "matrix(1 0 0 -1 0 31)", + fill: "#247EFE", + stroke: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", + fill: "white", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", + fill: "white", + stroke: "#247EFE", + strokeWidth: 1.2, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + Av = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_17179_3800)" }, + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_17179_3800", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 0, + y: 0, + width: 16, + height: 16, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M16 0H0V16H16V0Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_17179_3800)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", + fill: "currentColor", + }), + ), + ), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_17179_3800" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + Mv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", + fill: "currentColor", + }), + ), + Cf = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", + fill: "currentColor", + }), + ), + Tv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 17, + height: 16, + viewBox: "0 0 17 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", + fill: "currentColor", + }), + ), + Ov = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 17, + height: 16, + viewBox: "0 0 17 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", + fill: "currentColor", + }), + ), + Nv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#4D4F3B", + }), + /* @__PURE__ */ O.createElement( + "mask", { - // this is overwritable by passing `nopan` as a class name - [N]: x + id: "mask0_20572_494912", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 11, + y: 7, + width: 14, + height: 14, }, - g, - { - selected: u, - selectable: C, - parent: V, - dragging: $e - } - ]), ref: B, style: { - zIndex: P, - transform: `translate(${l}px,${s}px)`, - pointerEvents: Q ? "all" : "none", - visibility: T ? "visible" : "hidden", - ...y - }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: oe, onMouseMove: U, onMouseLeave: ge, onContextMenu: J, onClick: ie, onDoubleClick: ke, onKeyDown: w ? _e : void 0, tabIndex: w ? 0 : void 0, role: w ? "button" : void 0, "aria-describedby": F ? void 0 : `${$3}-${D}`, "aria-label": I }, - $.createElement( - Fm, - { value: n }, - $.createElement(e, { id: n, data: r, type: o, xPos: i, yPos: a, selected: u, isConnectable: E, sourcePosition: _, targetPosition: A, dragging: $e, dragHandle: j, zIndex: P }) - ) - ); - }; - return t.displayName = "NodeWrapper", Ye(t); -}; -const Eb = (e) => { - const t = e.getNodes().filter((n) => n.selected); - return { - ...Nc(t, e.nodeOrigin), - transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, - userSelectionActive: e.userSelectionActive - }; -}; -function Sb({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { - const o = nt(), { width: r, height: i, x: a, y: l, transformString: s, userSelectionActive: u } = Ze(Eb, st), c = Q3(), d = pe(null); - if (ce(() => { - var m; - n || (m = d.current) == null || m.focus({ - preventScroll: !0 - }); - }, [n]), X3({ - nodeRef: d - }), u || !r || !i) - return null; - const h = e ? (m) => { - const b = o.getState().getNodes().filter((y) => y.selected); - e(m, b); - } : void 0, f = (m) => { - Object.prototype.hasOwnProperty.call(bo, m.key) && c({ - x: bo[m.key].x, - y: bo[m.key].y, - isShiftPressed: m.shiftKey - }); - }; - return $.createElement( - "div", - { className: bt(["react-flow__nodesselection", "react-flow__container", t]), style: { - transform: s - } }, - $.createElement("div", { ref: d, className: "react-flow__nodesselection-rect", onContextMenu: h, tabIndex: n ? void 0 : -1, onKeyDown: n ? void 0 : f, style: { - width: r, - height: i, - top: l, - left: a - } }) - ); -} -var kb = Ye(Sb); -const _b = (e) => e.nodesSelectionActive, J3 = ({ children: e, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: i, onPaneScroll: a, deleteKeyCode: l, onMove: s, onMoveStart: u, onMoveEnd: c, selectionKeyCode: d, selectionOnDrag: h, selectionMode: f, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: y, panActivationKeyCode: g, zoomActivationKeyCode: x, elementsSelectable: C, zoomOnScroll: E, zoomOnPinch: w, panOnScroll: S, panOnScrollSpeed: _, panOnScrollMode: A, zoomOnDoubleClick: R, panOnDrag: L, defaultViewport: j, translateExtent: P, minZoom: V, maxZoom: k, preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: F, noPanClassName: I, disableKeyboardA11y: D }) => { - const v = Ze(_b), z = br(d), B = br(g), M = B || L, W = B || S, G = z || h && M !== !0; - return ub({ deleteKeyCode: l, multiSelectionKeyCode: y }), $.createElement( - hb, - { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: i, elementsSelectable: C, zoomOnScroll: E, zoomOnPinch: w, panOnScroll: W, panOnScrollSpeed: _, panOnScrollMode: A, zoomOnDoubleClick: R, panOnDrag: !z && M, defaultViewport: j, translateExtent: P, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, preventScrolling: N, noWheelClassName: F, noPanClassName: I }, - $.createElement( - Y3, - { onSelectionStart: m, onSelectionEnd: b, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: i, onPaneScroll: a, panOnDrag: M, isSelecting: !!G, selectionMode: f }, - e, - v && $.createElement(kb, { onSelectionContextMenu: T, noPanClassName: I, disableKeyboardA11y: D }) - ) - ); -}; -J3.displayName = "FlowRenderer"; -var Ab = Ye(J3); -function Mb(e) { - return Ze(Me((n) => e ? O3(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); -} -function Tb(e) { - const t = { - input: Uo(e.input || H3), - default: Uo(e.default || As), - output: Uo(e.output || B3), - group: Uo(e.group || Lc) - }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, i) => (r[i] = Uo(e[i] || As), r), n); - return { - ...t, - ...o - }; -} -const Ob = ({ x: e, y: t, width: n, height: o, origin: r }) => !n || !o ? { x: e, y: t } : r[0] < 0 || r[1] < 0 || r[0] > 1 || r[1] > 1 ? { x: e, y: t } : { - x: e - n * r[0], - y: t - o * r[1] -}, Nb = (e) => ({ - nodesDraggable: e.nodesDraggable, - nodesConnectable: e.nodesConnectable, - nodesFocusable: e.nodesFocusable, - elementsSelectable: e.elementsSelectable, - updateNodeDimensions: e.updateNodeDimensions, - onError: e.onError -}), ef = (e) => { - const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: i, onError: a } = Ze(Nb, st), l = Mb(e.onlyRenderVisibleElements), s = pe(), u = Be(() => { - if (typeof ResizeObserver > "u") - return null; - const c = new ResizeObserver((d) => { - const h = d.map((f) => ({ - id: f.target.getAttribute("data-id"), - nodeElement: f.target, - forceUpdate: !0 - })); - i(h); - }); - return s.current = c, c; - }, []); - return ce(() => () => { - var c; - (c = s == null ? void 0 : s.current) == null || c.disconnect(); - }, []), $.createElement("div", { className: "react-flow__nodes", style: Fc }, l.map((c) => { - var w, S, _; - let d = c.type || "default"; - e.nodeTypes[d] || (a == null || a("003", Kt.error003(d)), d = "default"); - const h = e.nodeTypes[d] || e.nodeTypes.default, f = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), y = !!(c.focusable || o && typeof c.focusable > "u"), g = e.nodeExtent ? kc(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, E = Ob({ - x, - y: C, - width: c.width ?? 0, - height: c.height ?? 0, - origin: e.nodeOrigin - }); - return $.createElement(h, { key: c.id, id: c.id, className: c.className, style: c.style, type: d, data: c.data, sourcePosition: c.sourcePosition || ae.Bottom, targetPosition: c.targetPosition || ae.Top, hidden: c.hidden, xPos: x, yPos: C, xPosOrigin: E.x, yPosOrigin: E.y, selectNodesOnDrag: e.selectNodesOnDrag, onClick: e.onNodeClick, onMouseEnter: e.onNodeMouseEnter, onMouseMove: e.onNodeMouseMove, onMouseLeave: e.onNodeMouseLeave, onContextMenu: e.onNodeContextMenu, onDoubleClick: e.onNodeDoubleClick, selected: !!c.selected, isDraggable: f, isSelectable: m, isConnectable: b, isFocusable: y, resizeObserver: u, dragHandle: c.dragHandle, zIndex: ((w = c[qe]) == null ? void 0 : w.z) ?? 0, isParent: !!((S = c[qe]) != null && S.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!c.width && !!c.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: c.ariaLabel, hasHandleBounds: !!((_ = c[qe]) != null && _.handleBounds) }); - })); -}; -ef.displayName = "NodeRenderer"; -var Db = Ye(ef); -const Lb = (e, t, n) => n === ae.Left ? e - t : n === ae.Right ? e + t : e, Fb = (e, t, n) => n === ae.Top ? e - t : n === ae.Bottom ? e + t : e, Nu = "react-flow__edgeupdater", Du = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: i, onMouseOut: a, type: l }) => $.createElement("circle", { onMouseDown: r, onMouseEnter: i, onMouseOut: a, className: bt([Nu, `${Nu}-${l}`]), cx: Lb(t, o, e), cy: Fb(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), Rb = () => !0; -var so = (e) => { - const t = ({ id: n, className: o, type: r, data: i, onClick: a, onEdgeDoubleClick: l, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: h, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, style: y, source: g, target: x, sourceX: C, sourceY: E, targetX: w, targetY: S, sourcePosition: _, targetPosition: A, elementsSelectable: R, hidden: L, sourceHandleId: j, targetHandleId: P, onContextMenu: V, onMouseEnter: k, onMouseMove: N, onMouseLeave: T, reconnectRadius: F, onReconnect: I, onReconnectStart: D, onReconnectEnd: v, markerEnd: z, markerStart: B, rfId: M, ariaLabel: W, isFocusable: G, isReconnectable: K, pathOptions: Q, interactionWidth: ne, disableKeyboardA11y: oe }) => { - const U = pe(null), [ge, J] = ue(!1), [ke, ie] = ue(!1), _e = nt(), $e = Be(() => `url('#${ks(B, M)}')`, [B, M]), Ee = Be(() => `url('#${ks(z, M)}')`, [z, M]); - if (L) - return null; - const le = (de) => { - var Se; - const { edges: Ve, addSelectedEdges: et, unselectNodesAndEdges: Qe, multiSelectionActive: ft } = _e.getState(), rt = Ve.find(($t) => $t.id === n); - rt && (R && (_e.setState({ nodesSelectionActive: !1 }), rt.selected && ft ? (Qe({ nodes: [], edges: [rt] }), (Se = U.current) == null || Se.blur()) : et([n])), a && a(de, rt)); - }, Ge = Wo(n, _e.getState, l), Ot = Wo(n, _e.getState, V), Jt = Wo(n, _e.getState, k), Nt = Wo(n, _e.getState, N), en = Wo(n, _e.getState, T), St = (de, Ve) => { - if (de.button !== 0) - return; - const { edges: et, isValidConnection: Qe } = _e.getState(), ft = Ve ? x : g, rt = (Ve ? P : j) || null, Se = Ve ? "target" : "source", $t = Qe || Rb, it = Ve, En = et.find((Wt) => Wt.id === n); - ie(!0), D == null || D(de, En, Se); - const tn = (Wt) => { - ie(!1), v == null || v(Wt, En, Se); - }; - R3({ - event: de, - handleId: rt, - nodeId: ft, - onConnect: (Wt) => I == null ? void 0 : I(En, Wt), - isTarget: it, - getState: _e.getState, - setState: _e.setState, - isValidConnection: $t, - edgeUpdaterType: Se, - onReconnectEnd: tn - }); - }, Vt = (de) => St(de, !0), Dt = (de) => St(de, !1), Z = () => J(!0), ee = () => J(!1), se = !R && !a, xe = (de) => { - var Ve; - if (!oe && w3.includes(de.key) && R) { - const { unselectNodesAndEdges: et, addSelectedEdges: Qe, edges: ft } = _e.getState(); - de.key === "Escape" ? ((Ve = U.current) == null || Ve.blur(), et({ edges: [ft.find((Se) => Se.id === n)] })) : Qe([n]); - } - }; - return $.createElement( - "g", - { className: bt([ - "react-flow__edge", - `react-flow__edge-${r}`, - o, - { selected: s, animated: u, inactive: se, updating: ge } - ]), onClick: le, onDoubleClick: Ge, onContextMenu: Ot, onMouseEnter: Jt, onMouseMove: Nt, onMouseLeave: en, onKeyDown: G ? xe : void 0, tabIndex: G ? 0 : void 0, role: G ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": W === null ? void 0 : W || `Edge from ${g} to ${x}`, "aria-describedby": G ? `${W3}-${M}` : void 0, ref: U }, - !ke && $.createElement(e, { id: n, source: g, target: x, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: h, labelBgStyle: f, labelBgPadding: m, labelBgBorderRadius: b, data: i, style: y, sourceX: C, sourceY: E, targetX: w, targetY: S, sourcePosition: _, targetPosition: A, sourceHandleId: j, targetHandleId: P, markerStart: $e, markerEnd: Ee, pathOptions: Q, interactionWidth: ne }), - K && $.createElement( - $.Fragment, - null, - (K === "source" || K === !0) && $.createElement(Du, { position: _, centerX: C, centerY: E, radius: F, onMouseDown: Vt, onMouseEnter: Z, onMouseOut: ee, type: "source" }), - (K === "target" || K === !0) && $.createElement(Du, { position: A, centerX: w, centerY: S, radius: F, onMouseDown: Dt, onMouseEnter: Z, onMouseOut: ee, type: "target" }) - ) - ); - }; - return t.displayName = "EdgeWrapper", Ye(t); -}; -function jb(e) { - const t = { - default: so(e.default || Ri), - straight: so(e.bezier || Tc), - step: so(e.step || Mc), - smoothstep: so(e.step || ra), - simplebezier: so(e.simplebezier || Ac) - }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, i) => (r[i] = so(e[i] || Ri), r), n); - return { - ...t, - ...o - }; -} -function Lu(e, t, n = null) { - const o = ((n == null ? void 0 : n.x) || 0) + t.x, r = ((n == null ? void 0 : n.y) || 0) + t.y, i = (n == null ? void 0 : n.width) || t.width, a = (n == null ? void 0 : n.height) || t.height; - switch (e) { - case ae.Top: - return { - x: o + i / 2, - y: r - }; - case ae.Right: - return { - x: o + i, - y: r + a / 2 - }; - case ae.Bottom: - return { - x: o + i / 2, - y: r + a - }; - case ae.Left: - return { - x: o, - y: r + a / 2 - }; - } -} -function Fu(e, t) { - return e ? e.length === 1 || !t ? e[0] : t && e.find((n) => n.id === t) || null : null; -} -const Ib = (e, t, n, o, r, i) => { - const a = Lu(n, e, t), l = Lu(i, o, r); - return { - sourceX: a.x, - sourceY: a.y, - targetX: l.x, - targetY: l.y - }; -}; -function zb({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targetWidth: r, targetHeight: i, width: a, height: l, transform: s }) { - const u = { - x: Math.min(e.x, t.x), - y: Math.min(e.y, t.y), - x2: Math.max(e.x + n, t.x + r), - y2: Math.max(e.y + o, t.y + i) - }; - u.x === u.x2 && (u.x2 += 1), u.y === u.y2 && (u.y2 += 1); - const c = _c({ - x: (0 - s[0]) / s[2], - y: (0 - s[1]) / s[2], - width: a / s[2], - height: l / s[2] - }), d = Math.max(0, Math.min(c.x2, u.x2) - Math.max(c.x, u.x)), h = Math.max(0, Math.min(c.y2, u.y2) - Math.max(c.y, u.y)); - return Math.ceil(d * h) > 0; -} -function Ru(e) { - var o, r, i, a, l; - const t = ((o = e == null ? void 0 : e[qe]) == null ? void 0 : o.handleBounds) || null, n = t && (e == null ? void 0 : e.width) && (e == null ? void 0 : e.height) && typeof ((r = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : r.x) < "u" && typeof ((i = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : i.y) < "u"; - return [ - { - x: ((a = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : a.x) || 0, - y: ((l = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : l.y) || 0, - width: (e == null ? void 0 : e.width) || 0, - height: (e == null ? void 0 : e.height) || 0 - }, - t, - !!n - ]; -} -const Hb = [{ level: 0, isMaxLevel: !0, edges: [] }]; -function Pb(e, t, n = !1) { - let o = -1; - const r = e.reduce((a, l) => { - var c, d; - const s = jt(l.zIndex); - let u = s ? l.zIndex : 0; - if (n) { - const h = t.get(l.target), f = t.get(l.source), m = l.selected || (h == null ? void 0 : h.selected) || (f == null ? void 0 : f.selected), b = Math.max(((c = f == null ? void 0 : f[qe]) == null ? void 0 : c.z) || 0, ((d = h == null ? void 0 : h[qe]) == null ? void 0 : d.z) || 0, 1e3); - u = (s ? l.zIndex : 0) + (m ? b : 0); - } - return a[u] ? a[u].push(l) : a[u] = [l], o = u > o ? u : o, a; - }, {}), i = Object.entries(r).map(([a, l]) => { - const s = +a; - return { - edges: l, - level: s, - isMaxLevel: s === o - }; - }); - return i.length === 0 ? Hb : i; -} -function Bb(e, t, n) { - const o = Ze(Me((r) => e ? r.edges.filter((i) => { - const a = t.get(i.source), l = t.get(i.target); - return (a == null ? void 0 : a.width) && (a == null ? void 0 : a.height) && (l == null ? void 0 : l.width) && (l == null ? void 0 : l.height) && zb({ - sourcePos: a.positionAbsolute || { x: 0, y: 0 }, - targetPos: l.positionAbsolute || { x: 0, y: 0 }, - sourceWidth: a.width, - sourceHeight: a.height, - targetWidth: l.width, - targetHeight: l.height, - width: r.width, - height: r.height, - transform: r.transform - }); - }) : r.edges, [e, t])); - return Pb(o, t, n); -} -const Vb = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { - stroke: e, - strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), $b = ({ color: e = "none", strokeWidth: t = 1 }) => $.createElement("polyline", { style: { - stroke: e, - fill: e, - strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), ju = { - [Fi.Arrow]: Vb, - [Fi.ArrowClosed]: $b -}; -function Wb(e) { - const t = nt(); - return Be(() => { - var r, i; - return Object.prototype.hasOwnProperty.call(ju, e) ? ju[e] : ((i = (r = t.getState()).onError) == null || i.call(r, "009", Kt.error009(e)), null); - }, [e]); -} -const Zb = ({ id: e, type: t, color: n, width: o = 12.5, height: r = 12.5, markerUnits: i = "strokeWidth", strokeWidth: a, orient: l = "auto-start-reverse" }) => { - const s = Wb(t); - return s ? $.createElement( - "marker", - { className: "react-flow__arrowhead", id: e, markerWidth: `${o}`, markerHeight: `${r}`, viewBox: "-10 -10 20 20", markerUnits: i, orient: l, refX: "0", refY: "0" }, - $.createElement(s, { color: n, strokeWidth: a }) - ) : null; -}, Ub = ({ defaultColor: e, rfId: t }) => (n) => { - const o = []; - return n.edges.reduce((r, i) => ([i.markerStart, i.markerEnd].forEach((a) => { - if (a && typeof a == "object") { - const l = ks(a, t); - o.includes(l) || (r.push({ id: l, color: a.color || e, ...a }), o.push(l)); - } - }), r), []).sort((r, i) => r.id.localeCompare(i.id)); -}, tf = ({ defaultColor: e, rfId: t }) => { - const n = Ze( - Me(Ub({ defaultColor: e, rfId: t }), [e, t]), - // the id includes all marker options, so we just need to look at that part of the marker - (o, r) => !(o.length !== r.length || o.some((i, a) => i.id !== r[a].id)) - ); - return $.createElement("defs", null, n.map((o) => $.createElement(Zb, { id: o.id, key: o.id, type: o.type, color: o.color, width: o.width, height: o.height, markerUnits: o.markerUnits, strokeWidth: o.strokeWidth, orient: o.orient }))); -}; -tf.displayName = "MarkerDefinitions"; -var qb = Ye(tf); -const Yb = (e) => ({ - nodesConnectable: e.nodesConnectable, - edgesFocusable: e.edgesFocusable, - edgesUpdatable: e.edgesUpdatable, - elementsSelectable: e.elementsSelectable, - width: e.width, - height: e.height, - connectionMode: e.connectionMode, - nodeInternals: e.nodeInternals, - onError: e.onError -}), nf = ({ defaultMarkerColor: e, onlyRenderVisibleElements: t, elevateEdgesOnSelect: n, rfId: o, edgeTypes: r, noPanClassName: i, onEdgeContextMenu: a, onEdgeMouseEnter: l, onEdgeMouseMove: s, onEdgeMouseLeave: u, onEdgeClick: c, onEdgeDoubleClick: d, onReconnect: h, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, children: y, disableKeyboardA11y: g }) => { - const { edgesFocusable: x, edgesUpdatable: C, elementsSelectable: E, width: w, height: S, connectionMode: _, nodeInternals: A, onError: R } = Ze(Yb, st), L = Bb(t, A, n); - return w ? $.createElement( - $.Fragment, - null, - L.map(({ level: j, edges: P, isMaxLevel: V }) => $.createElement( + /* @__PURE__ */ O.createElement("path", { + d: "M11 7H25V21H11V7Z", + fill: "white", + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_20572_494912)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 20.5898H24.5898", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", + fill: "#FFF200", + }), + ), + Wu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", + fill: "#E7A427", + }), + ), + Dv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#FDF6EA", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", + fill: "#E7A427", + }), + ), + Lv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#4B473F", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", + fill: "#E7A427", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", + fill: "#E7A427", + }), + ), + oi = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", + fill: "#FF754C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", + fill: "#FF754C", + }), + ), + Zu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", + fill: "#01CD8C", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", + fill: "#01CD8C", + }), + ), + Uu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", + fill: "#247EFE", + }), + ), + qu = (e) => + /* @__PURE__ */ O.createElement( "svg", - { key: j, style: { zIndex: j }, width: w, height: S, className: "react-flow__edges react-flow__container" }, - V && $.createElement(qb, { defaultColor: e, rfId: o }), - $.createElement("g", null, P.map((k) => { - const [N, T, F] = Ru(A.get(k.source)), [I, D, v] = Ru(A.get(k.target)); - if (!F || !v) - return null; - let z = k.type || "default"; - r[z] || (R == null || R("011", Kt.error011(z)), z = "default"); - const B = r[z] || r.default, M = _ === Jn.Strict ? D.target : (D.target ?? []).concat(D.source ?? []), W = Fu(T.source, k.sourceHandle), G = Fu(M, k.targetHandle), K = (W == null ? void 0 : W.position) || ae.Bottom, Q = (G == null ? void 0 : G.position) || ae.Top, ne = !!(k.focusable || x && typeof k.focusable > "u"), oe = k.reconnectable || k.updatable, U = typeof h < "u" && (oe || C && typeof oe > "u"); - if (!W || !G) - return R == null || R("008", Kt.error008(W, k)), null; - const { sourceX: ge, sourceY: J, targetX: ke, targetY: ie } = Ib(N, W, K, I, G, Q); - return $.createElement(B, { key: k.id, id: k.id, className: bt([k.className, i]), type: z, data: k.data, selected: !!k.selected, animated: !!k.animated, hidden: !!k.hidden, label: k.label, labelStyle: k.labelStyle, labelShowBg: k.labelShowBg, labelBgStyle: k.labelBgStyle, labelBgPadding: k.labelBgPadding, labelBgBorderRadius: k.labelBgBorderRadius, style: k.style, source: k.source, target: k.target, sourceHandleId: k.sourceHandle, targetHandleId: k.targetHandle, markerEnd: k.markerEnd, markerStart: k.markerStart, sourceX: ge, sourceY: J, targetX: ke, targetY: ie, sourcePosition: K, targetPosition: Q, elementsSelectable: E, onContextMenu: a, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: h, onReconnectStart: f, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: k.ariaLabel, isFocusable: ne, isReconnectable: U, pathOptions: "pathOptions" in k ? k.pathOptions : void 0, interactionWidth: k.interactionWidth, disableKeyboardA11y: g }); - })) - )), - y - ) : null; -}; -nf.displayName = "EdgeRenderer"; -var Gb = Ye(nf); -const Kb = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; -function Xb({ children: e }) { - const t = Ze(Kb); - return $.createElement("div", { className: "react-flow__viewport react-flow__container", style: { transform: t } }, e); -} -function Qb(e) { - const t = Qt(), n = pe(!1); - ce(() => { - !n.current && t.viewportInitialized && e && (setTimeout(() => e(t), 1), n.current = !0); - }, [e, t.viewportInitialized]); -} -const Jb = { - [ae.Left]: ae.Right, - [ae.Right]: ae.Left, - [ae.Top]: ae.Bottom, - [ae.Bottom]: ae.Top -}, of = ({ nodeId: e, handleType: t, style: n, type: o = Nn.Bezier, CustomComponent: r, connectionStatus: i }) => { - var S, _, A; - const { fromNode: a, handleId: l, toX: s, toY: u, connectionMode: c } = Ze(Me((R) => ({ - fromNode: R.nodeInternals.get(e), - handleId: R.connectionHandleId, - toX: (R.connectionPosition.x - R.transform[0]) / R.transform[2], - toY: (R.connectionPosition.y - R.transform[1]) / R.transform[2], - connectionMode: R.connectionMode - }), [e]), st), d = (S = a == null ? void 0 : a[qe]) == null ? void 0 : S.handleBounds; - let h = d == null ? void 0 : d[t]; - if (c === Jn.Loose && (h = h || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !a || !h) - return null; - const f = l ? h.find((R) => R.id === l) : h[0], m = f ? f.x + f.width / 2 : (a.width ?? 0) / 2, b = f ? f.y + f.height / 2 : a.height ?? 0, y = (((_ = a.positionAbsolute) == null ? void 0 : _.x) ?? 0) + m, g = (((A = a.positionAbsolute) == null ? void 0 : A.y) ?? 0) + b, x = f == null ? void 0 : f.position, C = x ? Jb[x] : null; - if (!x || !C) - return null; - if (r) - return $.createElement(r, { connectionLineType: o, connectionLineStyle: n, fromNode: a, fromHandle: f, fromX: y, fromY: g, toX: s, toY: u, fromPosition: x, toPosition: C, connectionStatus: i }); - let E = ""; - const w = { - sourceX: y, - sourceY: g, - sourcePosition: x, - targetX: s, - targetY: u, - targetPosition: C - }; - return o === Nn.Bezier ? [E] = M3(w) : o === Nn.Step ? [E] = Ss({ - ...w, - borderRadius: 0 - }) : o === Nn.SmoothStep ? [E] = Ss(w) : o === Nn.SimpleBezier ? [E] = A3(w) : E = `M${y},${g} ${s},${u}`, $.createElement("path", { d: E, fill: "none", className: "react-flow__connection-path", style: n }); -}; -of.displayName = "ConnectionLine"; -const ey = (e) => ({ - nodeId: e.connectionNodeId, - handleType: e.connectionHandleType, - nodesConnectable: e.nodesConnectable, - connectionStatus: e.connectionStatus, - width: e.width, - height: e.height -}); -function ty({ containerStyle: e, style: t, type: n, component: o }) { - const { nodeId: r, handleType: i, nodesConnectable: a, width: l, height: s, connectionStatus: u } = Ze(ey, st); - return !(r && i && l && a) ? null : $.createElement( - "svg", - { style: e, width: l, height: s, className: "react-flow__edges react-flow__connectionline react-flow__container" }, - $.createElement( - "g", - { className: bt(["react-flow__connection", u]) }, - $.createElement(of, { nodeId: r, handleType: i, style: t, type: n, CustomComponent: o, connectionStatus: u }) - ) - ); -} -function Iu(e, t) { - const n = pe(null), o = nt(); - return Be(() => { - var i, a; - if (process.env.NODE_ENV === "development") { - const l = Object.keys(e); - st(n.current, l) && ((a = (i = o.getState()).onError) == null || a.call(i, "002", Kt.error002())), n.current = l; - } - return t(e); - }, [e]); -} -const rf = ({ nodeTypes: e, edgeTypes: t, onMove: n, onMoveStart: o, onMoveEnd: r, onInit: i, onNodeClick: a, onEdgeClick: l, onNodeDoubleClick: s, onEdgeDoubleClick: u, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: h, onNodeContextMenu: f, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: y, connectionLineType: g, connectionLineStyle: x, connectionLineComponent: C, connectionLineContainerStyle: E, selectionKeyCode: w, selectionOnDrag: S, selectionMode: _, multiSelectionKeyCode: A, panActivationKeyCode: R, zoomActivationKeyCode: L, deleteKeyCode: j, onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, defaultViewport: N, translateExtent: T, minZoom: F, maxZoom: I, preventScrolling: D, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, panOnScroll: M, panOnScrollSpeed: W, panOnScrollMode: G, zoomOnDoubleClick: K, panOnDrag: Q, onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneScroll: J, onPaneContextMenu: ke, onEdgeContextMenu: ie, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: Jt, noDragClassName: Nt, noWheelClassName: en, noPanClassName: St, elevateEdgesOnSelect: Vt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) => { - const xe = Iu(e, Tb), de = Iu(t, jb); - return Qb(i), $.createElement( - Ab, - { onPaneClick: ne, onPaneMouseEnter: oe, onPaneMouseMove: U, onPaneMouseLeave: ge, onPaneContextMenu: ke, onPaneScroll: J, deleteKeyCode: j, selectionKeyCode: w, selectionOnDrag: S, selectionMode: _, onSelectionStart: b, onSelectionEnd: y, multiSelectionKeyCode: A, panActivationKeyCode: R, zoomActivationKeyCode: L, elementsSelectable: V, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: z, zoomOnPinch: B, zoomOnDoubleClick: K, panOnScroll: M, panOnScrollSpeed: W, panOnScrollMode: G, panOnDrag: Q, defaultViewport: N, translateExtent: T, minZoom: F, maxZoom: I, onSelectionContextMenu: m, preventScrolling: D, noDragClassName: Nt, noWheelClassName: en, noPanClassName: St, disableKeyboardA11y: Dt }, - $.createElement( - Xb, - null, - $.createElement( - Gb, - { edgeTypes: de, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: P, onEdgeContextMenu: ie, onEdgeMouseEnter: _e, onEdgeMouseMove: $e, onEdgeMouseLeave: Ee, onReconnect: le, onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: Jt, defaultMarkerColor: v, noPanClassName: St, elevateEdgesOnSelect: !!Vt, disableKeyboardA11y: Dt, rfId: se }, - $.createElement(ty, { style: x, type: g, component: C, containerStyle: E }) + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement( + "g", + { clipPath: "url(#clip0_20572_494884)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", + fill: "#EF5DA8", + stroke: "#EF5DA8", + strokeWidth: 0.2, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", + fill: "#EF5DA8", + }), ), - $.createElement("div", { className: "react-flow__edgelabel-renderer" }), - $.createElement(Db, { nodeTypes: xe, onNodeClick: a, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: h, onNodeContextMenu: f, selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, noDragClassName: Nt, disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se }) - ) - ); -}; -rf.displayName = "GraphView"; -var ny = Ye(rf); -const Ts = [ - [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], - [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY] -], kn = { - rfId: "1", - width: 0, - height: 0, - transform: [0, 0, 1], - nodeInternals: /* @__PURE__ */ new Map(), - edges: [], - onNodesChange: null, - onEdgesChange: null, - hasDefaultNodes: !1, - hasDefaultEdges: !1, - d3Zoom: null, - d3Selection: null, - d3ZoomHandler: void 0, - minZoom: 0.5, - maxZoom: 2, - translateExtent: Ts, - nodeExtent: Ts, - nodesSelectionActive: !1, - userSelectionActive: !1, - userSelectionRect: null, - connectionNodeId: null, - connectionHandleId: null, - connectionHandleType: "source", - connectionPosition: { x: 0, y: 0 }, - connectionStatus: null, - connectionMode: Jn.Strict, - domNode: null, - paneDragging: !1, - noPanClassName: "nopan", - nodeOrigin: [0, 0], - nodeDragThreshold: 0, - snapGrid: [15, 15], - snapToGrid: !1, - nodesDraggable: !0, - nodesConnectable: !0, - nodesFocusable: !0, - edgesFocusable: !0, - edgesUpdatable: !0, - elementsSelectable: !0, - elevateNodesOnSelect: !0, - fitViewOnInit: !1, - fitViewOnInitDone: !1, - fitViewOnInitOptions: void 0, - onSelectionChange: [], - multiSelectionActive: !1, - connectionStartHandle: null, - connectionEndHandle: null, - connectionClickStartHandle: null, - connectOnClick: !0, - ariaLiveMessage: "", - autoPanOnConnect: !0, - autoPanOnNodeDrag: !0, - connectionRadius: 20, - onError: E3, - isValidConnection: void 0 -}, oy = () => V9((e, t) => ({ - ...kn, - setNodes: (n) => { - const { nodeInternals: o, nodeOrigin: r, elevateNodesOnSelect: i } = t(); - e({ nodeInternals: Rl(n, o, r, i) }); - }, - getNodes: () => Array.from(t().nodeInternals.values()), - setEdges: (n) => { - const { defaultEdgeOptions: o = {} } = t(); - e({ edges: n.map((r) => ({ ...o, ...r })) }); - }, - setDefaultNodesAndEdges: (n, o) => { - const r = typeof n < "u", i = typeof o < "u", a = r ? Rl(n, /* @__PURE__ */ new Map(), t().nodeOrigin, t().elevateNodesOnSelect) : /* @__PURE__ */ new Map(); - e({ nodeInternals: a, edges: i ? o : [], hasDefaultNodes: r, hasDefaultEdges: i }); - }, - updateNodeDimensions: (n) => { - const { onNodesChange: o, nodeInternals: r, fitViewOnInit: i, fitViewOnInitDone: a, fitViewOnInitOptions: l, domNode: s, nodeOrigin: u } = t(), c = s == null ? void 0 : s.querySelector(".react-flow__viewport"); - if (!c) - return; - const d = window.getComputedStyle(c), { m22: h } = new window.DOMMatrixReadOnly(d.transform), f = n.reduce((b, y) => { - const g = r.get(y.id); - if (g != null && g.hidden) - r.set(g.id, { - ...g, - [qe]: { - ...g[qe], - // we need to reset the handle bounds when the node is hidden - // in order to force a new observation when the node is shown again - handleBounds: void 0 - } - }); - else if (g) { - const x = Sc(y.nodeElement); - !!(x.width && x.height && (g.width !== x.width || g.height !== x.height || y.forceUpdate)) && (r.set(g.id, { - ...g, - [qe]: { - ...g[qe], - handleBounds: { - source: Ou(".source", y.nodeElement, h, u), - target: Ou(".target", y.nodeElement, h, u) - } + /* @__PURE__ */ O.createElement("path", { + d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", + fill: "#EF5DA8", + }), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "clipPath", + { id: "clip0_20572_494884" }, + /* @__PURE__ */ O.createElement("rect", { + width: 16, + height: 16, + fill: "white", + transform: "translate(10 6)", + }), + ), + ), + ), + Yu = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", + fill: "#9B8AFF", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", + fill: "#9B8AFF", + }), + ), + Fv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#E6EEF9", + }), + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_20565_492827", + style: { + maskType: "luminance", }, - ...x - }), b.push({ - id: g.id, - type: "dimensions", - dimensions: x - })); - } - return b; - }, []); - U3(r, u); - const m = a || i && !a && q3(t, { initial: !0, ...l }); - e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), (f == null ? void 0 : f.length) > 0 && (o == null || o(f)); - }, - updateNodePositions: (n, o = !0, r = !1) => { - const { triggerNodeChanges: i } = t(), a = n.map((l) => { - const s = { - id: l.id, - type: "position", - dragging: r - }; - return o && (s.positionAbsolute = l.positionAbsolute, s.position = l.position), s; - }); - i(a); - }, - triggerNodeChanges: (n) => { - const { onNodesChange: o, nodeInternals: r, hasDefaultNodes: i, nodeOrigin: a, getNodes: l, elevateNodesOnSelect: s } = t(); - if (n != null && n.length) { - if (i) { - const u = yb(n, l()), c = Rl(u, r, a, s); - e({ nodeInternals: c }); - } - o == null || o(n); - } - }, - addSelectedNodes: (n) => { - const { multiSelectionActive: o, edges: r, getNodes: i } = t(); - let a, l = null; - o ? a = n.map((s) => On(s, !0)) : (a = co(i(), n), l = co(r, [])), Jr({ - changedNodes: a, - changedEdges: l, - get: t, - set: e - }); - }, - addSelectedEdges: (n) => { - const { multiSelectionActive: o, edges: r, getNodes: i } = t(); - let a, l = null; - o ? a = n.map((s) => On(s, !0)) : (a = co(r, n), l = co(i(), [])), Jr({ - changedNodes: l, - changedEdges: a, - get: t, - set: e - }); - }, - unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { - const { edges: r, getNodes: i } = t(), a = n || i(), l = o || r, s = a.map((c) => (c.selected = !1, On(c.id, !1))), u = l.map((c) => On(c.id, !1)); - Jr({ - changedNodes: s, - changedEdges: u, - get: t, - set: e - }); - }, - setMinZoom: (n) => { - const { d3Zoom: o, maxZoom: r } = t(); - o == null || o.scaleExtent([n, r]), e({ minZoom: n }); - }, - setMaxZoom: (n) => { - const { d3Zoom: o, minZoom: r } = t(); - o == null || o.scaleExtent([r, n]), e({ maxZoom: n }); - }, - setTranslateExtent: (n) => { - var o; - (o = t().d3Zoom) == null || o.translateExtent(n), e({ translateExtent: n }); - }, - resetSelectedElements: () => { - const { edges: n, getNodes: o } = t(), i = o().filter((l) => l.selected).map((l) => On(l.id, !1)), a = n.filter((l) => l.selected).map((l) => On(l.id, !1)); - Jr({ - changedNodes: i, - changedEdges: a, - get: t, - set: e - }); - }, - setNodeExtent: (n) => { - const { nodeInternals: o } = t(); - o.forEach((r) => { - r.positionAbsolute = kc(r.position, n); - }), e({ - nodeExtent: n, - nodeInternals: new Map(o) - }); - }, - panBy: (n) => { - const { transform: o, width: r, height: i, d3Zoom: a, d3Selection: l, translateExtent: s } = t(); - if (!a || !l || !n.x && !n.y) - return !1; - const u = Dn.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), c = [ - [0, 0], - [r, i] - ], d = a == null ? void 0 : a.constrain()(u, c, s); - return a.transform(l, d), o[0] !== d.x || o[1] !== d.y || o[2] !== d.k; - }, - cancelConnection: () => e({ - connectionNodeId: kn.connectionNodeId, - connectionHandleId: kn.connectionHandleId, - connectionHandleType: kn.connectionHandleType, - connectionStatus: kn.connectionStatus, - connectionStartHandle: kn.connectionStartHandle, - connectionEndHandle: kn.connectionEndHandle - }), - reset: () => e({ ...kn }) -}), Object.is), Mr = ({ children: e }) => { - const t = pe(null); - return t.current || (t.current = oy()), $.createElement(xm, { value: t.current }, e); -}; -Mr.displayName = "ReactFlowProvider"; -const af = ({ children: e }) => Je(oa) ? $.createElement($.Fragment, null, e) : $.createElement(Mr, null, e); -af.displayName = "ReactFlowWrapper"; -const ry = { - input: H3, - default: As, - output: B3, - group: Lc -}, iy = { - default: Ri, - straight: Tc, - step: Mc, - smoothstep: ra, - simplebezier: Ac -}, ay = [0, 0], ly = [15, 15], sy = { x: 0, y: 0, zoom: 1 }, cy = { - width: "100%", - height: "100%", - overflow: "hidden", - position: "relative", - zIndex: 0 -}, ia = Ys(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: i = ry, edgeTypes: a = iy, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: h, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: E, onNodeContextMenu: w, onNodeDoubleClick: S, onNodeDragStart: _, onNodeDrag: A, onNodeDragStop: R, onNodesDelete: L, onEdgesDelete: j, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: F, onSelectionEnd: I, connectionMode: D = Jn.Strict, connectionLineType: v = Nn.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: M, deleteKeyCode: W = "Backspace", selectionKeyCode: G = "Shift", selectionOnDrag: K = !1, selectionMode: Q = mr.Full, panActivationKeyCode: ne = "Space", multiSelectionKeyCode: oe = Li() ? "Meta" : "Control", zoomActivationKeyCode: U = Li() ? "Meta" : "Control", snapToGrid: ge = !1, snapGrid: J = ly, onlyRenderVisibleElements: ke = !1, selectNodesOnDrag: ie = !0, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, nodeOrigin: le = ay, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: Jt, defaultViewport: Nt = sy, minZoom: en = 0.5, maxZoom: St = 2, translateExtent: Vt = Ts, preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, zoomOnPinch: xe = !0, panOnScroll: de = !1, panOnScrollSpeed: Ve = 0.5, panOnScrollMode: et = Wn.Free, zoomOnDoubleClick: Qe = !0, panOnDrag: ft = !0, onPaneClick: rt, onPaneMouseEnter: Se, onPaneMouseMove: $t, onPaneMouseLeave: it, onPaneScroll: En, onPaneContextMenu: tn, children: no, onEdgeContextMenu: Wt, onEdgeDoubleClick: Lr, onEdgeMouseEnter: fa, onEdgeMouseMove: Fr, onEdgeMouseLeave: pa, onEdgeUpdate: Rr, onEdgeUpdateStart: jr, onEdgeUpdateEnd: ha, onReconnect: ga, onReconnectStart: Ir, onReconnectEnd: zr, reconnectRadius: ma = 10, edgeUpdaterRadius: ba = 10, onNodesChange: ya, onEdgesChange: Ca, noDragClassName: H = "nodrag", noWheelClassName: X = "nowheel", noPanClassName: re = "nopan", fitView: fe = !1, fitViewOptions: Ae, connectOnClick: Re = !0, attributionPosition: we, proOptions: ye, defaultEdgeOptions: at, elevateNodesOnSelect: We = !0, elevateEdgesOnSelect: Ue = !1, disableKeyboardA11y: pt = !1, autoPanOnConnect: Sn = !0, autoPanOnNodeDrag: pn = !0, connectionRadius: ct = 20, isValidConnection: zo, onError: va, style: xa, id: g1, nodeDragThreshold: _5, ...A5 }, M5) => { - const wa = g1 || "1"; - return $.createElement( - "div", - { ...A5, style: { ...xa, ...cy }, ref: M5, className: bt(["react-flow", r]), "data-testid": "rf__wrapper", id: g1 }, - $.createElement( - af, - null, - $.createElement(ny, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: h, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: x, onNodeMouseMove: C, onNodeMouseLeave: E, onNodeContextMenu: w, onNodeDoubleClick: S, nodeTypes: i, edgeTypes: a, connectionLineType: v, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: M, selectionKeyCode: G, selectionOnDrag: K, selectionMode: Q, deleteKeyCode: W, multiSelectionKeyCode: oe, panActivationKeyCode: ne, zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ie, defaultViewport: Nt, translateExtent: Vt, minZoom: en, maxZoom: St, preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: Qe, panOnScroll: de, panOnScrollSpeed: Ve, panOnScrollMode: et, panOnDrag: ft, onPaneClick: rt, onPaneMouseEnter: Se, onPaneMouseMove: $t, onPaneMouseLeave: it, onPaneScroll: En, onPaneContextMenu: tn, onSelectionContextMenu: T, onSelectionStart: F, onSelectionEnd: I, onEdgeContextMenu: Wt, onEdgeDoubleClick: Lr, onEdgeMouseEnter: fa, onEdgeMouseMove: Fr, onEdgeMouseLeave: pa, onReconnect: ga ?? Rr, onReconnectStart: Ir ?? jr, onReconnectEnd: zr ?? ha, reconnectRadius: ma ?? ba, defaultMarkerColor: ee, noDragClassName: H, noWheelClassName: X, noPanClassName: re, elevateEdgesOnSelect: Ue, rfId: wa, disableKeyboardA11y: pt, nodeOrigin: le, nodeExtent: Z }), - $.createElement(Qm, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: f, onConnectStart: m, onConnectEnd: b, onClickConnectStart: y, onClickConnectEnd: g, nodesDraggable: _e, nodesConnectable: $e, nodesFocusable: Ee, edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: Jt, elevateNodesOnSelect: We, minZoom: en, maxZoom: St, nodeExtent: Z, onNodesChange: ya, onEdgesChange: Ca, snapToGrid: ge, snapGrid: J, connectionMode: D, translateExtent: Vt, connectOnClick: Re, defaultEdgeOptions: at, fitView: fe, fitViewOptions: Ae, onNodesDelete: L, onEdgesDelete: j, onNodeDragStart: _, onNodeDrag: A, onNodeDragStop: R, onSelectionDrag: k, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: wa, autoPanOnConnect: Sn, autoPanOnNodeDrag: pn, onError: va, connectionRadius: ct, isValidConnection: zo, nodeDragThreshold: _5 }), - $.createElement(Km, { onSelectionChange: P }), - no, - $.createElement(Em, { proOptions: ye, position: we }), - $.createElement(ob, { rfId: wa, disableKeyboardA11y: pt }) - ) - ); -}); -ia.displayName = "ReactFlow"; -function uy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, - $.createElement("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }) - ); -} -function dy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, - $.createElement("path", { d: "M0 0h32v4.2H0z" }) - ); -} -function fy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, - $.createElement("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }) - ); -} -function py() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, - $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }) - ); -} -function hy() { - return $.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, - $.createElement("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z" }) - ); -} -const Qo = ({ children: e, className: t, ...n }) => $.createElement("button", { type: "button", className: bt(["react-flow__controls-button", t]), ...n }, e); -Qo.displayName = "ControlButton"; -const gy = (e) => ({ - isInteractive: e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, - minZoomReached: e.transform[2] <= e.minZoom, - maxZoomReached: e.transform[2] >= e.maxZoom -}), lf = ({ style: e, showZoom: t = !0, showFitView: n = !0, showInteractive: o = !0, fitViewOptions: r, onZoomIn: i, onZoomOut: a, onFitView: l, onInteractiveChange: s, className: u, children: c, position: d = "bottom-left" }) => { - const h = nt(), [f, m] = ue(!1), { isInteractive: b, minZoomReached: y, maxZoomReached: g } = Ze(gy, st), { zoomIn: x, zoomOut: C, fitView: E } = Qt(); - if (ce(() => { - m(!0); - }, []), !f) - return null; - const w = () => { - x(), i == null || i(); - }, S = () => { - C(), a == null || a(); - }, _ = () => { - E(r), l == null || l(); - }, A = () => { - h.setState({ - nodesDraggable: !b, - nodesConnectable: !b, - elementsSelectable: !b - }), s == null || s(!b); - }; - return $.createElement( - C3, - { className: bt(["react-flow__controls", u]), position: d, style: e, "data-testid": "rf__controls" }, - t && $.createElement( - $.Fragment, - null, - $.createElement( - Qo, - { onClick: w, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: g }, - $.createElement(uy, null) + maskUnits: "userSpaceOnUse", + x: 11, + y: 7, + width: 14, + height: 14, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M11 7H25V21H11V7Z", + fill: "white", + }), ), - $.createElement( - Qo, - { onClick: S, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: y }, - $.createElement(dy, null) - ) + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_20565_492827)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 20.5898H24.5898", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", + fill: "#004FBF", + }), + ), + Rv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M18.54 3.24828H5.46C4.24 3.24828 3.25 4.23828 3.25 5.45828C3.25 5.98828 3.44 6.49828 3.78 6.89828L8.95 12.9283C9.14 13.1583 9.25 13.4483 9.25 13.7383V19.3783C9.25 19.9883 9.56 20.5483 10.08 20.8683C10.36 21.0383 10.68 21.1283 11 21.1283C11.27 21.1283 11.53 21.0683 11.78 20.9383L13.78 19.9383C14.38 19.6383 14.75 19.0383 14.75 18.3683V13.7283C14.75 13.4283 14.86 13.1383 15.05 12.9183L20.22 6.88828C20.56 6.48828 20.75 5.97828 20.75 5.44828C20.75 4.22828 19.76 3.23828 18.54 3.23828V3.24828ZM19.08 5.91828L13.91 11.9483C13.48 12.4483 13.25 13.0783 13.25 13.7383V18.3783C13.25 18.4783 13.2 18.5583 13.11 18.5983L11.11 19.5983C11 19.6583 10.91 19.6183 10.87 19.5883C10.83 19.5583 10.75 19.4983 10.75 19.3783V13.7383C10.75 13.0783 10.52 12.4483 10.09 11.9483L4.92 5.91828C4.81 5.78828 4.75 5.62828 4.75 5.45828C4.75 5.06828 5.07 4.74828 5.46 4.74828H18.54C18.93 4.74828 19.25 5.06828 19.25 5.45828C19.25 5.62828 19.19 5.78828 19.08 5.91828Z", + fill: "#247EFE", + }), + ), + jv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M18.9296 14.4993C18.6563 14.5005 18.384 14.5337 18.1184 14.5982L14.5404 8.39545C15.0097 7.89859 15.3231 7.27512 15.442 6.60208C15.5608 5.92904 15.4799 5.23592 15.2092 4.60837C14.9385 3.98081 14.4899 3.44632 13.9187 3.07092C13.3476 2.69553 12.679 2.49569 11.9955 2.49609C11.3121 2.4965 10.6437 2.69713 10.073 3.07319C9.50234 3.44926 9.05434 3.98428 8.78437 4.61216C8.51439 5.24003 8.43429 5.93325 8.55395 6.60615C8.67361 7.27905 8.98779 7.90214 9.45767 8.39845L5.8812 14.5986C5.21597 14.4366 4.51782 14.4732 3.8732 14.704C3.22858 14.9347 2.66579 15.3495 2.25452 15.8969C1.84325 16.4443 1.60157 17.1003 1.55938 17.7837C1.5172 18.467 1.67638 19.1478 2.01721 19.7416C2.35804 20.3354 2.86554 20.8162 3.47689 21.1245C4.08824 21.4328 4.77659 21.555 5.45669 21.476C6.1368 21.397 6.7788 21.1203 7.3032 20.68C7.82761 20.2398 8.21138 19.6555 8.40701 18.9993H15.5928C15.7796 19.6194 16.1351 20.1754 16.6197 20.6051C17.1042 21.0348 17.6987 21.3213 18.3367 21.4326C18.9747 21.5439 19.6311 21.4756 20.2325 21.2354C20.8339 20.9952 21.3567 20.5925 21.7425 20.0722C22.1282 19.552 22.3617 18.9348 22.4169 18.2895C22.4721 17.6442 22.3468 16.9963 22.0549 16.4182C21.7631 15.84 21.3163 15.3544 20.7644 15.0155C20.2125 14.6767 19.5772 14.498 18.9296 14.4993ZM11.9999 4.49933C12.2128 4.49996 12.423 4.54591 12.6167 4.63412C12.8104 4.72233 12.9831 4.85078 13.1233 5.01093C13.2635 5.17107 13.368 5.35924 13.4299 5.56291C13.4917 5.76658 13.5094 5.98108 13.4819 6.19214C13.4544 6.4032 13.3822 6.60598 13.2703 6.78699C13.1583 6.96799 13.009 7.12308 12.8324 7.24192C12.6559 7.36076 12.456 7.44063 12.2462 7.47622C12.0363 7.51181 11.8213 7.50231 11.6154 7.44833C11.4858 7.41393 11.3617 7.36124 11.247 7.29184C10.9617 7.12672 10.7388 6.87203 10.6131 6.5673C10.4873 6.26257 10.4657 5.92485 10.5515 5.60656C10.6373 5.28827 10.8258 5.00721 11.0877 4.807C11.3496 4.6068 11.6703 4.49865 11.9999 4.49933ZM11.1864 9.40509C11.209 9.4104 11.2335 9.4082 11.2563 9.41309C11.7482 9.52841 12.26 9.52806 12.7517 9.41209C12.7717 9.40776 12.7935 9.40977 12.8134 9.40509L16.3866 15.5989C16.3737 15.6126 16.3658 15.6299 16.3532 15.6437C16.1806 15.8293 16.0286 16.0329 15.8999 16.2512L15.8992 16.2526C15.7761 16.4702 15.6765 16.7003 15.6022 16.939C15.5955 16.96 15.5824 16.9782 15.5761 16.9993H8.42374C8.41774 16.9795 8.40549 16.9623 8.3992 16.9426C8.24348 16.4521 7.98155 16.002 7.63205 15.6242C7.62485 15.6165 7.62045 15.6066 7.61319 15.5989L11.1864 9.40509ZM5.07022 19.4993C4.67239 19.4993 4.29086 19.3413 4.00956 19.06C3.72825 18.7787 3.57022 18.3972 3.57022 17.9993C3.57022 17.6015 3.72825 17.22 4.00956 16.9387C4.29086 16.6574 4.67239 16.4993 5.07022 16.4993C5.33569 16.4971 5.59649 16.5691 5.82315 16.7073C6.10846 16.8724 6.33128 17.1271 6.45704 17.4318C6.58279 17.7365 6.60443 18.0741 6.51861 18.3924C6.43278 18.7107 6.24429 18.9917 5.98239 19.1918C5.72049 19.392 5.39984 19.5001 5.07022 19.4993ZM18.9296 19.4993C18.5986 19.5001 18.2767 19.3911 18.0143 19.1894C17.7519 18.9878 17.5637 18.7048 17.4792 18.3848C17.3947 18.0648 17.4186 17.7258 17.5473 17.4209C17.676 17.1159 17.9021 16.8623 18.1903 16.6995C18.4135 16.5656 18.6694 16.4963 18.9296 16.4993C19.3274 16.4993 19.709 16.6574 19.9903 16.9387C20.2716 17.22 20.4296 17.6015 20.4296 17.9993C20.4296 18.3972 20.2716 18.7787 19.9903 19.06C19.709 19.3413 19.3274 19.4993 18.9296 19.4993Z", + fill: "#247EFE", + }), + ), + Iv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", + stroke: "#247EFE", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", + stroke: "#247EFE", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", + fill: "#247EFE", + }), + ), + zv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", + fill: "#247EFE", + }), + ), + Hv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M22 13.7945C22 15.9444 21.3018 17.985 19.9808 19.6963C19.7202 20.0341 19.2301 20.0996 18.8864 19.8449C18.5424 19.5898 18.4745 19.1097 18.7346 18.7726C19.8487 17.3295 20.4375 15.6081 20.4375 13.7945C20.4375 9.22487 16.6608 5.5311 12 5.5311C7.336 5.5311 3.5625 9.22772 3.5625 13.7945C3.5625 15.6081 4.15134 17.3295 5.26523 18.7726C5.52554 19.1097 5.45764 19.5898 5.11356 19.8449C4.76932 20.1 4.27951 20.0335 4.01904 19.6963C2.69824 17.985 2 15.9444 2 13.7945C2 8.37828 6.47571 4 12 4C17.5273 4 22 8.38127 22 13.7945ZM16.9501 9.18405C17.2551 9.48295 17.2551 9.9677 16.9501 10.2666L14.4036 12.762C14.6132 13.1407 14.7325 13.5743 14.7325 14.0345C14.7325 15.5111 13.5067 16.7122 12 16.7122C10.4932 16.7122 9.26746 15.5111 9.26746 14.0345C9.26746 12.5582 10.4932 11.3569 12 11.3569C12.4698 11.3569 12.9122 11.4738 13.2987 11.6793L15.8452 9.18391C16.1504 8.88501 16.6449 8.88501 16.9501 9.18405ZM13.17 14.0347C13.17 13.4025 12.6451 12.8881 12 12.8881C11.3549 12.8881 10.83 13.4025 10.83 14.0347C10.83 14.6669 11.3549 15.1812 12 15.1812C12.6451 15.1812 13.17 14.6669 13.17 14.0347Z", + fill: "#247EFE", + }), + ), + Pv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", + fill: "#247EFE", + }), + ), + Bv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", + fill: "white", + }), + ), + Vv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", + fill: "#247EFE", + }), + ), + $v = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", + fill: "#247EFE", + stroke: "white", + strokeWidth: 0.4, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", + fill: "#247EFE", + stroke: "white", + strokeWidth: 0.4, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", + fill: "#247EFE", + stroke: "white", + strokeWidth: 0.6, + }), + /* @__PURE__ */ O.createElement("path", { + d: "M18.1372 15.5742L5.90025 8.50921", + stroke: "white", + strokeWidth: 0.6, + strokeLinecap: "round", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M5.90015 15.5703L18.1371 8.5053", + stroke: "white", + strokeWidth: 0.6, + strokeLinecap: "round", + }), + ), + Wv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", + fill: "#247EFE", + }), + ), + Zv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 40 40", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", + fill: "white", + }), ), - n && $.createElement( - Qo, - { className: "react-flow__controls-fitview", onClick: _, title: "fit view", "aria-label": "fit view" }, - $.createElement(fy, null) + Uv = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M19 8H16V5C16 4.20435 15.6839 3.44129 15.1213 2.87868C14.5587 2.31607 13.7956 2 13 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V13C2 13.7956 2.31607 14.5587 2.87868 15.1213C3.44129 15.6839 4.20435 16 5 16H8V19C8 19.7956 8.31607 20.5587 8.87868 21.1213C9.44129 21.6839 10.2044 22 11 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V11C22 10.2044 21.6839 9.44129 21.1213 8.87868C20.5587 8.31607 19.7956 8 19 8ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H11C10.7348 20 10.4804 19.8946 10.2929 19.7071C10.1054 19.5196 10 19.2652 10 19V15C10 14.7348 9.89464 14.4804 9.70711 14.2929C9.51957 14.1054 9.26522 14 9 14H5C4.73478 14 4.48043 13.8946 4.29289 13.7071C4.10536 13.5196 4 13.2652 4 13V5C4 4.73478 4.10536 4.48043 4.29289 4.29289C4.48043 4.10536 4.73478 4 5 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5V9C14 9.26522 14.1054 9.51957 14.2929 9.70711C14.4804 9.89464 14.7348 10 15 10H19C19.2652 10 19.5196 10.1054 19.7071 10.2929C19.8946 10.4804 20 10.7348 20 11V19Z", + fill: "#247EFE", + }), ), - o && $.createElement(Qo, { className: "react-flow__controls-interactive", onClick: A, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? $.createElement(hy, null) : $.createElement(py, null)), - c - ); -}; -lf.displayName = "Controls"; -var Rc = Ye(lf), Gt; -(function(e) { - e.Lines = "lines", e.Dots = "dots", e.Cross = "cross"; -})(Gt || (Gt = {})); -function my({ color: e, dimensions: t, lineWidth: n }) { - return $.createElement("path", { stroke: e, strokeWidth: n, d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}` }); -} -function by({ color: e, radius: t }) { - return $.createElement("circle", { cx: t, cy: t, r: t, fill: e }); -} -const yy = { - [Gt.Dots]: "#91919a", - [Gt.Lines]: "#eee", - [Gt.Cross]: "#e2e2e2" -}, Cy = { - [Gt.Dots]: 1, - [Gt.Lines]: 1, - [Gt.Cross]: 6 -}, vy = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); -function sf({ - id: e, - variant: t = Gt.Dots, - // only used for dots and cross - gap: n = 20, - // only used for lines and cross - size: o, - lineWidth: r = 1, - offset: i = 2, - color: a, - style: l, - className: s -}) { - const u = pe(null), { transform: c, patternId: d } = Ze(vy, st), h = a || yy[t], f = o || Cy[t], m = t === Gt.Dots, b = t === Gt.Cross, y = Array.isArray(n) ? n : [n, n], g = [y[0] * c[2] || 1, y[1] * c[2] || 1], x = f * c[2], C = b ? [x, x] : g, E = m ? [x / i, x / i] : [C[0] / i, C[1] / i]; - return $.createElement( - "svg", - { className: bt(["react-flow__background", s]), style: { - ...l, - position: "absolute", - width: "100%", - height: "100%", - top: 0, - left: 0 - }, ref: u, "data-testid": "rf__background" }, - $.createElement("pattern", { id: d + e, x: c[0] % g[0], y: c[1] % g[1], width: g[0], height: g[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${E[0]},-${E[1]})` }, m ? $.createElement(by, { color: h, radius: x / i }) : $.createElement(my, { dimensions: C, color: h, lineWidth: r })), - $.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: `url(#${d + e})` }) - ); -} -sf.displayName = "Background"; -var jc = Ye(sf); -const Ic = "columns", zc = "exposure", Hc = "tables", xy = "feedback", cf = "settings", bn = "column-", uf = "see-more-", wy = 5, Ey = 100, Hl = 100, Tr = 300, yo = 80, Sy = 12, ky = yo, df = 30, zu = 4, _y = 280, Ay = 80, My = 80, Ty = 250, Os = 0.05, ff = "#7A899E", Pc = "#E38E00", Bc = { - Original: "#FDD835", - Alias: "#40C8AE", - Transformation: "#FF754C", - Unchanged: "#BC3FBC", - "Not sure": "#247efe", - "Non select": "#BC3FBC" -}, aa = { - stroke: ff, - strokeWidth: 1 -}, Vc = { - stroke: Pc, - strokeWidth: 2 -}, $c = { - stroke: Pc, - strokeWidth: 1, - strokeDasharray: 10 -}, pf = { - type: "arrow", - strokeWidth: 1, - width: 24, - height: 24, - color: ff -}, hf = { - type: "arrow", - strokeWidth: 1, - width: 16, - height: 16, - color: Pc -}, vt = (e) => e.id.startsWith(bn), ti = (e) => e.id.startsWith(uf), xn = (e) => !e.id.startsWith(bn), Wc = (e, t, n, o, r, i = !1) => { - const [a, l] = r ? [n, o] : [o, n], [s, u] = r ? Ns(e, t, i) : Ns(t, e, i); - return { - id: `${a}-${l}`, - source: a, - target: l, - sourceHandle: s, - targetHandle: u, - style: aa, - markerEnd: pf, - type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default" - }; -}, To = (e, t, n) => ({ - id: e.table, - data: { ...e, level: t, parent: n }, - position: { x: 100, y: 100 }, - type: "table", - width: Tr, - height: yo -}), gf = (e, t, n, o) => ({ - id: e, - data: { ...o, level: t, parent: n, id: e }, - position: { x: 100, y: 100 }, - type: "operator", - width: Tr, - height: yo -}), ji = (e, t, n, o, r) => ({ - id: yr(e, t), - data: { column: t, table: e, viewsType: n, viewsCode: o, nodeType: r }, - parentNode: e, - extent: "parent", - draggable: !1, - type: "column", - position: { x: 100, y: 100 }, - height: df -}), Ii = (e, t, n, o, r, i) => { - const a = la(e, t), [l, s] = Ns( - n, - o, - !1 - ); - return { - id: a, - data: { type: r }, - source: e, - target: t, - sourceHandle: l, - targetHandle: s, - style: r === "direct" ? Vc : $c, - zIndex: 1e3, - markerEnd: hf, - type: n === o ? "smoothstep" : "default", - hidden: !i[r] - }; -}, la = (e, t) => bn + `${e}-${t}`, zi = (e, t) => { - e.style = { opacity: t ? 1 : 0.5 }; -}, Oo = (e, t) => { - var n; - e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? $c : Vc : aa, e.markerEnd = t ? hf : pf; -}, Ns = (e, t, n) => n ? e < t ? ["bottom", "top"] : e > t ? ["top", "bottom"] : e < 0 ? ["top", "top"] : ["bottom", "bottom"] : e < t ? ["right", "left"] : e > t ? ["left", "right"] : e < 0 ? ["left", "left"] : ["right", "right"], Oy = (e, t) => { - const n = {}; - e.forEach((i) => { - xn(i) && (n[i.id] = i.data.level); - }); - const o = {}; - e.filter((i) => i.type === "table").forEach((i) => o[i.id] = !0); - const r = {}; - for (const i of t) { - if (vt(i)) continue; - const a = o[i.source], l = o[i.target]; - if (!(a && l)) { - if (a) { - e.find((u) => u.id === i.target).data.tables.forEach((u) => { - r[u.table] = i.target; - }); - continue; - } - l && e.find((u) => u.id === i.source).data.tables.forEach((u) => { - r[u.table] = i.source; - }); - } - } - return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; -}, yr = (e, t) => bn + `${e}/${t}`, Hi = (e, t) => uf + e + "-" + (t ? "1" : "0"), Hu = (e, t) => { - for (const n of e) - if (n[0] === t[0] && n[1] === t[1]) return !0; - return !1; -}, Pu = (e, t, n) => { - e[t] = e[t] || [], e[t].push(...n); -}, gi = (e, t = 1) => e * (df + zu) + t * zu, Bu = (e, t) => (n) => e <= n && n <= t, Ny = (e, t) => (n) => e < n && n < t, Vu = (e, t) => { - const n = e.findIndex((o) => o.id === t); - n !== -1 && e.splice(n, 1); -}, $u = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, Cr = (e, t, n = !0) => { - e.forEach((o) => { - vt(o) || (o.hidden = !t, n && Oo(o, t)); - }); -}, vr = (e, t, n = !0) => { - e.forEach((o) => { - vt(o) && (o.hidden = !t, n && Oo(o, t)); - }); -}; -function mf(e) { - const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(); - for (const [i, a] of e) - t.has(i) || t.set(i, 0), t.has(a) || t.set(a, 0), t.set(a, t.get(a) + 1), n.has(i) || n.set(i, 0), n.has(a) || n.set(a, 0), n.set(i, n.get(i) + 1); - const o = [], r = []; - for (const [i, a] of t) - a === 0 && o.push(i); - for (const [i, a] of n) - a === 0 && r.push(i); - return { sources: o, sinks: r }; -} -const Dy = "_table_node_8ocim_1", Ly = "_header_8ocim_8", Fy = "_collapse_8ocim_16", Ry = "_selected_8ocim_21", jy = "_content_8ocim_24", Iy = "_table_header_8ocim_37", zy = "_seed_8ocim_48", Hy = "_model_8ocim_53", Py = "_source_8ocim_58", By = "_exposure_8ocim_63", Vy = "_snapshot_8ocim_68", $y = "_metrics_8ocim_73", Wy = "_macros_8ocim_78", Zy = "_analysis_8ocim_83", Uy = "_node_icon_8ocim_88", qy = "_dialect_icon_8ocim_100", Yy = "_table_handle_8ocim_109", Gy = "_see_more_node_8ocim_123", Ky = "_table_card_8ocim_134", Xy = "_disabled_8ocim_146", Qy = "_column_card_8ocim_151", Jy = "_edit_icon_8ocim_164", eC = "_active_8ocim_172", tC = "_expand_lineage_icon_8ocim_176", nC = "_processing_div_8ocim_189", oC = "_gif_img_8ocim_192", rC = "_card_8ocim_197", iC = "_column_node_8ocim_212", aC = "_column_name_8ocim_223", lC = "_column_top_right_8ocim_228", sC = "_divider_8ocim_236", cC = "_table_details_header_8ocim_242", uC = "_verticle_divider_8ocim_250", dC = "_low_confidence_8ocim_255", fC = "_high_confidence_8ocim_262", pC = "_alert_icon_8ocim_269", hC = "_menu_card_8ocim_275", gC = "_menu_card_container_8ocim_280", mC = "_table_details_tabs_8ocim_287", bC = "_tab_8ocim_1", yC = "_table_node_pill_8ocim_307", CC = "_icon_8ocim_317", vC = "_node-checkbox_8ocim_324", xC = "_non_select_node_checkbox_8ocim_324", wC = "_select_node_checkbox_8ocim_324", EC = "_node_extra_info_8ocim_340", SC = "_help_body_8ocim_344", kC = "_feedback_body_8ocim_348", _C = "_cancel_btn_8ocim_351", AC = "_expand_nav_8ocim_356", MC = "_expand_nav_btn_8ocim_364", TC = "_lineage_legend_8ocim_391", OC = "_column_legend_8ocim_408", NC = "_dot_8ocim_424", DC = "_model_views_type_8ocim_436", LC = "_close_button_8ocim_445", FC = "_op_node_8ocim_458", RC = "_light_mode_8ocim_477", jC = "_dark_mode_8ocim_480", IC = "_highlighted_8ocim_483", zC = "_cost_data_8ocim_489", HC = "_op_type_text_8ocim_504", PC = "_node_stats_8ocim_507", BC = "_savings-performance_8ocim_523", VC = "_performance_8ocim_523", $C = "_savings_8ocim_523", WC = "_value_8ocim_538", ZC = "_percent_8ocim_541", UC = "_static_table_node_8ocim_556", qC = "_details_btn_8ocim_620", YC = "_enable_8ocim_629", GC = "_disable_8ocim_146", KC = "_code_editor_container_8ocim_640", XC = "_code_editor_8ocim_640", QC = "_tooltip_container_8ocim_654", JC = "_tooltip_text_8ocim_660", ev = "_views_type_badge_8ocim_677", tv = "_column_code_icon_8ocim_708", nv = "_edge_select_8ocim_724", ov = "_edge_non_select_8ocim_734", rv = "_modal_views_code_container_8ocim_744", iv = "_custom_node_code_block_8ocim_749", av = "_reset_btn_8ocim_761", lv = "_error_tooltip_8ocim_767", Y = { - table_node: Dy, - header: Ly, - collapse: Fy, - selected: Ry, - content: jy, - table_header: Iy, - seed: zy, - model: Hy, - source: Py, - exposure: By, - snapshot: Vy, - metrics: $y, - macros: Wy, - analysis: Zy, - node_icon: Uy, - dialect_icon: qy, - table_handle: Yy, - see_more_node: Gy, - table_card: Ky, - disabled: Xy, - column_card: Qy, - edit_icon: Jy, - active: eC, - expand_lineage_icon: tC, - processing_div: nC, - gif_img: oC, - card: rC, - column_node: iC, - default: "_default_8ocim_220", - column_name: aC, - column_top_right: lC, - divider: sC, - table_details_header: cC, - verticle_divider: uC, - low_confidence: dC, - high_confidence: fC, - alert_icon: pC, - menu_card: hC, - menu_card_container: gC, - table_details_tabs: mC, - tab: bC, - table_node_pill: yC, - icon: CC, - "node-checkbox": "_node-checkbox_8ocim_324", - nodeCheckbox: vC, - non_select_node_checkbox: xC, - select_node_checkbox: wC, - node_extra_info: EC, - help_body: SC, - feedback_body: kC, - cancel_btn: _C, - expand_nav: AC, - expand_nav_btn: MC, - lineage_legend: TC, - column_legend: OC, - dot: NC, - model_views_type: DC, - close_button: LC, - op_node: FC, - light_mode: RC, - dark_mode: jC, - highlighted: IC, - cost_data: zC, - op_type_text: HC, - node_stats: PC, - "savings-performance": "_savings-performance_8ocim_523", - savingsPerformance: BC, - performance: VC, - savings: $C, - value: WC, - percent: ZC, - static_table_node: UC, - details_btn: qC, - enable: YC, - disable: GC, - code_editor_container: KC, - code_editor: XC, - tooltip_container: QC, - tooltip_text: JC, - views_type_badge: ev, - column_code_icon: tv, - edge_select: nv, - edge_non_select: ov, - modal_views_code_container: rv, - custom_node_code_block: iv, - reset_btn: av, - error_tooltip: lv -}, bf = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), yf = (e) => /* @__PURE__ */ O.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ O.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ O.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ O.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", fill: "currentColor" })), fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), ni = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), gv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), Ds = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), yv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), Cv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_13119_16577", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ O.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Ls = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ O.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), Zc = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { id: "x-close" }, /* @__PURE__ */ O.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ O.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ O.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), Ev = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), Sv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), kv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ O.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), _v = (e) => /* @__PURE__ */ O.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ O.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), Av = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ O.createElement("mask", { id: "mask0_17179_3800", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ O.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ O.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white" })))), Mv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), Cf = (e) => /* @__PURE__ */ O.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), Tv = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), Ov = (e) => /* @__PURE__ */ O.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), Nv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20572_494912", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#FFF200" })), Wu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M20.5503 29.0008V24.8008H23.2983V25.5088H21.3183V28.2928H23.3223V29.0008H20.5503ZM20.9103 27.2008V26.5048H22.9923V27.2008H20.9103Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14.6096 29.0601C14.3056 29.0601 14.0276 29.0081 13.7756 28.9041C13.5236 28.8001 13.3056 28.6521 13.1216 28.4601C12.9376 28.2641 12.7936 28.0341 12.6896 27.7701C12.5896 27.5021 12.5396 27.2101 12.5396 26.8941C12.5396 26.5901 12.5936 26.3081 12.7016 26.0481C12.8096 25.7881 12.9596 25.5601 13.1516 25.3641C13.3436 25.1681 13.5676 25.0161 13.8236 24.9081C14.0796 24.8001 14.3576 24.7461 14.6576 24.7461C14.8616 24.7461 15.0596 24.7761 15.2516 24.8361C15.4436 24.8961 15.6196 24.9801 15.7796 25.0881C15.9396 25.1921 16.0736 25.3141 16.1816 25.4541L15.6836 26.0001C15.5796 25.8921 15.4716 25.8021 15.3596 25.7301C15.2516 25.6541 15.1376 25.5981 15.0176 25.5621C14.9016 25.5221 14.7816 25.5021 14.6576 25.5021C14.4736 25.5021 14.2996 25.5361 14.1356 25.6041C13.9756 25.6721 13.8356 25.7681 13.7156 25.8921C13.5996 26.0161 13.5076 26.1641 13.4396 26.3361C13.3716 26.5041 13.3376 26.6921 13.3376 26.9001C13.3376 27.1121 13.3696 27.3041 13.4336 27.4761C13.5016 27.6481 13.5956 27.7961 13.7156 27.9201C13.8396 28.0441 13.9856 28.1401 14.1536 28.2081C14.3256 28.2721 14.5136 28.3041 14.7176 28.3041C14.8496 28.3041 14.9776 28.2861 15.1016 28.2501C15.2256 28.2141 15.3396 28.1641 15.4436 28.1001C15.5516 28.0321 15.6496 27.9541 15.7376 27.8661L16.1216 28.4841C16.0256 28.5921 15.8976 28.6901 15.7376 28.7781C15.5776 28.8661 15.3976 28.9361 15.1976 28.9881C15.0016 29.0361 14.8056 29.0601 14.6096 29.0601Z", fill: "#E7A427" })), Dv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), Lv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ O.createElement("path", { d: "M24.1666 22H11.8334C10.822 22 10 21.1594 10 20.1251V8.87505C10 7.84071 10.822 7 11.8334 7H24.1666C25.178 7 26 7.84071 26 8.87505V20.1251C26 21.1594 25.178 22 24.1666 22ZM11.8334 8.02273C11.374 8.02273 11 8.40526 11 8.87505V20.1251C11 20.5949 11.374 20.9773 11.8334 20.9773H24.1666C24.626 20.9773 25 20.5949 25 20.1251V8.87505C25 8.40526 24.626 8.02273 24.1666 8.02273H11.8334Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 12H10.5C10.224 12 10 11.776 10 11.5C10 11.224 10.224 11 10.5 11H25.5C25.776 11 26 11.224 26 11.5C26 11.776 25.776 12 25.5 12Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 15.5H10.5C10.224 15.5 10 15.276 10 15C10 14.724 10.224 14.5 10.5 14.5H25.5C25.776 14.5 26 14.724 26 15C26 15.276 25.776 15.5 25.5 15.5Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M25.5 19H10.5C10.224 19 10 18.776 10 18.5C10 18.224 10.224 18 10.5 18H25.5C25.776 18 26 18.224 26 18.5C26 18.776 25.776 19 25.5 19Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M14 22C13.724 22 13.5 21.769 13.5 21.4844V11.5156C13.5 11.231 13.724 11 14 11C14.276 11 14.5 11.231 14.5 11.5156V21.4844C14.5 21.769 14.276 22 14 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M18 22C17.724 22 17.5 21.769 17.5 21.4844V11.5156C17.5 11.231 17.724 11 18 11C18.276 11 18.5 11.231 18.5 11.5156V21.4844C18.5 21.769 18.276 22 18 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M22 22C21.724 22 21.5 21.769 21.5 21.4844V11.5156C21.5 11.231 21.724 11 22 11C22.276 11 22.5 11.231 22.5 11.5156V21.4844C22.5 21.769 22.276 22 22 22Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M13.4913 29C13.2767 29 13.0771 28.9722 12.8925 28.9167C12.7118 28.8611 12.5461 28.7778 12.3954 28.6667C12.2486 28.5519 12.1167 28.4111 12 28.2444L12.418 27.7722C12.6026 28.0315 12.7796 28.2111 12.949 28.3111C13.1185 28.4111 13.32 28.4611 13.5535 28.4611C13.6966 28.4611 13.8265 28.4389 13.9432 28.3944C14.06 28.35 14.1523 28.2889 14.22 28.2111C14.2878 28.1333 14.3217 28.0444 14.3217 27.9444C14.3217 27.8778 14.3104 27.8148 14.2878 27.7556C14.2652 27.6963 14.2295 27.6426 14.1805 27.5944C14.1353 27.5463 14.0751 27.5019 13.9997 27.4611C13.9282 27.4204 13.8434 27.3852 13.7455 27.3556C13.6476 27.3222 13.5346 27.2944 13.4066 27.2722C13.2032 27.2315 13.0262 27.1778 12.8756 27.1111C12.725 27.0444 12.5988 26.9611 12.4971 26.8611C12.3954 26.7611 12.3201 26.6481 12.2712 26.5222C12.2222 26.3926 12.1977 26.2481 12.1977 26.0889C12.1977 25.9333 12.2316 25.7889 12.2994 25.6556C12.3709 25.5222 12.467 25.4074 12.5875 25.3111C12.7118 25.2111 12.8568 25.1352 13.0225 25.0833C13.1882 25.0278 13.3671 25 13.5591 25C13.7625 25 13.9489 25.0259 14.1184 25.0778C14.2878 25.1296 14.4385 25.2074 14.5703 25.3111C14.7021 25.4111 14.8113 25.5352 14.8979 25.6833L14.4686 26.1C14.3933 25.9778 14.3085 25.8759 14.2144 25.7944C14.1202 25.7093 14.0167 25.6463 13.9037 25.6056C13.7907 25.5611 13.6702 25.5389 13.5422 25.5389C13.3953 25.5389 13.2673 25.5611 13.158 25.6056C13.0488 25.65 12.9622 25.713 12.8982 25.7944C12.8379 25.8722 12.8078 25.9648 12.8078 26.0722C12.8078 26.15 12.8229 26.2222 12.853 26.2889C12.8831 26.3519 12.9283 26.4093 12.9886 26.4611C13.0526 26.5093 13.1373 26.5537 13.2428 26.5944C13.3482 26.6315 13.4744 26.6648 13.6213 26.6944C13.8284 26.7389 14.0129 26.7963 14.1749 26.8667C14.3368 26.9333 14.4742 27.013 14.5872 27.1056C14.7002 27.1981 14.7849 27.3019 14.8414 27.4167C14.9017 27.5315 14.9318 27.6556 14.9318 27.7889C14.9318 28.037 14.8734 28.2519 14.7567 28.4333C14.64 28.6148 14.4742 28.7556 14.2596 28.8556C14.0449 28.9519 13.7888 29 13.4913 29Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M17.3328 28.9778C17.0277 28.9778 16.7547 28.913 16.5137 28.7833C16.2726 28.65 16.0825 28.4685 15.9431 28.2389C15.8075 28.0056 15.7397 27.7426 15.7397 27.45V25.05H16.3498V27.4C16.3498 27.5889 16.395 27.7593 16.4854 27.9111C16.5758 28.0593 16.6944 28.1778 16.8413 28.2667C16.9919 28.3556 17.1558 28.4 17.3328 28.4C17.5211 28.4 17.6905 28.3556 17.8412 28.2667C17.9956 28.1778 18.118 28.0593 18.2084 27.9111C18.2987 27.7593 18.3439 27.5889 18.3439 27.4V25.05H18.9258V27.45C18.9258 27.7426 18.8561 28.0056 18.7168 28.2389C18.5812 28.4685 18.3929 28.65 18.1519 28.7833C17.9108 28.913 17.6378 28.9778 17.3328 28.9778Z", fill: "#E7A427" }), /* @__PURE__ */ O.createElement("path", { d: "M19.9778 28.9444V25.0556H21.6273C21.8796 25.0556 22.0924 25.0926 22.2656 25.1667C22.4389 25.2407 22.5688 25.3519 22.6554 25.5C22.7458 25.6444 22.791 25.8222 22.791 26.0333C22.791 26.2444 22.7307 26.4241 22.6102 26.5722C22.4935 26.7204 22.3297 26.8222 22.1188 26.8778V26.7667C22.2958 26.8037 22.4502 26.8704 22.582 26.9667C22.7138 27.0593 22.8155 27.1759 22.887 27.3167C22.9623 27.4574 23 27.6185 23 27.8C23 27.9852 22.9699 28.15 22.9096 28.2944C22.8531 28.4352 22.7665 28.5537 22.6498 28.65C22.5368 28.7463 22.3993 28.8204 22.2374 28.8722C22.0755 28.9204 21.8909 28.9444 21.6838 28.9444H19.9778ZM20.5879 28.3667H21.6499C21.8043 28.3667 21.9342 28.3444 22.0397 28.3C22.1489 28.2556 22.2317 28.1907 22.2882 28.1056C22.3485 28.0167 22.3786 27.9111 22.3786 27.7889C22.3786 27.6741 22.3466 27.5759 22.2826 27.4944C22.2223 27.413 22.1357 27.3519 22.0227 27.3111C21.9097 27.2667 21.7761 27.2444 21.6217 27.2444H20.5879V28.3667ZM20.5879 26.6667H21.5934C21.7064 26.6667 21.8062 26.6444 21.8928 26.6C21.9832 26.5556 22.0529 26.4944 22.1018 26.4167C22.1545 26.3389 22.1809 26.25 22.1809 26.15C22.1809 25.9833 22.1244 25.8556 22.0114 25.7667C21.8985 25.6778 21.7365 25.6333 21.5256 25.6333H20.5879V26.6667Z", fill: "#E7A427" })), oi = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8212 9.371C11.951 9.07907 12.2928 8.9476 12.5847 9.07734L18.5199 11.7152L24.455 9.07734C24.7469 8.9476 25.0887 9.07907 25.2184 9.371C25.3482 9.66293 25.2167 10.0048 24.9248 10.1345L18.7548 12.8767C18.6052 12.9432 18.4345 12.9432 18.2849 12.8767L12.1149 10.1345C11.823 10.0048 11.6915 9.66293 11.8212 9.371Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.0318 6.21028C17.9791 5.78928 19.0604 5.78928 20.0076 6.21028L23.8639 7.92417C25.1868 8.51216 26.0394 9.82412 26.0394 11.2719V16.5172C26.0394 17.9649 25.1868 19.2769 23.8639 19.8649L20.0076 21.5788C19.0604 21.9998 17.9791 21.9998 17.0318 21.5788L13.1756 19.8649C11.8526 19.2769 11 17.9649 11 16.5172V11.2719C11 9.82412 11.8526 8.51216 13.1756 7.92417L17.0318 6.21028ZM19.5378 7.26745C18.8896 6.97939 18.1498 6.97939 17.5017 7.26745L13.6454 8.98134C12.7402 9.38365 12.1569 10.2813 12.1569 11.2719V16.5172C12.1569 17.5078 12.7402 18.4054 13.6454 18.8077L17.5017 20.5216C18.1498 20.8097 18.8896 20.8097 19.5378 20.5216L23.394 18.8077C24.2992 18.4054 24.8825 17.5078 24.8825 16.5172V11.2719C24.8825 10.2813 24.2992 9.38365 23.394 8.98134L19.5378 7.26745Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.5196 11.7695C18.8391 11.7695 19.098 12.0285 19.098 12.348V20.8318C19.098 21.1512 18.8391 21.4102 18.5196 21.4102C18.2001 21.4102 17.9412 21.1512 17.9412 20.8318V12.348C17.9412 12.0285 18.2001 11.7695 18.5196 11.7695Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0962 29.0008V24.8008H18.7822C19.0862 24.8008 19.3602 24.8508 19.6042 24.9508C19.8522 25.0508 20.0642 25.1948 20.2402 25.3828C20.4202 25.5708 20.5562 25.7928 20.6482 26.0488C20.7442 26.3048 20.7922 26.5888 20.7922 26.9008C20.7922 27.2128 20.7442 27.4988 20.6482 27.7588C20.5562 28.0148 20.4222 28.2368 20.2462 28.4248C20.0702 28.6088 19.8582 28.7508 19.6102 28.8508C19.3622 28.9508 19.0862 29.0008 18.7822 29.0008H17.0962ZM17.8762 28.3948L17.8162 28.2808H18.7522C18.9482 28.2808 19.1222 28.2488 19.2742 28.1848C19.4302 28.1208 19.5622 28.0288 19.6702 27.9088C19.7782 27.7888 19.8602 27.6448 19.9162 27.4768C19.9722 27.3048 20.0002 27.1128 20.0002 26.9008C20.0002 26.6888 19.9722 26.4988 19.9162 26.3308C19.8602 26.1588 19.7762 26.0128 19.6642 25.8928C19.5562 25.7728 19.4262 25.6808 19.2742 25.6168C19.1222 25.5528 18.9482 25.5208 18.7522 25.5208H17.7982L17.8762 25.4188V28.3948Z", fill: "#FF754C" }), /* @__PURE__ */ O.createElement("path", { d: "M11.8813 29.0008V24.8008H12.6193L14.1493 27.2908L13.7173 27.2848L15.2653 24.8008H15.9673V29.0008H15.1933V27.4228C15.1933 27.0628 15.2013 26.7388 15.2173 26.4508C15.2373 26.1628 15.2693 25.8768 15.3133 25.5928L15.4093 25.8508L14.1073 27.8608H13.7113L12.4513 25.8688L12.5353 25.5928C12.5793 25.8608 12.6093 26.1368 12.6253 26.4208C12.6453 26.7008 12.6553 27.0348 12.6553 27.4228V29.0008H11.8813Z", fill: "#FF754C" })), Zu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.85 10.9066L20.2141 8.41016C19.9324 8.14492 19.566 8 19.1805 8H14.1602C13.3316 8 12.6562 8.67539 12.6562 9.50391V20.4961C12.6562 21.3246 13.3316 22 14.1602 22H21.8164C22.6449 22 23.3203 21.3246 23.3203 20.4961V11.9977C23.3203 11.5875 23.148 11.1883 22.85 10.9066ZM22.0543 11.2812H20.0117C19.9352 11.2812 19.875 11.2211 19.875 11.1445V9.21953L22.0543 11.2812ZM21.8164 21.1797H14.1602C13.7828 21.1797 13.4766 20.8734 13.4766 20.4961V9.50391C13.4766 9.12656 13.7828 8.82031 14.1602 8.82031H19.0547V11.1445C19.0547 11.6723 19.484 12.1016 20.0117 12.1016H22.5V20.4961C22.5 20.8734 22.1938 21.1797 21.8164 21.1797Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 13.4688H14.8989C14.672 13.4688 14.4888 13.652 14.4888 13.8789C14.4888 14.1059 14.672 14.2891 14.8989 14.2891H20.9146C21.1415 14.2891 21.3247 14.1059 21.3247 13.8789C21.3247 13.652 21.1415 13.4688 20.9146 13.4688Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M20.9146 15.6562H14.8989C14.672 15.6562 14.4888 15.8395 14.4888 16.0664C14.4888 16.2934 14.672 16.4766 14.8989 16.4766H20.9146C21.1415 16.4766 21.3247 16.2934 21.3247 16.0664C21.3247 15.8395 21.1415 15.6562 20.9146 15.6562Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M16.8868 17.8438H14.8989C14.672 17.8438 14.4888 18.027 14.4888 18.2539C14.4888 18.4809 14.672 18.6641 14.8989 18.6641H16.8868C17.1138 18.6641 17.297 18.4809 17.297 18.2539C17.297 18.027 17.1138 17.8438 16.8868 17.8438Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M21.719 27.9419V23.8555H23.3594C23.6552 23.8555 23.9218 23.9041 24.1592 24.0014C24.4005 24.0987 24.6067 24.2388 24.778 24.4217C24.9531 24.6047 25.0854 24.8206 25.175 25.0697C25.2684 25.3188 25.3151 25.5951 25.3151 25.8987C25.3151 26.2023 25.2684 26.4805 25.175 26.7335C25.0854 26.9826 24.9551 27.1986 24.7838 27.3815C24.6126 27.5605 24.4063 27.6987 24.165 27.796C23.9237 27.8933 23.6552 27.9419 23.3594 27.9419H21.719ZM22.4779 27.3523L22.4195 27.2414H23.3302C23.5209 27.2414 23.6902 27.2102 23.8381 27.148C23.9899 27.0857 24.1183 26.9962 24.2234 26.8794C24.3285 26.7627 24.4083 26.6226 24.4627 26.4591C24.5172 26.2918 24.5445 26.105 24.5445 25.8987C24.5445 25.6924 24.5172 25.5076 24.4627 25.3441C24.4083 25.1768 24.3265 25.0347 24.2176 24.9179C24.1125 24.8012 23.986 24.7117 23.8381 24.6494C23.6902 24.5871 23.5209 24.556 23.3302 24.556H22.402L22.4779 24.4568V27.3523Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M18.0706 27.9419V23.8555H20.7443V24.5443H18.8178V27.2531H20.7676V27.9419H18.0706ZM18.4208 26.1906V25.5134H20.4465V26.1906H18.4208Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4219 27.9419V23.8555H17.0956V24.5443H15.1691V27.2531H17.1189V27.9419H14.4219ZM14.7721 26.1906V25.5134H16.7979V26.1906H14.7721Z", fill: "#01CD8C" }), /* @__PURE__ */ O.createElement("path", { d: "M12.0577 28C11.8203 28 11.6024 27.9708 11.4039 27.9125C11.2054 27.8502 11.0264 27.7587 10.8668 27.6381C10.7073 27.5174 10.5652 27.3715 10.4407 27.2003L10.9369 26.6398C11.1276 26.9045 11.3144 27.0874 11.4973 27.1886C11.6802 27.2898 11.8865 27.3404 12.1161 27.3404C12.2484 27.3404 12.3691 27.3209 12.4781 27.282C12.587 27.2392 12.6727 27.1827 12.7349 27.1127C12.7972 27.0387 12.8283 26.9551 12.8283 26.8617C12.8283 26.7955 12.8147 26.7352 12.7875 26.6807C12.7641 26.6223 12.7271 26.5717 12.6765 26.5289C12.6259 26.4822 12.5637 26.4394 12.4897 26.4005C12.4158 26.3616 12.3321 26.3285 12.2387 26.3012C12.1453 26.274 12.0422 26.2487 11.9293 26.2253C11.7153 26.1825 11.5284 26.1261 11.3689 26.0561C11.2093 25.9821 11.075 25.8926 10.9661 25.7875C10.8571 25.6785 10.7773 25.5579 10.7267 25.4256C10.6761 25.2894 10.6508 25.1356 10.6508 24.9644C10.6508 24.7931 10.6878 24.6355 10.7618 24.4915C10.8396 24.3475 10.9447 24.223 11.077 24.1179C11.2093 24.0128 11.363 23.9311 11.5382 23.8727C11.7133 23.8143 11.9021 23.7852 12.1044 23.7852C12.3341 23.7852 12.5384 23.8124 12.7174 23.8669C12.9003 23.9214 13.0599 24.0031 13.1961 24.1121C13.3362 24.2172 13.451 24.3456 13.5405 24.4974L13.0385 24.9936C12.9606 24.8729 12.8731 24.7737 12.7758 24.6958C12.6785 24.6141 12.5734 24.5538 12.4605 24.5149C12.3477 24.4721 12.229 24.4507 12.1044 24.4507C11.9643 24.4507 11.8417 24.4701 11.7367 24.509C11.6355 24.548 11.5557 24.6044 11.4973 24.6783C11.4389 24.7484 11.4097 24.834 11.4097 24.9352C11.4097 25.013 11.4273 25.0831 11.4623 25.1454C11.4973 25.2037 11.546 25.2563 11.6082 25.303C11.6744 25.3497 11.7581 25.3905 11.8593 25.4256C11.9604 25.4606 12.0753 25.4917 12.2037 25.519C12.4177 25.5618 12.6104 25.6202 12.7816 25.6941C12.9529 25.7642 13.0988 25.8498 13.2195 25.951C13.3401 26.0483 13.4316 26.1611 13.4938 26.2896C13.5561 26.4141 13.5872 26.5542 13.5872 26.7099C13.5872 26.9784 13.523 27.21 13.3946 27.4046C13.2701 27.5953 13.093 27.7432 12.8634 27.8482C12.6337 27.9494 12.3652 28 12.0577 28Z", fill: "#01CD8C" })), Uu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M24.3974 10.5688C24.3828 9.804 23.6822 9.12385 22.4183 8.65388C21.2857 8.23353 19.7852 8 18.2002 8C16.6122 8 15.1147 8.23353 13.9791 8.65388C12.7152 9.12385 12.0117 9.80692 12 10.5717C12 10.5776 12 10.5863 12 10.5922V19.4078C12 20.1843 12.7035 20.8703 13.9791 21.3461C15.1147 21.7694 16.6122 22 18.2002 22C19.7882 22 21.2857 21.7665 22.4212 21.3461C23.6968 20.8732 24.4003 20.1843 24.4003 19.4078V10.5922C24.3974 10.5863 24.3974 10.5776 24.3974 10.5688ZM23.4867 19.4078C23.4867 20.0938 21.4258 21.0892 18.1972 21.0892C14.9687 21.0892 12.9078 20.0938 12.9078 19.4078V17.8753C13.1997 18.0738 13.5559 18.2519 13.9762 18.4095C15.1147 18.8299 16.6122 19.0634 18.2002 19.0634C19.7882 19.0634 21.2886 18.8299 22.4212 18.4095C22.8415 18.2519 23.1977 18.0738 23.4896 17.8753V19.4078H23.4867ZM23.4867 16.4566C23.4867 16.4595 23.4867 16.4654 23.4867 16.4683C23.4867 17.1543 21.4258 18.1497 18.1972 18.1497C14.9687 18.1497 12.9078 17.1543 12.9078 16.4683V14.9358C13.1997 15.1343 13.5559 15.3123 13.9762 15.47C15.1118 15.8932 16.6093 16.1239 18.1972 16.1239C19.7852 16.1239 21.2827 15.8903 22.4183 15.47C22.8386 15.3153 23.1947 15.1343 23.4867 14.9358V16.4566ZM23.4867 13.52C23.4867 13.5229 23.4867 13.5288 23.4867 13.5317C23.4867 14.2177 21.4258 15.2131 18.1972 15.2131C14.9687 15.2131 12.9078 14.2177 12.9078 13.5317V11.9992C13.1997 12.1977 13.5559 12.3757 13.9762 12.5304C15.1118 12.9537 16.6093 13.1843 18.1972 13.1843C19.7852 13.1843 21.2827 12.9508 22.4183 12.5304C22.8357 12.3757 23.1947 12.1947 23.4867 11.9992V13.52ZM18.2002 12.2736C14.9716 12.2736 12.9108 11.2781 12.9108 10.5922C12.9108 9.90617 14.9716 8.91076 18.2002 8.91076C21.4287 8.91076 23.4896 9.90617 23.4896 10.5922C23.4867 11.2781 21.4287 12.2736 18.2002 12.2736Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21.9987 28.3335C21.6947 28.3335 21.4167 28.2815 21.1647 28.1775C20.9127 28.0735 20.6947 27.9255 20.5107 27.7335C20.3267 27.5375 20.1827 27.3075 20.0787 27.0435C19.9787 26.7755 19.9287 26.4835 19.9287 26.1675C19.9287 25.8635 19.9827 25.5815 20.0907 25.3215C20.1987 25.0615 20.3487 24.8335 20.5407 24.6375C20.7327 24.4415 20.9567 24.2895 21.2127 24.1815C21.4687 24.0735 21.7467 24.0195 22.0467 24.0195C22.2507 24.0195 22.4487 24.0495 22.6407 24.1095C22.8327 24.1695 23.0087 24.2535 23.1687 24.3615C23.3287 24.4655 23.4627 24.5875 23.5707 24.7275L23.0727 25.2735C22.9687 25.1655 22.8607 25.0755 22.7487 25.0035C22.6407 24.9275 22.5267 24.8715 22.4067 24.8355C22.2907 24.7955 22.1707 24.7755 22.0467 24.7755C21.8627 24.7755 21.6887 24.8095 21.5247 24.8775C21.3647 24.9455 21.2247 25.0415 21.1047 25.1655C20.9887 25.2895 20.8967 25.4375 20.8287 25.6095C20.7607 25.7775 20.7267 25.9655 20.7267 26.1735C20.7267 26.3855 20.7587 26.5775 20.8227 26.7495C20.8907 26.9215 20.9847 27.0695 21.1047 27.1935C21.2287 27.3175 21.3747 27.4135 21.5427 27.4815C21.7147 27.5455 21.9027 27.5775 22.1067 27.5775C22.2387 27.5775 22.3667 27.5595 22.4907 27.5235C22.6147 27.4875 22.7287 27.4375 22.8327 27.3735C22.9407 27.3055 23.0387 27.2275 23.1267 27.1395L23.5107 27.7575C23.4147 27.8655 23.2867 27.9635 23.1267 28.0515C22.9667 28.1395 22.7867 28.2095 22.5867 28.2615C22.3907 28.3095 22.1947 28.3335 21.9987 28.3335Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M16.0918 28.2703V24.0703H17.9158C18.1678 24.0703 18.3978 24.1303 18.6058 24.2503C18.8138 24.3663 18.9778 24.5263 19.0978 24.7303C19.2218 24.9303 19.2838 25.1563 19.2838 25.4083C19.2838 25.6483 19.2218 25.8703 19.0978 26.0743C18.9778 26.2743 18.8138 26.4343 18.6058 26.5543C18.4018 26.6703 18.1718 26.7283 17.9158 26.7283H16.8538V28.2703H16.0918ZM18.5278 28.2703L17.4598 26.3743L18.2638 26.2243L19.4518 28.2763L18.5278 28.2703ZM16.8538 26.0503H17.9218C18.0378 26.0503 18.1378 26.0243 18.2218 25.9723C18.3098 25.9163 18.3778 25.8403 18.4258 25.7443C18.4738 25.6483 18.4978 25.5423 18.4978 25.4263C18.4978 25.2943 18.4678 25.1803 18.4078 25.0843C18.3478 24.9883 18.2638 24.9123 18.1558 24.8563C18.0478 24.8003 17.9238 24.7723 17.7838 24.7723H16.8538V26.0503Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M13.662 28.332C13.418 28.332 13.194 28.302 12.99 28.242C12.786 28.178 12.602 28.084 12.438 27.96C12.274 27.836 12.128 27.686 12 27.51L12.51 26.934C12.706 27.206 12.898 27.394 13.086 27.498C13.274 27.602 13.486 27.654 13.722 27.654C13.858 27.654 13.982 27.634 14.094 27.594C14.206 27.55 14.294 27.492 14.358 27.42C14.422 27.344 14.454 27.258 14.454 27.162C14.454 27.094 14.44 27.032 14.412 26.976C14.388 26.916 14.35 26.864 14.298 26.82C14.246 26.772 14.182 26.728 14.106 26.688C14.03 26.648 13.944 26.614 13.848 26.586C13.752 26.558 13.646 26.532 13.53 26.508C13.31 26.464 13.118 26.406 12.954 26.334C12.79 26.258 12.652 26.166 12.54 26.058C12.428 25.946 12.346 25.822 12.294 25.686C12.242 25.546 12.216 25.388 12.216 25.212C12.216 25.036 12.254 24.874 12.33 24.726C12.41 24.578 12.518 24.45 12.654 24.342C12.79 24.234 12.948 24.15 13.128 24.09C13.308 24.03 13.502 24 13.71 24C13.946 24 14.156 24.028 14.34 24.084C14.528 24.14 14.692 24.224 14.832 24.336C14.976 24.444 15.094 24.576 15.186 24.732L14.67 25.242C14.59 25.118 14.5 25.016 14.4 24.936C14.3 24.852 14.192 24.79 14.076 24.75C13.96 24.706 13.838 24.684 13.71 24.684C13.566 24.684 13.44 24.704 13.332 24.744C13.228 24.784 13.146 24.842 13.086 24.918C13.026 24.99 12.996 25.078 12.996 25.182C12.996 25.262 13.014 25.334 13.05 25.398C13.086 25.458 13.136 25.512 13.2 25.56C13.268 25.608 13.354 25.65 13.458 25.686C13.562 25.722 13.68 25.754 13.812 25.782C14.032 25.826 14.23 25.886 14.406 25.962C14.582 26.034 14.732 26.122 14.856 26.226C14.98 26.326 15.074 26.442 15.138 26.574C15.202 26.702 15.234 26.846 15.234 27.006C15.234 27.282 15.168 27.52 15.036 27.72C14.908 27.916 14.726 28.068 14.49 28.176C14.254 28.28 13.978 28.332 13.662 28.332Z", fill: "#247EFE" })), qu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ O.createElement("path", { d: "M23.0406 9.14436C22.9197 9.01752 22.7469 9.03712 22.6495 9.1293C22.5522 9.22153 22.5234 9.39311 22.6436 9.52061C22.6442 9.52135 22.6449 9.52206 22.6456 9.52275C22.7053 9.58479 22.7774 9.61137 22.8468 9.61137C22.9186 9.61137 22.9875 9.58287 23.0367 9.53571C23.1335 9.44296 23.1615 9.27124 23.0406 9.14436Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4736 8.67965L21.4735 8.67962C20.441 8.00403 19.24 7.64688 18 7.64688C14.497 7.64688 11.6469 10.497 11.6469 14C11.6469 17.503 14.497 20.3531 18 20.3531C21.503 20.3531 24.3531 17.503 24.3531 14C24.3531 12.8057 24.02 11.6422 23.3899 10.6351C23.3899 10.6351 23.3899 10.6351 23.3899 10.6351L23.4747 10.5821L21.4736 8.67965ZM21.4736 8.67965C21.6462 8.7925 21.8776 8.74421 21.9905 8.57159L21.9905 8.57158M21.4736 8.67965L21.9905 8.57158M21.9905 8.57158C22.1034 8.39899 22.0551 8.16758 21.8825 8.05462L21.8825 8.05461M21.9905 8.57158L21.8825 8.05461M21.8825 8.05461C20.728 7.29926 19.3853 6.9 18 6.9C16.1037 6.9 14.3204 7.63867 12.9795 8.97952L12.9795 8.97953M21.8825 8.05461L12.9795 8.97953M12.9795 8.97953C11.6387 10.3204 10.9 12.1037 10.9 14C10.9 15.8963 11.6387 17.6796 12.9795 19.0205L13.0502 18.9498M12.9795 8.97953L13.0502 18.9498M13.0502 18.9498L12.9795 19.0205C14.3204 20.3613 16.1037 21.1 18 21.1C19.8963 21.1 21.6796 20.3613 23.0205 19.0205L22.9498 18.9498L23.0205 19.0205C24.3613 17.6796 25.1 15.8963 25.1 14C25.1 12.6656 24.7276 11.365 24.0231 10.239L13.0502 18.9498Z", fill: "#EF5DA8", stroke: "#EF5DA8", strokeWidth: 0.2 }), /* @__PURE__ */ O.createElement("path", { d: "M21.4199 10.5806C21.2497 10.4106 20.9741 10.4106 20.8039 10.5806L18.166 13.2186C17.9763 13.1217 17.7618 13.0667 17.5346 13.0667C16.7661 13.0667 16.1409 13.6919 16.1409 14.4604C16.1409 14.6876 16.1959 14.9021 16.2928 15.0918L16.1276 15.257C15.9575 15.4271 15.9575 15.7028 16.1276 15.8729C16.2126 15.958 16.3241 16.0005 16.4355 16.0005C16.5469 16.0005 16.6584 15.958 16.7435 15.8729L16.9105 15.7059C17.0984 15.8005 17.3103 15.854 17.5346 15.854C18.303 15.854 18.9282 15.2289 18.9282 14.4604C18.9282 14.2361 18.8746 14.0242 18.7801 13.8363L21.4198 11.1966C21.5899 11.0265 21.5899 10.7507 21.4199 10.5806ZM17.5346 14.983C17.3935 14.983 17.2654 14.9265 17.1713 14.8352C17.1703 14.8342 17.1694 14.8331 17.1684 14.8321C17.1665 14.8302 17.1644 14.8285 17.1625 14.8267C17.0695 14.7323 17.012 14.6029 17.012 14.4603C17.012 14.1721 17.2464 13.9377 17.5346 13.9377C17.8228 13.9377 18.0572 14.1721 18.0572 14.4603C18.0572 14.7485 17.8228 14.983 17.5346 14.983Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M17.0175 17.8536C16.9667 17.8027 16.8961 17.7734 16.8242 17.7734C16.7523 17.7734 16.6818 17.8027 16.6309 17.8536C16.58 17.9044 16.5508 17.9747 16.5508 18.0469C16.5508 18.1188 16.58 18.1893 16.6309 18.2402C16.6818 18.2911 16.7523 18.3203 16.8242 18.3203C16.8961 18.3203 16.9667 18.2911 17.0175 18.2402C17.0684 18.1893 17.0977 18.1188 17.0977 18.0469C17.0977 17.9747 17.0684 17.9044 17.0175 17.8536Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("path", { d: "M19.1758 17.7734H17.8906C17.7396 17.7734 17.6172 17.8959 17.6172 18.0469C17.6172 18.1979 17.7396 18.3203 17.8906 18.3203H19.1758C19.3268 18.3203 19.4492 18.1979 19.4492 18.0469C19.4492 17.8959 19.3268 17.7734 19.1758 17.7734Z", fill: "#EF5DA8" })), /* @__PURE__ */ O.createElement("path", { d: "M12.6812 28V23.8H15.4292V24.508H13.4492V27.292H15.4532V28H12.6812ZM13.0412 26.2V25.504H15.1232V26.2H13.0412ZM18.9572 28L17.6552 26.116L15.9872 23.8H16.9592L18.2312 25.66L19.9292 28H18.9572ZM15.9572 28L17.5592 25.714L18.1112 26.188L16.8692 28H15.9572ZM18.3272 26.05L17.7812 25.594L18.9572 23.8H19.8692L18.3272 26.05ZM20.5855 28V23.8H22.3315C22.5715 23.8 22.7875 23.858 22.9795 23.974C23.1755 24.09 23.3315 24.248 23.4475 24.448C23.5635 24.648 23.6215 24.872 23.6215 25.12C23.6215 25.372 23.5635 25.6 23.4475 25.804C23.3315 26.004 23.1755 26.164 22.9795 26.284C22.7875 26.404 22.5715 26.464 22.3315 26.464H21.3655V28H20.5855ZM21.3655 25.744H22.2775C22.3775 25.744 22.4675 25.716 22.5475 25.66C22.6315 25.604 22.6975 25.53 22.7455 25.438C22.7975 25.346 22.8235 25.242 22.8235 25.126C22.8235 25.01 22.7975 24.908 22.7455 24.82C22.6975 24.728 22.6315 24.656 22.5475 24.604C22.4675 24.548 22.3775 24.52 22.2775 24.52H21.3655V25.744Z", fill: "#EF5DA8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ O.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), Yu = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ O.createElement("path", { d: "M22.6364 20H20.8636C20.5091 20 20.2727 19.7636 20.2727 19.4091C20.2727 19.0545 20.5091 18.8182 20.8636 18.8182H22.6364C23.2864 18.8182 23.8182 18.2864 23.8182 17.6364V15.8636C23.8182 15.5091 24.0545 15.2727 24.4091 15.2727C24.7636 15.2727 25 15.5091 25 15.8636V17.6364C25 18.9364 23.9364 20 22.6364 20ZM16.1364 20H14.3636C13.0636 20 12 18.9364 12 17.6364V15.8636C12 15.5091 12.2364 15.2727 12.5909 15.2727C12.9455 15.2727 13.1818 15.5091 13.1818 15.8636V17.6364C13.1818 18.2864 13.7136 18.8182 14.3636 18.8182H16.1364C16.4909 18.8182 16.7273 19.0545 16.7273 19.4091C16.7273 19.7636 16.4909 20 16.1364 20ZM18.5 15.8636C17.2 15.8636 16.1364 14.8 16.1364 13.5C16.1364 12.2 17.2 11.1364 18.5 11.1364C19.8 11.1364 20.8636 12.2 20.8636 13.5C20.8636 14.8 19.8 15.8636 18.5 15.8636ZM18.5 12.3182C17.85 12.3182 17.3182 12.85 17.3182 13.5C17.3182 14.15 17.85 14.6818 18.5 14.6818C19.15 14.6818 19.6818 14.15 19.6818 13.5C19.6818 12.85 19.15 12.3182 18.5 12.3182ZM24.4091 11.7273C24.0545 11.7273 23.8182 11.4909 23.8182 11.1364V9.36364C23.8182 8.71364 23.2864 8.18182 22.6364 8.18182H20.8636C20.5091 8.18182 20.2727 7.94545 20.2727 7.59091C20.2727 7.23636 20.5091 7 20.8636 7H22.6364C23.9364 7 25 8.06364 25 9.36364V11.1364C25 11.4909 24.7636 11.7273 24.4091 11.7273ZM12.5909 11.7273C12.2364 11.7273 12 11.4909 12 11.1364V9.36364C12 8.06364 13.0636 7 14.3636 7H16.1364C16.4909 7 16.7273 7.23636 16.7273 7.59091C16.7273 7.94545 16.4909 8.18182 16.1364 8.18182H14.3636C13.7136 8.18182 13.1818 8.71364 13.1818 9.36364V11.1364C13.1818 11.4909 12.9455 11.7273 12.5909 11.7273Z", fill: "#9B8AFF" }), /* @__PURE__ */ O.createElement("path", { d: "M14.1909 28.06C13.9469 28.06 13.7229 28.03 13.5189 27.97C13.3149 27.906 13.1309 27.812 12.9669 27.688C12.8029 27.564 12.6569 27.414 12.5289 27.238L13.0389 26.662C13.2349 26.934 13.4269 27.122 13.6149 27.226C13.8029 27.33 14.0149 27.382 14.2509 27.382C14.3869 27.382 14.5109 27.362 14.6229 27.322C14.7349 27.278 14.8229 27.22 14.8869 27.148C14.9509 27.072 14.9829 26.986 14.9829 26.89C14.9829 26.822 14.9689 26.76 14.9409 26.704C14.9169 26.644 14.8789 26.592 14.8269 26.548C14.7749 26.5 14.7109 26.456 14.6349 26.416C14.5589 26.376 14.4729 26.342 14.3769 26.314C14.2809 26.286 14.1749 26.26 14.0589 26.236C13.8389 26.192 13.6469 26.134 13.4829 26.062C13.3189 25.986 13.1809 25.894 13.0689 25.786C12.9569 25.674 12.8749 25.55 12.8229 25.414C12.7709 25.274 12.7449 25.116 12.7449 24.94C12.7449 24.764 12.7829 24.602 12.8589 24.454C12.9389 24.306 13.0469 24.178 13.1829 24.07C13.3189 23.962 13.4769 23.878 13.6569 23.818C13.8369 23.758 14.0309 23.728 14.2389 23.728C14.4749 23.728 14.6849 23.756 14.8689 23.812C15.0569 23.868 15.2209 23.952 15.3609 24.064C15.5049 24.172 15.6229 24.304 15.7149 24.46L15.1989 24.97C15.1189 24.846 15.0289 24.744 14.9289 24.664C14.8289 24.58 14.7209 24.518 14.6049 24.478C14.4889 24.434 14.3669 24.412 14.2389 24.412C14.0949 24.412 13.9689 24.432 13.8609 24.472C13.7569 24.512 13.6749 24.57 13.6149 24.646C13.5549 24.718 13.5249 24.806 13.5249 24.91C13.5249 24.99 13.5429 25.062 13.5789 25.126C13.6149 25.186 13.6649 25.24 13.7289 25.288C13.7969 25.336 13.8829 25.378 13.9869 25.414C14.0909 25.45 14.2089 25.482 14.3409 25.51C14.5609 25.554 14.7589 25.614 14.9349 25.69C15.1109 25.762 15.2609 25.85 15.3849 25.954C15.5089 26.054 15.6029 26.17 15.6669 26.302C15.7309 26.43 15.7629 26.574 15.7629 26.734C15.7629 27.01 15.6969 27.248 15.5649 27.448C15.4369 27.644 15.2549 27.796 15.0189 27.904C14.7829 28.008 14.5069 28.06 14.1909 28.06ZM16.6206 28V23.8H17.3226L19.7586 27.082L19.6266 27.106C19.6106 26.994 19.5966 26.88 19.5846 26.764C19.5726 26.644 19.5606 26.52 19.5486 26.392C19.5406 26.264 19.5326 26.13 19.5246 25.99C19.5206 25.85 19.5166 25.704 19.5126 25.552C19.5086 25.396 19.5066 25.232 19.5066 25.06V23.8H20.2806V28H19.5666L17.1186 24.766L17.2746 24.724C17.2946 24.948 17.3106 25.14 17.3226 25.3C17.3386 25.456 17.3506 25.592 17.3586 25.708C17.3666 25.82 17.3726 25.914 17.3766 25.99C17.3846 26.066 17.3886 26.136 17.3886 26.2C17.3926 26.26 17.3946 26.318 17.3946 26.374V28H16.6206ZM21.4078 28V23.8H23.1538C23.3938 23.8 23.6098 23.858 23.8018 23.974C23.9978 24.09 24.1538 24.248 24.2698 24.448C24.3858 24.648 24.4438 24.872 24.4438 25.12C24.4438 25.372 24.3858 25.6 24.2698 25.804C24.1538 26.004 23.9978 26.164 23.8018 26.284C23.6098 26.404 23.3938 26.464 23.1538 26.464H22.1878V28H21.4078ZM22.1878 25.744H23.0998C23.1998 25.744 23.2898 25.716 23.3698 25.66C23.4538 25.604 23.5198 25.53 23.5678 25.438C23.6198 25.346 23.6458 25.242 23.6458 25.126C23.6458 25.01 23.6198 24.908 23.5678 24.82C23.5198 24.728 23.4538 24.656 23.3698 24.604C23.2898 24.548 23.1998 24.52 23.0998 24.52H22.1878V25.744Z", fill: "#9B8AFF" })), Fv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_20565_492827", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ O.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ O.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M13.625 17.3086H12.5313C12.3802 17.3086 12.2578 17.431 12.2578 17.582V20.5898H13.8984V17.582C13.8984 17.431 13.776 17.3086 13.625 17.3086Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M16.9063 16.3242H15.8125C15.6615 16.3242 15.5391 16.4466 15.5391 16.5977V20.5898H17.1797V16.5977C17.1797 16.4466 17.0573 16.3242 16.9063 16.3242Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.1875 14.8203H19.0938C18.9427 14.8203 18.8203 14.9427 18.8203 15.0937V20.5898H20.4609V15.0937C20.4609 14.9427 20.3385 14.8203 20.1875 14.8203Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M23.4688 12.0859H22.375C22.224 12.0859 22.1016 12.2084 22.1016 12.3594V20.5898H23.7422V12.3594C23.7422 12.2084 23.6198 12.0859 23.4688 12.0859Z", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M11.4102 15.4023C16.7974 15.4023 22.1847 11.2838 23.9182 7.40977", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M21.4121 8.08301L23.9187 7.41137L24.5904 9.91797", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ O.createElement("path", { d: "M12.771 28V23.8H13.509L15.039 26.29L14.607 26.284L16.155 23.8H16.857V28H16.083V26.422C16.083 26.062 16.091 25.738 16.107 25.45C16.127 25.162 16.159 24.876 16.203 24.592L16.299 24.85L14.997 26.86H14.601L13.341 24.868L13.425 24.592C13.469 24.86 13.499 25.136 13.515 25.42C13.535 25.7 13.545 26.034 13.545 26.422V28H12.771ZM17.9859 28V23.8H20.7339V24.508H18.7539V27.292H20.7579V28H17.9859ZM18.3459 26.2V25.504H20.4279V26.2H18.3459ZM22.5759 28V24.52H21.3759V23.8H24.5919V24.52H23.3559V28H22.5759Z", fill: "#004FBF" })), Rv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M18.54 3.24828H5.46C4.24 3.24828 3.25 4.23828 3.25 5.45828C3.25 5.98828 3.44 6.49828 3.78 6.89828L8.95 12.9283C9.14 13.1583 9.25 13.4483 9.25 13.7383V19.3783C9.25 19.9883 9.56 20.5483 10.08 20.8683C10.36 21.0383 10.68 21.1283 11 21.1283C11.27 21.1283 11.53 21.0683 11.78 20.9383L13.78 19.9383C14.38 19.6383 14.75 19.0383 14.75 18.3683V13.7283C14.75 13.4283 14.86 13.1383 15.05 12.9183L20.22 6.88828C20.56 6.48828 20.75 5.97828 20.75 5.44828C20.75 4.22828 19.76 3.23828 18.54 3.23828V3.24828ZM19.08 5.91828L13.91 11.9483C13.48 12.4483 13.25 13.0783 13.25 13.7383V18.3783C13.25 18.4783 13.2 18.5583 13.11 18.5983L11.11 19.5983C11 19.6583 10.91 19.6183 10.87 19.5883C10.83 19.5583 10.75 19.4983 10.75 19.3783V13.7383C10.75 13.0783 10.52 12.4483 10.09 11.9483L4.92 5.91828C4.81 5.78828 4.75 5.62828 4.75 5.45828C4.75 5.06828 5.07 4.74828 5.46 4.74828H18.54C18.93 4.74828 19.25 5.06828 19.25 5.45828C19.25 5.62828 19.19 5.78828 19.08 5.91828Z", fill: "#247EFE" })), jv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M18.9296 14.4993C18.6563 14.5005 18.384 14.5337 18.1184 14.5982L14.5404 8.39545C15.0097 7.89859 15.3231 7.27512 15.442 6.60208C15.5608 5.92904 15.4799 5.23592 15.2092 4.60837C14.9385 3.98081 14.4899 3.44632 13.9187 3.07092C13.3476 2.69553 12.679 2.49569 11.9955 2.49609C11.3121 2.4965 10.6437 2.69713 10.073 3.07319C9.50234 3.44926 9.05434 3.98428 8.78437 4.61216C8.51439 5.24003 8.43429 5.93325 8.55395 6.60615C8.67361 7.27905 8.98779 7.90214 9.45767 8.39845L5.8812 14.5986C5.21597 14.4366 4.51782 14.4732 3.8732 14.704C3.22858 14.9347 2.66579 15.3495 2.25452 15.8969C1.84325 16.4443 1.60157 17.1003 1.55938 17.7837C1.5172 18.467 1.67638 19.1478 2.01721 19.7416C2.35804 20.3354 2.86554 20.8162 3.47689 21.1245C4.08824 21.4328 4.77659 21.555 5.45669 21.476C6.1368 21.397 6.7788 21.1203 7.3032 20.68C7.82761 20.2398 8.21138 19.6555 8.40701 18.9993H15.5928C15.7796 19.6194 16.1351 20.1754 16.6197 20.6051C17.1042 21.0348 17.6987 21.3213 18.3367 21.4326C18.9747 21.5439 19.6311 21.4756 20.2325 21.2354C20.8339 20.9952 21.3567 20.5925 21.7425 20.0722C22.1282 19.552 22.3617 18.9348 22.4169 18.2895C22.4721 17.6442 22.3468 16.9963 22.0549 16.4182C21.7631 15.84 21.3163 15.3544 20.7644 15.0155C20.2125 14.6767 19.5772 14.498 18.9296 14.4993ZM11.9999 4.49933C12.2128 4.49996 12.423 4.54591 12.6167 4.63412C12.8104 4.72233 12.9831 4.85078 13.1233 5.01093C13.2635 5.17107 13.368 5.35924 13.4299 5.56291C13.4917 5.76658 13.5094 5.98108 13.4819 6.19214C13.4544 6.4032 13.3822 6.60598 13.2703 6.78699C13.1583 6.96799 13.009 7.12308 12.8324 7.24192C12.6559 7.36076 12.456 7.44063 12.2462 7.47622C12.0363 7.51181 11.8213 7.50231 11.6154 7.44833C11.4858 7.41393 11.3617 7.36124 11.247 7.29184C10.9617 7.12672 10.7388 6.87203 10.6131 6.5673C10.4873 6.26257 10.4657 5.92485 10.5515 5.60656C10.6373 5.28827 10.8258 5.00721 11.0877 4.807C11.3496 4.6068 11.6703 4.49865 11.9999 4.49933ZM11.1864 9.40509C11.209 9.4104 11.2335 9.4082 11.2563 9.41309C11.7482 9.52841 12.26 9.52806 12.7517 9.41209C12.7717 9.40776 12.7935 9.40977 12.8134 9.40509L16.3866 15.5989C16.3737 15.6126 16.3658 15.6299 16.3532 15.6437C16.1806 15.8293 16.0286 16.0329 15.8999 16.2512L15.8992 16.2526C15.7761 16.4702 15.6765 16.7003 15.6022 16.939C15.5955 16.96 15.5824 16.9782 15.5761 16.9993H8.42374C8.41774 16.9795 8.40549 16.9623 8.3992 16.9426C8.24348 16.4521 7.98155 16.002 7.63205 15.6242C7.62485 15.6165 7.62045 15.6066 7.61319 15.5989L11.1864 9.40509ZM5.07022 19.4993C4.67239 19.4993 4.29086 19.3413 4.00956 19.06C3.72825 18.7787 3.57022 18.3972 3.57022 17.9993C3.57022 17.6015 3.72825 17.22 4.00956 16.9387C4.29086 16.6574 4.67239 16.4993 5.07022 16.4993C5.33569 16.4971 5.59649 16.5691 5.82315 16.7073C6.10846 16.8724 6.33128 17.1271 6.45704 17.4318C6.58279 17.7365 6.60443 18.0741 6.51861 18.3924C6.43278 18.7107 6.24429 18.9917 5.98239 19.1918C5.72049 19.392 5.39984 19.5001 5.07022 19.4993ZM18.9296 19.4993C18.5986 19.5001 18.2767 19.3911 18.0143 19.1894C17.7519 18.9878 17.5637 18.7048 17.4792 18.3848C17.3947 18.0648 17.4186 17.7258 17.5473 17.4209C17.676 17.1159 17.9021 16.8623 18.1903 16.6995C18.4135 16.5656 18.6694 16.4963 18.9296 16.4993C19.3274 16.4993 19.709 16.6574 19.9903 16.9387C20.2716 17.22 20.4296 17.6015 20.4296 17.9993C20.4296 18.3972 20.2716 18.7787 19.9903 19.06C19.709 19.3413 19.3274 19.4993 18.9296 19.4993Z", fill: "#247EFE" })), Iv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M13.75 12C13.75 14.8995 11.3995 17.25 8.5 17.25C5.60051 17.25 3.25 14.8995 3.25 12C3.25 9.10051 5.60051 6.75 8.5 6.75C11.3995 6.75 13.75 9.10051 13.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M20.75 12C20.75 14.8995 18.3995 17.25 15.5 17.25C12.6005 17.25 10.25 14.8995 10.25 12C10.25 9.10051 12.6005 6.75 15.5 6.75C18.3995 6.75 20.75 9.10051 20.75 12Z", stroke: "#247EFE", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0181 13.4497 8.27355 12.0001 7.19922C10.5505 8.27355 9.6001 10.0181 9.6001 11.9992C9.6001 13.9803 10.5505 15.7249 12.0001 16.7992C13.4497 15.7249 14.4001 13.9803 14.4001 11.9992Z", fill: "#247EFE" })), zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M11.9999 16.24C12.1299 16.35 12.2699 16.45 12.4099 16.55C12.5499 16.64 12.6999 16.73 12.8499 16.81C13.6299 17.25 14.5399 17.5 15.4999 17.5C18.5299 17.5 20.9999 15.03 20.9999 12C20.9999 8.97 18.5299 6.5 15.4999 6.5C14.5399 6.5 13.6299 6.75 12.8499 7.19C12.6999 7.27 12.5499 7.36 12.4099 7.45C12.2699 7.55 12.1299 7.65 11.9999 7.76C11.8699 7.65 11.7299 7.55 11.5899 7.45C11.4499 7.36 11.2999 7.27 11.1499 7.19C11.2799 7.06 11.4199 6.95 11.5599 6.84C11.6999 6.73 11.8499 6.63 11.9999 6.53C13.0099 5.88 14.2099 5.5 15.4999 5.5C19.0799 5.5 21.9999 8.42 21.9999 12C21.9999 15.58 19.0799 18.5 15.4999 18.5C14.2099 18.5 13.0099 18.12 11.9999 17.47C11.8499 17.37 11.6999 17.27 11.5599 17.16C11.4199 17.05 11.2799 16.94 11.1499 16.81C11.2999 16.73 11.4499 16.64 11.5899 16.55C11.7299 16.45 11.8699 16.35 11.9999 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.5 5.5C9.79 5.5 10.99 5.88 12 6.53C12.15 6.63 12.3 6.73 12.44 6.84C12.58 6.95 12.72 7.06 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.72 16.94 12.58 17.05 12.44 17.16C12.3 17.27 12.15 17.37 12 17.47C10.99 18.12 9.79 18.5 8.5 18.5C4.92 18.5 2 15.58 2 12C2 8.42 4.92 5.5 8.5 5.5ZM12 16.24C10.78 15.23 10 13.7 10 12C10 10.3 10.78 8.77 12 7.76C11.87 7.65 11.73 7.55 11.59 7.45C11.45 7.36 11.3 7.27 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.3 16.73 11.45 16.64 11.59 16.55C11.73 16.45 11.87 16.35 12 16.24Z", fill: "#247EFE" })), Hv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M22 13.7945C22 15.9444 21.3018 17.985 19.9808 19.6963C19.7202 20.0341 19.2301 20.0996 18.8864 19.8449C18.5424 19.5898 18.4745 19.1097 18.7346 18.7726C19.8487 17.3295 20.4375 15.6081 20.4375 13.7945C20.4375 9.22487 16.6608 5.5311 12 5.5311C7.336 5.5311 3.5625 9.22772 3.5625 13.7945C3.5625 15.6081 4.15134 17.3295 5.26523 18.7726C5.52554 19.1097 5.45764 19.5898 5.11356 19.8449C4.76932 20.1 4.27951 20.0335 4.01904 19.6963C2.69824 17.985 2 15.9444 2 13.7945C2 8.37828 6.47571 4 12 4C17.5273 4 22 8.38127 22 13.7945ZM16.9501 9.18405C17.2551 9.48295 17.2551 9.9677 16.9501 10.2666L14.4036 12.762C14.6132 13.1407 14.7325 13.5743 14.7325 14.0345C14.7325 15.5111 13.5067 16.7122 12 16.7122C10.4932 16.7122 9.26746 15.5111 9.26746 14.0345C9.26746 12.5582 10.4932 11.3569 12 11.3569C12.4698 11.3569 12.9122 11.4738 13.2987 11.6793L15.8452 9.18391C16.1504 8.88501 16.6449 8.88501 16.9501 9.18405ZM13.17 14.0347C13.17 13.4025 12.6451 12.8881 12 12.8881C11.3549 12.8881 10.83 13.4025 10.83 14.0347C10.83 14.6669 11.3549 15.1812 12 15.1812C12.6451 15.1812 13.17 14.6669 13.17 14.0347Z", fill: "#247EFE" })), Pv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M6.99991 6.25064C6.83589 6.25129 6.67342 6.21886 6.52222 6.15528C6.37101 6.09171 6.23418 5.9983 6.11991 5.88064L4.99991 4.77064L3.87991 5.88064C3.76534 5.99796 3.62847 6.09119 3.47734 6.15484C3.32622 6.21849 3.16389 6.25128 2.99991 6.25128C2.83593 6.25128 2.6736 6.21849 2.52247 6.15484C2.37135 6.09119 2.23448 5.99796 2.11991 5.88064C2.00259 5.76607 1.90936 5.6292 1.84571 5.47807C1.78206 5.32695 1.74927 5.16462 1.74927 5.00064C1.74927 4.83666 1.78206 4.67433 1.84571 4.52321C1.90936 4.37208 2.00259 4.23521 2.11991 4.12064L4.11991 2.12064C4.23448 2.00332 4.37135 1.91009 4.52247 1.84644C4.6736 1.78279 4.83593 1.75 4.99991 1.75C5.16389 1.75 5.32622 1.78279 5.47734 1.84644C5.62847 1.91009 5.76534 2.00332 5.87991 2.12064L7.87991 4.12064C8.05317 4.29542 8.17098 4.51745 8.21858 4.75891C8.26618 5.00037 8.24144 5.25051 8.14747 5.47796C8.05349 5.70542 7.89447 5.90008 7.69033 6.03753C7.48618 6.17498 7.24601 6.24912 6.99991 6.25064Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M4.99984 22.25C4.83582 22.2507 4.67335 22.2182 4.52215 22.1547C4.37095 22.0911 4.23412 21.9977 4.11984 21.88L2.11984 19.88C1.94658 19.7052 1.82877 19.4832 1.78117 19.2417C1.73357 19.0003 1.75831 18.7501 1.85228 18.5227C1.94626 18.2952 2.10528 18.1006 2.30942 17.9631C2.51357 17.8257 2.75374 17.7515 2.99984 17.75C3.16386 17.7494 3.32633 17.7818 3.47753 17.8454C3.62874 17.9089 3.76557 18.0023 3.87984 18.12L4.99984 19.23L6.11984 18.12C6.23541 18.0044 6.3726 17.9128 6.52359 17.8502C6.67458 17.7877 6.83641 17.7555 6.99984 17.7555C7.16327 17.7555 7.32511 17.7877 7.4761 17.8502C7.62709 17.9128 7.76428 18.0044 7.87984 18.12C7.99541 18.2356 8.08708 18.3728 8.14962 18.5238C8.21216 18.6747 8.24435 18.8366 8.24435 19C8.24435 19.1634 8.21216 19.3253 8.14962 19.4763C8.08708 19.6273 7.99541 19.7644 7.87984 19.88L5.87984 21.88C5.76557 21.9977 5.62874 22.0911 5.47753 22.1547C5.32633 22.2182 5.16386 22.2507 4.99984 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M5 22.25C4.66848 22.25 4.35054 22.1183 4.11612 21.8839C3.8817 21.6495 3.75 21.3315 3.75 21V3C3.75 2.66848 3.8817 2.35054 4.11612 2.11612C4.35054 1.8817 4.66848 1.75 5 1.75C5.33152 1.75 5.64946 1.8817 5.88388 2.11612C6.1183 2.35054 6.25 2.66848 6.25 3V21C6.25 21.3315 6.1183 21.6495 5.88388 21.8839C5.64946 22.1183 5.33152 22.25 5 22.25Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 6.25C10.6685 6.25 10.3505 6.1183 10.1161 5.88388C9.8817 5.64946 9.75 5.33152 9.75 5C9.75 4.66848 9.8817 4.35054 10.1161 4.11612C10.3505 3.8817 10.6685 3.75 11 3.75H21C21.3315 3.75 21.6495 3.8817 21.8839 4.11612C22.1183 4.35054 22.25 4.66848 22.25 5C22.25 5.33152 22.1183 5.64946 21.8839 5.88388C21.6495 6.1183 21.3315 6.25 21 6.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 11.25C10.6685 11.25 10.3505 11.1183 10.1161 10.8839C9.8817 10.6495 9.75 10.3315 9.75 10C9.75 9.66848 9.8817 9.35054 10.1161 9.11612C10.3505 8.8817 10.6685 8.75 11 8.75H19C19.3315 8.75 19.6495 8.8817 19.8839 9.11612C20.1183 9.35054 20.25 9.66848 20.25 10C20.25 10.3315 20.1183 10.6495 19.8839 10.8839C19.6495 11.1183 19.3315 11.25 19 11.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 16.25C10.6685 16.25 10.3505 16.1183 10.1161 15.8839C9.8817 15.6495 9.75 15.3315 9.75 15C9.75 14.6685 9.8817 14.3505 10.1161 14.1161C10.3505 13.8817 10.6685 13.75 11 13.75H17C17.3315 13.75 17.6495 13.8817 17.8839 14.1161C18.1183 14.3505 18.25 14.6685 18.25 15C18.25 15.3315 18.1183 15.6495 17.8839 15.8839C17.6495 16.1183 17.3315 16.25 17 16.25H11Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M11 21.25C10.6685 21.25 10.3505 21.1183 10.1161 20.8839C9.8817 20.6495 9.75 20.3315 9.75 20C9.75 19.6685 9.8817 19.3505 10.1161 19.1161C10.3505 18.8817 10.6685 18.75 11 18.75H15C15.3315 18.75 15.6495 18.8817 15.8839 19.1161C16.1183 19.3505 16.25 19.6685 16.25 20C16.25 20.3315 16.1183 20.6495 15.8839 20.8839C15.6495 21.1183 15.3315 21.25 15 21.25H11Z", fill: "#247EFE" })), Bv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M15.5 6C14.19 6 12.99 6.42 12 7.13C11.01 6.42 9.81 6 8.5 6C5.19 6 2.5 8.69 2.5 12C2.5 15.31 5.19 18 8.5 18C9.81 18 11.01 17.58 12 16.87C12.99 17.58 14.19 18 15.5 18C18.81 18 21.5 15.31 21.5 12C21.5 8.69 18.81 6 15.5 6Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M14.4001 11.9992C14.4001 10.0248 13.4521 8.27856 12.0001 7.19922C10.5481 8.26979 9.6001 10.016 9.6001 11.9992C9.6001 13.9824 10.5481 15.7199 12.0001 16.7992C13.4521 15.7287 14.4001 13.9824 14.4001 11.9992Z", fill: "white" })), Vv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 16.24C11.87 16.35 11.73 16.45 11.59 16.55C11.45 16.64 11.3 16.73 11.15 16.81C10.37 17.25 9.46 17.5 8.5 17.5C5.47 17.5 3 15.03 3 12C3 8.97 5.47 6.5 8.5 6.5C9.46 6.5 10.37 6.75 11.15 7.19C11.3 7.27 11.45 7.36 11.59 7.45C11.73 7.55 11.87 7.65 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C12.72 7.06 12.58 6.95 12.44 6.84C12.3 6.73 12.15 6.63 12 6.53C10.99 5.88 9.79 5.5 8.5 5.5C4.92 5.5 2 8.42 2 12C2 15.58 4.92 18.5 8.5 18.5C9.79 18.5 10.99 18.12 12 17.47C12.15 17.37 12.3 17.27 12.44 17.16C12.58 17.05 12.72 16.94 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5.5C14.21 5.5 13.01 5.88 12 6.53C11.85 6.63 11.7 6.73 11.56 6.84C11.42 6.95 11.28 7.06 11.15 7.19C9.83 8.37 9 10.09 9 12C9 13.91 9.83 15.63 11.15 16.81C11.28 16.94 11.42 17.05 11.56 17.16C11.7 17.27 11.85 17.37 12 17.47C13.01 18.12 14.21 18.5 15.5 18.5C19.08 18.5 22 15.58 22 12C22 8.42 19.08 5.5 15.5 5.5ZM12 16.24C13.22 15.23 14 13.7 14 12C14 10.3 13.22 8.77 12 7.76C12.13 7.65 12.27 7.55 12.41 7.45C12.55 7.36 12.7 7.27 12.85 7.19C14.17 8.37 15 10.09 15 12C15 13.91 14.17 15.63 12.85 16.81C12.7 16.73 12.55 16.64 12.41 16.55C12.27 16.45 12.13 16.35 12 16.24Z", fill: "#247EFE" })), $v = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.7167 12C14.7167 15.7555 11.6723 18.8 7.91675 18.8C4.16121 18.8 1.11675 15.7555 1.11675 12C1.11675 8.24446 4.16121 5.2 7.91675 5.2C11.6723 5.2 14.7167 8.24446 14.7167 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M22.8835 12C22.8835 15.7555 19.839 18.8 16.0835 18.8C12.328 18.8 9.2835 15.7555 9.2835 12C9.2835 8.24446 12.328 5.2 16.0835 5.2C19.839 5.2 22.8835 8.24446 22.8835 12Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.4, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M9.5002 11.9984C9.5002 9.86769 10.4839 7.98368 12.0002 6.77668C13.5165 7.98368 14.5002 9.86769 14.5002 11.9984C14.5002 14.1292 13.5165 16.0132 12.0002 17.2202C10.4839 16.0132 9.5002 14.1292 9.5002 11.9984Z", fill: "#247EFE", stroke: "white", strokeWidth: 0.6 }), /* @__PURE__ */ O.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ O.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), Wv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M12 15.7265C10.5461 15.7265 9.36326 16.9094 9.36326 18.3633C9.36326 18.5438 9.38158 18.7202 9.41631 18.8906H6.16405V17.4918L6.4943 17.8221C6.70025 18.028 7.03413 18.028 7.24007 17.8221C7.44602 17.6162 7.44602 17.2823 7.24007 17.0763L6.0096 15.8459C5.80366 15.6399 5.46978 15.6399 5.26383 15.8459L4.03337 17.0763C3.82742 17.2823 3.82742 17.6162 4.03337 17.8221C4.23931 18.028 4.57319 18.028 4.77913 17.8221L5.10936 17.4918V19.418C5.10936 19.7092 5.34547 19.9453 5.6367 19.9453H9.89205C10.3736 20.5853 11.1392 21 12 21C13.4539 21 14.6367 19.8172 14.6367 18.3633C14.6367 16.9094 13.4539 15.7265 12 15.7265ZM12 19.9453C11.1277 19.9453 10.418 19.2356 10.418 18.3633C10.418 17.4909 11.1277 16.7812 12 16.7812C12.8723 16.7812 13.582 17.4909 13.582 18.3633C13.582 19.2356 12.8723 19.9453 12 19.9453Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8.27344 12C8.27344 10.5461 7.09061 9.36326 5.63672 9.36326C5.45616 9.36326 5.27981 9.38158 5.10938 9.41631V6.16405H6.50814L6.17788 6.4943C5.97193 6.70025 5.97193 7.03413 6.17788 7.24007C6.38382 7.44602 6.7177 7.44602 6.92365 7.24007L8.15412 6.0096C8.36006 5.80366 8.36006 5.46978 8.15412 5.26383L6.92365 4.03337C6.7177 3.82742 6.38382 3.82742 6.17788 4.03337C5.97193 4.23931 5.97193 4.57319 6.17788 4.77913L6.50814 5.10936H4.58203C4.2908 5.10936 4.05469 5.34547 4.05469 5.6367V9.89205C3.4147 10.3736 3 11.1392 3 12C3 13.4539 4.18283 14.6367 5.63672 14.6367C7.09061 14.6367 8.27344 13.4539 8.27344 12ZM4.05469 12C4.05469 11.1277 4.76439 10.418 5.63672 10.418C6.50905 10.418 7.21875 11.1277 7.21875 12C7.21875 12.8723 6.50905 13.582 5.63672 13.582C4.76439 13.582 4.05469 12.8723 4.05469 12Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M21 12C21 10.5461 19.8172 9.36328 18.3633 9.36328C16.9094 9.36328 15.7265 10.5461 15.7265 12C15.7265 13.4539 16.9094 14.6367 18.3633 14.6367C18.5438 14.6367 18.7202 14.6184 18.8906 14.5837V17.8359H17.4918L17.8221 17.5057C18.028 17.2997 18.028 16.9659 17.8221 16.7599C17.6162 16.554 17.2823 16.554 17.0763 16.7599L15.8459 17.9904C15.6399 18.1963 15.6399 18.5302 15.8459 18.7361L17.0763 19.9666C17.2823 20.1726 17.6162 20.1726 17.8221 19.9666C18.028 19.7607 18.028 19.4268 17.8221 19.2208L17.4918 18.8906H19.418C19.7092 18.8906 19.9453 18.6545 19.9453 18.3633V14.1079C20.5853 13.6264 21 12.8608 21 12ZM18.3633 13.582C17.4909 13.582 16.7812 12.8723 16.7812 12C16.7812 11.1277 17.4909 10.418 18.3633 10.418C19.2356 10.418 19.9453 11.1277 19.9453 12C19.9453 12.8723 19.2356 13.582 18.3633 13.582Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M17.8359 5.10938V6.50814L17.5057 6.17788C17.2997 5.97193 16.9659 5.97193 16.7599 6.17788C16.554 6.38382 16.554 6.7177 16.7599 6.92365L17.9904 8.15412C18.1963 8.36006 18.5302 8.36006 18.7361 8.15412L19.9666 6.92365C20.1726 6.7177 20.1726 6.38382 19.9666 6.17788C19.7607 5.97193 19.4268 5.97193 19.2208 6.17788L18.8906 6.50814V4.58203C18.8906 4.2908 18.6545 4.05469 18.3633 4.05469H14.1079C13.6264 3.4147 12.8608 3 12 3C10.5461 3 9.36328 4.18283 9.36328 5.63672C9.36328 7.09061 10.5461 8.27344 12 8.27344C13.4539 8.27344 14.6367 7.09061 14.6367 5.63672C14.6367 5.45616 14.6184 5.27981 14.5837 5.10938H17.8359ZM12 7.21875C11.1277 7.21875 10.418 6.50905 10.418 5.63672C10.418 4.76439 11.1277 4.05469 12 4.05469C12.8723 4.05469 13.582 4.76439 13.582 5.63672C13.582 6.50905 12.8723 7.21875 12 7.21875Z", fill: "#247EFE" })), Zv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.6166 19.9996C15.6166 16.4829 17.3499 13.3662 19.9999 11.4662C18.2666 10.2162 16.1499 9.48291 13.8666 9.48291C8.04992 9.48291 3.33325 14.1996 3.33325 20.0162C3.33325 25.8329 8.04992 30.5496 13.8666 30.5496C16.1666 30.5496 18.2833 29.7996 19.9999 28.5662C17.3499 26.6496 15.6166 23.5496 15.6166 20.0329V19.9996Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M26.1333 9.46644C23.8333 9.46644 21.7167 10.2164 20 11.4498C22.65 13.3664 24.3833 16.4664 24.3833 19.9831C24.3833 23.4998 22.65 26.6164 20 28.5164C21.7333 29.7664 23.85 30.4998 26.1333 30.4998C31.95 30.4998 36.6667 25.7831 36.6667 19.9664C36.6667 14.1498 31.95 9.43311 26.1333 9.43311V9.46644Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M20 13.633C21.7167 15.2996 22.7167 17.5996 22.7167 19.9996C22.7167 22.3996 21.7167 24.7163 20 26.3663C18.2834 24.6996 17.2834 22.3996 17.2834 19.9996C17.2834 17.5996 18.2834 15.283 20 13.633ZM20 11.4663C17.35 13.383 15.6167 16.483 15.6167 19.9996C15.6167 23.5163 17.35 26.633 20 28.533C22.65 26.6163 24.3834 23.5163 24.3834 19.9996C24.3834 16.483 22.65 13.3663 20 11.4663Z", fill: "white" })), Uv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M19 8H16V5C16 4.20435 15.6839 3.44129 15.1213 2.87868C14.5587 2.31607 13.7956 2 13 2H5C4.20435 2 3.44129 2.31607 2.87868 2.87868C2.31607 3.44129 2 4.20435 2 5V13C2 13.7956 2.31607 14.5587 2.87868 15.1213C3.44129 15.6839 4.20435 16 5 16H8V19C8 19.7956 8.31607 20.5587 8.87868 21.1213C9.44129 21.6839 10.2044 22 11 22H19C19.7956 22 20.5587 21.6839 21.1213 21.1213C21.6839 20.5587 22 19.7956 22 19V11C22 10.2044 21.6839 9.44129 21.1213 8.87868C20.5587 8.31607 19.7956 8 19 8ZM20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H11C10.7348 20 10.4804 19.8946 10.2929 19.7071C10.1054 19.5196 10 19.2652 10 19V15C10 14.7348 9.89464 14.4804 9.70711 14.2929C9.51957 14.1054 9.26522 14 9 14H5C4.73478 14 4.48043 13.8946 4.29289 13.7071C4.10536 13.5196 4 13.2652 4 13V5C4 4.73478 4.10536 4.48043 4.29289 4.29289C4.48043 4.10536 4.73478 4 5 4H13C13.2652 4 13.5196 4.10536 13.7071 4.29289C13.8946 4.48043 14 4.73478 14 5V9C14 9.26522 14.1054 9.51957 14.2929 9.70711C14.4804 9.89464 14.7348 10 15 10H19C19.2652 10 19.5196 10.1054 19.7071 10.2929C19.8946 10.4804 20 10.7348 20 11V19Z", fill: "#247EFE" })), qv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", fill: "#247EFE" }), /* @__PURE__ */ O.createElement("path", { d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", fill: "#247EFE" })), Yv = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN5SURBVHgBrVVLTxNRFP7uzLRAQW2tEDHBVI3PjZDoAkkQA5i4QhcmGFFBf4BgdOUCunMnuNK4gAUoxA2sjAGlC0iUDSZqCGCkCAEhFsqrUOZxPXd42MdMQwJf0s7tvXNe33fuKUMKVPfOuzXNqAVjlxmDj3PuE/uMsTDn+CrJrFMCulqueIJ2PpiNY5+m82aAl2AHoOAtsiT5rQJJiRu3u0O1usEHd+pcgKqp1nRjUNgmBY/9UdUdaqCdeuwGHP7Wcm9DUgARnUp9jj0AVVTXVu5tFGuTIsG5JDHbzA+lS7h10gWXwuBJk1BzJtNc24ESrRc+twPohlFPHeK2M8jNklGal448eua4ZBQdScNpjwMp4N5oEgogIgmREt8QGb4o9uD+2Uxkp8tJHrIcDA/OZeFZodumGl4i2lwh9SusUjDo8y2k4lJuGgoPJ5/fI5oEhuZURDRu5QKaYTxUiLHrQvpYZGfIOOlW8PrHMvqmHKg+44I3Y6OKiGqYz4llHW9HVjAS1nAxx4lfixpCa0ZCEayEVfWE5mkZx/9dyq6YeP5LBi+/LyNIxkeJfzcJbBCfSyrH+JJu6nDzhAu+/TJ6JtbQPhqJ9w8ERYCk+mSitOJYBq4eTYciMXwYX8PQvIpK6iSBjp8RnDvoQDkJL+jp+b2K7skoVi2oSrrJAk6KIN5d36yYYojW27g1zOzz7QvENr9WbXRgdz6GxsjAF7spMi2j7IJLGt5R2cPEc16WggNpzMxofp1jgs7Oev7r82lyDW9GIon+w0TRXG/i3BEX6/gBGQMzKk65Hag85TI18A8swOWQ8KRgn6nPK9JnjPQpOuzE6IKG2dUEkcEDChgPkBpxAYSx+DzK32dyvYXYfhdJPL2wH/3TUbQNR4hOK4ponCuS1GRxgky6SEcyZXyZiaJ5aCXpvIOo+/wnioJsJzUCLKGp610KzfAw0RRIpGmFWvFxf9hcnz+UPBZmIzq6qTXpTUvnVE9L+7XcoLQRKVpDjzBsMEoi901FTY6FuKLnJ1d0pEBYV9f9YhEzrmdpXMt7Mq4Jta1lXpP6bfbaynMaKVwDdgvyseU8LoBAa6nXz7lehxR0pYCwqRU+4uNZoPL9tE92OOvpsBo7Ag9oqlojRE08YanMRCDF4aRxzmnisnxsDkUaG0H6gwrSIrC8uNjUeeOYbcX/ANJIbge2tX2aAAAAAElFTkSuQmCC", Gv = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYoSURBVHgB3ZpfTFtVHMd/57bAWICwjUXpWFJnwmQvq2PqtsRBnMYRIdvLljAfNh8ETYwE2YPJHigPJpoIkxgjwRjBRNEtKgldgnMuRWKQhT/dy5A+IHMbjRnThi7jj2vPzvfAbdpyb9nu7br1fhJCe8+97fmd3//TwygJrhOnC5VspYExXsmJnIyYkx4DOOdBxsgXjrBeFrH1jn/5zlW9e5nWRSGY05bDvhLDlZQBcOJd/K7drSWoLfFC+ZvtDcxO3zHGnqEMQViWS1jZCceuqoXAWP9w7FicgLvq2puZQh8K4dZRpsFonfg7WFxeRYHR/gH1clRAqTkhHGU4wjcrhSaDqialD8LnlGw2LjRXSFaAUzAStrngkwreKzms2TLCAUaFiv1ul3y5HDGVv8iChBcjGxRblnKILApyuEIKP0wWBQWKQpy5yKJwYk4FDkkWRaQIp0IWx06PmPz1OZSXm02OTQU0c2uOArdClEpSImB56Raq3ltG27dulu9DdxbJf32WJq/dpFH/dcrPzaGafTvkfXgdml+kmdm56P0j/hvyP4R0bMqXz/Vc9Ilnb5BZWHl9OyeDYELNx1+WK+8Z+lMIdVMKVywnWiAFqn3JRYF/56j1zGB0HJSWbKZK1zZ5T9/QhHh+Ivq5GDt2wCXuXaDOc5eiz6RdQPfxV6KrrUWN0GrFzm3U8vUF3UliIWqFMKLJo9azg3FjddUvyAWob/uRjGI4yOCLRR+mKxx8C2bbeva3pBqA9lvPiHvml6jpyItxY52eYWnqlWKRjGJCwBIa8E3pjmNSfqHd+w0aEAamDbONBT5cuuKrRjAsIL50Jsnkob0+4ZcPAkwZZhmLGf8DhgXMF6E9NL+gOw5tIKjIe4W5rvl54p7ijfkyusL8VRBwzAhpOE0kMz1VIETY3cKUoeliEf7r237QfA6RFlET6QLPwvzVFOEoKiBvEldYC8MaRC7bXqLtG8h1AKmj5lSXDPdIA8cOPKt5f82+MumDqB4hTKzGoE3VEoxgWED/tVlphlpAeGgKAQK0ifAPASt0omGeWBDkwpbuC1JjiJwAKSR0Z8mUiRoWEJOHKWmROCGkAvzdnteeaECMqWatah8sFwFXyAyGBcSES7cWaY7pBZX8XO3NOvgb/BBA+whgAAWAagVGMdVNwJRiI55KsTSt1dpCYaAFigWkFSwMomieDDRbZJVktvg2JeDoZBIzTUgh8Ce9yWIx4KPQ4m1R0YCavTtkkDKLKQE9f0xoahA+lSg4Engyf1K1WLHzKemHsAKz5glMCaiaIXJc4nVoJLa2xD2xHYPWZ0FILAxyorv7PKUC0x098hbMKRHktWpx/dtTtbLrAIkLkQgWAJF2RGgO5gyfLC0pWvO5ZJhqlwAm8Y0Q4vUPeuICi1v2iSE5aVQ0GEOOa/rco+uLWAhEUZRnjpUci8A0cHlKdhxGsDl2V7nJBEv/h+XuDrqHoSt/y2t11c/L/1f/+U90B0+T88kNdLLjnJx0dpY9msgTaTpaQZ/+9DudH/HL6iUnC5Ukk9fU4POgpGTLoudXn1z9pqPLPod8B7NCx9HpubRsrnvKZJR0d/+i+znQVu1KOQdTRXVjNtCkbNMJE0cHj7Kr5+Kg1NZ7R/YLoffLqIgIqtccA5g6TLclyQIYIaW7an0xURKVzskOT9x4Yq8Xi15xYJa07osmEwC7aWa6Bj3SKiACRWwxHUvxRgtoEOgV4tgj1YuuZkirgJPCBJG4tTDb2OqRVgGxy6ZWJyp4j/TivTz1UEw07b9NoGv/+O3XZFsEYJqIvstbFqnHdKlmlHK5GTUnO4+HySP7dSkVrdD9YPnfBxVhn9NkVTgFFUZ8mqwKYz6Fc+YlqxLhvUpkKdJOFiWSbetVfF2NQWGsXrIcvGv8s5WzamHG34BDklXAYTy73Y2XUkBfR+O02Blwk1Xg5Ib28DJ6XjQw2j+Mw6Q4b0kZjPip3z32RcNH6vu4E784KSs2oYJiBfbIE7SZBFyM0/uxwoFVZ7ahySeee/V7YbuFOG1JGQHzRrJsB8c63v151Uiyx1xvnXbawsohUthhoXvX43KuDdUXIzbNOfdG1kfafZ806gbIe6tPtetqwQZ3AAAAAElFTkSuQmCC", Kv = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAT6SURBVHgB7ZrNbxtFGId/s+t1nIQkdg+J4yi10yIOCNRKIA4olSICXEAiCE6c0gvXVPwBNIg7ImcORBx6QDTygQuHFNMLQiDhIlKkKGlsErVppdhOih1/rYd5J1nLX0m96Y7btfxIk12PN4kfzcw7846H4RS25mb8GrQFztgMGCKiKoLngww44kxD1OA8Glq5lTzpQdaqUohFGNO/Fe/OwAUw8GUDWGwlqjVWJOdmF5im/+kWOYKDzRfB4vTZG9+rE0zOvXWda/ha3PrhPvz02cmhtrLaRcn+WM71sAquhaOrS/KefsgxR93SnS3XiowX/DKNSdlFNU2jZu0WOcJf5GyZbthx621BMaXzU8hOv42xYBClH39AZf0fqIZXzIBH0/UPOIcyLLHi+QvytR6JQP/sc5jrd5WLip65wBIfzv6sYkpoFLOICMFalIpyxDQhdxkOU3jpZaQ/+bRJrhW6eNYnWlS/9Doch/EIBRnHgwvv64dd2MAAnIdFNHQ5XS/ogU0oePiuzGIgk0J+7Q5KiU2oxBwLoRS+CGN0DMb6mu1g1LagORLA4/c+loEjFArh3MSErK9k/0Nxa1PKUilubeBpKAuZspCS18hFcN/RePYMDcH3/kcy6ha//w58J9nW32tbsCTEWkVFbfAF+F65JIvFg7t/4yB7CDvkrryL3PQ7VaGToKirT4ZRblNQyRg0RoNNdaVSCel0Gtvb28jlck3v88C5J8qdBdtjsF1M08TBwQHy+Tz29/elILGzsyOvIyMjGB4eRlAs3eiqCiWCA2JOGx8fR19fH/b29lCpVJBKpeqeOTw86sJcrBPpmUAgABUoEwyHw7JYFAoFKbmxsYH+/n54PPX/mitaEHdsHqTWpFYdEtGwUU4lHftP1IIUXEiOxidXmcLUoESQRHZ3d6UIjTWSs7CyCRqX5XJZihaLRfk79NpplAlS4DgNkavB6/XKe+q+JKdCsLfYdjs9QbfTE3Q7vYz+LNBadHR0VE7yNNnTRE/XRqy5jyZ9muxVoHSxXQuJkATlg5Q6qZjUW9GxtSitQalYaVKn6NgYpDUndUVKlWiZ1imUtCB1P8ZYVao2e5icnJRXyvTpOSvLUNVtlQhmMhm5NTE4OFgthmHUPUMLbF3XZT21KiXDrhEkqEVIlArh8/mkKG1NUGu2iqoqcFywks2i/OhhUz11SSqU0bdC20+DmVzsrPngJG0L6o/uw/j3ntwfrYWE8mtxUf5CSWz6yg3gV18DxCaxHfp/+QnGr7flLrYZnBAbvxdEebFJuCI2fk0bu9ttCxoPHyBw45ujzd833kQqLzJ1IUa72k5iJDdlwW+35etyMCRFWXgKhfjvcmfbDra7qFe0YlmUx+gMnt37spDwWUZtb7HtdkgwAYdhBfvLMd7i+woHyGjii/oEHKZPBAK/CEgUdZ8ERcXCV1/CvPMHHIch7mGMxzjYDByGgpH3xj0ZdbPTs83TizxdcdN2VLQDA6J0EMjPND0NxVii4/IgkFoxCy94RJ5VU3VW5lkixJbDK6tXZRTl3LwKOkXbPWQM8EW6kYJT0VhCZDeL6BLIxTr9W50HwzdXl9ixtZshB3KxXtdN9OGVW18I+2twZ3fN0Gcnh9rKEw+la5p+XeTg83ADDDEv5/OtDqWz035PitJxS2BOLAjo0N7zcmg2IT55gnEeE1siSyKGnNjj/gfyHlDD/70S3wAAAABJRU5ErkJggg==", Xv = (e) => /* @__PURE__ */ O.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ O.createElement("path", { d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", fill: "white" })), Uc = ({ viewsType: e }) => /* @__PURE__ */ p.jsx(wn, { title: e, children: /* @__PURE__ */ p.jsx( - "div", - { - style: { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - "--views-color": Bc[e] - }, - className: Y.views_type_badge, - children: e[0] - } -) }), vf = () => { - const [e, t] = ue(!1); - ce(() => { - setTimeout(() => { - t(!0); - }, 500); - const o = setTimeout(() => { - t(!1); - }, 3500); - return () => clearTimeout(o); - }, []); - const n = () => { - t((o) => !o); - }; - return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsxs( - Pe, + qv = (e) => + /* @__PURE__ */ O.createElement( + "svg", { - id: "lineageLegend", - className: Y.lineage_legend, - type: "button", - onClick: n, - children: [ - "Legend", - e ? /* @__PURE__ */ p.jsx(xv, {}) : /* @__PURE__ */ p.jsx(vv, {}) - ] - } + width: "100%", + height: "100%", + viewBox: "0 0 16 15", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M14.1666 15H1.83337C0.822021 15 0 14.1594 0 13.1251V1.87505C0 0.840706 0.822021 0 1.83337 0H14.1666C15.178 0 16 0.840706 16 1.87505V13.1251C16 14.1594 15.178 15 14.1666 15ZM1.83337 1.02273C1.37402 1.02273 1 1.40526 1 1.87505V13.1251C1 13.5949 1.37402 13.9773 1.83337 13.9773H14.1666C14.626 13.9773 15 13.5949 15 13.1251V1.87505C15 1.40526 14.626 1.02273 14.1666 1.02273H1.83337Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M15.5 5H0.5C0.223999 5 0 4.776 0 4.5C0 4.224 0.223999 4 0.5 4H15.5C15.776 4 16 4.224 16 4.5C16 4.776 15.776 5 15.5 5Z", + fill: "#247EFE", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M8 15C7.724 15 7.5 14.769 7.5 14.4844V4.51563C7.5 4.231 7.724 4 8 4C8.276 4 8.5 4.231 8.5 4.51563V14.4844C8.5 14.769 8.276 15 8 15Z", + fill: "#247EFE", + }), ), - /* @__PURE__ */ p.jsx( - P0, + Yv = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN5SURBVHgBrVVLTxNRFP7uzLRAQW2tEDHBVI3PjZDoAkkQA5i4QhcmGFFBf4BgdOUCunMnuNK4gAUoxA2sjAGlC0iUDSZqCGCkCAEhFsqrUOZxPXd42MdMQwJf0s7tvXNe33fuKUMKVPfOuzXNqAVjlxmDj3PuE/uMsTDn+CrJrFMCulqueIJ2PpiNY5+m82aAl2AHoOAtsiT5rQJJiRu3u0O1usEHd+pcgKqp1nRjUNgmBY/9UdUdaqCdeuwGHP7Wcm9DUgARnUp9jj0AVVTXVu5tFGuTIsG5JDHbzA+lS7h10gWXwuBJk1BzJtNc24ESrRc+twPohlFPHeK2M8jNklGal448eua4ZBQdScNpjwMp4N5oEgogIgmREt8QGb4o9uD+2Uxkp8tJHrIcDA/OZeFZodumGl4i2lwh9SusUjDo8y2k4lJuGgoPJ5/fI5oEhuZURDRu5QKaYTxUiLHrQvpYZGfIOOlW8PrHMvqmHKg+44I3Y6OKiGqYz4llHW9HVjAS1nAxx4lfixpCa0ZCEayEVfWE5mkZx/9dyq6YeP5LBi+/LyNIxkeJfzcJbBCfSyrH+JJu6nDzhAu+/TJ6JtbQPhqJ9w8ERYCk+mSitOJYBq4eTYciMXwYX8PQvIpK6iSBjp8RnDvoQDkJL+jp+b2K7skoVi2oSrrJAk6KIN5d36yYYojW27g1zOzz7QvENr9WbXRgdz6GxsjAF7spMi2j7IJLGt5R2cPEc16WggNpzMxofp1jgs7Oev7r82lyDW9GIon+w0TRXG/i3BEX6/gBGQMzKk65Hag85TI18A8swOWQ8KRgn6nPK9JnjPQpOuzE6IKG2dUEkcEDChgPkBpxAYSx+DzK32dyvYXYfhdJPL2wH/3TUbQNR4hOK4ponCuS1GRxgky6SEcyZXyZiaJ5aCXpvIOo+/wnioJsJzUCLKGp610KzfAw0RRIpGmFWvFxf9hcnz+UPBZmIzq6qTXpTUvnVE9L+7XcoLQRKVpDjzBsMEoi901FTY6FuKLnJ1d0pEBYV9f9YhEzrmdpXMt7Mq4Jta1lXpP6bfbaynMaKVwDdgvyseU8LoBAa6nXz7lehxR0pYCwqRU+4uNZoPL9tE92OOvpsBo7Ag9oqlojRE08YanMRCDF4aRxzmnisnxsDkUaG0H6gwrSIrC8uNjUeeOYbcX/ANJIbge2tX2aAAAAAElFTkSuQmCC", + Gv = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYoSURBVHgB3ZpfTFtVHMd/57bAWICwjUXpWFJnwmQvq2PqtsRBnMYRIdvLljAfNh8ETYwE2YPJHigPJpoIkxgjwRjBRNEtKgldgnMuRWKQhT/dy5A+IHMbjRnThi7jj2vPzvfAbdpyb9nu7br1fhJCe8+97fmd3//TwygJrhOnC5VspYExXsmJnIyYkx4DOOdBxsgXjrBeFrH1jn/5zlW9e5nWRSGY05bDvhLDlZQBcOJd/K7drSWoLfFC+ZvtDcxO3zHGnqEMQViWS1jZCceuqoXAWP9w7FicgLvq2puZQh8K4dZRpsFonfg7WFxeRYHR/gH1clRAqTkhHGU4wjcrhSaDqialD8LnlGw2LjRXSFaAUzAStrngkwreKzms2TLCAUaFiv1ul3y5HDGVv8iChBcjGxRblnKILApyuEIKP0wWBQWKQpy5yKJwYk4FDkkWRaQIp0IWx06PmPz1OZSXm02OTQU0c2uOArdClEpSImB56Raq3ltG27dulu9DdxbJf32WJq/dpFH/dcrPzaGafTvkfXgdml+kmdm56P0j/hvyP4R0bMqXz/Vc9Ilnb5BZWHl9OyeDYELNx1+WK+8Z+lMIdVMKVywnWiAFqn3JRYF/56j1zGB0HJSWbKZK1zZ5T9/QhHh+Ivq5GDt2wCXuXaDOc5eiz6RdQPfxV6KrrUWN0GrFzm3U8vUF3UliIWqFMKLJo9azg3FjddUvyAWob/uRjGI4yOCLRR+mKxx8C2bbeva3pBqA9lvPiHvml6jpyItxY52eYWnqlWKRjGJCwBIa8E3pjmNSfqHd+w0aEAamDbONBT5cuuKrRjAsIL50Jsnkob0+4ZcPAkwZZhmLGf8DhgXMF6E9NL+gOw5tIKjIe4W5rvl54p7ijfkyusL8VRBwzAhpOE0kMz1VIETY3cKUoeliEf7r237QfA6RFlET6QLPwvzVFOEoKiBvEldYC8MaRC7bXqLtG8h1AKmj5lSXDPdIA8cOPKt5f82+MumDqB4hTKzGoE3VEoxgWED/tVlphlpAeGgKAQK0ifAPASt0omGeWBDkwpbuC1JjiJwAKSR0Z8mUiRoWEJOHKWmROCGkAvzdnteeaECMqWatah8sFwFXyAyGBcSES7cWaY7pBZX8XO3NOvgb/BBA+whgAAWAagVGMdVNwJRiI55KsTSt1dpCYaAFigWkFSwMomieDDRbZJVktvg2JeDoZBIzTUgh8Ce9yWIx4KPQ4m1R0YCavTtkkDKLKQE9f0xoahA+lSg4Engyf1K1WLHzKemHsAKz5glMCaiaIXJc4nVoJLa2xD2xHYPWZ0FILAxyorv7PKUC0x098hbMKRHktWpx/dtTtbLrAIkLkQgWAJF2RGgO5gyfLC0pWvO5ZJhqlwAm8Y0Q4vUPeuICi1v2iSE5aVQ0GEOOa/rco+uLWAhEUZRnjpUci8A0cHlKdhxGsDl2V7nJBEv/h+XuDrqHoSt/y2t11c/L/1f/+U90B0+T88kNdLLjnJx0dpY9msgTaTpaQZ/+9DudH/HL6iUnC5Ukk9fU4POgpGTLoudXn1z9pqPLPod8B7NCx9HpubRsrnvKZJR0d/+i+znQVu1KOQdTRXVjNtCkbNMJE0cHj7Kr5+Kg1NZ7R/YLoffLqIgIqtccA5g6TLclyQIYIaW7an0xURKVzskOT9x4Yq8Xi15xYJa07osmEwC7aWa6Bj3SKiACRWwxHUvxRgtoEOgV4tgj1YuuZkirgJPCBJG4tTDb2OqRVgGxy6ZWJyp4j/TivTz1UEw07b9NoGv/+O3XZFsEYJqIvstbFqnHdKlmlHK5GTUnO4+HySP7dSkVrdD9YPnfBxVhn9NkVTgFFUZ8mqwKYz6Fc+YlqxLhvUpkKdJOFiWSbetVfF2NQWGsXrIcvGv8s5WzamHG34BDklXAYTy73Y2XUkBfR+O02Blwk1Xg5Ib28DJ6XjQw2j+Mw6Q4b0kZjPip3z32RcNH6vu4E784KSs2oYJiBfbIE7SZBFyM0/uxwoFVZ7ahySeee/V7YbuFOG1JGQHzRrJsB8c63v151Uiyx1xvnXbawsohUthhoXvX43KuDdUXIzbNOfdG1kfafZ806gbIe6tPtetqwQZ3AAAAAElFTkSuQmCC", + Kv = + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAT6SURBVHgB7ZrNbxtFGId/s+t1nIQkdg+J4yi10yIOCNRKIA4olSICXEAiCE6c0gvXVPwBNIg7ImcORBx6QDTygQuHFNMLQiDhIlKkKGlsErVppdhOih1/rYd5J1nLX0m96Y7btfxIk12PN4kfzcw7846H4RS25mb8GrQFztgMGCKiKoLngww44kxD1OA8Glq5lTzpQdaqUohFGNO/Fe/OwAUw8GUDWGwlqjVWJOdmF5im/+kWOYKDzRfB4vTZG9+rE0zOvXWda/ha3PrhPvz02cmhtrLaRcn+WM71sAquhaOrS/KefsgxR93SnS3XiowX/DKNSdlFNU2jZu0WOcJf5GyZbthx621BMaXzU8hOv42xYBClH39AZf0fqIZXzIBH0/UPOIcyLLHi+QvytR6JQP/sc5jrd5WLip65wBIfzv6sYkpoFLOICMFalIpyxDQhdxkOU3jpZaQ/+bRJrhW6eNYnWlS/9Doch/EIBRnHgwvv64dd2MAAnIdFNHQ5XS/ogU0oePiuzGIgk0J+7Q5KiU2oxBwLoRS+CGN0DMb6mu1g1LagORLA4/c+loEjFArh3MSErK9k/0Nxa1PKUilubeBpKAuZspCS18hFcN/RePYMDcH3/kcy6ha//w58J9nW32tbsCTEWkVFbfAF+F65JIvFg7t/4yB7CDvkrryL3PQ7VaGToKirT4ZRblNQyRg0RoNNdaVSCel0Gtvb28jlck3v88C5J8qdBdtjsF1M08TBwQHy+Tz29/elILGzsyOvIyMjGB4eRlAs3eiqCiWCA2JOGx8fR19fH/b29lCpVJBKpeqeOTw86sJcrBPpmUAgABUoEwyHw7JYFAoFKbmxsYH+/n54PPX/mitaEHdsHqTWpFYdEtGwUU4lHftP1IIUXEiOxidXmcLUoESQRHZ3d6UIjTWSs7CyCRqX5XJZihaLRfk79NpplAlS4DgNkavB6/XKe+q+JKdCsLfYdjs9QbfTE3Q7vYz+LNBadHR0VE7yNNnTRE/XRqy5jyZ9muxVoHSxXQuJkATlg5Q6qZjUW9GxtSitQalYaVKn6NgYpDUndUVKlWiZ1imUtCB1P8ZYVao2e5icnJRXyvTpOSvLUNVtlQhmMhm5NTE4OFgthmHUPUMLbF3XZT21KiXDrhEkqEVIlArh8/mkKG1NUGu2iqoqcFywks2i/OhhUz11SSqU0bdC20+DmVzsrPngJG0L6o/uw/j3ntwfrYWE8mtxUf5CSWz6yg3gV18DxCaxHfp/+QnGr7flLrYZnBAbvxdEebFJuCI2fk0bu9ttCxoPHyBw45ujzd833kQqLzJ1IUa72k5iJDdlwW+35etyMCRFWXgKhfjvcmfbDra7qFe0YlmUx+gMnt37spDwWUZtb7HtdkgwAYdhBfvLMd7i+woHyGjii/oEHKZPBAK/CEgUdZ8ERcXCV1/CvPMHHIch7mGMxzjYDByGgpH3xj0ZdbPTs83TizxdcdN2VLQDA6J0EMjPND0NxVii4/IgkFoxCy94RJ5VU3VW5lkixJbDK6tXZRTl3LwKOkXbPWQM8EW6kYJT0VhCZDeL6BLIxTr9W50HwzdXl9ixtZshB3KxXtdN9OGVW18I+2twZ3fN0Gcnh9rKEw+la5p+XeTg83ADDDEv5/OtDqWz035PitJxS2BOLAjo0N7zcmg2IT55gnEeE1siSyKGnNjj/gfyHlDD/70S3wAAAABJRU5ErkJggg==", + Xv = (e) => + /* @__PURE__ */ O.createElement( + "svg", { - flip: !0, - target: "lineageLegend", - isOpen: e, - className: Y.column_legend, - placement: "top", - children: /* @__PURE__ */ p.jsxs(B0, { children: [ - Object.keys(Bc).map((o) => /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx(Uc, { viewsType: o }), - /* @__PURE__ */ p.jsx("div", { children: o }) - ] }, o)), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: Y.column_code_icon, children: /* @__PURE__ */ p.jsx(fd, {}) }), - /* @__PURE__ */ p.jsx("div", { children: "Code" }) - ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: Y.edge_select, children: /* @__PURE__ */ p.jsx("div", {}) }), - /* @__PURE__ */ p.jsx("div", { children: "Select" }) - ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: Y.edge_non_select, children: /* @__PURE__ */ p.jsx("div", {}) }), - /* @__PURE__ */ p.jsx("div", { children: "Non select" }) - ] }) - ] }) - } - ) - ] }); -}; + width: "100%", + height: "100%", + viewBox: "0 0 12 12", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("circle", { + cx: 6, + cy: 6, + r: 6, + fill: "#CC3E44", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M9.07567 6.93747L6.79616 2.98918C6.42383 2.33694 5.4823 2.33694 5.11131 2.98918L2.83046 6.93747C2.45813 7.58972 2.92153 8.4 3.67289 8.4H8.22521C8.97656 8.4 9.448 7.58168 9.07567 6.93747ZM5.9524 7.52409C5.75418 7.52409 5.58944 7.35936 5.58944 7.16114C5.58944 6.96292 5.75418 6.79818 5.9524 6.79818C6.15061 6.79818 6.31535 6.96292 6.30731 7.17051C6.31669 7.35936 6.14258 7.52409 5.9524 7.52409ZM6.28321 5.17762C6.26713 5.45887 6.24972 5.73879 6.23365 6.02004C6.22562 6.11112 6.22562 6.19415 6.22562 6.28389C6.21758 6.43255 6.10106 6.54773 5.9524 6.54773C5.80373 6.54773 5.68855 6.44059 5.67918 6.29192C5.65507 5.85397 5.62962 5.42405 5.60551 4.9861C5.59748 4.87092 5.58944 4.7544 5.58007 4.63921C5.58007 4.44903 5.68721 4.29233 5.86132 4.24278C6.03543 4.20126 6.2082 4.2843 6.28321 4.44903C6.30865 4.50662 6.31669 4.56421 6.31669 4.63118C6.30865 4.81466 6.29124 4.99681 6.28321 5.17762Z", + fill: "white", + }), + ), + Uc = ({ viewsType: e }) => + /* @__PURE__ */ p.jsx(wn, { + title: e, + children: /* @__PURE__ */ p.jsx("div", { + style: { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + "--views-color": Bc[e], + }, + className: Y.views_type_badge, + children: e[0], + }), + }), + vf = () => { + const [e, t] = ue(!1); + ce(() => { + setTimeout(() => { + t(!0); + }, 500); + const o = setTimeout(() => { + t(!1); + }, 3500); + return () => clearTimeout(o); + }, []); + const n = () => { + t((o) => !o); + }; + return /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsxs(Pe, { + id: "lineageLegend", + className: Y.lineage_legend, + type: "button", + onClick: n, + children: [ + "Legend", + e ? /* @__PURE__ */ p.jsx(xv, {}) : /* @__PURE__ */ p.jsx(vv, {}), + ], + }), + /* @__PURE__ */ p.jsx(P0, { + flip: !0, + target: "lineageLegend", + isOpen: e, + className: Y.column_legend, + placement: "top", + children: /* @__PURE__ */ p.jsxs(B0, { + children: [ + Object.keys(Bc).map((o) => + /* @__PURE__ */ p.jsxs( + "div", + { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx(Uc, { viewsType: o }), + /* @__PURE__ */ p.jsx("div", { children: o }), + ], + }, + o, + ), + ), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.column_code_icon, + children: /* @__PURE__ */ p.jsx(fd, {}), + }), + /* @__PURE__ */ p.jsx("div", { children: "Code" }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.edge_select, + children: /* @__PURE__ */ p.jsx("div", {}), + }), + /* @__PURE__ */ p.jsx("div", { children: "Select" }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.edge_non_select, + children: /* @__PURE__ */ p.jsx("div", {}), + }), + /* @__PURE__ */ p.jsx("div", { children: "Non select" }), + ], + }), + ], + }), + }), + ], + }); + }; var xf = { exports: {} }; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -(function(e) { - (function() { +(function (e) { + (function () { var t = {}.hasOwnProperty; function n() { for (var i = "", a = 0; a < arguments.length; a++) { @@ -21741,2323 +32063,2885 @@ var xf = { exports: {} }; return i; } function o(i) { - if (typeof i == "string" || typeof i == "number") - return i; - if (typeof i != "object") - return ""; - if (Array.isArray(i)) - return n.apply(null, i); - if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]")) + if (typeof i == "string" || typeof i == "number") return i; + if (typeof i != "object") return ""; + if (Array.isArray(i)) return n.apply(null, i); + if ( + i.toString !== Object.prototype.toString && + !i.toString.toString().includes("[native code]") + ) return i.toString(); var a = ""; - for (var l in i) - t.call(i, l) && i[l] && (a = r(a, l)); + for (var l in i) t.call(i, l) && i[l] && (a = r(a, l)); return a; } function r(i, a) { - return a ? i ? i + " " + a : i + a : i; + return a ? (i ? i + " " + a : i + a) : i; } - e.exports ? (n.default = n, e.exports = n) : window.classNames = n; + e.exports ? ((n.default = n), (e.exports = n)) : (window.classNames = n); })(); })(xf); var Qv = xf.exports; -const Te = /* @__PURE__ */ un(Qv), Jv = (e) => Ie.get("upstreamTables", { table: e }), ex = (e) => Ie.get("downstreamTables", { table: e }), tx = (e) => Ie.get("getExposureDetails", { - name: e -}), sa = (e, t) => Ie.get("getColumns", { - table: e, - refresh: t -}), nx = (e) => Ie.get("getConnectedColumns", e), ox = (e) => Ie.get("sendFeedback", e), rx = () => Ie.get("getLineageSettings", {}), Pl = (e) => Ie.get("persistLineageSettings", e), wf = () => Ie.get("init", {}), ix = (e) => Ie.get("openFile", { url: e }), ax = () => Ie.get("openChat", {}), qc = (e) => Ie.get("showInfoNotification", { message: e }), lx = () => Ie.get("previewFeature", {}), Bl = (e) => Ie.get("columnLineage", { event: e }), sx = (e) => Ie.get("telemetryEvents", e), cx = (e) => Ie.post("dbt/v4/export-lineage", e); -var ux = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(ux || {}); +const Te = /* @__PURE__ */ un(Qv), + Jv = (e) => Ie.get("upstreamTables", { table: e }), + ex = (e) => Ie.get("downstreamTables", { table: e }), + tx = (e) => + Ie.get("getExposureDetails", { + name: e, + }), + sa = (e, t) => + Ie.get("getColumns", { + table: e, + refresh: t, + }), + nx = (e) => Ie.get("getConnectedColumns", e), + ox = (e) => Ie.get("sendFeedback", e), + rx = () => Ie.get("getLineageSettings", {}), + Pl = (e) => Ie.get("persistLineageSettings", e), + wf = () => Ie.get("init", {}), + ix = (e) => Ie.get("openFile", { url: e }), + ax = () => Ie.get("openChat", {}), + qc = (e) => Ie.get("showInfoNotification", { message: e }), + lx = () => Ie.get("previewFeature", {}), + Bl = (e) => Ie.get("columnLineage", { event: e }), + sx = (e) => Ie.get("telemetryEvents", e), + cx = (e) => Ie.post("dbt/v4/export-lineage", e); +var ux = /* @__PURE__ */ ((e) => ( + (e.CANCEL = "cancel"), (e.END = "end"), (e.START = "start"), e +))(ux || {}); const gt = class gt { static onCancel() { - gt.isCancelled = !0, gt.inProgress = !1; + (gt.isCancelled = !0), (gt.inProgress = !1); } static cancel() { - gt.onCancel(), Bl( - "cancel" - /* CANCEL */ - ); + gt.onCancel(), + Bl( + "cancel", + /* CANCEL */ + ); const t = new CustomEvent("cll_cancelled", { detail: void 0 }); document.dispatchEvent(t); } static start() { - gt.inProgress = !0, gt.isCancelled = !1, gt.linkCount = 0, Bl( - "start" - /* START */ - ); + (gt.inProgress = !0), + (gt.isCancelled = !1), + (gt.linkCount = 0), + Bl( + "start", + /* START */ + ); } static end() { - gt.inProgress = !1, Bl( - "end" - /* END */ - ), sx({ - id: "columnLineageNumLinks", - params: { num: gt.linkCount } - }), gt.linkCount = 0; + (gt.inProgress = !1), + Bl( + "end", + /* END */ + ), + sx({ + id: "columnLineageNumLinks", + params: { num: gt.linkCount }, + }), + (gt.linkCount = 0); } static addLinks(t) { gt.linkCount += t; } static showCllInProgressMsg() { qc( - "Column lineage is in progress. Either wait for it to complete or cancel the current one." + "Column lineage is in progress. Either wait for it to complete or cancel the current one.", ); } }; Hr(gt, "isCancelled", !1), Hr(gt, "inProgress", !1), Hr(gt, "linkCount", 0); let Xe = gt; const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { - const [o, r] = Be(() => { - switch (e.toLowerCase()) { - case "integer": - case "float": - case "double precision": - case "double": - case "bigint": - return [dv, "#FF754C"]; - case "bool": - case "boolean": - return [cv, "#00A5DB"]; - case "text": - case "character": - case "character varying": - case "varchar": - return [uv, "#3F8CFF"]; - case "geospatial": - return [hv, "#01CD8C"]; - case "date": - case "timestamp": - case "timestamp with time zone": - return [pv, "#247EFE"]; - default: - return [fv, "#6A24FE"]; - } - }, [e]); - return /* @__PURE__ */ p.jsx( - "div", - { + const [o, r] = Be(() => { + switch (e.toLowerCase()) { + case "integer": + case "float": + case "double precision": + case "double": + case "bigint": + return [dv, "#FF754C"]; + case "bool": + case "boolean": + return [cv, "#00A5DB"]; + case "text": + case "character": + case "character varying": + case "varchar": + return [uv, "#3F8CFF"]; + case "geospatial": + return [hv, "#01CD8C"]; + case "date": + case "timestamp": + case "timestamp with time zone": + return [pv, "#247EFE"]; + default: + return [fv, "#6A24FE"]; + } + }, [e]); + return /* @__PURE__ */ p.jsx("div", { style: { color: t || r }, className: "d-flex align-items-center", - children: /* @__PURE__ */ p.jsx(o, { width: n, height: n }) - } - ); -}, fx = { - seed: { - light: /* @__PURE__ */ p.jsx(Zu, { style: { color: "#E6FAF4" } }), - dark: /* @__PURE__ */ p.jsx(Zu, { style: { color: "#344B49" } }) - }, - model: { - light: /* @__PURE__ */ p.jsx(oi, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ p.jsx(oi, { style: { color: "#4D4343" } }) - }, - cte: { - light: /* @__PURE__ */ p.jsx(Wu, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ p.jsx(Wu, { style: { color: "#4B473F" } }) - }, - subquery: { - light: /* @__PURE__ */ p.jsx(Dv, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ p.jsx(Lv, { style: { color: "#4B473F" } }) - }, - source: { - light: /* @__PURE__ */ p.jsx(Uu, { style: { color: "#EAF3FF" } }), - dark: /* @__PURE__ */ p.jsx(Uu, { style: { color: "#384454" } }) - }, - exposure: { - light: /* @__PURE__ */ p.jsx(qu, { style: { color: "#FEEFF7" } }), - dark: /* @__PURE__ */ p.jsx(qu, { style: { color: "#4C404C" } }) - }, - analysis: { light: /* @__PURE__ */ p.jsx(Ds, {}), dark: /* @__PURE__ */ p.jsx(Ds, {}) }, - snapshot: { - light: /* @__PURE__ */ p.jsx(Yu, { style: { color: "#F6F4FF" } }), - dark: /* @__PURE__ */ p.jsx(Yu, { style: { color: "#444554" } }) - }, - semantic_model: { light: /* @__PURE__ */ p.jsx(Fv, {}), dark: /* @__PURE__ */ p.jsx(Nv, {}) }, - macros: { light: /* @__PURE__ */ p.jsx(Ls, {}), dark: /* @__PURE__ */ p.jsx(Ls, {}) }, - unknown: { - light: /* @__PURE__ */ p.jsx(oi, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ p.jsx(oi, { style: { color: "#4D4343" } }) - } -}, Yc = ({ - nodeType: e -}) => /* @__PURE__ */ p.jsxs("div", { children: [ - e === "seed" && /* @__PURE__ */ p.jsx(gv, {}), - e === "model" && /* @__PURE__ */ p.jsx(ni, {}), - e === "cte" && /* @__PURE__ */ p.jsx(ni, {}), - e === "subquery" && /* @__PURE__ */ p.jsx(ni, {}), - e === "source" && /* @__PURE__ */ p.jsx(mv, {}), - e === "exposure" && /* @__PURE__ */ p.jsx(bv, {}), - e === "analysis" && /* @__PURE__ */ p.jsx(Ds, {}), - e === "snapshot" && /* @__PURE__ */ p.jsx(yv, {}), - e === "semantic_model" && /* @__PURE__ */ p.jsx(Cv, {}), - e === "macros" && /* @__PURE__ */ p.jsx(Ls, {}), - e === "unknown" && /* @__PURE__ */ p.jsx(ni, {}) -] }), Ef = ({ nodeType: e }) => e in No ? /* @__PURE__ */ p.jsx(Yc, { nodeType: e }) : e in Vi ? /* @__PURE__ */ p.jsx( - "img", - { - src: Vi[e], - className: Y.dialect_icon - } -) : /* @__PURE__ */ p.jsx("div", {}), px = ({ nodeType: e }) => { - const { - state: { theme: t } - } = ot(); - return /* @__PURE__ */ p.jsx(p.Fragment, { children: fx[e][t] }); -}, tr = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsxs("div", { className: Y.table_node_pill, id: e, children: [ - /* @__PURE__ */ p.jsx("div", { className: Y.icon, children: t }), - /* @__PURE__ */ p.jsx("div", { children: n }) - ] }), - /* @__PURE__ */ p.jsx(F5, { target: e, children: o }) -] }), Gc = { - seed: Y.seed, - model: Y.model, - source: Y.source, - exposure: Y.exposure, - snapshot: Y.snapshot, - semantic_model: Y.metrics, - macros: Y.macros, - analysis: Y.analysis, - cte: Y.model, - subquery: Y.model, - unknown: Y.exposure -}, No = { - seed: "SED", - model: "MDL", - source: "SRC", - exposure: "EXP", - snapshot: "SNP", - semantic_model: "MET", - macros: "SEM", - analysis: "ANY", - cte: "CTE", - subquery: "SUB", - unknown: "UNK" -}, Sf = (e, t) => e ? Jv(t) : ex(t), kf = (e, t) => e ? t + 1 : t - 1, ca = (e, t, n, o, r, i, a = wy, l = !1, s) => { - const u = kf(r, i), c = (h) => { - var y, g; - const f = ((g = (y = e.find((x) => x.id === h)) == null ? void 0 : y.data) == null ? void 0 : g.level) || 0, m = Wc(i, f, o, h, r, l); - t.find((x) => x.id === m.id) || t.push(m); - }; - let d = 0; - for (const h of n) { - if (d >= a) { - const m = Hi(o, r); - e.push({ - id: m, - data: { tables: n, prevTable: o, right: r, level: u }, - position: { x: 100, y: 100 }, - type: "seeMore", - width: Tr, - height: 100 - }), c(m); - break; - } - e.find((m) => m.id === h.table) || (d++, s ? s[h.table].type in No ? e.push(To(h, u, o)) : e.push(gf(h.table, u, o, s[h.table])) : e.push(To(h, u, o))), c(h.table); - } -}, fn = (e, t, n = !1) => { - let o = 1 / 0; - const r = {}; - for (const g of e) - if (vt(g) && g.parentNode) - g.parentNode in r || (r[g.parentNode] = 0), g.position = { - x: Sy, - y: ky + gi(r[g.parentNode]) - }, r[g.parentNode]++; - else { - const { level: x } = g.data; - o = Math.min(o, x); - } - const i = {}, a = {}, l = {}, s = {}, u = {}, c = {}; - for (const g of t) - vt(g) || ti(e.find((x) => x.id === g.source)) || ti(e.find((x) => x.id === g.target)) || (u[g.source] = u[g.source] || [], u[g.source].push(g.target), c[g.target] = c[g.target] || [], c[g.target].push(g.source)); - const d = (g) => { - const { level: x } = g.data; - if (a[x] = a[x] || [], !a[x].includes(g.id)) { - l[g.id] = a[x].length, i[g.id] = 0; - for (const C of a[x]) - i[g.id] += r[C] || 0; - a[x].push(g.id); - } - }, h = (g, x) => { - if (!s[g]) { - s[g] = !0, d(e.find((C) => C.id === g)); - for (const C of x[g] || []) h(C, x); - } - }; - for (const g of e) - vt(g) || ti(g) || s[g.id] || (h(g.id, u), s[g.id] = !1, h(g.id, c)); - for (const g of e) - vt(g) || ti(g) && d(g); - const f = (g) => { - const x = l[g.id] || 0, C = i[g.id] || 0; - return Hl + x * (yo + My) + gi(C, x); - }, m = (g) => (g - o) * (Tr + _y) + Ey, b = (g) => (g - o) * (yo + Ay) + Hl, y = (g) => { - const x = l[g.id] || 0, C = i[g.id] || 0; - return Hl + x * (yo + Ty) + gi(C, x); - }; - for (const g of e) { - if (vt(g)) continue; - const { level: x } = g.data; - g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: f(g) }; - } -}, _f = (e, t) => (e.forEach((n) => zi(n, !0)), t.forEach((n) => Oo(n, !1)), [e, t]), xr = (e, t, n) => { - Cr(t, !0), vr(t, !1); - const o = {}, r = {}, i = (s, u) => { - const c = [n], d = {}; - for (; c.length > 0; ) { - const h = c.shift(); - d[h] = !0, o[h] = !0, t.forEach((f) => { - f[s] === h && (r[f.id] = !0, d[f[u]] || c.push(f[u])); - }); - } - }; - i("source", "target"), i("target", "source"); - const a = [...t]; - a.forEach((s) => Oo(s, r[s.id])); - const l = [...e]; - return l.forEach((s) => zi(s, !!o[s.id])), [l, a]; -}, Fs = (e, t) => { - const n = e.getNodes(), o = e.getEdges(), [r, i] = xr(n, o, t); - e.setNodes(r), e.setEdges(i); -}, hx = async (e, t, n, o, r, i, a, l, s, u) => { - var w, S; - const c = [], d = [], { column_lineage: h, confidence: f, errors: m } = await nx({ - targets: r, - upstreamExpansion: i, - currAnd1HopTables: a, - selectedColumn: l, - showIndirectEdges: s.indirect - }); - u((_) => ({ ..._, ...m })), Xe.addLinks(h.length); - const b = h.filter( - (_) => i ? Hu(r, _.source) : Hu(r, _.target) - ), y = b.map((_) => i ? _.target : _.source), g = {}, x = ([_, A], R) => { - g[_] = g[_] || [], g[_].find((L) => L.column === A) || g[_].push({ column: A, viewsType: R }); - }, C = (_, A, R, L, j) => { - const P = la(R, L); - d.find((V) => V.id === P) || d.push( - Ii( - R, - L, - t[_], - t[A], - j, - s - ) - ); - }, E = []; - for (const _ of b) { - x(_.source), x(_.target, _.viewsType); - const [A] = _.source, [R] = _.target, L = o[A], j = o[R], P = _.source.join("/"), V = _.target.join("/"), k = bn + P, N = bn + V, T = _.type; - if (L && j) - C(A, R, k, N, T); - else if (L) { - const F = n[R]; - C(A, F, k, F, T), E.push(_); - } else if (j) { - const F = n[A]; - C(F, R, F, N, T), E.push(_); - } else - E.push(_); - } - for (const _ in g) { - if (!o[_]) continue; - const A = [...g[_]]; - A.sort((R, L) => R.column.localeCompare(L.column)); - for (const R of A) { - const L = {}; - b.filter((j) => j.target.join("/") === `${_}/${R.column}`).forEach((j) => { - j.type !== "indirect" && (L[j.source.join("/")] = j.viewsCode || []); - }), c.push( - ji( - _, - R.column, - R.viewsType, - L, - (S = (w = e.find((j) => j.id = _)) == null ? void 0 : w.data) == null ? void 0 : S.nodeType - ) - ); - } - } - return { nodes: c, edges: d, collectColumns: g, newCurr: y, confidence: f, seeMoreLineage: E }; -}, gx = async (e, t, n, o) => { - var f, m, b, y; - let r = e.filter(xn), i = t.filter(xn); - [r, i] = _f(r, i); - const a = {}; - r.forEach((g) => a[g.id] = g.data.level); - const l = {}; - e.filter((g) => g.type === "table").forEach((g) => l[g.id] = !0); - const s = {}, u = []; - for (const g of t) { - if (g.id.startsWith(bn)) continue; - const x = l[g.source], C = l[g.target]; - x && C ? u.push({ src: g.source, dst: g.target }) : x ? (f = e.find((w) => w.id === g.target).data.tables) == null || f.forEach((w) => { - u.push({ src: g.source, dst: w.table }), s[w.table] = g.target; - }) : C && ((m = e.find((w) => w.id === g.source).data.tables) == null || m.forEach((w) => { - u.push({ src: w.table, dst: g.target }), s[w.table] = g.source; - })); - } - const { collect_columns: c, highlight_edges: d } = await o({ - column_fqn: n, - edges: u - }); - for (const g in c) { - if (!l[g]) continue; - const x = [...c[g]]; - x.sort((C, E) => C.column.localeCompare(E.column)); - for (const C of x) { - const E = (y = (b = e.find((w) => w.id === g)) == null ? void 0 : b.data) == null ? void 0 : y.nodeType; - r.push(ji(g, C.column, C.viewsType, {}, E)); - } - } - i.forEach((g) => g.style = aa); - const h = (g, x, C, E, w) => { - const S = la(C, E); - i.find((_) => _.id === S) || i.push( - Ii(C, E, a[g], a[x], w, { - direct: w === "direct", - indirect: w === "indirect" - }) - ); - }; - for (const g of d) { - const [x] = g[0].split("/"), [C] = g[1].split("/"), E = l[x], w = l[C], S = bn + g[0], _ = bn + g[1], A = g[2] || "direct"; - if (E && w) - h(x, C, S, _, A); - else if (E) { - const R = s[C]; - h(x, R, S, R, A); - } else if (w) { - const R = s[x]; - h(R, C, R, _, A); - } - } - return fn(r, i), { nodes: r, edges: i, collect_columns: c }; -}, mx = (e, t, n, o) => { - const r = [...e.nodes], i = [...e.edges]; - if (t.nodes.forEach((a) => { - const l = r.find((s) => s.id === a.id); - if (!l) - r.push(a); - else { - const s = a.data.viewsCode && Object.keys(a.data.viewsCode).length ? a.data.viewsCode : l.data.viewsCode; - l.data = { - ...l.data, - ...a.data, - viewsCode: s, - viewsType: l.data.viewsType || a.data.viewsType - }; - } - }), t.edges.forEach((a) => { - i.find((l) => l.id === a.id) || i.push(a); - }), n.name) { - const a = {}, l = yr(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", h = o ? "target" : "source"; - for (; u.length > 0; ) { - const f = u.shift(); - if (!c[f]) { - c[f] = !0; - for (const m of i) - m[d] === f && (u.push(m[h]), s[m[h]] !== "direct" && (s[m[h]] = s[m[d]] === "direct" ? m.data.type : "indirect")); - for (const m of i) - m[d] === f && (a[m.id] = s[m[h]]); - } - } - for (const f of i) - xn(f) || (f.data.type = a[f.id] || f.data.type, f.style = f.data.type === "direct" ? Vc : $c); - } - return fn(r, i), [r, i]; -}, bx = (e, t) => { - const n = e.filter((r) => xn(r)), o = t.filter((r) => xn(r)); - return [n, o]; -}, Af = async (e, t, n, o) => { - const r = [...e], i = [...t], a = [ - { table: n, level: r.find((s) => s.id === n).data.level } - ], l = {}; - for (; a.length > 0; ) { - const { table: s, level: u } = a.shift(); - if (l[s]) continue; - l[s] = !0; - const { tables: c } = await Sf(o, s); - ca(r, i, c, s, o, u), c.forEach((d) => { - const h = r.find((f) => f.id === d.table); - (h == null ? void 0 : h.data.materialization) === "ephemeral" && a.push({ table: d.table, level: h.data.level }); - }); - } - return [r, i]; -}, Pi = async (e, t, n, o, r) => { - const i = [...e], a = [...t]; - if (o >= r) return [i, a]; - const l = Ny(o, r), s = i.find((c) => c.id === n).data.level, u = async (c) => { - const d = [ - { table: n, level: s } - ], h = {}; - for (; d.length > 0; ) { - const f = d.shift(); - if (h[f.table]) continue; - h[f.table] = !0; - const { tables: m } = await Sf(c, f.table); - ca( - i, - a, - m, - f.table, - c, - f.level - ); - const b = kf(c, f.level); - l(b) ? d.push(...m.map((y) => ({ table: y.table, level: b }))) : d.push( - ...m.filter((y) => y.materialization === "ephemeral").map((y) => ({ table: y.table, level: b })) - ); - } - }; - return r > s && await u(!0), o < s && await u(!1), [i, a]; -}, Gu = (e, t, n, o) => { - if (!n) return -1; - const r = o ? "source" : "target", i = o ? "target" : "source", a = o ? "upstreamCount" : "downstreamCount", l = {}, s = {}; - for (const f of e) - vt(f) || (l[f.id] = f, s[f.id] = []); - for (const f of t) - vt(f) || s[f[r]].push(f[i]); - const c = (() => { - const f = [n], m = {}; - for (; f.length > 0; ) { - const b = f.shift(); - if (m[b]) continue; - m[b] = !0; - const y = l[b].data; - if (y[a] !== 0) { - if (s[b].length < y[a]) return b; - for (const g of s[b]) f.push(g); - } - } - })(); - if (!c) return -1; - const { level: d } = l[n].data, { level: h } = l[c].data; - return o ? h - d : d - h; -}, wr = (e, t, n) => [ - Gu(e, t, n, !1), - Gu(e, t, n, !0) -], Kc = async (e, t, n, o, r, i, a, l, s, u, c, d) => { - var w, S, _, A, R, L; - let h = !1; - const { levelMap: f, tableNodes: m, seeMoreIdTableReverseMap: b } = Oy(e, t), y = (j) => e.find((P) => P.id === j), g = {}, x = {}; - let C = o.map((j) => [ - j.table, - j.name - ]), E = []; - for (d(() => ({})); !(Xe.isCancelled || (C = C.filter((W) => !g[W.join("/")]), C.length === 0 && E.length === 0)); ) { - const j = {}; - C.forEach((W) => { - g[W.join("/")] = !0, j[W[0]] = !0; - }); - const [P, V] = n ? ["source", "target"] : ["target", "source"], k = [], N = [], T = []; - let F = !1; - for (const W of t) { - if (vt(W)) continue; - const G = W[P], K = W[V], Q = m[K] ? [(w = y(K)) == null ? void 0 : w.data] : (A = (_ = (S = y(K)) == null ? void 0 : S.data) == null ? void 0 : _.tables) == null ? void 0 : A.filter( - (ne) => !m[ne.table] - ); - Q == null || Q.forEach((ne) => { - if (!ne) return; - const { table: oe, materialization: U } = ne; - j[G] ? (F = !0, U === "ephemeral" ? (Pu( - x, - oe, - C.filter((ge) => ge[0] === G) - ), N.push(oe)) : k.push(oe)) : E.includes(G) && (F = !0, U === "ephemeral" ? (Pu( - x, - oe, - x[G] - ), N.push(oe)) : (T.push(G), k.push(oe))); - }); - } - if (!F) - break; - E = N; - const I = Object.keys(j).concat(k); - T.forEach((W) => { - C.push(...x[W]), I.push(...x[W].map((G) => G[0])); + children: /* @__PURE__ */ p.jsx(o, { width: n, height: n }), }); - const D = await hx( - e, - f, - b, - m, - C, - n, - Array.from(new Set(I)), - u, - c, - d - ); - ((R = D.confidence) == null ? void 0 : R.confidence) === "low" && r(((L = D.confidence) == null ? void 0 : L.operator_list) || []), C = D.newCurr, !h && C.length > 0 && (h = !0), C = C.filter( - (W) => t.filter((G) => (n ? G.source : G.target) === W[0]).length > 0 - ); - const [v, z] = l(), [B, M] = mx( - { nodes: v, edges: z }, - D, - u, - n - ); - i(D.seeMoreLineage), fn(B, M), s(B, M), a(D.collectColumns); - } - return h; -}, yx = (e, t, n, { prevTable: o, tables: r, right: i, level: a, lineage: l }, s) => { - var h; - const { table: u } = n; - if (e.find((f) => f.id === u)) return !1; - e.push(To(n, a, o)); - const d = (h = e.find((f) => f.id === o)) == null ? void 0 : h.data.level; - if (t.push(Wc(d, a, o, u, i)), l == null || l.forEach((f) => { - const m = yr(f.source[0], f.source[1]), b = yr(f.target[0], f.target[1]), y = {}; - if (i && l.filter((g) => g.target.join("/") === f.target.join("/")).forEach((g) => { - y[g.source.join("/")] = g.viewsCode || []; - }), i) { - if (f.target[0] !== u) return; - e.push( - ji( - f.target[0], - f.target[1], - f.viewsType, - y, - n.nodeType - ) - ), t.push( - Ii(m, b, a - 1, a, f.type, s) - ); - } else { - if (f.source[0] !== u) return; - e.push( - ji( - f.source[0], - f.source[1], - f.viewsType, - y, - n.nodeType - ) - ), t.push( - Ii(m, b, a, a + 1, f.type, s) - ); - } - }), r.every((f) => !!e.find((m) => m.id === f.table))) { - const f = Hi(o, i), m = i ? `${o}-${f}` : `${f}-${o}`; - return Vu(e, f), Vu(t, m), !0; - } - return !1; -}, Do = async (e, t, n, o, r) => { - var u; - if (!n) return 0; - const i = (u = e.find((c) => c.id === n)) == null ? void 0 : u.data; - if (!i) return 0; - const { level: a } = i, l = e.length, [s] = await Pi( - e, - t, - n, - a - o, - a + r - ); - return s.length - l; -}, Cx = (e, t, n, o) => { - if (!Im(e)) - return { nodes: [], edgeIds: [] }; - const r = n.filter((i) => (o ? i.target : i.source) === e.id); - return { - nodes: t.filter( - (i) => r.find((a) => a.source === i.id || a.target === i.id) - ), - edgeIds: r.map((i) => la(i.source, i.target)) - }; -}, Rs = (e, t, n, o = [], r) => { - const { nodes: i, edgeIds: a } = Cx( - e, - t, - n, - r - ); - return i.reduce( - (l, s) => { - if (l.nodes.push(s), l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...a])), o.findIndex((u) => u.id == s.id) === -1) { - o.push(s); - const { nodes: u, edges: c } = Rs( - s, - t, - n, - o, - r - ); - u.forEach((d) => { - l.nodes.push(d), o.findIndex((h) => h.id == d.id) === -1 && o.push(d); - }), l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...c])); + }, + fx = { + seed: { + light: /* @__PURE__ */ p.jsx(Zu, { style: { color: "#E6FAF4" } }), + dark: /* @__PURE__ */ p.jsx(Zu, { style: { color: "#344B49" } }), + }, + model: { + light: /* @__PURE__ */ p.jsx(oi, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ p.jsx(oi, { style: { color: "#4D4343" } }), + }, + cte: { + light: /* @__PURE__ */ p.jsx(Wu, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ p.jsx(Wu, { style: { color: "#4B473F" } }), + }, + subquery: { + light: /* @__PURE__ */ p.jsx(Dv, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ p.jsx(Lv, { style: { color: "#4B473F" } }), + }, + source: { + light: /* @__PURE__ */ p.jsx(Uu, { style: { color: "#EAF3FF" } }), + dark: /* @__PURE__ */ p.jsx(Uu, { style: { color: "#384454" } }), + }, + exposure: { + light: /* @__PURE__ */ p.jsx(qu, { style: { color: "#FEEFF7" } }), + dark: /* @__PURE__ */ p.jsx(qu, { style: { color: "#4C404C" } }), + }, + analysis: { + light: /* @__PURE__ */ p.jsx(Ds, {}), + dark: /* @__PURE__ */ p.jsx(Ds, {}), + }, + snapshot: { + light: /* @__PURE__ */ p.jsx(Yu, { style: { color: "#F6F4FF" } }), + dark: /* @__PURE__ */ p.jsx(Yu, { style: { color: "#444554" } }), + }, + semantic_model: { + light: /* @__PURE__ */ p.jsx(Fv, {}), + dark: /* @__PURE__ */ p.jsx(Nv, {}), + }, + macros: { + light: /* @__PURE__ */ p.jsx(Ls, {}), + dark: /* @__PURE__ */ p.jsx(Ls, {}), + }, + unknown: { + light: /* @__PURE__ */ p.jsx(oi, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ p.jsx(oi, { style: { color: "#4D4343" } }), + }, + }, + Yc = ({ nodeType: e }) => + /* @__PURE__ */ p.jsxs("div", { + children: [ + e === "seed" && /* @__PURE__ */ p.jsx(gv, {}), + e === "model" && /* @__PURE__ */ p.jsx(ni, {}), + e === "cte" && /* @__PURE__ */ p.jsx(ni, {}), + e === "subquery" && /* @__PURE__ */ p.jsx(ni, {}), + e === "source" && /* @__PURE__ */ p.jsx(mv, {}), + e === "exposure" && /* @__PURE__ */ p.jsx(bv, {}), + e === "analysis" && /* @__PURE__ */ p.jsx(Ds, {}), + e === "snapshot" && /* @__PURE__ */ p.jsx(yv, {}), + e === "semantic_model" && /* @__PURE__ */ p.jsx(Cv, {}), + e === "macros" && /* @__PURE__ */ p.jsx(Ls, {}), + e === "unknown" && /* @__PURE__ */ p.jsx(ni, {}), + ], + }), + Ef = ({ nodeType: e }) => + e in No + ? /* @__PURE__ */ p.jsx(Yc, { nodeType: e }) + : e in Vi + ? /* @__PURE__ */ p.jsx("img", { + src: Vi[e], + className: Y.dialect_icon, + }) + : /* @__PURE__ */ p.jsx("div", {}), + px = ({ nodeType: e }) => { + const { + state: { theme: t }, + } = ot(); + return /* @__PURE__ */ p.jsx(p.Fragment, { children: fx[e][t] }); + }, + tr = ({ id: e, icon: t, text: n, label: o }) => + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_node_pill, + id: e, + children: [ + /* @__PURE__ */ p.jsx("div", { className: Y.icon, children: t }), + /* @__PURE__ */ p.jsx("div", { children: n }), + ], + }), + /* @__PURE__ */ p.jsx(F5, { target: e, children: o }), + ], + }), + Gc = { + seed: Y.seed, + model: Y.model, + source: Y.source, + exposure: Y.exposure, + snapshot: Y.snapshot, + semantic_model: Y.metrics, + macros: Y.macros, + analysis: Y.analysis, + cte: Y.model, + subquery: Y.model, + unknown: Y.exposure, + }, + No = { + seed: "SED", + model: "MDL", + source: "SRC", + exposure: "EXP", + snapshot: "SNP", + semantic_model: "MET", + macros: "SEM", + analysis: "ANY", + cte: "CTE", + subquery: "SUB", + unknown: "UNK", + }, + Sf = (e, t) => (e ? Jv(t) : ex(t)), + kf = (e, t) => (e ? t + 1 : t - 1), + ca = (e, t, n, o, r, i, a = wy, l = !1, s) => { + const u = kf(r, i), + c = (h) => { + var y, g; + const f = + ((g = (y = e.find((x) => x.id === h)) == null ? void 0 : y.data) == + null + ? void 0 + : g.level) || 0, + m = Wc(i, f, o, h, r, l); + t.find((x) => x.id === m.id) || t.push(m); + }; + let d = 0; + for (const h of n) { + if (d >= a) { + const m = Hi(o, r); + e.push({ + id: m, + data: { tables: n, prevTable: o, right: r, level: u }, + position: { x: 100, y: 100 }, + type: "seeMore", + width: Tr, + height: 100, + }), + c(m); + break; } - return l; - }, - { nodes: [], edges: [] } - ); -}, vx = (e, t) => { - const n = t.getNodes().filter((a) => vt(a)), o = t.getEdges(); - n.forEach((a) => { - const l = t.getNode(a.id); - l && zi(l, !1); - }), o.forEach((a) => { - const l = t.getEdge(a.id); - l && (l.hidden = !0, Oo(l, !1)); - }); - const r = Rs(e, n, o, [], !0), i = Rs(e, n, o, [], !1); - [r, i].forEach(({ nodes: a, edges: l }) => { - a.forEach((s) => { - const u = t.getNode(s.id); - u && zi(u, !0); - }), l.forEach((s) => { - const u = t.getEdge(s); - u && (u.hidden = !1, Oo(u, !0)); - }); - }); -}, _n = "-1px", Or = () => /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx( - Lt, - { - id: "left", - type: "source", - className: "invisible", - isConnectable: !1, - position: ae.Left, - style: { left: _n } + e.find((m) => m.id === h.table) || + (d++, + s + ? s[h.table].type in No + ? e.push(To(h, u, o)) + : e.push(gf(h.table, u, o, s[h.table])) + : e.push(To(h, u, o))), + c(h.table); } - ), - /* @__PURE__ */ p.jsx( - Lt, - { - id: "right", - type: "source", - className: "invisible", - isConnectable: !1, - position: ae.Right, - style: { right: _n } + }, + fn = (e, t, n = !1) => { + let o = 1 / 0; + const r = {}; + for (const g of e) + if (vt(g) && g.parentNode) + g.parentNode in r || (r[g.parentNode] = 0), + (g.position = { + x: Sy, + y: ky + gi(r[g.parentNode]), + }), + r[g.parentNode]++; + else { + const { level: x } = g.data; + o = Math.min(o, x); + } + const i = {}, + a = {}, + l = {}, + s = {}, + u = {}, + c = {}; + for (const g of t) + vt(g) || + ti(e.find((x) => x.id === g.source)) || + ti(e.find((x) => x.id === g.target)) || + ((u[g.source] = u[g.source] || []), + u[g.source].push(g.target), + (c[g.target] = c[g.target] || []), + c[g.target].push(g.source)); + const d = (g) => { + const { level: x } = g.data; + if (((a[x] = a[x] || []), !a[x].includes(g.id))) { + (l[g.id] = a[x].length), (i[g.id] = 0); + for (const C of a[x]) i[g.id] += r[C] || 0; + a[x].push(g.id); + } + }, + h = (g, x) => { + if (!s[g]) { + (s[g] = !0), d(e.find((C) => C.id === g)); + for (const C of x[g] || []) h(C, x); + } + }; + for (const g of e) + vt(g) || ti(g) || s[g.id] || (h(g.id, u), (s[g.id] = !1), h(g.id, c)); + for (const g of e) vt(g) || (ti(g) && d(g)); + const f = (g) => { + const x = l[g.id] || 0, + C = i[g.id] || 0; + return Hl + x * (yo + My) + gi(C, x); + }, + m = (g) => (g - o) * (Tr + _y) + Ey, + b = (g) => (g - o) * (yo + Ay) + Hl, + y = (g) => { + const x = l[g.id] || 0, + C = i[g.id] || 0; + return Hl + x * (yo + Ty) + gi(C, x); + }; + for (const g of e) { + if (vt(g)) continue; + const { level: x } = g.data; + g.position = n ? { x: y(g), y: b(x) } : { x: m(x), y: f(g) }; } + }, + _f = (e, t) => ( + e.forEach((n) => zi(n, !0)), t.forEach((n) => Oo(n, !1)), [e, t] ), - /* @__PURE__ */ p.jsx( - Lt, - { - id: "left", - type: "target", - className: "invisible", - isConnectable: !1, - position: ae.Left, - style: { left: _n } + xr = (e, t, n) => { + Cr(t, !0), vr(t, !1); + const o = {}, + r = {}, + i = (s, u) => { + const c = [n], + d = {}; + for (; c.length > 0; ) { + const h = c.shift(); + (d[h] = !0), + (o[h] = !0), + t.forEach((f) => { + f[s] === h && ((r[f.id] = !0), d[f[u]] || c.push(f[u])); + }); + } + }; + i("source", "target"), i("target", "source"); + const a = [...t]; + a.forEach((s) => Oo(s, r[s.id])); + const l = [...e]; + return l.forEach((s) => zi(s, !!o[s.id])), [l, a]; + }, + Fs = (e, t) => { + const n = e.getNodes(), + o = e.getEdges(), + [r, i] = xr(n, o, t); + e.setNodes(r), e.setEdges(i); + }, + hx = async (e, t, n, o, r, i, a, l, s, u) => { + var w, S; + const c = [], + d = [], + { + column_lineage: h, + confidence: f, + errors: m, + } = await nx({ + targets: r, + upstreamExpansion: i, + currAnd1HopTables: a, + selectedColumn: l, + showIndirectEdges: s.indirect, + }); + u((_) => ({ ..._, ...m })), Xe.addLinks(h.length); + const b = h.filter((_) => (i ? Hu(r, _.source) : Hu(r, _.target))), + y = b.map((_) => (i ? _.target : _.source)), + g = {}, + x = ([_, A], R) => { + (g[_] = g[_] || []), + g[_].find((L) => L.column === A) || + g[_].push({ column: A, viewsType: R }); + }, + C = (_, A, R, L, j) => { + const P = la(R, L); + d.find((V) => V.id === P) || d.push(Ii(R, L, t[_], t[A], j, s)); + }, + E = []; + for (const _ of b) { + x(_.source), x(_.target, _.viewsType); + const [A] = _.source, + [R] = _.target, + L = o[A], + j = o[R], + P = _.source.join("/"), + V = _.target.join("/"), + k = bn + P, + N = bn + V, + T = _.type; + if (L && j) C(A, R, k, N, T); + else if (L) { + const F = n[R]; + C(A, F, k, F, T), E.push(_); + } else if (j) { + const F = n[A]; + C(F, R, F, N, T), E.push(_); + } else E.push(_); + } + for (const _ in g) { + if (!o[_]) continue; + const A = [...g[_]]; + A.sort((R, L) => R.column.localeCompare(L.column)); + for (const R of A) { + const L = {}; + b + .filter((j) => j.target.join("/") === `${_}/${R.column}`) + .forEach((j) => { + j.type !== "indirect" && + (L[j.source.join("/")] = j.viewsCode || []); + }), + c.push( + ji( + _, + R.column, + R.viewsType, + L, + (S = (w = e.find((j) => (j.id = _))) == null ? void 0 : w.data) == + null + ? void 0 + : S.nodeType, + ), + ); + } } - ), - /* @__PURE__ */ p.jsx( - Lt, - { - id: "right", - type: "target", - className: "invisible", - isConnectable: !1, - position: ae.Right, - style: { right: _n } + return { + nodes: c, + edges: d, + collectColumns: g, + newCurr: y, + confidence: f, + seeMoreLineage: E, + }; + }, + gx = async (e, t, n, o) => { + var f, m, b, y; + let r = e.filter(xn), + i = t.filter(xn); + [r, i] = _f(r, i); + const a = {}; + r.forEach((g) => (a[g.id] = g.data.level)); + const l = {}; + e.filter((g) => g.type === "table").forEach((g) => (l[g.id] = !0)); + const s = {}, + u = []; + for (const g of t) { + if (g.id.startsWith(bn)) continue; + const x = l[g.source], + C = l[g.target]; + x && C + ? u.push({ src: g.source, dst: g.target }) + : x + ? (f = e.find((w) => w.id === g.target).data.tables) == null || + f.forEach((w) => { + u.push({ src: g.source, dst: w.table }), (s[w.table] = g.target); + }) + : C && + ((m = e.find((w) => w.id === g.source).data.tables) == null || + m.forEach((w) => { + u.push({ src: w.table, dst: g.target }), + (s[w.table] = g.source); + })); + } + const { collect_columns: c, highlight_edges: d } = await o({ + column_fqn: n, + edges: u, + }); + for (const g in c) { + if (!l[g]) continue; + const x = [...c[g]]; + x.sort((C, E) => C.column.localeCompare(E.column)); + for (const C of x) { + const E = + (y = (b = e.find((w) => w.id === g)) == null ? void 0 : b.data) == + null + ? void 0 + : y.nodeType; + r.push(ji(g, C.column, C.viewsType, {}, E)); + } } - ), - /* @__PURE__ */ p.jsx( - Lt, - { - id: "top", - type: "source", - className: "invisible", - isConnectable: !1, - position: ae.Top, - style: { top: _n } + i.forEach((g) => (g.style = aa)); + const h = (g, x, C, E, w) => { + const S = la(C, E); + i.find((_) => _.id === S) || + i.push( + Ii(C, E, a[g], a[x], w, { + direct: w === "direct", + indirect: w === "indirect", + }), + ); + }; + for (const g of d) { + const [x] = g[0].split("/"), + [C] = g[1].split("/"), + E = l[x], + w = l[C], + S = bn + g[0], + _ = bn + g[1], + A = g[2] || "direct"; + if (E && w) h(x, C, S, _, A); + else if (E) { + const R = s[C]; + h(x, R, S, R, A); + } else if (w) { + const R = s[x]; + h(R, C, R, _, A); + } } - ), - /* @__PURE__ */ p.jsx( - Lt, - { - id: "bottom", - type: "source", - className: "invisible", - isConnectable: !1, - position: ae.Bottom, - style: { bottom: _n } + return fn(r, i), { nodes: r, edges: i, collect_columns: c }; + }, + mx = (e, t, n, o) => { + const r = [...e.nodes], + i = [...e.edges]; + if ( + (t.nodes.forEach((a) => { + const l = r.find((s) => s.id === a.id); + if (!l) r.push(a); + else { + const s = + a.data.viewsCode && Object.keys(a.data.viewsCode).length + ? a.data.viewsCode + : l.data.viewsCode; + l.data = { + ...l.data, + ...a.data, + viewsCode: s, + viewsType: l.data.viewsType || a.data.viewsType, + }; + } + }), + t.edges.forEach((a) => { + i.find((l) => l.id === a.id) || i.push(a); + }), + n.name) + ) { + const a = {}, + l = yr(n.table, n.name), + s = { [l]: "direct" }, + u = [l], + c = {}, + d = o ? "source" : "target", + h = o ? "target" : "source"; + for (; u.length > 0; ) { + const f = u.shift(); + if (!c[f]) { + c[f] = !0; + for (const m of i) + m[d] === f && + (u.push(m[h]), + s[m[h]] !== "direct" && + (s[m[h]] = s[m[d]] === "direct" ? m.data.type : "indirect")); + for (const m of i) m[d] === f && (a[m.id] = s[m[h]]); + } + } + for (const f of i) + xn(f) || + ((f.data.type = a[f.id] || f.data.type), + (f.style = f.data.type === "direct" ? Vc : $c)); } - ), - /* @__PURE__ */ p.jsx( - Lt, - { - id: "top", - type: "target", - className: "invisible", - isConnectable: !1, - position: ae.Top, - style: { top: _n } + return fn(r, i), [r, i]; + }, + bx = (e, t) => { + const n = e.filter((r) => xn(r)), + o = t.filter((r) => xn(r)); + return [n, o]; + }, + Af = async (e, t, n, o) => { + const r = [...e], + i = [...t], + a = [{ table: n, level: r.find((s) => s.id === n).data.level }], + l = {}; + for (; a.length > 0; ) { + const { table: s, level: u } = a.shift(); + if (l[s]) continue; + l[s] = !0; + const { tables: c } = await Sf(o, s); + ca(r, i, c, s, o, u), + c.forEach((d) => { + const h = r.find((f) => f.id === d.table); + (h == null ? void 0 : h.data.materialization) === "ephemeral" && + a.push({ table: d.table, level: h.data.level }); + }); } - ), - /* @__PURE__ */ p.jsx( - Lt, - { - id: "bottom", - type: "target", - className: "invisible", - isConnectable: !1, - position: ae.Bottom, - style: { bottom: _n } + return [r, i]; + }, + Pi = async (e, t, n, o, r) => { + const i = [...e], + a = [...t]; + if (o >= r) return [i, a]; + const l = Ny(o, r), + s = i.find((c) => c.id === n).data.level, + u = async (c) => { + const d = [{ table: n, level: s }], + h = {}; + for (; d.length > 0; ) { + const f = d.shift(); + if (h[f.table]) continue; + h[f.table] = !0; + const { tables: m } = await Sf(c, f.table); + ca(i, a, m, f.table, c, f.level); + const b = kf(c, f.level); + l(b) + ? d.push(...m.map((y) => ({ table: y.table, level: b }))) + : d.push( + ...m + .filter((y) => y.materialization === "ephemeral") + .map((y) => ({ table: y.table, level: b })), + ); + } + }; + return r > s && (await u(!0)), o < s && (await u(!1)), [i, a]; + }, + Gu = (e, t, n, o) => { + if (!n) return -1; + const r = o ? "source" : "target", + i = o ? "target" : "source", + a = o ? "upstreamCount" : "downstreamCount", + l = {}, + s = {}; + for (const f of e) vt(f) || ((l[f.id] = f), (s[f.id] = [])); + for (const f of t) vt(f) || s[f[r]].push(f[i]); + const c = (() => { + const f = [n], + m = {}; + for (; f.length > 0; ) { + const b = f.shift(); + if (m[b]) continue; + m[b] = !0; + const y = l[b].data; + if (y[a] !== 0) { + if (s[b].length < y[a]) return b; + for (const g of s[b]) f.push(g); + } + } + })(); + if (!c) return -1; + const { level: d } = l[n].data, + { level: h } = l[c].data; + return o ? h - d : d - h; + }, + wr = (e, t, n) => [Gu(e, t, n, !1), Gu(e, t, n, !0)], + Kc = async (e, t, n, o, r, i, a, l, s, u, c, d) => { + var w, S, _, A, R, L; + let h = !1; + const { + levelMap: f, + tableNodes: m, + seeMoreIdTableReverseMap: b, + } = Oy(e, t), + y = (j) => e.find((P) => P.id === j), + g = {}, + x = {}; + let C = o.map((j) => [j.table, j.name]), + E = []; + for ( + d(() => ({})); + !( + Xe.isCancelled || + ((C = C.filter((W) => !g[W.join("/")])), + C.length === 0 && E.length === 0) + ); + + ) { + const j = {}; + C.forEach((W) => { + (g[W.join("/")] = !0), (j[W[0]] = !0); + }); + const [P, V] = n ? ["source", "target"] : ["target", "source"], + k = [], + N = [], + T = []; + let F = !1; + for (const W of t) { + if (vt(W)) continue; + const G = W[P], + K = W[V], + Q = m[K] + ? [(w = y(K)) == null ? void 0 : w.data] + : (A = + (_ = (S = y(K)) == null ? void 0 : S.data) == null + ? void 0 + : _.tables) == null + ? void 0 + : A.filter((ne) => !m[ne.table]); + Q == null || + Q.forEach((ne) => { + if (!ne) return; + const { table: oe, materialization: U } = ne; + j[G] + ? ((F = !0), + U === "ephemeral" + ? (Pu( + x, + oe, + C.filter((ge) => ge[0] === G), + ), + N.push(oe)) + : k.push(oe)) + : E.includes(G) && + ((F = !0), + U === "ephemeral" + ? (Pu(x, oe, x[G]), N.push(oe)) + : (T.push(G), k.push(oe))); + }); + } + if (!F) break; + E = N; + const I = Object.keys(j).concat(k); + T.forEach((W) => { + C.push(...x[W]), I.push(...x[W].map((G) => G[0])); + }); + const D = await hx(e, f, b, m, C, n, Array.from(new Set(I)), u, c, d); + ((R = D.confidence) == null ? void 0 : R.confidence) === "low" && + r(((L = D.confidence) == null ? void 0 : L.operator_list) || []), + (C = D.newCurr), + !h && C.length > 0 && (h = !0), + (C = C.filter( + (W) => t.filter((G) => (n ? G.source : G.target) === W[0]).length > 0, + )); + const [v, z] = l(), + [B, M] = mx({ nodes: v, edges: z }, D, u, n); + i(D.seeMoreLineage), fn(B, M), s(B, M), a(D.collectColumns); } - ) -] }), Mf = ({ data: e }) => { - var N; - const { - label: t, - table: n, - url: o, - upstreamCount: r, - downstreamCount: i, - nodeType: a, - tests: l, - materialization: s, - isExternalProject: u, - schema: c - } = e, d = Qt(), { - state: { - selectedTable: h, - collectColumns: f, - selectedColumn: m, - leftExpansion: b, - rightExpansion: y, - selectCheck: g, - nonSelectCheck: x, - errors: C - }, - rerender: E - } = ot(), w = dt(), S = Object.keys(f[n] || {}).length, _ = S > 0, A = h === n, R = async (T) => { - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); - return; + return h; + }, + yx = ( + e, + t, + n, + { prevTable: o, tables: r, right: i, level: a, lineage: l }, + s, + ) => { + var h; + const { table: u } = n; + if (e.find((f) => f.id === u)) return !1; + e.push(To(n, a, o)); + const d = (h = e.find((f) => f.id === o)) == null ? void 0 : h.data.level; + if ( + (t.push(Wc(d, a, o, u, i)), + l == null || + l.forEach((f) => { + const m = yr(f.source[0], f.source[1]), + b = yr(f.target[0], f.target[1]), + y = {}; + if ( + (i && + l + .filter((g) => g.target.join("/") === f.target.join("/")) + .forEach((g) => { + y[g.source.join("/")] = g.viewsCode || []; + }), + i) + ) { + if (f.target[0] !== u) return; + e.push(ji(f.target[0], f.target[1], f.viewsType, y, n.nodeType)), + t.push(Ii(m, b, a - 1, a, f.type, s)); + } else { + if (f.source[0] !== u) return; + e.push(ji(f.source[0], f.source[1], f.viewsType, y, n.nodeType)), + t.push(Ii(m, b, a, a + 1, f.type, s)); + } + }), + r.every((f) => !!e.find((m) => m.id === f.table))) + ) { + const f = Hi(o, i), + m = i ? `${o}-${f}` : `${f}-${o}`; + return Vu(e, f), Vu(t, m), !0; } - let [F, I] = await Af( - d.getNodes(), - d.getEdges(), - n, - T + return !1; + }, + Do = async (e, t, n, o, r) => { + var u; + if (!n) return 0; + const i = (u = e.find((c) => c.id === n)) == null ? void 0 : u.data; + if (!i) return 0; + const { level: a } = i, + l = e.length, + [s] = await Pi(e, t, n, a - o, a + r); + return s.length - l; + }, + Cx = (e, t, n, o) => { + if (!Im(e)) return { nodes: [], edgeIds: [] }; + const r = n.filter((i) => (o ? i.target : i.source) === e.id); + return { + nodes: t.filter((i) => + r.find((a) => a.source === i.id || a.target === i.id), + ), + edgeIds: r.map((i) => la(i.source, i.target)), + }; + }, + Rs = (e, t, n, o = [], r) => { + const { nodes: i, edgeIds: a } = Cx(e, t, n, r); + return i.reduce( + (l, s) => { + if ( + (l.nodes.push(s), + (l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...a]))), + o.findIndex((u) => u.id == s.id) === -1) + ) { + o.push(s); + const { nodes: u, edges: c } = Rs(s, t, n, o, r); + u.forEach((d) => { + l.nodes.push(d), + o.findIndex((h) => h.id == d.id) === -1 && o.push(d); + }), + (l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...c]))); + } + return l; + }, + { nodes: [], edges: [] }, ); - if ([F, I] = xr(F, I, h), fn(F, I), d.setNodes(F), d.setEdges(I), w( - ur(wr(F, I, h)) - ), w( - So( - await Do( - F, - I, - h, - b, - y + }, + vx = (e, t) => { + const n = t.getNodes().filter((a) => vt(a)), + o = t.getEdges(); + n.forEach((a) => { + const l = t.getNode(a.id); + l && zi(l, !1); + }), + o.forEach((a) => { + const l = t.getEdge(a.id); + l && ((l.hidden = !0), Oo(l, !1)); + }); + const r = Rs(e, n, o, [], !0), + i = Rs(e, n, o, [], !1); + [r, i].forEach(({ nodes: a, edges: l }) => { + a.forEach((s) => { + const u = t.getNode(s.id); + u && zi(u, !0); + }), + l.forEach((s) => { + const u = t.getEdge(s); + u && ((u.hidden = !1), Oo(u, !0)); + }); + }); + }, + _n = "-1px", + Or = () => + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx(Lt, { + id: "left", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Left, + style: { left: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "right", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Right, + style: { right: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "left", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Left, + style: { left: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "right", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Right, + style: { right: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "top", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Top, + style: { top: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "bottom", + type: "source", + className: "invisible", + isConnectable: !1, + position: ae.Bottom, + style: { bottom: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "top", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Top, + style: { top: _n }, + }), + /* @__PURE__ */ p.jsx(Lt, { + id: "bottom", + type: "target", + className: "invisible", + isConnectable: !1, + position: ae.Bottom, + style: { bottom: _n }, + }), + ], + }), + Mf = ({ data: e }) => { + var N; + const { + label: t, + table: n, + url: o, + upstreamCount: r, + downstreamCount: i, + nodeType: a, + tests: l, + materialization: s, + isExternalProject: u, + schema: c, + } = e, + d = Qt(), + { + state: { + selectedTable: h, + collectColumns: f, + selectedColumn: m, + leftExpansion: b, + rightExpansion: y, + selectCheck: g, + nonSelectCheck: x, + errors: C, + }, + rerender: E, + } = ot(), + w = dt(), + S = Object.keys(f[n] || {}).length, + _ = S > 0, + A = h === n, + R = async (T) => { + if (Xe.inProgress) { + Xe.showCllInProgressMsg(); + return; + } + let [F, I] = await Af(d.getNodes(), d.getEdges(), n, T); + if ( + (([F, I] = xr(F, I, h)), + fn(F, I), + d.setNodes(F), + d.setEdges(I), + w(ur(wr(F, I, h))), + w(So(await Do(F, I, h, b, y))), + E(), + !!(m != null && m.name)) ) - ) - ), E(), !!(m != null && m.name)) - try { - Xe.start(); - const D = d.getEdges(); - Cr(D, !1), vr(D, !0), d.setEdges(D), await Kc( - F, - I, - T, - f[n].map((v) => ({ table: n, name: v.column })), - (v) => { - w(mc({ operatorList: v })); - }, - (v) => { - w(hc(v)); - }, - (v) => { - w(gc(v)); - }, - () => [d.getNodes(), d.getEdges()], - (v, z) => { - d.setNodes(v), d.setEdges(z); - }, - m, - { direct: g, indirect: x }, - (v) => w(bc(v(C))) - ), E(); - } catch (D) { - console.log("cll:error:", D); - } finally { - Xe.end(); - } - }, L = () => R(!0), j = () => R(!1), P = (T) => { - T.stopPropagation(), a !== "semantic_model" && (w(Xn(n)), w(Yt(a === "exposure" ? zc : Ic))); - }, V = d.getEdges(), k = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ p.jsxs( - "div", - { + try { + Xe.start(); + const D = d.getEdges(); + Cr(D, !1), + vr(D, !0), + d.setEdges(D), + await Kc( + F, + I, + T, + f[n].map((v) => ({ table: n, name: v.column })), + (v) => { + w(mc({ operatorList: v })); + }, + (v) => { + w(hc(v)); + }, + (v) => { + w(gc(v)); + }, + () => [d.getNodes(), d.getEdges()], + (v, z) => { + d.setNodes(v), d.setEdges(z); + }, + m, + { direct: g, indirect: x }, + (v) => w(bc(v(C))), + ), + E(); + } catch (D) { + console.log("cll:error:", D); + } finally { + Xe.end(); + } + }, + L = () => R(!0), + j = () => R(!1), + P = (T) => { + T.stopPropagation(), + a !== "semantic_model" && + (w(Xn(n)), w(Yt(a === "exposure" ? zc : Ic))); + }, + V = d.getEdges(), + k = n.replace(/[^a-zA-Z0-9]/g, "-"); + return /* @__PURE__ */ p.jsxs("div", { className: "position-relative", style: { - opacity: m != null && m.name ? _ ? 1 : 0.5 : 1 + opacity: m != null && m.name ? (_ ? 1 : 0.5) : 1, }, children: [ - /* @__PURE__ */ p.jsxs( - "div", - { - className: Y.table_node, - onClick: async () => { - const T = d.getNodes(), F = d.getEdges(); - w(ur(wr(T, F, n))), w( - So( - await Do( - T, - F, - n, - b, - y - ) - ) - ), Fs(d, n), w(Xn(n)), o && ix(o); - }, - children: [ - /* @__PURE__ */ p.jsx( - "div", + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_node, + onClick: async () => { + const T = d.getNodes(), + F = d.getEdges(); + w(ur(wr(T, F, n))), + w(So(await Do(T, F, n, b, y))), + Fs(d, n), + w(Xn(n)), + o && ix(o); + }, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Te( + Y.header, + "d-flex flex-column align-items-start gap-xs", { - className: Te( - Y.header, - "d-flex flex-column align-items-start gap-xs", - { - [Y.selected]: A, - [Y.collapse]: !_ - } - ), - children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ p.jsxs("div", { className: Y.table_header, children: [ - a in No && /* @__PURE__ */ p.jsx(p.Fragment, { children: /* @__PURE__ */ p.jsxs( - "div", - { - className: Te( - Y.node_icon, - Gc[a] - ), - children: [ - /* @__PURE__ */ p.jsx(Yc, { nodeType: a }), - /* @__PURE__ */ p.jsx("div", { children: No[a] }) - ] - } - ) }), - a in Vi && /* @__PURE__ */ p.jsx( - "img", - { + [Y.selected]: A, + [Y.collapse]: !_, + }, + ), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column align-items-start gap-xs w-100", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_header, + children: [ + a in No && + /* @__PURE__ */ p.jsx(p.Fragment, { + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.node_icon, Gc[a]), + children: [ + /* @__PURE__ */ p.jsx(Yc, { nodeType: a }), + /* @__PURE__ */ p.jsx("div", { children: No[a] }), + ], + }), + }), + a in Vi && + /* @__PURE__ */ p.jsx("img", { src: Vi[a], - className: Y.dialect_icon - } - ), - /* @__PURE__ */ p.jsxs("div", { className: "overflow-x", children: [ - /* @__PURE__ */ p.jsx("div", { className: c ? "text-overflow" : "lines-2", children: t }), - c && /* @__PURE__ */ p.jsx("div", { className: "text-muted", style: { fontSize: "0.75em" }, children: c }) - ] }), - ((N = C == null ? void 0 : C[n]) == null ? void 0 : N.length) && /* @__PURE__ */ p.jsx( - wn, - { - title: /* @__PURE__ */ p.jsx("div", { className: Y.error_tooltip, children: C[n].map((T, F) => /* @__PURE__ */ p.jsxs("div", { className: "mb-1", children: [ - F + 1, - ". ", - T - ] }, F)) }), - children: /* @__PURE__ */ p.jsx(Xv, {}) - } - ) - ] }), - /* @__PURE__ */ p.jsxs( - "div", - { - className: Te( - "w-100 d-flex align-items-center gap-xs", - Y.node_extra_info - ), + className: Y.dialect_icon, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "overflow-x", children: [ - /* @__PURE__ */ p.jsx( - "div", - { - className: Te("nodrag", Y.table_handle, { - invisible: i === 0 || i === V.filter((T) => T.target === n).length || d.getNode(Hi(n, !1)) - }), - onClick: (T) => { - T.stopPropagation(), j(); - }, - "data-testid": "expand-left-btn-" + n, - children: "+" - } - ), - (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ p.jsx( - tr, - { - id: "table-node-tests-" + k, - icon: /* @__PURE__ */ p.jsx(bf, {}), - text: l.length.toString(), - label: "Tests" - } - ), - s && /* @__PURE__ */ p.jsx( - tr, - { - id: "table-node-materilization-" + k, - icon: /* @__PURE__ */ p.jsx(yf, {}), - text: s, - label: "Materialization" - } - ), - u ? /* @__PURE__ */ p.jsx( - tr, - { - id: "table-node-is-external-" + k, - icon: /* @__PURE__ */ p.jsx(sv, {}), - text: "ext", - label: `External Project: ${n}` - } - ) : null, - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx( - "div", - { - className: Te( - "nodrag", - A && a !== "semantic_model" ? "text-blue" : "text-grey" + /* @__PURE__ */ p.jsx("div", { + className: c ? "text-overflow" : "lines-2", + children: t, + }), + c && + /* @__PURE__ */ p.jsx("div", { + className: "text-muted", + style: { fontSize: "0.75em" }, + children: c, + }), + ], + }), + ((N = C == null ? void 0 : C[n]) == null + ? void 0 + : N.length) && + /* @__PURE__ */ p.jsx(wn, { + title: /* @__PURE__ */ p.jsx("div", { + className: Y.error_tooltip, + children: C[n].map((T, F) => + /* @__PURE__ */ p.jsxs( + "div", + { + className: "mb-1", + children: [F + 1, ". ", T], + }, + F, ), - onClick: P, - "data-testid": "view-details-btn-" + n, - children: "Details" - } - ), - /* @__PURE__ */ p.jsx( - "div", - { - className: Te("nodrag", Y.table_handle, { - invisible: r === 0 || r === V.filter((T) => T.source === n).length || d.getNode(Hi(n, !0)) - }), - onClick: (T) => { - T.stopPropagation(), L(); - }, - "data-testid": "expand-right-btn-" + n, - children: "+" - } - ) - ] - } - ) - ] }) - } - ), - _ && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: Y.divider }), - /* @__PURE__ */ p.jsx( - "div", - { + ), + }), + children: /* @__PURE__ */ p.jsx(Xv, {}), + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Te( + "w-100 d-flex align-items-center gap-xs", + Y.node_extra_info, + ), + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Te("nodrag", Y.table_handle, { + invisible: + i === 0 || + i === V.filter((T) => T.target === n).length || + d.getNode(Hi(n, !1)), + }), + onClick: (T) => { + T.stopPropagation(), j(); + }, + "data-testid": "expand-left-btn-" + n, + children: "+", + }), + (l == null ? void 0 : l.length) > 0 && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-tests-" + k, + icon: /* @__PURE__ */ p.jsx(bf, {}), + text: l.length.toString(), + label: "Tests", + }), + s && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-materilization-" + k, + icon: /* @__PURE__ */ p.jsx(yf, {}), + text: s, + label: "Materialization", + }), + u + ? /* @__PURE__ */ p.jsx(tr, { + id: "table-node-is-external-" + k, + icon: /* @__PURE__ */ p.jsx(sv, {}), + text: "ext", + label: `External Project: ${n}`, + }) + : null, + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx("div", { + className: Te( + "nodrag", + A && a !== "semantic_model" + ? "text-blue" + : "text-grey", + ), + onClick: P, + "data-testid": "view-details-btn-" + n, + children: "Details", + }), + /* @__PURE__ */ p.jsx("div", { + className: Te("nodrag", Y.table_handle, { + invisible: + r === 0 || + r === V.filter((T) => T.source === n).length || + d.getNode(Hi(n, !0)), + }), + onClick: (T) => { + T.stopPropagation(), L(); + }, + "data-testid": "expand-right-btn-" + n, + children: "+", + }), + ], + }), + ], + }), + }), + _ && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { className: Y.divider }), + /* @__PURE__ */ p.jsx("div", { className: Te(Y.content, { - [Y.selected]: A + [Y.selected]: A, }), - style: { height: gi(S) } - } - ) - ] }) - ] - } - ), - /* @__PURE__ */ p.jsx(Or, {}) - ] - } - ); -}, Bi = ({ - percentValue: e, - className: t -}) => e ? /* @__PURE__ */ p.jsx(wn, { title: e.tooltip, children: /* @__PURE__ */ p.jsxs("div", { className: t, children: [ - /* @__PURE__ */ p.jsx("div", { className: Y.value, children: e.value }), - /* @__PURE__ */ p.jsx("div", { className: Y.percent, children: e.percent }) -] }) }) : null, xx = ({ data: e }) => { - var h, f; - const { table: t, nodeType: n, label: o } = e, { - state: { - sqlLineage: r, - highlightedNodes: i, - externalSidePanel: a, - selectedNode: l, - nodeSavingsPerformance: s, - nodesCost: u - } - } = ot(), c = dt(), d = n || "unknown"; - return /* @__PURE__ */ p.jsxs("div", { className: "position-relative", children: [ - /* @__PURE__ */ p.jsxs("div", { className: Y.node_stats, children: [ - /* @__PURE__ */ p.jsx( - Bi, - { - percentValue: (h = s[t]) == null ? void 0 : h.savings, - className: Y.savings - } - ), - /* @__PURE__ */ p.jsx( - Bi, - { - percentValue: (f = s[t]) == null ? void 0 : f.performance, - className: Y.performance - } - ) - ] }), - /* @__PURE__ */ p.jsx( - "div", + style: { height: gi(S) }, + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsx(Or, {}), + ], + }); + }, + Bi = ({ percentValue: e, className: t }) => + e + ? /* @__PURE__ */ p.jsx(wn, { + title: e.tooltip, + children: /* @__PURE__ */ p.jsxs("div", { + className: t, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.value, + children: e.value, + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.percent, + children: e.percent, + }), + ], + }), + }) + : null, + xx = ({ data: e }) => { + var h, f; + const { table: t, nodeType: n, label: o } = e, { - className: Y.static_table_node, - onClick: () => { - document.dispatchEvent( - new CustomEvent("selectedNode", { detail: t }) - ); + state: { + sqlLineage: r, + highlightedNodes: i, + externalSidePanel: a, + selectedNode: l, + nodeSavingsPerformance: s, + nodesCost: u, }, - children: /* @__PURE__ */ p.jsx( - "div", - { - className: Te( - Y.header, - "d-flex flex-column align-items-start", - { - [Y.collapse]: !0, - [Y.highlighted]: i.includes(t), - [Y.selected]: l === t - } - ), - children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", children: [ - u[t] && /* @__PURE__ */ p.jsx(wn, { title: u[t].tooltip, children: /* @__PURE__ */ p.jsxs("div", { className: Te(Y.cost_data), children: [ - /* @__PURE__ */ p.jsx("div", { children: u[t].value }), - /* @__PURE__ */ p.jsx("div", { children: u[t].percent }) - ] }) }), - /* @__PURE__ */ p.jsx( - "div", - { + } = ot(), + c = dt(), + d = n || "unknown"; + return /* @__PURE__ */ p.jsxs("div", { + className: "position-relative", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.node_stats, + children: [ + /* @__PURE__ */ p.jsx(Bi, { + percentValue: (h = s[t]) == null ? void 0 : h.savings, + className: Y.savings, + }), + /* @__PURE__ */ p.jsx(Bi, { + percentValue: (f = s[t]) == null ? void 0 : f.performance, + className: Y.performance, + }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.static_table_node, + onClick: () => { + document.dispatchEvent( + new CustomEvent("selectedNode", { detail: t }), + ); + }, + children: /* @__PURE__ */ p.jsx("div", { + className: Te(Y.header, "d-flex flex-column align-items-start", { + [Y.collapse]: !0, + [Y.highlighted]: i.includes(t), + [Y.selected]: l === t, + }), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", + children: [ + u[t] && + /* @__PURE__ */ p.jsx(wn, { + title: u[t].tooltip, + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.cost_data), + children: [ + /* @__PURE__ */ p.jsx("div", { children: u[t].value }), + /* @__PURE__ */ p.jsx("div", { + children: u[t].percent, + }), + ], + }), + }), + /* @__PURE__ */ p.jsx("div", { className: Te(Y.node_icon, Gc[d]), - children: /* @__PURE__ */ p.jsx(px, { nodeType: d }) - } - ), - /* @__PURE__ */ p.jsx("div", {}), - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: o }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx("div", {}), - /* @__PURE__ */ p.jsx( - "div", - { + children: /* @__PURE__ */ p.jsx(px, { nodeType: d }), + }), + /* @__PURE__ */ p.jsx("div", {}), + /* @__PURE__ */ p.jsx("div", { + className: "lines-2", + children: o, + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx("div", {}), + /* @__PURE__ */ p.jsx("div", { className: Te( Y.details_btn, - !r || d === "unknown" ? Y.disable : Y.enable + !r || d === "unknown" ? Y.disable : Y.enable, ), onClick: (m) => { m.stopPropagation(), d !== "unknown" && (a || c(Xn(t))); }, - children: /* @__PURE__ */ p.jsx(Cf, {}) - } - ) - ] }) - } - ) - } - ), - /* @__PURE__ */ p.jsx(Or, {}) - ] }); -}, Xc = ({ data: e }) => { - const { tables: t = [], prevTable: n, right: o, level: r } = e, { - state: { moreTables: i } - } = ot(), a = dt(), l = Qt(), s = Me( - (u) => { - u.stopPropagation(), a(Yt(Hc)), a( - pc({ ...i, tables: t, prevTable: n, right: o, level: r }) + children: /* @__PURE__ */ p.jsx(Cf, {}), + }), + ], + }), + }), + }), + /* @__PURE__ */ p.jsx(Or, {}), + ], + }); + }, + Xc = ({ data: e }) => { + const { tables: t = [], prevTable: n, right: o, level: r } = e, + { + state: { moreTables: i }, + } = ot(), + a = dt(), + l = Qt(), + s = Me( + (u) => { + u.stopPropagation(), + a(Yt(Hc)), + a(pc({ ...i, tables: t, prevTable: n, right: o, level: r })); + }, + [r, a, i, n, o, t], ); - }, - [r, a, i, n, o, t] - ); - return /* @__PURE__ */ p.jsxs("div", { className: Y.see_more_node, onClick: s, children: [ - /* @__PURE__ */ p.jsx("div", { className: "fw-semibold", children: "See more" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx("div", { children: t.filter((u) => !l.getNode(u.table)).length || "" }), - /* @__PURE__ */ p.jsx(Or, {}) - ] }); -}, Qc = (e) => { - const { sourceX: t, sourceY: n, targetX: o, targetY: r, markerEnd: i } = e, a = (t - o) * 0.6, s = `M ${t - 5} ${n} A ${a} 50 0 1 0 ${o + 2} ${r}`; - return /* @__PURE__ */ p.jsx(Fo, { path: s, markerEnd: i }); -}, Jc = ({ data: e }) => { - const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: i } = e, { - state: { selectedColumn: a } - } = ot(), l = dt(), s = (a == null ? void 0 : a.table) === n && (a == null ? void 0 : a.name) === t, u = o && Bc[o], c = u ? { borderColor: u } : {}, d = Qt(), h = () => { - const m = d.getNode(yr(n, t)); - m && (l(Xn("")), l(Vn({ name: t, table: n })), vx(m, d)); - }, f = Be(() => { - const m = Object.values( - r || {} - ).flat().filter(([, y]) => y === "Transformation").map(([y]) => y), b = []; - for (const y of m) - b.includes(y) || b.push(y); - return b; - }, [r]); - return /* @__PURE__ */ p.jsxs( - "div", - { - className: Te( - Y.column_node, - s ? Y.selected : Y.default - ), + return /* @__PURE__ */ p.jsxs("div", { + className: Y.see_more_node, + onClick: s, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold", + children: "See more", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx("div", { + children: t.filter((u) => !l.getNode(u.table)).length || "", + }), + /* @__PURE__ */ p.jsx(Or, {}), + ], + }); + }, + Qc = (e) => { + const { sourceX: t, sourceY: n, targetX: o, targetY: r, markerEnd: i } = e, + a = (t - o) * 0.6, + s = `M ${t - 5} ${n} A ${a} 50 0 1 0 ${o + 2} ${r}`; + return /* @__PURE__ */ p.jsx(Fo, { path: s, markerEnd: i }); + }, + Jc = ({ data: e }) => { + const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: i } = e, + { + state: { selectedColumn: a }, + } = ot(), + l = dt(), + s = + (a == null ? void 0 : a.table) === n && + (a == null ? void 0 : a.name) === t, + u = o && Bc[o], + c = u ? { borderColor: u } : {}, + d = Qt(), + h = () => { + const m = d.getNode(yr(n, t)); + m && (l(Xn("")), l(Vn({ name: t, table: n })), vx(m, d)); + }, + f = Be(() => { + const m = Object.values(r || {}) + .flat() + .filter(([, y]) => y === "Transformation") + .map(([y]) => y), + b = []; + for (const y of m) b.includes(y) || b.push(y); + return b; + }, [r]); + return /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.column_node, s ? Y.selected : Y.default), style: c, onClick: h, children: [ /* @__PURE__ */ p.jsx("div", { className: Y.column_name, children: t }), /* @__PURE__ */ p.jsx(Or, {}), - /* @__PURE__ */ p.jsxs("div", { className: Y.column_top_right, children: [ - f.length > 0 && /* @__PURE__ */ p.jsx(wn, { title: "Click to view code", children: /* @__PURE__ */ p.jsx( - "div", - { - className: Y.column_code_icon, - onClick: (m) => { - m.stopPropagation(), l( - ko({ - type: "views_code", - args: { - table: n, - viewsType: o, - viewsCode: r, - nodeType: i, - column: t - } - }) - ); - }, - children: /* @__PURE__ */ p.jsx(fd, {}) - } - ) }), - o && o !== "Non select" && /* @__PURE__ */ p.jsx(Uc, { viewsType: o }) - ] }) - ] - } - ); -}, Tf = { - INNER_JOIN: /* @__PURE__ */ p.jsx(Iv, {}), - OUTER_JOIN: /* @__PURE__ */ p.jsx(Bv, {}), - LEFT_JOIN: /* @__PURE__ */ p.jsx(zv, {}), - FULL_JOIN: /* @__PURE__ */ p.jsx(Zv, {}), - RIGHT_JOIN: /* @__PURE__ */ p.jsx(Vv, {}), - CROSS_JOIN: /* @__PURE__ */ p.jsx($v, {}), - LATERAL_JOIN: /* @__PURE__ */ p.jsx(Wv, {}), - FILTER: /* @__PURE__ */ p.jsx(Rv, {}), - GROUP: /* @__PURE__ */ p.jsx(jv, {}), - LIMIT: /* @__PURE__ */ p.jsx(Hv, {}), - SORT: /* @__PURE__ */ p.jsx(Pv, {}), - UNION: /* @__PURE__ */ p.jsx(Uv, {}), - SELECT: /* @__PURE__ */ p.jsx(qv, {}) -}, Vi = { - postgres: Gv, - snowflake: Yv, - s3: Kv -}, wx = ({ data: e }) => { - var h, f; - const { type: t, expression: n, id: o } = e, { - state: { - theme: r, - highlightedNodes: i, - externalSidePanel: a, - selectedNode: l, - nodeSavingsPerformance: s, - nodesCost: u - } - } = ot(), c = r === "dark", d = dt(); - return /* @__PURE__ */ p.jsxs("div", { style: { width: Tr, display: "flex", justifyContent: "center" }, children: [ - /* @__PURE__ */ p.jsx(Or, {}), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ p.jsxs( - "div", - { - className: Te(Y.op_node, { - [Y.highlighted]: i.includes(o), - [Y.selected]: l === o + /* @__PURE__ */ p.jsxs("div", { + className: Y.column_top_right, + children: [ + f.length > 0 && + /* @__PURE__ */ p.jsx(wn, { + title: "Click to view code", + children: /* @__PURE__ */ p.jsx("div", { + className: Y.column_code_icon, + onClick: (m) => { + m.stopPropagation(), + l( + ko({ + type: "views_code", + args: { + table: n, + viewsType: o, + viewsCode: r, + nodeType: i, + column: t, + }, + }), + ); + }, + children: /* @__PURE__ */ p.jsx(fd, {}), + }), + }), + o && + o !== "Non select" && + /* @__PURE__ */ p.jsx(Uc, { viewsType: o }), + ], }), - onClick: () => { - a ? document.dispatchEvent( - new CustomEvent("selectedNode", { detail: o }) - ) : d( - ko({ - type: "op_node", - args: { op_code: n, op_type: t } - }) - ); + ], + }); + }, + Tf = { + INNER_JOIN: /* @__PURE__ */ p.jsx(Iv, {}), + OUTER_JOIN: /* @__PURE__ */ p.jsx(Bv, {}), + LEFT_JOIN: /* @__PURE__ */ p.jsx(zv, {}), + FULL_JOIN: /* @__PURE__ */ p.jsx(Zv, {}), + RIGHT_JOIN: /* @__PURE__ */ p.jsx(Vv, {}), + CROSS_JOIN: /* @__PURE__ */ p.jsx($v, {}), + LATERAL_JOIN: /* @__PURE__ */ p.jsx(Wv, {}), + FILTER: /* @__PURE__ */ p.jsx(Rv, {}), + GROUP: /* @__PURE__ */ p.jsx(jv, {}), + LIMIT: /* @__PURE__ */ p.jsx(Hv, {}), + SORT: /* @__PURE__ */ p.jsx(Pv, {}), + UNION: /* @__PURE__ */ p.jsx(Uv, {}), + SELECT: /* @__PURE__ */ p.jsx(qv, {}), + }, + Vi = { + postgres: Gv, + snowflake: Yv, + s3: Kv, + }, + wx = ({ data: e }) => { + var h, f; + const { type: t, expression: n, id: o } = e, + { + state: { + theme: r, + highlightedNodes: i, + externalSidePanel: a, + selectedNode: l, + nodeSavingsPerformance: s, + nodesCost: u, }, - children: [ - u[o] && /* @__PURE__ */ p.jsx(wn, { title: u[o].tooltip, children: /* @__PURE__ */ p.jsxs("div", { className: Te(Y.cost_data), children: [ - /* @__PURE__ */ p.jsx("div", { children: u[o].value }), - /* @__PURE__ */ p.jsx("div", { children: u[o].percent }) - ] }) }), - /* @__PURE__ */ p.jsx( - "div", - { - className: Te( - Y.node_icon, - c ? Y.dark_mode : Y.light_mode - ), - children: Tf[t] - } - ), - /* @__PURE__ */ p.jsx("div", {}), - /* @__PURE__ */ p.jsxs("div", { className: Y.op_type_text, children: [ - /* @__PURE__ */ p.jsx("span", { children: t }), - /* @__PURE__ */ p.jsxs("div", { className: Y.node_stats, children: [ - /* @__PURE__ */ p.jsx( - Bi, - { - percentValue: (h = s[o]) == null ? void 0 : h.savings, - className: Y.savings - } - ), - /* @__PURE__ */ p.jsx( - Bi, - { - percentValue: (f = s[o]) == null ? void 0 : f.performance, - className: Y.performance - } - ) - ] }) - ] }), - /* @__PURE__ */ p.jsx("div", {}) - ] - } - ) }) - ] }); -}; -function e1({ - isOpen: e, - closeModal: t, - width: n = 350, - children: o -}) { + } = ot(), + c = r === "dark", + d = dt(); + return /* @__PURE__ */ p.jsxs("div", { + style: { width: Tr, display: "flex", justifyContent: "center" }, + children: [ + /* @__PURE__ */ p.jsx(Or, {}), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.op_node, { + [Y.highlighted]: i.includes(o), + [Y.selected]: l === o, + }), + onClick: () => { + a + ? document.dispatchEvent( + new CustomEvent("selectedNode", { detail: o }), + ) + : d( + ko({ + type: "op_node", + args: { op_code: n, op_type: t }, + }), + ); + }, + children: [ + u[o] && + /* @__PURE__ */ p.jsx(wn, { + title: u[o].tooltip, + children: /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.cost_data), + children: [ + /* @__PURE__ */ p.jsx("div", { children: u[o].value }), + /* @__PURE__ */ p.jsx("div", { children: u[o].percent }), + ], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.node_icon, c ? Y.dark_mode : Y.light_mode), + children: Tf[t], + }), + /* @__PURE__ */ p.jsx("div", {}), + /* @__PURE__ */ p.jsxs("div", { + className: Y.op_type_text, + children: [ + /* @__PURE__ */ p.jsx("span", { children: t }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.node_stats, + children: [ + /* @__PURE__ */ p.jsx(Bi, { + percentValue: (h = s[o]) == null ? void 0 : h.savings, + className: Y.savings, + }), + /* @__PURE__ */ p.jsx(Bi, { + percentValue: + (f = s[o]) == null ? void 0 : f.performance, + className: Y.performance, + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsx("div", {}), + ], + }), + }), + ], + }); + }; +function e1({ isOpen: e, closeModal: t, width: n = 350, children: o }) { const r = document.getElementById("lineage-sidebar"); if (!r) return null; const i = typeof n == "number" ? `${n}px` : n; return jn( - /* @__PURE__ */ p.jsx("div", { className: `sidebar-modal ${e ? "" : "d-none"}`, children: e && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: "sidebar-background-screen", onClick: t }), - /* @__PURE__ */ p.jsxs("div", { className: "sidebar-modal-content", style: { width: i }, children: [ - /* @__PURE__ */ p.jsx("div", { className: "sidebar-close-button", onClick: t, children: /* @__PURE__ */ p.jsx(Zc, {}) }), - o - ] }) - ] }) }), - r + /* @__PURE__ */ p.jsx("div", { + className: `sidebar-modal ${e ? "" : "d-none"}`, + children: + e && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "sidebar-background-screen", + onClick: t, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "sidebar-modal-content", + style: { width: i }, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "sidebar-close-button", + onClick: t, + children: /* @__PURE__ */ p.jsx(Zc, {}), + }), + o, + ], + }), + ], + }), + }), + r, ); } function Ro(e) { return /* @__PURE__ */ p.jsx(Fn, { className: "custom-input", ...e }); } function Ex(e) { - return /* @__PURE__ */ p.jsx(Fn, { className: "custom-input", ...e, type: "textarea", rows: 4 }); -} -function Sx({ - nodeType: e, - label: t, - table: n, - tests: o, - materialization: r -}) { - const i = e, a = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ p.jsxs("div", { className: Y.table_header, children: [ - /* @__PURE__ */ p.jsxs("div", { className: Te(Y.node_icon, Gc[i]), children: [ - /* @__PURE__ */ p.jsx(Ef, { nodeType: e }), - /* @__PURE__ */ p.jsx("div", { children: No[i] }) - ] }), - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: t }) - ] }), - ((o == null ? void 0 : o.length) > 0 || r) && /* @__PURE__ */ p.jsxs("div", { className: Te("d-flex gap-xs", Y.node_extra_info), children: [ - (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ p.jsx( - tr, - { - id: "table-node-tests-" + a, - icon: /* @__PURE__ */ p.jsx(bf, {}), - text: o.length.toString(), - label: "Tests" - } - ), - r && /* @__PURE__ */ p.jsx( - tr, - { - id: "table-node-materilization-" + a, - icon: /* @__PURE__ */ p.jsx(yf, {}), - text: r, - label: "Materialization" - } - ) - ] }) - ] }); + return /* @__PURE__ */ p.jsx(Fn, { + className: "custom-input", + ...e, + type: "textarea", + rows: 4, + }); +} +function Sx({ nodeType: e, label: t, table: n, tests: o, materialization: r }) { + const i = e, + a = n.replace(/[^a-zA-Z0-9]/g, "-"); + return /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column align-items-start gap-xs w-100", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_header, + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.node_icon, Gc[i]), + children: [ + /* @__PURE__ */ p.jsx(Ef, { nodeType: e }), + /* @__PURE__ */ p.jsx("div", { children: No[i] }), + ], + }), + /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: t }), + ], + }), + ((o == null ? void 0 : o.length) > 0 || r) && + /* @__PURE__ */ p.jsxs("div", { + className: Te("d-flex gap-xs", Y.node_extra_info), + children: [ + (o == null ? void 0 : o.length) > 0 && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-tests-" + a, + icon: /* @__PURE__ */ p.jsx(bf, {}), + text: o.length.toString(), + label: "Tests", + }), + r && + /* @__PURE__ */ p.jsx(tr, { + id: "table-node-materilization-" + a, + icon: /* @__PURE__ */ p.jsx(yf, {}), + text: r, + label: "Materialization", + }), + ], + }), + ], + }); } function Of() { const { - state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, - rerender: o - } = ot(), r = dt(), { tables: i, level: a } = e, l = Qt(), s = async (d) => { - const h = [...l.getNodes()], f = [...l.getEdges()]; - yx( - h, - f, - d, - e, - { direct: t, indirect: n } - ) && r(Yt("")), fn(h, f), l.setNodes(h), l.setEdges(f), o(); - }, [u, c] = ue(i); - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Tables" }), - /* @__PURE__ */ p.jsx( - Ro, - { + state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, + rerender: o, + } = ot(), + r = dt(), + { tables: i, level: a } = e, + l = Qt(), + s = async (d) => { + const h = [...l.getNodes()], + f = [...l.getEdges()]; + yx(h, f, d, e, { direct: t, indirect: n }) && r(Yt("")), + fn(h, f), + l.setNodes(h), + l.setEdges(f), + o(); + }, + [u, c] = ue(i); + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "mb-2 fw-semibold fs-5", + children: "Tables", + }), + /* @__PURE__ */ p.jsx(Ro, { bsSize: "sm", placeholder: "Search by table name", onChange: (d) => { const h = d.target.value.toLowerCase(); - c( - i.filter((f) => f.table.toLowerCase().includes(h)) - ); - } - } - ), - /* @__PURE__ */ p.jsx("div", { className: "mb-3" }), - /* @__PURE__ */ p.jsx("div", { className: "h-100 overflow-y", children: /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: u.map((d) => { - const h = l.getNode(d.table), f = h && h.data.level !== a; - return /* @__PURE__ */ p.jsx( - "div", - { - className: Te(Y.table_card, { - [Y.selected]: h - // [styles.disabled]: isNodeOnOtherLevel, - }), - onClick: (m) => { - m.stopPropagation(), !f && s(d); - }, - children: /* @__PURE__ */ p.jsx( - Sx, - { - nodeType: d.nodeType, - label: d.label, - table: d.table, - tests: d.tests, - materialization: d.materialization - } - ) + c(i.filter((f) => f.table.toLowerCase().includes(h))); }, - d.table - ); - }) }) }) - ] }); -} -const kx = "_component_13r39_1", _x = "_spin_13r39_1", Ax = { - component: kx, - spin: _x -}, Nf = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ p.jsx( - "div", - { - className: Ax.component, - style: { top: `${e}%`, left: `${t}%` }, - children: /* @__PURE__ */ p.jsx("div", { style: { marginTop: "-70px" }, children: n }) - } -), Mx = "_level_tag_x6wwh_1", Tx = { - level_tag: Mx -}, Ox = ({ label: e }) => /* @__PURE__ */ p.jsx("div", { className: Te(Tx.level_tag), children: e }), Df = ({ purpose: e }) => /* @__PURE__ */ p.jsx("div", { className: Te(Y.card, "purpose-section"), children: /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-xs flex-column", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Description" }), - /* @__PURE__ */ p.jsx("div", { className: Te(Y.column_card), children: /* @__PURE__ */ p.jsx("div", { className: "font-normal fs-xxs", children: e }) }) -] }) }) }), Lf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { - const { - state: { theme: r } - } = Je(eo); - return /* @__PURE__ */ p.jsxs( - "div", - { + }), + /* @__PURE__ */ p.jsx("div", { className: "mb-3" }), + /* @__PURE__ */ p.jsx("div", { + className: "h-100 overflow-y", + children: /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: u.map((d) => { + const h = l.getNode(d.table), + f = h && h.data.level !== a; + return /* @__PURE__ */ p.jsx( + "div", + { + className: Te(Y.table_card, { + [Y.selected]: h, + // [styles.disabled]: isNodeOnOtherLevel, + }), + onClick: (m) => { + m.stopPropagation(), !f && s(d); + }, + children: /* @__PURE__ */ p.jsx(Sx, { + nodeType: d.nodeType, + label: d.label, + table: d.table, + tests: d.tests, + materialization: d.materialization, + }), + }, + d.table, + ); + }), + }), + }), + ], + }); +} +const kx = "_component_13r39_1", + _x = "_spin_13r39_1", + Ax = { + component: kx, + spin: _x, + }, + Nf = ({ top: e = 50, left: t = 50, label: n }) => + /* @__PURE__ */ p.jsx("div", { + className: Ax.component, + style: { top: `${e}%`, left: `${t}%` }, + children: /* @__PURE__ */ p.jsx("div", { + style: { marginTop: "-70px" }, + children: n, + }), + }), + Mx = "_level_tag_x6wwh_1", + Tx = { + level_tag: Mx, + }, + Ox = ({ label: e }) => + /* @__PURE__ */ p.jsx("div", { className: Te(Tx.level_tag), children: e }), + Df = ({ purpose: e }) => + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "purpose-section"), + children: /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-xs flex-column", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Description", + }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.column_card), + children: /* @__PURE__ */ p.jsx("div", { + className: "font-normal fs-xxs", + children: e, + }), + }), + ], + }), + }), + }), + Lf = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { + const { + state: { theme: r }, + } = Je(eo); + return /* @__PURE__ */ p.jsxs("div", { className: Te(Y.column_card, { [Y.selected]: n, - "cursor-pointer": o + "cursor-pointer": o, }), onClick: t, "data-testid": "table-details-" + e.name, children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx(dx, { datatype: e.datatype || "" }), - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: e.name }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - e.can_lineage_expand && /* @__PURE__ */ p.jsx("div", { className: Y.expand_lineage_icon, children: /* @__PURE__ */ p.jsx(wv, {}) }), - e.datatype && /* @__PURE__ */ p.jsx(Ox, { label: e.datatype }) - ] }), - e.description && /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ p.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }), - e.code && /* @__PURE__ */ p.jsx( - Sr, - { + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx(dx, { datatype: e.datatype || "" }), + /* @__PURE__ */ p.jsx("div", { + className: "lines-2", + children: e.name, + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + e.can_lineage_expand && + /* @__PURE__ */ p.jsx("div", { + className: Y.expand_lineage_icon, + children: /* @__PURE__ */ p.jsx(wv, {}), + }), + e.datatype && /* @__PURE__ */ p.jsx(Ox, { label: e.datatype }), + ], + }), + e.description && + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ p.jsx("div", { + className: "font-normal fs-xxs text-grey", + children: e.description, + }), + }), + e.code && + /* @__PURE__ */ p.jsx(Sr, { code: e.code, language: "sql", editorTheme: "tomorrow", - theme: r - } - ) - ] - } - ); -}, Nx = ({ - columns: e, - filteredColumn: t, - setFilteredColumn: n, - handleColumnClick: o, - selectedTable: r, - selectedColumn: i, - setData: a, - allowSyncColumnsWithDB: l, - lineageType: s -}) => { - const u = (r == null ? void 0 : r.materialization) === "ephemeral", c = (r == null ? void 0 : r.nodeType) === "analysis"; - return /* @__PURE__ */ p.jsx("div", { className: Te(Y.card, "flex-grow column-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Columns" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - l && !u && !c && /* @__PURE__ */ p.jsx( - Pe, - { - size: "sm", - color: "primary", - onClick: () => { - r && sa(r.table, !0).then((d) => { - d && (a(d), n(d.columns)); - }); - }, - children: "Sync with DB" + theme: r, + }), + ], + }); + }, + Nx = ({ + columns: e, + filteredColumn: t, + setFilteredColumn: n, + handleColumnClick: o, + selectedTable: r, + selectedColumn: i, + setData: a, + allowSyncColumnsWithDB: l, + lineageType: s, + }) => { + const u = (r == null ? void 0 : r.materialization) === "ephemeral", + c = (r == null ? void 0 : r.nodeType) === "analysis"; + return /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "flex-grow column-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm h-100 p-2", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Columns", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + l && + !u && + !c && + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: () => { + r && + sa(r.table, !0).then((d) => { + d && (a(d), n(d.columns)); + }); + }, + children: "Sync with DB", + }), + ], + }), + /* @__PURE__ */ p.jsx(Ro, { + bsSize: "sm", + type: "text", + placeholder: "Search by column name", + onChange: (d) => { + const h = d.target.value.toLowerCase(); + n(e.filter((f) => f.name.toLowerCase().includes(h))); + }, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + !u && + /* @__PURE__ */ p.jsx("div", { + className: "fs-xxs", + children: "Select column for lineage", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsxs("div", { + className: "fs-xxs text-grey", + children: [t.length, " columns"], + }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: t.map((d) => + /* @__PURE__ */ p.jsx( + Lf, + { + column: d, + handleClick: () => { + u || o(d); + }, + selected: + d.name === (i == null ? void 0 : i.name) && + d.table === (i == null ? void 0 : i.table), + isSelectable: !u && s === "dynamic", + }, + d.name, + ), + ), + }), + ], + }), + }); + }, + Dx = ({ tests: e }) => { + const [t, n] = ue(e); + return /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "flex-grow column-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm h-100 p-2", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Tests", + }), + /* @__PURE__ */ p.jsx(Ro, { + bsSize: "sm", + type: "text", + placeholder: "Search by test", + onChange: (o) => { + const r = o.target.value.toLowerCase(); + n(e.filter((i) => i.key.toLowerCase().includes(r))); + }, + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ p.jsxs("div", { + className: "fs-xxs text-grey", + children: [t.length, " tests"], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm", + children: t.map((o) => + /* @__PURE__ */ p.jsx( + "div", + { + className: Y.column_card, + children: /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ p.jsx("div", { + className: "lines-2", + children: o.key, + }), + }), + }, + o.key, + ), + ), + }), + ], + }), + }); + }, + t1 = ({ nodeType: e, table: t }) => + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_details_header, + children: [ + /* @__PURE__ */ p.jsx(Ef, { nodeType: e }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: t, + }), + }), + ], + }), + Ff = ({ lineageType: e }) => { + var S; + const { + rerender: t, + state: { + selectedTable: n, + selectedColumn: o, + selectCheck: r, + nonSelectCheck: i, + aiEnabled: a, + allowSyncColumnsWithDB: l, + errors: s, + }, + } = ot(), + u = dt(), + c = Qt(), + [d, h] = ue([]), + [f, m] = ue(null), + [b, y] = ue(0), + [g, x] = ue(!0); + ce(() => { + n && + (x(!0), + sa(n, !1) + .then((_) => { + m(_), h(_.columns), x(!1); + }) + .catch(() => { + x(!1); + })); + }, [n]); + const C = async (_) => { + var F; + if (!a) { + lx(); + return; } - ) - ] }), - /* @__PURE__ */ p.jsx( - Ro, - { - bsSize: "sm", - type: "text", - placeholder: "Search by column name", - onChange: (d) => { - const h = d.target.value.toLowerCase(); - n( - e.filter((f) => f.name.toLowerCase().includes(h)) - ); + if (Xe.inProgress) { + Xe.showCllInProgressMsg(); + return; } - } - ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - !u && /* @__PURE__ */ p.jsx("div", { className: "fs-xxs", children: "Select column for lineage" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsxs("div", { className: "fs-xxs text-grey", children: [ - t.length, - " columns" - ] }) - ] }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((d) => /* @__PURE__ */ p.jsx( - Lf, - { - column: d, - handleClick: () => { - u || o(d); - }, - selected: d.name === (i == null ? void 0 : i.name) && d.table === (i == null ? void 0 : i.table), - isSelectable: !u && s === "dynamic" - }, - d.name - )) }) - ] }) }); -}, Dx = ({ tests: e }) => { - const [t, n] = ue(e); - return /* @__PURE__ */ p.jsx("div", { className: Te(Y.card, "flex-grow column-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Tests" }), - /* @__PURE__ */ p.jsx( - Ro, - { - bsSize: "sm", - type: "text", - placeholder: "Search by test", - onChange: (o) => { - const r = o.target.value.toLowerCase(); - n( - e.filter((i) => i.key.toLowerCase().includes(r)) + if ( + (o == null ? void 0 : o.table) === _.table && + (o == null ? void 0 : o.name) === _.name + ) { + const [I, D] = bx(c.getNodes(), c.getEdges()); + Cr(D, !0), + vr(D, !0), + c.setNodes(I), + c.setEdges(D), + u(Vn({ table: "", name: "" })), + u(cr({})), + u(Yt("")); + return; + } + const A = (F = c.getNode(_.table)) == null ? void 0 : F.data; + if (!A) throw new Error(`table node ${_.table} isn't visible`); + let R = c.getNodes(), + L = c.getEdges(); + Cr(L, !1), vr(L, !0); + const j = async (I) => { + ([R, L] = await Af(R, L, _.table, I)), fn(R, L); + }, + { upstreamCount: P, downstreamCount: V } = A; + P > 0 && + L.filter((I) => I.source === _.table).length < P && + (await j(!0)), + V > 0 && + L.filter((I) => I.target === _.table).length < V && + (await j(!1)), + u(Vn({ ..._ })), + u(Yt("")), + u(cr({})), + u(E9({ confidence: "high" })); + const [k, N] = _f(R.filter(xn), L.filter(xn)); + N.forEach((I) => (I.style = aa)), c.setNodes(k), c.setEdges(N), t(); + const T = (I) => + Kc( + k, + N, + I, + [_], + (D) => { + u(mc({ operatorList: D })); + }, + (D) => { + u(hc(D)); + }, + (D) => { + u(gc(D)); + }, + () => [c.getNodes(), c.getEdges()], + (D, v) => { + c.setNodes(D), c.setEdges(v); + }, + _, + { direct: r, indirect: i }, + (D) => u(bc(D(s))), ); + try { + Xe.start(), + (await Promise.all([T(!0), T(!1)])).every((D) => !D) && + (u(Vn({ table: "", name: "" })), + Fs(c, _.table), + Xe.isCancelled || + qc( + `No lineage found for model ${_.table} and column ${_.name}`, + )); + } catch (I) { + console.error( + "Error while performing cll for ", + _.table, + _.name, + ", error:", + I, + ), + u(Vn({ table: "", name: "" })), + Fs(c, _.table); + } finally { + Xe.end(); } - } - ), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ p.jsxs("div", { className: "fs-xxs text-grey", children: [ - t.length, - " tests" - ] }) }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((o) => /* @__PURE__ */ p.jsx("div", { className: Y.column_card, children: /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: o.key }) }) }, o.key)) }) - ] }) }); -}, t1 = ({ - nodeType: e, - table: t -}) => /* @__PURE__ */ p.jsxs("div", { className: Y.table_details_header, children: [ - /* @__PURE__ */ p.jsx(Ef, { nodeType: e }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5 lines-2", children: t }) }) -] }), Ff = ({ lineageType: e }) => { - var S; - const { - rerender: t, - state: { - selectedTable: n, - selectedColumn: o, - selectCheck: r, - nonSelectCheck: i, - aiEnabled: a, - allowSyncColumnsWithDB: l, - errors: s - } - } = ot(), u = dt(), c = Qt(), [d, h] = ue([]), [f, m] = ue(null), [b, y] = ue(0), [g, x] = ue(!0); - ce(() => { - n && (x(!0), sa(n, !1).then((_) => { - m(_), h(_.columns), x(!1); - }).catch(() => { - x(!1); - })); - }, [n]); - const C = async (_) => { - var F; - if (!a) { - lx(); - return; - } - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); - return; - } - if ((o == null ? void 0 : o.table) === _.table && (o == null ? void 0 : o.name) === _.name) { - const [I, D] = bx( - c.getNodes(), - c.getEdges() - ); - Cr(D, !0), vr(D, !0), c.setNodes(I), c.setEdges(D), u(Vn({ table: "", name: "" })), u(cr({})), u(Yt("")); - return; - } - const A = (F = c.getNode(_.table)) == null ? void 0 : F.data; - if (!A) - throw new Error(`table node ${_.table} isn't visible`); - let R = c.getNodes(), L = c.getEdges(); - Cr(L, !1), vr(L, !0); - const j = async (I) => { - [R, L] = await Af( - R, - L, - _.table, - I - ), fn(R, L); - }, { upstreamCount: P, downstreamCount: V } = A; - P > 0 && L.filter((I) => I.source === _.table).length < P && await j(!0), V > 0 && L.filter((I) => I.target === _.table).length < V && await j(!1), u(Vn({ ..._ })), u(Yt("")), u(cr({})), u(E9({ confidence: "high" })); - const [k, N] = _f( - R.filter(xn), - L.filter(xn) - ); - N.forEach((I) => I.style = aa), c.setNodes(k), c.setEdges(N), t(); - const T = (I) => Kc( - k, - N, - I, - [_], - (D) => { - u(mc({ operatorList: D })); - }, - (D) => { - u(hc(D)); - }, - (D) => { - u(gc(D)); }, - () => [c.getNodes(), c.getEdges()], - (D, v) => { - c.setNodes(D), c.setEdges(v); - }, - _, - { direct: r, indirect: i }, - (D) => u(bc(D(s))) + E = (S = c.getNode(n)) == null ? void 0 : S.data; + if (g || !f || !n) return /* @__PURE__ */ p.jsx(Nf, {}); + const w = ["Column"]; + return ( + E.tests.length && w.push("Tests"), + /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ p.jsx(t1, { + nodeType: E.nodeType, + table: E.label, + }), + f.purpose && /* @__PURE__ */ p.jsx(Df, { purpose: f.purpose }), + w.length > 1 && + /* @__PURE__ */ p.jsx("div", { + className: Y.table_details_tabs, + children: w.map((_, A) => + /* @__PURE__ */ p.jsx( + "div", + { + className: Te(Y.tab, { + [Y.selected]: b === A, + }), + onClick: () => y(A), + children: _, + }, + _, + ), + ), + }), + b === 0 && + /* @__PURE__ */ p.jsx(Nx, { + selectedTable: E, + selectedColumn: o, + filteredColumn: d, + setFilteredColumn: h, + columns: f.columns, + handleColumnClick: C, + setData: m, + allowSyncColumnsWithDB: l, + lineageType: e, + }), + b === 1 && /* @__PURE__ */ p.jsx(Dx, { tests: E.tests }), + ], + }) ); - try { - Xe.start(), (await Promise.all([ - T(!0), - T(!1) - ])).every((D) => !D) && (u(Vn({ table: "", name: "" })), Fs(c, _.table), Xe.isCancelled || qc( - `No lineage found for model ${_.table} and column ${_.name}` - )); - } catch (I) { - console.error( - "Error while performing cll for ", - _.table, - _.name, - ", error:", - I - ), u(Vn({ table: "", name: "" })), Fs(c, _.table); - } finally { - Xe.end(); - } - }, E = (S = c.getNode(n)) == null ? void 0 : S.data; - if (g || !f || !n) return /* @__PURE__ */ p.jsx(Nf, {}); - const w = ["Column"]; - return E.tests.length && w.push("Tests"), /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ p.jsx( - t1, - { - nodeType: E.nodeType, - table: E.label - } - ), - f.purpose && /* @__PURE__ */ p.jsx(Df, { purpose: f.purpose }), - w.length > 1 && /* @__PURE__ */ p.jsx("div", { className: Y.table_details_tabs, children: w.map((_, A) => /* @__PURE__ */ p.jsx( - "div", + }, + Lx = () => { + var f, m, b, y; + const { + state: { theme: e }, + } = Je(eo), { - className: Te(Y.tab, { - [Y.selected]: b === A + state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o }, + } = ot(), + r = + (b = + (m = (f = t == null ? void 0 : t.details) == null ? void 0 : f[n]) == + null + ? void 0 + : m.columns) == null + ? void 0 + : b.map((g) => ({ + ...g, + description: g.expression, + })), + [i, a] = ue(r), + [l, s] = ue(r), + u = (y = t == null ? void 0 : t.details) == null ? void 0 : y[n]; + if (!u) return null; + const { sql: c, type: d, nodeId: h } = u; + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ p.jsx(t1, { nodeType: d || "cte", table: n }), + c && + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "mb-0 purpose-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "SQL", + }), + /* @__PURE__ */ p.jsx(Sr, { + code: c, + language: "sql", + editorTheme: "tomorrow", + showLineNumbers: !0, + theme: e, + }), + ], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: Te(Y.card, "mb-0 flex-grow column-section"), + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm h-100", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-5 fw-semibold", + children: "Column", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + o && + h && + ["table", "final"].includes(d || "") && + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: () => { + sa(h, !0).then((g) => { + a(g.columns), s(g.columns); + }); + }, + children: "Sync with DB", + }), + ], + }), + /* @__PURE__ */ p.jsx(Ro, { + bsSize: "sm", + placeholder: "Search by column name", + type: "text", + onChange: (g) => { + const x = g.target.value.toLowerCase(); + s( + i == null + ? void 0 + : i.filter((C) => C.name.toLowerCase().includes(x)), + ); + }, + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ p.jsxs("div", { + children: [l == null ? void 0 : l.length, " columns"], + }), + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column gap-sm overflow-y", + children: + l == null + ? void 0 + : l.map((g) => + /* @__PURE__ */ p.jsx( + Lf, + { + column: { + name: g.name, + table: n, + can_lineage_expand: !1, + description: "", + code: g.expression, + }, + handleClick: () => {}, + selected: !1, + isSelectable: !1, + }, + g.name, + ), + ), + }), + ], + }), }), - onClick: () => y(A), - children: _ - }, - _ - )) }), - b === 0 && /* @__PURE__ */ p.jsx( - Nx, - { - selectedTable: E, - selectedColumn: o, - filteredColumn: d, - setFilteredColumn: h, - columns: f.columns, - handleColumnClick: C, - setData: m, - allowSyncColumnsWithDB: l, - lineageType: e - } - ), - b === 1 && /* @__PURE__ */ p.jsx(Dx, { tests: E.tests }) - ] }); -}, Lx = () => { - var f, m, b, y; - const { - state: { theme: e } - } = Je(eo), { - state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o } - } = ot(), r = (b = (m = (f = t == null ? void 0 : t.details) == null ? void 0 : f[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( - (g) => ({ - ...g, - description: g.expression - }) - ), [i, a] = ue(r), [l, s] = ue(r), u = (y = t == null ? void 0 : t.details) == null ? void 0 : y[n]; - if (!u) - return null; - const { sql: c, type: d, nodeId: h } = u; - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ p.jsx(t1, { nodeType: d || "cte", table: n }), - c && /* @__PURE__ */ p.jsx("div", { className: Te(Y.card, "mb-0 purpose-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "SQL" }), - /* @__PURE__ */ p.jsx( - Sr, - { - code: c, - language: "sql", - editorTheme: "tomorrow", - showLineNumbers: !0, - theme: e - } - ) - ] }) }), - /* @__PURE__ */ p.jsx("div", { className: Te(Y.card, "mb-0 flex-grow column-section"), children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm h-100", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-5 fw-semibold", children: "Column" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - o && h && ["table", "final"].includes(d || "") && /* @__PURE__ */ p.jsx( - Pe, - { - size: "sm", - color: "primary", - onClick: () => { - sa(h, !0).then((g) => { - a(g.columns), s(g.columns); - }); - }, - children: "Sync with DB" - } - ) - ] }), - /* @__PURE__ */ p.jsx( - Ro, - { - bsSize: "sm", - placeholder: "Search by column name", - type: "text", - onChange: (g) => { - const x = g.target.value.toLowerCase(); - s( - i == null ? void 0 : i.filter((C) => C.name.toLowerCase().includes(x)) - ); - } - } - ), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ p.jsxs("div", { children: [ - l == null ? void 0 : l.length, - " columns" - ] }) }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column gap-sm overflow-y", children: l == null ? void 0 : l.map((g) => /* @__PURE__ */ p.jsx( - Lf, - { - column: { - name: g.name, - table: n, - can_lineage_expand: !1, - description: "", - code: g.expression - }, - handleClick: () => { - }, - selected: !1, - isSelectable: !1 - }, - g.name - )) }) - ] }) }) - ] }); -}, ri = ({ title: e, value: t }) => /* @__PURE__ */ p.jsxs("div", { className: Te(Y.column_card, {}), children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: e }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }) - ] }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ p.jsx("div", { className: "font-normal fs-xxs text-grey", children: t }) }) -] }), Fx = ({ label: e }) => /* @__PURE__ */ p.jsx("div", { children: e }), Rf = () => { - var l; - const e = Qt(), { - state: { selectedTable: t } - } = ot(), [n, o] = ue(null), r = (l = e.getNode(t)) == null ? void 0 : l.data, [i, a] = ue(!0); - return ce(() => { - t && tx(t).then((s) => { - o(s), a(!1); + ], }); - }, [t]), i || !n || !t ? /* @__PURE__ */ p.jsx(Nf, {}) : /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ p.jsxs("div", { className: Y.table_details_header, children: [ - /* @__PURE__ */ p.jsx(Yc, { nodeType: r.nodeType }), - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5 lines-2", children: r.label }) }) - ] }), - n.description ? /* @__PURE__ */ p.jsx(Df, { purpose: n.description }) : null, - /* @__PURE__ */ p.jsxs("div", { className: Te(Y.card, "flex-grow column-section"), children: [ - /* @__PURE__ */ p.jsx( - ri, - { - title: "Owner", - value: `${n.owner.name} - ${n.owner.email}` - } - ), - /* @__PURE__ */ p.jsx(ri, { title: "Url", value: n.url }), - /* @__PURE__ */ p.jsx( - ri, - { - title: "Tags", - value: n.tags.map((s) => /* @__PURE__ */ p.jsx(Fx, { label: s })) - } - ), - /* @__PURE__ */ p.jsx(ri, { title: "Maturity", value: n.maturity }) - ] }) - ] }); -}; + }, + ri = ({ title: e, value: t }) => + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.column_card, {}), + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: e }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ p.jsx("div", { + className: "font-normal fs-xxs text-grey", + children: t, + }), + }), + ], + }), + Fx = ({ label: e }) => /* @__PURE__ */ p.jsx("div", { children: e }), + Rf = () => { + var l; + const e = Qt(), + { + state: { selectedTable: t }, + } = ot(), + [n, o] = ue(null), + r = (l = e.getNode(t)) == null ? void 0 : l.data, + [i, a] = ue(!0); + return ( + ce(() => { + t && + tx(t).then((s) => { + o(s), a(!1); + }); + }, [t]), + i || !n || !t + ? /* @__PURE__ */ p.jsx(Nf, {}) + : /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_details_header, + children: [ + /* @__PURE__ */ p.jsx(Yc, { nodeType: r.nodeType }), + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: r.label, + }), + }), + ], + }), + n.description + ? /* @__PURE__ */ p.jsx(Df, { purpose: n.description }) + : null, + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.card, "flex-grow column-section"), + children: [ + /* @__PURE__ */ p.jsx(ri, { + title: "Owner", + value: `${n.owner.name} - ${n.owner.email}`, + }), + /* @__PURE__ */ p.jsx(ri, { title: "Url", value: n.url }), + /* @__PURE__ */ p.jsx(ri, { + title: "Tags", + value: n.tags.map((s) => + /* @__PURE__ */ p.jsx(Fx, { label: s }), + ), + }), + /* @__PURE__ */ p.jsx(ri, { + title: "Maturity", + value: n.maturity, + }), + ], + }), + ], + }) + ); + }; function Rx({ close: e }) { const [t, n] = ue( - "" - /* None */ - ), [o, r] = ue(""), [i, a] = ue(!1); - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "mb-2 d-flex", children: [ - /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5", children: "Feedback" }), - /* @__PURE__ */ p.jsx("div", { className: "spacer" }), - /* @__PURE__ */ p.jsx( - Pe, - { - size: "sm", - color: "primary", - onClick: (l) => { - l.stopPropagation(), ax(); - }, - children: "Chat with us" - } - ) - ] }), - /* @__PURE__ */ p.jsxs("div", { className: Y.feedback_body, children: [ - !i && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm m-2", children: [ - t === "good" ? /* @__PURE__ */ p.jsx( - kv, - { - className: "cursor-pointer", - onClick: () => n( - "" - /* None */ - ) - } - ) : /* @__PURE__ */ p.jsx( - Ev, - { - className: "cursor-pointer", - onClick: () => n( - "good" - /* Postive */ - ) - } - ), - t === "bad" ? /* @__PURE__ */ p.jsx( - _v, - { - className: "cursor-pointer", - onClick: () => n( - "" - /* None */ - ) - } - ) : /* @__PURE__ */ p.jsx( - Sv, - { - className: "cursor-pointer", - onClick: () => n( - "bad" - /* Negative */ - ) - } - ) - ] }), - /* @__PURE__ */ p.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), - /* @__PURE__ */ p.jsx( - Ex, - { - value: o, - onChange: (l) => r(l.target.value), - placeholder: "What did AI do wrong? What it should have done?" - } - ), - /* @__PURE__ */ p.jsxs("div", { className: "mt-3 d-flex gap-sm", children: [ - /* @__PURE__ */ p.jsx( - Pe, - { - size: "sm", - color: "primary", - onClick: async (l) => { - l.stopPropagation(), t !== "" && (await ox({ - feedback_value: t, - feedback_text: o - }), a(!0)); - }, - children: "Submit" - } - ), - /* @__PURE__ */ p.jsx( - Pe, - { - size: "sm", - color: "link", - className: Y.cancel_btn, - onClick: (l) => { - l.stopPropagation(), e(); - }, - children: "Cancel" - } - ) - ] }) - ] }), - i && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("p", { children: "Many thanks for your feedback!" }), - /* @__PURE__ */ p.jsx( - Pe, - { + "", + /* None */ + ), + [o, r] = ue(""), + [i, a] = ue(!1); + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "mb-2 d-flex", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5", + children: "Feedback", + }), + /* @__PURE__ */ p.jsx("div", { className: "spacer" }), + /* @__PURE__ */ p.jsx(Pe, { size: "sm", color: "primary", onClick: (l) => { - l.stopPropagation(), e(); + l.stopPropagation(), ax(); }, - children: "Close" - } - ) - ] }) - ] }) - ] }); + children: "Chat with us", + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.feedback_body, + children: [ + !i && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm m-2", + children: [ + t === "good" + ? /* @__PURE__ */ p.jsx(kv, { + className: "cursor-pointer", + onClick: () => + n( + "", + /* None */ + ), + }) + : /* @__PURE__ */ p.jsx(Ev, { + className: "cursor-pointer", + onClick: () => + n( + "good", + /* Postive */ + ), + }), + t === "bad" + ? /* @__PURE__ */ p.jsx(_v, { + className: "cursor-pointer", + onClick: () => + n( + "", + /* None */ + ), + }) + : /* @__PURE__ */ p.jsx(Sv, { + className: "cursor-pointer", + onClick: () => + n( + "bad", + /* Negative */ + ), + }), + ], + }), + /* @__PURE__ */ p.jsx("p", { + children: + "AI still needs humans sometimes, please help it out 🙂", + }), + /* @__PURE__ */ p.jsx(Ex, { + value: o, + onChange: (l) => r(l.target.value), + placeholder: + "What did AI do wrong? What it should have done?", + }), + /* @__PURE__ */ p.jsxs("div", { + className: "mt-3 d-flex gap-sm", + children: [ + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: async (l) => { + l.stopPropagation(), + t !== "" && + (await ox({ + feedback_value: t, + feedback_text: o, + }), + a(!0)); + }, + children: "Submit", + }), + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "link", + className: Y.cancel_btn, + onClick: (l) => { + l.stopPropagation(), e(); + }, + children: "Cancel", + }), + ], + }), + ], + }), + i && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("p", { + children: "Many thanks for your feedback!", + }), + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + onClick: (l) => { + l.stopPropagation(), e(); + }, + children: "Close", + }), + ], + }), + ], + }), + ], + }); } function jx({ applyDefault: e }) { const { - state: { selectCheck: t, nonSelectCheck: n, defaultExpansion: o, aiEnabled: r } - } = ot(), i = dt(); - return /* @__PURE__ */ p.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Settings" }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx(Ea, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), - /* @__PURE__ */ p.jsx( - Ro, - { - id: "default-expansion", - value: o, - type: "number", - onChange: (a) => { - const l = Math.max(parseInt(a.target.value), 0); - i(Vd(l)), Pl({ defaultExpansion: l }), e(l); - } - } - ) - ] }), - r && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: "fs-6", children: "Edges visibility" }), - /* @__PURE__ */ p.jsxs("div", { className: Y.select_node_checkbox, children: [ - /* @__PURE__ */ p.jsx( - Fn, - { - type: "checkbox", - id: "select-check", - className: "mt-2", - checked: t, - onChange: (a) => { - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); - return; - } - i(Pd(a.target.checked)), Pl({ - showSelectEdges: a.target.checked - }); - } - } - ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx(Ea, { check: !0, for: "select-check", className: "fs-6", children: "Select" }), - /* @__PURE__ */ p.jsx("div", { className: "text-grey", children: "Select linkages are shown if there is direct flow of data between columns through select statements." }) - ] }) - ] }), - /* @__PURE__ */ p.jsxs("div", { className: Y.non_select_node_checkbox, children: [ - /* @__PURE__ */ p.jsx( - Fn, - { - type: "checkbox", - id: "non-select-check", - className: "mt-2", - checked: n, - onChange: (a) => { - if (Xe.inProgress) { - Xe.showCllInProgressMsg(); - return; - } - i(Bd(a.target.checked)), Pl({ - showNonSelectEdges: a.target.checked - }); - } - } - ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ p.jsx(Ea, { check: !0, for: "non-select-check", className: "fs-6", children: "Non-Select" }), - /* @__PURE__ */ p.jsx("div", { className: "text-grey", children: "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc." }) - ] }) - ] }) - ] }) - ] }) - ] }); -} -const jf = zt({ openedPopover: "", setOpenedPopover: () => { -} }); -function If({ - id: e, - trigger: t, - render: n -}) { - const o = pe(null), { openedPopover: r, setOpenedPopover: i } = Je(jf); - return ce(() => { - const a = (l) => { - if (!o.current) return; - const { x: s, y: u, width: c, height: d } = o.current.getBoundingClientRect(); - i( - Bu(s - 10, s + c + 10)(l.x) && Bu(u - 10, u + d + 10)(l.y) ? e : "" + state: { + selectCheck: t, + nonSelectCheck: n, + defaultExpansion: o, + aiEnabled: r, + }, + } = ot(), + i = dt(); + return /* @__PURE__ */ p.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "mb-2 fw-semibold fs-5", + children: "Settings", + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx(Ea, { + check: !0, + for: "default-expansion", + className: "fs-6 mb-1", + children: "Default Expansion", + }), + /* @__PURE__ */ p.jsx(Ro, { + id: "default-expansion", + value: o, + type: "number", + onChange: (a) => { + const l = Math.max(parseInt(a.target.value), 0); + i(Vd(l)), Pl({ defaultExpansion: l }), e(l); + }, + }), + ], + }), + r && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "fs-6", + children: "Edges visibility", + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.select_node_checkbox, + children: [ + /* @__PURE__ */ p.jsx(Fn, { + type: "checkbox", + id: "select-check", + className: "mt-2", + checked: t, + onChange: (a) => { + if (Xe.inProgress) { + Xe.showCllInProgressMsg(); + return; + } + i(Pd(a.target.checked)), + Pl({ + showSelectEdges: a.target.checked, + }); + }, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx(Ea, { + check: !0, + for: "select-check", + className: "fs-6", + children: "Select", + }), + /* @__PURE__ */ p.jsx("div", { + className: "text-grey", + children: + "Select linkages are shown if there is direct flow of data between columns through select statements.", + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.non_select_node_checkbox, + children: [ + /* @__PURE__ */ p.jsx(Fn, { + type: "checkbox", + id: "non-select-check", + className: "mt-2", + checked: n, + onChange: (a) => { + if (Xe.inProgress) { + Xe.showCllInProgressMsg(); + return; + } + i(Bd(a.target.checked)), + Pl({ + showNonSelectEdges: a.target.checked, + }); + }, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column", + children: [ + /* @__PURE__ */ p.jsx(Ea, { + check: !0, + for: "non-select-check", + className: "fs-6", + children: "Non-Select", + }), + /* @__PURE__ */ p.jsx("div", { + className: "text-grey", + children: + "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc.", + }), + ], + }), + ], + }), + ], + }), + ], + }), + ], + }); +} +const jf = zt({ openedPopover: "", setOpenedPopover: () => {} }); +function If({ id: e, trigger: t, render: n }) { + const o = pe(null), + { openedPopover: r, setOpenedPopover: i } = Je(jf); + return ( + ce(() => { + const a = (l) => { + if (!o.current) return; + const { + x: s, + y: u, + width: c, + height: d, + } = o.current.getBoundingClientRect(); + i(Bu(s - 10, s + c + 10)(l.x) && Bu(u - 10, u + d + 10)(l.y) ? e : ""); + }; + return ( + document.body.addEventListener("click", a), + () => { + document.body.removeEventListener("click", a); + } ); - }; - return document.body.addEventListener("click", a), () => { - document.body.removeEventListener("click", a); - }; - }, [r]), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx( - "div", - { - id: e, - onClick: (a) => { - a.stopPropagation(), i(e); - }, - children: t - } - ), - /* @__PURE__ */ p.jsx( - P0, - { - placement: "bottom", - target: e, - className: Y.popover, - isOpen: r === e, - toggle: () => i(""), - children: /* @__PURE__ */ p.jsx(B0, { children: /* @__PURE__ */ p.jsx("div", { ref: o, children: n({ close: () => i("") }) }) }) - } - ) - ] }); + }, [r]), + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + id: e, + onClick: (a) => { + a.stopPropagation(), i(e); + }, + children: t, + }), + /* @__PURE__ */ p.jsx(P0, { + placement: "bottom", + target: e, + className: Y.popover, + isOpen: r === e, + toggle: () => i(""), + children: /* @__PURE__ */ p.jsx(B0, { + children: /* @__PURE__ */ p.jsx("div", { + ref: o, + children: n({ close: () => i("") }), + }), + }), + }), + ], + }) + ); } const Ix = () => { - const e = Qt(), { - state: { - selectedTable: t, - leftExpansion: n, - rightExpansion: o, - minRange: r, - nodeCount: i, - defaultExpansion: a - }, - rerender: l - } = ot(), [s, u] = ue([0, 0]), c = dt(); - ce(() => { - c( - Sl( - $u(r[0], s[0], a) - ) - ), c( - kl( - $u(r[1], s[1], a) - ) - ); - }, [a, c, s, r]), ce(() => { - (async () => c( - So( - await Do( - e.getNodes(), - e.getEdges(), - t, - n, - o - ) - ) - ))(); - }, [e, n, c, o, t]), ce(() => { - (async () => { - var E; - if (!t) return; - const f = (E = e.getNode(t)) == null ? void 0 : E.data; - if (!f) return; - const { level: m } = f, b = e.getNodes(), y = e.getEdges(), [g] = await Pi( - b, - y, - t, - -1 / 0, - 1 / 0 - ); - let x = 1 / 0, C = -1 / 0; - for (const w of g) - x = Math.min(x, w.data.level), C = Math.max(C, w.data.level); - u([m - x, C - m]); - })(); - }, [e, t]); - const d = Me(() => { - c( - Sl( - n + 1 <= s[0] ? n + 1 : n - ) - ); - }, [n, c, s]), h = Me(() => { - c( - kl( - o + 1 <= s[0] ? o + 1 : o - ) - ); - }, [o, c, s]); - return /* @__PURE__ */ p.jsx( - If, - { + const e = Qt(), + { + state: { + selectedTable: t, + leftExpansion: n, + rightExpansion: o, + minRange: r, + nodeCount: i, + defaultExpansion: a, + }, + rerender: l, + } = ot(), + [s, u] = ue([0, 0]), + c = dt(); + ce(() => { + c(Sl($u(r[0], s[0], a))), c(kl($u(r[1], s[1], a))); + }, [a, c, s, r]), + ce(() => { + (async () => c(So(await Do(e.getNodes(), e.getEdges(), t, n, o))))(); + }, [e, n, c, o, t]), + ce(() => { + (async () => { + var E; + if (!t) return; + const f = (E = e.getNode(t)) == null ? void 0 : E.data; + if (!f) return; + const { level: m } = f, + b = e.getNodes(), + y = e.getEdges(), + [g] = await Pi(b, y, t, -1 / 0, 1 / 0); + let x = 1 / 0, + C = -1 / 0; + for (const w of g) + (x = Math.min(x, w.data.level)), (C = Math.max(C, w.data.level)); + u([m - x, C - m]); + })(); + }, [e, t]); + const d = Me(() => { + c(Sl(n + 1 <= s[0] ? n + 1 : n)); + }, [n, c, s]), + h = Me(() => { + c(kl(o + 1 <= s[0] ? o + 1 : o)); + }, [o, c, s]); + return /* @__PURE__ */ p.jsx(If, { id: "auto-expansion-popover", - trigger: /* @__PURE__ */ p.jsxs( - Pe, - { - size: "sm", - color: "primary", - className: "d-flex gap-sm align-items-center", - type: "button", + trigger: /* @__PURE__ */ p.jsxs(Pe, { + size: "sm", + color: "primary", + className: "d-flex gap-sm align-items-center", + type: "button", + children: [/* @__PURE__ */ p.jsx(Av, {}), "Expand"], + }), + render: ({ close: f }) => + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx(Av, {}), - "Expand" - ] - } - ), - render: ({ close: f }) => /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ p.jsxs( - "div", - { - className: Te(Y.expand_nav, { - [Y.disabled]: r[0] === -1 - }), + /* @__PURE__ */ p.jsxs("div", { + className: + "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ p.jsxs("div", { className: Y.expand_nav_btn, children: [ - /* @__PURE__ */ p.jsx( - "div", - { - className: Y.icon, - onClick: (m) => { - m.stopPropagation(), t && c(Sl(s[0])); - }, - children: /* @__PURE__ */ p.jsx(Mv, {}) - } - ), - /* @__PURE__ */ p.jsx("div", { className: Y.divider }), - /* @__PURE__ */ p.jsx( - "div", - { - className: Y.icon, - onClick: (m) => { - m.stopPropagation(), t && d(); - }, - children: /* @__PURE__ */ p.jsx(Tv, {}) - } - ) - ] }), - /* @__PURE__ */ p.jsx("div", { className: "text-blue px-2 py-1", children: n }) - ] - } - ), - /* @__PURE__ */ p.jsxs( - "div", - { - className: Te(Y.expand_nav, { - [Y.disabled]: r[1] === -1 - }), + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.expand_nav, { + [Y.disabled]: r[0] === -1, + }), + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.expand_nav_btn, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && c(Sl(s[0])); + }, + children: /* @__PURE__ */ p.jsx(Mv, {}), + }), + /* @__PURE__ */ p.jsx("div", { className: Y.divider }), + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && d(); + }, + children: /* @__PURE__ */ p.jsx(Tv, {}), + }), + ], + }), + /* @__PURE__ */ p.jsx("div", { + className: "text-blue px-2 py-1", + children: n, + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: Te(Y.expand_nav, { + [Y.disabled]: r[1] === -1, + }), + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-blue px-2 py-1", + children: o, + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.expand_nav_btn, + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && h(); + }, + children: /* @__PURE__ */ p.jsx(Ov, {}), + }), + /* @__PURE__ */ p.jsx("div", { className: Y.divider }), + /* @__PURE__ */ p.jsx("div", { + className: Y.icon, + onClick: (m) => { + m.stopPropagation(), t && c(kl(s[1])); + }, + children: /* @__PURE__ */ p.jsx(Cf, {}), + }), + ], + }), + ], + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: + "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-blue px-2 py-1", children: o }), - /* @__PURE__ */ p.jsxs("div", { className: Y.expand_nav_btn, children: [ - /* @__PURE__ */ p.jsx( - "div", - { - className: Y.icon, - onClick: (m) => { - m.stopPropagation(), t && h(); - }, - children: /* @__PURE__ */ p.jsx(Ov, {}) - } - ), - /* @__PURE__ */ p.jsx("div", { className: Y.divider }), - /* @__PURE__ */ p.jsx( - "div", - { - className: Y.icon, - onClick: (m) => { - m.stopPropagation(), t && c(kl(s[1])); - }, - children: /* @__PURE__ */ p.jsx(Cf, {}) - } - ) - ] }) - ] - } - ) - ] }), - /* @__PURE__ */ p.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { className: "normal-text", children: "Parents" }), - /* @__PURE__ */ p.jsx("div", { className: "normal-text", children: "Children" }) - ] }), - /* @__PURE__ */ p.jsxs( - Pe, - { - color: i === 0 ? "secondary" : "primary", - size: "sm", - disabled: i === 0, - onClick: async (m) => { - var x; - if (m.stopPropagation(), !t) return; - const b = (x = e.getNode(t)) == null ? void 0 : x.data; - if (!b) return; - const [y, g] = await Pi( - e.getNodes(), - e.getEdges(), - t, - b.level - n, - b.level + o - ); - xr(y, g, t), fn(y, g), e.setNodes(y), e.setEdges(g), e.fitView({ minZoom: Os }), c( - ur(wr(y, g, t)) - ), c( - So( - await Do( - y, - g, - t, - n, - o - ) - ) - ), l(), f(); + /* @__PURE__ */ p.jsx("div", { + className: "normal-text", + children: "Parents", + }), + /* @__PURE__ */ p.jsx("div", { + className: "normal-text", + children: "Children", + }), + ], + }), + /* @__PURE__ */ p.jsxs(Pe, { + color: i === 0 ? "secondary" : "primary", + size: "sm", + disabled: i === 0, + onClick: async (m) => { + var x; + if ((m.stopPropagation(), !t)) return; + const b = (x = e.getNode(t)) == null ? void 0 : x.data; + if (!b) return; + const [y, g] = await Pi( + e.getNodes(), + e.getEdges(), + t, + b.level - n, + b.level + o, + ); + xr(y, g, t), + fn(y, g), + e.setNodes(y), + e.setEdges(g), + e.fitView({ minZoom: Os }), + c(ur(wr(y, g, t))), + c(So(await Do(y, g, t, n, o))), + l(), + f(); + }, + children: ["Add ", i, " tables"], + }), + ], + }), + }); + }, + zx = () => { + const { + state: { selectedColumn: e, confidence: t, aiEnabled: n }, + } = ot(), + o = document.getElementById("expand-container"); + return o + ? jn( + /* @__PURE__ */ p.jsx(sn, { + className: Y.menu_card_container, + children: /* @__PURE__ */ p.jsx(Rn, { + className: Y.menu_card, + children: /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-sm", + children: [ + /* @__PURE__ */ p.jsx(Ix, {}), + n && + (e == null ? void 0 : e.name) && + t.confidence === "low" && + /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.verticle_divider, + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex gap-xxs align-items-center", + children: [ + /* @__PURE__ */ p.jsx("div", { + children: "Confidence", + }), + /* @__PURE__ */ p.jsx(Zn, { + title: + "Depending on the SQL dialect and complexity of queries, there may be situations where we are not completely confident about the lineage shown in this view", + id: "confidence", + children: /* @__PURE__ */ p.jsx(d8, {}), + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.low_confidence, + children: "Low", + }), + ], + }), + ], + }), + ], + }), + }), + }), + o, + ) + : null; + }, + Hx = () => { + const e = document.getElementById("settings-container"), + t = dt(); + return e + ? jn( + /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + onClick: () => t(Yt(cf)), + children: [/* @__PURE__ */ p.jsx(u8, {}), "Settings"], + }), + e, + ) + : null; + }, + Px = ({ flow: e }) => { + const t = document.getElementById("reset-container"), + n = dt(); + return t + ? jn( + /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + onClick: () => { + e.setNodes([]), + e.setEdges([]), + n(Vn({ table: "", name: "" })), + n(cr({})), + n(pc({})), + wf(), + Xe.cancel(); }, + "data-testid": "reset-btn", + className: Y.reset_btn, children: [ - "Add ", - i, - " tables" - ] - } + /* @__PURE__ */ p.jsx(c8, {}), + /* @__PURE__ */ p.jsx("span", { children: "Reset" }), + ], + }), + t, ) - ] }) - } - ); -}, zx = () => { - const { - state: { selectedColumn: e, confidence: t, aiEnabled: n } - } = ot(), o = document.getElementById("expand-container"); - return o ? jn( - /* @__PURE__ */ p.jsx(sn, { className: Y.menu_card_container, children: /* @__PURE__ */ p.jsx(Rn, { className: Y.menu_card, children: /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-sm", children: [ - /* @__PURE__ */ p.jsx(Ix, {}), - n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ - /* @__PURE__ */ p.jsx("div", { className: Y.verticle_divider }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ - /* @__PURE__ */ p.jsx("div", { children: "Confidence" }), - /* @__PURE__ */ p.jsx( - Zn, - { - title: "Depending on the SQL dialect and complexity of queries, there may be situations where we are not completely confident about the lineage shown in this view", - id: "confidence", - children: /* @__PURE__ */ p.jsx(d8, {}) - } - ), - /* @__PURE__ */ p.jsx("div", { className: Y.low_confidence, children: "Low" }) - ] }) - ] }) - ] }) }) }), - o - ) : null; -}, Hx = () => { - const e = document.getElementById("settings-container"), t = dt(); - return e ? jn( - /* @__PURE__ */ p.jsxs( - Pe, - { - outline: !0, - onClick: () => t(Yt(cf)), - children: [ - /* @__PURE__ */ p.jsx(u8, {}), - "Settings" - ] - } - ), - e - ) : null; -}, Px = ({ flow: e }) => { - const t = document.getElementById("reset-container"), n = dt(); - return t ? jn( - /* @__PURE__ */ p.jsxs( - Pe, - { - outline: !0, - onClick: () => { - e.setNodes([]), e.setEdges([]), n(Vn({ table: "", name: "" })), n(cr({})), n(pc({})), wf(), Xe.cancel(); - }, - "data-testid": "reset-btn", - className: Y.reset_btn, - children: [ - /* @__PURE__ */ p.jsx(c8, {}), - /* @__PURE__ */ p.jsx("span", { children: "Reset" }) - ] - } - ), - t - ) : null; -}, Bx = ({ - viewsCodeArgs: e -}) => { - const { - state: { theme: t } - } = Je(eo), n = dt(), o = Qt(), r = Be(() => { - var a, l; - return e ? (l = (a = o.getNode(e.table)) == null ? void 0 : a.data) == null ? void 0 : l.label : ""; - }, [o, e]), i = Be(() => { - const a = Object.values((e == null ? void 0 : e.viewsCode) || []).flat().filter(([, s]) => s === "Transformation").map(([s]) => s), l = []; - for (const s of a) - l.includes(s) || l.push(s); - return l; - }, [e == null ? void 0 : e.viewsCode]); - return /* @__PURE__ */ p.jsx( - V0, - { + : null; + }, + Bx = ({ viewsCodeArgs: e }) => { + const { + state: { theme: t }, + } = Je(eo), + n = dt(), + o = Qt(), + r = Be(() => { + var a, l; + return e + ? (l = (a = o.getNode(e.table)) == null ? void 0 : a.data) == null + ? void 0 + : l.label + : ""; + }, [o, e]), + i = Be(() => { + const a = Object.values((e == null ? void 0 : e.viewsCode) || []) + .flat() + .filter(([, s]) => s === "Transformation") + .map(([s]) => s), + l = []; + for (const s of a) l.includes(s) || l.push(s); + return l; + }, [e == null ? void 0 : e.viewsCode]); + return /* @__PURE__ */ p.jsx(V0, { size: "lg", isOpen: !!e, toggle: () => n(ko(null)), @@ -24065,854 +34949,1022 @@ const Ix = () => { unmountOnClose: !0, scrollable: !0, className: "bs-modal", - children: /* @__PURE__ */ p.jsxs($0, { children: [ - /* @__PURE__ */ p.jsx( - "div", - { + children: /* @__PURE__ */ p.jsxs($0, { + children: [ + /* @__PURE__ */ p.jsx("div", { className: Y.close_button, onClick: () => n(ko(null)), - children: /* @__PURE__ */ p.jsx(Zc, {}) - } - ), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - r && /* @__PURE__ */ p.jsx(t1, { nodeType: e.nodeType, table: r }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "Column" }), - /* @__PURE__ */ p.jsx("div", { className: Y.model_views_type, children: e.column }) - ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "Type" }), - /* @__PURE__ */ p.jsxs("div", { className: Y.model_views_type, children: [ - /* @__PURE__ */ p.jsx(Uc, { viewsType: e.viewsType }), - e.viewsType - ] }) - ] }), - i.length > 0 && /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "List of transformations" }), - i.map((a) => /* @__PURE__ */ p.jsx( - Sr, - { - code: a, - language: "sql", - editorTheme: "tomorrow", - theme: t - }, - a - )) - ] }) - ] }) - ] }) - } - ); -}; + children: /* @__PURE__ */ p.jsx(Zc, {}), + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + r && + /* @__PURE__ */ p.jsx(t1, { nodeType: e.nodeType, table: r }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Column", + }), + /* @__PURE__ */ p.jsx("div", { + className: Y.model_views_type, + children: e.column, + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Type", + }), + /* @__PURE__ */ p.jsxs("div", { + className: Y.model_views_type, + children: [ + /* @__PURE__ */ p.jsx(Uc, { viewsType: e.viewsType }), + e.viewsType, + ], + }), + ], + }), + i.length > 0 && + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "List of transformations", + }), + i.map((a) => + /* @__PURE__ */ p.jsx( + Sr, + { + code: a, + language: "sql", + editorTheme: "tomorrow", + theme: t, + }, + a, + ), + ), + ], + }), + ], + }), + ], + }), + }); + }; function Vx({ opNodeArgs: e }) { const { - state: { theme: t } + state: { theme: t }, } = Je(eo); - return /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ p.jsxs("div", { className: Y.table_details_header, children: [ - Tf[e.op_type], - /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ p.jsx("div", { className: "fw-semibold fs-5 lines-2", children: e.op_type }) }) - ] }), - /* @__PURE__ */ p.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ p.jsx("div", { className: "text-dark-grey fs-xs", children: "Code" }), - /* @__PURE__ */ p.jsx( - Sr, - { - code: e.op_code, - language: "sql", - editorTheme: "tomorrow", - theme: t - } - ) - ] }) - ] }); + return /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ p.jsxs("div", { + className: Y.table_details_header, + children: [ + Tf[e.op_type], + /* @__PURE__ */ p.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ p.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: e.op_type, + }), + }), + ], + }), + /* @__PURE__ */ p.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ p.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Code", + }), + /* @__PURE__ */ p.jsx(Sr, { + code: e.op_code, + language: "sql", + editorTheme: "tomorrow", + theme: t, + }), + ], + }), + ], + }); } const n1 = () => { - const { - state: { modalArgs: e } - } = ot(), t = dt(); - return e ? /* @__PURE__ */ p.jsx( - V0, - { - size: "lg", - isOpen: e.type !== "none", - close: () => t(ko({ type: "none" })), - centered: !0, - unmountOnClose: !0, - scrollable: !0, - className: "bs-modal", - children: /* @__PURE__ */ p.jsxs($0, { children: [ - /* @__PURE__ */ p.jsx( - "div", - { - className: Y.close_button, - onClick: () => t(ko({ type: "none" })), - children: /* @__PURE__ */ p.jsx(Zc, {}) - } - ), - e.type === "views_code" && /* @__PURE__ */ p.jsx( - Bx, - { - viewsCodeArgs: e.args - } - ), - e.type === "op_node" && /* @__PURE__ */ p.jsx(Vx, { opNodeArgs: e.args }) - ] }) - } - ) : null; -}, $x = ({ flow: e }) => { - const t = document.getElementById("export-container"), { - state: { selectedColumn: n, collectColumns: o } - } = ot(), [r, i] = ue(""), a = async (l) => { - const s = e.getEdges(), u = s.filter((m) => xn(m)).map((m) => [m.source, m.target]), c = s.filter((m) => vt(m)).map( - (m) => { - var b; - return ( - // remove column prefix for edge - [m.source.slice(7), m.target.slice(7), (b = m.data) == null ? void 0 : b.type] - ); - } - ), d = {}; - await Promise.all( - e.getNodes().map(async (m) => { - if (vt(m)) return; - const b = await sa(m.id, !1); - d[m.id] = { - type: m.data.nodeType, - nodeId: m.id, - name: m.data.label, - ...b - }; - }) - ); - const f = await cx({ name: r, lineage_data: { - selectedColumn: n, - collectColumns: o, - tableEdges: u, - columnEdges: c, - details: d - } }); - f != null && f.url && qc(`Lineage is exported at [link](${f.url})`), l(), i(""); - }; - return t ? jn( - /* @__PURE__ */ p.jsx( - If, + const { + state: { modalArgs: e }, + } = ot(), + t = dt(); + return e + ? /* @__PURE__ */ p.jsx(V0, { + size: "lg", + isOpen: e.type !== "none", + close: () => t(ko({ type: "none" })), + centered: !0, + unmountOnClose: !0, + scrollable: !0, + className: "bs-modal", + children: /* @__PURE__ */ p.jsxs($0, { + children: [ + /* @__PURE__ */ p.jsx("div", { + className: Y.close_button, + onClick: () => t(ko({ type: "none" })), + children: /* @__PURE__ */ p.jsx(Zc, {}), + }), + e.type === "views_code" && + /* @__PURE__ */ p.jsx(Bx, { + viewsCodeArgs: e.args, + }), + e.type === "op_node" && + /* @__PURE__ */ p.jsx(Vx, { opNodeArgs: e.args }), + ], + }), + }) + : null; + }, + $x = ({ flow: e }) => { + const t = document.getElementById("export-container"), { - id: "export-popover", - trigger: /* @__PURE__ */ p.jsxs(Pe, { outline: !0, children: [ - /* @__PURE__ */ p.jsx(E2, {}), - "Export" - ] }), - render: ({ close: l }) => /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx( - Ro, - { - id: "export-name", - value: r, - type: "text", - onChange: (s) => i(s.target.value), - className: "mb-2 text-white", - placeholder: "Enter name" - } - ), - /* @__PURE__ */ p.jsxs( - Pe, - { - outline: !0, - onClick: () => a(l), - disabled: r === "", - children: [ - /* @__PURE__ */ p.jsx(E2, {}), - "Export" - ] - } - ) - ] }) - } - ), - t - ) : null; -}, Wx = { - table: Mf, - seeMore: Xc, - column: Jc -}, Zx = { selfConnecting: Qc }, Ux = ({ - flow: e, - theme: t -}) => { - const [n, o] = ue(""), { - state: { - selectCheck: r, - nonSelectCheck: i, - sidebarScreen: a, - leftExpansion: l, - rightExpansion: s, - selectedColumn: u, - defaultExpansion: c, - errors: d - }, - rerender: h - } = ot(), f = dt(), m = pe(c), b = () => { - if (e.current) { - const C = e.current.getEdges(); - Cr(C, !0), vr(C, !1), e.current.setEdges(C); - } - }, y = Me( - async (C) => { - if (f(Yt("")), !C) return; - f(S9(C.aiEnabled)); - const { node: E } = C, w = e.current; - if (!w || !E) return; - if (w.getNode(E.table)) { - f(Xn(E.table)); - let R = w.getNodes(), L = w.getEdges(); - u != null && u.name || ([R, L] = xr(R, L, E.table), w.setNodes(R), w.setEdges(L)), f( - ur(wr(R, L, E.table)) - ), f( - So( - await Do( - R, - L, - E.table, - l, - s - ) - ) + state: { selectedColumn: n, collectColumns: o }, + } = ot(), + [r, i] = ue(""), + a = async (l) => { + const s = e.getEdges(), + u = s.filter((m) => xn(m)).map((m) => [m.source, m.target]), + c = s + .filter((m) => vt(m)) + .map((m) => { + var b; + return ( + // remove column prefix for edge + [ + m.source.slice(7), + m.target.slice(7), + (b = m.data) == null ? void 0 : b.type, + ] + ); + }), + d = {}; + await Promise.all( + e.getNodes().map(async (m) => { + if (vt(m)) return; + const b = await sa(m.id, !1); + d[m.id] = { + type: m.data.nodeType, + nodeId: m.id, + name: m.data.label, + ...b, + }; + }), ); - return; - } - let _ = [], A = []; - _ = [To(E, 0, "")], [_, A] = await Pi( - _, - A, - E.table, - -m.current, - m.current - ), f(Xn(E.table)), f(Vn({ table: "", name: "" })), f(cr({})), f(pc({})), [_, A] = xr(_, A, E.table), fn(_, A), w.setNodes(_), w.setEdges(A), w.fitView({ minZoom: Os, duration: 500 }), f(ur(wr(_, A, E.table))), f( - So( - await Do( - _, - A, - E.table, - l, - s - ) - ) - ), h(); - }, - [h, l, s, u == null ? void 0 : u.name] - ); - ce(() => { - document.addEventListener("cll_cancelled", b); - const C = (E) => { - console.log("renderStartNode", E.detail), y(E.detail); - }; - return document.addEventListener("renderStartNode", C), () => { - document.removeEventListener("cll_cancelled", b), document.removeEventListener("renderStartNode", C); - }; - }, []); - const g = Me(async () => { - const C = await rx(); - f(Pd(C.showSelectEdges)), f(Bd(C.showNonSelectEdges)), f(Vd(C.defaultExpansion)), m.current = C.defaultExpansion; - }, [f]); - ce(() => { - g(); - }, [g]), ce(() => { - const C = e.current; - if (!C) return; - (async () => { - var _; - const w = u; - if (!w) return; - if (i) { - const A = (R) => Kc( - C.getNodes(), - C.getEdges(), - R, - w ? [w] : [], - (L) => { - f( - mc({ operatorList: L }) - ); - }, - (L) => { - f(hc(L)); - }, - (L) => { - f(gc(L)); + const f = await cx({ + name: r, + lineage_data: { + selectedColumn: n, + collectColumns: o, + tableEdges: u, + columnEdges: c, + details: d, }, - () => [C.getNodes(), C.getEdges()], - (L, j) => { - C.setNodes(L), C.setEdges(j); - }, - w || { table: "", name: "" }, - { direct: r, indirect: i }, - (L) => f(bc(L(d))) - ); - try { - Xe.start(), await Promise.all([A(!0), A(!1)]); - } catch (R) { - console.error( - "Error while performing cll for ", - w == null ? void 0 : w.table, - w == null ? void 0 : w.name, - ", error:", - R - ); - } finally { - Xe.end(); + }); + f != null && f.url && qc(`Lineage is exported at [link](${f.url})`), + l(), + i(""); + }; + return t + ? jn( + /* @__PURE__ */ p.jsx(If, { + id: "export-popover", + trigger: /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + children: [/* @__PURE__ */ p.jsx(E2, {}), "Export"], + }), + render: ({ close: l }) => + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx(Ro, { + id: "export-name", + value: r, + type: "text", + onChange: (s) => i(s.target.value), + className: "mb-2 text-white", + placeholder: "Enter name", + }), + /* @__PURE__ */ p.jsxs(Pe, { + outline: !0, + onClick: () => a(l), + disabled: r === "", + children: [/* @__PURE__ */ p.jsx(E2, {}), "Export"], + }), + ], + }), + }), + t, + ) + : null; + }, + Wx = { + table: Mf, + seeMore: Xc, + column: Jc, + }, + Zx = { selfConnecting: Qc }, + Ux = ({ flow: e, theme: t }) => { + const [n, o] = ue(""), + { + state: { + selectCheck: r, + nonSelectCheck: i, + sidebarScreen: a, + leftExpansion: l, + rightExpansion: s, + selectedColumn: u, + defaultExpansion: c, + errors: d, + }, + rerender: h, + } = ot(), + f = dt(), + m = pe(c), + b = () => { + if (e.current) { + const C = e.current.getEdges(); + Cr(C, !0), vr(C, !1), e.current.setEdges(C); } - } - const S = C.getEdges(); - if (r && i || !r && !i) { - for (const A of S) A.hidden = !1; - C.setEdges(S); - return; - } - for (const A of S) { - A.hidden = !1; - const R = (_ = A.data) == null ? void 0 : _.type; - R && (R === "direct" && (A.hidden = !r), R === "indirect" && (A.hidden = !i)); - } - C.setEdges(S); - })(); - }, [r, i]); - const x = (C) => { - e.current = C, wf(); - }; - return /* @__PURE__ */ p.jsx( - "div", - { + }, + y = Me( + async (C) => { + if ((f(Yt("")), !C)) return; + f(S9(C.aiEnabled)); + const { node: E } = C, + w = e.current; + if (!w || !E) return; + if (w.getNode(E.table)) { + f(Xn(E.table)); + let R = w.getNodes(), + L = w.getEdges(); + (u != null && u.name) || + (([R, L] = xr(R, L, E.table)), w.setNodes(R), w.setEdges(L)), + f(ur(wr(R, L, E.table))), + f(So(await Do(R, L, E.table, l, s))); + return; + } + let _ = [], + A = []; + (_ = [To(E, 0, "")]), + ([_, A] = await Pi(_, A, E.table, -m.current, m.current)), + f(Xn(E.table)), + f(Vn({ table: "", name: "" })), + f(cr({})), + f(pc({})), + ([_, A] = xr(_, A, E.table)), + fn(_, A), + w.setNodes(_), + w.setEdges(A), + w.fitView({ minZoom: Os, duration: 500 }), + f(ur(wr(_, A, E.table))), + f(So(await Do(_, A, E.table, l, s))), + h(); + }, + [h, l, s, u == null ? void 0 : u.name], + ); + ce(() => { + document.addEventListener("cll_cancelled", b); + const C = (E) => { + console.log("renderStartNode", E.detail), y(E.detail); + }; + return ( + document.addEventListener("renderStartNode", C), + () => { + document.removeEventListener("cll_cancelled", b), + document.removeEventListener("renderStartNode", C); + } + ); + }, []); + const g = Me(async () => { + const C = await rx(); + f(Pd(C.showSelectEdges)), + f(Bd(C.showNonSelectEdges)), + f(Vd(C.defaultExpansion)), + (m.current = C.defaultExpansion); + }, [f]); + ce(() => { + g(); + }, [g]), + ce(() => { + const C = e.current; + if (!C) return; + (async () => { + var _; + const w = u; + if (!w) return; + if (i) { + const A = (R) => + Kc( + C.getNodes(), + C.getEdges(), + R, + w ? [w] : [], + (L) => { + f(mc({ operatorList: L })); + }, + (L) => { + f(hc(L)); + }, + (L) => { + f(gc(L)); + }, + () => [C.getNodes(), C.getEdges()], + (L, j) => { + C.setNodes(L), C.setEdges(j); + }, + w || { table: "", name: "" }, + { direct: r, indirect: i }, + (L) => f(bc(L(d))), + ); + try { + Xe.start(), await Promise.all([A(!0), A(!1)]); + } catch (R) { + console.error( + "Error while performing cll for ", + w == null ? void 0 : w.table, + w == null ? void 0 : w.name, + ", error:", + R, + ); + } finally { + Xe.end(); + } + } + const S = C.getEdges(); + if ((r && i) || (!r && !i)) { + for (const A of S) A.hidden = !1; + C.setEdges(S); + return; + } + for (const A of S) { + A.hidden = !1; + const R = (_ = A.data) == null ? void 0 : _.type; + R && + (R === "direct" && (A.hidden = !r), + R === "indirect" && (A.hidden = !i)); + } + C.setEdges(S); + })(); + }, [r, i]); + const x = (C) => { + (e.current = C), wf(); + }; + return /* @__PURE__ */ p.jsx("div", { className: "lineage_flow_component", style: { width: "100%", height: "100%" }, "data-theme": t, - children: /* @__PURE__ */ p.jsx(jf.Provider, { value: { openedPopover: n, setOpenedPopover: o }, children: /* @__PURE__ */ p.jsxs(Mr, { children: [ - /* @__PURE__ */ p.jsxs( - ia, - { - defaultNodes: [], - defaultEdges: [], - onInit: (C) => x(C), - nodeTypes: Wx, - edgeTypes: Zx, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: Os, - children: [ - /* @__PURE__ */ p.jsx(jc, {}), - /* @__PURE__ */ p.jsx(Rc, {}) - ] + children: /* @__PURE__ */ p.jsx(jf.Provider, { + value: { openedPopover: n, setOpenedPopover: o }, + children: /* @__PURE__ */ p.jsxs(Mr, { + children: [ + /* @__PURE__ */ p.jsxs(ia, { + defaultNodes: [], + defaultEdges: [], + onInit: (C) => x(C), + nodeTypes: Wx, + edgeTypes: Zx, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: Os, + children: [ + /* @__PURE__ */ p.jsx(jc, {}), + /* @__PURE__ */ p.jsx(Rc, {}), + ], + }), + /* @__PURE__ */ p.jsx(vf, {}), + /* @__PURE__ */ p.jsxs(e1, { + isOpen: a !== "", + closeModal: () => f(Yt("")), + width: "30vw", + children: [ + a === Hc && /* @__PURE__ */ p.jsx(Of, {}), + a === Ic && + /* @__PURE__ */ p.jsx(Ff, { lineageType: "dynamic" }), + a === zc && /* @__PURE__ */ p.jsx(Rf, {}), + a === xy && /* @__PURE__ */ p.jsx(Rx, { close: () => Yt("") }), + a === cf && + /* @__PURE__ */ p.jsx(jx, { + applyDefault: (C) => (m.current = C), + }), + ], + }), + e.current ? /* @__PURE__ */ p.jsx($x, { flow: e.current }) : null, + /* @__PURE__ */ p.jsx(zx, {}), + /* @__PURE__ */ p.jsx(Hx, {}), + e.current ? /* @__PURE__ */ p.jsx(Px, { flow: e.current }) : null, + /* @__PURE__ */ p.jsx(n1, {}), + ], + }), + }), + }); + }, + qx = { + table: Mf, + seeMore: Xc, + column: Jc, + }, + Yx = { + selfConnecting: Qc, + }, + Gx = ({ + flow: e, + selectedColumn: t, + collectColumns: n, + columnEdges: o = [], + tableEdges: r, + details: i, + }) => { + const { + state: { sidebarScreen: a }, + } = ot(), + l = dt(); + return ( + ce(() => { + l(cr(n)), + setTimeout(async () => { + var b, y; + const s = (g) => ({ + table: g, + label: i[g].name, + upstreamCount: 0, + downstreamCount: 0, + nodeType: i[g].type || "cte", + isExternalProject: !1, + tests: [], + }), + { sources: u } = mf(r); + let c = [], + d = []; + const h = [...u], + f = {}, + m = (g, x) => { + var w, S; + const C = g + ? r.filter(([_]) => _ === x).map(([, _]) => _) + : r.filter(([, _]) => _ === x).map(([_]) => _), + E = + ((S = + (w = c.find((_) => _.id === x)) == null + ? void 0 + : w.data) == null + ? void 0 + : S.level) || 0; + return ca(c, d, C.map(s), x, g, E, 1e4, !1, i), C; + }; + for (; h.length > 0; ) { + const g = h.pop(); + f[g] || ((f[g] = !0), h.push(...m(!0, g), ...m(!1, g))); + } + if (t) { + const g = `${t.table}/${t.name}`, + { nodes: x, edges: C } = await gx(c, d, g, async () => ({ + collect_columns: n, + highlight_edges: o, + })); + (c = x), (d = C); + } + fn(c, d, !1), + (b = e.current) == null || b.setNodes(c), + (y = e.current) == null || y.setEdges(d); + }, 500); + }, [n, o, i, e, t, r]), + ce(() => { + const s = setTimeout(() => { + var u; + (u = e.current) == null || u.fitView({ duration: 500 }); + }, 1e3); + return () => clearInterval(s); + }, []), + /* @__PURE__ */ p.jsxs("div", { + style: { width: "100%", height: "100%" }, + children: [ + /* @__PURE__ */ p.jsx("div", { + style: { width: "100%", height: "100%" }, + children: /* @__PURE__ */ p.jsxs(Mr, { + children: [ + /* @__PURE__ */ p.jsxs(ia, { + defaultNodes: [], + defaultEdges: [], + onInit: (s) => (e.current = s), + nodeTypes: qx, + edgeTypes: Yx, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: 0.05, + children: [ + /* @__PURE__ */ p.jsx(jc, {}), + /* @__PURE__ */ p.jsx(Rc, {}), + ], + }), + /* @__PURE__ */ p.jsx(vf, {}), + /* @__PURE__ */ p.jsxs(e1, { + isOpen: a !== "", + closeModal: () => l(Yt("")), + width: "30vw", + children: [ + a === Hc && /* @__PURE__ */ p.jsx(Of, {}), + a === Ic && + /* @__PURE__ */ p.jsx(Ff, { lineageType: "static" }), + a === zc && /* @__PURE__ */ p.jsx(Rf, {}), + ], + }), + ], + }), + }), + /* @__PURE__ */ p.jsx(n1, {}), + ], + }) + ); + }, + Kx = { + table: xx, + seeMore: Xc, + column: Jc, + operator: wx, + }, + Xx = { + selfConnecting: Qc, + }, + Qx = ({ flow: e, tableEdges: t, details: n, nodePositions: o }) => { + const { + state: { selectedTable: r }, + } = ot(), + i = dt(); + return ( + ce(() => { + i(_9({ details: n, tableEdges: t })); + }, [n]), + ce(() => { + setTimeout(async () => { + var f, m, b, y; + const a = (g) => ({ + table: g, + label: n[g].name || g, + upstreamCount: 0, + downstreamCount: 0, + nodeType: n[g].type || "cte", + isExternalProject: !1, + tests: [], + }); + if (o) { + const g = Object.keys(o).map((C) => + n[C].type in No ? To(a(C), 0, "") : gf(C, 0, "", n[C]), + ), + x = t.map(([C, E]) => Wc(o[C][1], o[E][1], C, E, !0, !0)); + for (const C of g) { + if (!o[C.id]) continue; + const [E, w] = o[C.id]; + C.position = { x: E, y: w }; + } + (f = e.current) == null || f.setNodes(g), + (m = e.current) == null || m.setEdges(x); + return; } - ), - /* @__PURE__ */ p.jsx(vf, {}), - /* @__PURE__ */ p.jsxs( - e1, - { - isOpen: a !== "", - closeModal: () => f(Yt("")), - width: "30vw", - children: [ - a === Hc && /* @__PURE__ */ p.jsx(Of, {}), - a === Ic && /* @__PURE__ */ p.jsx(Ff, { lineageType: "dynamic" }), - a === zc && /* @__PURE__ */ p.jsx(Rf, {}), - a === xy && /* @__PURE__ */ p.jsx(Rx, { close: () => Yt("") }), - a === cf && /* @__PURE__ */ p.jsx( - jx, - { - applyDefault: (C) => m.current = C - } - ) - ] + const { sinks: l } = mf(t); + let s = l.map((g) => To(a(g), 0, "")), + u = []; + const c = [...l], + d = {}, + h = (g, x) => { + var w, S; + const C = g + ? t.filter(([_]) => _ === x).map(([, _]) => _) + : t.filter(([, _]) => _ === x).map(([_]) => _), + E = + ((S = + (w = s.find((_) => _.id === x)) == null + ? void 0 + : w.data) == null + ? void 0 + : S.level) || 0; + return ca(s, u, C.map(a), x, g, E, 1e4, !0, n), C; + }; + for (; c.length > 0; ) { + const g = c.pop(); + d[g] || ((d[g] = !0), c.push(...h(!1, g))); + } + fn(s, u, !0), + (b = e.current) == null || b.setNodes(s), + (y = e.current) == null || y.setEdges(u); + }, 500); + }, [n, e, t, o]), + ce(() => { + const a = setTimeout(() => { + var l; + (l = e.current) == null || l.fitView({ duration: 500 }); + }, 1e3); + return () => clearInterval(a); + }, []), + ce(() => { + const a = (d) => { + i(A9(d.detail)); + }, + l = (d) => { + i(M9(d.detail)); + }, + s = () => { + setTimeout(() => { + var d; + (d = e.current) == null || d.fitView({ duration: 500 }); + }, 500); + }, + u = (d) => { + i(T9(d.detail)); + }, + c = (d) => { + i(O9(d.detail)); + }; + return ( + document.addEventListener("onHighlightedNodes", a), + document.addEventListener("onSelectedNodes", l), + document.addEventListener("onNodesSavingsPerformance", u), + document.addEventListener("onNodesCost", c), + document.addEventListener("fitView", s), + () => { + document.removeEventListener("highlightedNodes", a), + document.removeEventListener("onSelectedNodes", l), + document.removeEventListener("onNodesSavingsPerformance", u), + document.removeEventListener("onNodesCost", c), + document.removeEventListener("fitView", s); } - ), - e.current ? /* @__PURE__ */ p.jsx($x, { flow: e.current }) : null, - /* @__PURE__ */ p.jsx(zx, {}), - /* @__PURE__ */ p.jsx(Hx, {}), - e.current ? /* @__PURE__ */ p.jsx(Px, { flow: e.current }) : null, - /* @__PURE__ */ p.jsx(n1, {}) - ] }) }) - } - ); -}, qx = { - table: Mf, - seeMore: Xc, - column: Jc -}, Yx = { - selfConnecting: Qc -}, Gx = ({ - flow: e, - selectedColumn: t, - collectColumns: n, - columnEdges: o = [], - tableEdges: r, - details: i -}) => { - const { - state: { sidebarScreen: a } - } = ot(), l = dt(); - return ce(() => { - l(cr(n)), setTimeout(async () => { - var b, y; - const s = (g) => ({ - table: g, - label: i[g].name, - upstreamCount: 0, - downstreamCount: 0, - nodeType: i[g].type || "cte", - isExternalProject: !1, - tests: [] - }), { sources: u } = mf(r); - let c = [], d = []; - const h = [...u], f = {}, m = (g, x) => { - var w, S; - const C = g ? r.filter(([_]) => _ === x).map(([, _]) => _) : r.filter(([, _]) => _ === x).map(([_]) => _), E = ((S = (w = c.find((_) => _.id === x)) == null ? void 0 : w.data) == null ? void 0 : S.level) || 0; - return ca( - c, - d, - C.map(s), - x, - g, - E, - 1e4, - !1, - i - ), C; - }; - for (; h.length > 0; ) { - const g = h.pop(); - f[g] || (f[g] = !0, h.push( - ...m(!0, g), - ...m(!1, g) - )); - } - if (t) { - const g = `${t.table}/${t.name}`, { nodes: x, edges: C } = await gx( - c, - d, - g, - async () => ({ - collect_columns: n, - highlight_edges: o - }) - ); - c = x, d = C; - } - fn(c, d, !1), (b = e.current) == null || b.setNodes(c), (y = e.current) == null || y.setEdges(d); - }, 500); - }, [n, o, i, e, t, r]), ce(() => { - const s = setTimeout(() => { - var u; - (u = e.current) == null || u.fitView({ duration: 500 }); - }, 1e3); - return () => clearInterval(s); - }, []), /* @__PURE__ */ p.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ p.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p.jsxs(Mr, { children: [ - /* @__PURE__ */ p.jsxs( - ia, - { - defaultNodes: [], - defaultEdges: [], - onInit: (s) => e.current = s, - nodeTypes: qx, - edgeTypes: Yx, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: 0.05, - children: [ - /* @__PURE__ */ p.jsx(jc, {}), - /* @__PURE__ */ p.jsx(Rc, {}) - ] - } - ), - /* @__PURE__ */ p.jsx(vf, {}), - /* @__PURE__ */ p.jsxs( - e1, - { - isOpen: a !== "", - closeModal: () => l(Yt("")), - width: "30vw", - children: [ - a === Hc && /* @__PURE__ */ p.jsx(Of, {}), - a === Ic && /* @__PURE__ */ p.jsx(Ff, { lineageType: "static" }), - a === zc && /* @__PURE__ */ p.jsx(Rf, {}) - ] - } - ) - ] }) }), - /* @__PURE__ */ p.jsx(n1, {}) - ] }); -}, Kx = { - table: xx, - seeMore: Xc, - column: Jc, - operator: wx -}, Xx = { - selfConnecting: Qc -}, Qx = ({ - flow: e, - tableEdges: t, - details: n, - nodePositions: o -}) => { - const { - state: { selectedTable: r } - } = ot(), i = dt(); - return ce(() => { - i(_9({ details: n, tableEdges: t })); - }, [n]), ce(() => { - setTimeout(async () => { - var f, m, b, y; - const a = (g) => ({ - table: g, - label: n[g].name || g, - upstreamCount: 0, - downstreamCount: 0, - nodeType: n[g].type || "cte", - isExternalProject: !1, - tests: [] - }); - if (o) { - const g = Object.keys(o).map((C) => n[C].type in No ? To(a(C), 0, "") : gf(C, 0, "", n[C])), x = t.map( - ([C, E]) => Wc( - o[C][1], - o[E][1], - C, - E, - !0, - !0 - ) ); - for (const C of g) { - if (!o[C.id]) continue; - const [E, w] = o[C.id]; - C.position = { x: E, y: w }; - } - (f = e.current) == null || f.setNodes(g), (m = e.current) == null || m.setEdges(x); - return; - } - const { sinks: l } = mf(t); - let s = l.map( - (g) => To(a(g), 0, "") - ), u = []; - const c = [...l], d = {}, h = (g, x) => { - var w, S; - const C = g ? t.filter(([_]) => _ === x).map(([, _]) => _) : t.filter(([, _]) => _ === x).map(([_]) => _), E = ((S = (w = s.find((_) => _.id === x)) == null ? void 0 : w.data) == null ? void 0 : S.level) || 0; - return ca( - s, - u, - C.map(a), - x, - g, - E, - 1e4, - !0, - n - ), C; - }; - for (; c.length > 0; ) { - const g = c.pop(); - d[g] || (d[g] = !0, c.push(...h(!1, g))); - } - fn(s, u, !0), (b = e.current) == null || b.setNodes(s), (y = e.current) == null || y.setEdges(u); - }, 500); - }, [n, e, t, o]), ce(() => { - const a = setTimeout(() => { - var l; - (l = e.current) == null || l.fitView({ duration: 500 }); - }, 1e3); - return () => clearInterval(a); - }, []), ce(() => { - const a = (d) => { - i(A9(d.detail)); - }, l = (d) => { - i(M9(d.detail)); - }, s = () => { - setTimeout(() => { - var d; - (d = e.current) == null || d.fitView({ duration: 500 }); - }, 500); - }, u = (d) => { - i(T9(d.detail)); - }, c = (d) => { - i(O9(d.detail)); - }; - return document.addEventListener("onHighlightedNodes", a), document.addEventListener("onSelectedNodes", l), document.addEventListener( - "onNodesSavingsPerformance", - u - ), document.addEventListener("onNodesCost", c), document.addEventListener("fitView", s), () => { - document.removeEventListener("highlightedNodes", a), document.removeEventListener("onSelectedNodes", l), document.removeEventListener( - "onNodesSavingsPerformance", - u - ), document.removeEventListener("onNodesCost", c), document.removeEventListener("fitView", s); - }; - }, []), /* @__PURE__ */ p.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ p.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ p.jsx(Mr, { children: /* @__PURE__ */ p.jsxs( - ia, - { - defaultNodes: [], - defaultEdges: [], - onInit: (a) => e.current = a, - nodeTypes: Kx, - edgeTypes: Xx, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: 0.05, + }, []), + /* @__PURE__ */ p.jsxs("div", { + style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ p.jsx(jc, {}), - /* @__PURE__ */ p.jsx(Rc, {}) - ] - } - ) }) }), - /* @__PURE__ */ p.jsx(n1, {}), - /* @__PURE__ */ p.jsx( - e1, - { - isOpen: !!r, - closeModal: () => i(Xn("")), - width: "30vw", - children: !!r && /* @__PURE__ */ p.jsx(Lx, {}) - } - ) - ] }); -}, eo = zt({ - state: _i.getInitialState(), - dispatch: () => null, - rerender: () => null -}), Jx = ({ - theme: e = "dark", - lineageType: t, - sqlLineage: n, - dynamicLineage: o, - staticLineage: r, - allowSyncColumnsWithDB: i, - externalSidePanel: a = !1 -}) => { - const [l, s] = Gs(_i.reducer, { - ..._i.getInitialState(), - theme: e, + /* @__PURE__ */ p.jsx("div", { + style: { width: "100%", height: "100%" }, + children: /* @__PURE__ */ p.jsx(Mr, { + children: /* @__PURE__ */ p.jsxs(ia, { + defaultNodes: [], + defaultEdges: [], + onInit: (a) => (e.current = a), + nodeTypes: Kx, + edgeTypes: Xx, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: 0.05, + children: [ + /* @__PURE__ */ p.jsx(jc, {}), + /* @__PURE__ */ p.jsx(Rc, {}), + ], + }), + }), + }), + /* @__PURE__ */ p.jsx(n1, {}), + /* @__PURE__ */ p.jsx(e1, { + isOpen: !!r, + closeModal: () => i(Xn("")), + width: "30vw", + children: !!r && /* @__PURE__ */ p.jsx(Lx, {}), + }), + ], + }) + ); + }, + eo = zt({ + state: _i.getInitialState(), + dispatch: () => null, + rerender: () => null, + }), + Jx = ({ + theme: e = "dark", lineageType: t, sqlLineage: n, + dynamicLineage: o, + staticLineage: r, allowSyncColumnsWithDB: i, - externalSidePanel: a - }), u = pe(), [, c] = ue(0), d = Me(() => c((f) => (f + 1) % 100), []); - ce(() => { - s(k9(e)); - }, [e]); - const h = Be( - () => ({ - state: l, - dispatch: s, - rerender: d - }), - [l, s, d] - ); - return /* @__PURE__ */ p.jsx(eo.Provider, { value: h, children: /* @__PURE__ */ p.jsxs("div", { className: "lineage-component", children: [ - t === "sql" && n && /* @__PURE__ */ p.jsx( - Qx, - { - flow: u, - details: n.details, - tableEdges: n.tableEdges, - nodePositions: n.nodePositions - } - ), - t === "dynamic" && o && /* @__PURE__ */ p.jsx(Ux, { flow: u, theme: e }), - t === "static" && r && /* @__PURE__ */ p.jsx(Gx, { flow: u, ...r }), - /* @__PURE__ */ p.jsx("div", { id: "lineage-sidebar" }) - ] }) }); -}, ot = () => Je(eo), dt = () => { - const { dispatch: e } = Je(eo); - return e; -}, aA = (e) => /* @__PURE__ */ p.jsx(Jx, { ...e }), zf = { - showCoachingForm: !1 -}, js = oc({ - name: "teamMate", - initialState: zf, - reducers: { - setShowCoachingForm: (e, t) => { - e.showCoachingForm = t.payload; - } - } -}), ew = js.actions, Hf = zt({ - state: zf, - dispatch: () => null -}), lA = ({ - children: e -}) => { - const [t, n] = Gs( - js.reducer, - js.getInitialState() - ), o = Be( - () => ({ - state: t, - dispatch: n - }), - [t, n] - ); - return /* @__PURE__ */ p.jsx(Hf.Provider, { value: o, children: e }); -}, tw = ({ - errors: e, - isSubmitting: t, - taskLabel: n, - onSuccess: o, - onCancel: r -}) => { - const { setFieldError: i, values: a, setSubmitting: l } = K5(), s = async () => await Ie.post("coach/training", { - ...a, - taskLabel: n - }), { mutate: u, error: c } = Zi({ - // @ts-ignore - queryFn: s, - onSuccess: (d) => { - o(d), l(!1); - } - }); - return ce(() => { - c != null && c.message && (i("content", c.message), l(!1)); - }, [c, i]), /* @__PURE__ */ p.jsxs(X5, { children: [ - /* @__PURE__ */ p.jsx( - Q5, - { - name: "content", - render: ({ field: d }) => /* @__PURE__ */ p.jsxs(Jl, { children: [ - /* @__PURE__ */ p.jsx( - Fn, - { - type: "textarea", - ...d, - placeholder: "Greet with nice poem", - invalid: !!e.content - } - ), - e.content ? /* @__PURE__ */ p.jsx(W0, { children: e.content }) : null - ] }) - } - ), - /* @__PURE__ */ p.jsxs(ut, { className: "justify-content-end", children: [ - /* @__PURE__ */ p.jsx(Pe, { onClick: r, children: "Cancel" }), - /* @__PURE__ */ p.jsx( - Wi, - { - color: "primary", - loading: t, - type: "submit", - onClick: u, - children: "Coach AI" - } - ) - ] }) - ] }); -}, nw = (e, t) => (n) => { - const o = e.safeParse(n, t); - return o.success ? {} : o.error.issues.reduce((r, i) => { - const a = i.path.join("."); - return Object.assign(Object.assign({}, r), { [a]: i.message }); - }, {}); -}, ow = ht.object({ - content: ht.string().min(10, { message: "Feedback must be at least 10 characters" }).max(500, { message: "Feedback must not exceed 500 characters" }).min(1, { message: "Feedback is required" }) -}), sA = ({ taskLabel: e, context: t, onClose: n, extra: o = {} }) => { - const [r, i] = ue(), [a, l] = ue(!1), s = (y) => { - i(y); - }, u = () => { - l(!0); - }, c = () => { - l(!1); - }, d = async () => { - if (r) - return c(), await Ie.post( - "coach/training/confirm", - { - content: r.ai_response, - category: r.category, - taskLabel: e, - personalizationScope: r.personalizationScope, - metadata: t, - ...o - } + externalSidePanel: a = !1, + }) => { + const [l, s] = Gs(_i.reducer, { + ..._i.getInitialState(), + theme: e, + lineageType: t, + sqlLineage: n, + allowSyncColumnsWithDB: i, + externalSidePanel: a, + }), + u = pe(), + [, c] = ue(0), + d = Me(() => c((f) => (f + 1) % 100), []); + ce(() => { + s(k9(e)); + }, [e]); + const h = Be( + () => ({ + state: l, + dispatch: s, + rerender: d, + }), + [l, s, d], + ); + return /* @__PURE__ */ p.jsx(eo.Provider, { + value: h, + children: /* @__PURE__ */ p.jsxs("div", { + className: "lineage-component", + children: [ + t === "sql" && + n && + /* @__PURE__ */ p.jsx(Qx, { + flow: u, + details: n.details, + tableEdges: n.tableEdges, + nodePositions: n.nodePositions, + }), + t === "dynamic" && + o && + /* @__PURE__ */ p.jsx(Ux, { flow: u, theme: e }), + t === "static" && r && /* @__PURE__ */ p.jsx(Gx, { flow: u, ...r }), + /* @__PURE__ */ p.jsx("div", { id: "lineage-sidebar" }), + ], + }), + }); + }, + ot = () => Je(eo), + dt = () => { + const { dispatch: e } = Je(eo); + return e; + }, + aA = (e) => /* @__PURE__ */ p.jsx(Jx, { ...e }), + zf = { + showCoachingForm: !1, + }, + js = oc({ + name: "teamMate", + initialState: zf, + reducers: { + setShowCoachingForm: (e, t) => { + e.showCoachingForm = t.payload; + }, + }, + }), + ew = js.actions, + Hf = zt({ + state: zf, + dispatch: () => null, + }), + lA = ({ children: e }) => { + const [t, n] = Gs(js.reducer, js.getInitialState()), + o = Be( + () => ({ + state: t, + dispatch: n, + }), + [t, n], ); - }, { - mutate: h, - error: f, - loading: m, - data: b - } = Zi({ - // @ts-ignore - queryFn: d, - onSuccess: () => { - l(!1); - } - }); - return b != null && b.frontend_url ? /* @__PURE__ */ p.jsxs(qs, { children: [ - "Thank you for coaching Datapilot. Click the link to", - " ", - /* @__PURE__ */ p.jsx( - "a", - { - className: "alert-link", - href: `${b.frontend_url}/teammates/${e}?learning=${b.train_doc_uid}`, - children: "View learnings" - } - ) - ] }) : /* @__PURE__ */ p.jsxs(ut, { direction: "column", children: [ - /* @__PURE__ */ p.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language including your terminology, rules or conventions to generate better documentation" }), - /* @__PURE__ */ p.jsx( - J5, - { - initialValues: { content: "" }, - onSubmit: () => { + return /* @__PURE__ */ p.jsx(Hf.Provider, { value: o, children: e }); + }, + tw = ({ + errors: e, + isSubmitting: t, + taskLabel: n, + onSuccess: o, + onCancel: r, + }) => { + const { setFieldError: i, values: a, setSubmitting: l } = K5(), + s = async () => + await Ie.post("coach/training", { + ...a, + taskLabel: n, + }), + { mutate: u, error: c } = Zi({ + // @ts-ignore + queryFn: s, + onSuccess: (d) => { + o(d), l(!1); }, - validate: nw(ow), - children: (y) => /* @__PURE__ */ p.jsx( - tw, - { - ...y, - taskLabel: e, - onSuccess: s, - onCancel: n - } - ) - } - ), - r && /* @__PURE__ */ p.jsxs(sn, { className: "mt-4", children: [ - /* @__PURE__ */ p.jsxs(Rn, { children: [ - /* @__PURE__ */ p.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }), - /* @__PURE__ */ p.jsx("div", { children: a ? /* @__PURE__ */ p.jsx( - Fn, - { - type: "textarea", - value: r.ai_response, - onChange: (y) => { - i({ - ...r, - ai_response: y.target.value - }); - }, - style: { fieldSizing: "content" } - } - ) : r.ai_response }), - f && /* @__PURE__ */ p.jsx("div", { className: "text-danger", children: f.message }) - ] }), - /* @__PURE__ */ p.jsxs(R5, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ - a ? /* @__PURE__ */ p.jsx(Pe, { variant: "secondary", onClick: c, children: "Cancel" }) : /* @__PURE__ */ p.jsx(Pe, { variant: "secondary", onClick: u, children: "Edit" }), - /* @__PURE__ */ p.jsx(Wi, { loading: m, onClick: h, color: "primary", children: "Save" }) - ] }) - ] }) - ] }); -}, rw = () => { - const e = Je(Hf); - if (e === void 0) - throw new Error( - "useTeamMateContext must be used within a TeamMateProvider" + }); + return ( + ce(() => { + c != null && c.message && (i("content", c.message), l(!1)); + }, [c, i]), + /* @__PURE__ */ p.jsxs(X5, { + children: [ + /* @__PURE__ */ p.jsx(Q5, { + name: "content", + render: ({ field: d }) => + /* @__PURE__ */ p.jsxs(Jl, { + children: [ + /* @__PURE__ */ p.jsx(Fn, { + type: "textarea", + ...d, + placeholder: "Greet with nice poem", + invalid: !!e.content, + }), + e.content + ? /* @__PURE__ */ p.jsx(W0, { children: e.content }) + : null, + ], + }), + }), + /* @__PURE__ */ p.jsxs(ut, { + className: "justify-content-end", + children: [ + /* @__PURE__ */ p.jsx(Pe, { onClick: r, children: "Cancel" }), + /* @__PURE__ */ p.jsx(Wi, { + color: "primary", + loading: t, + type: "submit", + onClick: u, + children: "Coach AI", + }), + ], + }), + ], + }) ); - return e; -}, cA = ({}) => { - const { dispatch: e } = rw(), t = () => { - e(ew.setShowCoachingForm(!0)); + }, + nw = (e, t) => (n) => { + const o = e.safeParse(n, t); + return o.success + ? {} + : o.error.issues.reduce((r, i) => { + const a = i.path.join("."); + return Object.assign(Object.assign({}, r), { [a]: i.message }); + }, {}); + }, + ow = ht.object({ + content: ht + .string() + .min(10, { message: "Feedback must be at least 10 characters" }) + .max(500, { message: "Feedback must not exceed 500 characters" }) + .min(1, { message: "Feedback is required" }), + }), + sA = ({ taskLabel: e, context: t, onClose: n, extra: o = {} }) => { + const [r, i] = ue(), + [a, l] = ue(!1), + s = (y) => { + i(y); + }, + u = () => { + l(!0); + }, + c = () => { + l(!1); + }, + d = async () => { + if (r) + return ( + c(), + await Ie.post("coach/training/confirm", { + content: r.ai_response, + category: r.category, + taskLabel: e, + personalizationScope: r.personalizationScope, + metadata: t, + ...o, + }) + ); + }, + { + mutate: h, + error: f, + loading: m, + data: b, + } = Zi({ + // @ts-ignore + queryFn: d, + onSuccess: () => { + l(!1); + }, + }); + return b != null && b.frontend_url + ? /* @__PURE__ */ p.jsxs(qs, { + children: [ + "Thank you for coaching Datapilot. Click the link to", + " ", + /* @__PURE__ */ p.jsx("a", { + className: "alert-link", + href: `${b.frontend_url}/teammates/${e}?learning=${b.train_doc_uid}`, + children: "View learnings", + }), + ], + }) + : /* @__PURE__ */ p.jsxs(ut, { + direction: "column", + children: [ + /* @__PURE__ */ p.jsx("p", { + className: "m-0", + children: + "Here, you can provide instructions in natural language including your terminology, rules or conventions to generate better documentation", + }), + /* @__PURE__ */ p.jsx(J5, { + initialValues: { content: "" }, + onSubmit: () => {}, + validate: nw(ow), + children: (y) => + /* @__PURE__ */ p.jsx(tw, { + ...y, + taskLabel: e, + onSuccess: s, + onCancel: n, + }), + }), + r && + /* @__PURE__ */ p.jsxs(sn, { + className: "mt-4", + children: [ + /* @__PURE__ */ p.jsxs(Rn, { + children: [ + /* @__PURE__ */ p.jsx("p", { + children: + "Below are the learnings by AI based on the entered instructions:", + }), + /* @__PURE__ */ p.jsx("div", { + children: a + ? /* @__PURE__ */ p.jsx(Fn, { + type: "textarea", + value: r.ai_response, + onChange: (y) => { + i({ + ...r, + ai_response: y.target.value, + }); + }, + style: { fieldSizing: "content" }, + }) + : r.ai_response, + }), + f && + /* @__PURE__ */ p.jsx("div", { + className: "text-danger", + children: f.message, + }), + ], + }), + /* @__PURE__ */ p.jsxs(R5, { + className: "d-flex justify-content-end mt-2 gap-2 border-0", + children: [ + a + ? /* @__PURE__ */ p.jsx(Pe, { + variant: "secondary", + onClick: c, + children: "Cancel", + }) + : /* @__PURE__ */ p.jsx(Pe, { + variant: "secondary", + onClick: u, + children: "Edit", + }), + /* @__PURE__ */ p.jsx(Wi, { + loading: m, + onClick: h, + color: "primary", + children: "Save", + }), + ], + }), + ], + }), + ], + }); + }, + rw = () => { + const e = Je(Hf); + if (e === void 0) + throw new Error( + "useTeamMateContext must be used within a TeamMateProvider", + ); + return e; + }, + cA = ({}) => { + const { dispatch: e } = rw(), + t = () => { + e(ew.setShowCoachingForm(!0)); + }; + return /* @__PURE__ */ p.jsx(Zn, { + onClick: t, + children: "Show Coaching Form", + }); }; - return /* @__PURE__ */ p.jsx(Zn, { onClick: t, children: "Show Coaching Form" }); -}; -var o1 = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))(o1 || {}), Jo = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e))(Jo || {}), r1 = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(r1 || {}); +var o1 = /* @__PURE__ */ ((e) => ( + (e.TERM_CLARIFICATION = "TermClarification"), + (e.GENERAL_GUIDELINES = "GeneralGuidelines"), + (e.BUSINESS_EXPLANATION = "BusinessExplanation"), + e + ))(o1 || {}), + Jo = /* @__PURE__ */ ((e) => ( + (e.DocGen = "DocGen"), + (e.ChartBot = "ChartBot"), + (e.SqlBot = "SqlExpert"), + (e.OpportunitiesBot = "OpportunitiesBot"), + e + ))(Jo || {}), + r1 = /* @__PURE__ */ ((e) => ( + (e.USER_SPECIFIC = "UserSpecific"), (e.ALL_USERS = "AllUsers"), e + ))(r1 || {}); const iw = ht.object({ train_doc_uid: ht.string(), userId: ht.string(), @@ -24920,166 +35972,241 @@ const iw = ht.object({ taskLabel: ht.string(), category: ht.enum(Object.values(o1)), personalizationScope: ht.enum(Object.values(r1)).default( - "UserSpecific" + "UserSpecific", /* USER_SPECIFIC */ ), createdDate: ht.string(), updatedDate: ht.string(), - content: ht.string().min(10, { message: "Learning must be at least 10 characters" }).max(500, { message: "Learning must not exceed 500 characters" }).min(1, { message: "Learning is required" }), + content: ht + .string() + .min(10, { message: "Learning must be at least 10 characters" }) + .max(500, { message: "Learning must not exceed 500 characters" }) + .min(1, { message: "Learning is required" }), metadata: ht.record(ht.unknown()).optional(), - isActive: ht.boolean().default(!0) + isActive: ht.boolean().default(!0), }); -var uo = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(uo || {}), mi = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(mi || {}), qn = {}, aw = Yn && Yn.__extends || /* @__PURE__ */ function() { - var e = function(t, n) { - return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, r) { - o.__proto__ = r; - } || function(o, r) { - for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (o[i] = r[i]); - }, e(t, n); - }; - return function(t, n) { - if (typeof n != "function" && n !== null) - throw new TypeError("Class extends value " + String(n) + " is not a constructor or null"); - e(t, n); - function o() { - this.constructor = t; - } - t.prototype = n === null ? Object.create(n) : (o.prototype = n.prototype, new o()); - }; -}(), Pf = Yn && Yn.__awaiter || function(e, t, n, o) { - function r(i) { - return i instanceof n ? i : new n(function(a) { - a(i); - }); - } - return new (n || (n = Promise))(function(i, a) { - function l(c) { - try { - u(o.next(c)); - } catch (d) { - a(d); - } - } - function s(c) { - try { - u(o.throw(c)); - } catch (d) { - a(d); +var uo = /* @__PURE__ */ ((e) => ( + (e.EXTENSION = "VSCode Extension"), (e.SAAS = "SaaS"), e + ))(uo || {}), + mi = /* @__PURE__ */ ((e) => ( + (e.SEE_IN_ACTION = "SEE_IN_ACTION"), + (e.REQUEST_ACCESS = "REQUEST_ACCESS"), + (e.VIEW_DETAILS = "VIEW_DETAILS"), + e + ))(mi || {}), + qn = {}, + aw = + (Yn && Yn.__extends) || + /* @__PURE__ */ (function () { + var e = function (t, n) { + return ( + (e = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (o, r) { + o.__proto__ = r; + }) || + function (o, r) { + for (var i in r) + Object.prototype.hasOwnProperty.call(r, i) && (o[i] = r[i]); + }), + e(t, n) + ); + }; + return function (t, n) { + if (typeof n != "function" && n !== null) + throw new TypeError( + "Class extends value " + + String(n) + + " is not a constructor or null", + ); + e(t, n); + function o() { + this.constructor = t; + } + t.prototype = + n === null + ? Object.create(n) + : ((o.prototype = n.prototype), new o()); + }; + })(), + Pf = + (Yn && Yn.__awaiter) || + function (e, t, n, o) { + function r(i) { + return i instanceof n + ? i + : new n(function (a) { + a(i); + }); } - } - function u(c) { - c.done ? i(c.value) : r(c.value).then(l, s); - } - u((o = o.apply(e, t || [])).next()); - }); -}, Bf = Yn && Yn.__generator || function(e, t) { - var n = { label: 0, sent: function() { - if (i[0] & 1) throw i[1]; - return i[1]; - }, trys: [], ops: [] }, o, r, i, a; - return a = { next: l(0), throw: l(1), return: l(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() { - return this; - }), a; - function l(u) { - return function(c) { - return s([u, c]); - }; - } - function s(u) { - if (o) throw new TypeError("Generator is already executing."); - for (; n; ) try { - if (o = 1, r && (i = u[0] & 2 ? r.return : u[0] ? r.throw || ((i = r.return) && i.call(r), 0) : r.next) && !(i = i.call(r, u[1])).done) return i; - switch (r = 0, i && (u = [u[0] & 2, i.value]), u[0]) { - case 0: - case 1: - i = u; - break; - case 4: - return n.label++, { value: u[1], done: !1 }; - case 5: - n.label++, r = u[1], u = [0]; - continue; - case 7: - u = n.ops.pop(), n.trys.pop(); - continue; - default: - if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (u[0] === 6 || u[0] === 2)) { - n = 0; - continue; - } - if (u[0] === 3 && (!i || u[1] > i[0] && u[1] < i[3])) { - n.label = u[1]; - break; + return new (n || (n = Promise))(function (i, a) { + function l(c) { + try { + u(o.next(c)); + } catch (d) { + a(d); } - if (u[0] === 6 && n.label < i[1]) { - n.label = i[1], i = u; - break; + } + function s(c) { + try { + u(o.throw(c)); + } catch (d) { + a(d); } - if (i && n.label < i[2]) { - n.label = i[2], n.ops.push(u); - break; + } + function u(c) { + c.done ? i(c.value) : r(c.value).then(l, s); + } + u((o = o.apply(e, t || [])).next()); + }); + }, + Bf = + (Yn && Yn.__generator) || + function (e, t) { + var n = { + label: 0, + sent: function () { + if (i[0] & 1) throw i[1]; + return i[1]; + }, + trys: [], + ops: [], + }, + o, + r, + i, + a; + return ( + (a = { next: l(0), throw: l(1), return: l(2) }), + typeof Symbol == "function" && + (a[Symbol.iterator] = function () { + return this; + }), + a + ); + function l(u) { + return function (c) { + return s([u, c]); + }; + } + function s(u) { + if (o) throw new TypeError("Generator is already executing."); + for (; n; ) + try { + if ( + ((o = 1), + r && + (i = + u[0] & 2 + ? r.return + : u[0] + ? r.throw || ((i = r.return) && i.call(r), 0) + : r.next) && + !(i = i.call(r, u[1])).done) + ) + return i; + switch (((r = 0), i && (u = [u[0] & 2, i.value]), u[0])) { + case 0: + case 1: + i = u; + break; + case 4: + return n.label++, { value: u[1], done: !1 }; + case 5: + n.label++, (r = u[1]), (u = [0]); + continue; + case 7: + (u = n.ops.pop()), n.trys.pop(); + continue; + default: + if ( + ((i = n.trys), + !(i = i.length > 0 && i[i.length - 1]) && + (u[0] === 6 || u[0] === 2)) + ) { + n = 0; + continue; + } + if (u[0] === 3 && (!i || (u[1] > i[0] && u[1] < i[3]))) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < i[1]) { + (n.label = i[1]), (i = u); + break; + } + if (i && n.label < i[2]) { + (n.label = i[2]), n.ops.push(u); + break; + } + i[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (c) { + (u = [6, c]), (r = 0); + } finally { + o = i = 0; } - i[2] && n.ops.pop(), n.trys.pop(); - continue; + if (u[0] & 5) throw u[1]; + return { value: u[0] ? u[1] : void 0, done: !0 }; } - u = t.call(e, n); - } catch (c) { - u = [6, c], r = 0; - } finally { - o = i = 0; - } - if (u[0] & 5) throw u[1]; - return { value: u[0] ? u[1] : void 0, done: !0 }; - } -}; + }; Object.defineProperty(qn, "__esModule", { value: !0 }); -qn.toFormikValidate = $f = qn.toFormikValidationSchema = qn.ValidationError = void 0; -var Vf = ( +qn.toFormikValidate = + $f = + qn.toFormikValidationSchema = + qn.ValidationError = + void 0; +var Vf = /** @class */ - function(e) { + (function (e) { aw(t, e); function t(n) { var o = e.call(this, n) || this; - return o.name = "ValidationError", o.inner = [], o; + return (o.name = "ValidationError"), (o.inner = []), o; } return t; - }(Error) -); + })(Error); qn.ValidationError = Vf; function lw(e) { var t = new Vf(e.message); - return t.inner = e.errors.map(function(n) { - return { - message: n.message, - path: n.path.join(".") - }; - }), t; + return ( + (t.inner = e.errors.map(function (n) { + return { + message: n.message, + path: n.path.join("."), + }; + })), + t + ); } function sw(e, t) { return { - validate: function(n) { - return Pf(this, void 0, void 0, function() { + validate: function (n) { + return Pf(this, void 0, void 0, function () { var o; - return Bf(this, function(r) { + return Bf(this, function (r) { switch (r.label) { case 0: return r.trys.push([0, 2, , 3]), [4, e.parseAsync(n, t)]; case 1: return r.sent(), [3, 3]; case 2: - throw o = r.sent(), lw(o); + throw ((o = r.sent()), lw(o)); case 3: return [ - 2 + 2, /*return*/ ]; } }); }); - } + }, }; } -var $f = qn.toFormikValidationSchema = sw; +var $f = (qn.toFormikValidationSchema = sw); function cw(e) { for (var t = {}, n = 0, o = e.errors; n < o.length; n++) { var r = o[n]; @@ -25089,18 +36216,23 @@ function cw(e) { } function uw(e, t) { var n = this; - return function(o) { - return Pf(n, void 0, void 0, function() { + return function (o) { + return Pf(n, void 0, void 0, function () { var r; - return Bf(this, function(i) { + return Bf(this, function (i) { switch (i.label) { case 0: return [4, e.safeParseAsync(o, t)]; case 1: - return r = i.sent(), r.success ? [ - 2 - /*return*/ - ] : [2, cw(r.error)]; + return ( + (r = i.sent()), + r.success + ? [ + 2, + /*return*/ + ] + : [2, cw(r.error)] + ); } }); }); @@ -25108,362 +36240,711 @@ function uw(e, t) { } qn.toFormikValidate = uw; const dw = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { - const [r, i] = ue(!1), { - errors: a, - isValid: l, - isSubmitting: s, - handleSubmit: u, - values: c, - handleChange: d, - setSubmitting: h - } = e4({ - initialValues: e, - validationSchema: $f(iw), - onSubmit: async (S) => { - await Ie.post(`coach/training/${e.train_doc_uid}`, S, { - method: "PUT" - }), i(!1), h(!1); - } - }), f = async () => await Ie.post( - `coach/training/${e.train_doc_uid}`, - {}, - { method: "DELETE" } - ), { loading: m, error: b, mutate: y } = Zi({ - // @ts-ignore - queryFn: f, - onSuccess: t - }), g = (S) => { - S == null || S.stopPropagation(); - }, x = () => { - g(), y(); - }, C = (S) => { - g(S), i(!1); - }, E = (S) => { - g(S), n(e.train_doc_uid), i(!0); - }, w = o === e.train_doc_uid; - return /* @__PURE__ */ p.jsx(sn, { className: w ? "active" : "", children: /* @__PURE__ */ p.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ p.jsx(Er, { children: /* @__PURE__ */ p.jsxs(ut, { className: "align-items-start", children: [ - /* @__PURE__ */ p.jsxs("div", { style: { flex: 1 }, children: [ - /* @__PURE__ */ p.jsx("div", { children: r ? /* @__PURE__ */ p.jsxs(Jl, { children: [ - /* @__PURE__ */ p.jsx( - Fn, - { - name: "content", - value: c.content, - type: "textarea", - placeholder: "Enter your coaching feedback here...", - invalid: !!a.content, - onClick: g, - onChange: d, - style: { fieldSizing: "content" } - } - ), - a.content ? /* @__PURE__ */ p.jsx(W0, { children: a.content }) : null - ] }) : /* @__PURE__ */ p.jsx("h6", { className: w ? "" : "lines-2", children: c.content }) }), - /* @__PURE__ */ p.jsx(ut, { children: /* @__PURE__ */ p.jsxs("dl", { children: [ - /* @__PURE__ */ p.jsxs(ut, { children: [ - /* @__PURE__ */ p.jsx("dt", { children: "Created on:" }), - /* @__PURE__ */ p.jsx("dd", { children: fs(e.createdDate).format( - "MMMM D, YYYY h:mm A" - ) }) - ] }), - /* @__PURE__ */ p.jsxs(ut, { children: [ - /* @__PURE__ */ p.jsx("dt", { children: "Updated on:" }), - /* @__PURE__ */ p.jsxs("dd", { children: [ - fs(e.updatedDate).format( - "MMMM D, YYYY h:mm A" - ), - " " - ] }) - ] }), - /* @__PURE__ */ p.jsxs(ut, { children: [ - /* @__PURE__ */ p.jsx("dt", { children: "Created by:" }), - " ", - /* @__PURE__ */ p.jsx("dd", { children: e.display_name }) - ] }) - ] }) }) - ] }), - /* @__PURE__ */ p.jsxs(ut, { className: "align-items-top gap-0", children: [ - /* @__PURE__ */ p.jsx(Jl, { switch: !0, children: /* @__PURE__ */ p.jsx( - wn, + const [r, i] = ue(!1), + { + errors: a, + isValid: l, + isSubmitting: s, + handleSubmit: u, + values: c, + handleChange: d, + setSubmitting: h, + } = e4({ + initialValues: e, + validationSchema: $f(iw), + onSubmit: async (S) => { + await Ie.post(`coach/training/${e.train_doc_uid}`, S, { + method: "PUT", + }), + i(!1), + h(!1); + }, + }), + f = async () => + await Ie.post( + `coach/training/${e.train_doc_uid}`, + {}, + { method: "DELETE" }, + ), + { + loading: m, + error: b, + mutate: y, + } = Zi({ + // @ts-ignore + queryFn: f, + onSuccess: t, + }), + g = (S) => { + S == null || S.stopPropagation(); + }, + x = () => { + g(), y(); + }, + C = (S) => { + g(S), i(!1); + }, + E = (S) => { + g(S), n(e.train_doc_uid), i(!0); + }, + w = o === e.train_doc_uid; + return /* @__PURE__ */ p.jsx(sn, { + className: w ? "active" : "", + children: /* @__PURE__ */ p.jsxs("form", { + onSubmit: u, + children: [ + /* @__PURE__ */ p.jsx(Er, { + children: /* @__PURE__ */ p.jsxs(ut, { + className: "align-items-start", + children: [ + /* @__PURE__ */ p.jsxs("div", { + style: { flex: 1 }, + children: [ + /* @__PURE__ */ p.jsx("div", { + children: r + ? /* @__PURE__ */ p.jsxs(Jl, { + children: [ + /* @__PURE__ */ p.jsx(Fn, { + name: "content", + value: c.content, + type: "textarea", + placeholder: + "Enter your coaching feedback here...", + invalid: !!a.content, + onClick: g, + onChange: d, + style: { fieldSizing: "content" }, + }), + a.content + ? /* @__PURE__ */ p.jsx(W0, { + children: a.content, + }) + : null, + ], + }) + : /* @__PURE__ */ p.jsx("h6", { + className: w ? "" : "lines-2", + children: c.content, + }), + }), + /* @__PURE__ */ p.jsx(ut, { + children: /* @__PURE__ */ p.jsxs("dl", { + children: [ + /* @__PURE__ */ p.jsxs(ut, { + children: [ + /* @__PURE__ */ p.jsx("dt", { + children: "Created on:", + }), + /* @__PURE__ */ p.jsx("dd", { + children: fs(e.createdDate).format( + "MMMM D, YYYY h:mm A", + ), + }), + ], + }), + /* @__PURE__ */ p.jsxs(ut, { + children: [ + /* @__PURE__ */ p.jsx("dt", { + children: "Updated on:", + }), + /* @__PURE__ */ p.jsxs("dd", { + children: [ + fs(e.updatedDate).format( + "MMMM D, YYYY h:mm A", + ), + " ", + ], + }), + ], + }), + /* @__PURE__ */ p.jsxs(ut, { + children: [ + /* @__PURE__ */ p.jsx("dt", { + children: "Created by:", + }), + " ", + /* @__PURE__ */ p.jsx("dd", { + children: e.display_name, + }), + ], + }), + ], + }), + }), + ], + }), + /* @__PURE__ */ p.jsxs(ut, { + className: "align-items-top gap-0", + children: [ + /* @__PURE__ */ p.jsx(Jl, { + switch: !0, + children: /* @__PURE__ */ p.jsx(wn, { + title: c.isActive + ? "Disable this learning" + : "Enable this learning", + children: /* @__PURE__ */ p.jsx(Fn, { + type: "switch", + role: "switch", + id: `toggle-${e.train_doc_uid}`, + checked: c.isActive, + onChange: (S) => { + d({ + target: { + name: "isActive", + value: S.target.checked, + }, + }), + u(); + }, + }), + }), + }), + /* @__PURE__ */ p.jsx(t4, { + title: "Delete the task", + description: "Are you sure to delete this task?", + onConfirm: x, + onCancel: g, + okText: "Yes", + cancelText: "No", + children: /* @__PURE__ */ p.jsx(Zn, { + title: "Delete this learning", + className: "pt-1 pb-0", + disabled: m, + onClick: g, + children: /* @__PURE__ */ p.jsx(hd, {}), + }), + }), + r + ? /* @__PURE__ */ p.jsxs(ut, { + className: "align-items-baseline", + children: [ + /* @__PURE__ */ p.jsx(Pe, { + onClick: C, + outline: !0, + size: "sm", + children: "Cancel", + }), + /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + color: "primary", + disabled: s || !l, + type: "submit", + children: "Save", + }), + ], + }) + : /* @__PURE__ */ p.jsx(Zn, { + title: "Edit this learning", + onClick: E, + children: /* @__PURE__ */ p.jsx(p8, {}), + }), + /* @__PURE__ */ p.jsx(Zn, { + onClick: () => n(e.train_doc_uid), + children: w + ? /* @__PURE__ */ p.jsx(gd, {}) + : /* @__PURE__ */ p.jsx(md, {}), + }), + ], + }), + ], + }), + }), + /* @__PURE__ */ p.jsxs(Z0, { + isOpen: w, + children: [ + b && + /* @__PURE__ */ p.jsx(qs, { + color: "danger", + children: b.message, + }), + /* @__PURE__ */ p.jsxs(ut, { + className: "gap-4", + children: [ + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx("strong", { + children: "Category:", + }), + " ", + r + ? /* @__PURE__ */ p.jsx(b1, { + style: { minWidth: 160 }, + options: Object.values(o1).map((S) => ({ + value: S, + label: S, + })), + value: c.category, + onChange: (S) => { + d({ + target: { name: "category", value: S }, + }); + }, + }) + : e.category, + ], + }), + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx("strong", { + children: "Task Label:", + }), + " ", + e.taskLabel, + ], + }), + /* @__PURE__ */ p.jsxs("div", { + children: [ + /* @__PURE__ */ p.jsx("strong", { + children: "Personalization Scope:", + }), + " ", + r + ? /* @__PURE__ */ p.jsx(b1, { + style: { minWidth: 100 }, + options: Object.values(r1).map((S) => ({ + value: S, + label: S, + })), + value: c.personalizationScope, + onChange: (S) => { + d({ + target: { + name: "personalizationScope", + value: S, + }, + }); + }, + }) + : e.personalizationScope, + ], + }), + e.metadata && + Object.keys(e.metadata).map((S) => { + var _; + return /* @__PURE__ */ p.jsxs( + "div", + { + children: [ + /* @__PURE__ */ p.jsxs("strong", { + children: [S, ":"], + }), + " ", + /* @__PURE__ */ p.jsx(p.Fragment, { + children: + ((_ = e.metadata) == null ? void 0 : _[S]) || + "", + }), + ], + }, + S, + ); + }), + ], + }), + ], + }), + ], + }), + }); + }, + fw = + "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_2633)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2317C8BD'/%3e%3cpath%20d='M34.4609%2042.5897H24.9293V49.0222H34.4609V42.5897Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M28.9742%2017.7254V13.3694C28.1403%2013.0716%2031.2476%2013.0735%2030.4119%2013.3719V17.7254C32.0937%2017.7254%2034.6797%2020.4627%2034.6797%2023.4275H24.7097C24.7097%2020.4627%2026.8583%2017.7254%2028.9742%2017.7254Z'%20fill='%23DCEFFF'/%3e%3cpath%20d='M47.5595%2035.9226C47.5595%2042.2267%2045.0803%2044.7184%2038.8126%2044.7184H20.5772C14.3095%2044.7184%2011.834%2042.2267%2011.834%2035.9226V27.3128C11.834%2021.0087%2014.3095%2018.5173%2020.5772%2018.5173H38.8126C45.0803%2018.5173%2047.5595%2021.0087%2047.5595%2027.3128V35.9226Z'%20fill='white'/%3e%3cpath%20d='M38.8126%2018.5173H36.9574C43.2251%2018.5173%2045.7039%2021.0087%2045.7039%2027.3128V35.9226C45.7039%2042.2267%2043.2251%2044.7184%2036.9574%2044.7184H38.8126C45.0804%2044.7184%2047.5595%2042.2267%2047.5595%2035.9226V27.3128C47.5595%2021.0087%2045.0804%2018.5173%2038.8126%2018.5173Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M45.733%2026.396C48.0253%2026.7113%2049.6943%2026.766%2049.6943%2031.3074C49.6943%2035.7629%2048.177%2035.7795%2046.0489%2036.1664L45.733%2026.396Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M13.6556%2026.396C11.3627%2026.7113%209.69427%2026.766%209.69427%2031.3074C9.69427%2035.7629%2011.2116%2035.7795%2013.3394%2036.1664L13.6556%2026.396Z'%20fill='white'/%3e%3cpath%20d='M38.8095%2047.7854H20.5741C14.3064%2047.7854%2011.8312%2050.2758%2011.8312%2056.5797V60.0486H47.557V56.5797C47.557%2050.2758%2045.0779%2047.7854%2038.8095%2047.7854Z'%20fill='white'/%3e%3cpath%20d='M38.8098%2047.7854H36.6893C42.2315%2047.7854%2044.8113%2049.7327%2045.3351%2054.5403C46.5328%2053.7567%2047.2495%2053.2474%2047.2495%2053.2474C46.415%2049.3802%2043.8254%2047.7854%2038.8098%2047.7854Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M21.3422%2038.6945C17.4867%2038.6945%2016.206%2037.4049%2016.206%2033.5269V29.7949C16.206%2025.9172%2017.4867%2024.6289%2021.3422%2024.6289H37.9879C41.8153%2024.6289%2043.0768%2025.8703%2043.1229%2029.708C43.1229%2029.7369%2043.1232%2033.5269%2043.1232%2033.5269C43.1232%2037.4049%2041.8443%2038.6945%2037.9879%2038.6945H21.3422Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M31.8467%2011.3337C31.8467%2010.1384%2030.8843%209.17032%2029.6966%209.17032C28.5092%209.17032%2027.5465%2010.1384%2027.5465%2011.3337C27.5465%2012.5284%2028.5092%2013.4969%2029.6966%2013.4969C30.8843%2013.4969%2031.8467%2012.5284%2031.8467%2011.3337Z'%20fill='white'/%3e%3cpath%20d='M34.6804%2021.6058C34.3584%2019.2376%2034.3032%2017.5154%2029.6685%2017.5154C25.1211%2017.5154%2025.1046%2019.0816%2024.7096%2021.2794L34.6804%2021.6058Z'%20fill='white'/%3e%3cpath%20d='M26%2032C26%2030.8937%2025.1025%2030%2023.9993%2030C22.8942%2030%2022%2030.8937%2022%2032C22%2033.1053%2022.8942%2034%2023.9993%2034C25.1025%2034%2026%2033.1053%2026%2032Z'%20fill='%2317C8BD'/%3e%3cpath%20d='M39%2032C39%2030.8937%2038.1025%2030%2036.9993%2030C35.8942%2030%2035%2030.8937%2035%2032C35%2033.1053%2035.8942%2034%2036.9993%2034C38.1025%2034%2039%2033.1053%2039%2032Z'%20fill='%2317C8BD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_2633'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + pw = + "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1655)'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='%235B41C6'/%3e%3cpath%20d='M33.8213%2046.1095H27.1435V52.8819H33.8213V46.1095Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M48.1175%2019.1401H46.8699V27.1459H48.1175V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M49.7231%2018.0581C49.7231%2016.8318%2048.7257%2015.8376%2047.4932%2015.8376C46.2613%2015.8376%2045.2629%2016.8318%2045.2629%2018.0581C45.2629%2019.285%2046.2613%2020.2786%2047.4932%2020.2786C48.7257%2020.2786%2049.7231%2019.285%2049.7231%2018.0581Z'%20fill='white'/%3e%3cpath%20d='M14.0958%2019.1401H12.8488V27.1459H14.0958V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.702%2018.0582C15.702%2016.8318%2014.7046%2015.8376%2013.4724%2015.8376C12.2405%2015.8376%2011.2418%2016.8318%2011.2418%2018.0582C11.2418%2019.2851%2012.2405%2020.2787%2013.4724%2020.2787C14.7046%2020.2787%2015.702%2019.2851%2015.702%2018.0582Z'%20fill='white'/%3e%3cpath%20d='M50.4827%2031.4187C50.4827%2031.3291%2050.4802%2030.2722%2050.475%2030.1838C50.3359%2027.6526%2048.2302%2026.6111%2045.653%2026.6111C43.0763%2026.6111%2040.9707%2028.096%2040.8313%2030.6269C40.8267%2030.7153%2040.8242%2031.3291%2040.8242%2031.4187C40.8242%2031.5047%2040.826%2032.5585%2040.8307%2032.6438C40.9649%2035.1797%2043.073%2036.6698%2045.653%2036.6698C48.2339%2036.6698%2050.3414%2035.6228%2050.4756%2033.0872C50.4802%2033.0012%2050.4827%2031.5047%2050.4827%2031.4187Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M46.627%2031.9094C46.627%2031.6098%2046.6181%2029.5587%2046.6023%2029.2634C46.1372%2020.8013%2039.0976%2015.8376%2030.4828%2015.8376C21.8675%2015.8376%2014.8291%2020.8013%2014.3637%2029.2634C14.3467%2029.5587%2014.3384%2031.6098%2014.3384%2031.9094C14.3384%2032.1983%2014.3461%2034.2383%2014.3615%2034.523C14.8106%2042.9992%2021.8564%2047.9809%2030.4828%2047.9809C39.109%2047.9809%2046.1548%2042.9992%2046.6042%2034.523C46.6193%2034.2383%2046.627%2032.1983%2046.627%2031.9094Z'%20fill='white'/%3e%3cpath%20d='M46.7532%2029.2634C46.2878%2020.8013%2039.2491%2015.8376%2030.6335%2015.8376C30.3296%2015.8376%2030.0295%2015.8456%2029.7291%2015.8579C37.9278%2016.1938%2044.4955%2021.0997%2044.9443%2029.2634C44.9606%2029.5587%2044.969%2031.6098%2044.969%2031.9094C44.969%2032.1983%2044.9619%2034.2383%2044.9464%2034.523C44.5131%2042.7007%2037.9383%2047.6244%2029.7291%2047.9612C30.0295%2047.9735%2030.3296%2047.9809%2030.6335%2047.9809C39.2596%2047.9809%2046.3057%2042.9992%2046.7554%2034.523C46.7708%2034.2383%2046.7779%2032.1983%2046.7779%2031.9094C46.7779%2031.6098%2046.7696%2029.5587%2046.7532%2029.2634Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M20.1412%2031.4187C20.1412%2031.3291%2020.139%2030.7153%2020.1341%2030.6269C19.9947%2028.096%2017.8891%2026.6111%2015.3118%2026.6111C12.7349%2026.6111%2010.6295%2027.8743%2010.4901%2030.4055C10.4852%2030.4939%2010.4827%2031.3291%2010.4827%2031.4187C10.4827%2031.5047%2010.4846%2032.7799%2010.4895%2032.8655C10.6234%2035.4011%2012.7315%2036.6698%2015.3118%2036.6698C17.8924%2036.6698%2020%2035.1797%2020.1341%2032.6438C20.139%2032.5585%2020.1412%2031.5047%2020.1412%2031.4187Z'%20fill='white'/%3e%3cpath%20d='M30.5584%2043.314C25.2513%2043.314%2018.922%2040.807%2018.5374%2033.7453C18.5275%2033.4291%2018.5195%2032.3197%2018.5195%2031.8736C18.5195%2031.4404%2018.5287%2029.7529%2018.5392%2029.4314C18.939%2022.3882%2025.2611%2020.6506%2030.5584%2020.6506C35.856%2020.6506%2042.1785%2022.3882%2042.5773%2029.4311C42.5878%2029.7538%2042.5974%2031.441%2042.5974%2031.8736C42.5974%2032.3044%2042.5884%2033.4303%2042.5792%2033.7472C42.1927%2040.8085%2035.864%2043.314%2030.5584%2043.314Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M26.6666%2032C26.6666%2030.8937%2025.7691%2030%2024.6659%2030C23.5608%2030%2022.6666%2030.8937%2022.6666%2032C22.6666%2033.1053%2023.5608%2034%2024.6659%2034C25.7691%2034%2026.6666%2033.1053%2026.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M37.6666%2032C37.6666%2030.8937%2036.7691%2030%2035.6659%2030C34.5608%2030%2033.6666%2030.8937%2033.6666%2032C33.6666%2033.1053%2034.5608%2034%2035.6659%2034C36.7691%2034%2037.6666%2033.1053%2037.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M30.4829%2050.1974C35.7897%2050.1974%2042.119%2052.7038%2042.5036%2059.7655C42.5135%2060.0814%2042.5218%2061.1917%2042.5218%2061.6372C42.5218%2062.0701%2042.5123%2063.7585%2042.5024%2064.0791C42.1021%2071.1223%2035.7799%2072.2596%2030.4829%2072.2596C25.185%2072.2596%2018.8622%2071.123%2018.4636%2064.0803C18.4532%2063.7567%2018.4439%2062.0695%2018.4439%2061.6372C18.4439%2061.2061%2018.4526%2060.0802%2018.4624%2059.7642C18.8486%2052.702%2025.1769%2050.1974%2030.4829%2050.1974Z'%20fill='white'/%3e%3cpath%20d='M49.0578%2018.4398C49.0578%2017.2457%2048.0856%2016.2792%2046.8892%2016.2792C46.5882%2016.2792%2046.3007%2016.3406%2046.0407%2016.4505C46.4315%2016.0716%2046.965%2015.8376%2047.5545%2015.8376C48.7509%2015.8376%2049.723%2016.8042%2049.723%2017.998C49.723%2018.8933%2049.1771%2019.6603%2048.3992%2019.9888C48.8058%2019.5965%2049.0578%2019.0481%2049.0578%2018.4398Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.0371%2018.4398C15.0371%2017.2457%2014.0649%2016.2792%2012.8682%2016.2792C12.5672%2016.2792%2012.28%2016.3406%2012.0197%2016.4505C12.4105%2016.0716%2012.9441%2015.8376%2013.5338%2015.8376C14.7299%2015.8376%2015.7021%2016.8042%2015.7021%2017.998C15.7021%2018.8933%2015.1565%2019.6603%2014.3786%2019.9888C14.7848%2019.5965%2015.0371%2019.0481%2015.0371%2018.4398Z'%20fill='%23E4D8FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1655'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + hw = + "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1707)'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='%2341C676'/%3e%3cpath%20d='M34.7918%2043.7001H25.262V50.1142H34.7918V43.7001Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M44.3289%2035.8214C47.4632%2035.8214%2050.0268%2035.0784%2050.0268%2030.8222C50.0268%2026.5976%2047.4632%2025.8232%2044.3289%2025.8232V35.8214Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M12.1643%2033.3777C12.1643%2039.6628%2017.2916%2044.8045%2023.5578%2044.8045H36.4957C42.7625%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7625%2018.6824%2036.4957%2018.6824H23.5578C17.2916%2018.6824%2012.1643%2023.8238%2012.1643%2030.1092V33.3777Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.2625%2038.6511C40.1176%2038.6511%2043.2541%2035.5057%2043.2541%2031.6401C43.2541%2027.7735%2040.1176%2024.6288%2036.2625%2024.6288H23.3247C19.4705%2024.6288%2016.3334%2027.7735%2016.3334%2031.6401C16.3334%2035.5057%2019.4705%2038.6511%2023.3247%2038.6511H36.2625Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M35.0116%2022.9674C35.0116%2019.8248%2034.271%2017.254%2030.0264%2017.254C25.8144%2017.254%2025.0416%2019.8248%2025.0416%2022.9674H35.0116Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M27.8734%2010.9127C27.8734%209.71947%2028.8385%208.75259%2030.0265%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2012.1074%2031.2175%2013.0739%2030.0265%2013.0739C28.8385%2013.0739%2027.8734%2012.1074%2027.8734%2010.9127Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M31.5221%2011.3548C31.5221%2010.1607%2030.5571%209.19412%2029.3694%209.19412C29.0706%209.19412%2028.7855%209.25556%2028.5271%209.36516C28.915%208.98658%2029.4447%208.75259%2030.0298%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2011.8086%2031.6409%2012.5759%2030.8687%2012.9041C31.272%2012.5114%2031.5221%2011.9634%2031.5221%2011.3548Z'%20fill='%23D8FFF2'/%3e%3cpath%20d='M30.7466%2012.4755H29.3079V17.8941H30.7466V12.4755Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.4963%2018.6824H33.9094C39.1512%2018.6824%2045.4817%2023.8238%2045.4817%2030.1092V33.3777C45.4817%2039.6628%2039.9154%2044.8045%2033.6473%2044.8045H36.4963C42.7631%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7631%2018.6824%2036.4963%2018.6824Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M13.9897%2025.9258C11.6977%2026.2399%2010.0269%2027.3867%2010.0269%2030.8222C10.0269%2034.074%2011.5455%2035.2816%2013.6737%2035.6657C14.0613%2035.7355%2014.3498%2025.8766%2013.9897%2025.9258Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M26.3334%2032C26.3334%2030.8937%2025.4359%2030%2024.3328%2030C23.2276%2030%2022.3334%2030.8937%2022.3334%2032C22.3334%2033.1053%2023.2276%2034%2024.3328%2034C25.4359%2034%2026.3334%2033.1053%2026.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M38.3334%2032C38.3334%2030.8937%2037.4359%2030%2036.3328%2030C35.2276%2030%2034.3334%2030.8937%2034.3334%2032C34.3334%2033.1053%2035.2276%2034%2036.3328%2034C37.4359%2034%2038.3334%2033.1053%2038.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M41.0027%2056.5086C41.0027%2051.3979%2037.1179%2048.2255%2030.0274%2048.2255C22.9933%2048.2255%2019.0515%2051.3979%2019.0515%2056.5086C19.0515%2061.6178%2024.9304%2060.5907%2030.0274%2060.5907C35.1234%2060.5907%2041.0027%2061.6178%2041.0027%2056.5086Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M38.808%2056.5087C38.808%2056.8363%2038.7839%2057.1386%2038.7373%2057.4175C40.2603%2056.9425%2041.0018%2056.6238%2041.0018%2056.6238C41.0024%2056.5857%2041.0027%2056.5473%2041.0027%2056.5087C41.0027%2052.6943%2038.8388%2049.9598%2034.7933%2048.8179C34.7933%2048.8179%2038.808%2050.1729%2038.808%2056.5087Z'%20fill='%23DBFFE9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1707'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + gw = + "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3536_7181)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%23FFC125'/%3e%3cpath%20d='M33.3384%2045.6643H26.6606V52.4674H33.3384V45.6643Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M47.6346%2018.573H46.387V26.615H47.6346V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M49.2402%2017.4861C49.2402%2016.2542%2048.2428%2015.2556%2047.0103%2015.2556C45.7784%2015.2556%2044.7801%2016.2542%2044.7801%2017.4861C44.7801%2018.7186%2045.7784%2019.7167%2047.0103%2019.7167C48.2428%2019.7167%2049.2402%2018.7186%2049.2402%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M13.613%2018.573H12.366V26.615H13.613V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M15.2193%2017.4861C15.2193%2016.2542%2014.2218%2015.2556%2012.9896%2015.2556C11.7577%2015.2556%2010.759%2016.2542%2010.759%2017.4861C10.759%2018.7186%2011.7577%2019.7167%2012.9896%2019.7167C14.2218%2019.7167%2015.2193%2018.7186%2015.2193%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M50%2030.9072C50%2030.8171%2049.9975%2029.7555%2049.9923%2029.6667C49.8532%2027.124%2047.7475%2026.0778%2045.1703%2026.0778C42.5937%2026.0778%2040.488%2027.5693%2040.3486%2030.1117C40.344%2030.2005%2040.3415%2030.8171%2040.3415%2030.9072C40.3415%2030.9935%2040.3434%2032.052%2040.348%2032.1378C40.4822%2034.6851%2042.5903%2036.1819%2045.1703%2036.1819C47.7512%2036.1819%2049.8588%2035.1302%2049.9929%2032.5832C49.9975%2032.4968%2050%2030.9935%2050%2030.9072Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M46.1442%2031.4C46.1442%2031.099%2046.1353%2029.0387%2046.1196%2028.742C45.6544%2020.2416%2038.6148%2015.2556%2030.0001%2015.2556C21.3847%2015.2556%2014.3463%2020.2416%2013.8809%2028.742C13.8639%2029.0387%2013.8556%2031.099%2013.8556%2031.4C13.8556%2031.6902%2013.8633%2033.7395%2013.8788%2034.0254C14.3278%2042.5399%2021.3736%2047.5442%2030.0001%2047.5442C38.6262%2047.5442%2045.672%2042.5399%2046.1214%2034.0254C46.1365%2033.7395%2046.1442%2031.6902%2046.1442%2031.4Z'%20fill='white'/%3e%3cpath%20d='M46.2704%2028.742C45.805%2020.2416%2038.7663%2015.2556%2030.1506%2015.2556C29.8468%2015.2556%2029.5467%2015.2636%2029.2463%2015.2759C37.445%2015.6133%2044.0127%2020.5414%2044.4615%2028.742C44.4778%2029.0387%2044.4861%2031.099%2044.4861%2031.4C44.4861%2031.6902%2044.479%2033.7395%2044.4636%2034.0254C44.0303%2042.2401%2037.4555%2047.1861%2029.2463%2047.5244C29.5467%2047.5368%2029.8468%2047.5442%2030.1506%2047.5442C38.7768%2047.5442%2045.8229%2042.5399%2046.2726%2034.0254C46.288%2033.7395%2046.2951%2031.6902%2046.2951%2031.4C46.2951%2031.099%2046.2868%2029.0387%2046.2704%2028.742Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M19.6585%2030.9072C19.6585%2030.8171%2019.6563%2030.2005%2019.6514%2030.1117C19.512%2027.5693%2017.4063%2026.0778%2014.8291%2026.0778C12.2522%2026.0778%2010.1468%2027.3466%2010.0074%2029.8894C10.0025%2029.9782%2010%2030.8171%2010%2030.9072C10%2030.9935%2010.0019%2032.2744%2010.0068%2032.3605C10.1406%2034.9075%2012.2488%2036.1819%2014.8291%2036.1819C17.4097%2036.1819%2019.5172%2034.6851%2019.6514%2032.1378C19.6563%2032.052%2019.6585%2030.9935%2019.6585%2030.9072Z'%20fill='white'/%3e%3cpath%20d='M30%2042.8922C24.6929%2042.8922%2018.3636%2040.3739%2017.979%2033.2803C17.9691%2032.9626%2017.9611%2031.8482%2017.9611%2031.4001C17.9611%2030.9649%2017.9703%2029.2698%2017.9808%2028.9468C18.3806%2021.8717%2024.7027%2020.1263%2030%2020.1263C35.2976%2020.1263%2041.6201%2021.8717%2042.019%2028.9465C42.0294%2029.2707%2042.039%2030.9655%2042.039%2031.4001C42.039%2031.8328%2042.03%2032.9638%2042.0208%2033.2821C41.6343%2040.3754%2035.3056%2042.8922%2030%2042.8922Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M25.7771%2031.8109C25.7771%2030.7644%2024.928%2029.919%2023.8843%2029.919C22.8387%2029.919%2021.9927%2030.7644%2021.9927%2031.8109C21.9927%2032.8565%2022.8387%2033.7028%2023.8843%2033.7028C24.928%2033.7028%2025.7771%2032.8565%2025.7771%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M38.0072%2031.8109C38.0072%2030.7644%2037.1618%2029.919%2036.1153%2029.919C35.0697%2029.919%2034.2234%2030.7644%2034.2234%2031.8109C34.2234%2032.8565%2035.0697%2033.7028%2036.1153%2033.7028C37.1618%2033.7028%2038.0072%2032.8565%2038.0072%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M30%2049.7708C35.3069%2049.7708%2041.6362%2052.2885%2042.0208%2059.3821C42.0307%2059.6995%2042.039%2060.8148%2042.039%2061.2623C42.039%2061.6972%2042.0294%2063.3932%2042.0195%2063.7153C41.6192%2070.7903%2035.297%2071.9328%2030%2071.9328C24.7021%2071.9328%2018.3793%2070.791%2017.9808%2063.7165C17.9703%2063.3914%2017.9611%2061.6966%2017.9611%2061.2623C17.9611%2060.8293%2017.9697%2059.6982%2017.9796%2059.3809C18.3657%2052.2867%2024.6941%2049.7708%2030%2049.7708Z'%20fill='white'/%3e%3cpath%20d='M48.575%2017.8695C48.575%2016.67%2047.6028%2015.6991%2046.4064%2015.6991C46.1054%2015.6991%2045.8179%2015.7608%2045.558%2015.8712C45.9487%2015.4906%2046.4823%2015.2556%2047.0717%2015.2556C48.2681%2015.2556%2049.2403%2016.2265%2049.2403%2017.4257C49.2403%2018.325%2048.6944%2019.0955%2047.9165%2019.4255C48.323%2019.0314%2048.575%2018.4805%2048.575%2017.8695Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M14.5541%2017.8695C14.5541%2016.67%2013.5819%2015.6991%2012.3852%2015.6991C12.0842%2015.6991%2011.797%2015.7608%2011.5367%2015.8712C11.9275%2015.4906%2012.4611%2015.2556%2013.0508%2015.2556C14.2469%2015.2556%2015.2191%2016.2265%2015.2191%2017.4257C15.2191%2018.325%2014.6735%2019.0955%2013.8956%2019.4255C14.3018%2019.0314%2014.5541%2018.4805%2014.5541%2017.8695Z'%20fill='%23FFF5DD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3536_7181'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", + mw = (e) => + /* @__PURE__ */ O.createElement( + "svg", + { + width: 131, + height: 131, + viewBox: "0 0 131 131", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", + fill: "#EAEEF9", + }), + /* @__PURE__ */ O.createElement( + "mask", + { + id: "mask0_3506_13710", + style: { + maskType: "alpha", + }, + maskUnits: "userSpaceOnUse", + x: -1, + y: -1, + width: 132, + height: 132, + }, + /* @__PURE__ */ O.createElement("path", { + d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", + fill: "#F1F3F9", + stroke: "#D6DCE8", + strokeWidth: 2, + strokeMiterlimit: 10, + }), + ), + /* @__PURE__ */ O.createElement( + "g", + { mask: "url(#mask0_3506_13710)" }, + /* @__PURE__ */ O.createElement( + "g", + { filter: "url(#filter0_d_3506_13710)" }, + /* @__PURE__ */ O.createElement("path", { + d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", + fill: "url(#paint0_linear_3506_13710)", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", + fill: "#D5DDEA", + }), + ), + /* @__PURE__ */ O.createElement("path", { + d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", + fill: "#989FB0", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", + fill: "#989FB0", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", + fill: "#989FB0", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", + fill: "#ADB6C8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", + fill: "#ADB6C8", + }), + /* @__PURE__ */ O.createElement("path", { + d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", + fill: "#ADB6C8", + }), + /* @__PURE__ */ O.createElement( + "defs", + null, + /* @__PURE__ */ O.createElement( + "filter", { - title: c.isActive ? "Disable this learning" : "Enable this learning", - children: /* @__PURE__ */ p.jsx( - Fn, - { - type: "switch", - role: "switch", - id: `toggle-${e.train_doc_uid}`, - checked: c.isActive, - onChange: (S) => { - d({ - target: { name: "isActive", value: S.target.checked } - }), u(); - } - } - ) - } - ) }), - /* @__PURE__ */ p.jsx( - t4, + id: "filter0_d_3506_13710", + x: 3.13477, + y: 9.45586, + width: 130.151, + height: 153.796, + filterUnits: "userSpaceOnUse", + colorInterpolationFilters: "sRGB", + }, + /* @__PURE__ */ O.createElement("feFlood", { + floodOpacity: 0, + result: "BackgroundImageFix", + }), + /* @__PURE__ */ O.createElement("feColorMatrix", { + in: "SourceAlpha", + type: "matrix", + values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", + result: "hardAlpha", + }), + /* @__PURE__ */ O.createElement("feOffset", { dy: 11 }), + /* @__PURE__ */ O.createElement("feGaussianBlur", { + stdDeviation: 11, + }), + /* @__PURE__ */ O.createElement("feColorMatrix", { + type: "matrix", + values: + "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0", + }), + /* @__PURE__ */ O.createElement("feBlend", { + mode: "normal", + in2: "BackgroundImageFix", + result: "effect1_dropShadow_3506_13710", + }), + /* @__PURE__ */ O.createElement("feBlend", { + mode: "normal", + in: "SourceGraphic", + in2: "effect1_dropShadow_3506_13710", + result: "shape", + }), + ), + /* @__PURE__ */ O.createElement( + "linearGradient", { - title: "Delete the task", - description: "Are you sure to delete this task?", - onConfirm: x, - onCancel: g, - okText: "Yes", - cancelText: "No", - children: /* @__PURE__ */ p.jsx( - Zn, - { - title: "Delete this learning", - className: "pt-1 pb-0", - disabled: m, - onClick: g, - children: /* @__PURE__ */ p.jsx(hd, {}) - } - ) - } + id: "paint0_linear_3506_13710", + x1: 68.1823, + y1: 17.9162, + x2: 68.1823, + y2: 131.436, + gradientUnits: "userSpaceOnUse", + }, + /* @__PURE__ */ O.createElement("stop", { stopColor: "#FDFEFF" }), + /* @__PURE__ */ O.createElement("stop", { + offset: 0.9964, + stopColor: "#ECF0F5", + }), ), - r ? /* @__PURE__ */ p.jsxs(ut, { className: "align-items-baseline", children: [ - /* @__PURE__ */ p.jsx(Pe, { onClick: C, outline: !0, size: "sm", children: "Cancel" }), - /* @__PURE__ */ p.jsx( - Pe, - { - size: "sm", - color: "primary", - disabled: s || !l, - type: "submit", - children: "Save" - } - ) - ] }) : /* @__PURE__ */ p.jsx(Zn, { title: "Edit this learning", onClick: E, children: /* @__PURE__ */ p.jsx(p8, {}) }), - /* @__PURE__ */ p.jsx(Zn, { onClick: () => n(e.train_doc_uid), children: w ? /* @__PURE__ */ p.jsx(gd, {}) : /* @__PURE__ */ p.jsx(md, {}) }) - ] }) - ] }) }), - /* @__PURE__ */ p.jsxs(Z0, { isOpen: w, children: [ - b && /* @__PURE__ */ p.jsx(qs, { color: "danger", children: b.message }), - /* @__PURE__ */ p.jsxs(ut, { className: "gap-4", children: [ - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx("strong", { children: "Category:" }), - " ", - r ? /* @__PURE__ */ p.jsx( - b1, - { - style: { minWidth: 160 }, - options: Object.values(o1).map((S) => ({ - value: S, - label: S - })), - value: c.category, - onChange: (S) => { - d({ - target: { name: "category", value: S } - }); - } - } - ) : e.category - ] }), - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx("strong", { children: "Task Label:" }), - " ", - e.taskLabel - ] }), - /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsx("strong", { children: "Personalization Scope:" }), - " ", - r ? /* @__PURE__ */ p.jsx( - b1, - { - style: { minWidth: 100 }, - options: Object.values(r1).map((S) => ({ - value: S, - label: S - })), - value: c.personalizationScope, - onChange: (S) => { - d({ - target: { name: "personalizationScope", value: S } - }); - } - } - ) : e.personalizationScope - ] }), - e.metadata && Object.keys(e.metadata).map((S) => { - var _; - return /* @__PURE__ */ p.jsxs("div", { children: [ - /* @__PURE__ */ p.jsxs("strong", { children: [ - S, - ":" - ] }), - " ", - /* @__PURE__ */ p.jsx(p.Fragment, { children: ((_ = e.metadata) == null ? void 0 : _[S]) || "" }) - ] }, S); - }) - ] }) - ] }) - ] }) }); -}, fw = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_2633)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2317C8BD'/%3e%3cpath%20d='M34.4609%2042.5897H24.9293V49.0222H34.4609V42.5897Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M28.9742%2017.7254V13.3694C28.1403%2013.0716%2031.2476%2013.0735%2030.4119%2013.3719V17.7254C32.0937%2017.7254%2034.6797%2020.4627%2034.6797%2023.4275H24.7097C24.7097%2020.4627%2026.8583%2017.7254%2028.9742%2017.7254Z'%20fill='%23DCEFFF'/%3e%3cpath%20d='M47.5595%2035.9226C47.5595%2042.2267%2045.0803%2044.7184%2038.8126%2044.7184H20.5772C14.3095%2044.7184%2011.834%2042.2267%2011.834%2035.9226V27.3128C11.834%2021.0087%2014.3095%2018.5173%2020.5772%2018.5173H38.8126C45.0803%2018.5173%2047.5595%2021.0087%2047.5595%2027.3128V35.9226Z'%20fill='white'/%3e%3cpath%20d='M38.8126%2018.5173H36.9574C43.2251%2018.5173%2045.7039%2021.0087%2045.7039%2027.3128V35.9226C45.7039%2042.2267%2043.2251%2044.7184%2036.9574%2044.7184H38.8126C45.0804%2044.7184%2047.5595%2042.2267%2047.5595%2035.9226V27.3128C47.5595%2021.0087%2045.0804%2018.5173%2038.8126%2018.5173Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M45.733%2026.396C48.0253%2026.7113%2049.6943%2026.766%2049.6943%2031.3074C49.6943%2035.7629%2048.177%2035.7795%2046.0489%2036.1664L45.733%2026.396Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M13.6556%2026.396C11.3627%2026.7113%209.69427%2026.766%209.69427%2031.3074C9.69427%2035.7629%2011.2116%2035.7795%2013.3394%2036.1664L13.6556%2026.396Z'%20fill='white'/%3e%3cpath%20d='M38.8095%2047.7854H20.5741C14.3064%2047.7854%2011.8312%2050.2758%2011.8312%2056.5797V60.0486H47.557V56.5797C47.557%2050.2758%2045.0779%2047.7854%2038.8095%2047.7854Z'%20fill='white'/%3e%3cpath%20d='M38.8098%2047.7854H36.6893C42.2315%2047.7854%2044.8113%2049.7327%2045.3351%2054.5403C46.5328%2053.7567%2047.2495%2053.2474%2047.2495%2053.2474C46.415%2049.3802%2043.8254%2047.7854%2038.8098%2047.7854Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M21.3422%2038.6945C17.4867%2038.6945%2016.206%2037.4049%2016.206%2033.5269V29.7949C16.206%2025.9172%2017.4867%2024.6289%2021.3422%2024.6289H37.9879C41.8153%2024.6289%2043.0768%2025.8703%2043.1229%2029.708C43.1229%2029.7369%2043.1232%2033.5269%2043.1232%2033.5269C43.1232%2037.4049%2041.8443%2038.6945%2037.9879%2038.6945H21.3422Z'%20fill='%23D2F8F6'/%3e%3cpath%20d='M31.8467%2011.3337C31.8467%2010.1384%2030.8843%209.17032%2029.6966%209.17032C28.5092%209.17032%2027.5465%2010.1384%2027.5465%2011.3337C27.5465%2012.5284%2028.5092%2013.4969%2029.6966%2013.4969C30.8843%2013.4969%2031.8467%2012.5284%2031.8467%2011.3337Z'%20fill='white'/%3e%3cpath%20d='M34.6804%2021.6058C34.3584%2019.2376%2034.3032%2017.5154%2029.6685%2017.5154C25.1211%2017.5154%2025.1046%2019.0816%2024.7096%2021.2794L34.6804%2021.6058Z'%20fill='white'/%3e%3cpath%20d='M26%2032C26%2030.8937%2025.1025%2030%2023.9993%2030C22.8942%2030%2022%2030.8937%2022%2032C22%2033.1053%2022.8942%2034%2023.9993%2034C25.1025%2034%2026%2033.1053%2026%2032Z'%20fill='%2317C8BD'/%3e%3cpath%20d='M39%2032C39%2030.8937%2038.1025%2030%2036.9993%2030C35.8942%2030%2035%2030.8937%2035%2032C35%2033.1053%2035.8942%2034%2036.9993%2034C38.1025%2034%2039%2033.1053%2039%2032Z'%20fill='%2317C8BD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_2633'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", pw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1655)'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='%235B41C6'/%3e%3cpath%20d='M33.8213%2046.1095H27.1435V52.8819H33.8213V46.1095Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M48.1175%2019.1401H46.8699V27.1459H48.1175V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M49.7231%2018.0581C49.7231%2016.8318%2048.7257%2015.8376%2047.4932%2015.8376C46.2613%2015.8376%2045.2629%2016.8318%2045.2629%2018.0581C45.2629%2019.285%2046.2613%2020.2786%2047.4932%2020.2786C48.7257%2020.2786%2049.7231%2019.285%2049.7231%2018.0581Z'%20fill='white'/%3e%3cpath%20d='M14.0958%2019.1401H12.8488V27.1459H14.0958V19.1401Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.702%2018.0582C15.702%2016.8318%2014.7046%2015.8376%2013.4724%2015.8376C12.2405%2015.8376%2011.2418%2016.8318%2011.2418%2018.0582C11.2418%2019.2851%2012.2405%2020.2787%2013.4724%2020.2787C14.7046%2020.2787%2015.702%2019.2851%2015.702%2018.0582Z'%20fill='white'/%3e%3cpath%20d='M50.4827%2031.4187C50.4827%2031.3291%2050.4802%2030.2722%2050.475%2030.1838C50.3359%2027.6526%2048.2302%2026.6111%2045.653%2026.6111C43.0763%2026.6111%2040.9707%2028.096%2040.8313%2030.6269C40.8267%2030.7153%2040.8242%2031.3291%2040.8242%2031.4187C40.8242%2031.5047%2040.826%2032.5585%2040.8307%2032.6438C40.9649%2035.1797%2043.073%2036.6698%2045.653%2036.6698C48.2339%2036.6698%2050.3414%2035.6228%2050.4756%2033.0872C50.4802%2033.0012%2050.4827%2031.5047%2050.4827%2031.4187Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M46.627%2031.9094C46.627%2031.6098%2046.6181%2029.5587%2046.6023%2029.2634C46.1372%2020.8013%2039.0976%2015.8376%2030.4828%2015.8376C21.8675%2015.8376%2014.8291%2020.8013%2014.3637%2029.2634C14.3467%2029.5587%2014.3384%2031.6098%2014.3384%2031.9094C14.3384%2032.1983%2014.3461%2034.2383%2014.3615%2034.523C14.8106%2042.9992%2021.8564%2047.9809%2030.4828%2047.9809C39.109%2047.9809%2046.1548%2042.9992%2046.6042%2034.523C46.6193%2034.2383%2046.627%2032.1983%2046.627%2031.9094Z'%20fill='white'/%3e%3cpath%20d='M46.7532%2029.2634C46.2878%2020.8013%2039.2491%2015.8376%2030.6335%2015.8376C30.3296%2015.8376%2030.0295%2015.8456%2029.7291%2015.8579C37.9278%2016.1938%2044.4955%2021.0997%2044.9443%2029.2634C44.9606%2029.5587%2044.969%2031.6098%2044.969%2031.9094C44.969%2032.1983%2044.9619%2034.2383%2044.9464%2034.523C44.5131%2042.7007%2037.9383%2047.6244%2029.7291%2047.9612C30.0295%2047.9735%2030.3296%2047.9809%2030.6335%2047.9809C39.2596%2047.9809%2046.3057%2042.9992%2046.7554%2034.523C46.7708%2034.2383%2046.7779%2032.1983%2046.7779%2031.9094C46.7779%2031.6098%2046.7696%2029.5587%2046.7532%2029.2634Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M20.1412%2031.4187C20.1412%2031.3291%2020.139%2030.7153%2020.1341%2030.6269C19.9947%2028.096%2017.8891%2026.6111%2015.3118%2026.6111C12.7349%2026.6111%2010.6295%2027.8743%2010.4901%2030.4055C10.4852%2030.4939%2010.4827%2031.3291%2010.4827%2031.4187C10.4827%2031.5047%2010.4846%2032.7799%2010.4895%2032.8655C10.6234%2035.4011%2012.7315%2036.6698%2015.3118%2036.6698C17.8924%2036.6698%2020%2035.1797%2020.1341%2032.6438C20.139%2032.5585%2020.1412%2031.5047%2020.1412%2031.4187Z'%20fill='white'/%3e%3cpath%20d='M30.5584%2043.314C25.2513%2043.314%2018.922%2040.807%2018.5374%2033.7453C18.5275%2033.4291%2018.5195%2032.3197%2018.5195%2031.8736C18.5195%2031.4404%2018.5287%2029.7529%2018.5392%2029.4314C18.939%2022.3882%2025.2611%2020.6506%2030.5584%2020.6506C35.856%2020.6506%2042.1785%2022.3882%2042.5773%2029.4311C42.5878%2029.7538%2042.5974%2031.441%2042.5974%2031.8736C42.5974%2032.3044%2042.5884%2033.4303%2042.5792%2033.7472C42.1927%2040.8085%2035.864%2043.314%2030.5584%2043.314Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M26.6666%2032C26.6666%2030.8937%2025.7691%2030%2024.6659%2030C23.5608%2030%2022.6666%2030.8937%2022.6666%2032C22.6666%2033.1053%2023.5608%2034%2024.6659%2034C25.7691%2034%2026.6666%2033.1053%2026.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M37.6666%2032C37.6666%2030.8937%2036.7691%2030%2035.6659%2030C34.5608%2030%2033.6666%2030.8937%2033.6666%2032C33.6666%2033.1053%2034.5608%2034%2035.6659%2034C36.7691%2034%2037.6666%2033.1053%2037.6666%2032Z'%20fill='%235B41C6'/%3e%3cpath%20d='M30.4829%2050.1974C35.7897%2050.1974%2042.119%2052.7038%2042.5036%2059.7655C42.5135%2060.0814%2042.5218%2061.1917%2042.5218%2061.6372C42.5218%2062.0701%2042.5123%2063.7585%2042.5024%2064.0791C42.1021%2071.1223%2035.7799%2072.2596%2030.4829%2072.2596C25.185%2072.2596%2018.8622%2071.123%2018.4636%2064.0803C18.4532%2063.7567%2018.4439%2062.0695%2018.4439%2061.6372C18.4439%2061.2061%2018.4526%2060.0802%2018.4624%2059.7642C18.8486%2052.702%2025.1769%2050.1974%2030.4829%2050.1974Z'%20fill='white'/%3e%3cpath%20d='M49.0578%2018.4398C49.0578%2017.2457%2048.0856%2016.2792%2046.8892%2016.2792C46.5882%2016.2792%2046.3007%2016.3406%2046.0407%2016.4505C46.4315%2016.0716%2046.965%2015.8376%2047.5545%2015.8376C48.7509%2015.8376%2049.723%2016.8042%2049.723%2017.998C49.723%2018.8933%2049.1771%2019.6603%2048.3992%2019.9888C48.8058%2019.5965%2049.0578%2019.0481%2049.0578%2018.4398Z'%20fill='%23E4D8FF'/%3e%3cpath%20d='M15.0371%2018.4398C15.0371%2017.2457%2014.0649%2016.2792%2012.8682%2016.2792C12.5672%2016.2792%2012.28%2016.3406%2012.0197%2016.4505C12.4105%2016.0716%2012.9441%2015.8376%2013.5338%2015.8376C14.7299%2015.8376%2015.7021%2016.8042%2015.7021%2017.998C15.7021%2018.8933%2015.1565%2019.6603%2014.3786%2019.9888C14.7848%2019.5965%2015.0371%2019.0481%2015.0371%2018.4398Z'%20fill='%23E4D8FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1655'%3e%3crect%20x='0.666626'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", hw = "data:image/svg+xml,%3csvg%20width='61'%20height='60'%20viewBox='0%200%2061%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3491_1707)'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='%2341C676'/%3e%3cpath%20d='M34.7918%2043.7001H25.262V50.1142H34.7918V43.7001Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M44.3289%2035.8214C47.4632%2035.8214%2050.0268%2035.0784%2050.0268%2030.8222C50.0268%2026.5976%2047.4632%2025.8232%2044.3289%2025.8232V35.8214Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M12.1643%2033.3777C12.1643%2039.6628%2017.2916%2044.8045%2023.5578%2044.8045H36.4957C42.7625%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7625%2018.6824%2036.4957%2018.6824H23.5578C17.2916%2018.6824%2012.1643%2023.8238%2012.1643%2030.1092V33.3777Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.2625%2038.6511C40.1176%2038.6511%2043.2541%2035.5057%2043.2541%2031.6401C43.2541%2027.7735%2040.1176%2024.6288%2036.2625%2024.6288H23.3247C19.4705%2024.6288%2016.3334%2027.7735%2016.3334%2031.6401C16.3334%2035.5057%2019.4705%2038.6511%2023.3247%2038.6511H36.2625Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M35.0116%2022.9674C35.0116%2019.8248%2034.271%2017.254%2030.0264%2017.254C25.8144%2017.254%2025.0416%2019.8248%2025.0416%2022.9674H35.0116Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M27.8734%2010.9127C27.8734%209.71947%2028.8385%208.75259%2030.0265%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2012.1074%2031.2175%2013.0739%2030.0265%2013.0739C28.8385%2013.0739%2027.8734%2012.1074%2027.8734%2010.9127Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M31.5221%2011.3548C31.5221%2010.1607%2030.5571%209.19412%2029.3694%209.19412C29.0706%209.19412%2028.7855%209.25556%2028.5271%209.36516C28.915%208.98658%2029.4447%208.75259%2030.0298%208.75259C31.2175%208.75259%2032.1826%209.71947%2032.1826%2010.9127C32.1826%2011.8086%2031.6409%2012.5759%2030.8687%2012.9041C31.272%2012.5114%2031.5221%2011.9634%2031.5221%2011.3548Z'%20fill='%23D8FFF2'/%3e%3cpath%20d='M30.7466%2012.4755H29.3079V17.8941H30.7466V12.4755Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M36.4963%2018.6824H33.9094C39.1512%2018.6824%2045.4817%2023.8238%2045.4817%2030.1092V33.3777C45.4817%2039.6628%2039.9154%2044.8045%2033.6473%2044.8045H36.4963C42.7631%2044.8045%2047.8898%2039.6628%2047.8898%2033.3777V30.1092C47.8898%2023.8238%2042.7631%2018.6824%2036.4963%2018.6824Z'%20fill='%23DBFFE9'/%3e%3cpath%20d='M13.9897%2025.9258C11.6977%2026.2399%2010.0269%2027.3867%2010.0269%2030.8222C10.0269%2034.074%2011.5455%2035.2816%2013.6737%2035.6657C14.0613%2035.7355%2014.3498%2025.8766%2013.9897%2025.9258Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M26.3334%2032C26.3334%2030.8937%2025.4359%2030%2024.3328%2030C23.2276%2030%2022.3334%2030.8937%2022.3334%2032C22.3334%2033.1053%2023.2276%2034%2024.3328%2034C25.4359%2034%2026.3334%2033.1053%2026.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M38.3334%2032C38.3334%2030.8937%2037.4359%2030%2036.3328%2030C35.2276%2030%2034.3334%2030.8937%2034.3334%2032C34.3334%2033.1053%2035.2276%2034%2036.3328%2034C37.4359%2034%2038.3334%2033.1053%2038.3334%2032Z'%20fill='%2341C676'/%3e%3cpath%20d='M41.0027%2056.5086C41.0027%2051.3979%2037.1179%2048.2255%2030.0274%2048.2255C22.9933%2048.2255%2019.0515%2051.3979%2019.0515%2056.5086C19.0515%2061.6178%2024.9304%2060.5907%2030.0274%2060.5907C35.1234%2060.5907%2041.0027%2061.6178%2041.0027%2056.5086Z'%20fill='%23FFFCFD'/%3e%3cpath%20d='M38.808%2056.5087C38.808%2056.8363%2038.7839%2057.1386%2038.7373%2057.4175C40.2603%2056.9425%2041.0018%2056.6238%2041.0018%2056.6238C41.0024%2056.5857%2041.0027%2056.5473%2041.0027%2056.5087C41.0027%2052.6943%2038.8388%2049.9598%2034.7933%2048.8179C34.7933%2048.8179%2038.808%2050.1729%2038.808%2056.5087Z'%20fill='%23DBFFE9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3491_1707'%3e%3crect%20x='0.333374'%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", gw = "data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3536_7181)'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%23FFC125'/%3e%3cpath%20d='M33.3384%2045.6643H26.6606V52.4674H33.3384V45.6643Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M47.6346%2018.573H46.387V26.615H47.6346V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M49.2402%2017.4861C49.2402%2016.2542%2048.2428%2015.2556%2047.0103%2015.2556C45.7784%2015.2556%2044.7801%2016.2542%2044.7801%2017.4861C44.7801%2018.7186%2045.7784%2019.7167%2047.0103%2019.7167C48.2428%2019.7167%2049.2402%2018.7186%2049.2402%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M13.613%2018.573H12.366V26.615H13.613V18.573Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M15.2193%2017.4861C15.2193%2016.2542%2014.2218%2015.2556%2012.9896%2015.2556C11.7577%2015.2556%2010.759%2016.2542%2010.759%2017.4861C10.759%2018.7186%2011.7577%2019.7167%2012.9896%2019.7167C14.2218%2019.7167%2015.2193%2018.7186%2015.2193%2017.4861Z'%20fill='white'/%3e%3cpath%20d='M50%2030.9072C50%2030.8171%2049.9975%2029.7555%2049.9923%2029.6667C49.8532%2027.124%2047.7475%2026.0778%2045.1703%2026.0778C42.5937%2026.0778%2040.488%2027.5693%2040.3486%2030.1117C40.344%2030.2005%2040.3415%2030.8171%2040.3415%2030.9072C40.3415%2030.9935%2040.3434%2032.052%2040.348%2032.1378C40.4822%2034.6851%2042.5903%2036.1819%2045.1703%2036.1819C47.7512%2036.1819%2049.8588%2035.1302%2049.9929%2032.5832C49.9975%2032.4968%2050%2030.9935%2050%2030.9072Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M46.1442%2031.4C46.1442%2031.099%2046.1353%2029.0387%2046.1196%2028.742C45.6544%2020.2416%2038.6148%2015.2556%2030.0001%2015.2556C21.3847%2015.2556%2014.3463%2020.2416%2013.8809%2028.742C13.8639%2029.0387%2013.8556%2031.099%2013.8556%2031.4C13.8556%2031.6902%2013.8633%2033.7395%2013.8788%2034.0254C14.3278%2042.5399%2021.3736%2047.5442%2030.0001%2047.5442C38.6262%2047.5442%2045.672%2042.5399%2046.1214%2034.0254C46.1365%2033.7395%2046.1442%2031.6902%2046.1442%2031.4Z'%20fill='white'/%3e%3cpath%20d='M46.2704%2028.742C45.805%2020.2416%2038.7663%2015.2556%2030.1506%2015.2556C29.8468%2015.2556%2029.5467%2015.2636%2029.2463%2015.2759C37.445%2015.6133%2044.0127%2020.5414%2044.4615%2028.742C44.4778%2029.0387%2044.4861%2031.099%2044.4861%2031.4C44.4861%2031.6902%2044.479%2033.7395%2044.4636%2034.0254C44.0303%2042.2401%2037.4555%2047.1861%2029.2463%2047.5244C29.5467%2047.5368%2029.8468%2047.5442%2030.1506%2047.5442C38.7768%2047.5442%2045.8229%2042.5399%2046.2726%2034.0254C46.288%2033.7395%2046.2951%2031.6902%2046.2951%2031.4C46.2951%2031.099%2046.2868%2029.0387%2046.2704%2028.742Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M19.6585%2030.9072C19.6585%2030.8171%2019.6563%2030.2005%2019.6514%2030.1117C19.512%2027.5693%2017.4063%2026.0778%2014.8291%2026.0778C12.2522%2026.0778%2010.1468%2027.3466%2010.0074%2029.8894C10.0025%2029.9782%2010%2030.8171%2010%2030.9072C10%2030.9935%2010.0019%2032.2744%2010.0068%2032.3605C10.1406%2034.9075%2012.2488%2036.1819%2014.8291%2036.1819C17.4097%2036.1819%2019.5172%2034.6851%2019.6514%2032.1378C19.6563%2032.052%2019.6585%2030.9935%2019.6585%2030.9072Z'%20fill='white'/%3e%3cpath%20d='M30%2042.8922C24.6929%2042.8922%2018.3636%2040.3739%2017.979%2033.2803C17.9691%2032.9626%2017.9611%2031.8482%2017.9611%2031.4001C17.9611%2030.9649%2017.9703%2029.2698%2017.9808%2028.9468C18.3806%2021.8717%2024.7027%2020.1263%2030%2020.1263C35.2976%2020.1263%2041.6201%2021.8717%2042.019%2028.9465C42.0294%2029.2707%2042.039%2030.9655%2042.039%2031.4001C42.039%2031.8328%2042.03%2032.9638%2042.0208%2033.2821C41.6343%2040.3754%2035.3056%2042.8922%2030%2042.8922Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M25.7771%2031.8109C25.7771%2030.7644%2024.928%2029.919%2023.8843%2029.919C22.8387%2029.919%2021.9927%2030.7644%2021.9927%2031.8109C21.9927%2032.8565%2022.8387%2033.7028%2023.8843%2033.7028C24.928%2033.7028%2025.7771%2032.8565%2025.7771%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M38.0072%2031.8109C38.0072%2030.7644%2037.1618%2029.919%2036.1153%2029.919C35.0697%2029.919%2034.2234%2030.7644%2034.2234%2031.8109C34.2234%2032.8565%2035.0697%2033.7028%2036.1153%2033.7028C37.1618%2033.7028%2038.0072%2032.8565%2038.0072%2031.8109Z'%20fill='%23FFC125'/%3e%3cpath%20d='M30%2049.7708C35.3069%2049.7708%2041.6362%2052.2885%2042.0208%2059.3821C42.0307%2059.6995%2042.039%2060.8148%2042.039%2061.2623C42.039%2061.6972%2042.0294%2063.3932%2042.0195%2063.7153C41.6192%2070.7903%2035.297%2071.9328%2030%2071.9328C24.7021%2071.9328%2018.3793%2070.791%2017.9808%2063.7165C17.9703%2063.3914%2017.9611%2061.6966%2017.9611%2061.2623C17.9611%2060.8293%2017.9697%2059.6982%2017.9796%2059.3809C18.3657%2052.2867%2024.6941%2049.7708%2030%2049.7708Z'%20fill='white'/%3e%3cpath%20d='M48.575%2017.8695C48.575%2016.67%2047.6028%2015.6991%2046.4064%2015.6991C46.1054%2015.6991%2045.8179%2015.7608%2045.558%2015.8712C45.9487%2015.4906%2046.4823%2015.2556%2047.0717%2015.2556C48.2681%2015.2556%2049.2403%2016.2265%2049.2403%2017.4257C49.2403%2018.325%2048.6944%2019.0955%2047.9165%2019.4255C48.323%2019.0314%2048.575%2018.4805%2048.575%2017.8695Z'%20fill='%23FFF5DD'/%3e%3cpath%20d='M14.5541%2017.8695C14.5541%2016.67%2013.5819%2015.6991%2012.3852%2015.6991C12.0842%2015.6991%2011.797%2015.7608%2011.5367%2015.8712C11.9275%2015.4906%2012.4611%2015.2556%2013.0508%2015.2556C14.2469%2015.2556%2015.2191%2016.2265%2015.2191%2017.4257C15.2191%2018.325%2014.6735%2019.0955%2013.8956%2019.4255C14.3018%2019.0314%2014.5541%2018.4805%2014.5541%2017.8695Z'%20fill='%23FFF5DD'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3536_7181'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", mw = (e) => /* @__PURE__ */ O.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ O.createElement("mask", { id: "mask0_3506_13710", style: { - maskType: "alpha" -}, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ O.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#F1F3F9", stroke: "#D6DCE8", strokeWidth: 2, strokeMiterlimit: 10 })), /* @__PURE__ */ O.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ O.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ O.createElement("path", { d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", fill: "url(#paint0_linear_3506_13710)" })), /* @__PURE__ */ O.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ O.createElement("path", { d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", fill: "#989FB0" }), /* @__PURE__ */ O.createElement("path", { d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("path", { d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", fill: "#ADB6C8" }), /* @__PURE__ */ O.createElement("defs", null, /* @__PURE__ */ O.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ O.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ O.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ O.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ O.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ O.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ O.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ O.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ O.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ O.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))), uA = ({ filters: e, learning: t }) => { - var u; - const [n, o] = ue(t), { error: r, data: i, loading: a, refetch: l } = K0({ - queryFn: () => Ie.get("coach/training", e) - }), s = (c) => { - o((d) => d === c ? void 0 : c); - }; - return /* @__PURE__ */ p.jsx(ut, { direction: "column", className: "learnings", children: a ? /* @__PURE__ */ p.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ p.jsxs(qs, { color: "danger", children: [ - "Error loading learnings: ", - r.message - ] }) : (u = i == null ? void 0 : i.train_docs) != null && u.length ? /* @__PURE__ */ p.jsx("div", { children: i.train_docs.map((c) => /* @__PURE__ */ p.jsx( - dw, + ), + ), + uA = ({ filters: e, learning: t }) => { + var u; + const [n, o] = ue(t), + { + error: r, + data: i, + loading: a, + refetch: l, + } = K0({ + queryFn: () => Ie.get("coach/training", e), + }), + s = (c) => { + o((d) => (d === c ? void 0 : c)); + }; + return /* @__PURE__ */ p.jsx(ut, { + direction: "column", + className: "learnings", + children: a + ? /* @__PURE__ */ p.jsx("p", { children: "Loading learnings..." }) + : r + ? /* @__PURE__ */ p.jsxs(qs, { + color: "danger", + children: ["Error loading learnings: ", r.message], + }) + : (u = i == null ? void 0 : i.train_docs) != null && u.length + ? /* @__PURE__ */ p.jsx("div", { + children: i.train_docs.map((c) => + /* @__PURE__ */ p.jsx( + dw, + { + learning: c, + afterDelete: l, + toggle: s, + openId: n, + }, + c.train_doc_uid, + ), + ), + }) + : /* @__PURE__ */ p.jsxs(ut, { + direction: "column", + className: "align-items-center", + children: [ + /* @__PURE__ */ p.jsx(mw, {}), + /* @__PURE__ */ p.jsx("h4", { + children: "No learnings added yet!", + }), + ], + }), + }); + }, + bw = [ { - learning: c, - afterDelete: l, - toggle: s, - openId: n + name: "Documentation Writer", + avatar: fw, + description: + "AI teammate to write your dbt model, table and column descriptions for you", + availability: [uo.EXTENSION], + key: Jo.DocGen, }, - c.train_doc_uid - )) }) : /* @__PURE__ */ p.jsxs(ut, { direction: "column", className: "align-items-center", children: [ - /* @__PURE__ */ p.jsx(mw, {}), - /* @__PURE__ */ p.jsx("h4", { children: "No learnings added yet!" }) - ] }) }); -}, bw = [ - { - name: "Documentation Writer", - avatar: fw, - description: "AI teammate to write your dbt model, table and column descriptions for you", - availability: [uo.EXTENSION], - key: Jo.DocGen - }, - { - name: "Chart Analyzer", - avatar: pw, - description: "AI teammate to analyze charts, find insights and answer your specific questions", - availability: [uo.SAAS], - key: Jo.ChartBot, - seeInAction: !1 - }, - { - name: "SQL Guru", - avatar: hw, - description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", - availability: [uo.SAAS], - key: Jo.SqlBot + { + name: "Chart Analyzer", + avatar: pw, + description: + "AI teammate to analyze charts, find insights and answer your specific questions", + availability: [uo.SAAS], + key: Jo.ChartBot, + seeInAction: !1, + }, + { + name: "SQL Guru", + avatar: hw, + description: + "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", + availability: [uo.SAAS], + key: Jo.SqlBot, + }, + { + name: "Opportunities Expert", + avatar: gw, + description: + "AI teammate to analyze your spends, costs and find opportunities to save money", + availability: [uo.SAAS], + key: Jo.OpportunitiesBot, + comingSoon: !0, + }, + ], + yw = ({ config: e, client: t, onSelect: n }) => { + const o = async () => await n(e, mi.REQUEST_ACCESS), + { + loading: r, + mutate: i, + data: a, + } = Zi({ + // @ts-ignore + queryFn: o, + }); + return /* @__PURE__ */ p.jsx(j5, { + children: /* @__PURE__ */ p.jsxs(sn, { + children: [ + /* @__PURE__ */ p.jsxs(ut, { + className: "justify-content-between", + children: [ + /* @__PURE__ */ p.jsx(I5, { + alt: "Teammate image", + src: e.avatar, + }), + /* @__PURE__ */ p.jsx("div", { + children: e.availability.map((l) => + /* @__PURE__ */ p.jsxs( + G0, + { + color: "success", + tooltip: "", + className: l, + children: [ + e.comingSoon ? "Coming soon" : "Available", + " in", + " ", + l, + ], + }, + l, + ), + ), + }), + ], + }), + /* @__PURE__ */ p.jsxs(Rn, { + children: [ + /* @__PURE__ */ p.jsx(Er, { tag: "h5", children: e.name }), + /* @__PURE__ */ p.jsx(z5, { tag: "h6" }), + /* @__PURE__ */ p.jsx(H5, { children: e.description }), + /* @__PURE__ */ p.jsxs(ut, { + className: "justify-content-start align-items-center", + children: [ + e.comingSoon + ? /* @__PURE__ */ p.jsxs(p.Fragment, { + children: [ + /* @__PURE__ */ p.jsx(Wi, { + size: "sm", + className: "cursor-pointer", + onClick: i, + color: "primary", + loading: r, + disabled: !!a, + children: "Request Access", + }), + a + ? /* @__PURE__ */ p.jsx("p", { + className: "m-0", + children: "Our team will reach out soon", + }) + : null, + ], + }) + : /* @__PURE__ */ p.jsx(Pe, { + size: "sm", + className: "cursor-pointer", + onClick: () => n(e, mi.VIEW_DETAILS), + tooltip: "", + color: "primary", + children: "View details", + }), + e.seeInAction && + e.availability.includes(uo[t]) && + /* @__PURE__ */ p.jsx(Pe, { + color: "primary", + outline: !0, + size: "sm", + className: "cursor-pointer", + onClick: () => n(e, mi.SEE_IN_ACTION), + tooltip: "", + children: "See in action", + }), + ], + }), + ], + }), + ], + }), + }); }, - { - name: "Opportunities Expert", - avatar: gw, - description: "AI teammate to analyze your spends, costs and find opportunities to save money", - availability: [uo.SAAS], - key: Jo.OpportunitiesBot, - comingSoon: !0 - } -], yw = ({ config: e, client: t, onSelect: n }) => { - const o = async () => await n(e, mi.REQUEST_ACCESS), { loading: r, mutate: i, data: a } = Zi({ - // @ts-ignore - queryFn: o - }); - return /* @__PURE__ */ p.jsx(j5, { children: /* @__PURE__ */ p.jsxs(sn, { children: [ - /* @__PURE__ */ p.jsxs(ut, { className: "justify-content-between", children: [ - /* @__PURE__ */ p.jsx(I5, { alt: "Teammate image", src: e.avatar }), - /* @__PURE__ */ p.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ p.jsxs( - G0, - { - color: "success", - tooltip: "", - className: l, - children: [ - e.comingSoon ? "Coming soon" : "Available", - " in", - " ", - l - ] - }, - l - )) }) - ] }), - /* @__PURE__ */ p.jsxs(Rn, { children: [ - /* @__PURE__ */ p.jsx(Er, { tag: "h5", children: e.name }), - /* @__PURE__ */ p.jsx(z5, { tag: "h6" }), - /* @__PURE__ */ p.jsx(H5, { children: e.description }), - /* @__PURE__ */ p.jsxs(ut, { className: "justify-content-start align-items-center", children: [ - e.comingSoon ? /* @__PURE__ */ p.jsxs(p.Fragment, { children: [ + dA = ({ onSelect: e, client: t }) => + /* @__PURE__ */ p.jsx("div", { + className: "teammates", + children: /* @__PURE__ */ p.jsx(P5, { + children: bw.map((n) => /* @__PURE__ */ p.jsx( - Wi, + yw, { - size: "sm", - className: "cursor-pointer", - onClick: i, - color: "primary", - loading: r, - disabled: !!a, - children: "Request Access" - } + config: n, + client: t, + onSelect: e, + }, + n.name, ), - a ? /* @__PURE__ */ p.jsx("p", { className: "m-0", children: "Our team will reach out soon" }) : null - ] }) : /* @__PURE__ */ p.jsx( - Pe, - { - size: "sm", - className: "cursor-pointer", - onClick: () => n(e, mi.VIEW_DETAILS), - tooltip: "", - color: "primary", - children: "View details" - } ), - e.seeInAction && e.availability.includes(uo[t]) && /* @__PURE__ */ p.jsx( - Pe, - { - color: "primary", - outline: !0, - size: "sm", - className: "cursor-pointer", - onClick: () => n(e, mi.SEE_IN_ACTION), - tooltip: "", - children: "See in action" - } - ) - ] }) - ] }) - ] }) }); -}, dA = ({ onSelect: e, client: t }) => /* @__PURE__ */ p.jsx("div", { className: "teammates", children: /* @__PURE__ */ p.jsx(P5, { children: bw.map((n) => /* @__PURE__ */ p.jsx( - yw, - { - config: n, - client: t, - onSelect: e - }, - n.name -)) }) }), Cw = "_chatbot_1ti7a_1", vw = "_chatTriggerLink_1ti7a_1", xw = "_statusUpdates_1ti7a_51", i1 = { - chatbot: Cw, - chatTriggerLink: vw, - statusUpdates: xw -}, ww = ({ text: e }) => { - const { sendMessage: t } = Y5(); - return /* @__PURE__ */ p.jsx(Pe, { onClick: () => t(e), color: "link", className: i1.chatTriggerLink, children: e }, e); -}, Ew = ({ onFollowupRequest: e, sessionId: t }) => { - const { data: n } = K0({ - // @ts-expect-error valid - queryFn: () => e(t) - }); - return n != null && n.length ? /* @__PURE__ */ p.jsx(ut, { direction: "column", children: n.map((o) => /* @__PURE__ */ p.jsx(ww, { text: o }, o)) }) : null; -}, Ku = ["http", "https", "mailto", "tel"]; + }), + }), + Cw = "_chatbot_1ti7a_1", + vw = "_chatTriggerLink_1ti7a_1", + xw = "_statusUpdates_1ti7a_51", + i1 = { + chatbot: Cw, + chatTriggerLink: vw, + statusUpdates: xw, + }, + ww = ({ text: e }) => { + const { sendMessage: t } = Y5(); + return /* @__PURE__ */ p.jsx( + Pe, + { + onClick: () => t(e), + color: "link", + className: i1.chatTriggerLink, + children: e, + }, + e, + ); + }, + Ew = ({ onFollowupRequest: e, sessionId: t }) => { + const { data: n } = K0({ + // @ts-expect-error valid + queryFn: () => e(t), + }); + return n != null && n.length + ? /* @__PURE__ */ p.jsx(ut, { + direction: "column", + children: n.map((o) => /* @__PURE__ */ p.jsx(ww, { text: o }, o)), + }) + : null; + }, + Ku = ["http", "https", "mailto", "tel"]; function Sw(e) { - const t = (e || "").trim(), n = t.charAt(0); - if (n === "#" || n === "/") - return t; + const t = (e || "").trim(), + n = t.charAt(0); + if (n === "#" || n === "/") return t; const o = t.indexOf(":"); - if (o === -1) - return t; + if (o === -1) return t; let r = -1; for (; ++r < Ku.length; ) { const i = Ku[r]; - if (o === i.length && t.slice(0, i.length).toLowerCase() === i) - return t; + if (o === i.length && t.slice(0, i.length).toLowerCase() === i) return t; } - return r = t.indexOf("?"), r !== -1 && o > r || (r = t.indexOf("#"), r !== -1 && o > r) ? t : "javascript:void(0)"; + return ( + (r = t.indexOf("?")), + (r !== -1 && o > r) || ((r = t.indexOf("#")), r !== -1 && o > r) + ? t + : "javascript:void(0)" + ); } /*! * Determine if an object is a Buffer @@ -25471,12 +36952,25 @@ function Sw(e) { * @author Feross Aboukhadijeh * @license MIT */ -var kw = function(t) { - return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t); +var kw = function (t) { + return ( + t != null && + t.constructor != null && + typeof t.constructor.isBuffer == "function" && + t.constructor.isBuffer(t) + ); }; const Wf = /* @__PURE__ */ un(kw); function nr(e) { - return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Xu(e.position) : "start" in e || "end" in e ? Xu(e) : "line" in e || "column" in e ? Is(e) : ""; + return !e || typeof e != "object" + ? "" + : "position" in e || "type" in e + ? Xu(e.position) + : "start" in e || "end" in e + ? Xu(e) + : "line" in e || "column" in e + ? Is(e) + : ""; } function Is(e) { return Qu(e && e.line) + ":" + Qu(e && e.column); @@ -25512,13 +37006,38 @@ class Pt extends Error { // @ts-expect-error: we always follows the structure of `position`. start: { line: null, column: null }, // @ts-expect-error: " - end: { line: null, column: null } + end: { line: null, column: null }, }; - if (super(), typeof n == "string" && (o = n, n = void 0), typeof o == "string") { + if ( + (super(), + typeof n == "string" && ((o = n), (n = void 0)), + typeof o == "string") + ) { const a = o.indexOf(":"); - a === -1 ? r[1] = o : (r[0] = o.slice(0, a), r[1] = o.slice(a + 1)); - } - n && ("type" in n || "position" in n ? n.position && (i = n.position) : "start" in n || "end" in n ? i = n : ("line" in n || "column" in n) && (i.start = n)), this.name = nr(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = i.start.line, this.column = i.start.column, this.position = i, this.source = r[0], this.ruleId = r[1], this.file, this.actual, this.expected, this.url, this.note; + a === -1 ? (r[1] = o) : ((r[0] = o.slice(0, a)), (r[1] = o.slice(a + 1))); + } + n && + ("type" in n || "position" in n + ? n.position && (i = n.position) + : "start" in n || "end" in n + ? (i = n) + : ("line" in n || "column" in n) && (i.start = n)), + (this.name = nr(n) || "1:1"), + (this.message = typeof t == "object" ? t.message : t), + (this.stack = ""), + typeof t == "object" && t.stack && (this.stack = t.stack), + (this.reason = this.message), + this.fatal, + (this.line = i.start.line), + (this.column = i.start.column), + (this.position = i), + (this.source = r[0]), + (this.ruleId = r[1]), + this.file, + this.actual, + this.expected, + this.url, + this.note; } } Pt.prototype.file = ""; @@ -25537,7 +37056,10 @@ function _w(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); Nr(e); - let n = 0, o = -1, r = e.length, i; + let n = 0, + o = -1, + r = e.length, + i; if (t === void 0 || t.length === 0 || t.length > e.length) { for (; r--; ) if (e.charCodeAt(r) === 47) { @@ -25545,12 +37067,12 @@ function _w(e, t) { n = r + 1; break; } - } else o < 0 && (i = !0, o = r + 1); + } else o < 0 && ((i = !0), (o = r + 1)); return o < 0 ? "" : e.slice(n, o); } - if (t === e) - return ""; - let a = -1, l = t.length - 1; + if (t === e) return ""; + let a = -1, + l = t.length - 1; for (; r--; ) if (e.charCodeAt(r) === 47) { if (i) { @@ -25558,13 +37080,18 @@ function _w(e, t) { break; } } else - a < 0 && (i = !0, a = r + 1), l > -1 && (e.charCodeAt(r) === t.charCodeAt(l--) ? l < 0 && (o = r) : (l = -1, o = a)); - return n === o ? o = a : o < 0 && (o = e.length), e.slice(n, o); + a < 0 && ((i = !0), (a = r + 1)), + l > -1 && + (e.charCodeAt(r) === t.charCodeAt(l--) + ? l < 0 && (o = r) + : ((l = -1), (o = a))); + return n === o ? (o = a) : o < 0 && (o = e.length), e.slice(n, o); } function Aw(e) { - if (Nr(e), e.length === 0) - return "."; - let t = -1, n = e.length, o; + if ((Nr(e), e.length === 0)) return "."; + let t = -1, + n = e.length, + o; for (; --n; ) if (e.charCodeAt(n) === 47) { if (o) { @@ -25572,11 +37099,22 @@ function Aw(e) { break; } } else o || (o = !0); - return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t); + return t < 0 + ? e.charCodeAt(0) === 47 + ? "/" + : "." + : t === 1 && e.charCodeAt(0) === 47 + ? "//" + : e.slice(0, t); } function Mw(e) { Nr(e); - let t = e.length, n = -1, o = 0, r = -1, i = 0, a; + let t = e.length, + n = -1, + o = 0, + r = -1, + i = 0, + a; for (; t--; ) { const l = e.charCodeAt(t); if (l === 47) { @@ -25586,14 +37124,19 @@ function Mw(e) { } continue; } - n < 0 && (a = !0, n = t + 1), l === 46 ? r < 0 ? r = t : i !== 1 && (i = 1) : r > -1 && (i = -1); + n < 0 && ((a = !0), (n = t + 1)), + l === 46 ? (r < 0 ? (r = t) : i !== 1 && (i = 1)) : r > -1 && (i = -1); } - return r < 0 || n < 0 || // We saw a non-dot character immediately before the dot. - i === 0 || // The (right-most) trimmed path component is exactly `..`. - i === 1 && r === n - 1 && r === o + 1 ? "" : e.slice(r, n); + return r < 0 || + n < 0 || // We saw a non-dot character immediately before the dot. + i === 0 || // The (right-most) trimmed path component is exactly `..`. + (i === 1 && r === n - 1 && r === o + 1) + ? "" + : e.slice(r, n); } function Tw(...e) { - let t = -1, n; + let t = -1, + n; for (; ++t < e.length; ) Nr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); return n === void 0 ? "." : Ow(n); @@ -25602,75 +37145,99 @@ function Ow(e) { Nr(e); const t = e.charCodeAt(0) === 47; let n = Nw(e, !t); - return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n; + return ( + n.length === 0 && !t && (n = "."), + n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), + t ? "/" + n : n + ); } function Nw(e, t) { - let n = "", o = 0, r = -1, i = 0, a = -1, l, s; + let n = "", + o = 0, + r = -1, + i = 0, + a = -1, + l, + s; for (; ++a <= e.length; ) { - if (a < e.length) - l = e.charCodeAt(a); + if (a < e.length) l = e.charCodeAt(a); else { - if (l === 47) - break; + if (l === 47) break; l = 47; } if (l === 47) { - if (!(r === a - 1 || i === 1)) if (r !== a - 1 && i === 2) { - if (n.length < 2 || o !== 2 || n.charCodeAt(n.length - 1) !== 46 || n.charCodeAt(n.length - 2) !== 46) { - if (n.length > 2) { - if (s = n.lastIndexOf("/"), s !== n.length - 1) { - s < 0 ? (n = "", o = 0) : (n = n.slice(0, s), o = n.length - 1 - n.lastIndexOf("/")), r = a, i = 0; + if (!(r === a - 1 || i === 1)) + if (r !== a - 1 && i === 2) { + if ( + n.length < 2 || + o !== 2 || + n.charCodeAt(n.length - 1) !== 46 || + n.charCodeAt(n.length - 2) !== 46 + ) { + if (n.length > 2) { + if (((s = n.lastIndexOf("/")), s !== n.length - 1)) { + s < 0 + ? ((n = ""), (o = 0)) + : ((n = n.slice(0, s)), + (o = n.length - 1 - n.lastIndexOf("/"))), + (r = a), + (i = 0); + continue; + } + } else if (n.length > 0) { + (n = ""), (o = 0), (r = a), (i = 0); continue; } - } else if (n.length > 0) { - n = "", o = 0, r = a, i = 0; - continue; } - } - t && (n = n.length > 0 ? n + "/.." : "..", o = 2); - } else - n.length > 0 ? n += "/" + e.slice(r + 1, a) : n = e.slice(r + 1, a), o = a - r - 1; - r = a, i = 0; - } else l === 46 && i > -1 ? i++ : i = -1; + t && ((n = n.length > 0 ? n + "/.." : ".."), (o = 2)); + } else + n.length > 0 + ? (n += "/" + e.slice(r + 1, a)) + : (n = e.slice(r + 1, a)), + (o = a - r - 1); + (r = a), (i = 0); + } else l === 46 && i > -1 ? i++ : (i = -1); } return n; } function Nr(e) { if (typeof e != "string") - throw new TypeError( - "Path must be a string. Received " + JSON.stringify(e) - ); + throw new TypeError("Path must be a string. Received " + JSON.stringify(e)); } const Dw = { cwd: Lw }; function Lw() { return "/"; } function zs(e) { - return e !== null && typeof e == "object" && // @ts-expect-error: indexable. - e.href && // @ts-expect-error: indexable. - e.origin; + return ( + e !== null && + typeof e == "object" && // @ts-expect-error: indexable. + e.href && // @ts-expect-error: indexable. + e.origin + ); } function Fw(e) { - if (typeof e == "string") - e = new URL(e); + if (typeof e == "string") e = new URL(e); else if (!zs(e)) { const t = new TypeError( - 'The "path" argument must be of type string or an instance of URL. Received `' + e + "`" + 'The "path" argument must be of type string or an instance of URL. Received `' + + e + + "`", ); - throw t.code = "ERR_INVALID_ARG_TYPE", t; + throw ((t.code = "ERR_INVALID_ARG_TYPE"), t); } if (e.protocol !== "file:") { const t = new TypeError("The URL must be of scheme file"); - throw t.code = "ERR_INVALID_URL_SCHEME", t; + throw ((t.code = "ERR_INVALID_URL_SCHEME"), t); } return Rw(e); } function Rw(e) { if (e.hostname !== "") { const o = new TypeError( - 'File URL host must be "localhost" or empty on darwin' + 'File URL host must be "localhost" or empty on darwin', ); - throw o.code = "ERR_INVALID_FILE_URL_HOST", o; + throw ((o.code = "ERR_INVALID_FILE_URL_HOST"), o); } const t = e.pathname; let n = -1; @@ -25679,9 +37246,9 @@ function Rw(e) { const o = t.charCodeAt(n + 2); if (o === 70 || o === 102) { const r = new TypeError( - "File URL path must not include encoded / characters" + "File URL path must not include encoded / characters", ); - throw r.code = "ERR_INVALID_FILE_URL_PATH", r; + throw ((r.code = "ERR_INVALID_FILE_URL_PATH"), r); } } return decodeURIComponent(t); @@ -25712,15 +37279,31 @@ class Zf { */ constructor(t) { let n; - t ? typeof t == "string" || jw(t) ? n = { value: t } : zs(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Dw.cwd(), this.value, this.stored, this.result, this.map; + t + ? typeof t == "string" || jw(t) + ? (n = { value: t }) + : zs(t) + ? (n = { path: t }) + : (n = t) + : (n = {}), + (this.data = {}), + (this.messages = []), + (this.history = []), + (this.cwd = Dw.cwd()), + this.value, + this.stored, + this.result, + this.map; let o = -1; for (; ++o < Vl.length; ) { const i = Vl[o]; - i in n && n[i] !== void 0 && n[i] !== null && (this[i] = i === "history" ? [...n[i]] : n[i]); + i in n && + n[i] !== void 0 && + n[i] !== null && + (this[i] = i === "history" ? [...n[i]] : n[i]); } let r; - for (r in n) - Vl.includes(r) || (this[r] = n[r]); + for (r in n) Vl.includes(r) || (this[r] = n[r]); } /** * Get the full path (example: `'~/index.min.js'`). @@ -25740,7 +37323,9 @@ class Zf { * @param {string | URL} path */ set path(t) { - zs(t) && (t = Fw(t)), Wl(t, "path"), this.path !== t && this.history.push(t); + zs(t) && (t = Fw(t)), + Wl(t, "path"), + this.path !== t && this.history.push(t); } /** * Get the parent path (example: `'~'`). @@ -25754,7 +37339,7 @@ class Zf { * Cannot be set if there’s no `path` yet. */ set dirname(t) { - Ju(this.basename, "dirname"), this.path = nn.join(t || "", this.basename); + Ju(this.basename, "dirname"), (this.path = nn.join(t || "", this.basename)); } /** * Get the basename (including extname) (example: `'index.min.js'`). @@ -25770,7 +37355,9 @@ class Zf { * Cannot be nullified (use `file.path = file.dirname` instead). */ set basename(t) { - Wl(t, "basename"), $l(t, "basename"), this.path = nn.join(this.dirname || "", t); + Wl(t, "basename"), + $l(t, "basename"), + (this.path = nn.join(this.dirname || "", t)); } /** * Get the extname (including dot) (example: `'.js'`). @@ -25786,7 +37373,7 @@ class Zf { * Cannot be set if there’s no `path` yet. */ set extname(t) { - if ($l(t, "extname"), Ju(this.dirname, "extname"), t) { + if (($l(t, "extname"), Ju(this.dirname, "extname"), t)) { if (t.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`"); if (t.includes(".", 1)) @@ -25798,7 +37385,9 @@ class Zf { * Get the stem (basename w/o extname) (example: `'index.min'`). */ get stem() { - return typeof this.path == "string" ? nn.basename(this.path, this.extname) : void 0; + return typeof this.path == "string" + ? nn.basename(this.path, this.extname) + : void 0; } /** * Set the stem (basename w/o extname) (example: `'index.min'`). @@ -25808,7 +37397,9 @@ class Zf { * Cannot be nullified (use `file.path = file.dirname` instead). */ set stem(t) { - Wl(t, "stem"), $l(t, "stem"), this.path = nn.join(this.dirname || "", t + (this.extname || "")); + Wl(t, "stem"), + $l(t, "stem"), + (this.path = nn.join(this.dirname || "", t + (this.extname || ""))); } /** * Serialize the file. @@ -25840,7 +37431,12 @@ class Zf { */ message(t, n, o) { const r = new Pt(t, n, o); - return this.path && (r.name = this.path + ":" + r.name, r.file = this.path), r.fatal = !1, this.messages.push(r), r; + return ( + this.path && ((r.name = this.path + ":" + r.name), (r.file = this.path)), + (r.fatal = !1), + this.messages.push(r), + r + ); } /** * Create an info message associated with the file. @@ -25860,7 +37456,7 @@ class Zf { */ info(t, n, o) { const r = this.message(t, n, o); - return r.fatal = null, r; + return (r.fatal = null), r; } /** * Create a fatal error associated with the file. @@ -25884,73 +37480,111 @@ class Zf { */ fail(t, n, o) { const r = this.message(t, n, o); - throw r.fatal = !0, r; + throw ((r.fatal = !0), r); } } function $l(e, t) { if (e && e.includes(nn.sep)) throw new Error( - "`" + t + "` cannot be a path: did not expect `" + nn.sep + "`" + "`" + t + "` cannot be a path: did not expect `" + nn.sep + "`", ); } function Wl(e, t) { - if (!e) - throw new Error("`" + t + "` cannot be empty"); + if (!e) throw new Error("`" + t + "` cannot be empty"); } function Ju(e, t) { - if (!e) - throw new Error("Setting `" + t + "` requires `path` to be set too"); + if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); } function jw(e) { return Wf(e); } function e0(e) { - if (e) - throw e; -} -var bi = Object.prototype.hasOwnProperty, Uf = Object.prototype.toString, t0 = Object.defineProperty, n0 = Object.getOwnPropertyDescriptor, o0 = function(t) { - return typeof Array.isArray == "function" ? Array.isArray(t) : Uf.call(t) === "[object Array]"; -}, r0 = function(t) { - if (!t || Uf.call(t) !== "[object Object]") - return !1; - var n = bi.call(t, "constructor"), o = t.constructor && t.constructor.prototype && bi.call(t.constructor.prototype, "isPrototypeOf"); - if (t.constructor && !n && !o) - return !1; - var r; - for (r in t) - ; - return typeof r > "u" || bi.call(t, r); -}, i0 = function(t, n) { - t0 && n.name === "__proto__" ? t0(t, n.name, { - enumerable: !0, - configurable: !0, - value: n.newValue, - writable: !0 - }) : t[n.name] = n.newValue; -}, a0 = function(t, n) { - if (n === "__proto__") - if (bi.call(t, n)) { - if (n0) - return n0(t, n).value; - } else return; - return t[n]; -}, Iw = function e() { - var t, n, o, r, i, a, l = arguments[0], s = 1, u = arguments.length, c = !1; - for (typeof l == "boolean" && (c = l, l = arguments[1] || {}, s = 2), (l == null || typeof l != "object" && typeof l != "function") && (l = {}); s < u; ++s) - if (t = arguments[s], t != null) - for (n in t) - o = a0(l, n), r = a0(t, n), l !== r && (c && r && (r0(r) || (i = o0(r))) ? (i ? (i = !1, a = o && o0(o) ? o : []) : a = o && r0(o) ? o : {}, i0(l, { name: n, newValue: e(c, a, r) })) : typeof r < "u" && i0(l, { name: n, newValue: r })); - return l; -}; + if (e) throw e; +} +var bi = Object.prototype.hasOwnProperty, + Uf = Object.prototype.toString, + t0 = Object.defineProperty, + n0 = Object.getOwnPropertyDescriptor, + o0 = function (t) { + return typeof Array.isArray == "function" + ? Array.isArray(t) + : Uf.call(t) === "[object Array]"; + }, + r0 = function (t) { + if (!t || Uf.call(t) !== "[object Object]") return !1; + var n = bi.call(t, "constructor"), + o = + t.constructor && + t.constructor.prototype && + bi.call(t.constructor.prototype, "isPrototypeOf"); + if (t.constructor && !n && !o) return !1; + var r; + for (r in t); + return typeof r > "u" || bi.call(t, r); + }, + i0 = function (t, n) { + t0 && n.name === "__proto__" + ? t0(t, n.name, { + enumerable: !0, + configurable: !0, + value: n.newValue, + writable: !0, + }) + : (t[n.name] = n.newValue); + }, + a0 = function (t, n) { + if (n === "__proto__") + if (bi.call(t, n)) { + if (n0) return n0(t, n).value; + } else return; + return t[n]; + }, + Iw = function e() { + var t, + n, + o, + r, + i, + a, + l = arguments[0], + s = 1, + u = arguments.length, + c = !1; + for ( + typeof l == "boolean" && ((c = l), (l = arguments[1] || {}), (s = 2)), + (l == null || (typeof l != "object" && typeof l != "function")) && + (l = {}); + s < u; + ++s + ) + if (((t = arguments[s]), t != null)) + for (n in t) + (o = a0(l, n)), + (r = a0(t, n)), + l !== r && + (c && r && (r0(r) || (i = o0(r))) + ? (i + ? ((i = !1), (a = o && o0(o) ? o : [])) + : (a = o && r0(o) ? o : {}), + i0(l, { name: n, newValue: e(c, a, r) })) + : typeof r < "u" && i0(l, { name: n, newValue: r })); + return l; + }; const l0 = /* @__PURE__ */ un(Iw); function Hs(e) { - if (typeof e != "object" || e === null) - return !1; + if (typeof e != "object" || e === null) return !1; const t = Object.getPrototypeOf(e); - return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); + return ( + (t === null || + t === Object.prototype || + Object.getPrototypeOf(t) === null) && + !(Symbol.toStringTag in e) && + !(Symbol.iterator in e) + ); } function zw() { - const e = [], t = { run: n, use: o }; + const e = [], + t = { run: n, use: o }; return t; function n(...r) { let i = -1; @@ -25967,14 +37601,12 @@ function zw() { } for (; ++d < r.length; ) (u[d] === null || u[d] === void 0) && (u[d] = r[d]); - r = u, c ? Hw(c, l)(...u) : a(null, ...u); + (r = u), c ? Hw(c, l)(...u) : a(null, ...u); } } function o(r) { if (typeof r != "function") - throw new TypeError( - "Expected `middelware` to be a function, not " + r - ); + throw new TypeError("Expected `middelware` to be a function, not " + r); return e.push(r), t; } } @@ -25988,113 +37620,149 @@ function Hw(e, t) { try { s = e.apply(this, a); } catch (u) { - const c = ( + const c = /** @type {Error} */ - u - ); - if (l && n) - throw c; + u; + if (l && n) throw c; return r(c); } - l || (s && s.then && typeof s.then == "function" ? s.then(i, r) : s instanceof Error ? r(s) : i(s)); + l || + (s && s.then && typeof s.then == "function" + ? s.then(i, r) + : s instanceof Error + ? r(s) + : i(s)); } function r(a, ...l) { - n || (n = !0, t(a, ...l)); + n || ((n = !0), t(a, ...l)); } function i(a) { r(null, a); } } -const Pw = Yf().freeze(), qf = {}.hasOwnProperty; +const Pw = Yf().freeze(), + qf = {}.hasOwnProperty; function Yf() { - const e = zw(), t = []; - let n = {}, o, r = -1; - return i.data = a, i.Parser = void 0, i.Compiler = void 0, i.freeze = l, i.attachers = t, i.use = s, i.parse = u, i.stringify = c, i.run = d, i.runSync = h, i.process = f, i.processSync = m, i; + const e = zw(), + t = []; + let n = {}, + o, + r = -1; + return ( + (i.data = a), + (i.Parser = void 0), + (i.Compiler = void 0), + (i.freeze = l), + (i.attachers = t), + (i.use = s), + (i.parse = u), + (i.stringify = c), + (i.run = d), + (i.runSync = h), + (i.process = f), + (i.processSync = m), + i + ); function i() { const b = Yf(); let y = -1; - for (; ++y < t.length; ) - b.use(...t[y]); + for (; ++y < t.length; ) b.use(...t[y]); return b.data(l0(!0, {}, n)), b; } function a(b, y) { - return typeof b == "string" ? arguments.length === 2 ? (ql("data", o), n[b] = y, i) : qf.call(n, b) && n[b] || null : b ? (ql("data", o), n = b, i) : n; + return typeof b == "string" + ? arguments.length === 2 + ? (ql("data", o), (n[b] = y), i) + : (qf.call(n, b) && n[b]) || null + : b + ? (ql("data", o), (n = b), i) + : n; } function l() { - if (o) - return i; + if (o) return i; for (; ++r < t.length; ) { const [b, ...y] = t[r]; - if (y[0] === !1) - continue; + if (y[0] === !1) continue; y[0] === !0 && (y[0] = void 0); const g = b.call(i, ...y); typeof g == "function" && e.use(g); } - return o = !0, r = Number.POSITIVE_INFINITY, i; + return (o = !0), (r = Number.POSITIVE_INFINITY), i; } function s(b, ...y) { let g; - if (ql("use", o), b != null) if (typeof b == "function") - w(b, ...y); - else if (typeof b == "object") - Array.isArray(b) ? E(b) : C(b); - else - throw new TypeError("Expected usable value, not `" + b + "`"); + if ((ql("use", o), b != null)) + if (typeof b == "function") w(b, ...y); + else if (typeof b == "object") Array.isArray(b) ? E(b) : C(b); + else throw new TypeError("Expected usable value, not `" + b + "`"); return g && (n.settings = Object.assign(n.settings || {}, g)), i; function x(S) { - if (typeof S == "function") - w(S); + if (typeof S == "function") w(S); else if (typeof S == "object") if (Array.isArray(S)) { const [_, ...A] = S; w(_, ...A); - } else - C(S); - else - throw new TypeError("Expected usable value, not `" + S + "`"); + } else C(S); + else throw new TypeError("Expected usable value, not `" + S + "`"); } function C(S) { E(S.plugins), S.settings && (g = Object.assign(g || {}, S.settings)); } function E(S) { let _ = -1; - if (S != null) if (Array.isArray(S)) - for (; ++_ < S.length; ) { - const A = S[_]; - x(A); - } - else - throw new TypeError("Expected a list of plugins, not `" + S + "`"); + if (S != null) + if (Array.isArray(S)) + for (; ++_ < S.length; ) { + const A = S[_]; + x(A); + } + else throw new TypeError("Expected a list of plugins, not `" + S + "`"); } function w(S, _) { - let A = -1, R; + let A = -1, + R; for (; ++A < t.length; ) if (t[A][0] === S) { R = t[A]; break; } - R ? (Hs(R[1]) && Hs(_) && (_ = l0(!0, R[1], _)), R[1] = _) : t.push([...arguments]); + R + ? (Hs(R[1]) && Hs(_) && (_ = l0(!0, R[1], _)), (R[1] = _)) + : t.push([...arguments]); } } function u(b) { i.freeze(); - const y = qo(b), g = i.Parser; - return Zl("parse", g), s0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y); + const y = qo(b), + g = i.Parser; + return ( + Zl("parse", g), + s0(g, "parse") ? new g(String(y), y).parse() : g(String(y), y) + ); } function c(b, y) { i.freeze(); - const g = qo(y), x = i.Compiler; - return Ul("stringify", x), c0(b), s0(x, "compile") ? new x(b, g).compile() : x(b, g); + const g = qo(y), + x = i.Compiler; + return ( + Ul("stringify", x), + c0(b), + s0(x, "compile") ? new x(b, g).compile() : x(b, g) + ); } function d(b, y, g) { - if (c0(b), i.freeze(), !g && typeof y == "function" && (g = y, y = void 0), !g) + if ( + (c0(b), + i.freeze(), + !g && typeof y == "function" && ((g = y), (y = void 0)), + !g) + ) return new Promise(x); x(null, g); function x(C, E) { e.run(b, qo(y), w); function w(S, _, A) { - _ = _ || b, S ? E(S) : C ? C(_) : g(null, _, A); + (_ = _ || b), S ? E(S) : C ? C(_) : g(null, _, A); } } } @@ -26102,21 +37770,20 @@ function Yf() { let g, x; return i.run(b, y, C), u0("runSync", "run", x), g; function C(E, w) { - e0(E), g = w, x = !0; + e0(E), (g = w), (x = !0); } } function f(b, y) { - if (i.freeze(), Zl("process", i.Parser), Ul("process", i.Compiler), !y) + if ((i.freeze(), Zl("process", i.Parser), Ul("process", i.Compiler), !y)) return new Promise(g); g(null, y); function g(x, C) { const E = qo(b); i.run(i.parse(E), E, (S, _, A) => { - if (S || !_ || !A) - w(S); + if (S || !_ || !A) w(S); else { const R = i.stringify(_, A); - R == null || ($w(R) ? A.value = R : A.result = R), w(S, A); + R == null || ($w(R) ? (A.value = R) : (A.result = R)), w(S, A); } }); function w(S, _) { @@ -26130,24 +37797,24 @@ function Yf() { const g = qo(b); return i.process(g, x), u0("processSync", "process", y), g; function x(C) { - y = !0, e0(C); + (y = !0), e0(C); } } } function s0(e, t) { - return typeof e == "function" && // Prototypes do exist. - // type-coverage:ignore-next-line - e.prototype && // A function with keys in its prototype is probably a constructor. - // Classes’ prototype methods are not enumerable, so we check if some value - // exists in the prototype. - // type-coverage:ignore-next-line - (Bw(e.prototype) || t in e.prototype); + return ( + typeof e == "function" && // Prototypes do exist. + // type-coverage:ignore-next-line + e.prototype && // A function with keys in its prototype is probably a constructor. + // Classes’ prototype methods are not enumerable, so we check if some value + // exists in the prototype. + // type-coverage:ignore-next-line + (Bw(e.prototype) || t in e.prototype) + ); } function Bw(e) { let t; - for (t in e) - if (qf.call(e, t)) - return !0; + for (t in e) if (qf.call(e, t)) return !0; return !1; } function Zl(e, t) { @@ -26161,7 +37828,9 @@ function Ul(e, t) { function ql(e, t) { if (t) throw new Error( - "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`." + "Cannot call `" + + e + + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.", ); } function c0(e) { @@ -26170,9 +37839,7 @@ function c0(e) { } function u0(e, t, n) { if (!n) - throw new Error( - "`" + e + "` finished async. Use `" + t + "` instead" - ); + throw new Error("`" + e + "` finished async. Use `" + t + "` instead"); } function qo(e) { return Vw(e) ? e : new Zf(e); @@ -26185,25 +37852,23 @@ function $w(e) { } const Ww = {}; function Zw(e, t) { - const n = Ww, o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; + const n = Ww, + o = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, + r = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; return Gf(e, o, r); } function Gf(e, t, n) { if (Uw(e)) { - if ("value" in e) - return e.type === "html" && !n ? "" : e.value; - if (t && "alt" in e && e.alt) - return e.alt; - if ("children" in e) - return d0(e.children, t, n); + if ("value" in e) return e.type === "html" && !n ? "" : e.value; + if (t && "alt" in e && e.alt) return e.alt; + if ("children" in e) return d0(e.children, t, n); } return Array.isArray(e) ? d0(e, t, n) : ""; } function d0(e, t, n) { const o = []; let r = -1; - for (; ++r < e.length; ) - o[r] = Gf(e[r], t, n); + for (; ++r < e.length; ) o[r] = Gf(e[r], t, n); return o.join(""); } function Uw(e) { @@ -26211,12 +37876,21 @@ function Uw(e) { } function cn(e, t, n, o) { const r = e.length; - let i = 0, a; - if (t < 0 ? t = -t > r ? 0 : r + t : t = t > r ? r : t, n = n > 0 ? n : 0, o.length < 1e4) - a = Array.from(o), a.unshift(t, n), e.splice(...a); + let i = 0, + a; + if ( + (t < 0 ? (t = -t > r ? 0 : r + t) : (t = t > r ? r : t), + (n = n > 0 ? n : 0), + o.length < 1e4) + ) + (a = Array.from(o)), a.unshift(t, n), e.splice(...a); else for (n && e.splice(t, n); i < o.length; ) - a = o.slice(i, i + 1e4), a.unshift(t, 0), e.splice(...a), i += 1e4, t += 1e4; + (a = o.slice(i, i + 1e4)), + a.unshift(t, 0), + e.splice(...a), + (i += 1e4), + (t += 1e4); } function Ft(e, t) { return e.length > 0 ? (cn(e, e.length, 0, t), e) : t; @@ -26225,14 +37899,14 @@ const f0 = {}.hasOwnProperty; function qw(e) { const t = {}; let n = -1; - for (; ++n < e.length; ) - Yw(t, e[n]); + for (; ++n < e.length; ) Yw(t, e[n]); return t; } function Yw(e, t) { let n; for (n in t) { - const r = (f0.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n]; + const r = (f0.call(e, n) ? e[n] : void 0) || (e[n] = {}), + i = t[n]; let a; if (i) for (a in i) { @@ -26241,7 +37915,7 @@ function Yw(e, t) { Gw( // @ts-expect-error Looks like a list. r[a], - Array.isArray(l) ? l : l ? [l] : [] + Array.isArray(l) ? l : l ? [l] : [], ); } } @@ -26249,11 +37923,14 @@ function Yw(e, t) { function Gw(e, t) { let n = -1; const o = []; - for (; ++n < t.length; ) - (t[n].add === "after" ? e : o).push(t[n]); + for (; ++n < t.length; ) (t[n].add === "after" ? e : o).push(t[n]); cn(e, 0, 0, o); } -const Kw = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, an = In(/[A-Za-z]/), _t = In(/[\dA-Za-z]/), Xw = In(/[#-'*+\--9=?A-Z^-~]/); +const Kw = + /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, + an = In(/[A-Za-z]/), + _t = In(/[\dA-Za-z]/), + Xw = In(/[#-'*+\--9=?A-Z^-~]/); function Ps(e) { return ( // Special whitespace codes (which have negative values), C0 and Control @@ -26261,7 +37938,9 @@ function Ps(e) { e !== null && (e < 32 || e === 127) ); } -const Bs = In(/\d/), Qw = In(/[\dA-Fa-f]/), Jw = In(/[!-/:-@[-`{-~]/); +const Bs = In(/\d/), + Qw = In(/[\dA-Fa-f]/), + Jw = In(/[!-/:-@[-`{-~]/); function he(e) { return e !== null && e < -2; } @@ -26271,7 +37950,8 @@ function wt(e) { function Oe(e) { return e === -2 || e === -1 || e === 32; } -const eE = In(Kw), tE = In(/\s/); +const eE = In(Kw), + tE = In(/\s/); function In(e) { return t; function t(n) { @@ -26290,14 +37970,10 @@ function He(e, t, n, o) { } } const nE = { - tokenize: oE + tokenize: oE, }; function oE(e) { - const t = e.attempt( - this.parser.constructs.contentInitial, - o, - r - ); + const t = e.attempt(this.parser.constructs.contentInitial, o, r); let n; return t; function o(l) { @@ -26305,7 +37981,12 @@ function oE(e) { e.consume(l); return; } - return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), He(e, t, "linePrefix"); + return ( + e.enter("lineEnding"), + e.consume(l), + e.exit("lineEnding"), + He(e, t, "linePrefix") + ); } function r(l) { return e.enter("paragraph"), i(l); @@ -26313,9 +37994,9 @@ function oE(e) { function i(l) { const s = e.enter("chunkText", { contentType: "text", - previous: n + previous: n, }); - return n && (n.next = s), n = s, a(l); + return n && (n.next = s), (n = s), a(l); } function a(l) { if (l === null) { @@ -26326,30 +38007,32 @@ function oE(e) { } } const rE = { - tokenize: iE -}, p0 = { - tokenize: aE -}; + tokenize: iE, + }, + p0 = { + tokenize: aE, + }; function iE(e) { - const t = this, n = []; - let o = 0, r, i, a; + const t = this, + n = []; + let o = 0, + r, + i, + a; return l; function l(C) { if (o < n.length) { const E = n[o]; - return t.containerState = E[1], e.attempt( - E[0].continuation, - s, - u - )(C); + return (t.containerState = E[1]), e.attempt(E[0].continuation, s, u)(C); } return u(C); } function s(C) { - if (o++, t.containerState._closeFlow) { - t.containerState._closeFlow = void 0, r && x(); + if ((o++, t.containerState._closeFlow)) { + (t.containerState._closeFlow = void 0), r && x(); const E = t.events.length; - let w = E, S; + let w = E, + S; for (; w--; ) if (t.events[w][0] === "exit" && t.events[w][1].type === "chunkFlow") { S = t.events[w][1].end; @@ -26358,42 +38041,31 @@ function iE(e) { g(o); let _ = E; for (; _ < t.events.length; ) - t.events[_][1].end = Object.assign({}, S), _++; - return cn( - t.events, - w + 1, - 0, - t.events.slice(E) - ), t.events.length = _, u(C); + (t.events[_][1].end = Object.assign({}, S)), _++; + return ( + cn(t.events, w + 1, 0, t.events.slice(E)), (t.events.length = _), u(C) + ); } return l(C); } function u(C) { if (o === n.length) { - if (!r) - return h(C); - if (r.currentConstruct && r.currentConstruct.concrete) - return m(C); + if (!r) return h(C); + if (r.currentConstruct && r.currentConstruct.concrete) return m(C); t.interrupt = !!(r.currentConstruct && !r._gfmTableDynamicInterruptHack); } - return t.containerState = {}, e.check( - p0, - c, - d - )(C); + return (t.containerState = {}), e.check(p0, c, d)(C); } function c(C) { return r && x(), g(o), h(C); } function d(C) { - return t.parser.lazy[t.now().line] = o !== n.length, a = t.now().offset, m(C); + return ( + (t.parser.lazy[t.now().line] = o !== n.length), (a = t.now().offset), m(C) + ); } function h(C) { - return t.containerState = {}, e.attempt( - p0, - f, - m - )(C); + return (t.containerState = {}), e.attempt(p0, f, m)(C); } function f(C) { return o++, n.push([t.currentConstruct, t.containerState]), h(C); @@ -26403,33 +38075,53 @@ function iE(e) { r && x(), g(0), e.consume(C); return; } - return r = r || t.parser.flow(t.now()), e.enter("chunkFlow", { - contentType: "flow", - previous: i, - _tokenizer: r - }), b(C); + return ( + (r = r || t.parser.flow(t.now())), + e.enter("chunkFlow", { + contentType: "flow", + previous: i, + _tokenizer: r, + }), + b(C) + ); } function b(C) { if (C === null) { y(e.exit("chunkFlow"), !0), g(0), e.consume(C); return; } - return he(C) ? (e.consume(C), y(e.exit("chunkFlow")), o = 0, t.interrupt = void 0, l) : (e.consume(C), b); + return he(C) + ? (e.consume(C), + y(e.exit("chunkFlow")), + (o = 0), + (t.interrupt = void 0), + l) + : (e.consume(C), b); } function y(C, E) { const w = t.sliceStream(C); - if (E && w.push(null), C.previous = i, i && (i.next = C), i = C, r.defineSkip(C.start), r.write(w), t.parser.lazy[C.start.line]) { + if ( + (E && w.push(null), + (C.previous = i), + i && (i.next = C), + (i = C), + r.defineSkip(C.start), + r.write(w), + t.parser.lazy[C.start.line]) + ) { let S = r.events.length; for (; S--; ) if ( // The token starts before the line ending… r.events[S][1].start.offset < a && // …and either is not ended yet… (!r.events[S][1].end || // …or ends after it. - r.events[S][1].end.offset > a) + r.events[S][1].end.offset > a) ) return; const _ = t.events.length; - let A = _, R, L; + let A = _, + R, + L; for (; A--; ) if (t.events[A][0] === "exit" && t.events[A][1].type === "chunkFlow") { if (R) { @@ -26439,25 +38131,23 @@ function iE(e) { R = !0; } for (g(o), S = _; S < t.events.length; ) - t.events[S][1].end = Object.assign({}, L), S++; - cn( - t.events, - A + 1, - 0, - t.events.slice(_) - ), t.events.length = S; + (t.events[S][1].end = Object.assign({}, L)), S++; + cn(t.events, A + 1, 0, t.events.slice(_)), (t.events.length = S); } } function g(C) { let E = n.length; for (; E-- > C; ) { const w = n[E]; - t.containerState = w[1], w[0].exit.call(t, e); + (t.containerState = w[1]), w[0].exit.call(t, e); } n.length = C; } function x() { - r.write([null]), i = void 0, r = void 0, t.containerState._closeFlow = void 0; + r.write([null]), + (i = void 0), + (r = void 0), + (t.containerState._closeFlow = void 0); } } function aE(e, t, n) { @@ -26465,80 +38155,125 @@ function aE(e, t, n) { e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", - this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 + this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4, ); } function h0(e) { - if (e === null || wt(e) || tE(e)) - return 1; - if (eE(e)) - return 2; + if (e === null || wt(e) || tE(e)) return 1; + if (eE(e)) return 2; } function a1(e, t, n) { const o = []; let r = -1; for (; ++r < e.length; ) { const i = e[r].resolveAll; - i && !o.includes(i) && (t = i(t, n), o.push(i)); + i && !o.includes(i) && ((t = i(t, n)), o.push(i)); } return t; } const Vs = { name: "attention", tokenize: sE, - resolveAll: lE + resolveAll: lE, }; function lE(e, t) { - let n = -1, o, r, i, a, l, s, u, c; + let n = -1, + o, + r, + i, + a, + l, + s, + u, + c; for (; ++n < e.length; ) - if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) { + if ( + e[n][0] === "enter" && + e[n][1].type === "attentionSequence" && + e[n][1]._close + ) { for (o = n; o--; ) - if (e[o][0] === "exit" && e[o][1].type === "attentionSequence" && e[o][1]._open && // If the markers are the same: - t.sliceSerialize(e[o][1]).charCodeAt(0) === t.sliceSerialize(e[n][1]).charCodeAt(0)) { - if ((e[o][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[o][1].end.offset - e[o][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3)) - continue; - s = e[o][1].end.offset - e[o][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1; - const d = Object.assign({}, e[o][1].end), h = Object.assign({}, e[n][1].start); - g0(d, -s), g0(h, s), a = { - type: s > 1 ? "strongSequence" : "emphasisSequence", - start: d, - end: Object.assign({}, e[o][1].end) - }, l = { - type: s > 1 ? "strongSequence" : "emphasisSequence", - start: Object.assign({}, e[n][1].start), - end: h - }, i = { - type: s > 1 ? "strongText" : "emphasisText", - start: Object.assign({}, e[o][1].end), - end: Object.assign({}, e[n][1].start) - }, r = { - type: s > 1 ? "strong" : "emphasis", - start: Object.assign({}, a.start), - end: Object.assign({}, l.end) - }, e[o][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), u = [], e[o][1].end.offset - e[o][1].start.offset && (u = Ft(u, [ - ["enter", e[o][1], t], - ["exit", e[o][1], t] - ])), u = Ft(u, [ - ["enter", r, t], - ["enter", a, t], - ["exit", a, t], - ["enter", i, t] - ]), u = Ft( - u, - a1( - t.parser.constructs.insideSpan.null, - e.slice(o + 1, n), - t + if ( + e[o][0] === "exit" && + e[o][1].type === "attentionSequence" && + e[o][1]._open && // If the markers are the same: + t.sliceSerialize(e[o][1]).charCodeAt(0) === + t.sliceSerialize(e[n][1]).charCodeAt(0) + ) { + if ( + (e[o][1]._close || e[n][1]._open) && + (e[n][1].end.offset - e[n][1].start.offset) % 3 && + !( + (e[o][1].end.offset - + e[o][1].start.offset + + e[n][1].end.offset - + e[n][1].start.offset) % + 3 ) - ), u = Ft(u, [ - ["exit", i, t], - ["enter", l, t], - ["exit", l, t], - ["exit", r, t] - ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Ft(u, [ - ["enter", e[n][1], t], - ["exit", e[n][1], t] - ])) : c = 0, cn(e, o - 1, n - o + 3, u), n = o + u.length - c - 2; + ) + continue; + s = + e[o][1].end.offset - e[o][1].start.offset > 1 && + e[n][1].end.offset - e[n][1].start.offset > 1 + ? 2 + : 1; + const d = Object.assign({}, e[o][1].end), + h = Object.assign({}, e[n][1].start); + g0(d, -s), + g0(h, s), + (a = { + type: s > 1 ? "strongSequence" : "emphasisSequence", + start: d, + end: Object.assign({}, e[o][1].end), + }), + (l = { + type: s > 1 ? "strongSequence" : "emphasisSequence", + start: Object.assign({}, e[n][1].start), + end: h, + }), + (i = { + type: s > 1 ? "strongText" : "emphasisText", + start: Object.assign({}, e[o][1].end), + end: Object.assign({}, e[n][1].start), + }), + (r = { + type: s > 1 ? "strong" : "emphasis", + start: Object.assign({}, a.start), + end: Object.assign({}, l.end), + }), + (e[o][1].end = Object.assign({}, a.start)), + (e[n][1].start = Object.assign({}, l.end)), + (u = []), + e[o][1].end.offset - e[o][1].start.offset && + (u = Ft(u, [ + ["enter", e[o][1], t], + ["exit", e[o][1], t], + ])), + (u = Ft(u, [ + ["enter", r, t], + ["enter", a, t], + ["exit", a, t], + ["enter", i, t], + ])), + (u = Ft( + u, + a1(t.parser.constructs.insideSpan.null, e.slice(o + 1, n), t), + )), + (u = Ft(u, [ + ["exit", i, t], + ["enter", l, t], + ["exit", l, t], + ["exit", r, t], + ])), + e[n][1].end.offset - e[n][1].start.offset + ? ((c = 2), + (u = Ft(u, [ + ["enter", e[n][1], t], + ["exit", e[n][1], t], + ]))) + : (c = 0), + cn(e, o - 1, n - o + 3, u), + (n = o + u.length - c - 2); break; } } @@ -26547,43 +38282,71 @@ function lE(e, t) { return e; } function sE(e, t) { - const n = this.parser.constructs.attentionMarkers.null, o = this.previous, r = h0(o); + const n = this.parser.constructs.attentionMarkers.null, + o = this.previous, + r = h0(o); let i; return a; function a(s) { - return i = s, e.enter("attentionSequence"), l(s); + return (i = s), e.enter("attentionSequence"), l(s); } function l(s) { - if (s === i) - return e.consume(s), l; - const u = e.exit("attentionSequence"), c = h0(s), d = !c || c === 2 && r || n.includes(s), h = !r || r === 2 && c || n.includes(o); - return u._open = !!(i === 42 ? d : d && (r || !h)), u._close = !!(i === 42 ? h : h && (c || !d)), t(s); + if (s === i) return e.consume(s), l; + const u = e.exit("attentionSequence"), + c = h0(s), + d = !c || (c === 2 && r) || n.includes(s), + h = !r || (r === 2 && c) || n.includes(o); + return ( + (u._open = !!(i === 42 ? d : d && (r || !h))), + (u._close = !!(i === 42 ? h : h && (c || !d))), + t(s) + ); } } function g0(e, t) { - e.column += t, e.offset += t, e._bufferIndex += t; + (e.column += t), (e.offset += t), (e._bufferIndex += t); } const cE = { name: "autolink", - tokenize: uE + tokenize: uE, }; function uE(e, t, n) { let o = 0; return r; function r(f) { - return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), i; + return ( + e.enter("autolink"), + e.enter("autolinkMarker"), + e.consume(f), + e.exit("autolinkMarker"), + e.enter("autolinkProtocol"), + i + ); } function i(f) { return an(f) ? (e.consume(f), a) : u(f); } function a(f) { - return f === 43 || f === 45 || f === 46 || _t(f) ? (o = 1, l(f)) : u(f); + return f === 43 || f === 45 || f === 46 || _t(f) ? ((o = 1), l(f)) : u(f); } function l(f) { - return f === 58 ? (e.consume(f), o = 0, s) : (f === 43 || f === 45 || f === 46 || _t(f)) && o++ < 32 ? (e.consume(f), l) : (o = 0, u(f)); + return f === 58 + ? (e.consume(f), (o = 0), s) + : (f === 43 || f === 45 || f === 46 || _t(f)) && o++ < 32 + ? (e.consume(f), l) + : ((o = 0), u(f)); } function s(f) { - return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || Ps(f) ? n(f) : (e.consume(f), s); + return f === 62 + ? (e.exit("autolinkProtocol"), + e.enter("autolinkMarker"), + e.consume(f), + e.exit("autolinkMarker"), + e.exit("autolink"), + t) + : f === null || f === 32 || f === 60 || Ps(f) + ? n(f) + : (e.consume(f), s); } function u(f) { return f === 64 ? (e.consume(f), c) : Xw(f) ? (e.consume(f), u) : n(f); @@ -26592,7 +38355,16 @@ function uE(e, t, n) { return _t(f) ? d(f) : n(f); } function d(f) { - return f === 46 ? (e.consume(f), o = 0, c) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : h(f); + return f === 46 + ? (e.consume(f), (o = 0), c) + : f === 62 + ? ((e.exit("autolinkProtocol").type = "autolinkEmail"), + e.enter("autolinkMarker"), + e.consume(f), + e.exit("autolinkMarker"), + e.exit("autolink"), + t) + : h(f); } function h(f) { if ((f === 45 || _t(f)) && o++ < 63) { @@ -26604,7 +38376,7 @@ function uE(e, t, n) { } const ua = { tokenize: dE, - partial: !0 + partial: !0, }; function dE(e, t, n) { return o; @@ -26619,9 +38391,9 @@ const Kf = { name: "blockQuote", tokenize: fE, continuation: { - tokenize: pE + tokenize: pE, }, - exit: hE + exit: hE, }; function fE(e, t, n) { const o = this; @@ -26629,26 +38401,45 @@ function fE(e, t, n) { function r(a) { if (a === 62) { const l = o.containerState; - return l.open || (e.enter("blockQuote", { - _container: !0 - }), l.open = !0), e.enter("blockQuotePrefix"), e.enter("blockQuoteMarker"), e.consume(a), e.exit("blockQuoteMarker"), i; + return ( + l.open || + (e.enter("blockQuote", { + _container: !0, + }), + (l.open = !0)), + e.enter("blockQuotePrefix"), + e.enter("blockQuoteMarker"), + e.consume(a), + e.exit("blockQuoteMarker"), + i + ); } return n(a); } function i(a) { - return Oe(a) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(a), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(a)); + return Oe(a) + ? (e.enter("blockQuotePrefixWhitespace"), + e.consume(a), + e.exit("blockQuotePrefixWhitespace"), + e.exit("blockQuotePrefix"), + t) + : (e.exit("blockQuotePrefix"), t(a)); } } function pE(e, t, n) { const o = this; return r; function r(a) { - return Oe(a) ? He( - e, - i, - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(a) : i(a); + return Oe(a) + ? He( + e, + i, + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") + ? void 0 + : 4, + )(a) + : i(a); } function i(a) { return e.attempt(Kf, t, n)(a); @@ -26659,15 +38450,27 @@ function hE(e) { } const Xf = { name: "characterEscape", - tokenize: gE + tokenize: gE, }; function gE(e, t, n) { return o; function o(i) { - return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(i), e.exit("escapeMarker"), r; + return ( + e.enter("characterEscape"), + e.enter("escapeMarker"), + e.consume(i), + e.exit("escapeMarker"), + r + ); } function r(i) { - return Jw(i) ? (e.enter("characterEscapeValue"), e.consume(i), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(i); + return Jw(i) + ? (e.enter("characterEscapeValue"), + e.consume(i), + e.exit("characterEscapeValue"), + e.exit("characterEscape"), + t) + : n(i); } } const m0 = document.createElement("i"); @@ -26675,73 +38478,141 @@ function l1(e) { const t = "&" + e + ";"; m0.innerHTML = t; const n = m0.textContent; - return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n; + return (n.charCodeAt(n.length - 1) === 59 && e !== "semi") || n === t + ? !1 + : n; } const Qf = { name: "characterReference", - tokenize: mE + tokenize: mE, }; function mE(e, t, n) { const o = this; - let r = 0, i, a; + let r = 0, + i, + a; return l; function l(d) { - return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), s; + return ( + e.enter("characterReference"), + e.enter("characterReferenceMarker"), + e.consume(d), + e.exit("characterReferenceMarker"), + s + ); } function s(d) { - return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), i = 31, a = _t, c(d)); + return d === 35 + ? (e.enter("characterReferenceMarkerNumeric"), + e.consume(d), + e.exit("characterReferenceMarkerNumeric"), + u) + : (e.enter("characterReferenceValue"), (i = 31), (a = _t), c(d)); } function u(d) { - return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, a = Qw, c) : (e.enter("characterReferenceValue"), i = 7, a = Bs, c(d)); + return d === 88 || d === 120 + ? (e.enter("characterReferenceMarkerHexadecimal"), + e.consume(d), + e.exit("characterReferenceMarkerHexadecimal"), + e.enter("characterReferenceValue"), + (i = 6), + (a = Qw), + c) + : (e.enter("characterReferenceValue"), (i = 7), (a = Bs), c(d)); } function c(d) { if (d === 59 && r) { const h = e.exit("characterReferenceValue"); - return a === _t && !l1(o.sliceSerialize(h)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t); + return a === _t && !l1(o.sliceSerialize(h)) + ? n(d) + : (e.enter("characterReferenceMarker"), + e.consume(d), + e.exit("characterReferenceMarker"), + e.exit("characterReference"), + t); } return a(d) && r++ < i ? (e.consume(d), c) : n(d); } } const b0 = { - tokenize: yE, - partial: !0 -}, y0 = { - name: "codeFenced", - tokenize: bE, - concrete: !0 -}; -function bE(e, t, n) { - const o = this, r = { - tokenize: w, - partial: !0 + tokenize: yE, + partial: !0, + }, + y0 = { + name: "codeFenced", + tokenize: bE, + concrete: !0, }; - let i = 0, a = 0, l; +function bE(e, t, n) { + const o = this, + r = { + tokenize: w, + partial: !0, + }; + let i = 0, + a = 0, + l; return s; function s(S) { return u(S); } function u(S) { const _ = o.events[o.events.length - 1]; - return i = _ && _[1].type === "linePrefix" ? _[2].sliceSerialize(_[1], !0).length : 0, l = S, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(S); + return ( + (i = + _ && _[1].type === "linePrefix" + ? _[2].sliceSerialize(_[1], !0).length + : 0), + (l = S), + e.enter("codeFenced"), + e.enter("codeFencedFence"), + e.enter("codeFencedFenceSequence"), + c(S) + ); } function c(S) { - return S === l ? (a++, e.consume(S), c) : a < 3 ? n(S) : (e.exit("codeFencedFenceSequence"), Oe(S) ? He(e, d, "whitespace")(S) : d(S)); + return S === l + ? (a++, e.consume(S), c) + : a < 3 + ? n(S) + : (e.exit("codeFencedFenceSequence"), + Oe(S) ? He(e, d, "whitespace")(S) : d(S)); } function d(S) { - return S === null || he(S) ? (e.exit("codeFencedFence"), o.interrupt ? t(S) : e.check(b0, b, E)(S)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { - contentType: "string" - }), h(S)); + return S === null || he(S) + ? (e.exit("codeFencedFence"), o.interrupt ? t(S) : e.check(b0, b, E)(S)) + : (e.enter("codeFencedFenceInfo"), + e.enter("chunkString", { + contentType: "string", + }), + h(S)); } function h(S) { - return S === null || he(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(S)) : Oe(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), He(e, f, "whitespace")(S)) : S === 96 && S === l ? n(S) : (e.consume(S), h); + return S === null || he(S) + ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(S)) + : Oe(S) + ? (e.exit("chunkString"), + e.exit("codeFencedFenceInfo"), + He(e, f, "whitespace")(S)) + : S === 96 && S === l + ? n(S) + : (e.consume(S), h); } function f(S) { - return S === null || he(S) ? d(S) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { - contentType: "string" - }), m(S)); + return S === null || he(S) + ? d(S) + : (e.enter("codeFencedFenceMeta"), + e.enter("chunkString", { + contentType: "string", + }), + m(S)); } function m(S) { - return S === null || he(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(S)) : S === 96 && S === l ? n(S) : (e.consume(S), m); + return S === null || he(S) + ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(S)) + : S === 96 && S === l + ? n(S) + : (e.consume(S), m); } function b(S) { return e.attempt(r, E, y)(S); @@ -26750,18 +38621,17 @@ function bE(e, t, n) { return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), g; } function g(S) { - return i > 0 && Oe(S) ? He( - e, - x, - "linePrefix", - i + 1 - )(S) : x(S); + return i > 0 && Oe(S) ? He(e, x, "linePrefix", i + 1)(S) : x(S); } function x(S) { - return S === null || he(S) ? e.check(b0, b, E)(S) : (e.enter("codeFlowValue"), C(S)); + return S === null || he(S) + ? e.check(b0, b, E)(S) + : (e.enter("codeFlowValue"), C(S)); } function C(S) { - return S === null || he(S) ? (e.exit("codeFlowValue"), x(S)) : (e.consume(S), C); + return S === null || he(S) + ? (e.exit("codeFlowValue"), x(S)) + : (e.consume(S), C); } function E(S) { return e.exit("codeFenced"), t(S); @@ -26773,18 +38643,30 @@ function bE(e, t, n) { return S.enter("lineEnding"), S.consume(N), S.exit("lineEnding"), j; } function j(N) { - return S.enter("codeFencedFence"), Oe(N) ? He( - S, - P, - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(N) : P(N); + return ( + S.enter("codeFencedFence"), + Oe(N) + ? He( + S, + P, + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") + ? void 0 + : 4, + )(N) + : P(N) + ); } function P(N) { return N === l ? (S.enter("codeFencedFenceSequence"), V(N)) : A(N); } function V(N) { - return N === l ? (R++, S.consume(N), V) : R >= a ? (S.exit("codeFencedFenceSequence"), Oe(N) ? He(S, k, "whitespace")(N) : k(N)) : A(N); + return N === l + ? (R++, S.consume(N), V) + : R >= a + ? (S.exit("codeFencedFenceSequence"), + Oe(N) ? He(S, k, "whitespace")(N) : k(N)) + : A(N); } function k(N) { return N === null || he(N) ? (S.exit("codeFencedFence"), _(N)) : A(N); @@ -26795,19 +38677,22 @@ function yE(e, t, n) { const o = this; return r; function r(a) { - return a === null ? n(a) : (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i); + return a === null + ? n(a) + : (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i); } function i(a) { return o.parser.lazy[o.now().line] ? n(a) : t(a); } } const Yl = { - name: "codeIndented", - tokenize: vE -}, CE = { - tokenize: xE, - partial: !0 -}; + name: "codeIndented", + tokenize: vE, + }, + CE = { + tokenize: xE, + partial: !0, + }; function vE(e, t, n) { const o = this; return r; @@ -26816,13 +38701,23 @@ function vE(e, t, n) { } function i(u) { const c = o.events[o.events.length - 1]; - return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? a(u) : n(u); + return c && + c[1].type === "linePrefix" && + c[2].sliceSerialize(c[1], !0).length >= 4 + ? a(u) + : n(u); } function a(u) { - return u === null ? s(u) : he(u) ? e.attempt(CE, a, s)(u) : (e.enter("codeFlowValue"), l(u)); + return u === null + ? s(u) + : he(u) + ? e.attempt(CE, a, s)(u) + : (e.enter("codeFlowValue"), l(u)); } function l(u) { - return u === null || he(u) ? (e.exit("codeFlowValue"), a(u)) : (e.consume(u), l); + return u === null || he(u) + ? (e.exit("codeFlowValue"), a(u)) + : (e.consume(u), l); } function s(u) { return e.exit("codeIndented"), t(u); @@ -26832,102 +38727,216 @@ function xE(e, t, n) { const o = this; return r; function r(a) { - return o.parser.lazy[o.now().line] ? n(a) : he(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), r) : He(e, i, "linePrefix", 5)(a); + return o.parser.lazy[o.now().line] + ? n(a) + : he(a) + ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), r) + : He(e, i, "linePrefix", 5)(a); } function i(a) { const l = o.events[o.events.length - 1]; - return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : he(a) ? r(a) : n(a); + return l && + l[1].type === "linePrefix" && + l[2].sliceSerialize(l[1], !0).length >= 4 + ? t(a) + : he(a) + ? r(a) + : n(a); } } const wE = { name: "codeText", tokenize: kE, resolve: EE, - previous: SE + previous: SE, }; function EE(e) { - let t = e.length - 4, n = 3, o, r; - if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) { + let t = e.length - 4, + n = 3, + o, + r; + if ( + (e[n][1].type === "lineEnding" || e[n][1].type === "space") && + (e[t][1].type === "lineEnding" || e[t][1].type === "space") + ) { for (o = n; ++o < t; ) if (e[o][1].type === "codeTextData") { - e[n][1].type = "codeTextPadding", e[t][1].type = "codeTextPadding", n += 2, t -= 2; + (e[n][1].type = "codeTextPadding"), + (e[t][1].type = "codeTextPadding"), + (n += 2), + (t -= 2); break; } } for (o = n - 1, t++; ++o <= t; ) - r === void 0 ? o !== t && e[o][1].type !== "lineEnding" && (r = o) : (o === t || e[o][1].type === "lineEnding") && (e[r][1].type = "codeTextData", o !== r + 2 && (e[r][1].end = e[o - 1][1].end, e.splice(r + 2, o - r - 2), t -= o - r - 2, o = r + 2), r = void 0); + r === void 0 + ? o !== t && e[o][1].type !== "lineEnding" && (r = o) + : (o === t || e[o][1].type === "lineEnding") && + ((e[r][1].type = "codeTextData"), + o !== r + 2 && + ((e[r][1].end = e[o - 1][1].end), + e.splice(r + 2, o - r - 2), + (t -= o - r - 2), + (o = r + 2)), + (r = void 0)); return e; } function SE(e) { - return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape"; + return ( + e !== 96 || + this.events[this.events.length - 1][1].type === "characterEscape" + ); } function kE(e, t, n) { - let o = 0, r, i; + let o = 0, + r, + i; return a; function a(d) { return e.enter("codeText"), e.enter("codeTextSequence"), l(d); } function l(d) { - return d === 96 ? (e.consume(d), o++, l) : (e.exit("codeTextSequence"), s(d)); + return d === 96 + ? (e.consume(d), o++, l) + : (e.exit("codeTextSequence"), s(d)); } function s(d) { - return d === null ? n(d) : d === 32 ? (e.enter("space"), e.consume(d), e.exit("space"), s) : d === 96 ? (i = e.enter("codeTextSequence"), r = 0, c(d)) : he(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), s) : (e.enter("codeTextData"), u(d)); + return d === null + ? n(d) + : d === 32 + ? (e.enter("space"), e.consume(d), e.exit("space"), s) + : d === 96 + ? ((i = e.enter("codeTextSequence")), (r = 0), c(d)) + : he(d) + ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), s) + : (e.enter("codeTextData"), u(d)); } function u(d) { - return d === null || d === 32 || d === 96 || he(d) ? (e.exit("codeTextData"), s(d)) : (e.consume(d), u); + return d === null || d === 32 || d === 96 || he(d) + ? (e.exit("codeTextData"), s(d)) + : (e.consume(d), u); } function c(d) { - return d === 96 ? (e.consume(d), r++, c) : r === o ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (i.type = "codeTextData", u(d)); + return d === 96 + ? (e.consume(d), r++, c) + : r === o + ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) + : ((i.type = "codeTextData"), u(d)); } } function Jf(e) { const t = {}; - let n = -1, o, r, i, a, l, s, u; + let n = -1, + o, + r, + i, + a, + l, + s, + u; for (; ++n < e.length; ) { - for (; n in t; ) - n = t[n]; - if (o = e[n], n && o[1].type === "chunkFlow" && e[n - 1][1].type === "listItemPrefix" && (s = o[1]._tokenizer.events, i = 0, i < s.length && s[i][1].type === "lineEndingBlank" && (i += 2), i < s.length && s[i][1].type === "content")) + for (; n in t; ) n = t[n]; + if ( + ((o = e[n]), + n && + o[1].type === "chunkFlow" && + e[n - 1][1].type === "listItemPrefix" && + ((s = o[1]._tokenizer.events), + (i = 0), + i < s.length && s[i][1].type === "lineEndingBlank" && (i += 2), + i < s.length && s[i][1].type === "content")) + ) for (; ++i < s.length && s[i][1].type !== "content"; ) - s[i][1].type === "chunkText" && (s[i][1]._isInFirstContentOfListItem = !0, i++); + s[i][1].type === "chunkText" && + ((s[i][1]._isInFirstContentOfListItem = !0), i++); if (o[0] === "enter") - o[1].contentType && (Object.assign(t, _E(e, n)), n = t[n], u = !0); + o[1].contentType && (Object.assign(t, _E(e, n)), (n = t[n]), (u = !0)); else if (o[1]._container) { - for (i = n, r = void 0; i-- && (a = e[i], a[1].type === "lineEnding" || a[1].type === "lineEndingBlank"); ) - a[0] === "enter" && (r && (e[r][1].type = "lineEndingBlank"), a[1].type = "lineEnding", r = i); - r && (o[1].end = Object.assign({}, e[r][1].start), l = e.slice(r, n), l.unshift(o), cn(e, r, n - r + 1, l)); + for ( + i = n, r = void 0; + i-- && + ((a = e[i]), + a[1].type === "lineEnding" || a[1].type === "lineEndingBlank"); + + ) + a[0] === "enter" && + (r && (e[r][1].type = "lineEndingBlank"), + (a[1].type = "lineEnding"), + (r = i)); + r && + ((o[1].end = Object.assign({}, e[r][1].start)), + (l = e.slice(r, n)), + l.unshift(o), + cn(e, r, n - r + 1, l)); } } return !u; } function _E(e, t) { - const n = e[t][1], o = e[t][2]; + const n = e[t][1], + o = e[t][2]; let r = t - 1; - const i = [], a = n._tokenizer || o.parser[n.contentType](n.start), l = a.events, s = [], u = {}; - let c, d, h = -1, f = n, m = 0, b = 0; + const i = [], + a = n._tokenizer || o.parser[n.contentType](n.start), + l = a.events, + s = [], + u = {}; + let c, + d, + h = -1, + f = n, + m = 0, + b = 0; const y = [b]; for (; f; ) { - for (; e[++r][1] !== f; ) - ; - i.push(r), f._tokenizer || (c = o.sliceStream(f), f.next || c.push(null), d && a.defineSkip(f.start), f._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(c), f._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), d = f, f = f.next; + for (; e[++r][1] !== f; ); + i.push(r), + f._tokenizer || + ((c = o.sliceStream(f)), + f.next || c.push(null), + d && a.defineSkip(f.start), + f._isInFirstContentOfListItem && + (a._gfmTasklistFirstContentOfListItem = !0), + a.write(c), + f._isInFirstContentOfListItem && + (a._gfmTasklistFirstContentOfListItem = void 0)), + (d = f), + (f = f.next); } for (f = n; ++h < l.length; ) // Find a void token that includes a break. - l[h][0] === "exit" && l[h - 1][0] === "enter" && l[h][1].type === l[h - 1][1].type && l[h][1].start.line !== l[h][1].end.line && (b = h + 1, y.push(b), f._tokenizer = void 0, f.previous = void 0, f = f.next); - for (a.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : y.pop(), h = y.length; h--; ) { - const g = l.slice(y[h], y[h + 1]), x = i.pop(); + l[h][0] === "exit" && + l[h - 1][0] === "enter" && + l[h][1].type === l[h - 1][1].type && + l[h][1].start.line !== l[h][1].end.line && + ((b = h + 1), + y.push(b), + (f._tokenizer = void 0), + (f.previous = void 0), + (f = f.next)); + for ( + a.events = [], + f ? ((f._tokenizer = void 0), (f.previous = void 0)) : y.pop(), + h = y.length; + h--; + + ) { + const g = l.slice(y[h], y[h + 1]), + x = i.pop(); s.unshift([x, x + g.length - 1]), cn(e, x, 2, g); } for (h = -1; ++h < s.length; ) - u[m + s[h][0]] = m + s[h][1], m += s[h][1] - s[h][0] - 1; + (u[m + s[h][0]] = m + s[h][1]), (m += s[h][1] - s[h][0] - 1); return u; } const AE = { - tokenize: OE, - resolve: TE -}, ME = { - tokenize: NE, - partial: !0 -}; + tokenize: OE, + resolve: TE, + }, + ME = { + tokenize: NE, + partial: !0, + }; function TE(e) { return Jf(e), e; } @@ -26935,38 +38944,54 @@ function OE(e, t) { let n; return o; function o(l) { - return e.enter("content"), n = e.enter("chunkContent", { - contentType: "content" - }), r(l); + return ( + e.enter("content"), + (n = e.enter("chunkContent", { + contentType: "content", + })), + r(l) + ); } function r(l) { - return l === null ? i(l) : he(l) ? e.check( - ME, - a, - i - )(l) : (e.consume(l), r); + return l === null ? i(l) : he(l) ? e.check(ME, a, i)(l) : (e.consume(l), r); } function i(l) { return e.exit("chunkContent"), e.exit("content"), t(l); } function a(l) { - return e.consume(l), e.exit("chunkContent"), n.next = e.enter("chunkContent", { - contentType: "content", - previous: n - }), n = n.next, r; + return ( + e.consume(l), + e.exit("chunkContent"), + (n.next = e.enter("chunkContent", { + contentType: "content", + previous: n, + })), + (n = n.next), + r + ); } } function NE(e, t, n) { const o = this; return r; function r(a) { - return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), He(e, i, "linePrefix"); + return ( + e.exit("chunkContent"), + e.enter("lineEnding"), + e.consume(a), + e.exit("lineEnding"), + He(e, i, "linePrefix") + ); } function i(a) { - if (a === null || he(a)) - return n(a); + if (a === null || he(a)) return n(a); const l = o.events[o.events.length - 1]; - return !o.parser.constructs.disable.null.includes("codeIndented") && l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : e.interrupt(o.parser.constructs.flow, n, t)(a); + return !o.parser.constructs.disable.null.includes("codeIndented") && + l && + l[1].type === "linePrefix" && + l[2].sliceSerialize(l[1], !0).length >= 4 + ? t(a) + : e.interrupt(o.parser.constructs.flow, n, t)(a); } } function e5(e, t, n, o, r, i, a, l, s) { @@ -26974,23 +38999,47 @@ function e5(e, t, n, o, r, i, a, l, s) { let c = 0; return d; function d(g) { - return g === 60 ? (e.enter(o), e.enter(r), e.enter(i), e.consume(g), e.exit(i), h) : g === null || g === 32 || g === 41 || Ps(g) ? n(g) : (e.enter(o), e.enter(a), e.enter(l), e.enter("chunkString", { - contentType: "string" - }), b(g)); + return g === 60 + ? (e.enter(o), e.enter(r), e.enter(i), e.consume(g), e.exit(i), h) + : g === null || g === 32 || g === 41 || Ps(g) + ? n(g) + : (e.enter(o), + e.enter(a), + e.enter(l), + e.enter("chunkString", { + contentType: "string", + }), + b(g)); } function h(g) { - return g === 62 ? (e.enter(i), e.consume(g), e.exit(i), e.exit(r), e.exit(o), t) : (e.enter(l), e.enter("chunkString", { - contentType: "string" - }), f(g)); + return g === 62 + ? (e.enter(i), e.consume(g), e.exit(i), e.exit(r), e.exit(o), t) + : (e.enter(l), + e.enter("chunkString", { + contentType: "string", + }), + f(g)); } function f(g) { - return g === 62 ? (e.exit("chunkString"), e.exit(l), h(g)) : g === null || g === 60 || he(g) ? n(g) : (e.consume(g), g === 92 ? m : f); + return g === 62 + ? (e.exit("chunkString"), e.exit(l), h(g)) + : g === null || g === 60 || he(g) + ? n(g) + : (e.consume(g), g === 92 ? m : f); } function m(g) { return g === 60 || g === 62 || g === 92 ? (e.consume(g), f) : f(g); } function b(g) { - return !c && (g === null || g === 41 || wt(g)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(o), t(g)) : c < u && g === 40 ? (e.consume(g), c++, b) : g === 41 ? (e.consume(g), c--, b) : g === null || g === 32 || g === 40 || Ps(g) ? n(g) : (e.consume(g), g === 92 ? y : b); + return !c && (g === null || g === 41 || wt(g)) + ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(o), t(g)) + : c < u && g === 40 + ? (e.consume(g), c++, b) + : g === 41 + ? (e.consume(g), c--, b) + : g === null || g === 32 || g === 40 || Ps(g) + ? n(g) + : (e.consume(g), g === 92 ? y : b); } function y(g) { return g === 40 || g === 41 || g === 92 ? (e.consume(g), b) : b(g); @@ -26998,23 +39047,36 @@ function e5(e, t, n, o, r, i, a, l, s) { } function t5(e, t, n, o, r, i) { const a = this; - let l = 0, s; + let l = 0, + s; return u; function u(f) { return e.enter(o), e.enter(r), e.consume(f), e.exit(r), e.enter(i), c; } function c(f) { - return l > 999 || f === null || f === 91 || f === 93 && !s || // To do: remove in the future once we’ve switched from - // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, - // which doesn’t need this. - // Hidden footnotes hook. - /* c8 ignore next 3 */ - f === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(f) : f === 93 ? (e.exit(i), e.enter(r), e.consume(f), e.exit(r), e.exit(o), t) : he(f) ? (e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), c) : (e.enter("chunkString", { - contentType: "string" - }), d(f)); + return l > 999 || + f === null || + f === 91 || + (f === 93 && !s) || // To do: remove in the future once we’ve switched from + // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, + // which doesn’t need this. + // Hidden footnotes hook. + /* c8 ignore next 3 */ + (f === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs) + ? n(f) + : f === 93 + ? (e.exit(i), e.enter(r), e.consume(f), e.exit(r), e.exit(o), t) + : he(f) + ? (e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), c) + : (e.enter("chunkString", { + contentType: "string", + }), + d(f)); } function d(f) { - return f === null || f === 91 || f === 93 || he(f) || l++ > 999 ? (e.exit("chunkString"), c(f)) : (e.consume(f), s || (s = !Oe(f)), f === 92 ? h : d); + return f === null || f === 91 || f === 93 || he(f) || l++ > 999 + ? (e.exit("chunkString"), c(f)) + : (e.consume(f), s || (s = !Oe(f)), f === 92 ? h : d); } function h(f) { return f === 91 || f === 92 || f === 93 ? (e.consume(f), l++, d) : d(f); @@ -27024,18 +39086,39 @@ function n5(e, t, n, o, r, i) { let a; return l; function l(h) { - return h === 34 || h === 39 || h === 40 ? (e.enter(o), e.enter(r), e.consume(h), e.exit(r), a = h === 40 ? 41 : h, s) : n(h); + return h === 34 || h === 39 || h === 40 + ? (e.enter(o), + e.enter(r), + e.consume(h), + e.exit(r), + (a = h === 40 ? 41 : h), + s) + : n(h); } function s(h) { - return h === a ? (e.enter(r), e.consume(h), e.exit(r), e.exit(o), t) : (e.enter(i), u(h)); + return h === a + ? (e.enter(r), e.consume(h), e.exit(r), e.exit(o), t) + : (e.enter(i), u(h)); } function u(h) { - return h === a ? (e.exit(i), s(a)) : h === null ? n(h) : he(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), He(e, u, "linePrefix")) : (e.enter("chunkString", { - contentType: "string" - }), c(h)); + return h === a + ? (e.exit(i), s(a)) + : h === null + ? n(h) + : he(h) + ? (e.enter("lineEnding"), + e.consume(h), + e.exit("lineEnding"), + He(e, u, "linePrefix")) + : (e.enter("chunkString", { + contentType: "string", + }), + c(h)); } function c(h) { - return h === a || h === null || he(h) ? (e.exit("chunkString"), u(h)) : (e.consume(h), h === 92 ? d : c); + return h === a || h === null || he(h) + ? (e.exit("chunkString"), u(h)) + : (e.consume(h), h === 92 ? d : c); } function d(h) { return h === a || h === 92 ? (e.consume(h), c) : c(h); @@ -27045,23 +39128,28 @@ function or(e, t) { let n; return o; function o(r) { - return he(r) ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), n = !0, o) : Oe(r) ? He( - e, - o, - n ? "linePrefix" : "lineSuffix" - )(r) : t(r); + return he(r) + ? (e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), (n = !0), o) + : Oe(r) + ? He(e, o, n ? "linePrefix" : "lineSuffix")(r) + : t(r); } } function Co(e) { - return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase(); + return e + .replace(/[\t\n\r ]+/g, " ") + .replace(/^ | $/g, "") + .toLowerCase() + .toUpperCase(); } const DE = { - name: "definition", - tokenize: FE -}, LE = { - tokenize: RE, - partial: !0 -}; + name: "definition", + tokenize: FE, + }, + LE = { + tokenize: RE, + partial: !0, + }; function FE(e, t, n) { const o = this; let r; @@ -27078,13 +39166,19 @@ function FE(e, t, n) { n, "definitionLabel", "definitionLabelMarker", - "definitionLabelString" + "definitionLabelString", )(f); } function l(f) { - return r = Co( - o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) - ), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f); + return ( + (r = Co(o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1))), + f === 58 + ? (e.enter("definitionMarker"), + e.consume(f), + e.exit("definitionMarker"), + s) + : n(f) + ); } function s(f) { return wt(f) ? or(e, u)(f) : u(f); @@ -27099,7 +39193,7 @@ function FE(e, t, n) { "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", - "definitionDestinationString" + "definitionDestinationString", )(f); } function c(f) { @@ -27109,7 +39203,9 @@ function FE(e, t, n) { return Oe(f) ? He(e, h, "whitespace")(f) : h(f); } function h(f) { - return f === null || he(f) ? (e.exit("definition"), o.parser.defined.push(r), t(f)) : n(f); + return f === null || he(f) + ? (e.exit("definition"), o.parser.defined.push(r), t(f)) + : n(f); } } function RE(e, t, n) { @@ -27124,7 +39220,7 @@ function RE(e, t, n) { n, "definitionTitle", "definitionTitleMarker", - "definitionTitleString" + "definitionTitleString", )(l); } function i(l) { @@ -27136,7 +39232,7 @@ function RE(e, t, n) { } const jE = { name: "hardBreakEscape", - tokenize: IE + tokenize: IE, }; function IE(e, t, n) { return o; @@ -27150,25 +39246,39 @@ function IE(e, t, n) { const zE = { name: "headingAtx", tokenize: PE, - resolve: HE + resolve: HE, }; function HE(e, t) { - let n = e.length - 2, o = 3, r, i; - return e[o][1].type === "whitespace" && (o += 2), n - 2 > o && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (o === n - 1 || n - 4 > o && e[n - 2][1].type === "whitespace") && (n -= o + 1 === n ? 2 : 4), n > o && (r = { - type: "atxHeadingText", - start: e[o][1].start, - end: e[n][1].end - }, i = { - type: "chunkText", - start: e[o][1].start, - end: e[n][1].end, - contentType: "text" - }, cn(e, o, n - o + 1, [ - ["enter", r, t], - ["enter", i, t], - ["exit", i, t], - ["exit", r, t] - ])), e; + let n = e.length - 2, + o = 3, + r, + i; + return ( + e[o][1].type === "whitespace" && (o += 2), + n - 2 > o && e[n][1].type === "whitespace" && (n -= 2), + e[n][1].type === "atxHeadingSequence" && + (o === n - 1 || (n - 4 > o && e[n - 2][1].type === "whitespace")) && + (n -= o + 1 === n ? 2 : 4), + n > o && + ((r = { + type: "atxHeadingText", + start: e[o][1].start, + end: e[n][1].end, + }), + (i = { + type: "chunkText", + start: e[o][1].start, + end: e[n][1].end, + contentType: "text", + }), + cn(e, o, n - o + 1, [ + ["enter", r, t], + ["enter", i, t], + ["exit", i, t], + ["exit", r, t], + ])), + e + ); } function PE(e, t, n) { let o = 0; @@ -27180,98 +39290,120 @@ function PE(e, t, n) { return e.enter("atxHeadingSequence"), a(c); } function a(c) { - return c === 35 && o++ < 6 ? (e.consume(c), a) : c === null || wt(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c); + return c === 35 && o++ < 6 + ? (e.consume(c), a) + : c === null || wt(c) + ? (e.exit("atxHeadingSequence"), l(c)) + : n(c); } function l(c) { - return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || he(c) ? (e.exit("atxHeading"), t(c)) : Oe(c) ? He(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c)); + return c === 35 + ? (e.enter("atxHeadingSequence"), s(c)) + : c === null || he(c) + ? (e.exit("atxHeading"), t(c)) + : Oe(c) + ? He(e, l, "whitespace")(c) + : (e.enter("atxHeadingText"), u(c)); } function s(c) { return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c)); } function u(c) { - return c === null || c === 35 || wt(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u); + return c === null || c === 35 || wt(c) + ? (e.exit("atxHeadingText"), l(c)) + : (e.consume(c), u); } } const BE = [ - "address", - "article", - "aside", - "base", - "basefont", - "blockquote", - "body", - "caption", - "center", - "col", - "colgroup", - "dd", - "details", - "dialog", - "dir", - "div", - "dl", - "dt", - "fieldset", - "figcaption", - "figure", - "footer", - "form", - "frame", - "frameset", - "h1", - "h2", - "h3", - "h4", - "h5", - "h6", - "head", - "header", - "hr", - "html", - "iframe", - "legend", - "li", - "link", - "main", - "menu", - "menuitem", - "nav", - "noframes", - "ol", - "optgroup", - "option", - "p", - "param", - "search", - "section", - "summary", - "table", - "tbody", - "td", - "tfoot", - "th", - "thead", - "title", - "tr", - "track", - "ul" -], C0 = ["pre", "script", "style", "textarea"], VE = { - name: "htmlFlow", - tokenize: UE, - resolveTo: ZE, - concrete: !0 -}, $E = { - tokenize: YE, - partial: !0 -}, WE = { - tokenize: qE, - partial: !0 -}; + "address", + "article", + "aside", + "base", + "basefont", + "blockquote", + "body", + "caption", + "center", + "col", + "colgroup", + "dd", + "details", + "dialog", + "dir", + "div", + "dl", + "dt", + "fieldset", + "figcaption", + "figure", + "footer", + "form", + "frame", + "frameset", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "head", + "header", + "hr", + "html", + "iframe", + "legend", + "li", + "link", + "main", + "menu", + "menuitem", + "nav", + "noframes", + "ol", + "optgroup", + "option", + "p", + "param", + "search", + "section", + "summary", + "table", + "tbody", + "td", + "tfoot", + "th", + "thead", + "title", + "tr", + "track", + "ul", + ], + C0 = ["pre", "script", "style", "textarea"], + VE = { + name: "htmlFlow", + tokenize: UE, + resolveTo: ZE, + concrete: !0, + }, + $E = { + tokenize: YE, + partial: !0, + }, + WE = { + tokenize: qE, + partial: !0, + }; function ZE(e) { let t = e.length; - for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ) - ; - return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e; + for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ); + return ( + t > 1 && + e[t - 2][1].type === "linePrefix" && + ((e[t][1].start = e[t - 2][1].start), + (e[t + 1][1].start = e[t - 2][1].start), + e.splice(t - 2, 2)), + e + ); } function UE(e, t, n) { const o = this; @@ -27284,27 +39416,55 @@ function UE(e, t, n) { return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(M), d; } function d(M) { - return M === 33 ? (e.consume(M), h) : M === 47 ? (e.consume(M), i = !0, b) : M === 63 ? (e.consume(M), r = 3, o.interrupt ? t : v) : an(M) ? (e.consume(M), a = String.fromCharCode(M), y) : n(M); + return M === 33 + ? (e.consume(M), h) + : M === 47 + ? (e.consume(M), (i = !0), b) + : M === 63 + ? (e.consume(M), (r = 3), o.interrupt ? t : v) + : an(M) + ? (e.consume(M), (a = String.fromCharCode(M)), y) + : n(M); } function h(M) { - return M === 45 ? (e.consume(M), r = 2, f) : M === 91 ? (e.consume(M), r = 5, l = 0, m) : an(M) ? (e.consume(M), r = 4, o.interrupt ? t : v) : n(M); + return M === 45 + ? (e.consume(M), (r = 2), f) + : M === 91 + ? (e.consume(M), (r = 5), (l = 0), m) + : an(M) + ? (e.consume(M), (r = 4), o.interrupt ? t : v) + : n(M); } function f(M) { return M === 45 ? (e.consume(M), o.interrupt ? t : v) : n(M); } function m(M) { const W = "CDATA["; - return M === W.charCodeAt(l++) ? (e.consume(M), l === W.length ? o.interrupt ? t : P : m) : n(M); + return M === W.charCodeAt(l++) + ? (e.consume(M), l === W.length ? (o.interrupt ? t : P) : m) + : n(M); } function b(M) { - return an(M) ? (e.consume(M), a = String.fromCharCode(M), y) : n(M); + return an(M) ? (e.consume(M), (a = String.fromCharCode(M)), y) : n(M); } function y(M) { if (M === null || M === 47 || M === 62 || wt(M)) { - const W = M === 47, G = a.toLowerCase(); - return !W && !i && C0.includes(G) ? (r = 1, o.interrupt ? t(M) : P(M)) : BE.includes(a.toLowerCase()) ? (r = 6, W ? (e.consume(M), g) : o.interrupt ? t(M) : P(M)) : (r = 7, o.interrupt && !o.parser.lazy[o.now().line] ? n(M) : i ? x(M) : C(M)); - } - return M === 45 || _t(M) ? (e.consume(M), a += String.fromCharCode(M), y) : n(M); + const W = M === 47, + G = a.toLowerCase(); + return !W && !i && C0.includes(G) + ? ((r = 1), o.interrupt ? t(M) : P(M)) + : BE.includes(a.toLowerCase()) + ? ((r = 6), W ? (e.consume(M), g) : o.interrupt ? t(M) : P(M)) + : ((r = 7), + o.interrupt && !o.parser.lazy[o.now().line] + ? n(M) + : i + ? x(M) + : C(M)); + } + return M === 45 || _t(M) + ? (e.consume(M), (a += String.fromCharCode(M)), y) + : n(M); } function g(M) { return M === 62 ? (e.consume(M), o.interrupt ? t : P) : n(M); @@ -27313,22 +39473,50 @@ function UE(e, t, n) { return Oe(M) ? (e.consume(M), x) : L(M); } function C(M) { - return M === 47 ? (e.consume(M), L) : M === 58 || M === 95 || an(M) ? (e.consume(M), E) : Oe(M) ? (e.consume(M), C) : L(M); + return M === 47 + ? (e.consume(M), L) + : M === 58 || M === 95 || an(M) + ? (e.consume(M), E) + : Oe(M) + ? (e.consume(M), C) + : L(M); } function E(M) { - return M === 45 || M === 46 || M === 58 || M === 95 || _t(M) ? (e.consume(M), E) : w(M); + return M === 45 || M === 46 || M === 58 || M === 95 || _t(M) + ? (e.consume(M), E) + : w(M); } function w(M) { return M === 61 ? (e.consume(M), S) : Oe(M) ? (e.consume(M), w) : C(M); } function S(M) { - return M === null || M === 60 || M === 61 || M === 62 || M === 96 ? n(M) : M === 34 || M === 39 ? (e.consume(M), s = M, _) : Oe(M) ? (e.consume(M), S) : A(M); + return M === null || M === 60 || M === 61 || M === 62 || M === 96 + ? n(M) + : M === 34 || M === 39 + ? (e.consume(M), (s = M), _) + : Oe(M) + ? (e.consume(M), S) + : A(M); } function _(M) { - return M === s ? (e.consume(M), s = null, R) : M === null || he(M) ? n(M) : (e.consume(M), _); + return M === s + ? (e.consume(M), (s = null), R) + : M === null || he(M) + ? n(M) + : (e.consume(M), _); } function A(M) { - return M === null || M === 34 || M === 39 || M === 47 || M === 60 || M === 61 || M === 62 || M === 96 || wt(M) ? w(M) : (e.consume(M), A); + return M === null || + M === 34 || + M === 39 || + M === 47 || + M === 60 || + M === 61 || + M === 62 || + M === 96 || + wt(M) + ? w(M) + : (e.consume(M), A); } function R(M) { return M === 47 || M === 62 || Oe(M) ? C(M) : n(M); @@ -27340,18 +39528,24 @@ function UE(e, t, n) { return M === null || he(M) ? P(M) : Oe(M) ? (e.consume(M), j) : n(M); } function P(M) { - return M === 45 && r === 2 ? (e.consume(M), T) : M === 60 && r === 1 ? (e.consume(M), F) : M === 62 && r === 4 ? (e.consume(M), z) : M === 63 && r === 3 ? (e.consume(M), v) : M === 93 && r === 5 ? (e.consume(M), D) : he(M) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check( - $E, - B, - V - )(M)) : M === null || he(M) ? (e.exit("htmlFlowData"), V(M)) : (e.consume(M), P); + return M === 45 && r === 2 + ? (e.consume(M), T) + : M === 60 && r === 1 + ? (e.consume(M), F) + : M === 62 && r === 4 + ? (e.consume(M), z) + : M === 63 && r === 3 + ? (e.consume(M), v) + : M === 93 && r === 5 + ? (e.consume(M), D) + : he(M) && (r === 6 || r === 7) + ? (e.exit("htmlFlowData"), e.check($E, B, V)(M)) + : M === null || he(M) + ? (e.exit("htmlFlowData"), V(M)) + : (e.consume(M), P); } function V(M) { - return e.check( - WE, - k, - B - )(M); + return e.check(WE, k, B)(M); } function k(M) { return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), N; @@ -27363,23 +39557,31 @@ function UE(e, t, n) { return M === 45 ? (e.consume(M), v) : P(M); } function F(M) { - return M === 47 ? (e.consume(M), a = "", I) : P(M); + return M === 47 ? (e.consume(M), (a = ""), I) : P(M); } function I(M) { if (M === 62) { const W = a.toLowerCase(); return C0.includes(W) ? (e.consume(M), z) : P(M); } - return an(M) && a.length < 8 ? (e.consume(M), a += String.fromCharCode(M), I) : P(M); + return an(M) && a.length < 8 + ? (e.consume(M), (a += String.fromCharCode(M)), I) + : P(M); } function D(M) { return M === 93 ? (e.consume(M), v) : P(M); } function v(M) { - return M === 62 ? (e.consume(M), z) : M === 45 && r === 2 ? (e.consume(M), v) : P(M); + return M === 62 + ? (e.consume(M), z) + : M === 45 && r === 2 + ? (e.consume(M), v) + : P(M); } function z(M) { - return M === null || he(M) ? (e.exit("htmlFlowData"), B(M)) : (e.consume(M), z); + return M === null || he(M) + ? (e.exit("htmlFlowData"), B(M)) + : (e.consume(M), z); } function B(M) { return e.exit("htmlFlow"), t(M); @@ -27389,7 +39591,9 @@ function qE(e, t, n) { const o = this; return r; function r(a) { - return he(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i) : n(a); + return he(a) + ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i) + : n(a); } function i(a) { return o.parser.lazy[o.now().line] ? n(a) : t(a); @@ -27398,12 +39602,17 @@ function qE(e, t, n) { function YE(e, t, n) { return o; function o(r) { - return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(ua, t, n); + return ( + e.enter("lineEnding"), + e.consume(r), + e.exit("lineEnding"), + e.attempt(ua, t, n) + ); } } const GE = { name: "htmlText", - tokenize: KE + tokenize: KE, }; function KE(e, t, n) { const o = this; @@ -27413,16 +39622,36 @@ function KE(e, t, n) { return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(v), s; } function s(v) { - return v === 33 ? (e.consume(v), u) : v === 47 ? (e.consume(v), w) : v === 63 ? (e.consume(v), C) : an(v) ? (e.consume(v), A) : n(v); + return v === 33 + ? (e.consume(v), u) + : v === 47 + ? (e.consume(v), w) + : v === 63 + ? (e.consume(v), C) + : an(v) + ? (e.consume(v), A) + : n(v); } function u(v) { - return v === 45 ? (e.consume(v), c) : v === 91 ? (e.consume(v), i = 0, m) : an(v) ? (e.consume(v), x) : n(v); + return v === 45 + ? (e.consume(v), c) + : v === 91 + ? (e.consume(v), (i = 0), m) + : an(v) + ? (e.consume(v), x) + : n(v); } function c(v) { return v === 45 ? (e.consume(v), f) : n(v); } function d(v) { - return v === null ? n(v) : v === 45 ? (e.consume(v), h) : he(v) ? (a = d, F(v)) : (e.consume(v), d); + return v === null + ? n(v) + : v === 45 + ? (e.consume(v), h) + : he(v) + ? ((a = d), F(v)) + : (e.consume(v), d); } function h(v) { return v === 45 ? (e.consume(v), f) : d(v); @@ -27432,10 +39661,18 @@ function KE(e, t, n) { } function m(v) { const z = "CDATA["; - return v === z.charCodeAt(i++) ? (e.consume(v), i === z.length ? b : m) : n(v); + return v === z.charCodeAt(i++) + ? (e.consume(v), i === z.length ? b : m) + : n(v); } function b(v) { - return v === null ? n(v) : v === 93 ? (e.consume(v), y) : he(v) ? (a = b, F(v)) : (e.consume(v), b); + return v === null + ? n(v) + : v === 93 + ? (e.consume(v), y) + : he(v) + ? ((a = b), F(v)) + : (e.consume(v), b); } function y(v) { return v === 93 ? (e.consume(v), g) : b(v); @@ -27444,10 +39681,20 @@ function KE(e, t, n) { return v === 62 ? T(v) : v === 93 ? (e.consume(v), g) : b(v); } function x(v) { - return v === null || v === 62 ? T(v) : he(v) ? (a = x, F(v)) : (e.consume(v), x); + return v === null || v === 62 + ? T(v) + : he(v) + ? ((a = x), F(v)) + : (e.consume(v), x); } function C(v) { - return v === null ? n(v) : v === 63 ? (e.consume(v), E) : he(v) ? (a = C, F(v)) : (e.consume(v), C); + return v === null + ? n(v) + : v === 63 + ? (e.consume(v), E) + : he(v) + ? ((a = C), F(v)) + : (e.consume(v), C); } function E(v) { return v === 62 ? T(v) : C(v); @@ -27459,177 +39706,270 @@ function KE(e, t, n) { return v === 45 || _t(v) ? (e.consume(v), S) : _(v); } function _(v) { - return he(v) ? (a = _, F(v)) : Oe(v) ? (e.consume(v), _) : T(v); + return he(v) ? ((a = _), F(v)) : Oe(v) ? (e.consume(v), _) : T(v); } function A(v) { - return v === 45 || _t(v) ? (e.consume(v), A) : v === 47 || v === 62 || wt(v) ? R(v) : n(v); + return v === 45 || _t(v) + ? (e.consume(v), A) + : v === 47 || v === 62 || wt(v) + ? R(v) + : n(v); } function R(v) { - return v === 47 ? (e.consume(v), T) : v === 58 || v === 95 || an(v) ? (e.consume(v), L) : he(v) ? (a = R, F(v)) : Oe(v) ? (e.consume(v), R) : T(v); + return v === 47 + ? (e.consume(v), T) + : v === 58 || v === 95 || an(v) + ? (e.consume(v), L) + : he(v) + ? ((a = R), F(v)) + : Oe(v) + ? (e.consume(v), R) + : T(v); } function L(v) { - return v === 45 || v === 46 || v === 58 || v === 95 || _t(v) ? (e.consume(v), L) : j(v); + return v === 45 || v === 46 || v === 58 || v === 95 || _t(v) + ? (e.consume(v), L) + : j(v); } function j(v) { - return v === 61 ? (e.consume(v), P) : he(v) ? (a = j, F(v)) : Oe(v) ? (e.consume(v), j) : R(v); + return v === 61 + ? (e.consume(v), P) + : he(v) + ? ((a = j), F(v)) + : Oe(v) + ? (e.consume(v), j) + : R(v); } function P(v) { - return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), r = v, V) : he(v) ? (a = P, F(v)) : Oe(v) ? (e.consume(v), P) : (e.consume(v), k); + return v === null || v === 60 || v === 61 || v === 62 || v === 96 + ? n(v) + : v === 34 || v === 39 + ? (e.consume(v), (r = v), V) + : he(v) + ? ((a = P), F(v)) + : Oe(v) + ? (e.consume(v), P) + : (e.consume(v), k); } function V(v) { - return v === r ? (e.consume(v), r = void 0, N) : v === null ? n(v) : he(v) ? (a = V, F(v)) : (e.consume(v), V); + return v === r + ? (e.consume(v), (r = void 0), N) + : v === null + ? n(v) + : he(v) + ? ((a = V), F(v)) + : (e.consume(v), V); } function k(v) { - return v === null || v === 34 || v === 39 || v === 60 || v === 61 || v === 96 ? n(v) : v === 47 || v === 62 || wt(v) ? R(v) : (e.consume(v), k); + return v === null || + v === 34 || + v === 39 || + v === 60 || + v === 61 || + v === 96 + ? n(v) + : v === 47 || v === 62 || wt(v) + ? R(v) + : (e.consume(v), k); } function N(v) { return v === 47 || v === 62 || wt(v) ? R(v) : n(v); } function T(v) { - return v === 62 ? (e.consume(v), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(v); + return v === 62 + ? (e.consume(v), e.exit("htmlTextData"), e.exit("htmlText"), t) + : n(v); } function F(v) { - return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), I; + return ( + e.exit("htmlTextData"), + e.enter("lineEnding"), + e.consume(v), + e.exit("lineEnding"), + I + ); } function I(v) { - return Oe(v) ? He( - e, - D, - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(v) : D(v); + return Oe(v) + ? He( + e, + D, + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") + ? void 0 + : 4, + )(v) + : D(v); } function D(v) { return e.enter("htmlTextData"), a(v); } } const s1 = { - name: "labelEnd", - tokenize: nS, - resolveTo: tS, - resolveAll: eS -}, XE = { - tokenize: oS -}, QE = { - tokenize: rS -}, JE = { - tokenize: iS -}; + name: "labelEnd", + tokenize: nS, + resolveTo: tS, + resolveAll: eS, + }, + XE = { + tokenize: oS, + }, + QE = { + tokenize: rS, + }, + JE = { + tokenize: iS, + }; function eS(e) { let t = -1; for (; ++t < e.length; ) { const n = e[t][1]; - (n.type === "labelImage" || n.type === "labelLink" || n.type === "labelEnd") && (e.splice(t + 1, n.type === "labelImage" ? 4 : 2), n.type = "data", t++); + (n.type === "labelImage" || + n.type === "labelLink" || + n.type === "labelEnd") && + (e.splice(t + 1, n.type === "labelImage" ? 4 : 2), + (n.type = "data"), + t++); } return e; } function tS(e, t) { - let n = e.length, o = 0, r, i, a, l; + let n = e.length, + o = 0, + r, + i, + a, + l; for (; n--; ) - if (r = e[n][1], i) { - if (r.type === "link" || r.type === "labelLink" && r._inactive) - break; + if (((r = e[n][1]), i)) { + if (r.type === "link" || (r.type === "labelLink" && r._inactive)) break; e[n][0] === "enter" && r.type === "labelLink" && (r._inactive = !0); } else if (a) { - if (e[n][0] === "enter" && (r.type === "labelImage" || r.type === "labelLink") && !r._balanced && (i = n, r.type !== "labelLink")) { + if ( + e[n][0] === "enter" && + (r.type === "labelImage" || r.type === "labelLink") && + !r._balanced && + ((i = n), r.type !== "labelLink") + ) { o = 2; break; } } else r.type === "labelEnd" && (a = n); const s = { - type: e[i][1].type === "labelLink" ? "link" : "image", - start: Object.assign({}, e[i][1].start), - end: Object.assign({}, e[e.length - 1][1].end) - }, u = { - type: "label", - start: Object.assign({}, e[i][1].start), - end: Object.assign({}, e[a][1].end) - }, c = { - type: "labelText", - start: Object.assign({}, e[i + o + 2][1].end), - end: Object.assign({}, e[a - 2][1].start) - }; - return l = [ - ["enter", s, t], - ["enter", u, t] - ], l = Ft(l, e.slice(i + 1, i + o + 3)), l = Ft(l, [["enter", c, t]]), l = Ft( - l, - a1( - t.parser.constructs.insideSpan.null, - e.slice(i + o + 4, a - 3), - t - ) - ), l = Ft(l, [ - ["exit", c, t], - e[a - 2], - e[a - 1], - ["exit", u, t] - ]), l = Ft(l, e.slice(a + 1)), l = Ft(l, [["exit", s, t]]), cn(e, i, e.length, l), e; + type: e[i][1].type === "labelLink" ? "link" : "image", + start: Object.assign({}, e[i][1].start), + end: Object.assign({}, e[e.length - 1][1].end), + }, + u = { + type: "label", + start: Object.assign({}, e[i][1].start), + end: Object.assign({}, e[a][1].end), + }, + c = { + type: "labelText", + start: Object.assign({}, e[i + o + 2][1].end), + end: Object.assign({}, e[a - 2][1].start), + }; + return ( + (l = [ + ["enter", s, t], + ["enter", u, t], + ]), + (l = Ft(l, e.slice(i + 1, i + o + 3))), + (l = Ft(l, [["enter", c, t]])), + (l = Ft( + l, + a1(t.parser.constructs.insideSpan.null, e.slice(i + o + 4, a - 3), t), + )), + (l = Ft(l, [["exit", c, t], e[a - 2], e[a - 1], ["exit", u, t]])), + (l = Ft(l, e.slice(a + 1))), + (l = Ft(l, [["exit", s, t]])), + cn(e, i, e.length, l), + e + ); } function nS(e, t, n) { const o = this; - let r = o.events.length, i, a; + let r = o.events.length, + i, + a; for (; r--; ) - if ((o.events[r][1].type === "labelImage" || o.events[r][1].type === "labelLink") && !o.events[r][1]._balanced) { + if ( + (o.events[r][1].type === "labelImage" || + o.events[r][1].type === "labelLink") && + !o.events[r][1]._balanced + ) { i = o.events[r][1]; break; } return l; function l(h) { - return i ? i._inactive ? d(h) : (a = o.parser.defined.includes( - Co( - o.sliceSerialize({ - start: i.end, - end: o.now() - }) - ) - ), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(h), e.exit("labelMarker"), e.exit("labelEnd"), s) : n(h); + return i + ? i._inactive + ? d(h) + : ((a = o.parser.defined.includes( + Co( + o.sliceSerialize({ + start: i.end, + end: o.now(), + }), + ), + )), + e.enter("labelEnd"), + e.enter("labelMarker"), + e.consume(h), + e.exit("labelMarker"), + e.exit("labelEnd"), + s) + : n(h); } function s(h) { - return h === 40 ? e.attempt( - XE, - c, - a ? c : d - )(h) : h === 91 ? e.attempt( - QE, - c, - a ? u : d - )(h) : a ? c(h) : d(h); + return h === 40 + ? e.attempt(XE, c, a ? c : d)(h) + : h === 91 + ? e.attempt(QE, c, a ? u : d)(h) + : a + ? c(h) + : d(h); } function u(h) { - return e.attempt( - JE, - c, - d - )(h); + return e.attempt(JE, c, d)(h); } function c(h) { return t(h); } function d(h) { - return i._balanced = !0, n(h); + return (i._balanced = !0), n(h); } } function oS(e, t, n) { return o; function o(d) { - return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), r; + return ( + e.enter("resource"), + e.enter("resourceMarker"), + e.consume(d), + e.exit("resourceMarker"), + r + ); } function r(d) { return wt(d) ? or(e, i)(d) : i(d); } function i(d) { - return d === 41 ? c(d) : e5( - e, - a, - l, - "resourceDestination", - "resourceDestinationLiteral", - "resourceDestinationLiteralMarker", - "resourceDestinationRaw", - "resourceDestinationString", - 32 - )(d); + return d === 41 + ? c(d) + : e5( + e, + a, + l, + "resourceDestination", + "resourceDestinationLiteral", + "resourceDestinationLiteralMarker", + "resourceDestinationRaw", + "resourceDestinationString", + 32, + )(d); } function a(d) { return wt(d) ? or(e, s)(d) : c(d); @@ -27638,20 +39978,28 @@ function oS(e, t, n) { return n(d); } function s(d) { - return d === 34 || d === 39 || d === 40 ? n5( - e, - u, - n, - "resourceTitle", - "resourceTitleMarker", - "resourceTitleString" - )(d) : c(d); + return d === 34 || d === 39 || d === 40 + ? n5( + e, + u, + n, + "resourceTitle", + "resourceTitleMarker", + "resourceTitleString", + )(d) + : c(d); } function u(d) { return wt(d) ? or(e, c)(d) : c(d); } function c(d) { - return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), t) : n(d); + return d === 41 + ? (e.enter("resourceMarker"), + e.consume(d), + e.exit("resourceMarker"), + e.exit("resource"), + t) + : n(d); } } function rS(e, t, n) { @@ -27665,15 +40013,15 @@ function rS(e, t, n) { a, "reference", "referenceMarker", - "referenceString" + "referenceString", )(l); } function i(l) { return o.parser.defined.includes( - Co( - o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1) - ) - ) ? t(l) : n(l); + Co(o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1)), + ) + ? t(l) + : n(l); } function a(l) { return n(l); @@ -27682,164 +40030,260 @@ function rS(e, t, n) { function iS(e, t, n) { return o; function o(i) { - return e.enter("reference"), e.enter("referenceMarker"), e.consume(i), e.exit("referenceMarker"), r; + return ( + e.enter("reference"), + e.enter("referenceMarker"), + e.consume(i), + e.exit("referenceMarker"), + r + ); } function r(i) { - return i === 93 ? (e.enter("referenceMarker"), e.consume(i), e.exit("referenceMarker"), e.exit("reference"), t) : n(i); + return i === 93 + ? (e.enter("referenceMarker"), + e.consume(i), + e.exit("referenceMarker"), + e.exit("reference"), + t) + : n(i); } } const aS = { name: "labelStartImage", tokenize: lS, - resolveAll: s1.resolveAll + resolveAll: s1.resolveAll, }; function lS(e, t, n) { const o = this; return r; function r(l) { - return e.enter("labelImage"), e.enter("labelImageMarker"), e.consume(l), e.exit("labelImageMarker"), i; + return ( + e.enter("labelImage"), + e.enter("labelImageMarker"), + e.consume(l), + e.exit("labelImageMarker"), + i + ); } function i(l) { - return l === 91 ? (e.enter("labelMarker"), e.consume(l), e.exit("labelMarker"), e.exit("labelImage"), a) : n(l); + return l === 91 + ? (e.enter("labelMarker"), + e.consume(l), + e.exit("labelMarker"), + e.exit("labelImage"), + a) + : n(l); } function a(l) { - return l === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : t(l); + return l === 94 && "_hiddenFootnoteSupport" in o.parser.constructs + ? n(l) + : t(l); } } const sS = { name: "labelStartLink", tokenize: cS, - resolveAll: s1.resolveAll + resolveAll: s1.resolveAll, }; function cS(e, t, n) { const o = this; return r; function r(a) { - return e.enter("labelLink"), e.enter("labelMarker"), e.consume(a), e.exit("labelMarker"), e.exit("labelLink"), i; + return ( + e.enter("labelLink"), + e.enter("labelMarker"), + e.consume(a), + e.exit("labelMarker"), + e.exit("labelLink"), + i + ); } function i(a) { - return a === 94 && "_hiddenFootnoteSupport" in o.parser.constructs ? n(a) : t(a); + return a === 94 && "_hiddenFootnoteSupport" in o.parser.constructs + ? n(a) + : t(a); } } const Gl = { name: "lineEnding", - tokenize: uS + tokenize: uS, }; function uS(e, t) { return n; function n(o) { - return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), He(e, t, "linePrefix"); + return ( + e.enter("lineEnding"), + e.consume(o), + e.exit("lineEnding"), + He(e, t, "linePrefix") + ); } } const yi = { name: "thematicBreak", - tokenize: dS + tokenize: dS, }; function dS(e, t, n) { - let o = 0, r; + let o = 0, + r; return i; function i(u) { return e.enter("thematicBreak"), a(u); } function a(u) { - return r = u, l(u); + return (r = u), l(u); } function l(u) { - return u === r ? (e.enter("thematicBreakSequence"), s(u)) : o >= 3 && (u === null || he(u)) ? (e.exit("thematicBreak"), t(u)) : n(u); + return u === r + ? (e.enter("thematicBreakSequence"), s(u)) + : o >= 3 && (u === null || he(u)) + ? (e.exit("thematicBreak"), t(u)) + : n(u); } function s(u) { - return u === r ? (e.consume(u), o++, s) : (e.exit("thematicBreakSequence"), Oe(u) ? He(e, l, "whitespace")(u) : l(u)); + return u === r + ? (e.consume(u), o++, s) + : (e.exit("thematicBreakSequence"), + Oe(u) ? He(e, l, "whitespace")(u) : l(u)); } } const yt = { - name: "list", - tokenize: hS, - continuation: { - tokenize: gS - }, - exit: bS -}, fS = { - tokenize: yS, - partial: !0 -}, pS = { - tokenize: mS, - partial: !0 -}; + name: "list", + tokenize: hS, + continuation: { + tokenize: gS, + }, + exit: bS, + }, + fS = { + tokenize: yS, + partial: !0, + }, + pS = { + tokenize: mS, + partial: !0, + }; function hS(e, t, n) { - const o = this, r = o.events[o.events.length - 1]; - let i = r && r[1].type === "linePrefix" ? r[2].sliceSerialize(r[1], !0).length : 0, a = 0; + const o = this, + r = o.events[o.events.length - 1]; + let i = + r && r[1].type === "linePrefix" + ? r[2].sliceSerialize(r[1], !0).length + : 0, + a = 0; return l; function l(f) { - const m = o.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered"); - if (m === "listUnordered" ? !o.containerState.marker || f === o.containerState.marker : Bs(f)) { - if (o.containerState.type || (o.containerState.type = m, e.enter(m, { - _container: !0 - })), m === "listUnordered") - return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(yi, n, u)(f) : u(f); + const m = + o.containerState.type || + (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered"); + if ( + m === "listUnordered" + ? !o.containerState.marker || f === o.containerState.marker + : Bs(f) + ) { + if ( + (o.containerState.type || + ((o.containerState.type = m), + e.enter(m, { + _container: !0, + })), + m === "listUnordered") + ) + return ( + e.enter("listItemPrefix"), + f === 42 || f === 45 ? e.check(yi, n, u)(f) : u(f) + ); if (!o.interrupt || f === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f); } return n(f); } function s(f) { - return Bs(f) && ++a < 10 ? (e.consume(f), s) : (!o.interrupt || a < 2) && (o.containerState.marker ? f === o.containerState.marker : f === 41 || f === 46) ? (e.exit("listItemValue"), u(f)) : n(f); + return Bs(f) && ++a < 10 + ? (e.consume(f), s) + : (!o.interrupt || a < 2) && + (o.containerState.marker + ? f === o.containerState.marker + : f === 41 || f === 46) + ? (e.exit("listItemValue"), u(f)) + : n(f); } function u(f) { - return e.enter("listItemMarker"), e.consume(f), e.exit("listItemMarker"), o.containerState.marker = o.containerState.marker || f, e.check( - ua, - // Can’t be empty when interrupting. - o.interrupt ? n : c, - e.attempt( - fS, - h, - d + return ( + e.enter("listItemMarker"), + e.consume(f), + e.exit("listItemMarker"), + (o.containerState.marker = o.containerState.marker || f), + e.check( + ua, + // Can’t be empty when interrupting. + o.interrupt ? n : c, + e.attempt(fS, h, d), ) ); } function c(f) { - return o.containerState.initialBlankLine = !0, i++, h(f); + return (o.containerState.initialBlankLine = !0), i++, h(f); } function d(f) { - return Oe(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), h) : n(f); + return Oe(f) + ? (e.enter("listItemPrefixWhitespace"), + e.consume(f), + e.exit("listItemPrefixWhitespace"), + h) + : n(f); } function h(f) { - return o.containerState.size = i + o.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f); + return ( + (o.containerState.size = + i + o.sliceSerialize(e.exit("listItemPrefix"), !0).length), + t(f) + ); } } function gS(e, t, n) { const o = this; - return o.containerState._closeFlow = void 0, e.check(ua, r, i); + return (o.containerState._closeFlow = void 0), e.check(ua, r, i); function r(l) { - return o.containerState.furtherBlankLines = o.containerState.furtherBlankLines || o.containerState.initialBlankLine, He( - e, - t, - "listItemIndent", - o.containerState.size + 1 - )(l); + return ( + (o.containerState.furtherBlankLines = + o.containerState.furtherBlankLines || + o.containerState.initialBlankLine), + He(e, t, "listItemIndent", o.containerState.size + 1)(l) + ); } function i(l) { - return o.containerState.furtherBlankLines || !Oe(l) ? (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, a(l)) : (o.containerState.furtherBlankLines = void 0, o.containerState.initialBlankLine = void 0, e.attempt(pS, t, a)(l)); + return o.containerState.furtherBlankLines || !Oe(l) + ? ((o.containerState.furtherBlankLines = void 0), + (o.containerState.initialBlankLine = void 0), + a(l)) + : ((o.containerState.furtherBlankLines = void 0), + (o.containerState.initialBlankLine = void 0), + e.attempt(pS, t, a)(l)); } function a(l) { - return o.containerState._closeFlow = !0, o.interrupt = void 0, He( - e, - e.attempt(yt, t, n), - "linePrefix", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(l); + return ( + (o.containerState._closeFlow = !0), + (o.interrupt = void 0), + He( + e, + e.attempt(yt, t, n), + "linePrefix", + o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4, + )(l) + ); } } function mS(e, t, n) { const o = this; - return He( - e, - r, - "listItemIndent", - o.containerState.size + 1 - ); + return He(e, r, "listItemIndent", o.containerState.size + 1); function r(i) { const a = o.events[o.events.length - 1]; - return a && a[1].type === "listItemIndent" && a[2].sliceSerialize(a[1], !0).length === o.containerState.size ? t(i) : n(i); + return a && + a[1].type === "listItemIndent" && + a[2].sliceSerialize(a[1], !0).length === o.containerState.size + ? t(i) + : n(i); } } function bS(e) { @@ -27851,20 +40295,25 @@ function yS(e, t, n) { e, r, "listItemPrefixWhitespace", - o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5 + o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5, ); function r(i) { const a = o.events[o.events.length - 1]; - return !Oe(i) && a && a[1].type === "listItemPrefixWhitespace" ? t(i) : n(i); + return !Oe(i) && a && a[1].type === "listItemPrefixWhitespace" + ? t(i) + : n(i); } } const v0 = { name: "setextUnderline", tokenize: vS, - resolveTo: CS + resolveTo: CS, }; function CS(e, t) { - let n = e.length, o, r, i; + let n = e.length, + o, + r, + i; for (; n--; ) if (e[n][0] === "enter") { if (e[n][1].type === "content") { @@ -27873,88 +40322,119 @@ function CS(e, t) { } e[n][1].type === "paragraph" && (r = n); } else - e[n][1].type === "content" && e.splice(n, 1), !i && e[n][1].type === "definition" && (i = n); + e[n][1].type === "content" && e.splice(n, 1), + !i && e[n][1].type === "definition" && (i = n); const a = { type: "setextHeading", start: Object.assign({}, e[r][1].start), - end: Object.assign({}, e[e.length - 1][1].end) + end: Object.assign({}, e[e.length - 1][1].end), }; - return e[r][1].type = "setextHeadingText", i ? (e.splice(r, 0, ["enter", a, t]), e.splice(i + 1, 0, ["exit", e[o][1], t]), e[o][1].end = Object.assign({}, e[i][1].end)) : e[o][1] = a, e.push(["exit", a, t]), e; + return ( + (e[r][1].type = "setextHeadingText"), + i + ? (e.splice(r, 0, ["enter", a, t]), + e.splice(i + 1, 0, ["exit", e[o][1], t]), + (e[o][1].end = Object.assign({}, e[i][1].end))) + : (e[o][1] = a), + e.push(["exit", a, t]), + e + ); } function vS(e, t, n) { const o = this; let r; return i; function i(u) { - let c = o.events.length, d; + let c = o.events.length, + d; for (; c--; ) - if (o.events[c][1].type !== "lineEnding" && o.events[c][1].type !== "linePrefix" && o.events[c][1].type !== "content") { + if ( + o.events[c][1].type !== "lineEnding" && + o.events[c][1].type !== "linePrefix" && + o.events[c][1].type !== "content" + ) { d = o.events[c][1].type === "paragraph"; break; } - return !o.parser.lazy[o.now().line] && (o.interrupt || d) ? (e.enter("setextHeadingLine"), r = u, a(u)) : n(u); + return !o.parser.lazy[o.now().line] && (o.interrupt || d) + ? (e.enter("setextHeadingLine"), (r = u), a(u)) + : n(u); } function a(u) { return e.enter("setextHeadingLineSequence"), l(u); } function l(u) { - return u === r ? (e.consume(u), l) : (e.exit("setextHeadingLineSequence"), Oe(u) ? He(e, s, "lineSuffix")(u) : s(u)); + return u === r + ? (e.consume(u), l) + : (e.exit("setextHeadingLineSequence"), + Oe(u) ? He(e, s, "lineSuffix")(u) : s(u)); } function s(u) { return u === null || he(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u); } } const xS = { - tokenize: wS + tokenize: wS, }; function wS(e) { - const t = this, n = e.attempt( - // Try to parse a blank line. - ua, - o, - // Try to parse initial flow (essentially, only code). - e.attempt( - this.parser.constructs.flowInitial, - r, - He( - e, - e.attempt( - this.parser.constructs.flow, - r, - e.attempt(AE, r) + const t = this, + n = e.attempt( + // Try to parse a blank line. + ua, + o, + // Try to parse initial flow (essentially, only code). + e.attempt( + this.parser.constructs.flowInitial, + r, + He( + e, + e.attempt(this.parser.constructs.flow, r, e.attempt(AE, r)), + "linePrefix", ), - "linePrefix" - ) - ) - ); + ), + ); return n; function o(i) { if (i === null) { e.consume(i); return; } - return e.enter("lineEndingBlank"), e.consume(i), e.exit("lineEndingBlank"), t.currentConstruct = void 0, n; + return ( + e.enter("lineEndingBlank"), + e.consume(i), + e.exit("lineEndingBlank"), + (t.currentConstruct = void 0), + n + ); } function r(i) { if (i === null) { e.consume(i); return; } - return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t.currentConstruct = void 0, n; + return ( + e.enter("lineEnding"), + e.consume(i), + e.exit("lineEnding"), + (t.currentConstruct = void 0), + n + ); } } const ES = { - resolveAll: r5() -}, SS = o5("string"), kS = o5("text"); + resolveAll: r5(), + }, + SS = o5("string"), + kS = o5("text"); function o5(e) { return { tokenize: t, - resolveAll: r5( - e === "text" ? _S : void 0 - ) + resolveAll: r5(e === "text" ? _S : void 0), }; function t(n) { - const o = this, r = this.parser.constructs[e], i = n.attempt(r, a, l); + const o = this, + r = this.parser.constructs[e], + i = n.attempt(r, a, l); return a; function a(c) { return u(c) ? i(c) : l(c); @@ -27970,15 +40450,13 @@ function o5(e) { return u(c) ? (n.exit("data"), i(c)) : (n.consume(c), s); } function u(c) { - if (c === null) - return !0; + if (c === null) return !0; const d = r[c]; let h = -1; if (d) for (; ++h < d.length; ) { const f = d[h]; - if (!f.previous || f.previous.call(o, o.previous)) - return !0; + if (!f.previous || f.previous.call(o, o.previous)) return !0; } return !1; } @@ -27987,27 +40465,40 @@ function o5(e) { function r5(e) { return t; function t(n, o) { - let r = -1, i; + let r = -1, + i; for (; ++r <= n.length; ) - i === void 0 ? n[r] && n[r][1].type === "data" && (i = r, r++) : (!n[r] || n[r][1].type !== "data") && (r !== i + 2 && (n[i][1].end = n[r - 1][1].end, n.splice(i + 2, r - i - 2), r = i + 2), i = void 0); + i === void 0 + ? n[r] && n[r][1].type === "data" && ((i = r), r++) + : (!n[r] || n[r][1].type !== "data") && + (r !== i + 2 && + ((n[i][1].end = n[r - 1][1].end), + n.splice(i + 2, r - i - 2), + (r = i + 2)), + (i = void 0)); return e ? e(n, o) : n; } } function _S(e, t) { let n = 0; for (; ++n <= e.length; ) - if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") { - const o = e[n - 1][1], r = t.sliceStream(o); - let i = r.length, a = -1, l = 0, s; + if ( + (n === e.length || e[n][1].type === "lineEnding") && + e[n - 1][1].type === "data" + ) { + const o = e[n - 1][1], + r = t.sliceStream(o); + let i = r.length, + a = -1, + l = 0, + s; for (; i--; ) { const u = r[i]; if (typeof u == "string") { - for (a = u.length; u.charCodeAt(a - 1) === 32; ) - l++, a--; + for (a = u.length; u.charCodeAt(a - 1) === 32; ) l++, a--; if (a) break; a = -1; - } else if (u === -2) - s = !0, l++; + } else if (u === -2) (s = !0), l++; else if (u !== -1) { i++; break; @@ -28015,22 +40506,21 @@ function _S(e, t) { } if (l) { const u = { - type: n === e.length || s || l < 2 ? "lineSuffix" : "hardBreakTrailing", + type: + n === e.length || s || l < 2 ? "lineSuffix" : "hardBreakTrailing", start: { line: o.end.line, column: o.end.column - l, offset: o.end.offset - l, _index: o.start._index + i, - _bufferIndex: i ? a : o.start._bufferIndex + a + _bufferIndex: i ? a : o.start._bufferIndex + a, }, - end: Object.assign({}, o.end) + end: Object.assign({}, o.end), }; - o.end = Object.assign({}, u.start), o.start.offset === o.end.offset ? Object.assign(o, u) : (e.splice( - n, - 0, - ["enter", u, t], - ["exit", u, t] - ), n += 2); + (o.end = Object.assign({}, u.start)), + o.start.offset === o.end.offset + ? Object.assign(o, u) + : (e.splice(n, 0, ["enter", u, t], ["exit", u, t]), (n += 2)); } n++; } @@ -28038,43 +40528,54 @@ function _S(e, t) { } function AS(e, t, n) { let o = Object.assign( - n ? Object.assign({}, n) : { - line: 1, - column: 1, - offset: 0 - }, + n + ? Object.assign({}, n) + : { + line: 1, + column: 1, + offset: 0, + }, { _index: 0, - _bufferIndex: -1 - } + _bufferIndex: -1, + }, ); - const r = {}, i = []; - let a = [], l = []; + const r = {}, + i = []; + let a = [], + l = []; const s = { - consume: x, - enter: C, - exit: E, - attempt: _(w), - check: _(S), - interrupt: _(S, { - interrupt: !0 - }) - }, u = { - previous: null, - code: null, - containerState: {}, - events: [], - parser: e, - sliceStream: f, - sliceSerialize: h, - now: m, - defineSkip: b, - write: d - }; + consume: x, + enter: C, + exit: E, + attempt: _(w), + check: _(S), + interrupt: _(S, { + interrupt: !0, + }), + }, + u = { + previous: null, + code: null, + containerState: {}, + events: [], + parser: e, + sliceStream: f, + sliceSerialize: h, + now: m, + defineSkip: b, + write: d, + }; let c = t.tokenize.call(u, s); return t.resolveAll && i.push(t), u; function d(j) { - return a = Ft(a, j), y(), a[a.length - 1] !== null ? [] : (A(t, 0), u.events = a1(i, u.events, u), u.events); + return ( + (a = Ft(a, j)), + y(), + a[a.length - 1] !== null + ? [] + : (A(t, 0), (u.events = a1(i, u.events, u)), u.events) + ); } function h(j, P) { return TS(f(j), P); @@ -28089,36 +40590,53 @@ function AS(e, t, n) { column: P, offset: V, _index: k, - _bufferIndex: N + _bufferIndex: N, }; } function b(j) { - r[j.line] = j.column, L(); + (r[j.line] = j.column), L(); } function y() { let j; for (; o._index < a.length; ) { const P = a[o._index]; if (typeof P == "string") - for (j = o._index, o._bufferIndex < 0 && (o._bufferIndex = 0); o._index === j && o._bufferIndex < P.length; ) + for ( + j = o._index, o._bufferIndex < 0 && (o._bufferIndex = 0); + o._index === j && o._bufferIndex < P.length; + + ) g(P.charCodeAt(o._bufferIndex)); - else - g(P); + else g(P); } } function g(j) { c = c(j); } function x(j) { - he(j) ? (o.line++, o.column = 1, o.offset += j === -3 ? 2 : 1, L()) : j !== -1 && (o.column++, o.offset++), o._bufferIndex < 0 ? o._index++ : (o._bufferIndex++, o._bufferIndex === a[o._index].length && (o._bufferIndex = -1, o._index++)), u.previous = j; + he(j) + ? (o.line++, (o.column = 1), (o.offset += j === -3 ? 2 : 1), L()) + : j !== -1 && (o.column++, o.offset++), + o._bufferIndex < 0 + ? o._index++ + : (o._bufferIndex++, + o._bufferIndex === a[o._index].length && + ((o._bufferIndex = -1), o._index++)), + (u.previous = j); } function C(j, P) { const V = P || {}; - return V.type = j, V.start = m(), u.events.push(["enter", V, u]), l.push(V), V; + return ( + (V.type = j), + (V.start = m()), + u.events.push(["enter", V, u]), + l.push(V), + V + ); } function E(j) { const P = l.pop(); - return P.end = m(), u.events.push(["exit", P, u]), P; + return (P.end = m()), u.events.push(["exit", P, u]), P; } function w(j, P) { A(j, P.from); @@ -28130,37 +40648,48 @@ function AS(e, t, n) { return V; function V(k, N, T) { let F, I, D, v; - return Array.isArray(k) ? B(k) : "tokenize" in k ? ( - // @ts-expect-error Looks like a construct. - B([k]) - ) : z(k); + return Array.isArray(k) + ? B(k) + : "tokenize" in k + ? // @ts-expect-error Looks like a construct. + B([k]) + : z(k); function z(K) { return Q; function Q(ne) { - const oe = ne !== null && K[ne], U = ne !== null && K.null, ge = [ - // To do: add more extension tests. - /* c8 ignore next 2 */ - ...Array.isArray(oe) ? oe : oe ? [oe] : [], - ...Array.isArray(U) ? U : U ? [U] : [] - ]; + const oe = ne !== null && K[ne], + U = ne !== null && K.null, + ge = [ + // To do: add more extension tests. + /* c8 ignore next 2 */ + ...(Array.isArray(oe) ? oe : oe ? [oe] : []), + ...(Array.isArray(U) ? U : U ? [U] : []), + ]; return B(ge)(ne); } } function B(K) { - return F = K, I = 0, K.length === 0 ? T : M(K[I]); + return (F = K), (I = 0), K.length === 0 ? T : M(K[I]); } function M(K) { return Q; function Q(ne) { - return v = R(), D = K, K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? G() : K.tokenize.call( - // If we do have fields, create an object w/ `context` as its - // prototype. - // This allows a “live binding”, which is needed for `interrupt`. - P ? Object.assign(Object.create(u), P) : u, - s, - W, - G - )(ne); + return ( + (v = R()), + (D = K), + K.partial || (u.currentConstruct = K), + K.name && u.parser.constructs.disable.null.includes(K.name) + ? G() + : K.tokenize.call( + // If we do have fields, create an object w/ `context` as its + // prototype. + // This allows a “live binding”, which is needed for `interrupt`. + P ? Object.assign(Object.create(u), P) : u, + s, + W, + G, + )(ne) + ); } } function W(K) { @@ -28172,36 +40701,47 @@ function AS(e, t, n) { } } function A(j, P) { - j.resolveAll && !i.includes(j) && i.push(j), j.resolve && cn( - u.events, - P, - u.events.length - P, - j.resolve(u.events.slice(P), u) - ), j.resolveTo && (u.events = j.resolveTo(u.events, u)); + j.resolveAll && !i.includes(j) && i.push(j), + j.resolve && + cn(u.events, P, u.events.length - P, j.resolve(u.events.slice(P), u)), + j.resolveTo && (u.events = j.resolveTo(u.events, u)); } function R() { - const j = m(), P = u.previous, V = u.currentConstruct, k = u.events.length, N = Array.from(l); + const j = m(), + P = u.previous, + V = u.currentConstruct, + k = u.events.length, + N = Array.from(l); return { restore: T, - from: k + from: k, }; function T() { - o = j, u.previous = P, u.currentConstruct = V, u.events.length = k, l = N, L(); + (o = j), + (u.previous = P), + (u.currentConstruct = V), + (u.events.length = k), + (l = N), + L(); } } function L() { - o.line in r && o.column < 2 && (o.column = r[o.line], o.offset += r[o.line] - 1); + o.line in r && + o.column < 2 && + ((o.column = r[o.line]), (o.offset += r[o.line] - 1)); } } function MS(e, t) { - const n = t.start._index, o = t.start._bufferIndex, r = t.end._index, i = t.end._bufferIndex; + const n = t.start._index, + o = t.start._bufferIndex, + r = t.end._index, + i = t.end._bufferIndex; let a; - if (n === r) - a = [e[n].slice(o, i)]; + if (n === r) a = [e[n].slice(o, i)]; else { - if (a = e.slice(n, r), o > -1) { + if (((a = e.slice(n, r)), o > -1)) { const l = a[0]; - typeof l == "string" ? a[0] = l.slice(o) : a.shift(); + typeof l == "string" ? (a[0] = l.slice(o)) : a.shift(); } i > 0 && a.push(e[r].slice(0, i)); } @@ -28214,8 +40754,7 @@ function TS(e, t) { for (; ++n < e.length; ) { const i = e[n]; let a; - if (typeof i == "string") - a = i; + if (typeof i == "string") a = i; else switch (i) { case -5: { @@ -28244,88 +40783,103 @@ function TS(e, t) { default: a = String.fromCharCode(i); } - r = i === -2, o.push(a); + (r = i === -2), o.push(a); } return o.join(""); } const OS = { - 42: yt, - 43: yt, - 45: yt, - 48: yt, - 49: yt, - 50: yt, - 51: yt, - 52: yt, - 53: yt, - 54: yt, - 55: yt, - 56: yt, - 57: yt, - 62: Kf -}, NS = { - 91: DE -}, DS = { - [-2]: Yl, - [-1]: Yl, - 32: Yl -}, LS = { - 35: zE, - 42: yi, - 45: [v0, yi], - 60: VE, - 61: v0, - 95: yi, - 96: y0, - 126: y0 -}, FS = { - 38: Qf, - 92: Xf -}, RS = { - [-5]: Gl, - [-4]: Gl, - [-3]: Gl, - 33: aS, - 38: Qf, - 42: Vs, - 60: [cE, GE], - 91: sS, - 92: [jE, Xf], - 93: s1, - 95: Vs, - 96: wE -}, jS = { - null: [Vs, ES] -}, IS = { - null: [42, 95] -}, zS = { - null: [] -}, HS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - attentionMarkers: IS, - contentInitial: NS, - disable: zS, - document: OS, - flow: LS, - flowInitial: DS, - insideSpan: jS, - string: FS, - text: RS -}, Symbol.toStringTag, { value: "Module" })); + 42: yt, + 43: yt, + 45: yt, + 48: yt, + 49: yt, + 50: yt, + 51: yt, + 52: yt, + 53: yt, + 54: yt, + 55: yt, + 56: yt, + 57: yt, + 62: Kf, + }, + NS = { + 91: DE, + }, + DS = { + [-2]: Yl, + [-1]: Yl, + 32: Yl, + }, + LS = { + 35: zE, + 42: yi, + 45: [v0, yi], + 60: VE, + 61: v0, + 95: yi, + 96: y0, + 126: y0, + }, + FS = { + 38: Qf, + 92: Xf, + }, + RS = { + [-5]: Gl, + [-4]: Gl, + [-3]: Gl, + 33: aS, + 38: Qf, + 42: Vs, + 60: [cE, GE], + 91: sS, + 92: [jE, Xf], + 93: s1, + 95: Vs, + 96: wE, + }, + jS = { + null: [Vs, ES], + }, + IS = { + null: [42, 95], + }, + zS = { + null: [], + }, + HS = /* @__PURE__ */ Object.freeze( + /* @__PURE__ */ Object.defineProperty( + { + __proto__: null, + attentionMarkers: IS, + contentInitial: NS, + disable: zS, + document: OS, + flow: LS, + flowInitial: DS, + insideSpan: jS, + string: FS, + text: RS, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ); function PS(e) { - const n = ( - /** @type {FullNormalizedExtension} */ - qw([HS, ...(e || {}).extensions || []]) - ), o = { - defined: [], - lazy: {}, - constructs: n, - content: r(nE), - document: r(rE), - flow: r(xS), - string: r(SS), - text: r(kS) - }; + const n = + /** @type {FullNormalizedExtension} */ + qw([HS, ...((e || {}).extensions || [])]), + o = { + defined: [], + lazy: {}, + constructs: n, + content: r(nE), + document: r(rE), + flow: r(xS), + string: r(SS), + text: r(kS), + }; return o; function r(i) { return a; @@ -28336,20 +40890,39 @@ function PS(e) { } const x0 = /[\0\t\n\r]/g; function BS() { - let e = 1, t = "", n = !0, o; + let e = 1, + t = "", + n = !0, + o; return r; function r(i, a, l) { const s = []; let u, c, d, h, f; - for (i = t + i.toString(a), d = 0, t = "", n && (i.charCodeAt(0) === 65279 && d++, n = void 0); d < i.length; ) { - if (x0.lastIndex = d, u = x0.exec(i), h = u && u.index !== void 0 ? u.index : i.length, f = i.charCodeAt(h), !u) { + for ( + i = t + i.toString(a), + d = 0, + t = "", + n && (i.charCodeAt(0) === 65279 && d++, (n = void 0)); + d < i.length; + + ) { + if ( + ((x0.lastIndex = d), + (u = x0.exec(i)), + (h = u && u.index !== void 0 ? u.index : i.length), + (f = i.charCodeAt(h)), + !u) + ) { t = i.slice(d); break; } - if (f === 10 && d === h && o) - s.push(-3), o = void 0; + if (f === 10 && d === h && o) s.push(-3), (o = void 0); else - switch (o && (s.push(-5), o = void 0), d < h && (s.push(i.slice(d, h)), e += h - d), f) { + switch ( + (o && (s.push(-5), (o = void 0)), + d < h && (s.push(i.slice(d, h)), (e += h - d)), + f) + ) { case 0: { s.push(65533), e++; break; @@ -28359,11 +40932,11 @@ function BS() { break; } case 10: { - s.push(-4), e = 1; + s.push(-4), (e = 1); break; } default: - o = !0, e = 1; + (o = !0), (e = 1); } d = h + 1; } @@ -28371,19 +40944,24 @@ function BS() { } } function VS(e) { - for (; !Jf(e); ) - ; + for (; !Jf(e); ); return e; } function i5(e, t) { const n = Number.parseInt(e, t); return ( // C0 except for HT, LF, FF, CR, space. - n < 9 || n === 11 || n > 13 && n < 32 || // Control character (DEL) of C0, and C1 controls. - n > 126 && n < 160 || // Lone high surrogates and low surrogates. - n > 55295 && n < 57344 || // Noncharacters. - n > 64975 && n < 65008 || (n & 65535) === 65535 || (n & 65535) === 65534 || // Out of range - n > 1114111 ? "�" : String.fromCharCode(n) + n < 9 || + n === 11 || + (n > 13 && n < 32) || // Control character (DEL) of C0, and C1 controls. + (n > 126 && n < 160) || // Lone high surrogates and low surrogates. + (n > 55295 && n < 57344) || // Noncharacters. + (n > 64975 && n < 65008) || + (n & 65535) === 65535 || + (n & 65535) === 65534 || // Out of range + n > 1114111 + ? "�" + : String.fromCharCode(n) ); } const $S = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; @@ -28391,35 +40969,40 @@ function WS(e) { return e.replace($S, ZS); } function ZS(e, t, n) { - if (t) - return t; + if (t) return t; if (n.charCodeAt(0) === 35) { - const r = n.charCodeAt(1), i = r === 120 || r === 88; + const r = n.charCodeAt(1), + i = r === 120 || r === 88; return i5(n.slice(i ? 2 : 1), i ? 16 : 10); } return l1(n) || e; } -const a5 = {}.hasOwnProperty, US = ( - /** - * @type {( - * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & - * ((value: Value, options?: Options | null | undefined) => Root) - * )} - */ - /** - * @param {Value} value - * @param {Encoding | Options | null | undefined} [encoding] - * @param {Options | null | undefined} [options] - * @returns {Root} - */ - function(e, t, n) { - return typeof t != "string" && (n = t, t = void 0), qS(n)( - VS( - PS(n).document().write(BS()(e, t, !0)) - ) - ); - } -); +const a5 = {}.hasOwnProperty, + US = + /** + * @type {( + * ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) & + * ((value: Value, options?: Options | null | undefined) => Root) + * )} + */ + /** + * @param {Value} value + * @param {Encoding | Options | null | undefined} [encoding] + * @param {Options | null | undefined} [options] + * @returns {Root} + */ + function (e, t, n) { + return ( + typeof t != "string" && ((n = t), (t = void 0)), + qS(n)( + VS( + PS(n) + .document() + .write(BS()(e, t, !0)), + ), + ) + ); + }; function qS(e) { const t = { transforms: [], @@ -28465,7 +41048,7 @@ function qS(e) { resourceTitleString: s, setextHeading: l($e), strong: l(St), - thematicBreak: l(Dt) + thematicBreak: l(Dt), }, exit: { atxHeading: c(), @@ -28515,8 +41098,8 @@ function qS(e) { setextHeadingLineSequence: R, setextHeadingText: A, strong: c(), - thematicBreak: c() - } + thematicBreak: c(), + }, }; l5(t, (e || {}).mdastExtensions || []); const n = {}; @@ -28524,92 +41107,147 @@ function qS(e) { function o(Z) { let ee = { type: "root", - children: [] + children: [], }; const se = { - stack: [ee], - tokenStack: [], - config: t, - enter: u, - exit: d, - buffer: s, - resume: h, - setData: i, - getData: a - }, xe = []; + stack: [ee], + tokenStack: [], + config: t, + enter: u, + exit: d, + buffer: s, + resume: h, + setData: i, + getData: a, + }, + xe = []; let de = -1; for (; ++de < Z.length; ) if (Z[de][1].type === "listOrdered" || Z[de][1].type === "listUnordered") - if (Z[de][0] === "enter") - xe.push(de); + if (Z[de][0] === "enter") xe.push(de); else { const Ve = xe.pop(); de = r(Z, Ve, de); } for (de = -1; ++de < Z.length; ) { const Ve = t[Z[de][0]]; - a5.call(Ve, Z[de][1].type) && Ve[Z[de][1].type].call( - Object.assign( - { - sliceSerialize: Z[de][2].sliceSerialize - }, - se - ), - Z[de][1] - ); + a5.call(Ve, Z[de][1].type) && + Ve[Z[de][1].type].call( + Object.assign( + { + sliceSerialize: Z[de][2].sliceSerialize, + }, + se, + ), + Z[de][1], + ); } if (se.tokenStack.length > 0) { const Ve = se.tokenStack[se.tokenStack.length - 1]; (Ve[1] || w0).call(se, void 0, Ve[0]); } - for (ee.position = { - start: An( - Z.length > 0 ? Z[0][1].start : { - line: 1, - column: 1, - offset: 0 - } - ), - end: An( - Z.length > 0 ? Z[Z.length - 2][1].end : { - line: 1, - column: 1, - offset: 0 - } - ) - }, de = -1; ++de < t.transforms.length; ) + for ( + ee.position = { + start: An( + Z.length > 0 + ? Z[0][1].start + : { + line: 1, + column: 1, + offset: 0, + }, + ), + end: An( + Z.length > 0 + ? Z[Z.length - 2][1].end + : { + line: 1, + column: 1, + offset: 0, + }, + ), + }, + de = -1; + ++de < t.transforms.length; + + ) ee = t.transforms[de](ee) || ee; return ee; } function r(Z, ee, se) { - let xe = ee - 1, de = -1, Ve = !1, et, Qe, ft, rt; + let xe = ee - 1, + de = -1, + Ve = !1, + et, + Qe, + ft, + rt; for (; ++xe <= se; ) { const Se = Z[xe]; - if (Se[1].type === "listUnordered" || Se[1].type === "listOrdered" || Se[1].type === "blockQuote" ? (Se[0] === "enter" ? de++ : de--, rt = void 0) : Se[1].type === "lineEndingBlank" ? Se[0] === "enter" && (et && !rt && !de && !ft && (ft = xe), rt = void 0) : Se[1].type === "linePrefix" || Se[1].type === "listItemValue" || Se[1].type === "listItemMarker" || Se[1].type === "listItemPrefix" || Se[1].type === "listItemPrefixWhitespace" || (rt = void 0), !de && Se[0] === "enter" && Se[1].type === "listItemPrefix" || de === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) { + if ( + (Se[1].type === "listUnordered" || + Se[1].type === "listOrdered" || + Se[1].type === "blockQuote" + ? (Se[0] === "enter" ? de++ : de--, (rt = void 0)) + : Se[1].type === "lineEndingBlank" + ? Se[0] === "enter" && + (et && !rt && !de && !ft && (ft = xe), (rt = void 0)) + : Se[1].type === "linePrefix" || + Se[1].type === "listItemValue" || + Se[1].type === "listItemMarker" || + Se[1].type === "listItemPrefix" || + Se[1].type === "listItemPrefixWhitespace" || + (rt = void 0), + (!de && Se[0] === "enter" && Se[1].type === "listItemPrefix") || + (de === -1 && + Se[0] === "exit" && + (Se[1].type === "listUnordered" || Se[1].type === "listOrdered"))) + ) { if (et) { let $t = xe; for (Qe = void 0; $t--; ) { const it = Z[$t]; - if (it[1].type === "lineEnding" || it[1].type === "lineEndingBlank") { + if ( + it[1].type === "lineEnding" || + it[1].type === "lineEndingBlank" + ) { if (it[0] === "exit") continue; - Qe && (Z[Qe][1].type = "lineEndingBlank", Ve = !0), it[1].type = "lineEnding", Qe = $t; - } else if (!(it[1].type === "linePrefix" || it[1].type === "blockQuotePrefix" || it[1].type === "blockQuotePrefixWhitespace" || it[1].type === "blockQuoteMarker" || it[1].type === "listItemIndent")) break; + Qe && ((Z[Qe][1].type = "lineEndingBlank"), (Ve = !0)), + (it[1].type = "lineEnding"), + (Qe = $t); + } else if ( + !( + it[1].type === "linePrefix" || + it[1].type === "blockQuotePrefix" || + it[1].type === "blockQuotePrefixWhitespace" || + it[1].type === "blockQuoteMarker" || + it[1].type === "listItemIndent" + ) + ) + break; } - ft && (!Qe || ft < Qe) && (et._spread = !0), et.end = Object.assign( - {}, - Qe ? Z[Qe][1].start : Se[1].end - ), Z.splice(Qe || xe, 0, ["exit", et, Se[2]]), xe++, se++; + ft && (!Qe || ft < Qe) && (et._spread = !0), + (et.end = Object.assign({}, Qe ? Z[Qe][1].start : Se[1].end)), + Z.splice(Qe || xe, 0, ["exit", et, Se[2]]), + xe++, + se++; } - Se[1].type === "listItemPrefix" && (et = { - type: "listItem", - _spread: !1, - start: Object.assign({}, Se[1].start), - // @ts-expect-error: we’ll add `end` in a second. - end: void 0 - }, Z.splice(xe, 0, ["enter", et, Se[2]]), xe++, se++, ft = void 0, rt = !0); + Se[1].type === "listItemPrefix" && + ((et = { + type: "listItem", + _spread: !1, + start: Object.assign({}, Se[1].start), + // @ts-expect-error: we’ll add `end` in a second. + end: void 0, + }), + Z.splice(xe, 0, ["enter", et, Se[2]]), + xe++, + se++, + (ft = void 0), + (rt = !0)); } } - return Z[ee][1]._spread = Ve, se; + return (Z[ee][1]._spread = Ve), se; } function i(Z, ee) { n[Z] = ee; @@ -28626,13 +41264,19 @@ function qS(e) { function s() { this.stack.push({ type: "fragment", - children: [] + children: [], }); } function u(Z, ee, se) { - return this.stack[this.stack.length - 1].children.push(Z), this.stack.push(Z), this.tokenStack.push([ee, se]), Z.position = { - start: An(ee.start) - }, Z; + return ( + this.stack[this.stack.length - 1].children.push(Z), + this.stack.push(Z), + this.tokenStack.push([ee, se]), + (Z.position = { + start: An(ee.start), + }), + Z + ); } function c(Z) { return ee; @@ -28641,16 +41285,23 @@ function qS(e) { } } function d(Z, ee) { - const se = this.stack.pop(), xe = this.tokenStack.pop(); + const se = this.stack.pop(), + xe = this.tokenStack.pop(); if (xe) - xe[0].type !== Z.type && (ee ? ee.call(this, Z, xe[0]) : (xe[1] || w0).call(this, Z, xe[0])); - else throw new Error( - "Cannot close `" + Z.type + "` (" + nr({ - start: Z.start, - end: Z.end - }) + "): it’s not open" - ); - return se.position.end = An(Z.end), se; + xe[0].type !== Z.type && + (ee ? ee.call(this, Z, xe[0]) : (xe[1] || w0).call(this, Z, xe[0])); + else + throw new Error( + "Cannot close `" + + Z.type + + "` (" + + nr({ + start: Z.start, + end: Z.end, + }) + + "): it’s not open", + ); + return (se.position.end = An(Z.end)), se; } function h() { return Zw(this.stack.pop()); @@ -28661,40 +41312,46 @@ function qS(e) { function m(Z) { if (a("expectingFirstListItemValue")) { const ee = this.stack[this.stack.length - 2]; - ee.start = Number.parseInt(this.sliceSerialize(Z), 10), i("expectingFirstListItemValue"); + (ee.start = Number.parseInt(this.sliceSerialize(Z), 10)), + i("expectingFirstListItemValue"); } } function b() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.lang = Z; } function y() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.meta = Z; } function g() { a("flowCodeInside") || (this.buffer(), i("flowCodeInside", !0)); } function x() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; - ee.value = Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), i("flowCodeInside"); + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; + (ee.value = Z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, "")), i("flowCodeInside"); } function C() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z.replace(/(\r?\n|\r)$/g, ""); } function E(Z) { - const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = Co( - this.sliceSerialize(Z) - ).toLowerCase(); + const ee = this.resume(), + se = this.stack[this.stack.length - 1]; + (se.label = ee), (se.identifier = Co(this.sliceSerialize(Z)).toLowerCase()); } function w() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.title = Z; } function S() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.url = Z; } function _(Z) { @@ -28717,74 +41374,91 @@ function qS(e) { function j(Z) { const ee = this.stack[this.stack.length - 1]; let se = ee.children[ee.children.length - 1]; - (!se || se.type !== "text") && (se = Vt(), se.position = { - start: An(Z.start) - }, ee.children.push(se)), this.stack.push(se); + (!se || se.type !== "text") && + ((se = Vt()), + (se.position = { + start: An(Z.start), + }), + ee.children.push(se)), + this.stack.push(se); } function P(Z) { const ee = this.stack.pop(); - ee.value += this.sliceSerialize(Z), ee.position.end = An(Z.end); + (ee.value += this.sliceSerialize(Z)), (ee.position.end = An(Z.end)); } function V(Z) { const ee = this.stack[this.stack.length - 1]; if (a("atHardBreak")) { const se = ee.children[ee.children.length - 1]; - se.position.end = An(Z.end), i("atHardBreak"); + (se.position.end = An(Z.end)), i("atHardBreak"); return; } - !a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(ee.type) && (j.call(this, Z), P.call(this, Z)); + !a("setextHeadingSlurpLineEnding") && + t.canContainEols.includes(ee.type) && + (j.call(this, Z), P.call(this, Z)); } function k() { i("atHardBreak", !0); } function N() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z; } function T() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z; } function F() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.value = Z; } function I() { const Z = this.stack[this.stack.length - 1]; if (a("inReference")) { const ee = a("referenceType") || "shortcut"; - Z.type += "Reference", Z.referenceType = ee, delete Z.url, delete Z.title; - } else - delete Z.identifier, delete Z.label; + (Z.type += "Reference"), + (Z.referenceType = ee), + delete Z.url, + delete Z.title; + } else delete Z.identifier, delete Z.label; i("referenceType"); } function D() { const Z = this.stack[this.stack.length - 1]; if (a("inReference")) { const ee = a("referenceType") || "shortcut"; - Z.type += "Reference", Z.referenceType = ee, delete Z.url, delete Z.title; - } else - delete Z.identifier, delete Z.label; + (Z.type += "Reference"), + (Z.referenceType = ee), + delete Z.url, + delete Z.title; + } else delete Z.identifier, delete Z.label; i("referenceType"); } function v(Z) { - const ee = this.sliceSerialize(Z), se = this.stack[this.stack.length - 2]; - se.label = WS(ee), se.identifier = Co(ee).toLowerCase(); + const ee = this.sliceSerialize(Z), + se = this.stack[this.stack.length - 2]; + (se.label = WS(ee)), (se.identifier = Co(ee).toLowerCase()); } function z() { - const Z = this.stack[this.stack.length - 1], ee = this.resume(), se = this.stack[this.stack.length - 1]; - if (i("inReference", !0), se.type === "link") { + const Z = this.stack[this.stack.length - 1], + ee = this.resume(), + se = this.stack[this.stack.length - 1]; + if ((i("inReference", !0), se.type === "link")) { const xe = Z.children; se.children = xe; - } else - se.alt = ee; + } else se.alt = ee; } function B() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.url = Z; } function M() { - const Z = this.resume(), ee = this.stack[this.stack.length - 1]; + const Z = this.resume(), + ee = this.stack[this.stack.length - 1]; ee.title = Z; } function W() { @@ -28794,23 +41468,25 @@ function qS(e) { i("referenceType", "collapsed"); } function K(Z) { - const ee = this.resume(), se = this.stack[this.stack.length - 1]; - se.label = ee, se.identifier = Co( - this.sliceSerialize(Z) - ).toLowerCase(), i("referenceType", "full"); + const ee = this.resume(), + se = this.stack[this.stack.length - 1]; + (se.label = ee), + (se.identifier = Co(this.sliceSerialize(Z)).toLowerCase()), + i("referenceType", "full"); } function Q(Z) { i("characterReferenceType", Z.type); } function ne(Z) { - const ee = this.sliceSerialize(Z), se = a("characterReferenceType"); + const ee = this.sliceSerialize(Z), + se = a("characterReferenceType"); let xe; - se ? (xe = i5( - ee, - se === "characterReferenceMarkerNumeric" ? 10 : 16 - ), i("characterReferenceType")) : xe = l1(ee); + se + ? ((xe = i5(ee, se === "characterReferenceMarkerNumeric" ? 10 : 16)), + i("characterReferenceType")) + : (xe = l1(ee)); const de = this.stack.pop(); - de.value += xe, de.position.end = An(Z.end); + (de.value += xe), (de.position.end = An(Z.end)); } function oe(Z) { P.call(this, Z); @@ -28825,7 +41501,7 @@ function qS(e) { function ge() { return { type: "blockquote", - children: [] + children: [], }; } function J() { @@ -28833,13 +41509,13 @@ function qS(e) { type: "code", lang: null, meta: null, - value: "" + value: "", }; } function ke() { return { type: "inlineCode", - value: "" + value: "", }; } function ie() { @@ -28848,31 +41524,31 @@ function qS(e) { identifier: "", label: null, title: null, - url: "" + url: "", }; } function _e() { return { type: "emphasis", - children: [] + children: [], }; } function $e() { return { type: "heading", depth: void 0, - children: [] + children: [], }; } function Ee() { return { - type: "break" + type: "break", }; } function le() { return { type: "html", - value: "" + value: "", }; } function Ge() { @@ -28880,7 +41556,7 @@ function qS(e) { type: "image", title: null, url: "", - alt: null + alt: null, }; } function Ot() { @@ -28888,7 +41564,7 @@ function qS(e) { type: "link", title: null, url: "", - children: [] + children: [], }; } function Jt(Z) { @@ -28897,7 +41573,7 @@ function qS(e) { ordered: Z.type === "listOrdered", start: null, spread: Z._spread, - children: [] + children: [], }; } function Nt(Z) { @@ -28905,30 +41581,30 @@ function qS(e) { type: "listItem", spread: Z._spread, checked: null, - children: [] + children: [], }; } function en() { return { type: "paragraph", - children: [] + children: [], }; } function St() { return { type: "strong", - children: [] + children: [], }; } function Vt() { return { type: "text", - value: "" + value: "", }; } function Dt() { return { - type: "thematicBreak" + type: "thematicBreak", }; } } @@ -28936,7 +41612,7 @@ function An(e) { return { line: e.line, column: e.column, - offset: e.offset + offset: e.offset, }; } function l5(e, t) { @@ -28963,71 +41639,107 @@ function YS(e, t) { } } function w0(e, t) { - throw e ? new Error( - "Cannot close `" + e.type + "` (" + nr({ - start: e.start, - end: e.end - }) + "): a different token (`" + t.type + "`, " + nr({ - start: t.start, - end: t.end - }) + ") is open" - ) : new Error( - "Cannot close document, a token (`" + t.type + "`, " + nr({ - start: t.start, - end: t.end - }) + ") is still open" - ); + throw e + ? new Error( + "Cannot close `" + + e.type + + "` (" + + nr({ + start: e.start, + end: e.end, + }) + + "): a different token (`" + + t.type + + "`, " + + nr({ + start: t.start, + end: t.end, + }) + + ") is open", + ) + : new Error( + "Cannot close document, a token (`" + + t.type + + "`, " + + nr({ + start: t.start, + end: t.end, + }) + + ") is still open", + ); } function GS(e) { - Object.assign(this, { Parser: (n) => { - const o = ( - /** @type {Options} */ - this.data("settings") - ); - return US( - n, - Object.assign({}, o, e, { - // Note: these options are not in the readme. - // The goal is for them to be set by plugins on `data` instead of being - // passed by users. - extensions: this.data("micromarkExtensions") || [], - mdastExtensions: this.data("fromMarkdownExtensions") || [] - }) - ); - } }); + Object.assign(this, { + Parser: (n) => { + const o = + /** @type {Options} */ + this.data("settings"); + return US( + n, + Object.assign({}, o, e, { + // Note: these options are not in the readme. + // The goal is for them to be set by plugins on `data` instead of being + // passed by users. + extensions: this.data("micromarkExtensions") || [], + mdastExtensions: this.data("fromMarkdownExtensions") || [], + }), + ); + }, + }); } function KS(e, t) { const n = { type: "element", tagName: "blockquote", properties: {}, - children: e.wrap(e.all(t), !0) + children: e.wrap(e.all(t), !0), }; return e.patch(t, n), e.applyData(t, n); } function XS(e, t) { const n = { type: "element", tagName: "br", properties: {}, children: [] }; - return e.patch(t, n), [e.applyData(t, n), { type: "text", value: ` -` }]; + return ( + e.patch(t, n), + [ + e.applyData(t, n), + { + type: "text", + value: ` +`, + }, + ] + ); } function QS(e, t) { - const n = t.value ? t.value + ` -` : "", o = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, r = {}; + const n = t.value + ? t.value + + ` +` + : "", + o = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, + r = {}; o && (r.className = ["language-" + o]); let i = { type: "element", tagName: "code", properties: r, - children: [{ type: "text", value: n }] + children: [{ type: "text", value: n }], }; - return t.meta && (i.data = { meta: t.meta }), e.patch(t, i), i = e.applyData(t, i), i = { type: "element", tagName: "pre", properties: {}, children: [i] }, e.patch(t, i), i; + return ( + t.meta && (i.data = { meta: t.meta }), + e.patch(t, i), + (i = e.applyData(t, i)), + (i = { type: "element", tagName: "pre", properties: {}, children: [i] }), + e.patch(t, i), + i + ); } function JS(e, t) { const n = { type: "element", tagName: "del", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } @@ -29036,50 +41748,62 @@ function ek(e, t) { type: "element", tagName: "em", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } function jo(e) { const t = []; - let n = -1, o = 0, r = 0; + let n = -1, + o = 0, + r = 0; for (; ++n < e.length; ) { const i = e.charCodeAt(n); let a = ""; - if (i === 37 && _t(e.charCodeAt(n + 1)) && _t(e.charCodeAt(n + 2))) - r = 2; + if (i === 37 && _t(e.charCodeAt(n + 1)) && _t(e.charCodeAt(n + 2))) r = 2; else if (i < 128) - /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i)) || (a = String.fromCharCode(i)); + /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i)) || + (a = String.fromCharCode(i)); else if (i > 55295 && i < 57344) { const l = e.charCodeAt(n + 1); - i < 56320 && l > 56319 && l < 57344 ? (a = String.fromCharCode(i, l), r = 1) : a = "�"; - } else - a = String.fromCharCode(i); - a && (t.push(e.slice(o, n), encodeURIComponent(a)), o = n + r + 1, a = ""), r && (n += r, r = 0); + i < 56320 && l > 56319 && l < 57344 + ? ((a = String.fromCharCode(i, l)), (r = 1)) + : (a = "�"); + } else a = String.fromCharCode(i); + a && + (t.push(e.slice(o, n), encodeURIComponent(a)), (o = n + r + 1), (a = "")), + r && ((n += r), (r = 0)); } return t.join("") + e.slice(o); } function s5(e, t) { - const n = String(t.identifier).toUpperCase(), o = jo(n.toLowerCase()), r = e.footnoteOrder.indexOf(n); + const n = String(t.identifier).toUpperCase(), + o = jo(n.toLowerCase()), + r = e.footnoteOrder.indexOf(n); let i; - r === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, i = e.footnoteOrder.length) : (e.footnoteCounts[n]++, i = r + 1); - const a = e.footnoteCounts[n], l = { - type: "element", - tagName: "a", - properties: { - href: "#" + e.clobberPrefix + "fn-" + o, - id: e.clobberPrefix + "fnref-" + o + (a > 1 ? "-" + a : ""), - dataFootnoteRef: !0, - ariaDescribedBy: ["footnote-label"] - }, - children: [{ type: "text", value: String(i) }] - }; + r === -1 + ? (e.footnoteOrder.push(n), + (e.footnoteCounts[n] = 1), + (i = e.footnoteOrder.length)) + : (e.footnoteCounts[n]++, (i = r + 1)); + const a = e.footnoteCounts[n], + l = { + type: "element", + tagName: "a", + properties: { + href: "#" + e.clobberPrefix + "fn-" + o, + id: e.clobberPrefix + "fnref-" + o + (a > 1 ? "-" + a : ""), + dataFootnoteRef: !0, + ariaDescribedBy: ["footnote-label"], + }, + children: [{ type: "text", value: String(i) }], + }; e.patch(t, l); const s = { type: "element", tagName: "sup", properties: {}, - children: [l] + children: [l], }; return e.patch(t, s), e.applyData(t, s); } @@ -29088,23 +41812,26 @@ function tk(e, t) { let o = 1; for (; o in n; ) o++; const r = String(o); - return n[r] = { - type: "footnoteDefinition", - identifier: r, - children: [{ type: "paragraph", children: t.children }], - position: t.position - }, s5(e, { - type: "footnoteReference", - identifier: r, - position: t.position - }); + return ( + (n[r] = { + type: "footnoteDefinition", + identifier: r, + children: [{ type: "paragraph", children: t.children }], + position: t.position, + }), + s5(e, { + type: "footnoteReference", + identifier: r, + position: t.position, + }) + ); } function nk(e, t) { const n = { type: "element", tagName: "h" + t.depth, properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } @@ -29118,17 +41845,29 @@ function ok(e, t) { function c5(e, t) { const n = t.referenceType; let o = "]"; - if (n === "collapsed" ? o += "[]" : n === "full" && (o += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference") + if ( + (n === "collapsed" + ? (o += "[]") + : n === "full" && (o += "[" + (t.label || t.identifier) + "]"), + t.type === "imageReference") + ) return { type: "text", value: "![" + t.alt + o }; - const r = e.all(t), i = r[0]; - i && i.type === "text" ? i.value = "[" + i.value : r.unshift({ type: "text", value: "[" }); + const r = e.all(t), + i = r[0]; + i && i.type === "text" + ? (i.value = "[" + i.value) + : r.unshift({ type: "text", value: "[" }); const a = r[r.length - 1]; - return a && a.type === "text" ? a.value += o : r.push({ type: "text", value: o }), r; + return ( + a && a.type === "text" + ? (a.value += o) + : r.push({ type: "text", value: o }), + r + ); } function rk(e, t) { const n = e.definition(t.identifier); - if (!n) - return c5(e, t); + if (!n) return c5(e, t); const o = { src: jo(n.url || ""), alt: t.alt }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", tagName: "img", properties: o, children: [] }; @@ -29136,7 +41875,8 @@ function rk(e, t) { } function ik(e, t) { const n = { src: jo(t.url) }; - t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title); + t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), + t.title !== null && t.title !== void 0 && (n.title = t.title); const o = { type: "element", tagName: "img", properties: n, children: [] }; return e.patch(t, o), e.applyData(t, o); } @@ -29147,21 +41887,20 @@ function ak(e, t) { type: "element", tagName: "code", properties: {}, - children: [n] + children: [n], }; return e.patch(t, o), e.applyData(t, o); } function lk(e, t) { const n = e.definition(t.identifier); - if (!n) - return c5(e, t); + if (!n) return c5(e, t); const o = { href: jo(n.url || "") }; n.title !== null && n.title !== void 0 && (o.title = n.title); const r = { type: "element", tagName: "a", properties: o, - children: e.all(t) + children: e.all(t), }; return e.patch(t, r), e.applyData(t, r); } @@ -29172,31 +41911,52 @@ function sk(e, t) { type: "element", tagName: "a", properties: n, - children: e.all(t) + children: e.all(t), }; return e.patch(t, o), e.applyData(t, o); } function ck(e, t, n) { - const o = e.all(t), r = n ? uk(n) : u5(t), i = {}, a = []; + const o = e.all(t), + r = n ? uk(n) : u5(t), + i = {}, + a = []; if (typeof t.checked == "boolean") { const c = o[0]; let d; - c && c.type === "element" && c.tagName === "p" ? d = c : (d = { type: "element", tagName: "p", properties: {}, children: [] }, o.unshift(d)), d.children.length > 0 && d.children.unshift({ type: "text", value: " " }), d.children.unshift({ - type: "element", - tagName: "input", - properties: { type: "checkbox", checked: t.checked, disabled: !0 }, - children: [] - }), i.className = ["task-list-item"]; + c && c.type === "element" && c.tagName === "p" + ? (d = c) + : ((d = { type: "element", tagName: "p", properties: {}, children: [] }), + o.unshift(d)), + d.children.length > 0 && d.children.unshift({ type: "text", value: " " }), + d.children.unshift({ + type: "element", + tagName: "input", + properties: { type: "checkbox", checked: t.checked, disabled: !0 }, + children: [], + }), + (i.className = ["task-list-item"]); } let l = -1; for (; ++l < o.length; ) { const c = o[l]; - (r || l !== 0 || c.type !== "element" || c.tagName !== "p") && a.push({ type: "text", value: ` -` }), c.type === "element" && c.tagName === "p" && !r ? a.push(...c.children) : a.push(c); + (r || l !== 0 || c.type !== "element" || c.tagName !== "p") && + a.push({ + type: "text", + value: ` +`, + }), + c.type === "element" && c.tagName === "p" && !r + ? a.push(...c.children) + : a.push(c); } const s = o[o.length - 1]; - s && (r || s.type !== "element" || s.tagName !== "p") && a.push({ type: "text", value: ` -` }); + s && + (r || s.type !== "element" || s.tagName !== "p") && + a.push({ + type: "text", + value: ` +`, + }); const u = { type: "element", tagName: "li", properties: i, children: a }; return e.patch(t, u), e.applyData(t, u); } @@ -29206,8 +41966,7 @@ function uk(e) { t = e.spread || !1; const n = e.children; let o = -1; - for (; !t && ++o < n.length; ) - t = u5(n[o]); + for (; !t && ++o < n.length; ) t = u5(n[o]); } return t; } @@ -29216,11 +41975,22 @@ function u5(e) { return t ?? e.children.length > 1; } function dk(e, t) { - const n = {}, o = e.all(t); + const n = {}, + o = e.all(t); let r = -1; - for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++r < o.length; ) { + for ( + typeof t.start == "number" && t.start !== 1 && (n.start = t.start); + ++r < o.length; + + ) { const a = o[r]; - if (a.type === "element" && a.tagName === "li" && a.properties && Array.isArray(a.properties.className) && a.properties.className.includes("task-list-item")) { + if ( + a.type === "element" && + a.tagName === "li" && + a.properties && + Array.isArray(a.properties.className) && + a.properties.className.includes("task-list-item") + ) { n.className = ["contains-task-list"]; break; } @@ -29229,7 +41999,7 @@ function dk(e, t) { type: "element", tagName: t.ordered ? "ol" : "ul", properties: n, - children: e.wrap(o, !0) + children: e.wrap(o, !0), }; return e.patch(t, i), e.applyData(t, i); } @@ -29238,7 +42008,7 @@ function fk(e, t) { type: "element", tagName: "p", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } @@ -29251,71 +42021,82 @@ function hk(e, t) { type: "element", tagName: "strong", properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -const c1 = d5("start"), u1 = d5("end"); +const c1 = d5("start"), + u1 = d5("end"); function gk(e) { return { start: c1(e), end: u1(e) }; } function d5(e) { return t; function t(n) { - const o = n && n.position && n.position[e] || {}; + const o = (n && n.position && n.position[e]) || {}; return { // @ts-expect-error: in practice, null is allowed. line: o.line || null, // @ts-expect-error: in practice, null is allowed. column: o.column || null, // @ts-expect-error: in practice, null is allowed. - offset: o.offset > -1 ? o.offset : null + offset: o.offset > -1 ? o.offset : null, }; } } function mk(e, t) { - const n = e.all(t), o = n.shift(), r = []; + const n = e.all(t), + o = n.shift(), + r = []; if (o) { const a = { type: "element", tagName: "thead", properties: {}, - children: e.wrap([o], !0) + children: e.wrap([o], !0), }; e.patch(t.children[0], a), r.push(a); } if (n.length > 0) { const a = { - type: "element", - tagName: "tbody", - properties: {}, - children: e.wrap(n, !0) - }, l = c1(t.children[1]), s = u1(t.children[t.children.length - 1]); + type: "element", + tagName: "tbody", + properties: {}, + children: e.wrap(n, !0), + }, + l = c1(t.children[1]), + s = u1(t.children[t.children.length - 1]); l.line && s.line && (a.position = { start: l, end: s }), r.push(a); } const i = { type: "element", tagName: "table", properties: {}, - children: e.wrap(r, !0) + children: e.wrap(r, !0), }; return e.patch(t, i), e.applyData(t, i); } function bk(e, t, n) { - const o = n ? n.children : void 0, i = (o ? o.indexOf(t) : 1) === 0 ? "th" : "td", a = n && n.type === "table" ? n.align : void 0, l = a ? a.length : t.children.length; + const o = n ? n.children : void 0, + i = (o ? o.indexOf(t) : 1) === 0 ? "th" : "td", + a = n && n.type === "table" ? n.align : void 0, + l = a ? a.length : t.children.length; let s = -1; const u = []; for (; ++s < l; ) { - const d = t.children[s], h = {}, f = a ? a[s] : void 0; + const d = t.children[s], + h = {}, + f = a ? a[s] : void 0; f && (h.align = f); let m = { type: "element", tagName: i, properties: h, children: [] }; - d && (m.children = e.all(d), e.patch(d, m), m = e.applyData(t, m)), u.push(m); + d && ((m.children = e.all(d)), e.patch(d, m), (m = e.applyData(t, m))), + u.push(m); } const c = { type: "element", tagName: "tr", properties: {}, - children: e.wrap(u, !0) + children: e.wrap(u, !0), }; return e.patch(t, c), e.applyData(t, c); } @@ -29325,33 +42106,34 @@ function yk(e, t) { tagName: "td", // Assume body cell. properties: {}, - children: e.all(t) + children: e.all(t), }; return e.patch(t, n), e.applyData(t, n); } -const E0 = 9, S0 = 32; +const E0 = 9, + S0 = 32; function Ck(e) { - const t = String(e), n = /\r?\n|\r/g; - let o = n.exec(t), r = 0; + const t = String(e), + n = /\r?\n|\r/g; + let o = n.exec(t), + r = 0; const i = []; for (; o; ) - i.push( - k0(t.slice(r, o.index), r > 0, !0), - o[0] - ), r = o.index + o[0].length, o = n.exec(t); + i.push(k0(t.slice(r, o.index), r > 0, !0), o[0]), + (r = o.index + o[0].length), + (o = n.exec(t)); return i.push(k0(t.slice(r), r > 0, !1)), i.join(""); } function k0(e, t, n) { - let o = 0, r = e.length; + let o = 0, + r = e.length; if (t) { let i = e.codePointAt(o); - for (; i === E0 || i === S0; ) - o++, i = e.codePointAt(o); + for (; i === E0 || i === S0; ) o++, (i = e.codePointAt(o)); } if (n) { let i = e.codePointAt(r - 1); - for (; i === E0 || i === S0; ) - r--, i = e.codePointAt(r - 1); + for (; i === E0 || i === S0; ) r--, (i = e.codePointAt(r - 1)); } return r > o ? e.slice(o, r) : ""; } @@ -29364,7 +42146,7 @@ function xk(e, t) { type: "element", tagName: "hr", properties: {}, - children: [] + children: [], }; return e.patch(t, n), e.applyData(t, n); } @@ -29396,12 +42178,12 @@ const wk = { toml: ii, yaml: ii, definition: ii, - footnoteDefinition: ii + footnoteDefinition: ii, }; function ii() { return null; } -const f5 = ( +const f5 = /** * @type {( * ((test: PredicateTest) => AssertPredicate) & @@ -29412,28 +42194,21 @@ const f5 = ( * @param {Test} [test] * @returns {AssertAnything} */ - function(e) { - if (e == null) - return _k; - if (typeof e == "string") - return kk(e); - if (typeof e == "object") - return Array.isArray(e) ? Ek(e) : Sk(e); - if (typeof e == "function") - return da(e); + function (e) { + if (e == null) return _k; + if (typeof e == "string") return kk(e); + if (typeof e == "object") return Array.isArray(e) ? Ek(e) : Sk(e); + if (typeof e == "function") return da(e); throw new Error("Expected function, string, or object as test"); - } -); + }; function Ek(e) { const t = []; let n = -1; - for (; ++n < e.length; ) - t[n] = f5(e[n]); + for (; ++n < e.length; ) t[n] = f5(e[n]); return da(o); function o(...r) { let i = -1; - for (; ++i < t.length; ) - if (t[i].call(this, ...r)) return !0; + for (; ++i < t.length; ) if (t[i].call(this, ...r)) return !0; return !1; } } @@ -29441,8 +42216,7 @@ function Sk(e) { return da(t); function t(n) { let o; - for (o in e) - if (n[o] !== e[o]) return !1; + for (o in e) if (n[o] !== e[o]) return !1; return !0; } } @@ -29455,64 +42229,84 @@ function kk(e) { function da(e) { return t; function t(n, ...o) { - return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...o)); + return !!( + n && + typeof n == "object" && + "type" in n && + e.call(this, n, ...o) + ); } } function _k() { return !0; } -const Ak = !0, _0 = !1, Mk = "skip", Tk = ( - /** - * @type {( - * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & - * ((tree: Tree, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) - * )} - */ - /** - * @param {Node} tree - * @param {Test} test - * @param {Visitor} visitor - * @param {boolean | null | undefined} [reverse] - * @returns {void} - */ - function(e, t, n, o) { - typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null); - const r = f5(t), i = o ? -1 : 1; - a(e, void 0, [])(); - function a(l, s, u) { - const c = l && typeof l == "object" ? l : {}; - if (typeof c.type == "string") { - const h = ( - // `hast` - typeof c.tagName == "string" ? c.tagName : ( - // `xast` - typeof c.name == "string" ? c.name : void 0 +const Ak = !0, + _0 = !1, + Mk = "skip", + Tk = + /** + * @type {( + * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & + * ((tree: Tree, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) + * )} + */ + /** + * @param {Node} tree + * @param {Test} test + * @param {Visitor} visitor + * @param {boolean | null | undefined} [reverse] + * @returns {void} + */ + function (e, t, n, o) { + typeof t == "function" && + typeof n != "function" && + ((o = n), (n = t), (t = null)); + const r = f5(t), + i = o ? -1 : 1; + a(e, void 0, [])(); + function a(l, s, u) { + const c = l && typeof l == "object" ? l : {}; + if (typeof c.type == "string") { + const h = + // `hast` + typeof c.tagName == "string" + ? c.tagName + : // `xast` + typeof c.name == "string" + ? c.name + : void 0; + Object.defineProperty(d, "name", { + value: "node (" + (l.type + (h ? "<" + h + ">" : "")) + ")", + }); + } + return d; + function d() { + let h = [], + f, + m, + b; + if ( + (!t || r(l, s, u[u.length - 1] || null)) && + ((h = Ok(n(l, u))), h[0] === _0) ) - ); - Object.defineProperty(d, "name", { - value: "node (" + (l.type + (h ? "<" + h + ">" : "")) + ")" - }); - } - return d; - function d() { - let h = [], f, m, b; - if ((!t || r(l, s, u[u.length - 1] || null)) && (h = Ok(n(l, u)), h[0] === _0)) + return h; + if (l.children && h[0] !== Mk) + for ( + m = (o ? l.children.length : -1) + i, b = u.concat(l); + m > -1 && m < l.children.length; + + ) { + if (((f = a(l.children[m], m, b)()), f[0] === _0)) return f; + m = typeof f[1] == "number" ? f[1] : m + i; + } return h; - if (l.children && h[0] !== Mk) - for (m = (o ? l.children.length : -1) + i, b = u.concat(l); m > -1 && m < l.children.length; ) { - if (f = a(l.children[m], m, b)(), f[0] === _0) - return f; - m = typeof f[1] == "number" ? f[1] : m + i; - } - return h; + } } - } - } -); + }; function Ok(e) { return Array.isArray(e) ? e : typeof e == "number" ? [Ak, e] : [e]; } -const d1 = ( +const d1 = /** * @type {( * ((tree: Tree, test: Check, visitor: BuildVisitor, reverse?: boolean | null | undefined) => void) & @@ -29526,30 +42320,39 @@ const d1 = ( * @param {boolean | null | undefined} [reverse] * @returns {void} */ - function(e, t, n, o) { - typeof t == "function" && typeof n != "function" && (o = n, n = t, t = null), Tk(e, t, r, o); + function (e, t, n, o) { + typeof t == "function" && + typeof n != "function" && + ((o = n), (n = t), (t = null)), + Tk(e, t, r, o); function r(i, a) { const l = a[a.length - 1]; - return n( - i, - l ? l.children.indexOf(i) : null, - l - ); + return n(i, l ? l.children.indexOf(i) : null, l); } - } -); + }; function Nk(e) { - return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column; + return ( + !e || + !e.position || + !e.position.start || + !e.position.start.line || + !e.position.start.column || + !e.position.end || + !e.position.end.line || + !e.position.end.column + ); } const A0 = {}.hasOwnProperty; function Dk(e) { const t = /* @__PURE__ */ Object.create(null); - if (!e || !e.type) - throw new Error("mdast-util-definitions expected node"); - return d1(e, "definition", (o) => { - const r = M0(o.identifier); - r && !A0.call(t, r) && (t[r] = o); - }), n; + if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); + return ( + d1(e, "definition", (o) => { + const r = M0(o.identifier); + r && !A0.call(t, r) && (t[r] = o); + }), + n + ); function n(o) { const r = M0(o); return r && A0.call(t, r) ? t[r] : null; @@ -29560,22 +42363,59 @@ function M0(e) { } const $i = {}.hasOwnProperty; function Lk(e, t) { - const n = t || {}, o = n.allowDangerousHtml || !1, r = {}; - return a.dangerous = o, a.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, a.footnoteLabel = n.footnoteLabel || "Footnotes", a.footnoteLabelTagName = n.footnoteLabelTagName || "h2", a.footnoteLabelProperties = n.footnoteLabelProperties || { - className: ["sr-only"] - }, a.footnoteBackLabel = n.footnoteBackLabel || "Back to content", a.unknownHandler = n.unknownHandler, a.passThrough = n.passThrough, a.handlers = { ...wk, ...n.handlers }, a.definition = Dk(e), a.footnoteById = r, a.footnoteOrder = [], a.footnoteCounts = {}, a.patch = Fk, a.applyData = Rk, a.one = l, a.all = s, a.wrap = Ik, a.augment = i, d1(e, "footnoteDefinition", (u) => { - const c = String(u.identifier).toUpperCase(); - $i.call(r, c) || (r[c] = u); - }), a; + const n = t || {}, + o = n.allowDangerousHtml || !1, + r = {}; + return ( + (a.dangerous = o), + (a.clobberPrefix = + n.clobberPrefix === void 0 || n.clobberPrefix === null + ? "user-content-" + : n.clobberPrefix), + (a.footnoteLabel = n.footnoteLabel || "Footnotes"), + (a.footnoteLabelTagName = n.footnoteLabelTagName || "h2"), + (a.footnoteLabelProperties = n.footnoteLabelProperties || { + className: ["sr-only"], + }), + (a.footnoteBackLabel = n.footnoteBackLabel || "Back to content"), + (a.unknownHandler = n.unknownHandler), + (a.passThrough = n.passThrough), + (a.handlers = { ...wk, ...n.handlers }), + (a.definition = Dk(e)), + (a.footnoteById = r), + (a.footnoteOrder = []), + (a.footnoteCounts = {}), + (a.patch = Fk), + (a.applyData = Rk), + (a.one = l), + (a.all = s), + (a.wrap = Ik), + (a.augment = i), + d1(e, "footnoteDefinition", (u) => { + const c = String(u.identifier).toUpperCase(); + $i.call(r, c) || (r[c] = u); + }), + a + ); function i(u, c) { if (u && "data" in u && u.data) { const d = u.data; - d.hName && (c.type !== "element" && (c = { - type: "element", - tagName: "", - properties: {}, - children: [] - }), c.tagName = d.hName), c.type === "element" && d.hProperties && (c.properties = { ...c.properties, ...d.hProperties }), "children" in c && c.children && d.hChildren && (c.children = d.hChildren); + d.hName && + (c.type !== "element" && + (c = { + type: "element", + tagName: "", + properties: {}, + children: [], + }), + (c.tagName = d.hName)), + c.type === "element" && + d.hProperties && + (c.properties = { ...c.properties, ...d.hProperties }), + "children" in c && + c.children && + d.hChildren && + (c.children = d.hChildren); } if (u) { const d = "type" in u ? u : { position: u }; @@ -29584,12 +42424,15 @@ function Lk(e, t) { return c; } function a(u, c, d, h) { - return Array.isArray(d) && (h = d, d = {}), i(u, { - type: "element", - tagName: c, - properties: d || {}, - children: h || [] - }); + return ( + Array.isArray(d) && ((h = d), (d = {})), + i(u, { + type: "element", + tagName: c, + properties: d || {}, + children: h || [], + }) + ); } function l(u, c) { return p5(a, u, c); @@ -29604,21 +42447,39 @@ function Fk(e, t) { function Rk(e, t) { let n = t; if (e && e.data) { - const o = e.data.hName, r = e.data.hChildren, i = e.data.hProperties; - typeof o == "string" && (n.type === "element" ? n.tagName = o : n = { - type: "element", - tagName: o, - properties: {}, - children: [] - }), n.type === "element" && i && (n.properties = { ...n.properties, ...i }), "children" in n && n.children && r !== null && r !== void 0 && (n.children = r); + const o = e.data.hName, + r = e.data.hChildren, + i = e.data.hProperties; + typeof o == "string" && + (n.type === "element" + ? (n.tagName = o) + : (n = { + type: "element", + tagName: o, + properties: {}, + children: [], + })), + n.type === "element" && i && (n.properties = { ...n.properties, ...i }), + "children" in n && + n.children && + r !== null && + r !== void 0 && + (n.children = r); } return n; } function p5(e, t, n) { const o = t && t.type; - if (!o) - throw new Error("Expected node, got `" + t + "`"); - return $i.call(e.handlers, o) ? e.handlers[o](e, t, n) : e.passThrough && e.passThrough.includes(o) ? "children" in t ? { ...t, children: f1(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : jk(e, t); + if (!o) throw new Error("Expected node, got `" + t + "`"); + return $i.call(e.handlers, o) + ? e.handlers[o](e, t, n) + : e.passThrough && e.passThrough.includes(o) + ? "children" in t + ? { ...t, children: f1(e, t) } + : t + : e.unknownHandler + ? e.unknownHandler(e, t, n) + : jk(e, t); } function f1(e, t) { const n = []; @@ -29628,7 +42489,14 @@ function f1(e, t) { for (; ++r < o.length; ) { const i = p5(e, o[r], t); if (i) { - if (r && o[r - 1].type === "break" && (!Array.isArray(i) && i.type === "text" && (i.value = i.value.replace(/^\s+/, "")), !Array.isArray(i) && i.type === "element")) { + if ( + r && + o[r - 1].type === "break" && + (!Array.isArray(i) && + i.type === "text" && + (i.value = i.value.replace(/^\s+/, "")), + !Array.isArray(i) && i.type === "element") + ) { const a = i.children[0]; a && a.type === "text" && (a.value = a.value.replace(/^\s+/, "")); } @@ -29639,32 +42507,58 @@ function f1(e, t) { return n; } function jk(e, t) { - const n = t.data || {}, o = "value" in t && !($i.call(n, "hProperties") || $i.call(n, "hChildren")) ? { type: "text", value: t.value } : { - type: "element", - tagName: "div", - properties: {}, - children: f1(e, t) - }; + const n = t.data || {}, + o = + "value" in t && !($i.call(n, "hProperties") || $i.call(n, "hChildren")) + ? { type: "text", value: t.value } + : { + type: "element", + tagName: "div", + properties: {}, + children: f1(e, t), + }; return e.patch(t, o), e.applyData(t, o); } function Ik(e, t) { const n = []; let o = -1; - for (t && n.push({ type: "text", value: ` -` }); ++o < e.length; ) - o && n.push({ type: "text", value: ` -` }), n.push(e[o]); - return t && e.length > 0 && n.push({ type: "text", value: ` -` }), n; + for ( + t && + n.push({ + type: "text", + value: ` +`, + }); + ++o < e.length; + + ) + o && + n.push({ + type: "text", + value: ` +`, + }), + n.push(e[o]); + return ( + t && + e.length > 0 && + n.push({ + type: "text", + value: ` +`, + }), + n + ); } function zk(e) { const t = []; let n = -1; for (; ++n < e.footnoteOrder.length; ) { const o = e.footnoteById[e.footnoteOrder[n]]; - if (!o) - continue; - const r = e.all(o), i = String(o.identifier).toUpperCase(), a = jo(i.toLowerCase()); + if (!o) continue; + const r = e.all(o), + i = String(o.identifier).toUpperCase(), + a = jo(i.toLowerCase()); let l = 0; const s = []; for (; ++l <= e.footnoteCounts[i]; ) { @@ -29675,27 +42569,32 @@ function zk(e) { href: "#" + e.clobberPrefix + "fnref-" + a + (l > 1 ? "-" + l : ""), dataFootnoteBackref: !0, className: ["data-footnote-backref"], - ariaLabel: e.footnoteBackLabel + ariaLabel: e.footnoteBackLabel, }, - children: [{ type: "text", value: "↩" }] + children: [{ type: "text", value: "↩" }], }; - l > 1 && d.children.push({ - type: "element", - tagName: "sup", - children: [{ type: "text", value: String(l) }] - }), s.length > 0 && s.push({ type: "text", value: " " }), s.push(d); + l > 1 && + d.children.push({ + type: "element", + tagName: "sup", + children: [{ type: "text", value: String(l) }], + }), + s.length > 0 && s.push({ type: "text", value: " " }), + s.push(d); } const u = r[r.length - 1]; if (u && u.type === "element" && u.tagName === "p") { const d = u.children[u.children.length - 1]; - d && d.type === "text" ? d.value += " " : u.children.push({ type: "text", value: " " }), u.children.push(...s); - } else - r.push(...s); + d && d.type === "text" + ? (d.value += " ") + : u.children.push({ type: "text", value: " " }), + u.children.push(...s); + } else r.push(...s); const c = { type: "element", tagName: "li", properties: { id: e.clobberPrefix + "fn-" + a }, - children: e.wrap(r, !0) + children: e.wrap(r, !0), }; e.patch(o, c), t.push(c); } @@ -29711,34 +42610,51 @@ function zk(e) { properties: { // To do: use structured clone. ...JSON.parse(JSON.stringify(e.footnoteLabelProperties)), - id: "footnote-label" + id: "footnote-label", }, - children: [{ type: "text", value: e.footnoteLabel }] + children: [{ type: "text", value: e.footnoteLabel }], + }, + { + type: "text", + value: ` +`, }, - { type: "text", value: ` -` }, { type: "element", tagName: "ol", properties: {}, - children: e.wrap(t, !0) + children: e.wrap(t, !0), }, - { type: "text", value: ` -` } - ] + { + type: "text", + value: ` +`, + }, + ], }; } function h5(e, t) { - const n = Lk(e, t), o = n.one(e, null), r = zk(n); - return r && o.children.push({ type: "text", value: ` -` }, r), Array.isArray(o) ? { type: "root", children: o } : o; + const n = Lk(e, t), + o = n.one(e, null), + r = zk(n); + return ( + r && + o.children.push( + { + type: "text", + value: ` +`, + }, + r, + ), + Array.isArray(o) ? { type: "root", children: o } : o + ); } -const Hk = ( +const Hk = /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */ - function(e, t) { + function (e, t) { return e && "run" in e ? Pk(e, t) : Bk(e || t); - } -); + }; function Pk(e, t) { return (n, o, r) => { e.run(h5(n, t), o, (i) => { @@ -29757,14 +42673,15 @@ class Dr { * @param {string} [space] */ constructor(t, n, o) { - this.property = t, this.normal = n, o && (this.space = o); + (this.property = t), (this.normal = n), o && (this.space = o); } } Dr.prototype.property = {}; Dr.prototype.normal = {}; Dr.prototype.space = null; function g5(e, t) { - const n = {}, o = {}; + const n = {}, + o = {}; let r = -1; for (; ++r < e.length; ) Object.assign(n, e[r].property), Object.assign(o, e[r].normal); @@ -29780,7 +42697,7 @@ class Bt { * @param {string} attribute */ constructor(t, n) { - this.property = t, this.attribute = n; + (this.property = t), (this.attribute = n); } } Bt.prototype.space = null; @@ -29794,20 +42711,33 @@ Bt.prototype.commaOrSpaceSeparated = !1; Bt.prototype.mustUseProperty = !1; Bt.prototype.defined = !1; let Vk = 0; -const me = to(), Ke = to(), m5 = to(), te = to(), ze = to(), vo = to(), kt = to(); +const me = to(), + Ke = to(), + m5 = to(), + te = to(), + ze = to(), + vo = to(), + kt = to(); function to() { return 2 ** ++Vk; } -const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - boolean: me, - booleanish: Ke, - commaOrSpaceSeparated: kt, - commaSeparated: vo, - number: te, - overloadedBoolean: m5, - spaceSeparated: ze -}, Symbol.toStringTag, { value: "Module" })), Kl = Object.keys(Ws); +const Ws = /* @__PURE__ */ Object.freeze( + /* @__PURE__ */ Object.defineProperty( + { + __proto__: null, + boolean: me, + booleanish: Ke, + commaOrSpaceSeparated: kt, + commaSeparated: vo, + number: te, + overloadedBoolean: m5, + spaceSeparated: ze, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ), + Kl = Object.keys(Ws); class p1 extends Bt { /** * @constructor @@ -29818,7 +42748,7 @@ class p1 extends Bt { */ constructor(t, n, o, r) { let i = -1; - if (super(t, n), T0(this, "space", r), typeof o == "number") + if ((super(t, n), T0(this, "space", r), typeof o == "number")) for (; ++i < Kl.length; ) { const a = Kl[i]; T0(this, Kl[i], (o & Ws[a]) === Ws[a]); @@ -29831,41 +42761,44 @@ function T0(e, t, n) { } const $k = {}.hasOwnProperty; function Io(e) { - const t = {}, n = {}; + const t = {}, + n = {}; let o; for (o in e.properties) - if ($k.call(e.properties, o)) { - const r = e.properties[o], i = new p1( - o, - e.transform(e.attributes || {}, o), - r, - e.space - ); - e.mustUseProperty && e.mustUseProperty.includes(o) && (i.mustUseProperty = !0), t[o] = i, n[$s(o)] = o, n[$s(i.attribute)] = o; + if ($k.call(e.properties, o)) { + const r = e.properties[o], + i = new p1(o, e.transform(e.attributes || {}, o), r, e.space); + e.mustUseProperty && + e.mustUseProperty.includes(o) && + (i.mustUseProperty = !0), + (t[o] = i), + (n[$s(o)] = o), + (n[$s(i.attribute)] = o); } return new Dr(t, n, e.space); } const b5 = Io({ - space: "xlink", - transform(e, t) { - return "xlink:" + t.slice(5).toLowerCase(); - }, - properties: { - xLinkActuate: null, - xLinkArcRole: null, - xLinkHref: null, - xLinkRole: null, - xLinkShow: null, - xLinkTitle: null, - xLinkType: null - } -}), y5 = Io({ - space: "xml", - transform(e, t) { - return "xml:" + t.slice(3).toLowerCase(); - }, - properties: { xmlLang: null, xmlBase: null, xmlSpace: null } -}); + space: "xlink", + transform(e, t) { + return "xlink:" + t.slice(5).toLowerCase(); + }, + properties: { + xLinkActuate: null, + xLinkArcRole: null, + xLinkHref: null, + xLinkRole: null, + xLinkShow: null, + xLinkTitle: null, + xLinkType: null, + }, + }), + y5 = Io({ + space: "xml", + transform(e, t) { + return "xml:" + t.slice(3).toLowerCase(); + }, + properties: { xmlLang: null, xmlBase: null, xmlSpace: null }, + }); function C5(e, t) { return t in e ? e[t] : t; } @@ -29873,991 +42806,997 @@ function v5(e, t) { return C5(e, t.toLowerCase()); } const x5 = Io({ - space: "xmlns", - attributes: { xmlnsxlink: "xmlns:xlink" }, - transform: v5, - properties: { xmlns: null, xmlnsXLink: null } -}), w5 = Io({ - transform(e, t) { - return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); - }, - properties: { - ariaActiveDescendant: null, - ariaAtomic: Ke, - ariaAutoComplete: null, - ariaBusy: Ke, - ariaChecked: Ke, - ariaColCount: te, - ariaColIndex: te, - ariaColSpan: te, - ariaControls: ze, - ariaCurrent: null, - ariaDescribedBy: ze, - ariaDetails: null, - ariaDisabled: Ke, - ariaDropEffect: ze, - ariaErrorMessage: null, - ariaExpanded: Ke, - ariaFlowTo: ze, - ariaGrabbed: Ke, - ariaHasPopup: null, - ariaHidden: Ke, - ariaInvalid: null, - ariaKeyShortcuts: null, - ariaLabel: null, - ariaLabelledBy: ze, - ariaLevel: te, - ariaLive: null, - ariaModal: Ke, - ariaMultiLine: Ke, - ariaMultiSelectable: Ke, - ariaOrientation: null, - ariaOwns: ze, - ariaPlaceholder: null, - ariaPosInSet: te, - ariaPressed: Ke, - ariaReadOnly: Ke, - ariaRelevant: null, - ariaRequired: Ke, - ariaRoleDescription: ze, - ariaRowCount: te, - ariaRowIndex: te, - ariaRowSpan: te, - ariaSelected: Ke, - ariaSetSize: te, - ariaSort: null, - ariaValueMax: te, - ariaValueMin: te, - ariaValueNow: te, - ariaValueText: null, - role: null - } -}), Wk = Io({ - space: "html", - attributes: { - acceptcharset: "accept-charset", - classname: "class", - htmlfor: "for", - httpequiv: "http-equiv" - }, - transform: v5, - mustUseProperty: ["checked", "multiple", "muted", "selected"], - properties: { - // Standard Properties. - abbr: null, - accept: vo, - acceptCharset: ze, - accessKey: ze, - action: null, - allow: null, - allowFullScreen: me, - allowPaymentRequest: me, - allowUserMedia: me, - alt: null, - as: null, - async: me, - autoCapitalize: null, - autoComplete: ze, - autoFocus: me, - autoPlay: me, - blocking: ze, - capture: null, - charSet: null, - checked: me, - cite: null, - className: ze, - cols: te, - colSpan: null, - content: null, - contentEditable: Ke, - controls: me, - controlsList: ze, - coords: te | vo, - crossOrigin: null, - data: null, - dateTime: null, - decoding: null, - default: me, - defer: me, - dir: null, - dirName: null, - disabled: me, - download: m5, - draggable: Ke, - encType: null, - enterKeyHint: null, - fetchPriority: null, - form: null, - formAction: null, - formEncType: null, - formMethod: null, - formNoValidate: me, - formTarget: null, - headers: ze, - height: te, - hidden: me, - high: te, - href: null, - hrefLang: null, - htmlFor: ze, - httpEquiv: ze, - id: null, - imageSizes: null, - imageSrcSet: null, - inert: me, - inputMode: null, - integrity: null, - is: null, - isMap: me, - itemId: null, - itemProp: ze, - itemRef: ze, - itemScope: me, - itemType: ze, - kind: null, - label: null, - lang: null, - language: null, - list: null, - loading: null, - loop: me, - low: te, - manifest: null, - max: null, - maxLength: te, - media: null, - method: null, - min: null, - minLength: te, - multiple: me, - muted: me, - name: null, - nonce: null, - noModule: me, - noValidate: me, - onAbort: null, - onAfterPrint: null, - onAuxClick: null, - onBeforeMatch: null, - onBeforePrint: null, - onBeforeToggle: null, - onBeforeUnload: null, - onBlur: null, - onCancel: null, - onCanPlay: null, - onCanPlayThrough: null, - onChange: null, - onClick: null, - onClose: null, - onContextLost: null, - onContextMenu: null, - onContextRestored: null, - onCopy: null, - onCueChange: null, - onCut: null, - onDblClick: null, - onDrag: null, - onDragEnd: null, - onDragEnter: null, - onDragExit: null, - onDragLeave: null, - onDragOver: null, - onDragStart: null, - onDrop: null, - onDurationChange: null, - onEmptied: null, - onEnded: null, - onError: null, - onFocus: null, - onFormData: null, - onHashChange: null, - onInput: null, - onInvalid: null, - onKeyDown: null, - onKeyPress: null, - onKeyUp: null, - onLanguageChange: null, - onLoad: null, - onLoadedData: null, - onLoadedMetadata: null, - onLoadEnd: null, - onLoadStart: null, - onMessage: null, - onMessageError: null, - onMouseDown: null, - onMouseEnter: null, - onMouseLeave: null, - onMouseMove: null, - onMouseOut: null, - onMouseOver: null, - onMouseUp: null, - onOffline: null, - onOnline: null, - onPageHide: null, - onPageShow: null, - onPaste: null, - onPause: null, - onPlay: null, - onPlaying: null, - onPopState: null, - onProgress: null, - onRateChange: null, - onRejectionHandled: null, - onReset: null, - onResize: null, - onScroll: null, - onScrollEnd: null, - onSecurityPolicyViolation: null, - onSeeked: null, - onSeeking: null, - onSelect: null, - onSlotChange: null, - onStalled: null, - onStorage: null, - onSubmit: null, - onSuspend: null, - onTimeUpdate: null, - onToggle: null, - onUnhandledRejection: null, - onUnload: null, - onVolumeChange: null, - onWaiting: null, - onWheel: null, - open: me, - optimum: te, - pattern: null, - ping: ze, - placeholder: null, - playsInline: me, - popover: null, - popoverTarget: null, - popoverTargetAction: null, - poster: null, - preload: null, - readOnly: me, - referrerPolicy: null, - rel: ze, - required: me, - reversed: me, - rows: te, - rowSpan: te, - sandbox: ze, - scope: null, - scoped: me, - seamless: me, - selected: me, - shadowRootClonable: me, - shadowRootDelegatesFocus: me, - shadowRootMode: null, - shape: null, - size: te, - sizes: null, - slot: null, - span: te, - spellCheck: Ke, - src: null, - srcDoc: null, - srcLang: null, - srcSet: null, - start: te, - step: null, - style: null, - tabIndex: te, - target: null, - title: null, - translate: null, - type: null, - typeMustMatch: me, - useMap: null, - value: Ke, - width: te, - wrap: null, - writingSuggestions: null, - // Legacy. - // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis - align: null, - // Several. Use CSS `text-align` instead, - aLink: null, - // ``. Use CSS `a:active {color}` instead - archive: ze, - // ``. List of URIs to archives - axis: null, - // `` and ``. Use `scope` on `` - background: null, - // ``. Use CSS `background-image` instead - bgColor: null, - // `` and table elements. Use CSS `background-color` instead - border: te, - // ``. Use CSS `border-width` instead, - borderColor: null, - // `
`. Use CSS `border-color` instead, - bottomMargin: te, - // `` - cellPadding: null, - // `
` - cellSpacing: null, - // `
` - char: null, - // Several table elements. When `align=char`, sets the character to align on - charOff: null, - // Several table elements. When `char`, offsets the alignment - classId: null, - // `` - clear: null, - // `
`. Use CSS `clear` instead - code: null, - // `` - codeBase: null, - // `` - codeType: null, - // `` - color: null, - // `` and `
`. Use CSS instead - compact: me, - // Lists. Use CSS to reduce space between items instead - declare: me, - // `` - event: null, - // `