diff --git a/src/dbt_client/dbtCloudIntegration.ts b/src/dbt_client/dbtCloudIntegration.ts index 88da97c26..076485604 100644 --- a/src/dbt_client/dbtCloudIntegration.ts +++ b/src/dbt_client/dbtCloudIntegration.ts @@ -1192,6 +1192,8 @@ export class DBTCloudProjectIntegration async applyDeferConfig(): Promise {} + async applySelectedTarget(): Promise {} + throwDiagnosticsErrorIfAvailable(): void { this.throwBridgeErrorIfAvailable(); } diff --git a/src/dbt_client/dbtCoreIntegration.ts b/src/dbt_client/dbtCoreIntegration.ts index 71470fb0e..4d1d97435 100644 --- a/src/dbt_client/dbtCoreIntegration.ts +++ b/src/dbt_client/dbtCoreIntegration.ts @@ -1199,6 +1199,12 @@ export class DBTCoreProjectIntegration (python) => python!`project.set_defer_config(${deferToProduction}, ${manifestPath}, ${favorState})`, ); + await this.refreshProjectConfig(); + await this.rebuildManifest(); + } + + async applySelectedTarget(): Promise { + await this.refreshProjectConfig(); await this.rebuildManifest(); } diff --git a/src/dbt_client/dbtIntegration.ts b/src/dbt_client/dbtIntegration.ts index ca6ea18ac..9b030e75a 100644 --- a/src/dbt_client/dbtIntegration.ts +++ b/src/dbt_client/dbtIntegration.ts @@ -390,6 +390,7 @@ export interface DBTProjectIntegration extends Disposable { args: HealthcheckArgs, ): Promise; applyDeferConfig(): Promise; + applySelectedTarget(): Promise; getAllDiagnostic(): Diagnostic[]; throwDiagnosticsErrorIfAvailable(): void; getPythonBridgeStatus(): boolean; diff --git a/src/manifest/dbtProject.ts b/src/manifest/dbtProject.ts index f9ff618e3..bc1b4fdce 100644 --- a/src/manifest/dbtProject.ts +++ b/src/manifest/dbtProject.ts @@ -12,6 +12,7 @@ import { EventEmitter, FileSystemWatcher, languages, + ProgressLocation, Range, RelativePattern, Uri, @@ -219,7 +220,17 @@ export class DBTProject implements Disposable { } async setSelectedTarget(targetName: string) { - await this.dbtProjectIntegration.setSelectedTarget(targetName); + await window.withProgress( + { + location: ProgressLocation.Notification, + title: "Changing target...", + cancellable: false, + }, + async () => { + await this.dbtProjectIntegration.setSelectedTarget(targetName); + await this.dbtProjectIntegration.applySelectedTarget(); + }, + ); } getDBTProjectFilePath() { diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index e032a0bc3..cd6adfb57 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 Md = Object.defineProperty; -var Td = (e, t, n) => t in e ? Md(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; +import "./main.css"; +var Md = Object.defineProperty; +var Td = (e, t, n) => + t in e + ? Md(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) + : (e[t] = n); var ar = (e, t, n) => Td(e, typeof t != "symbol" ? t + "" : t, n); -import { Tooltip as Nd, Button as ke, Spinner as kc, Card as Ut, CardTitle as oa, CardBody as un, Badge as Dd, CloseButton as Od, Popover as Ac, PopoverBody as Mc, UncontrolledTooltip as Ld, Input as sn, Label as Ra, Modal as Tc, ModalBody as Nc, FormGroup as e1, FormFeedback as Dc, Alert as z1, CardFooter as jd, Collapse as Oc, Col as Rd, CardImg as Hd, CardSubtitle as Fd, CardText as Id, Row as zd, List as Pd } from "reactstrap"; +import { + Tooltip as Nd, + Button as ke, + Spinner as kc, + Card as Ut, + CardTitle as oa, + CardBody as un, + Badge as Dd, + CloseButton as Od, + Popover as Ac, + PopoverBody as Mc, + UncontrolledTooltip as Ld, + Input as sn, + Label as Ra, + Modal as Tc, + ModalBody as Nc, + FormGroup as e1, + FormFeedback as Dc, + Alert as z1, + CardFooter as jd, + Collapse as Oc, + Col as Rd, + CardImg as Hd, + CardSubtitle as Fd, + CardText as Id, + Row as zd, + List as Pd, +} from "reactstrap"; import * as _ from "react"; -import P, { createContext as ut, Component as Bd, createElement as ql, isValidElement as Lc, useState as ae, useRef as le, forwardRef as P1, useEffect as re, useReducer as B1, useCallback as pe, useMemo as _e, useContext as Re, useLayoutEffect as Vd, useId as jc, useInsertionEffect as Wd, Children as qn, lazy as $d, memo as De } from "react"; +import P, { + createContext as ut, + Component as Bd, + createElement as ql, + isValidElement as Lc, + useState as ae, + useRef as le, + forwardRef as P1, + useEffect as re, + useReducer as B1, + useCallback as pe, + useMemo as _e, + useContext as Re, + useLayoutEffect as Vd, + useId as jc, + useInsertionEffect as Wd, + Children as qn, + lazy as $d, + memo as De, +} from "react"; import { Prism as Zd } from "react-syntax-highlighter"; import Ud, { createPortal as Tn } from "react-dom"; import { useProChat as qd, ProChat as Yd } from "@ant-design/pro-chat"; -import { useFormikContext as Gd, Form as Kd, Field as Xd, Formik as Jd, useFormik as Qd } from "formik"; +import { + useFormikContext as Gd, + Form as Kd, + Field as Xd, + Formik as Jd, + useFormik as Qd, +} from "formik"; import { z as Ue } from "zod"; import { Popconfirm as e3, Select as Yl } from "antd"; -var En = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; +var En = + typeof globalThis < "u" + ? globalThis + : typeof window < "u" + ? window + : typeof global < "u" + ? global + : typeof self < "u" + ? self + : {}; function ro(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 t1 = { exports: {} }, so = {}; +var t1 = { exports: {} }, + so = {}; /** * @license React * react-jsx-runtime.production.min.js @@ -30,15 +98,33 @@ var Gl; function t3() { if (Gl) return so; Gl = 1; - var e = P, 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, a = { key: !0, ref: !0, __self: !0, __source: !0 }; + var e = P, + 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, + a = { key: !0, ref: !0, __self: !0, __source: !0 }; function i(l, s, u) { - var c, d = {}, h = null, g = null; - u !== void 0 && (h = "" + u), s.key !== void 0 && (h = "" + s.key), s.ref !== void 0 && (g = s.ref); + var c, + d = {}, + h = null, + g = null; + u !== void 0 && (h = "" + u), + s.key !== void 0 && (h = "" + s.key), + s.ref !== void 0 && (g = s.ref); for (c in s) o.call(s, c) && !a.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: g, 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: g, + props: d, + _owner: r.current, + }; } - return so.Fragment = n, so.jsx = i, so.jsxs = i, so; + return (so.Fragment = n), (so.jsx = i), (so.jsxs = i), so; } var co = {}; /** @@ -52,635 +138,885 @@ var co = {}; */ var Kl; function n3() { - return Kl || (Kl = 1, process.env.NODE_ENV !== "production" && function() { - var e = P, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = 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"), g = Symbol.for("react.offscreen"), m = Symbol.iterator, b = "@@iterator"; - function C(H) { - if (H === null || typeof H != "object") - return null; - var Y = m && H[m] || H[b]; - return typeof Y == "function" ? Y : null; - } - var p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function v(H) { - { - for (var Y = arguments.length, ee = new Array(Y > 1 ? Y - 1 : 0), ie = 1; ie < Y; ie++) - ee[ie - 1] = arguments[ie]; - y("error", H, ee); - } - } - function y(H, Y, ee) { - { - var ie = p.ReactDebugCurrentFrame, he = ie.getStackAddendum(); - he !== "" && (Y += "%s", ee = ee.concat([he])); - var ve = ee.map(function(ge) { - return String(ge); - }); - ve.unshift("Warning: " + Y), Function.prototype.apply.call(console[H], console, ve); - } - } - var E = !1, x = !1, A = !1, T = !1, k = !1, R; - R = Symbol.for("react.module.reference"); - function L(H) { - return !!(typeof H == "string" || typeof H == "function" || H === o || H === a || k || H === r || H === u || H === c || T || H === g || E || x || A || typeof H == "object" && H !== null && (H.$$typeof === h || H.$$typeof === d || H.$$typeof === i || 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 I(H, Y, ee) { - var ie = H.displayName; - if (ie) - return ie; - var he = Y.displayName || Y.name || ""; - return he !== "" ? ee + "(" + he + ")" : ee; - } - function W(H) { - return H.displayName || "Context"; - } - function B(H) { - if (H == null) - return null; - if (typeof H.tag == "number" && v("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 a: - return "Profiler"; - case r: - return "StrictMode"; - case u: - return "Suspense"; - case c: - return "SuspenseList"; - } - if (typeof H == "object") - switch (H.$$typeof) { - case l: - var Y = H; - return W(Y) + ".Consumer"; - case i: - var ee = H; - return W(ee._context) + ".Provider"; - case s: - return I(H, H.render, "ForwardRef"); - case d: - var ie = H.displayName || null; - return ie !== null ? ie : B(H.type) || "Memo"; - case h: { - var he = H, ve = he._payload, ge = he._init; - try { - return B(ge(ve)); - } catch { - return null; + return ( + Kl || + ((Kl = 1), + process.env.NODE_ENV !== "production" && + (function () { + var e = P, + t = Symbol.for("react.element"), + n = Symbol.for("react.portal"), + o = Symbol.for("react.fragment"), + r = Symbol.for("react.strict_mode"), + a = Symbol.for("react.profiler"), + i = 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"), + g = Symbol.for("react.offscreen"), + m = Symbol.iterator, + b = "@@iterator"; + function C(H) { + if (H === null || typeof H != "object") return null; + var Y = (m && H[m]) || H[b]; + return typeof Y == "function" ? Y : null; + } + var p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function v(H) { + { + for ( + var Y = arguments.length, + ee = new Array(Y > 1 ? Y - 1 : 0), + ie = 1; + ie < Y; + ie++ + ) + ee[ie - 1] = arguments[ie]; + y("error", H, ee); } } - } - return null; - } - var w = Object.assign, N = 0, S, D, j, O, M, F, z; - function $() { - } - $.__reactDisabledLog = !0; - function V() { - { - if (N === 0) { - S = console.log, D = console.info, j = console.warn, O = console.error, M = console.group, F = console.groupCollapsed, z = console.groupEnd; - var H = { - configurable: !0, - enumerable: !0, - value: $, - writable: !0 - }; - Object.defineProperties(console, { - info: H, - log: H, - warn: H, - error: H, - group: H, - groupCollapsed: H, - groupEnd: H - }); - } - N++; - } - } - function q() { - { - if (N--, N === 0) { - var H = { - configurable: !0, - enumerable: !0, - writable: !0 - }; - Object.defineProperties(console, { - log: w({}, H, { - value: S - }), - info: w({}, H, { - value: D - }), - warn: w({}, H, { - value: j - }), - error: w({}, H, { - value: O - }), - group: w({}, H, { - value: M - }), - groupCollapsed: w({}, H, { - value: F - }), - groupEnd: w({}, H, { - value: z - }) - }); - } - N < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue."); - } - } - var K = p.ReactCurrentDispatcher, X; - function J(H, Y, ee) { - { - if (X === void 0) - try { - throw Error(); - } catch (he) { - var ie = he.stack.trim().match(/\n( *(at )?)/); - X = ie && ie[1] || ""; + function y(H, Y, ee) { + { + var ie = p.ReactDebugCurrentFrame, + he = ie.getStackAddendum(); + he !== "" && ((Y += "%s"), (ee = ee.concat([he]))); + var ve = ee.map(function (ge) { + return String(ge); + }); + ve.unshift("Warning: " + Y), + Function.prototype.apply.call(console[H], console, ve); + } } - return ` -` + X + H; - } - } - var te = !1, Z; - { - var se = typeof WeakMap == "function" ? WeakMap : Map; - Z = new se(); - } - function G(H, Y) { - if (!H || te) - return ""; - { - var ee = Z.get(H); - if (ee !== void 0) - return ee; - } - var ie; - te = !0; - var he = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var ve; - ve = K.current, K.current = null, V(); - try { - if (Y) { - var ge = function() { - throw Error(); - }; - if (Object.defineProperty(ge.prototype, "props", { - set: function() { - throw Error(); + var E = !1, + x = !1, + A = !1, + T = !1, + k = !1, + R; + R = Symbol.for("react.module.reference"); + function L(H) { + return !!( + typeof H == "string" || + typeof H == "function" || + H === o || + H === a || + k || + H === r || + H === u || + H === c || + T || + H === g || + E || + x || + A || + (typeof H == "object" && + H !== null && + (H.$$typeof === h || + H.$$typeof === d || + H.$$typeof === i || + 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 I(H, Y, ee) { + var ie = H.displayName; + if (ie) return ie; + var he = Y.displayName || Y.name || ""; + return he !== "" ? ee + "(" + he + ")" : ee; + } + function W(H) { + return H.displayName || "Context"; + } + function B(H) { + if (H == null) return null; + if ( + (typeof H.tag == "number" && + v( + "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 a: + return "Profiler"; + case r: + return "StrictMode"; + case u: + return "Suspense"; + case c: + return "SuspenseList"; } - }), typeof Reflect == "object" && Reflect.construct) { - try { - Reflect.construct(ge, []); - } catch (Ve) { - ie = Ve; + if (typeof H == "object") + switch (H.$$typeof) { + case l: + var Y = H; + return W(Y) + ".Consumer"; + case i: + var ee = H; + return W(ee._context) + ".Provider"; + case s: + return I(H, H.render, "ForwardRef"); + case d: + var ie = H.displayName || null; + return ie !== null ? ie : B(H.type) || "Memo"; + case h: { + var he = H, + ve = he._payload, + ge = he._init; + try { + return B(ge(ve)); + } catch { + return null; + } + } + } + return null; + } + var w = Object.assign, + N = 0, + S, + D, + j, + O, + M, + F, + z; + function $() {} + $.__reactDisabledLog = !0; + function V() { + { + if (N === 0) { + (S = console.log), + (D = console.info), + (j = console.warn), + (O = console.error), + (M = console.group), + (F = console.groupCollapsed), + (z = console.groupEnd); + var H = { + configurable: !0, + enumerable: !0, + value: $, + writable: !0, + }; + Object.defineProperties(console, { + info: H, + log: H, + warn: H, + error: H, + group: H, + groupCollapsed: H, + groupEnd: H, + }); + } + N++; } - Reflect.construct(H, [], ge); - } else { + } + function q() { + { + if ((N--, N === 0)) { + var H = { + configurable: !0, + enumerable: !0, + writable: !0, + }; + Object.defineProperties(console, { + log: w({}, H, { + value: S, + }), + info: w({}, H, { + value: D, + }), + warn: w({}, H, { + value: j, + }), + error: w({}, H, { + value: O, + }), + group: w({}, H, { + value: M, + }), + groupCollapsed: w({}, H, { + value: F, + }), + groupEnd: w({}, H, { + value: z, + }), + }); + } + N < 0 && + v( + "disabledDepth fell below zero. This is a bug in React. Please file an issue.", + ); + } + } + var K = p.ReactCurrentDispatcher, + X; + function J(H, Y, ee) { + { + if (X === void 0) + try { + throw Error(); + } catch (he) { + var ie = he.stack.trim().match(/\n( *(at )?)/); + X = (ie && ie[1]) || ""; + } + return ( + ` +` + + X + + H + ); + } + } + var te = !1, + Z; + { + var se = typeof WeakMap == "function" ? WeakMap : Map; + Z = new se(); + } + function G(H, Y) { + if (!H || te) return ""; + { + var ee = Z.get(H); + if (ee !== void 0) return ee; + } + var ie; + te = !0; + var he = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + var ve; + (ve = K.current), (K.current = null), V(); try { - ge.call(); + if (Y) { + var ge = function () { + throw Error(); + }; + if ( + (Object.defineProperty(ge.prototype, "props", { + set: function () { + throw Error(); + }, + }), + typeof Reflect == "object" && Reflect.construct) + ) { + try { + Reflect.construct(ge, []); + } catch (Ve) { + ie = Ve; + } + Reflect.construct(H, [], ge); + } else { + try { + ge.call(); + } catch (Ve) { + ie = Ve; + } + H.call(ge.prototype); + } + } else { + try { + throw Error(); + } catch (Ve) { + ie = Ve; + } + H(); + } } catch (Ve) { - ie = Ve; + if (Ve && ie && typeof Ve.stack == "string") { + for ( + var ue = Ve.stack.split(` +`), + ze = ie.stack.split(` +`), + Ae = ue.length - 1, + Te = ze.length - 1; + Ae >= 1 && Te >= 0 && ue[Ae] !== ze[Te]; + + ) + Te--; + for (; Ae >= 1 && Te >= 0; Ae--, Te--) + if (ue[Ae] !== ze[Te]) { + if (Ae !== 1 || Te !== 1) + do + if ((Ae--, Te--, Te < 0 || ue[Ae] !== ze[Te])) { + var Ze = + ` +` + ue[Ae].replace(" at new ", " at "); + return ( + H.displayName && + Ze.includes("") && + (Ze = Ze.replace("", H.displayName)), + typeof H == "function" && Z.set(H, Ze), + Ze + ); + } + while (Ae >= 1 && Te >= 0); + break; + } + } + } finally { + (te = !1), (K.current = ve), q(), (Error.prepareStackTrace = he); } - H.call(ge.prototype); + var Jt = H ? H.displayName || H.name : "", + It = Jt ? J(Jt) : ""; + return typeof H == "function" && Z.set(H, It), It; } - } else { - try { - throw Error(); - } catch (Ve) { - ie = Ve; + function ye(H, Y, ee) { + return G(H, !1); } - H(); - } - } catch (Ve) { - if (Ve && ie && typeof Ve.stack == "string") { - for (var ue = Ve.stack.split(` -`), ze = ie.stack.split(` -`), Ae = ue.length - 1, Te = ze.length - 1; Ae >= 1 && Te >= 0 && ue[Ae] !== ze[Te]; ) - Te--; - for (; Ae >= 1 && Te >= 0; Ae--, Te--) - if (ue[Ae] !== ze[Te]) { - if (Ae !== 1 || Te !== 1) - do - if (Ae--, Te--, Te < 0 || ue[Ae] !== ze[Te]) { - var Ze = ` -` + ue[Ae].replace(" at new ", " at "); - return H.displayName && Ze.includes("") && (Ze = Ze.replace("", H.displayName)), typeof H == "function" && Z.set(H, Ze), Ze; + function je(H) { + var Y = H.prototype; + return !!(Y && Y.isReactComponent); + } + function Ee(H, Y, ee) { + if (H == null) return ""; + if (typeof H == "function") return G(H, je(H)); + if (typeof H == "string") return J(H); + switch (H) { + case u: + return J("Suspense"); + case c: + return J("SuspenseList"); + } + if (typeof H == "object") + switch (H.$$typeof) { + case s: + return ye(H.render); + case d: + return Ee(H.type, Y, ee); + case h: { + var ie = H, + he = ie._payload, + ve = ie._init; + try { + return Ee(ve(he), Y, ee); + } catch {} + } + } + return ""; + } + var Be = Object.prototype.hasOwnProperty, + xe = {}, + oe = p.ReactDebugCurrentFrame; + function He(H) { + if (H) { + var Y = H._owner, + ee = Ee(H.type, H._source, Y ? Y.type : null); + oe.setExtraStackFrame(ee); + } else oe.setExtraStackFrame(null); + } + function Ot(H, Y, ee, ie, he) { + { + var ve = Function.call.bind(Be); + for (var ge in H) + if (ve(H, ge)) { + var ue = void 0; + try { + if (typeof H[ge] != "function") { + var ze = Error( + (ie || "React class") + + ": " + + ee + + " type `" + + ge + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + typeof H[ge] + + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", + ); + throw ((ze.name = "Invariant Violation"), ze); + } + ue = H[ge]( + Y, + ge, + ie, + ee, + null, + "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", + ); + } catch (Ae) { + ue = Ae; } - while (Ae >= 1 && Te >= 0); - break; + ue && + !(ue instanceof Error) && + (He(he), + v( + "%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).", + ie || "React class", + ee, + ge, + typeof ue, + ), + He(null)), + ue instanceof Error && + !(ue.message in xe) && + ((xe[ue.message] = !0), + He(he), + v("Failed %s type: %s", ee, ue.message), + He(null)); + } } - } - } finally { - te = !1, K.current = ve, q(), Error.prepareStackTrace = he; - } - var Jt = H ? H.displayName || H.name : "", It = Jt ? J(Jt) : ""; - return typeof H == "function" && Z.set(H, It), It; - } - function ye(H, Y, ee) { - return G(H, !1); - } - function je(H) { - var Y = H.prototype; - return !!(Y && Y.isReactComponent); - } - function Ee(H, Y, ee) { - if (H == null) - return ""; - if (typeof H == "function") - return G(H, je(H)); - if (typeof H == "string") - return J(H); - switch (H) { - case u: - return J("Suspense"); - case c: - return J("SuspenseList"); - } - if (typeof H == "object") - switch (H.$$typeof) { - case s: - return ye(H.render); - case d: - return Ee(H.type, Y, ee); - case h: { - var ie = H, he = ie._payload, ve = ie._init; + } + var dn = Array.isArray; + function Et(H) { + return dn(H); + } + function Yt(H) { + { + var Y = typeof Symbol == "function" && Symbol.toStringTag, + ee = + (Y && H[Symbol.toStringTag]) || + H.constructor.name || + "Object"; + return ee; + } + } + function gt(H) { try { - return Ee(ve(he), Y, ee); + return Lt(H), !1; } catch { + return !0; } } - } - return ""; - } - var Be = Object.prototype.hasOwnProperty, xe = {}, oe = p.ReactDebugCurrentFrame; - function He(H) { - if (H) { - var Y = H._owner, ee = Ee(H.type, H._source, Y ? Y.type : null); - oe.setExtraStackFrame(ee); - } else - oe.setExtraStackFrame(null); - } - function Ot(H, Y, ee, ie, he) { - { - var ve = Function.call.bind(Be); - for (var ge in H) - if (ve(H, ge)) { - var ue = void 0; - try { - if (typeof H[ge] != "function") { - var ze = Error((ie || "React class") + ": " + ee + " type `" + ge + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof H[ge] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); - throw ze.name = "Invariant Violation", ze; + function Lt(H) { + return "" + H; + } + function _t(H) { + if (gt(H)) + return ( + v( + "The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", + Yt(H), + ), + Lt(H) + ); + } + var Qe = p.ReactCurrentOwner, + Gt = { + key: !0, + ref: !0, + __self: !0, + __source: !0, + }, + jt, + Kt, + Oe; + Oe = {}; + function et(H) { + if (Be.call(H, "ref")) { + var Y = Object.getOwnPropertyDescriptor(H, "ref").get; + if (Y && Y.isReactWarning) return !1; + } + return H.ref !== void 0; + } + function Rt(H) { + if (Be.call(H, "key")) { + var Y = Object.getOwnPropertyDescriptor(H, "key").get; + if (Y && Y.isReactWarning) return !1; + } + return H.key !== void 0; + } + function Ht(H, Y) { + if ( + typeof H.ref == "string" && + Qe.current && + Y && + Qe.current.stateNode !== Y + ) { + var ee = B(Qe.current.type); + Oe[ee] || + (v( + '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', + B(Qe.current.type), + H.ref, + ), + (Oe[ee] = !0)); + } + } + function Ft(H, Y) { + { + var ee = function () { + jt || + ((jt = !0), + v( + "%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)", + Y, + )); + }; + (ee.isReactWarning = !0), + Object.defineProperty(H, "key", { + get: ee, + configurable: !0, + }); + } + } + function ht(H, Y) { + { + var ee = function () { + Kt || + ((Kt = !0), + v( + "%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)", + Y, + )); + }; + (ee.isReactWarning = !0), + Object.defineProperty(H, "ref", { + get: ee, + configurable: !0, + }); + } + } + var rt = function (H, Y, ee, ie, he, ve, ge) { + var ue = { + // 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: Y, + ref: ee, + props: ge, + // Record the component responsible for creating this element. + _owner: ve, + }; + return ( + (ue._store = {}), + Object.defineProperty(ue._store, "validated", { + configurable: !1, + enumerable: !1, + writable: !0, + value: !1, + }), + Object.defineProperty(ue, "_self", { + configurable: !1, + enumerable: !1, + writable: !1, + value: ie, + }), + Object.defineProperty(ue, "_source", { + configurable: !1, + enumerable: !1, + writable: !1, + value: he, + }), + Object.freeze && (Object.freeze(ue.props), Object.freeze(ue)), + ue + ); + }; + function fn(H, Y, ee, ie, he) { + { + var ve, + ge = {}, + ue = null, + ze = null; + ee !== void 0 && (_t(ee), (ue = "" + ee)), + Rt(Y) && (_t(Y.key), (ue = "" + Y.key)), + et(Y) && ((ze = Y.ref), Ht(Y, he)); + for (ve in Y) + Be.call(Y, ve) && !Gt.hasOwnProperty(ve) && (ge[ve] = Y[ve]); + if (H && H.defaultProps) { + var Ae = H.defaultProps; + for (ve in Ae) ge[ve] === void 0 && (ge[ve] = Ae[ve]); + } + if (ue || ze) { + var Te = + typeof H == "function" + ? H.displayName || H.name || "Unknown" + : H; + ue && Ft(ge, Te), ze && ht(ge, Te); } - ue = H[ge](Y, ge, ie, ee, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); - } catch (Ae) { - ue = Ae; + return rt(H, ue, ze, he, ie, Qe.current, ge); } - ue && !(ue instanceof Error) && (He(he), v("%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).", ie || "React class", ee, ge, typeof ue), He(null)), ue instanceof Error && !(ue.message in xe) && (xe[ue.message] = !0, He(he), v("Failed %s type: %s", ee, ue.message), He(null)); } - } - } - var dn = Array.isArray; - function Et(H) { - return dn(H); - } - function Yt(H) { - { - var Y = typeof Symbol == "function" && Symbol.toStringTag, ee = Y && H[Symbol.toStringTag] || H.constructor.name || "Object"; - return ee; - } - } - function gt(H) { - try { - return Lt(H), !1; - } catch { - return !0; - } - } - function Lt(H) { - return "" + H; - } - function _t(H) { - if (gt(H)) - return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yt(H)), Lt(H); - } - var Qe = p.ReactCurrentOwner, Gt = { - key: !0, - ref: !0, - __self: !0, - __source: !0 - }, jt, Kt, Oe; - Oe = {}; - function et(H) { - if (Be.call(H, "ref")) { - var Y = Object.getOwnPropertyDescriptor(H, "ref").get; - if (Y && Y.isReactWarning) - return !1; - } - return H.ref !== void 0; - } - function Rt(H) { - if (Be.call(H, "key")) { - var Y = Object.getOwnPropertyDescriptor(H, "key").get; - if (Y && Y.isReactWarning) - return !1; - } - return H.key !== void 0; - } - function Ht(H, Y) { - if (typeof H.ref == "string" && Qe.current && Y && Qe.current.stateNode !== Y) { - var ee = B(Qe.current.type); - Oe[ee] || (v('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', B(Qe.current.type), H.ref), Oe[ee] = !0); - } - } - function Ft(H, Y) { - { - var ee = function() { - jt || (jt = !0, v("%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)", Y)); - }; - ee.isReactWarning = !0, Object.defineProperty(H, "key", { - get: ee, - configurable: !0 - }); - } - } - function ht(H, Y) { - { - var ee = function() { - Kt || (Kt = !0, v("%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)", Y)); - }; - ee.isReactWarning = !0, Object.defineProperty(H, "ref", { - get: ee, - configurable: !0 - }); - } - } - var rt = function(H, Y, ee, ie, he, ve, ge) { - var ue = { - // 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: Y, - ref: ee, - props: ge, - // Record the component responsible for creating this element. - _owner: ve - }; - return ue._store = {}, Object.defineProperty(ue._store, "validated", { - configurable: !1, - enumerable: !1, - writable: !0, - value: !1 - }), Object.defineProperty(ue, "_self", { - configurable: !1, - enumerable: !1, - writable: !1, - value: ie - }), Object.defineProperty(ue, "_source", { - configurable: !1, - enumerable: !1, - writable: !1, - value: he - }), Object.freeze && (Object.freeze(ue.props), Object.freeze(ue)), ue; - }; - function fn(H, Y, ee, ie, he) { - { - var ve, ge = {}, ue = null, ze = null; - ee !== void 0 && (_t(ee), ue = "" + ee), Rt(Y) && (_t(Y.key), ue = "" + Y.key), et(Y) && (ze = Y.ref, Ht(Y, he)); - for (ve in Y) - Be.call(Y, ve) && !Gt.hasOwnProperty(ve) && (ge[ve] = Y[ve]); - if (H && H.defaultProps) { - var Ae = H.defaultProps; - for (ve in Ae) - ge[ve] === void 0 && (ge[ve] = Ae[ve]); - } - if (ue || ze) { - var Te = typeof H == "function" ? H.displayName || H.name || "Unknown" : H; - ue && Ft(ge, Te), ze && ht(ge, Te); - } - return rt(H, ue, ze, he, ie, Qe.current, ge); - } - } - var gn = p.ReactCurrentOwner, Xt = p.ReactDebugCurrentFrame; - function St(H) { - if (H) { - var Y = H._owner, ee = Ee(H.type, H._source, Y ? Y.type : null); - Xt.setExtraStackFrame(ee); - } else - Xt.setExtraStackFrame(null); - } - var Dn; - Dn = !1; - function pt(H) { - return typeof H == "object" && H !== null && H.$$typeof === t; - } - function Qo() { - { - if (gn.current) { - var H = B(gn.current.type); - if (H) - return ` - -Check the render method of \`` + H + "`."; - } - return ""; - } - } - function _a(H) { - return ""; - } - var er = {}; - function Sa(H) { - { - var Y = Qo(); - if (!Y) { - var ee = typeof H == "string" ? H : H.displayName || H.name; - ee && (Y = ` + var gn = p.ReactCurrentOwner, + Xt = p.ReactDebugCurrentFrame; + function St(H) { + if (H) { + var Y = H._owner, + ee = Ee(H.type, H._source, Y ? Y.type : null); + Xt.setExtraStackFrame(ee); + } else Xt.setExtraStackFrame(null); + } + var Dn; + Dn = !1; + function pt(H) { + return typeof H == "object" && H !== null && H.$$typeof === t; + } + function Qo() { + { + if (gn.current) { + var H = B(gn.current.type); + if (H) + return ( + ` -Check the top-level render call using <` + ee + ">."); - } - return Y; - } - } - function tr(H, Y) { - { - if (!H._store || H._store.validated || H.key != null) - return; - H._store.validated = !0; - var ee = Sa(Y); - if (er[ee]) - return; - er[ee] = !0; - var ie = ""; - H && H._owner && H._owner !== gn.current && (ie = " It was passed a child from " + B(H._owner.type) + "."), St(H), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ee, ie), St(null); - } - } - function nr(H, Y) { - { - if (typeof H != "object") - return; - if (Et(H)) - for (var ee = 0; ee < H.length; ee++) { - var ie = H[ee]; - pt(ie) && tr(ie, Y); +Check the render method of \`` + + H + + "`." + ); + } + return ""; + } } - else if (pt(H)) - H._store && (H._store.validated = !0); - else if (H) { - var he = C(H); - if (typeof he == "function" && he !== H.entries) - for (var ve = he.call(H), ge; !(ge = ve.next()).done; ) - pt(ge.value) && tr(ge.value, Y); - } - } - } - function ka(H) { - { - var Y = H.type; - if (Y == null || typeof Y == "string") - return; - var ee; - if (typeof Y == "function") - ee = Y.propTypes; - else if (typeof Y == "object" && (Y.$$typeof === s || // Note: Memo only checks outer props here. - // Inner props are checked in the reconciler. - Y.$$typeof === d)) - ee = Y.propTypes; - else - return; - if (ee) { - var ie = B(Y); - Ot(ee, H.props, "prop", ie, H); - } else if (Y.PropTypes !== void 0 && !Dn) { - Dn = !0; - var he = B(Y); - v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", he || "Unknown"); - } - typeof Y.getDefaultProps == "function" && !Y.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); - } - } - function Aa(H) { - { - for (var Y = Object.keys(H.props), ee = 0; ee < Y.length; ee++) { - var ie = Y[ee]; - if (ie !== "children" && ie !== "key") { - St(H), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ie), St(null); - break; + function _a(H) { + return ""; } - } - H.ref !== null && (St(H), v("Invalid attribute `ref` supplied to `React.Fragment`."), St(null)); - } - } - var or = {}; - function rr(H, Y, ee, ie, he, ve) { - { - var ge = L(H); - if (!ge) { - var ue = ""; - (H === void 0 || typeof H == "object" && H !== null && Object.keys(H).length === 0) && (ue += " 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 ze = _a(); - ze ? ue += ze : ue += Qo(); - var Ae; - H === null ? Ae = "null" : Et(H) ? Ae = "array" : H !== void 0 && H.$$typeof === t ? (Ae = "<" + (B(H.type) || "Unknown") + " />", ue = " Did you accidentally export a JSX literal instead of a component?") : Ae = typeof H, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ae, ue); - } - var Te = fn(H, Y, ee, he, ve); - if (Te == null) - return Te; - if (ge) { - var Ze = Y.children; - if (Ze !== void 0) - if (ie) - if (Et(Ze)) { - for (var Jt = 0; Jt < Ze.length; Jt++) - nr(Ze[Jt], H); - Object.freeze && Object.freeze(Ze); - } else - v("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 - nr(Ze, H); - } - if (Be.call(Y, "key")) { - var It = B(H), Ve = Object.keys(Y).filter(function(La) { - return La !== "key"; - }), lo = Ve.length > 0 ? "{key: someKey, " + Ve.join(": ..., ") + ": ...}" : "{key: someKey}"; - if (!or[It + lo]) { - var Oa = Ve.length > 0 ? "{" + Ve.join(": ..., ") + ": ...}" : "{}"; - v(`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} />`, lo, It, Oa, It), or[It + lo] = !0; + var er = {}; + function Sa(H) { + { + var Y = Qo(); + if (!Y) { + var ee = typeof H == "string" ? H : H.displayName || H.name; + ee && + (Y = + ` + +Check the top-level render call using <` + + ee + + ">."); + } + return Y; + } } - } - return H === o ? Aa(Te) : ka(Te), Te; - } - } - function Ma(H, Y, ee) { - return rr(H, Y, ee, !0); - } - function Ta(H, Y, ee) { - return rr(H, Y, ee, !1); - } - var Na = Ta, Da = Ma; - co.Fragment = o, co.jsx = Na, co.jsxs = Da; - }()), co; + function tr(H, Y) { + { + if (!H._store || H._store.validated || H.key != null) return; + H._store.validated = !0; + var ee = Sa(Y); + if (er[ee]) return; + er[ee] = !0; + var ie = ""; + H && + H._owner && + H._owner !== gn.current && + (ie = " It was passed a child from " + B(H._owner.type) + "."), + St(H), + v( + 'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', + ee, + ie, + ), + St(null); + } + } + function nr(H, Y) { + { + if (typeof H != "object") return; + if (Et(H)) + for (var ee = 0; ee < H.length; ee++) { + var ie = H[ee]; + pt(ie) && tr(ie, Y); + } + else if (pt(H)) H._store && (H._store.validated = !0); + else if (H) { + var he = C(H); + if (typeof he == "function" && he !== H.entries) + for (var ve = he.call(H), ge; !(ge = ve.next()).done; ) + pt(ge.value) && tr(ge.value, Y); + } + } + } + function ka(H) { + { + var Y = H.type; + if (Y == null || typeof Y == "string") return; + var ee; + if (typeof Y == "function") ee = Y.propTypes; + else if ( + typeof Y == "object" && + (Y.$$typeof === s || // Note: Memo only checks outer props here. + // Inner props are checked in the reconciler. + Y.$$typeof === d) + ) + ee = Y.propTypes; + else return; + if (ee) { + var ie = B(Y); + Ot(ee, H.props, "prop", ie, H); + } else if (Y.PropTypes !== void 0 && !Dn) { + Dn = !0; + var he = B(Y); + v( + "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", + he || "Unknown", + ); + } + typeof Y.getDefaultProps == "function" && + !Y.getDefaultProps.isReactClassApproved && + v( + "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.", + ); + } + } + function Aa(H) { + { + for (var Y = Object.keys(H.props), ee = 0; ee < Y.length; ee++) { + var ie = Y[ee]; + if (ie !== "children" && ie !== "key") { + St(H), + v( + "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", + ie, + ), + St(null); + break; + } + } + H.ref !== null && + (St(H), + v("Invalid attribute `ref` supplied to `React.Fragment`."), + St(null)); + } + } + var or = {}; + function rr(H, Y, ee, ie, he, ve) { + { + var ge = L(H); + if (!ge) { + var ue = ""; + (H === void 0 || + (typeof H == "object" && + H !== null && + Object.keys(H).length === 0)) && + (ue += + " 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 ze = _a(); + ze ? (ue += ze) : (ue += Qo()); + var Ae; + H === null + ? (Ae = "null") + : Et(H) + ? (Ae = "array") + : H !== void 0 && H.$$typeof === t + ? ((Ae = "<" + (B(H.type) || "Unknown") + " />"), + (ue = + " Did you accidentally export a JSX literal instead of a component?")) + : (Ae = typeof H), + v( + "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", + Ae, + ue, + ); + } + var Te = fn(H, Y, ee, he, ve); + if (Te == null) return Te; + if (ge) { + var Ze = Y.children; + if (Ze !== void 0) + if (ie) + if (Et(Ze)) { + for (var Jt = 0; Jt < Ze.length; Jt++) nr(Ze[Jt], H); + Object.freeze && Object.freeze(Ze); + } else + v( + "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 nr(Ze, H); + } + if (Be.call(Y, "key")) { + var It = B(H), + Ve = Object.keys(Y).filter(function (La) { + return La !== "key"; + }), + lo = + Ve.length > 0 + ? "{key: someKey, " + Ve.join(": ..., ") + ": ...}" + : "{key: someKey}"; + if (!or[It + lo]) { + var Oa = + Ve.length > 0 ? "{" + Ve.join(": ..., ") + ": ...}" : "{}"; + v( + `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} />`, + lo, + It, + Oa, + It, + ), + (or[It + lo] = !0); + } + } + return H === o ? Aa(Te) : ka(Te), Te; + } + } + function Ma(H, Y, ee) { + return rr(H, Y, ee, !0); + } + function Ta(H, Y, ee) { + return rr(H, Y, ee, !1); + } + var Na = Ta, + Da = Ma; + (co.Fragment = o), (co.jsx = Na), (co.jsxs = Da); + })()), + co + ); } -process.env.NODE_ENV === "production" ? t1.exports = t3() : t1.exports = n3(); +process.env.NODE_ENV === "production" + ? (t1.exports = t3()) + : (t1.exports = n3()); var f = t1.exports; -const o3 = "_iconButton_eti7u_1", r3 = { - iconButton: o3 -}, vn = (e) => /* @__PURE__ */ f.jsx(qt, { title: e.title, children: /* @__PURE__ */ f.jsx( - "button", - { - ...e, - className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${r3.iconButton}`, - type: e.type ?? "button", - children: e.children - } -) }), a3 = ut(null), Ha = { - didCatch: !1, - error: null -}; +const o3 = "_iconButton_eti7u_1", + r3 = { + iconButton: o3, + }, + vn = (e) => + /* @__PURE__ */ f.jsx(qt, { + title: e.title, + children: /* @__PURE__ */ f.jsx("button", { + ...e, + className: `btn ${e.color ? `btn-${e.color}` : ""} ${e.className ?? ""} ${r3.iconButton}`, + type: e.type ?? "button", + children: e.children, + }), + }), + a3 = ut(null), + Ha = { + didCatch: !1, + error: null, + }; class i3 extends Bd { constructor(t) { - super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ha; + super(t), + (this.resetErrorBoundary = this.resetErrorBoundary.bind(this)), + (this.state = Ha); } 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, a = new Array(r), i = 0; i < r; i++) a[i] = arguments[i]; - (n = (o = this.props).onReset) === null || n === void 0 || n.call(o, { - args: a, - reason: "imperative-api" - }), this.setState(Ha); + (n = (o = this.props).onReset) === null || + n === void 0 || + n.call(o, { + args: a, + reason: "imperative-api", + }), + this.setState(Ha); } } componentDidCatch(t, n) { @@ -688,10916 +1024,12422 @@ class i3 extends Bd { (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 && l3(t.resetKeys, r)) { var a, i; - (a = (i = this.props).onReset) === null || a === void 0 || a.call(i, { - next: r, - prev: t.resetKeys, - reason: "keys" - }), this.setState(Ha); + (a = (i = this.props).onReset) === null || + a === void 0 || + a.call(i, { + next: r, + prev: t.resetKeys, + reason: "keys", + }), + this.setState(Ha); } } render() { const { - children: t, - fallbackRender: n, - FallbackComponent: o, - fallback: r - } = this.props, { - didCatch: a, - error: i - } = this.state; + children: t, + fallbackRender: n, + FallbackComponent: o, + fallback: r, + } = this.props, + { didCatch: a, error: i } = this.state; let l = t; if (a) { const s = { error: i, - resetErrorBoundary: this.resetErrorBoundary + resetErrorBoundary: this.resetErrorBoundary, }; - if (typeof n == "function") - l = n(s); - else if (o) - l = ql(o, s); - else if (r === null || Lc(r)) - l = r; - else - throw i; + if (typeof n == "function") l = n(s); + else if (o) l = ql(o, s); + else if (r === null || Lc(r)) l = r; + else throw i; } - return ql(a3.Provider, { - value: { - didCatch: a, - error: i, - resetErrorBoundary: this.resetErrorBoundary - } - }, l); + return ql( + a3.Provider, + { + value: { + didCatch: a, + error: i, + resetErrorBoundary: this.resetErrorBoundary, + }, + }, + l, + ); } } function l3() { - 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 qt = (e) => { - const [t, n] = ae(!1), o = () => n(!t), r = le( - (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-") - ); - return /* @__PURE__ */ f.jsxs(i3, { fallback: /* @__PURE__ */ f.jsx("span", { id: r.current, children: e.children }), children: [ - /* @__PURE__ */ f.jsx("span", { id: r.current, children: e.children }), - e.title ? /* @__PURE__ */ f.jsx( - Nd, - { - isOpen: t, - target: r.current, - toggle: o, - className: e.className, - placement: "top", - children: e.title - } - ) : null - ] }); -}, s3 = "_loadingBtn_gadec_1", c3 = { - loadingBtn: s3 -}, ra = ({ loading: e, ...t }) => /* @__PURE__ */ f.jsx( - ke, - { - ...t, - disabled: t.disabled ?? e, - className: `${t.className ?? ""} ${c3.loadingBtn}`, - children: e ? /* @__PURE__ */ f.jsx(kc, {}) : t.children - } -); -var bo = {}, Rc = { exports: {} }; -(function(e) { + const [t, n] = ae(!1), + o = () => n(!t), + r = le( + ( + e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}` + ).replace(/\s/g, "-"), + ); + return /* @__PURE__ */ f.jsxs(i3, { + fallback: /* @__PURE__ */ f.jsx("span", { + id: r.current, + children: e.children, + }), + children: [ + /* @__PURE__ */ f.jsx("span", { id: r.current, children: e.children }), + e.title + ? /* @__PURE__ */ f.jsx(Nd, { + isOpen: t, + target: r.current, + toggle: o, + className: e.className, + placement: "top", + children: e.title, + }) + : null, + ], + }); + }, + s3 = "_loadingBtn_gadec_1", + c3 = { + loadingBtn: s3, + }, + ra = ({ loading: e, ...t }) => + /* @__PURE__ */ f.jsx(ke, { + ...t, + disabled: t.disabled ?? e, + className: `${t.className ?? ""} ${c3.loadingBtn}`, + children: e ? /* @__PURE__ */ f.jsx(kc, {}) : t.children, + }); +var bo = {}, + Rc = { 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); })(Rc); -var u3 = Rc.exports, Fa = {}, Xl; +var u3 = Rc.exports, + Fa = {}, + Xl; function d3() { - return Xl || (Xl = 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; - }(Fa)), Fa; + return ( + Xl || + ((Xl = 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; + })(Fa)), + Fa + ); } -var Ia = {}, Jl; +var Ia = {}, + Jl; function f3() { - return Jl || (Jl = 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; - }(Ia)), Ia; -} -var za = {}, Ql; -function g3() { - return Ql || (Ql = 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; - }(za)), za; + return ( + Jl || + ((Jl = 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; + })(Ia)), + Ia + ); +} +var za = {}, + Ql; +function g3() { + return ( + Ql || + ((Ql = 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; + })(za)), + za + ); } -var Pa = {}, es; +var Pa = {}, + es; function h3() { - return es || (es = 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; - }(Pa)), Pa; + return ( + es || + ((es = 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; + })(Pa)), + Pa + ); } -var Ba = {}, ts; +var Ba = {}, + ts; function p3() { - return ts || (ts = 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; - }(Ba)), Ba; -} -var Va = {}, ns; -function m3() { - return ns || (ns = 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; - }(Va)), Va; + return ( + ts || + ((ts = 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; + })(Ba)), + Ba + ); +} +var Va = {}, + ns; +function m3() { + return ( + ns || + ((ns = 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; + })(Va)), + Va + ); } -var Wa = {}, os; +var Wa = {}, + os; function b3() { - return os || (os = 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; - }(Wa)), Wa; + return ( + os || + ((os = 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; + })(Wa)), + Wa + ); } -var $a = {}, rs; +var $a = {}, + rs; function C3() { - return rs || (rs = 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; - }($a)), $a; -} -var Za = {}, as; -function y3() { - return as || (as = 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; - }(Za)), Za; + return ( + rs || + ((rs = 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; + })($a)), + $a + ); +} +var Za = {}, + as; +function y3() { + return ( + as || + ((as = 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; + })(Za)), + Za + ); } -var Ua = {}, is; +var Ua = {}, + is; function v3() { - return is || (is = 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; - }(Ua)), Ua; + return ( + is || + ((is = 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; + })(Ua)), + Ua + ); } -var qa = {}, ls; +var qa = {}, + ls; function x3() { - return ls || (ls = 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; - }(qa)), qa; -} -var Ya = {}, ss; -function w3() { - return ss || (ss = 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; - }(Ya)), Ya; + return ( + ls || + ((ls = 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; + })(qa)), + qa + ); } -var Ga = {}, cs; +var Ya = {}, + ss; +function w3() { + return ( + ss || + ((ss = 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; + })(Ya)), + Ya + ); +} +var Ga = {}, + cs; function E3() { - return cs || (cs = 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; - }(Ga)), Ga; + return ( + cs || + ((cs = 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; + })(Ga)), + Ga + ); } -var Ka = {}, us; +var Ka = {}, + us; function _3() { - return us || (us = 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; - }(Ka)), Ka; + return ( + us || + ((us = 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; + })(Ka)), + Ka + ); } -var Xa = {}, ds; +var Xa = {}, + ds; function S3() { - return ds || (ds = 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; - }(Xa)), Xa; + return ( + ds || + ((ds = 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; + })(Xa)), + Xa + ); } -var Ja = {}, fs; +var Ja = {}, + fs; function k3() { - return fs || (fs = 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; - }(Ja)), Ja; -} -var Qa = {}, gs; -function A3() { - return gs || (gs = 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; - }(Qa)), Qa; + return ( + fs || + ((fs = 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; + })(Ja)), + Ja + ); +} +var Qa = {}, + gs; +function A3() { + return ( + gs || + ((gs = 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; + })(Qa)), + Qa + ); } -var ei = {}, hs; +var ei = {}, + hs; function M3() { - return hs || (hs = 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; - }(ei)), ei; + return ( + hs || + ((hs = 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; + })(ei)), + ei + ); } -var ti = {}, ps; +var ti = {}, + ps; function T3() { - return ps || (ps = 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; - }(ti)), ti; + return ( + ps || + ((ps = 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; + })(ti)), + ti + ); } -var ni = {}, ms; +var ni = {}, + ms; function N3() { - return ms || (ms = 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; - }(ni)), ni; + return ( + ms || + ((ms = 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; + })(ni)), + ni + ); } -var oi = {}, bs; +var oi = {}, + bs; function D3() { - return bs || (bs = 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; - }(oi)), oi; + return ( + bs || + ((bs = 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; + })(oi)), + oi + ); } -var ri = {}, Cs; +var ri = {}, + Cs; function O3() { - return Cs || (Cs = 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; - }(ri)), ri; + return ( + Cs || + ((Cs = 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; + })(ri)), + ri + ); } -var ai = {}, ys; +var ai = {}, + ys; function L3() { - return ys || (ys = 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; - }(ai)), ai; + return ( + ys || + ((ys = 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; + })(ai)), + ai + ); } -var ii = {}, vs; +var ii = {}, + vs; function j3() { - return vs || (vs = 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; - }(ii)), ii; + return ( + vs || + ((vs = 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; + })(ii)), + ii + ); } -var li = {}, xs; +var li = {}, + xs; function R3() { - return xs || (xs = 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; - }(li)), li; + return ( + xs || + ((xs = 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; + })(li)), + li + ); } -var si = {}, ws; +var si = {}, + ws; function H3() { - return ws || (ws = 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; - }(si)), si; + return ( + ws || + ((ws = 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; + })(si)), + si + ); } -var ci = {}, Es; +var ci = {}, + Es; function F3() { - return Es || (Es = 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; - }(ci)), ci; + return ( + Es || + ((Es = 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; + })(ci)), + ci + ); } -var ui = {}, _s; +var ui = {}, + _s; function I3() { - return _s || (_s = 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; - }(ui)), ui; + return ( + _s || + ((_s = 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; + })(ui)), + ui + ); } -var di = {}, Ss; +var di = {}, + Ss; function z3() { - return Ss || (Ss = 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; - }(di)), di; + return ( + Ss || + ((Ss = 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; + })(di)), + di + ); } -var fi = {}, ks; +var fi = {}, + ks; function P3() { - return ks || (ks = 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; - }(fi)), fi; + return ( + ks || + ((ks = 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; + })(fi)), + fi + ); } -var gi = {}, As; +var gi = {}, + As; function B3() { - return As || (As = 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; - }(gi)), gi; -} -var hi = {}, Ms; -function V3() { - return Ms || (Ms = 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; - }(hi)), hi; + return ( + As || + ((As = 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; + })(gi)), + gi + ); +} +var hi = {}, + Ms; +function V3() { + return ( + Ms || + ((Ms = 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; + })(hi)), + hi + ); } -var pi = {}, Ts; +var pi = {}, + Ts; function W3() { - return Ts || (Ts = 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; - }(pi)), pi; + return ( + Ts || + ((Ts = 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; + })(pi)), + pi + ); } -var mi = {}, Ns; +var mi = {}, + Ns; function $3() { - return Ns || (Ns = 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; - }(mi)), mi; + return ( + Ns || + ((Ns = 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; + })(mi)), + mi + ); } -var bi = {}, Ds; +var bi = {}, + Ds; function Z3() { - return Ds || (Ds = 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; - }(bi)), bi; + return ( + Ds || + ((Ds = 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; + })(bi)), + bi + ); } -var Ci = {}, Os; +var Ci = {}, + Os; function U3() { - return Os || (Os = 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; - }(Ci)), Ci; + return ( + Os || + ((Os = 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; + })(Ci)), + Ci + ); } -var yi = {}, Ls; +var yi = {}, + Ls; function q3() { - return Ls || (Ls = 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; - }(yi)), yi; -} -var vi = {}, js; -function Y3() { - return js || (js = 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; - }(vi)), vi; + return ( + Ls || + ((Ls = 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; + })(yi)), + yi + ); +} +var vi = {}, + js; +function Y3() { + return ( + js || + ((js = 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; + })(vi)), + vi + ); } -var xi = {}, Rs; +var xi = {}, + Rs; function G3() { - return Rs || (Rs = 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; - }(xi)), xi; + return ( + Rs || + ((Rs = 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; + })(xi)), + xi + ); } -var wi = {}, Hs; +var wi = {}, + Hs; function K3() { - return Hs || (Hs = 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; - }(wi)), wi; -} -var Ei = {}, Fs; -function X3() { - return Fs || (Fs = 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; - }(Ei)), Ei; + return ( + Hs || + ((Hs = 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; + })(wi)), + wi + ); +} +var Ei = {}, + Fs; +function X3() { + return ( + Fs || + ((Fs = 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; + })(Ei)), + Ei + ); } -var _i = {}, Is; +var _i = {}, + Is; function J3() { - return Is || (Is = 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; - }(_i)), _i; + return ( + Is || + ((Is = 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; + })(_i)), + _i + ); } -var Si = {}, zs; +var Si = {}, + zs; function Q3() { - return zs || (zs = 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; - }(Si)), Si; + return ( + zs || + ((zs = 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; + })(Si)), + Si + ); } -var ki = {}, Ps; +var ki = {}, + Ps; function e5() { - return Ps || (Ps = 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" + return ( + Ps || + ((Ps = 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; + })(ki)), + ki + ); +} +(function (e) { + var t = u3; + Object.defineProperty(e, "__esModule", { + value: !0, + }), + Object.defineProperty(e, "a11yDark", { + enumerable: !0, + get: function () { + return c.default; }, - ':not(pre) > code[class*="language-"]': { - color: "white", - background: "#0a143c", - padding: "0.1em", - borderRadius: "0.3em", - whiteSpace: "normal" + }), + Object.defineProperty(e, "atomDark", { + enumerable: !0, + get: function () { + return d.default; }, - 'pre[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "base16AteliersulphurpoolLight", { + enumerable: !0, + get: function () { + return h.default; }, - 'pre[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "cb", { + enumerable: !0, + get: function () { + return g.default; }, - 'code[class*="language-"]::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "coldarkCold", { + enumerable: !0, + get: function () { + return m.default; }, - 'code[class*="language-"] ::-moz-selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "coldarkDark", { + enumerable: !0, + get: function () { + return b.default; }, - 'pre[class*="language-"]::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "coy", { + enumerable: !0, + get: function () { + return n.default; }, - 'pre[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "coyWithoutShadows", { + enumerable: !0, + get: function () { + return C.default; }, - 'code[class*="language-"]::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "darcula", { + enumerable: !0, + get: function () { + return p.default; }, - 'code[class*="language-"] ::selection': { - textShadow: "none", - background: "rgba(29, 59, 83, 0.99)" + }), + Object.defineProperty(e, "dark", { + enumerable: !0, + get: function () { + return o.default; }, - comment: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" + }), + Object.defineProperty(e, "dracula", { + enumerable: !0, + get: function () { + return v.default; }, - prolog: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" + }), + Object.defineProperty(e, "duotoneDark", { + enumerable: !0, + get: function () { + return y.default; }, - cdata: { - color: "rgb(99, 119, 119)", - fontStyle: "italic" + }), + Object.defineProperty(e, "duotoneEarth", { + enumerable: !0, + get: function () { + return E.default; }, - punctuation: { - color: "rgb(199, 146, 234)" + }), + Object.defineProperty(e, "duotoneForest", { + enumerable: !0, + get: function () { + return x.default; }, - ".namespace": { - color: "rgb(178, 204, 214)" + }), + Object.defineProperty(e, "duotoneLight", { + enumerable: !0, + get: function () { + return A.default; }, - deleted: { - color: "rgba(239, 83, 80, 0.56)", - fontStyle: "italic" + }), + Object.defineProperty(e, "duotoneSea", { + enumerable: !0, + get: function () { + return T.default; }, - symbol: { - color: "rgb(128, 203, 196)" + }), + Object.defineProperty(e, "duotoneSpace", { + enumerable: !0, + get: function () { + return k.default; }, - property: { - color: "rgb(128, 203, 196)" + }), + Object.defineProperty(e, "funky", { + enumerable: !0, + get: function () { + return r.default; }, - tag: { - color: "rgb(127, 219, 202)" + }), + Object.defineProperty(e, "ghcolors", { + enumerable: !0, + get: function () { + return R.default; }, - operator: { - color: "rgb(127, 219, 202)" + }), + Object.defineProperty(e, "gruvboxDark", { + enumerable: !0, + get: function () { + return L.default; }, - keyword: { - color: "rgb(127, 219, 202)" + }), + Object.defineProperty(e, "gruvboxLight", { + enumerable: !0, + get: function () { + return I.default; }, - boolean: { - color: "rgb(255, 88, 116)" + }), + Object.defineProperty(e, "holiTheme", { + enumerable: !0, + get: function () { + return W.default; }, - number: { - color: "rgb(247, 140, 108)" + }), + Object.defineProperty(e, "hopscotch", { + enumerable: !0, + get: function () { + return B.default; }, - constant: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "lucario", { + enumerable: !0, + get: function () { + return w.default; }, - function: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "materialDark", { + enumerable: !0, + get: function () { + return N.default; }, - builtin: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "materialLight", { + enumerable: !0, + get: function () { + return S.default; }, - char: { - color: "rgb(34 183 199)" + }), + Object.defineProperty(e, "materialOceanic", { + enumerable: !0, + get: function () { + return D.default; }, - selector: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" + }), + Object.defineProperty(e, "nightOwl", { + enumerable: !0, + get: function () { + return j.default; }, - doctype: { - color: "rgb(199, 146, 234)", - fontStyle: "italic" + }), + Object.defineProperty(e, "nord", { + enumerable: !0, + get: function () { + return O.default; }, - "attr-name": { - color: "rgb(173, 219, 103)", - fontStyle: "italic" + }), + Object.defineProperty(e, "okaidia", { + enumerable: !0, + get: function () { + return a.default; }, - inserted: { - color: "rgb(173, 219, 103)", - fontStyle: "italic" + }), + Object.defineProperty(e, "oneDark", { + enumerable: !0, + get: function () { + return M.default; }, - string: { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "oneLight", { + enumerable: !0, + get: function () { + return F.default; }, - url: { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "pojoaque", { + enumerable: !0, + get: function () { + return z.default; }, - entity: { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "prism", { + enumerable: !0, + get: function () { + return u.default; }, - ".language-css .token.string": { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "shadesOfPurple", { + enumerable: !0, + get: function () { + return $.default; }, - ".style .token.string": { - color: "rgb(173, 219, 103)" + }), + Object.defineProperty(e, "solarizedDarkAtom", { + enumerable: !0, + get: function () { + return V.default; }, - "class-name": { - color: "rgb(255, 203, 139)" + }), + Object.defineProperty(e, "solarizedlight", { + enumerable: !0, + get: function () { + return i.default; }, - atrule: { - color: "rgb(255, 203, 139)" + }), + Object.defineProperty(e, "synthwave84", { + enumerable: !0, + get: function () { + return q.default; }, - "attr-value": { - color: "rgb(255, 203, 139)" + }), + Object.defineProperty(e, "tomorrow", { + enumerable: !0, + get: function () { + return l.default; }, - regex: { - color: "rgb(214, 222, 235)" + }), + Object.defineProperty(e, "twilight", { + enumerable: !0, + get: function () { + return s.default; }, - important: { - color: "rgb(214, 222, 235)", - fontWeight: "bold" + }), + Object.defineProperty(e, "vs", { + enumerable: !0, + get: function () { + return K.default; }, - variable: { - color: "rgb(214, 222, 235)" + }), + Object.defineProperty(e, "vscDarkPlus", { + enumerable: !0, + get: function () { + return X.default; }, - bold: { - fontWeight: "bold" + }), + Object.defineProperty(e, "xonokai", { + enumerable: !0, + get: function () { + return J.default; }, - italic: { - fontStyle: "italic" - } - }; - e.default = t; - }(ki)), ki; -} -(function(e) { - var t = u3; - 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 g.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 C.default; - } - }), Object.defineProperty(e, "darcula", { - enumerable: !0, - get: function() { - return p.default; - } - }), Object.defineProperty(e, "dark", { - enumerable: !0, - get: function() { - return o.default; - } - }), Object.defineProperty(e, "dracula", { - enumerable: !0, - get: function() { - return v.default; - } - }), Object.defineProperty(e, "duotoneDark", { - enumerable: !0, - get: function() { - return y.default; - } - }), Object.defineProperty(e, "duotoneEarth", { - enumerable: !0, - get: function() { - return E.default; - } - }), Object.defineProperty(e, "duotoneForest", { - enumerable: !0, - get: function() { - return x.default; - } - }), Object.defineProperty(e, "duotoneLight", { - enumerable: !0, - get: function() { - return A.default; - } - }), Object.defineProperty(e, "duotoneSea", { - enumerable: !0, - get: function() { - return T.default; - } - }), Object.defineProperty(e, "duotoneSpace", { - enumerable: !0, - get: function() { - return k.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 I.default; - } - }), Object.defineProperty(e, "holiTheme", { - enumerable: !0, - get: function() { - return W.default; - } - }), Object.defineProperty(e, "hopscotch", { - enumerable: !0, - get: function() { - return B.default; - } - }), Object.defineProperty(e, "lucario", { - enumerable: !0, - get: function() { - return w.default; - } - }), Object.defineProperty(e, "materialDark", { - enumerable: !0, - get: function() { - return N.default; - } - }), Object.defineProperty(e, "materialLight", { - enumerable: !0, - get: function() { - return S.default; - } - }), Object.defineProperty(e, "materialOceanic", { - enumerable: !0, - get: function() { - return D.default; - } - }), Object.defineProperty(e, "nightOwl", { - enumerable: !0, - get: function() { - return j.default; - } - }), Object.defineProperty(e, "nord", { - enumerable: !0, - get: function() { - return O.default; - } - }), Object.defineProperty(e, "okaidia", { - enumerable: !0, - get: function() { - return a.default; - } - }), Object.defineProperty(e, "oneDark", { - enumerable: !0, - get: function() { - return M.default; - } - }), Object.defineProperty(e, "oneLight", { - enumerable: !0, - get: function() { - return F.default; - } - }), Object.defineProperty(e, "pojoaque", { - enumerable: !0, - get: function() { - return z.default; - } - }), Object.defineProperty(e, "prism", { - enumerable: !0, - get: function() { - return u.default; - } - }), Object.defineProperty(e, "shadesOfPurple", { - enumerable: !0, - get: function() { - return $.default; - } - }), Object.defineProperty(e, "solarizedDarkAtom", { - enumerable: !0, - get: function() { - return V.default; - } - }), Object.defineProperty(e, "solarizedlight", { - enumerable: !0, - get: function() { - return i.default; - } - }), Object.defineProperty(e, "synthwave84", { - enumerable: !0, - get: function() { - return q.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 X.default; - } - }), Object.defineProperty(e, "xonokai", { - enumerable: !0, - get: function() { - return J.default; - } - }), Object.defineProperty(e, "zTouch", { - enumerable: !0, - get: function() { - return te.default; - } - }); - var n = t(d3()), o = t(f3()), r = t(g3()), a = t(h3()), i = t(p3()), l = t(m3()), s = t(b3()), u = t(C3()), c = t(y3()), d = t(v3()), h = t(x3()), g = t(w3()), m = t(E3()), b = t(_3()), C = t(S3()), p = t(k3()), v = t(A3()), y = t(M3()), E = t(T3()), x = t(N3()), A = t(D3()), T = t(O3()), k = t(L3()), R = t(j3()), L = t(R3()), I = t(H3()), W = t(F3()), B = t(I3()), w = t(z3()), N = t(P3()), S = t(B3()), D = t(V3()), j = t(W3()), O = t($3()), M = t(Z3()), F = t(U3()), z = t(q3()), $ = t(Y3()), V = t(G3()), q = t(K3()), K = t(X3()), X = t(J3()), J = t(Q3()), te = t(e5()); -})(bo); -const t5 = "_codeblock_19tsp_1", n5 = "_dark_19tsp_1", Bs = { - codeblock: t5, - dark: n5 -}, o5 = { vs: bo.vs, "vsc-dark-plus": bo.vscDarkPlus, solarizedLight: bo.solarizedlight, tomorrow: bo.tomorrow }, Zo = ({ - code: e, - language: t, - fileName: n, - editorTheme: o = "vs", - theme: r, - showLineNumbers: a, - className: i, - titleActions: l -}) => /* @__PURE__ */ f.jsxs( - Ut, - { - className: `${Bs.codeblock} ${i || ""} ${r === "dark" ? Bs.dark : ""}`, - children: [ - n ? /* @__PURE__ */ f.jsxs(oa, { className: "d-flex justify-content-between", children: [ - n, - " ", - l - ] }) : null, - /* @__PURE__ */ f.jsx(un, { children: /* @__PURE__ */ f.jsx( - Zd, - { - showLineNumbers: a, - language: t, - style: o5[o], - children: e - } - ) }) - ] - } -), r5 = "_stack_73h55_1", a5 = { - stack: r5 -}, Ye = P1(function({ - children: t, - direction: n = "row", - ...o -}, r) { - return /* @__PURE__ */ f.jsx( - "div", - { + }), + Object.defineProperty(e, "zTouch", { + enumerable: !0, + get: function () { + return te.default; + }, + }); + var n = t(d3()), + o = t(f3()), + r = t(g3()), + a = t(h3()), + i = t(p3()), + l = t(m3()), + s = t(b3()), + u = t(C3()), + c = t(y3()), + d = t(v3()), + h = t(x3()), + g = t(w3()), + m = t(E3()), + b = t(_3()), + C = t(S3()), + p = t(k3()), + v = t(A3()), + y = t(M3()), + E = t(T3()), + x = t(N3()), + A = t(D3()), + T = t(O3()), + k = t(L3()), + R = t(j3()), + L = t(R3()), + I = t(H3()), + W = t(F3()), + B = t(I3()), + w = t(z3()), + N = t(P3()), + S = t(B3()), + D = t(V3()), + j = t(W3()), + O = t($3()), + M = t(Z3()), + F = t(U3()), + z = t(q3()), + $ = t(Y3()), + V = t(G3()), + q = t(K3()), + K = t(X3()), + X = t(J3()), + J = t(Q3()), + te = t(e5()); +})(bo); +const t5 = "_codeblock_19tsp_1", + n5 = "_dark_19tsp_1", + Bs = { + codeblock: t5, + dark: n5, + }, + o5 = { + vs: bo.vs, + "vsc-dark-plus": bo.vscDarkPlus, + solarizedLight: bo.solarizedlight, + tomorrow: bo.tomorrow, + }, + Zo = ({ + code: e, + language: t, + fileName: n, + editorTheme: o = "vs", + theme: r, + showLineNumbers: a, + className: i, + titleActions: l, + }) => + /* @__PURE__ */ f.jsxs(Ut, { + className: `${Bs.codeblock} ${i || ""} ${r === "dark" ? Bs.dark : ""}`, + children: [ + n + ? /* @__PURE__ */ f.jsxs(oa, { + className: "d-flex justify-content-between", + children: [n, " ", l], + }) + : null, + /* @__PURE__ */ f.jsx(un, { + children: /* @__PURE__ */ f.jsx(Zd, { + showLineNumbers: a, + language: t, + style: o5[o], + children: e, + }), + }), + ], + }), + r5 = "_stack_73h55_1", + a5 = { + stack: r5, + }, + Ye = P1(function ({ children: t, direction: n = "row", ...o }, r) { + return /* @__PURE__ */ f.jsx("div", { ...o, className: `${o.className} ${a5.stack} stack-${n}`, ref: r, - children: t - } - ); -}), i5 = ({ tooltip: e, ...t }) => /* @__PURE__ */ f.jsx(qt, { title: e, children: /* @__PURE__ */ f.jsx(Dd, { ...t }) }), Hc = ({ queryFn: e }) => { - const [t, n] = ae(), [o, r] = ae(!1), [a, i] = ae(), l = async () => { - r(!0); - try { - const u = await e(); - i(u); - } catch (u) { - n(u); - } finally { - r(!1); - } - }; - return re(() => { - l(); - }, []), { - error: t, - data: a, - loading: o, - refetch: () => { - l(); - } - }; -}, aa = ({ queryFn: e, onSuccess: t }) => { - const [n, o] = ae(), [r, a] = ae(!1), [i, l] = ae(); - return { - error: n, - data: i, - loading: r, - mutate: async (u) => { - a(!0); - try { - const c = await e(u); - l(c), t == null || t(c); - } catch (c) { - o(c); - } finally { - a(!1); + children: t, + }); + }), + i5 = ({ tooltip: e, ...t }) => + /* @__PURE__ */ f.jsx(qt, { + title: e, + children: /* @__PURE__ */ f.jsx(Dd, { ...t }), + }), + Hc = ({ queryFn: e }) => { + const [t, n] = ae(), + [o, r] = ae(!1), + [a, i] = ae(), + l = async () => { + r(!0); + try { + const u = await e(); + i(u); + } catch (u) { + n(u); + } finally { + r(!1); + } + }; + return ( + re(() => { + l(); + }, []), + { + error: t, + data: a, + loading: o, + refetch: () => { + l(); + }, } - } + ); + }, + aa = ({ queryFn: e, onSuccess: t }) => { + const [n, o] = ae(), + [r, a] = ae(!1), + [i, l] = ae(); + return { + error: n, + data: i, + loading: r, + mutate: async (u) => { + a(!0); + try { + const c = await e(u); + l(c), t == null || t(c); + } catch (c) { + o(c); + } finally { + a(!1); + } + }, + }; + }, + Se = { + get: async (e, t, n) => ({}), + post: async (e, t, n) => ({}), }; -}, Se = { - get: async (e, t, n) => ({}), - post: async (e, t, n) => ({}) -}; -var V1 = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(V1 || {}); +var V1 = /* @__PURE__ */ ((e) => ( + (e.DBT_DOCS = "dbt-docs"), + (e.DOCUMENTATION_EDITOR = "documentation-editor"), + (e.SAAS = "saas"), + e +))(V1 || {}); const l5 = () => { 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] }; + 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 Fc = { exports: {} }; /*! web-highlighter v0.7.4 https://github.com/alienzhou/web-highlighter */ -(function(e, t) { - (function(n, o) { +(function (e, t) { + (function (n, o) { e.exports = o(); - })(window, function() { - return function(n) { + })(window, function () { + return (function (n) { var o = {}; function r(a) { if (o[a]) return o[a].exports; - var i = o[a] = { i: a, l: !1, exports: {} }; - return n[a].call(i.exports, i, i.exports, r), i.l = !0, i.exports; + var i = (o[a] = { i: a, l: !1, exports: {} }); + return n[a].call(i.exports, i, i.exports, r), (i.l = !0), i.exports; } - return r.m = n, r.c = o, r.d = function(a, i, l) { - r.o(a, i) || Object.defineProperty(a, i, { enumerable: !0, get: l }); - }, r.r = function(a) { - typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(a, "__esModule", { value: !0 }); - }, r.t = function(a, i) { - if (1 & i && (a = r(a)), 8 & i || 4 & i && typeof a == "object" && a && a.__esModule) return a; - var l = /* @__PURE__ */ Object.create(null); - if (r.r(l), Object.defineProperty(l, "default", { enumerable: !0, value: a }), 2 & i && typeof a != "string") for (var s in a) r.d(l, s, (function(u) { - return a[u]; - }).bind(null, s)); - return l; - }, r.n = function(a) { - var i = a && a.__esModule ? function() { - return a.default; - } : function() { - return a; - }; - return r.d(i, "a", i), i; - }, r.o = function(a, i) { - return Object.prototype.hasOwnProperty.call(a, i); - }, r.p = "", r(r.s = 7); - }([function(n, o, r) { - var a, i = this && this.__extends || (a = function(d, h) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(g, m) { - g.__proto__ = m; - } || function(g, m) { - for (var b in m) Object.prototype.hasOwnProperty.call(m, b) && (g[b] = m[b]); - })(d, h); - }, function(d, h) { - function g() { - this.constructor = d; - } - a(d, h), d.prototype = h === null ? Object.create(h) : (g.prototype = h.prototype, new g()); - }), 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 + ` { + return ( + (r.m = n), + (r.c = o), + (r.d = function (a, i, l) { + r.o(a, i) || Object.defineProperty(a, i, { enumerable: !0, get: l }); + }), + (r.r = function (a) { + typeof Symbol < "u" && + Symbol.toStringTag && + Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }), + Object.defineProperty(a, "__esModule", { value: !0 }); + }), + (r.t = function (a, i) { + if ( + (1 & i && (a = r(a)), + 8 & i || (4 & i && typeof a == "object" && a && a.__esModule)) + ) + return a; + var l = /* @__PURE__ */ Object.create(null); + if ( + (r.r(l), + Object.defineProperty(l, "default", { enumerable: !0, value: a }), + 2 & i && typeof a != "string") + ) + for (var s in a) + r.d( + l, + s, + function (u) { + return a[u]; + }.bind(null, s), + ); + return l; + }), + (r.n = function (a) { + var i = + a && a.__esModule + ? function () { + return a.default; + } + : function () { + return a; + }; + return r.d(i, "a", i), i; + }), + (r.o = function (a, i) { + return Object.prototype.hasOwnProperty.call(a, i); + }), + (r.p = ""), + r((r.s = 7)) + ); + })([ + function (n, o, r) { + var a, + i = + (this && this.__extends) || + ((a = function (d, h) { + return (a = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (g, m) { + g.__proto__ = m; + }) || + function (g, m) { + for (var b in m) + Object.prototype.hasOwnProperty.call(m, b) && (g[b] = m[b]); + })(d, h); + }), + function (d, h) { + function g() { + this.constructor = d; + } + a(d, h), + (d.prototype = + h === null + ? Object.create(h) + : ((g.prototype = h.prototype), new g())); + }), + 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 { + .` + + 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 i(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(a) { - a.none = "none", a.head = "head", a.tail = "tail", a.both = "both"; - }(o.SplitType || (o.SplitType = {})), function(a) { - a.DOM_TYPE_ERROR = "[DOM] Receive wrong node type.", a.DOM_SELECTION_EMPTY = "[DOM] The selection contains no dom node, may be you except them.", a.RANGE_INVALID = "[RANGE] Got invalid dom range, can't convert to a valid highlight range.", a.RANGE_NODE_INVALID = "[RANGE] Start or end node isn't a text node, it may occur an error.", a.DB_ID_DUPLICATE_ERROR = "[STORE] Unique id conflict.", a.CACHE_SET_ERROR = "[CACHE] Cache.data can't be set manually, please use .save().", a.SOURCE_TYPE_ERROR = "[SOURCE] Object isn't a highlight source instance.", a.HIGHLIGHT_RANGE_FROZEN = "[HIGHLIGHT_RANGE] A highlight range must be frozen before render.", a.HIGHLIGHT_SOURCE_RECREATE = "[HIGHLIGHT_SOURCE] Recreate highlights from sources error.", a.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(a) { - a.CREATE = "selection:create", a.REMOVE = "selection:remove", a.MODIFY = "selection:modify", a.HOVER = "selection:hover", a.HOVER_OUT = "selection:hover-out", a.CLICK = "selection:click"; - }(o.EventType || (o.EventType = {})), function(a) { - a.STORE = "from-store", a.INPUT = "from-input"; - }(o.CreateFrom || (o.CreateFrom = {})), function(a) { - a.text = "text", a.span = "span"; - }(o.SelectedNodeType || (o.SelectedNodeType = {})), function(a) { - a.touchend = "touchend", a.mouseup = "mouseup", a.touchstart = "touchstart", a.click = "click", a.mouseover = "mouseover"; - }(o.UserInputEvent || (o.UserInputEvent = {})); - }, function(n, o, r) { - var a = this && this.__read || function(s, u) { - var c = typeof Symbol == "function" && s[Symbol.iterator]; - if (!c) return s; - var d, h, g = c.call(s), m = []; - try { - for (; (u === void 0 || u-- > 0) && !(d = g.next()).done; ) m.push(d.value); - } catch (b) { - h = { error: b }; - } finally { - try { - d && !d.done && (c = g.return) && c.call(g); - } finally { - if (h) throw h.error; - } - } - return m; - }, i = this && this.__spread || function() { - for (var s = [], u = 0; u < arguments.length; u++) s = s.concat(a(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, i(c)); - }), this; - }, s; - }(); - o.default = l; - }, function(n, o, r) { - var a = this && this.__importDefault || function(u) { - return u && u.__esModule ? u : { default: u }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var i = a(r(5)), l = r(9), s = function() { - function u(c, d, h, g, m) { - this.startMeta = c, this.endMeta = d, this.text = h, this.id = g, this.__isHighlightSource = {}, m && (this.extra = m); - } - return u.prototype.deSerialize = function(c, d) { - var h = l.queryElementNode(this, c), g = h.start, m = h.end, b = l.getTextChildByOffset(g, this.startMeta.textOffset), C = l.getTextChildByOffset(m, this.endMeta.textOffset); - if (!d.Serialize.Restore.isEmpty()) { - var p = d.Serialize.Restore.call(this, b, C) || []; - b = p[0] || b, C = p[1] || C; - } - return new i.default(b, C, this.text, this.id, !0); - }, u; - }(); - o.default = s; - }, function(n, o, r) { - var a = this && this.__values || function(c) { - var d = typeof Symbol == "function" && Symbol.iterator, h = d && c[d], g = 0; - if (h) return h.call(c); - if (c && typeof c.length == "number") return { next: function() { - return c && g >= c.length && (c = void 0), { value: c && c[g++], done: !c }; - } }; - throw new TypeError(d ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, i = this && this.__read || function(c, d) { - var h = typeof Symbol == "function" && c[Symbol.iterator]; - if (!h) return c; - var g, m, b = h.call(c), C = []; - try { - for (; (d === void 0 || d-- > 0) && !(g = b.next()).done; ) C.push(g.value); - } catch (p) { - m = { error: p }; - } finally { - try { - g && !g.done && (h = b.return) && h.call(b); - } finally { - if (m) throw m.error; - } - } - return C; - }, l = this && this.__spread || function() { - for (var c = [], d = 0; d < arguments.length; d++) c = c.concat(i(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, g = null; c; ) { - if (o.isHighlightWrapNode(c) && (g = c), c === d) { - h = !0; - break; +` + ); + }), + (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; } - c = c.parentNode; - } - return h ? g : 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, g; - Array.isArray(c) || (c = [c]); - var m = []; - try { - for (var b = a(c), C = b.next(); !C.done; C = b.next()) { - var p = C.value.querySelectorAll(d + "[data-" + s.DATASET_IDENTIFIER + "]"); - m.push.apply(m, p); + return i(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 (a) { + (a.none = "none"), + (a.head = "head"), + (a.tail = "tail"), + (a.both = "both"); + })(o.SplitType || (o.SplitType = {})), + (function (a) { + (a.DOM_TYPE_ERROR = "[DOM] Receive wrong node type."), + (a.DOM_SELECTION_EMPTY = + "[DOM] The selection contains no dom node, may be you except them."), + (a.RANGE_INVALID = + "[RANGE] Got invalid dom range, can't convert to a valid highlight range."), + (a.RANGE_NODE_INVALID = + "[RANGE] Start or end node isn't a text node, it may occur an error."), + (a.DB_ID_DUPLICATE_ERROR = "[STORE] Unique id conflict."), + (a.CACHE_SET_ERROR = + "[CACHE] Cache.data can't be set manually, please use .save()."), + (a.SOURCE_TYPE_ERROR = + "[SOURCE] Object isn't a highlight source instance."), + (a.HIGHLIGHT_RANGE_FROZEN = + "[HIGHLIGHT_RANGE] A highlight range must be frozen before render."), + (a.HIGHLIGHT_SOURCE_RECREATE = + "[HIGHLIGHT_SOURCE] Recreate highlights from sources error."), + (a.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 (a) { + (a.CREATE = "selection:create"), + (a.REMOVE = "selection:remove"), + (a.MODIFY = "selection:modify"), + (a.HOVER = "selection:hover"), + (a.HOVER_OUT = "selection:hover-out"), + (a.CLICK = "selection:click"); + })(o.EventType || (o.EventType = {})), + (function (a) { + (a.STORE = "from-store"), (a.INPUT = "from-input"); + })(o.CreateFrom || (o.CreateFrom = {})), + (function (a) { + (a.text = "text"), (a.span = "span"); + })(o.SelectedNodeType || (o.SelectedNodeType = {})), + (function (a) { + (a.touchend = "touchend"), + (a.mouseup = "mouseup"), + (a.touchstart = "touchstart"), + (a.click = "click"), + (a.mouseover = "mouseover"); + })(o.UserInputEvent || (o.UserInputEvent = {})); + }, + function (n, o, r) { + var a = + (this && this.__read) || + function (s, u) { + var c = typeof Symbol == "function" && s[Symbol.iterator]; + if (!c) return s; + var d, + h, + g = c.call(s), + m = []; + try { + for (; (u === void 0 || u-- > 0) && !(d = g.next()).done; ) + m.push(d.value); + } catch (b) { + h = { error: b }; + } finally { + try { + d && !d.done && (c = g.return) && c.call(g); + } finally { + if (h) throw h.error; + } + } + return m; + }, + i = + (this && this.__spread) || + function () { + for (var s = [], u = 0; u < arguments.length; u++) + s = s.concat(a(arguments[u])); + return s; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var l = (function () { + function s() { + this.handlersMap = /* @__PURE__ */ Object.create(null); } - } catch (v) { - h = { error: v }; - } finally { - try { - C && !C.done && (g = b.return) && g.call(b); - } finally { - if (h) throw h.error; + 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, i(c)); + }), + this + ); + }), + s + ); + })(); + o.default = l; + }, + function (n, o, r) { + var a = + (this && this.__importDefault) || + function (u) { + return u && u.__esModule ? u : { default: u }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var i = a(r(5)), + l = r(9), + s = (function () { + function u(c, d, h, g, m) { + (this.startMeta = c), + (this.endMeta = d), + (this.text = h), + (this.id = g), + (this.__isHighlightSource = {}), + m && (this.extra = m); + } + return ( + (u.prototype.deSerialize = function (c, d) { + var h = l.queryElementNode(this, c), + g = h.start, + m = h.end, + b = l.getTextChildByOffset(g, this.startMeta.textOffset), + C = l.getTextChildByOffset(m, this.endMeta.textOffset); + if (!d.Serialize.Restore.isEmpty()) { + var p = d.Serialize.Restore.call(this, b, C) || []; + (b = p[0] || b), (C = p[1] || C); + } + return new i.default(b, C, this.text, this.id, !0); + }), + u + ); + })(); + o.default = s; + }, + function (n, o, r) { + var a = + (this && this.__values) || + function (c) { + var d = typeof Symbol == "function" && Symbol.iterator, + h = d && c[d], + g = 0; + if (h) return h.call(c); + if (c && typeof c.length == "number") + return { + next: function () { + return ( + c && g >= c.length && (c = void 0), + { value: c && c[g++], done: !c } + ); + }, + }; + throw new TypeError( + d + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + i = + (this && this.__read) || + function (c, d) { + var h = typeof Symbol == "function" && c[Symbol.iterator]; + if (!h) return c; + var g, + m, + b = h.call(c), + C = []; + try { + for (; (d === void 0 || d-- > 0) && !(g = b.next()).done; ) + C.push(g.value); + } catch (p) { + m = { error: p }; + } finally { + try { + g && !g.done && (h = b.return) && h.call(b); + } finally { + if (m) throw m.error; + } + } + return C; + }, + l = + (this && this.__spread) || + function () { + for (var c = [], d = 0; d < arguments.length; d++) + c = c.concat(i(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, g = null; c; ) { + if ((o.isHighlightWrapNode(c) && (g = c), c === d)) { + h = !0; + break; + } + c = c.parentNode; } - } - return m; - }, o.getHighlightById = function(c, d, h) { - var g, m, b = [], C = new RegExp("(" + d + "\\" + s.ID_DIVISION + "|\\" + s.ID_DIVISION + "?" + d + "$)"), p = c.querySelectorAll(h + "[data-" + s.DATASET_IDENTIFIER + "]"); - try { - for (var v = a(p), y = v.next(); !y.done; y = v.next()) { - var E = y.value; - if (E.dataset[s.CAMEL_DATASET_IDENTIFIER] !== d) { - var x = E.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; - C.test(x) && b.push(E); - } else b.push(E); + return h ? g : 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, g; + Array.isArray(c) || (c = [c]); + var m = []; + try { + for (var b = a(c), C = b.next(); !C.done; C = b.next()) { + var p = C.value.querySelectorAll( + d + "[data-" + s.DATASET_IDENTIFIER + "]", + ); + m.push.apply(m, p); + } + } catch (v) { + h = { error: v }; + } finally { + try { + C && !C.done && (g = b.return) && g.call(b); + } finally { + if (h) throw h.error; + } + } + return m; + }), + (o.getHighlightById = function (c, d, h) { + var g, + m, + b = [], + C = new RegExp( + "(" + + d + + "\\" + + s.ID_DIVISION + + "|\\" + + s.ID_DIVISION + + "?" + + d + + "$)", + ), + p = c.querySelectorAll(h + "[data-" + s.DATASET_IDENTIFIER + "]"); + try { + for (var v = a(p), y = v.next(); !y.done; y = v.next()) { + var E = y.value; + if (E.dataset[s.CAMEL_DATASET_IDENTIFIER] !== d) { + var x = E.dataset[s.CAMEL_DATASET_IDENTIFIER_EXTRA]; + C.test(x) && b.push(E); + } else b.push(E); + } + } catch (A) { + g = { error: A }; + } finally { + try { + y && !y.done && (m = v.return) && m.call(v); + } finally { + if (g) throw g.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 a = + (this && this.__importDefault) || + function (g) { + return g && g.__esModule ? g : { default: g }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var i = a(r(3)), + l = r(1), + s = r(11), + u = a(r(6)), + c = r(12), + d = r(0), + h = (function () { + function g(m, b, C, p, v) { + v === void 0 && (v = !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 = C), + (this.frozen = v), + (this.id = p); + } + return ( + (g.fromSelection = function (m) { + var b = s.getDomRange(); + if (!b) return null; + var C = { $node: b.startContainer, offset: b.startOffset }, + p = { $node: b.endContainer, offset: b.endOffset }, + v = b.toString(), + y = m.call(C, p, v); + return new g(C, p, v, (y = y ?? u.default())); + }), + (g.prototype.serialize = function (m, b) { + var C, + p = c.getDomMeta(this.start.$node, this.start.offset, m), + v = c.getDomMeta(this.end.$node, this.end.offset, m); + return ( + b.Serialize.RecordInfo.isEmpty() || + (C = b.Serialize.RecordInfo.call(this.start, this.end, m)), + (this.frozen = !0), + new i.default(p, v, this.text, this.id, C) + ); + }), + (g.removeDomRange = s.removeSelection), + g + ); + })(); + o.default = h; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.default = function a(i) { + return i + ? (i ^ ((16 * Math.random()) >> (i / 4))).toString(16) + : ("10000000-1000-4000-8000" + -1e11).replace(/[018]/g, a); + }); + }, + function (n, o, r) { + n.exports = r(8); + }, + function (n, o, r) { + var a, + i = + (this && this.__extends) || + ((a = function (x, A) { + return (a = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (T, k) { + T.__proto__ = k; + }) || + function (T, k) { + for (var R in k) + Object.prototype.hasOwnProperty.call(k, R) && (T[R] = k[R]); + })(x, A); + }), + function (x, A) { + function T() { + this.constructor = x; + } + a(x, A), + (x.prototype = + A === null + ? Object.create(A) + : ((T.prototype = A.prototype), new T())); + }), + l = + (this && this.__assign) || + function () { + return (l = + Object.assign || + function (x) { + for (var A, T = 1, k = arguments.length; T < k; T++) + for (var R in (A = arguments[T])) + Object.prototype.hasOwnProperty.call(A, R) && + (x[R] = A[R]); + return x; + }).apply(this, arguments); + }, + s = + (this && this.__importDefault) || + function (x) { + return x && x.__esModule ? x : { default: x }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(2)), + c = s(r(5)), + d = s(r(3)), + h = s(r(6)), + g = s(r(13)), + m = s(r(14)), + b = s(r(16)), + C = s(r(17)), + p = r(0), + v = r(1), + y = r(4), + E = (function (x) { + function A(T) { + var k = x.call(this) || this; + (k.event = m.default()), + (k.run = function () { + return y.addEventListener( + k.options.$root, + k.event.PointerEnd, + k._handleSelection, + ); + }), + (k.stop = function () { + y.removeEventListener( + k.options.$root, + k.event.PointerEnd, + k._handleSelection, + ); + }), + (k.addClass = function (L, I) { + k.getDoms(I).forEach(function (W) { + y.addClass(W, L); + }); + }), + (k.removeClass = function (L, I) { + k.getDoms(I).forEach(function (W) { + y.removeClass(W, L); + }); + }), + (k.getIdByDom = function (L) { + return y.getHighlightId(L, k.options.$root); + }), + (k.getExtraIdByDom = function (L) { + return y.getExtraHighlightId(L, k.options.$root); + }), + (k.getDoms = function (L) { + return L + ? y.getHighlightById(k.options.$root, L, k.options.wrapTag) + : y.getHighlightsByRoot(k.options.$root, k.options.wrapTag); + }), + (k.dispose = function () { + var L = k.options.$root; + y.removeEventListener( + L, + k.event.PointerOver, + k._handleHighlightHover, + ), + y.removeEventListener( + L, + k.event.PointerEnd, + k._handleSelection, + ), + y.removeEventListener( + L, + k.event.PointerTap, + k._handleHighlightClick, + ), + k.removeAll(); + }), + (k.setOption = function (L) { + (k.options = l(l({}, k.options), L)), + (k.painter = new C.default( + { + $root: k.options.$root, + wrapTag: k.options.wrapTag, + className: k.options.style.className, + exceptSelectors: k.options.exceptSelectors, + }, + k.hooks, + )); + }), + (k.fromRange = function (L) { + var I = { $node: L.startContainer, offset: L.startOffset }, + W = { $node: L.endContainer, offset: L.endOffset }, + B = L.toString(), + w = k.hooks.Render.UUID.call(I, W, B); + w = w ?? h.default(); + var N = new c.default(I, W, B, w); + return N + ? k._highlightFromHRange(N) + : (p.eventEmitter.emit(p.INTERNAL_ERROR_EVENT, { + type: v.ERROR.RANGE_INVALID, + }), + null); + }), + (k.fromStore = function (L, I, W, B, w) { + var N = new d.default(L, I, W, B, w); + try { + return k._highlightFromHSource(N), N; + } catch (S) { + return ( + p.eventEmitter.emit(p.INTERNAL_ERROR_EVENT, { + type: v.ERROR.HIGHLIGHT_SOURCE_RECREATE, + error: S, + detail: N, + }), + null + ); + } + }), + (k._getHooks = function () { + return { + Render: { + UUID: new g.default("Render.UUID"), + SelectedNodes: new g.default("Render.SelectedNodes"), + WrapNode: new g.default("Render.WrapNode"), + }, + Serialize: { + Restore: new g.default("Serialize.Restore"), + RecordInfo: new g.default("Serialize.RecordInfo"), + }, + Remove: { + UpdateNodes: new g.default("Remove.UpdateNodes"), + }, + }; + }), + (k._highlightFromHRange = function (L) { + var I = L.serialize(k.options.$root, k.hooks); + return k.painter.highlightRange(L).length === 0 + ? (p.eventEmitter.emit(p.INTERNAL_ERROR_EVENT, { + type: v.ERROR.DOM_SELECTION_EMPTY, + }), + null) + : (k.cache.save(I), + k.emit( + v.EventType.CREATE, + { sources: [I], type: v.CreateFrom.INPUT }, + k, + ), + I); + }), + (k._handleSelection = function () { + var L = c.default.fromSelection(k.hooks.Render.UUID); + L && (k._highlightFromHRange(L), c.default.removeDomRange()); + }), + (k._handleHighlightHover = function (L) { + var I = L.target; + if (!y.isHighlightWrapNode(I)) + return ( + k._hoverId && + k.emit(v.EventType.HOVER_OUT, { id: k._hoverId }, k, L), + void (k._hoverId = null) + ); + var W = y.getHighlightId(I, k.options.$root); + k._hoverId !== W && + (k._hoverId && + k.emit(v.EventType.HOVER_OUT, { id: k._hoverId }, k, L), + (k._hoverId = W), + k.emit(v.EventType.HOVER, { id: k._hoverId }, k, L)); + }), + (k._handleError = function (L) { + k.options.verbose && console.warn(L); + }), + (k._handleHighlightClick = function (L) { + var I = L.target; + if (y.isHighlightWrapNode(I)) { + var W = y.getHighlightId(I, k.options.$root); + k.emit(v.EventType.CLICK, { id: W }, k, L); + } + }), + (k.options = p.getDefaultOptions()), + (k.hooks = k._getHooks()), + k.setOption(T), + (k.cache = new b.default()); + var R = k.options.$root; + return ( + y.addEventListener( + R, + k.event.PointerOver, + k._handleHighlightHover, + ), + y.addEventListener( + R, + k.event.PointerTap, + k._handleHighlightClick, + ), + p.eventEmitter.on(p.INTERNAL_ERROR_EVENT, k._handleError), + k + ); + } + return ( + i(A, x), + (A.prototype.remove = function (T) { + if (T) { + var k = this.painter.removeHighlight(T); + this.cache.remove(T), + k && this.emit(v.EventType.REMOVE, { ids: [T] }, this); + } + }), + (A.prototype.removeAll = function () { + this.painter.removeAllHighlight(); + var T = this.cache.removeAll(); + this.emit(v.EventType.REMOVE, { ids: T }, this); + }), + (A.prototype._highlightFromHSource = function (T) { + T === void 0 && (T = []); + var k = this.painter.highlightSource(T); + this.emit( + v.EventType.CREATE, + { sources: k, type: v.CreateFrom.STORE }, + this, + ), + this.cache.save(T); + }), + (A.event = v.EventType), + (A.isHighlightWrapNode = y.isHighlightWrapNode), + (A.isHighlightSource = function (T) { + return !!T.__isHighlightSource; + }), + A + ); + })(u.default); + o.default = E; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.queryElementNode = o.getTextChildByOffset = void 0); + var a = r(0); + (o.getTextChildByOffset = function (i, l) { + for (var s = [i], u = null, c = 0, d = 0; (u = s.pop()); ) { + for (var h = u.childNodes, g = h.length - 1; g >= 0; g--) + s.push(h[g]); + if ( + u.nodeType === 3 && + ((d = l - c), (c += u.textContent.length) >= l) + ) + break; } - } catch (A) { - g = { error: A }; - } finally { - try { - y && !y.done && (m = v.return) && m.call(v); - } finally { - if (g) throw g.error; + return u || (u = i), { $node: u, offset: d }; + }), + (o.queryElementNode = function (i, l) { + return { + start: + i.startMeta.parentIndex === a.ROOT_IDX + ? l + : l.getElementsByTagName(i.startMeta.parentTagName)[ + i.startMeta.parentIndex + ], + end: + i.endMeta.parentIndex === a.ROOT_IDX + ? l + : l.getElementsByTagName(i.endMeta.parentTagName)[ + i.endMeta.parentIndex + ], + }; + }); + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.default = function (a) { + return a.split("-").reduce(function (i, l, s) { + return i + (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 a = window.getSelection(); + return a.isCollapsed + ? (console.debug("no text selected"), null) + : a.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 a = r(0); + (o.getDomMeta = function (i, l, s) { + var u = (function (h) { + if ( + h instanceof HTMLElement && + (!h.dataset || !h.dataset[a.CAMEL_DATASET_IDENTIFIER]) + ) + return h; + for ( + var g = h.parentNode; + g != null && g.dataset[a.CAMEL_DATASET_IDENTIFIER]; + + ) + g = g.parentNode; + return g; + })(i), + c = + u === s + ? a.ROOT_IDX + : (function (h, g) { + for ( + var m = h.tagName, b = g.getElementsByTagName(m), C = 0; + C < b.length; + C++ + ) + if (h === b[C]) return C; + return a.UNKNOWN_IDX; + })(u, s), + d = (function (h, g) { + for (var m = [h], b = null, C = 0; (b = m.pop()); ) { + for (var p = b.childNodes, v = p.length - 1; v >= 0; v--) + m.push(p[v]); + if (b.nodeType === 3 && b !== g) C += b.textContent.length; + else if (b.nodeType === 3) break; + } + return C; + })(u, i); + return { + parentTagName: u.tagName, + parentIndex: c, + textOffset: d + l, + }; + }), + (o.formatDomNode = function (i) { + return i.$node.nodeType === 3 || + i.$node.nodeType === 4 || + i.$node.nodeType === 8 + ? i + : { $node: i.$node.childNodes[i.offset], offset: 0 }; + }); + }, + function (n, o, r) { + var a = + (this && this.__read) || + function (s, u) { + var c = typeof Symbol == "function" && s[Symbol.iterator]; + if (!c) return s; + var d, + h, + g = c.call(s), + m = []; + try { + for (; (u === void 0 || u-- > 0) && !(d = g.next()).done; ) + m.push(d.value); + } catch (b) { + h = { error: b }; + } finally { + try { + d && !d.done && (c = g.return) && c.call(g); + } finally { + if (h) throw h.error; + } + } + return m; + }, + i = + (this && this.__spread) || + function () { + for (var s = [], u = 0; u < arguments.length; u++) + s = s.concat(a(arguments[u])); + return s; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var l = (function () { + function s(u) { + (this.name = ""), (this.ops = []), (this.name = u); } - } - 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); + 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, i(c)); + }), + u + ); + }), + s + ); + })(); + o.default = l; + }, + function (n, o, r) { + var a = + (this && this.__importDefault) || + function (s) { + return s && s.__esModule ? s : { default: s }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var i = r(1), + l = a(r(15)); + o.default = function () { + var s = l.default(window.navigator.userAgent); + return { + PointerEnd: s + ? i.UserInputEvent.touchend + : i.UserInputEvent.mouseup, + PointerTap: s + ? i.UserInputEvent.touchstart + : i.UserInputEvent.click, + PointerOver: s + ? i.UserInputEvent.touchstart + : i.UserInputEvent.mouseover, + }; }; - }, 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 a = this && this.__importDefault || function(g) { - return g && g.__esModule ? g : { default: g }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var i = a(r(3)), l = r(1), s = r(11), u = a(r(6)), c = r(12), d = r(0), h = function() { - function g(m, b, C, p, v) { - v === void 0 && (v = !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 = C, this.frozen = v, this.id = p; - } - return g.fromSelection = function(m) { - var b = s.getDomRange(); - if (!b) return null; - var C = { $node: b.startContainer, offset: b.startOffset }, p = { $node: b.endContainer, offset: b.endOffset }, v = b.toString(), y = m.call(C, p, v); - return new g(C, p, v, y = y ?? u.default()); - }, g.prototype.serialize = function(m, b) { - var C, p = c.getDomMeta(this.start.$node, this.start.offset, m), v = c.getDomMeta(this.end.$node, this.end.offset, m); - return b.Serialize.RecordInfo.isEmpty() || (C = b.Serialize.RecordInfo.call(this.start, this.end, m)), this.frozen = !0, new i.default(p, v, this.text, this.id, C); - }, g.removeDomRange = s.removeSelection, g; - }(); - o.default = h; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.default = function a(i) { - return i ? (i ^ 16 * Math.random() >> i / 4).toString(16) : ("10000000-1000-4000-8000" + -1e11).replace(/[018]/g, a); - }; - }, function(n, o, r) { - n.exports = r(8); - }, function(n, o, r) { - var a, i = this && this.__extends || (a = function(x, A) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(T, k) { - T.__proto__ = k; - } || function(T, k) { - for (var R in k) Object.prototype.hasOwnProperty.call(k, R) && (T[R] = k[R]); - })(x, A); - }, function(x, A) { - function T() { - this.constructor = x; - } - a(x, A), x.prototype = A === null ? Object.create(A) : (T.prototype = A.prototype, new T()); - }), l = this && this.__assign || function() { - return (l = Object.assign || function(x) { - for (var A, T = 1, k = arguments.length; T < k; T++) for (var R in A = arguments[T]) Object.prototype.hasOwnProperty.call(A, R) && (x[R] = A[R]); - return x; - }).apply(this, arguments); - }, s = this && this.__importDefault || function(x) { - return x && x.__esModule ? x : { default: x }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(2)), c = s(r(5)), d = s(r(3)), h = s(r(6)), g = s(r(13)), m = s(r(14)), b = s(r(16)), C = s(r(17)), p = r(0), v = r(1), y = r(4), E = function(x) { - function A(T) { - var k = x.call(this) || this; - k.event = m.default(), k.run = function() { - return y.addEventListener(k.options.$root, k.event.PointerEnd, k._handleSelection); - }, k.stop = function() { - y.removeEventListener(k.options.$root, k.event.PointerEnd, k._handleSelection); - }, k.addClass = function(L, I) { - k.getDoms(I).forEach(function(W) { - y.addClass(W, L); - }); - }, k.removeClass = function(L, I) { - k.getDoms(I).forEach(function(W) { - y.removeClass(W, L); - }); - }, k.getIdByDom = function(L) { - return y.getHighlightId(L, k.options.$root); - }, k.getExtraIdByDom = function(L) { - return y.getExtraHighlightId(L, k.options.$root); - }, k.getDoms = function(L) { - return L ? y.getHighlightById(k.options.$root, L, k.options.wrapTag) : y.getHighlightsByRoot(k.options.$root, k.options.wrapTag); - }, k.dispose = function() { - var L = k.options.$root; - y.removeEventListener(L, k.event.PointerOver, k._handleHighlightHover), y.removeEventListener(L, k.event.PointerEnd, k._handleSelection), y.removeEventListener(L, k.event.PointerTap, k._handleHighlightClick), k.removeAll(); - }, k.setOption = function(L) { - k.options = l(l({}, k.options), L), k.painter = new C.default({ $root: k.options.$root, wrapTag: k.options.wrapTag, className: k.options.style.className, exceptSelectors: k.options.exceptSelectors }, k.hooks); - }, k.fromRange = function(L) { - var I = { $node: L.startContainer, offset: L.startOffset }, W = { $node: L.endContainer, offset: L.endOffset }, B = L.toString(), w = k.hooks.Render.UUID.call(I, W, B); - w = w ?? h.default(); - var N = new c.default(I, W, B, w); - return N ? k._highlightFromHRange(N) : (p.eventEmitter.emit(p.INTERNAL_ERROR_EVENT, { type: v.ERROR.RANGE_INVALID }), null); - }, k.fromStore = function(L, I, W, B, w) { - var N = new d.default(L, I, W, B, w); - try { - return k._highlightFromHSource(N), N; - } catch (S) { - return p.eventEmitter.emit(p.INTERNAL_ERROR_EVENT, { type: v.ERROR.HIGHLIGHT_SOURCE_RECREATE, error: S, detail: N }), null; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }); + var a = + /Android|iPhone|BlackBerry|BB10|Opera Mini|Phone|Mobile|Silk|Windows Phone|Mobile(?:.+)Firefox\b/i; + o.default = function (i) { + return a.test(i); + }; + }, + function (n, o, r) { + var a, + i = + (this && this.__extends) || + ((a = function (h, g) { + return (a = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (m, b) { + m.__proto__ = b; + }) || + function (m, b) { + for (var C in b) + Object.prototype.hasOwnProperty.call(b, C) && (m[C] = b[C]); + })(h, g); + }), + function (h, g) { + function m() { + this.constructor = h; + } + a(h, g), + (h.prototype = + g === null + ? Object.create(g) + : ((m.prototype = g.prototype), new m())); + }), + l = + (this && this.__values) || + function (h) { + var g = typeof Symbol == "function" && Symbol.iterator, + m = g && h[g], + 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( + g + ? "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 g() { + var m = (h !== null && h.apply(this, arguments)) || this; + return (m._data = /* @__PURE__ */ new Map()), m; } - }, k._getHooks = function() { - return { Render: { UUID: new g.default("Render.UUID"), SelectedNodes: new g.default("Render.SelectedNodes"), WrapNode: new g.default("Render.WrapNode") }, Serialize: { Restore: new g.default("Serialize.Restore"), RecordInfo: new g.default("Serialize.RecordInfo") }, Remove: { UpdateNodes: new g.default("Remove.UpdateNodes") } }; - }, k._highlightFromHRange = function(L) { - var I = L.serialize(k.options.$root, k.hooks); - return k.painter.highlightRange(L).length === 0 ? (p.eventEmitter.emit(p.INTERNAL_ERROR_EVENT, { type: v.ERROR.DOM_SELECTION_EMPTY }), null) : (k.cache.save(I), k.emit(v.EventType.CREATE, { sources: [I], type: v.CreateFrom.INPUT }, k), I); - }, k._handleSelection = function() { - var L = c.default.fromSelection(k.hooks.Render.UUID); - L && (k._highlightFromHRange(L), c.default.removeDomRange()); - }, k._handleHighlightHover = function(L) { - var I = L.target; - if (!y.isHighlightWrapNode(I)) return k._hoverId && k.emit(v.EventType.HOVER_OUT, { id: k._hoverId }, k, L), void (k._hoverId = null); - var W = y.getHighlightId(I, k.options.$root); - k._hoverId !== W && (k._hoverId && k.emit(v.EventType.HOVER_OUT, { id: k._hoverId }, k, L), k._hoverId = W, k.emit(v.EventType.HOVER, { id: k._hoverId }, k, L)); - }, k._handleError = function(L) { - k.options.verbose && console.warn(L); - }, k._handleHighlightClick = function(L) { - var I = L.target; - if (y.isHighlightWrapNode(I)) { - var W = y.getHighlightId(I, k.options.$root); - k.emit(v.EventType.CLICK, { id: W }, k, L); + return ( + i(g, h), + Object.defineProperty(g.prototype, "data", { + get: function () { + return this.getAll(); + }, + set: function (m) { + throw c.ERROR.CACHE_SET_ERROR; + }, + enumerable: !1, + configurable: !0, + }), + (g.prototype.save = function (m) { + var b = this; + Array.isArray(m) + ? m.forEach(function (C) { + return b._data.set(C.id, C); + }) + : this._data.set(m.id, m); + }), + (g.prototype.get = function (m) { + return this._data.get(m); + }), + (g.prototype.remove = function (m) { + this._data.delete(m); + }), + (g.prototype.getAll = function () { + var m, + b, + C = []; + try { + for ( + var p = l(this._data), v = p.next(); + !v.done; + v = p.next() + ) { + var y = v.value; + C.push(y[1]); + } + } catch (E) { + m = { error: E }; + } finally { + try { + v && !v.done && (b = p.return) && b.call(p); + } finally { + if (m) throw m.error; + } + } + return C; + }), + (g.prototype.removeAll = function () { + var m, + b, + C = []; + try { + for ( + var p = l(this._data), v = p.next(); + !v.done; + v = p.next() + ) { + var y = v.value; + C.push(y[0]); + } + } catch (E) { + m = { error: E }; + } finally { + try { + v && !v.done && (b = p.return) && b.call(p); + } finally { + if (m) throw m.error; + } + } + return (this._data = /* @__PURE__ */ new Map()), C; + }), + g + ); + })(u.default); + o.default = d; + }, + function (n, o, r) { + var a = + (this && this.__values) || + function (C) { + var p = typeof Symbol == "function" && Symbol.iterator, + v = p && C[p], + y = 0; + if (v) return v.call(C); + if (C && typeof C.length == "number") + return { + next: function () { + return ( + C && y >= C.length && (C = void 0), + { value: C && C[y++], done: !C } + ); + }, + }; + throw new TypeError( + p + ? "Object is not iterable." + : "Symbol.iterator is not defined.", + ); + }, + i = + (this && this.__read) || + function (C, p) { + var v = typeof Symbol == "function" && C[Symbol.iterator]; + if (!v) return C; + var y, + E, + x = v.call(C), + A = []; + try { + for (; (p === void 0 || p-- > 0) && !(y = x.next()).done; ) + A.push(y.value); + } catch (T) { + E = { error: T }; + } finally { + try { + y && !y.done && (v = x.return) && v.call(x); + } finally { + if (E) throw E.error; + } + } + return A; + }, + l = + (this && this.__spread) || + function () { + for (var C = [], p = 0; p < arguments.length; p++) + C = C.concat(i(arguments[p])); + return C; + }, + s = + (this && this.__importDefault) || + function (C) { + return C && C.__esModule ? C : { default: C }; + }; + Object.defineProperty(o, "__esModule", { value: !0 }); + var u = s(r(3)), + c = r(18), + d = r(4), + h = r(1), + g = r(20), + m = r(0), + b = (function () { + function C(p, v) { + (this.options = { + $root: p.$root, + wrapTag: p.wrapTag, + exceptSelectors: p.exceptSelectors, + className: p.className, + }), + (this.hooks = v), + g.initDefaultStylesheet(); } - }, k.options = p.getDefaultOptions(), k.hooks = k._getHooks(), k.setOption(T), k.cache = new b.default(); - var R = k.options.$root; - return y.addEventListener(R, k.event.PointerOver, k._handleHighlightHover), y.addEventListener(R, k.event.PointerTap, k._handleHighlightClick), p.eventEmitter.on(p.INTERNAL_ERROR_EVENT, k._handleError), k; - } - return i(A, x), A.prototype.remove = function(T) { - if (T) { - var k = this.painter.removeHighlight(T); - this.cache.remove(T), k && this.emit(v.EventType.REMOVE, { ids: [T] }, this); - } - }, A.prototype.removeAll = function() { - this.painter.removeAllHighlight(); - var T = this.cache.removeAll(); - this.emit(v.EventType.REMOVE, { ids: T }, this); - }, A.prototype._highlightFromHSource = function(T) { - T === void 0 && (T = []); - var k = this.painter.highlightSource(T); - this.emit(v.EventType.CREATE, { sources: k, type: v.CreateFrom.STORE }, this), this.cache.save(T); - }, A.event = v.EventType, A.isHighlightWrapNode = y.isHighlightWrapNode, A.isHighlightSource = function(T) { - return !!T.__isHighlightSource; - }, A; - }(u.default); - o.default = E; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.queryElementNode = o.getTextChildByOffset = void 0; - var a = r(0); - o.getTextChildByOffset = function(i, l) { - for (var s = [i], u = null, c = 0, d = 0; u = s.pop(); ) { - for (var h = u.childNodes, g = h.length - 1; g >= 0; g--) s.push(h[g]); - if (u.nodeType === 3 && (d = l - c, (c += u.textContent.length) >= l)) break; - } - return u || (u = i), { $node: u, offset: d }; - }, o.queryElementNode = function(i, l) { - return { start: i.startMeta.parentIndex === a.ROOT_IDX ? l : l.getElementsByTagName(i.startMeta.parentTagName)[i.startMeta.parentIndex], end: i.endMeta.parentIndex === a.ROOT_IDX ? l : l.getElementsByTagName(i.endMeta.parentTagName)[i.endMeta.parentIndex] }; - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.default = function(a) { - return a.split("-").reduce(function(i, l, s) { - return i + (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 a = window.getSelection(); - return a.isCollapsed ? (console.debug("no text selected"), null) : a.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 a = r(0); - o.getDomMeta = function(i, l, s) { - var u = function(h) { - if (h instanceof HTMLElement && (!h.dataset || !h.dataset[a.CAMEL_DATASET_IDENTIFIER])) return h; - for (var g = h.parentNode; g != null && g.dataset[a.CAMEL_DATASET_IDENTIFIER]; ) g = g.parentNode; - return g; - }(i), c = u === s ? a.ROOT_IDX : function(h, g) { - for (var m = h.tagName, b = g.getElementsByTagName(m), C = 0; C < b.length; C++) if (h === b[C]) return C; - return a.UNKNOWN_IDX; - }(u, s), d = function(h, g) { - for (var m = [h], b = null, C = 0; b = m.pop(); ) { - for (var p = b.childNodes, v = p.length - 1; v >= 0; v--) m.push(p[v]); - if (b.nodeType === 3 && b !== g) C += b.textContent.length; - else if (b.nodeType === 3) break; - } - return C; - }(u, i); - return { parentTagName: u.tagName, parentIndex: c, textOffset: d + l }; - }, o.formatDomNode = function(i) { - return i.$node.nodeType === 3 || i.$node.nodeType === 4 || i.$node.nodeType === 8 ? i : { $node: i.$node.childNodes[i.offset], offset: 0 }; - }; - }, function(n, o, r) { - var a = this && this.__read || function(s, u) { - var c = typeof Symbol == "function" && s[Symbol.iterator]; - if (!c) return s; - var d, h, g = c.call(s), m = []; - try { - for (; (u === void 0 || u-- > 0) && !(d = g.next()).done; ) m.push(d.value); - } catch (b) { - h = { error: b }; - } finally { - try { - d && !d.done && (c = g.return) && c.call(g); - } finally { - if (h) throw h.error; - } - } - return m; - }, i = this && this.__spread || function() { - for (var s = [], u = 0; u < arguments.length; u++) s = s.concat(a(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, i(c)); - }), u; - }, s; - }(); - o.default = l; - }, function(n, o, r) { - var a = this && this.__importDefault || function(s) { - return s && s.__esModule ? s : { default: s }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var i = r(1), l = a(r(15)); - o.default = function() { - var s = l.default(window.navigator.userAgent); - return { PointerEnd: s ? i.UserInputEvent.touchend : i.UserInputEvent.mouseup, PointerTap: s ? i.UserInputEvent.touchstart : i.UserInputEvent.click, PointerOver: s ? i.UserInputEvent.touchstart : i.UserInputEvent.mouseover }; - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }); - var a = /Android|iPhone|BlackBerry|BB10|Opera Mini|Phone|Mobile|Silk|Windows Phone|Mobile(?:.+)Firefox\b/i; - o.default = function(i) { - return a.test(i); - }; - }, function(n, o, r) { - var a, i = this && this.__extends || (a = function(h, g) { - return (a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, b) { - m.__proto__ = b; - } || function(m, b) { - for (var C in b) Object.prototype.hasOwnProperty.call(b, C) && (m[C] = b[C]); - })(h, g); - }, function(h, g) { - function m() { - this.constructor = h; - } - a(h, g), h.prototype = g === null ? Object.create(g) : (m.prototype = g.prototype, new m()); - }), l = this && this.__values || function(h) { - var g = typeof Symbol == "function" && Symbol.iterator, m = g && h[g], 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(g ? "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 g() { - var m = h !== null && h.apply(this, arguments) || this; - return m._data = /* @__PURE__ */ new Map(), m; - } - return i(g, h), Object.defineProperty(g.prototype, "data", { get: function() { - return this.getAll(); - }, set: function(m) { - throw c.ERROR.CACHE_SET_ERROR; - }, enumerable: !1, configurable: !0 }), g.prototype.save = function(m) { - var b = this; - Array.isArray(m) ? m.forEach(function(C) { - return b._data.set(C.id, C); - }) : this._data.set(m.id, m); - }, g.prototype.get = function(m) { - return this._data.get(m); - }, g.prototype.remove = function(m) { - this._data.delete(m); - }, g.prototype.getAll = function() { - var m, b, C = []; - try { - for (var p = l(this._data), v = p.next(); !v.done; v = p.next()) { - var y = v.value; - C.push(y[1]); + return ( + (C.prototype.highlightRange = function (p) { + var v = this; + if (!p.frozen) throw h.ERROR.HIGHLIGHT_RANGE_FROZEN; + var y = this.options, + E = y.$root, + x = y.className, + A = y.exceptSelectors, + T = this.hooks, + k = c.getSelectedNodes(E, p.start, p.end, A); + return ( + T.Render.SelectedNodes.isEmpty() || + (k = T.Render.SelectedNodes.call(p.id, k) || []), + k.map(function (R) { + var L = c.wrapHighlight(R, p, x, v.options.wrapTag); + return ( + T.Render.WrapNode.isEmpty() || + (L = T.Render.WrapNode.call(p.id, L)), + L + ); + }) + ); + }), + (C.prototype.highlightSource = function (p) { + var v = this, + y = Array.isArray(p) ? p : [p], + E = []; + return ( + y.forEach(function (x) { + if (x instanceof u.default) { + var A = x.deSerialize(v.options.$root, v.hooks); + v.highlightRange(A).length > 0 + ? E.push(x) + : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { + type: h.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, + detail: x, + }); + } else + m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { + type: h.ERROR.SOURCE_TYPE_ERROR, + }); + }), + E + ); + }), + (C.prototype.removeHighlight = function (p) { + var v, + y, + E = new RegExp( + "(" + + p + + "\\" + + m.ID_DIVISION + + "|\\" + + m.ID_DIVISION + + "?" + + p + + "$)", + ), + x = this.hooks, + A = this.options.wrapTag, + T = document.querySelectorAll( + A + "[data-" + m.DATASET_IDENTIFIER + "]", + ), + k = [], + R = [], + L = []; + try { + for (var I = a(T), W = I.next(); !W.done; W = I.next()) { + var B = W.value, + w = B.dataset[m.CAMEL_DATASET_IDENTIFIER], + N = B.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + w !== p || N + ? w === p + ? R.push(B) + : w !== p && E.test(N) && L.push(B) + : k.push(B); + } + } catch (S) { + v = { error: S }; + } finally { + try { + W && !W.done && (y = I.return) && y.call(I); + } finally { + if (v) throw v.error; + } + } + return ( + k.forEach(function (S) { + var D = S.parentNode, + j = document.createDocumentFragment(); + d.forEach(S.childNodes, function (F) { + return j.appendChild(F.cloneNode(!1)); + }); + var O = S.previousSibling, + M = S.nextSibling; + D.replaceChild(j, S), + c.normalizeSiblingText(O, !0), + c.normalizeSiblingText(M, !1), + x.Remove.UpdateNodes.call(p, S, "remove"); + }), + R.forEach(function (S) { + var D = S.dataset, + j = D[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split( + m.ID_DIVISION, + ), + O = j.shift(), + M = document.querySelector( + A + "[data-" + m.DATASET_IDENTIFIER + '="' + O + '"]', + ); + M && (d.removeAllClass(S), d.addClass(S, l(M.classList))), + (D[m.CAMEL_DATASET_IDENTIFIER] = O), + (D[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = j.join( + m.ID_DIVISION, + )), + x.Remove.UpdateNodes.call(p, S, "id-update"); + }), + L.forEach(function (S) { + var D = S.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + (S.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = D.replace( + E, + "", + )), + x.Remove.UpdateNodes.call(p, S, "extra-update"); + }), + k.length + R.length + L.length !== 0 + ); + }), + (C.prototype.removeAllHighlight = function () { + var p = this.options, + v = p.wrapTag, + y = p.$root; + d.getHighlightsByRoot(y, v).forEach(function (E) { + var x = E.parentNode, + A = document.createDocumentFragment(); + d.forEach(E.childNodes, function (T) { + return A.appendChild(T.cloneNode(!1)); + }), + x.replaceChild(A, E); + }); + }), + C + ); + })(); + o.default = b; + }, + function (n, o, r) { + var a = + (this && this.__read) || + function (m, b) { + var C = typeof Symbol == "function" && m[Symbol.iterator]; + if (!C) return m; + var p, + v, + y = C.call(m), + E = []; + try { + for (; (b === void 0 || b-- > 0) && !(p = y.next()).done; ) + E.push(p.value); + } catch (x) { + v = { error: x }; + } finally { + try { + p && !p.done && (C = y.return) && C.call(y); + } finally { + if (v) throw v.error; + } + } + return E; + }, + i = + (this && this.__spread) || + function () { + for (var m = [], b = 0; b < arguments.length; b++) + m = m.concat(a(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 C = b.replace(/^\./, ""); + return m && s.hasClass(m, C); } - } catch (E) { - m = { error: E }; - } finally { - try { - v && !v.done && (b = p.return) && b.call(p); - } finally { - if (m) throw m.error; + if (/^#/.test(b)) { + var p = b.replace(/^#/, ""); + return m && m.id === p; } - } - return C; - }, g.prototype.removeAll = function() { - var m, b, C = []; - try { - for (var p = l(this._data), v = p.next(); !v.done; v = p.next()) { - var y = v.value; - C.push(y[0]); + var v = b.toUpperCase(); + return m && m.tagName === v; + }; + o.getSelectedNodes = function (m, b, C, p) { + var v = b.$node, + y = C.$node, + E = b.offset, + x = C.offset; + if (v === y && v instanceof Text) + return (function (w, N, S, D) { + for ( + var j = w, + O = function (F) { + return D == null + ? void 0 + : D.some(function (z) { + return d(F, z); + }); + }; + j; + + ) { + if (j.nodeType === 1 && O(j)) return []; + j = j.parentNode; + } + w.splitText(N); + var M = w.nextSibling; + return ( + M.splitText(S - N), + [ + { + $node: M, + type: l.SelectedNodeType.text, + splitType: l.SplitType.both, + }, + ] + ); + })(v, E, x, p); + for ( + var A = [m], + T = [], + k = function (w) { + return p == null + ? void 0 + : p.some(function (N) { + return d(w, N); + }); + }, + R = !1, + L = null; + (L = A.pop()); + + ) + if (L.nodeType !== 1 || !k(L)) { + for (var I = L.childNodes, W = I.length - 1; W >= 0; W--) + A.push(I[W]); + if (L === v) { + if (L.nodeType === 3) { + L.splitText(E); + var B = L.nextSibling; + T.push({ + $node: B, + type: l.SelectedNodeType.text, + splitType: l.SplitType.head, + }); + } + R = !0; + } else { + if (L === y) { + L.nodeType === 3 && + ((B = L).splitText(x), + T.push({ + $node: B, + type: l.SelectedNodeType.text, + splitType: l.SplitType.tail, + })); + break; + } + R && + L.nodeType === 3 && + T.push({ + $node: L, + type: l.SelectedNodeType.text, + splitType: l.SplitType.none, + }); + } } - } catch (E) { - m = { error: E }; - } finally { - try { - v && !v.done && (b = p.return) && b.call(p); - } finally { - if (m) throw m.error; + return T; + }; + var h = function (m, b) { + var C = Array.isArray(b) ? b : [b]; + return ( + (C = + C.length === 0 + ? [u.getDefaultOptions().style.className] + : C).forEach(function (p) { + s.addClass(m, p); + }), + m + ); + }, + g = function (m) { + return !m || !m.textContent; + }; + (o.wrapHighlight = function (m, b, C, p) { + var v = m.$node.parentNode, + y = m.$node.previousSibling, + E = m.$node.nextSibling; + return s.isHighlightWrapNode(v) + ? !s.isHighlightWrapNode(v) || (g(y) && g(E)) + ? (function (x, A, T) { + var k = x.$node.parentNode, + R = k; + s.removeAllClass(R), h(R, T); + var L = k.dataset, + I = L[u.CAMEL_DATASET_IDENTIFIER]; + return ( + (L[u.CAMEL_DATASET_IDENTIFIER] = A.id), + (L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = L[ + u.CAMEL_DATASET_IDENTIFIER_EXTRA + ] + ? I + u.ID_DIVISION + L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] + : I), + R + ); + })(m, b, C) + : (function (x, A, T, k) { + var R = document.createElement(k), + L = x.$node.parentNode, + I = x.$node.previousSibling, + W = x.$node.nextSibling, + B = document.createDocumentFragment(), + w = L.dataset[u.CAMEL_DATASET_IDENTIFIER], + N = L.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], + S = N ? w + u.ID_DIVISION + N : w; + R.setAttribute("data-" + u.DATASET_IDENTIFIER, A.id), + R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, S), + R.appendChild(x.$node.cloneNode(!1)); + var D, + j = !1, + O = !1; + I && + (((M = L.cloneNode(!1)).textContent = I.textContent), + B.appendChild(M), + (j = !0)); + var M, + F = []; + return ( + Array.isArray(T) ? F.push.apply(F, i(T)) : F.push(T), + h(R, c.unique(F)), + B.appendChild(R), + W && + (((M = L.cloneNode(!1)).textContent = W.textContent), + B.appendChild(M), + (O = !0)), + (D = + j && O + ? l.SplitType.both + : j + ? l.SplitType.head + : O + ? l.SplitType.tail + : l.SplitType.none), + R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, D), + L.parentNode.replaceChild(B, L), + R + ); + })(m, b, C, p) + : (function (x, A, T, k) { + var R = document.createElement(k); + return ( + h(R, T), + R.appendChild(x.$node.cloneNode(!1)), + x.$node.parentNode.replaceChild(R, x.$node), + R.setAttribute("data-" + u.DATASET_IDENTIFIER, A.id), + R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, x.splitType), + R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), + R + ); + })(m, b, C, p); + }), + (o.normalizeSiblingText = function (m, b) { + if ((b === void 0 && (b = !0), m && m.nodeType === 3)) { + var C = b ? m.nextSibling : m.previousSibling; + if (C.nodeType === 3) { + var p = C.nodeValue; + (m.nodeValue = b ? m.nodeValue + p : p + m.nodeValue), + C.parentNode.removeChild(C); + } } - } - return this._data = /* @__PURE__ */ new Map(), C; - }, g; - }(u.default); - o.default = d; - }, function(n, o, r) { - var a = this && this.__values || function(C) { - var p = typeof Symbol == "function" && Symbol.iterator, v = p && C[p], y = 0; - if (v) return v.call(C); - if (C && typeof C.length == "number") return { next: function() { - return C && y >= C.length && (C = void 0), { value: C && C[y++], done: !C }; - } }; - throw new TypeError(p ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, i = this && this.__read || function(C, p) { - var v = typeof Symbol == "function" && C[Symbol.iterator]; - if (!v) return C; - var y, E, x = v.call(C), A = []; - try { - for (; (p === void 0 || p-- > 0) && !(y = x.next()).done; ) A.push(y.value); - } catch (T) { - E = { error: T }; - } finally { - try { - y && !y.done && (v = x.return) && v.call(x); - } finally { - if (E) throw E.error; - } - } - return A; - }, l = this && this.__spread || function() { - for (var C = [], p = 0; p < arguments.length; p++) C = C.concat(i(arguments[p])); - return C; - }, s = this && this.__importDefault || function(C) { - return C && C.__esModule ? C : { default: C }; - }; - Object.defineProperty(o, "__esModule", { value: !0 }); - var u = s(r(3)), c = r(18), d = r(4), h = r(1), g = r(20), m = r(0), b = function() { - function C(p, v) { - this.options = { $root: p.$root, wrapTag: p.wrapTag, exceptSelectors: p.exceptSelectors, className: p.className }, this.hooks = v, g.initDefaultStylesheet(); - } - return C.prototype.highlightRange = function(p) { - var v = this; - if (!p.frozen) throw h.ERROR.HIGHLIGHT_RANGE_FROZEN; - var y = this.options, E = y.$root, x = y.className, A = y.exceptSelectors, T = this.hooks, k = c.getSelectedNodes(E, p.start, p.end, A); - return T.Render.SelectedNodes.isEmpty() || (k = T.Render.SelectedNodes.call(p.id, k) || []), k.map(function(R) { - var L = c.wrapHighlight(R, p, x, v.options.wrapTag); - return T.Render.WrapNode.isEmpty() || (L = T.Render.WrapNode.call(p.id, L)), L; }); - }, C.prototype.highlightSource = function(p) { - var v = this, y = Array.isArray(p) ? p : [p], E = []; - return y.forEach(function(x) { - if (x instanceof u.default) { - var A = x.deSerialize(v.options.$root, v.hooks); - v.highlightRange(A).length > 0 ? E.push(x) : m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: h.ERROR.HIGHLIGHT_SOURCE_NONE_RENDER, detail: x }); - } else m.eventEmitter.emit(m.INTERNAL_ERROR_EVENT, { type: h.ERROR.SOURCE_TYPE_ERROR }); - }), E; - }, C.prototype.removeHighlight = function(p) { - var v, y, E = new RegExp("(" + p + "\\" + m.ID_DIVISION + "|\\" + m.ID_DIVISION + "?" + p + "$)"), x = this.hooks, A = this.options.wrapTag, T = document.querySelectorAll(A + "[data-" + m.DATASET_IDENTIFIER + "]"), k = [], R = [], L = []; - try { - for (var I = a(T), W = I.next(); !W.done; W = I.next()) { - var B = W.value, w = B.dataset[m.CAMEL_DATASET_IDENTIFIER], N = B.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - w !== p || N ? w === p ? R.push(B) : w !== p && E.test(N) && L.push(B) : k.push(B); - } - } catch (S) { - v = { error: S }; - } finally { + }, + function (n, o, r) { + var a = + (this && this.__values) || + function (i) { + var l = typeof Symbol == "function" && Symbol.iterator, + s = l && i[l], + u = 0; + if (s) return s.call(i); + if (i && typeof i.length == "number") + return { + next: function () { + return ( + i && u >= i.length && (i = void 0), + { value: i && i[u++], done: !i } + ); + }, + }; + 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 (i) { + var l, + s, + u = []; try { - W && !W.done && (y = I.return) && y.call(I); + for (var c = a(i), d = c.next(); !d.done; d = c.next()) { + var h = d.value; + u.indexOf(h) === -1 && u.push(h); + } + } catch (g) { + l = { error: g }; } finally { - if (v) throw v.error; + try { + d && !d.done && (s = c.return) && s.call(c); + } finally { + if (l) throw l.error; + } } - } - return k.forEach(function(S) { - var D = S.parentNode, j = document.createDocumentFragment(); - d.forEach(S.childNodes, function(F) { - return j.appendChild(F.cloneNode(!1)); - }); - var O = S.previousSibling, M = S.nextSibling; - D.replaceChild(j, S), c.normalizeSiblingText(O, !0), c.normalizeSiblingText(M, !1), x.Remove.UpdateNodes.call(p, S, "remove"); - }), R.forEach(function(S) { - var D = S.dataset, j = D[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split(m.ID_DIVISION), O = j.shift(), M = document.querySelector(A + "[data-" + m.DATASET_IDENTIFIER + '="' + O + '"]'); - M && (d.removeAllClass(S), d.addClass(S, l(M.classList))), D[m.CAMEL_DATASET_IDENTIFIER] = O, D[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = j.join(m.ID_DIVISION), x.Remove.UpdateNodes.call(p, S, "id-update"); - }), L.forEach(function(S) { - var D = S.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - S.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = D.replace(E, ""), x.Remove.UpdateNodes.call(p, S, "extra-update"); - }), k.length + R.length + L.length !== 0; - }, C.prototype.removeAllHighlight = function() { - var p = this.options, v = p.wrapTag, y = p.$root; - d.getHighlightsByRoot(y, v).forEach(function(E) { - var x = E.parentNode, A = document.createDocumentFragment(); - d.forEach(E.childNodes, function(T) { - return A.appendChild(T.cloneNode(!1)); - }), x.replaceChild(A, E); - }); - }, C; - }(); - o.default = b; - }, function(n, o, r) { - var a = this && this.__read || function(m, b) { - var C = typeof Symbol == "function" && m[Symbol.iterator]; - if (!C) return m; - var p, v, y = C.call(m), E = []; - try { - for (; (b === void 0 || b-- > 0) && !(p = y.next()).done; ) E.push(p.value); - } catch (x) { - v = { error: x }; - } finally { - try { - p && !p.done && (C = y.return) && C.call(y); - } finally { - if (v) throw v.error; - } - } - return E; - }, i = this && this.__spread || function() { - for (var m = [], b = 0; b < arguments.length; b++) m = m.concat(a(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 C = b.replace(/^\./, ""); - return m && s.hasClass(m, C); - } - if (/^#/.test(b)) { - var p = b.replace(/^#/, ""); - return m && m.id === p; - } - var v = b.toUpperCase(); - return m && m.tagName === v; - }; - o.getSelectedNodes = function(m, b, C, p) { - var v = b.$node, y = C.$node, E = b.offset, x = C.offset; - if (v === y && v instanceof Text) return function(w, N, S, D) { - for (var j = w, O = function(F) { - return D == null ? void 0 : D.some(function(z) { - return d(F, z); - }); - }; j; ) { - if (j.nodeType === 1 && O(j)) return []; - j = j.parentNode; - } - w.splitText(N); - var M = w.nextSibling; - return M.splitText(S - N), [{ $node: M, type: l.SelectedNodeType.text, splitType: l.SplitType.both }]; - }(v, E, x, p); - for (var A = [m], T = [], k = function(w) { - return p == null ? void 0 : p.some(function(N) { - return d(w, N); + return u; }); - }, R = !1, L = null; L = A.pop(); ) if (L.nodeType !== 1 || !k(L)) { - for (var I = L.childNodes, W = I.length - 1; W >= 0; W--) A.push(I[W]); - if (L === v) { - if (L.nodeType === 3) { - L.splitText(E); - var B = L.nextSibling; - T.push({ $node: B, type: l.SelectedNodeType.text, splitType: l.SplitType.head }); - } - R = !0; - } else { - if (L === y) { - L.nodeType === 3 && ((B = L).splitText(x), T.push({ $node: B, type: l.SelectedNodeType.text, splitType: l.SplitType.tail })); - break; - } - R && L.nodeType === 3 && T.push({ $node: L, type: l.SelectedNodeType.text, splitType: l.SplitType.none }); - } - } - return T; - }; - var h = function(m, b) { - var C = Array.isArray(b) ? b : [b]; - return (C = C.length === 0 ? [u.getDefaultOptions().style.className] : C).forEach(function(p) { - s.addClass(m, p); - }), m; - }, g = function(m) { - return !m || !m.textContent; - }; - o.wrapHighlight = function(m, b, C, p) { - var v = m.$node.parentNode, y = m.$node.previousSibling, E = m.$node.nextSibling; - return s.isHighlightWrapNode(v) ? !s.isHighlightWrapNode(v) || g(y) && g(E) ? function(x, A, T) { - var k = x.$node.parentNode, R = k; - s.removeAllClass(R), h(R, T); - var L = k.dataset, I = L[u.CAMEL_DATASET_IDENTIFIER]; - return L[u.CAMEL_DATASET_IDENTIFIER] = A.id, L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] = L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] ? I + u.ID_DIVISION + L[u.CAMEL_DATASET_IDENTIFIER_EXTRA] : I, R; - }(m, b, C) : function(x, A, T, k) { - var R = document.createElement(k), L = x.$node.parentNode, I = x.$node.previousSibling, W = x.$node.nextSibling, B = document.createDocumentFragment(), w = L.dataset[u.CAMEL_DATASET_IDENTIFIER], N = L.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], S = N ? w + u.ID_DIVISION + N : w; - R.setAttribute("data-" + u.DATASET_IDENTIFIER, A.id), R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, S), R.appendChild(x.$node.cloneNode(!1)); - var D, j = !1, O = !1; - I && ((M = L.cloneNode(!1)).textContent = I.textContent, B.appendChild(M), j = !0); - var M, F = []; - return Array.isArray(T) ? F.push.apply(F, i(T)) : F.push(T), h(R, c.unique(F)), B.appendChild(R), W && ((M = L.cloneNode(!1)).textContent = W.textContent, B.appendChild(M), O = !0), D = j && O ? l.SplitType.both : j ? l.SplitType.head : O ? l.SplitType.tail : l.SplitType.none, R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, D), L.parentNode.replaceChild(B, L), R; - }(m, b, C, p) : function(x, A, T, k) { - var R = document.createElement(k); - return h(R, T), R.appendChild(x.$node.cloneNode(!1)), x.$node.parentNode.replaceChild(R, x.$node), R.setAttribute("data-" + u.DATASET_IDENTIFIER, A.id), R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, x.splitType), R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, ""), R; - }(m, b, C, p); - }, o.normalizeSiblingText = function(m, b) { - if (b === void 0 && (b = !0), m && m.nodeType === 3) { - var C = b ? m.nextSibling : m.previousSibling; - if (C.nodeType === 3) { - var p = C.nodeValue; - m.nodeValue = b ? m.nodeValue + p : p + m.nodeValue, C.parentNode.removeChild(C); - } - } - }; - }, function(n, o, r) { - var a = this && this.__values || function(i) { - var l = typeof Symbol == "function" && Symbol.iterator, s = l && i[l], u = 0; - if (s) return s.call(i); - if (i && typeof i.length == "number") return { next: function() { - return i && u >= i.length && (i = void 0), { value: i && i[u++], done: !i }; - } }; - 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(i) { - var l, s, u = []; - try { - for (var c = a(i), d = c.next(); !d.done; d = c.next()) { - var h = d.value; - u.indexOf(h) === -1 && u.push(h); - } - } catch (g) { - l = { error: g }; - } finally { - try { - d && !d.done && (s = c.return) && s.call(c); - } finally { - if (l) throw l.error; + }, + function (n, o, r) { + Object.defineProperty(o, "__esModule", { value: !0 }), + (o.initDefaultStylesheet = void 0); + var a = r(0); + o.initDefaultStylesheet = function () { + var i = a.STYLESHEET_ID, + l = document.getElementById(i); + if (!l) { + var s = document.createTextNode(a.getStylesheet()); + ((l = document.createElement("style")).id = i), + l.appendChild(s), + document.head.appendChild(l); } - } - return u; - }; - }, function(n, o, r) { - Object.defineProperty(o, "__esModule", { value: !0 }), o.initDefaultStylesheet = void 0; - var a = r(0); - o.initDefaultStylesheet = function() { - var i = a.STYLESHEET_ID, l = document.getElementById(i); - if (!l) { - var s = document.createTextNode(a.getStylesheet()); - (l = document.createElement("style")).id = i, l.appendChild(s), document.head.appendChild(l); - } - return l; - }; - }]).default; + return l; + }; + }, + ]).default; }); })(Fc); var s5 = Fc.exports; -const Ic = /* @__PURE__ */ ro(s5), ia = "altimate-display-", c5 = `${ia}-highlight`, Vs = `${ia}-highlight-hover`, u5 = `${ia}-active-highlight`, d5 = 1049, Pn = new Ic({ - style: { - className: c5 - } - // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, -}), W1 = new Ic({ - style: { - className: u5 - } - // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, -}), zc = (e, t) => t.filter( - (n) => { - var o; - return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; - } -), Pc = (e, t, n) => { - const o = t, r = n, a = ["BR", "HR"]; - return a.includes(o.$node.nodeName) && o.$node.parentNode && (o.$node = o.$node.parentNode), a.includes(r.$node.nodeName) && r.$node.parentNode && (r.$node = r.$node.parentNode), [o, r]; -}; +const Ic = /* @__PURE__ */ ro(s5), + ia = "altimate-display-", + c5 = `${ia}-highlight`, + Vs = `${ia}-highlight-hover`, + u5 = `${ia}-active-highlight`, + d5 = 1049, + Pn = new Ic({ + style: { + className: c5, + }, + // wrapTag: HIGHLIGHT_WRAPPER_TAGNAME, + }), + W1 = new Ic({ + style: { + className: u5, + }, + // wrapTag: ACTIVE_HIGHLIGHT_WRAPPER_TAGNAME, + }), + zc = (e, t) => + t.filter((n) => { + var o; + return ((o = n.$node.nodeValue) == null ? void 0 : o.trim()) !== ""; + }), + Pc = (e, t, n) => { + const o = t, + r = n, + a = ["BR", "HR"]; + return ( + a.includes(o.$node.nodeName) && + o.$node.parentNode && + (o.$node = o.$node.parentNode), + a.includes(r.$node.nodeName) && + r.$node.parentNode && + (r.$node = r.$node.parentNode), + [o, r] + ); + }; Pn.hooks.Render.SelectedNodes.tap(zc); Pn.hooks.Serialize.Restore.tap(Pc); W1.hooks.Render.SelectedNodes.tap(zc); @@ -11608,106 +13450,155 @@ Pn.on("selection:hover", ({ id: e }) => { Pn.removeClass(Vs, e); }); const f5 = (e) => { - var t, n; - return (t = e.meta) != null && t.highlight ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) : null; -}, g5 = (e) => { - const t = f5(e); - t && (Pn.remove(t.id), W1.remove(t.id)); -}, $1 = () => { - var n, o; - const e = Z1(), 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"); -}, Z1 = () => { - var t; - return (t = window.location.hash.split("#").find((n) => n.startsWith("!"))) == null ? void 0 : t.split("/"); -}, U1 = () => document.querySelector( - '[marked="model.description"]' -), h5 = (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((a) => a.innerText === e.column)) == null ? void 0 : t.parentElement) == null ? void 0 : n.querySelector("td:nth-child(3)") : (o = U1()) == null ? void 0 : o.firstChild : $1(); -}, p5 = (e) => { - if (e.getAttribute("marked") === "model.description") - return "description"; -}, m5 = (e, t, n, o, r) => { - if (e === "description") - return { - start: 0, - end: 0, - x: 0, - y: 0 - }; - const a = t.querySelectorAll(".line-numbers-rows > span"), i = n.split(` -`), l = Math.max(r.y, o.y), s = Array.from(a).findIndex((d) => { - const { height: h, y: g } = d.getBoundingClientRect(); - return l >= g && l <= g + h; - }), u = a[s], c = s - i.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 + var t, n; + return (t = e.meta) != null && t.highlight + ? JSON.parse((n = e.meta) == null ? void 0 : n.highlight) + : null; + }, + g5 = (e) => { + const t = f5(e); + t && (Pn.remove(t.id), W1.remove(t.id)); + }, + $1 = () => { + var n, o; + const e = Z1(), + 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"); + }, + Z1 = () => { + var t; + return (t = window.location.hash + .split("#") + .find((n) => n.startsWith("!"))) == null + ? void 0 + : t.split("/"); + }, + U1 = () => document.querySelector('[marked="model.description"]'), + h5 = (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((a) => a.innerText === e.column)) == null + ? void 0 + : t.parentElement) == null + ? void 0 + : n.querySelector("td:nth-child(3)") + : (o = U1()) == null + ? void 0 + : o.firstChild + : $1(); + }, + p5 = (e) => { + if (e.getAttribute("marked") === "model.description") return "description"; + }, + m5 = (e, t, n, o, r) => { + if (e === "description") + return { + start: 0, + end: 0, + x: 0, + y: 0, + }; + const a = t.querySelectorAll(".line-numbers-rows > span"), + i = n.split(` +`), + l = Math.max(r.y, o.y), + s = Array.from(a).findIndex((d) => { + const { height: h, y: g } = d.getBoundingClientRect(); + return l >= g && l <= g + h; + }), + u = a[s], + c = s - i.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, + } + ); + }, + zy = () => { + var e; + return [(e = $1()) == null ? void 0 : e.parentElement, U1()]; }; -}, zy = () => { - var e; - return [ - (e = $1()) == null ? void 0 : e.parentElement, - U1() - ]; -}; -var it = /* @__PURE__ */ ((e) => (e[e.LOADING = 0] = "LOADING", e[e.UNINITIALIZED = 1] = "UNINITIALIZED", e[e.INITIALIZED = 2] = "INITIALIZED", e))(it || {}); +var it = /* @__PURE__ */ ((e) => ( + (e[(e.LOADING = 0)] = "LOADING"), + (e[(e.UNINITIALIZED = 1)] = "UNINITIALIZED"), + (e[(e.INITIALIZED = 2)] = "INITIALIZED"), + e +))(it || {}); function b5(e) { - if (typeof e != "object" || e === null) - return !1; + if (typeof e != "object" || e === null) return !1; let t = e; - for (; Object.getPrototypeOf(t) !== null; ) - t = Object.getPrototypeOf(t); + for (; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null; } function C5(e) { return b5(e) && "type" in e && typeof e.type == "string"; } -var Bc = Symbol.for("immer-nothing"), Ws = Symbol.for("immer-draftable"), tt = Symbol.for("immer-state"), y5 = 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 -] : []; +var Bc = Symbol.for("immer-nothing"), + Ws = Symbol.for("immer-draftable"), + tt = Symbol.for("immer-state"), + y5 = + 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 Xe(e, ...t) { if (process.env.NODE_ENV !== "production") { - const n = y5[e], o = typeof n == "function" ? n.apply(null, t) : n; + const n = y5[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` + `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`, ); } var Yn = Object.getPrototypeOf; @@ -11716,22 +13607,31 @@ function _n(e) { } function Wt(e) { var t; - return e ? Vc(e) || Array.isArray(e) || !!e[Ws] || !!((t = e.constructor) != null && t[Ws]) || sa(e) || ca(e) : !1; + return e + ? Vc(e) || + Array.isArray(e) || + !!e[Ws] || + !!((t = e.constructor) != null && t[Ws]) || + sa(e) || + ca(e) + : !1; } var v5 = Object.prototype.constructor.toString(); function Vc(e) { - if (!e || typeof e != "object") - return !1; + if (!e || typeof e != "object") return !1; const t = Yn(e); - if (t === null) - return !0; + 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) === v5; + return n === Object + ? !0 + : typeof n == "function" && Function.toString.call(n) === v5; } function jr(e, t) { - la(e) === 0 ? Reflect.ownKeys(e).forEach((n) => { - t(n, e[n], e); - }) : e.forEach((n, o) => t(o, n, e)); + la(e) === 0 + ? Reflect.ownKeys(e).forEach((n) => { + t(n, e[n], e); + }) + : e.forEach((n, o) => t(o, n, e)); } function la(e) { const t = e[tt]; @@ -11742,7 +13642,7 @@ function n1(e, t) { } function Wc(e, t, n) { const o = la(e); - o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : e[t] = n; + o === 2 ? e.set(t, n) : o === 3 ? e.add(n) : (e[t] = n); } function x5(e, t) { return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t; @@ -11757,38 +13657,45 @@ function hn(e) { return e.copy_ || e.base_; } function o1(e, t) { - if (sa(e)) - return new Map(e); - if (ca(e)) - return new Set(e); - if (Array.isArray(e)) - return Array.prototype.slice.call(e); + if (sa(e)) return new Map(e); + if (ca(e)) return new Set(e); + if (Array.isArray(e)) return Array.prototype.slice.call(e); const n = Vc(e); - if (t === !0 || t === "class_only" && !n) { + if (t === !0 || (t === "class_only" && !n)) { const o = Object.getOwnPropertyDescriptors(e); delete o[tt]; let r = Reflect.ownKeys(o); for (let a = 0; a < r.length; a++) { - const i = r[a], l = o[i]; - l.writable === !1 && (l.writable = !0, l.configurable = !0), (l.get || l.set) && (o[i] = { - configurable: !0, - writable: !0, - // could live with !!desc.set as well here... - enumerable: l.enumerable, - value: e[i] - }); + const i = r[a], + l = o[i]; + l.writable === !1 && ((l.writable = !0), (l.configurable = !0)), + (l.get || l.set) && + (o[i] = { + configurable: !0, + writable: !0, + // could live with !!desc.set as well here... + enumerable: l.enumerable, + value: e[i], + }); } return Object.create(Yn(e), o); } else { const o = Yn(e); - if (o !== null && n) - return { ...e }; + if (o !== null && n) return { ...e }; const r = Object.create(o); return Object.assign(r, e); } } function q1(e, t = !1) { - return ua(e) || _n(e) || !Wt(e) || (la(e) > 1 && (e.set = e.add = e.clear = e.delete = w5), Object.freeze(e), t && Object.entries(e).forEach(([n, o]) => q1(o, !0))), e; + return ( + ua(e) || + _n(e) || + !Wt(e) || + (la(e) > 1 && (e.set = e.add = e.clear = e.delete = w5), + Object.freeze(e), + t && Object.entries(e).forEach(([n, o]) => q1(o, !0))), + e + ); } function w5() { Xe(2); @@ -11813,177 +13720,215 @@ function _5(e, 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 + unfinalizedDrafts_: 0, }; } function $s(e, t) { - t && (Sn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t); + t && + (Sn("Patches"), + (e.patches_ = []), + (e.inversePatches_ = []), + (e.patchListener_ = t)); } function r1(e) { - a1(e), e.drafts_.forEach(S5), e.drafts_ = null; + a1(e), e.drafts_.forEach(S5), (e.drafts_ = null); } function a1(e) { e === So && (So = e.parent_); } function Zs(e) { - return So = _5(So, e); + return (So = _5(So, e)); } function S5(e) { const t = e[tt]; - t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0; + t.type_ === 0 || t.type_ === 1 ? t.revoke_() : (t.revoked_ = !0); } function Us(e, t) { t.unfinalizedDrafts_ = t.drafts_.length; const n = t.drafts_[0]; - return e !== void 0 && e !== n ? (n[tt].modified_ && (r1(t), Xe(4)), Wt(e) && (e = Rr(t, e), t.parent_ || Hr(t, e)), t.patches_ && Sn("Patches").generateReplacementPatches_( - n[tt].base_, - e, - t.patches_, - t.inversePatches_ - )) : e = Rr(t, n, []), r1(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== Bc ? e : void 0; + return ( + e !== void 0 && e !== n + ? (n[tt].modified_ && (r1(t), Xe(4)), + Wt(e) && ((e = Rr(t, e)), t.parent_ || Hr(t, e)), + t.patches_ && + Sn("Patches").generateReplacementPatches_( + n[tt].base_, + e, + t.patches_, + t.inversePatches_, + )) + : (e = Rr(t, n, [])), + r1(t), + t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), + e !== Bc ? e : void 0 + ); } function Rr(e, t, n) { - if (ua(t)) - return t; + if (ua(t)) return t; const o = t[tt]; - if (!o) - return jr( - t, - (r, a) => qs(e, o, t, r, a, n) - ), t; - if (o.scope_ !== e) - return t; - if (!o.modified_) - return Hr(e, o.base_, !0), o.base_; + if (!o) return jr(t, (r, a) => qs(e, o, t, r, a, n)), t; + if (o.scope_ !== e) return t; + if (!o.modified_) return Hr(e, o.base_, !0), o.base_; if (!o.finalized_) { - o.finalized_ = !0, o.scope_.unfinalizedDrafts_--; + (o.finalized_ = !0), o.scope_.unfinalizedDrafts_--; const r = o.copy_; - let a = r, i = !1; - o.type_ === 3 && (a = new Set(r), r.clear(), i = !0), jr( - a, - (l, s) => qs(e, o, r, l, s, n, i) - ), Hr(e, r, !1), n && e.patches_ && Sn("Patches").generatePatches_( - o, - n, - e.patches_, - e.inversePatches_ - ); + let a = r, + i = !1; + o.type_ === 3 && ((a = new Set(r)), r.clear(), (i = !0)), + jr(a, (l, s) => qs(e, o, r, l, s, n, i)), + Hr(e, r, !1), + n && + e.patches_ && + Sn("Patches").generatePatches_(o, n, e.patches_, e.inversePatches_); } return o.copy_; } function qs(e, t, n, o, r, a, i) { - if (process.env.NODE_ENV !== "production" && r === n && Xe(5), _n(r)) { - const l = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys. - !n1(t.assigned_, o) ? a.concat(o) : void 0, s = Rr(e, r, l); - if (Wc(n, o, s), _n(s)) - e.canAutoFreeze_ = !1; - else - return; + if ((process.env.NODE_ENV !== "production" && r === n && Xe(5), _n(r))) { + const l = + a && + t && + t.type_ !== 3 && // Set objects are atomic since they have no keys. + !n1(t.assigned_, o) + ? a.concat(o) + : void 0, + s = Rr(e, r, l); + if ((Wc(n, o, s), _n(s))) e.canAutoFreeze_ = !1; + else return; } else i && n.add(r); if (Wt(r) && !ua(r)) { - if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) - return; - Rr(e, r), (!t || !t.scope_.parent_) && typeof o != "symbol" && Object.prototype.propertyIsEnumerable.call(n, o) && Hr(e, r); + if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1) return; + Rr(e, r), + (!t || !t.scope_.parent_) && + typeof o != "symbol" && + Object.prototype.propertyIsEnumerable.call(n, o) && + Hr(e, r); } } function Hr(e, t, n = !1) { !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && q1(t, n); } function k5(e, t) { - const n = Array.isArray(e), o = { - type_: n ? 1 : 0, - // Track which produce call this is associated with. - scope_: t ? t.scope_ : $c(), - // 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, a = Y1; - n && (r = [o], a = ko); + const n = Array.isArray(e), + o = { + type_: n ? 1 : 0, + // Track which produce call this is associated with. + scope_: t ? t.scope_ : $c(), + // 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, + a = Y1; + n && ((r = [o]), (a = ko)); const { revoke: i, proxy: l } = Proxy.revocable(r, a); - return o.draft_ = l, o.revoke_ = i, l; + return (o.draft_ = l), (o.revoke_ = i), l; } var Y1 = { - get(e, t) { - if (t === tt) - return e; - const n = hn(e); - if (!n1(n, t)) - return A5(e, n, t); - const o = n[t]; - return e.finalized_ || !Wt(o) ? o : o === Ai(e.base_, t) ? (Mi(e), e.copy_[t] = l1(o, e)) : o; - }, - has(e, t) { - return t in hn(e); - }, - ownKeys(e) { - return Reflect.ownKeys(hn(e)); - }, - set(e, t, n) { - const o = Zc(hn(e), t); - if (o != null && o.set) - return o.set.call(e.draft_, n), !0; - if (!e.modified_) { - const r = Ai(hn(e), t), a = r == null ? void 0 : r[tt]; - if (a && a.base_ === n) - return e.copy_[t] = n, e.assigned_[t] = !1, !0; - if (x5(n, r) && (n !== void 0 || n1(e.base_, t))) - return !0; - Mi(e), i1(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 Ai(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Mi(e), i1(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 = hn(e), o = Reflect.getOwnPropertyDescriptor(n, t); - return o && { - writable: !0, - configurable: e.type_ !== 1 || t !== "length", - enumerable: o.enumerable, - value: n[t] - }; - }, - defineProperty() { - Xe(11); - }, - getPrototypeOf(e) { - return Yn(e.base_); + get(e, t) { + if (t === tt) return e; + const n = hn(e); + if (!n1(n, t)) return A5(e, n, t); + const o = n[t]; + return e.finalized_ || !Wt(o) + ? o + : o === Ai(e.base_, t) + ? (Mi(e), (e.copy_[t] = l1(o, e))) + : o; + }, + has(e, t) { + return t in hn(e); + }, + ownKeys(e) { + return Reflect.ownKeys(hn(e)); + }, + set(e, t, n) { + const o = Zc(hn(e), t); + if (o != null && o.set) return o.set.call(e.draft_, n), !0; + if (!e.modified_) { + const r = Ai(hn(e), t), + a = r == null ? void 0 : r[tt]; + if (a && a.base_ === n) + return (e.copy_[t] = n), (e.assigned_[t] = !1), !0; + if (x5(n, r) && (n !== void 0 || n1(e.base_, t))) return !0; + Mi(e), i1(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 ( + Ai(e.base_, t) !== void 0 || t in e.base_ + ? ((e.assigned_[t] = !1), Mi(e), i1(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 = hn(e), + o = Reflect.getOwnPropertyDescriptor(n, t); + return ( + o && { + writable: !0, + configurable: e.type_ !== 1 || t !== "length", + enumerable: o.enumerable, + value: n[t], + } + ); + }, + defineProperty() { + Xe(11); + }, + getPrototypeOf(e) { + return Yn(e.base_); + }, + setPrototypeOf() { + Xe(12); + }, }, - setPrototypeOf() { - Xe(12); - } -}, ko = {}; + ko = {}; jr(Y1, (e, t) => { - ko[e] = function() { - return arguments[0] = arguments[0][0], t.apply(this, arguments); + ko[e] = function () { + return (arguments[0] = arguments[0][0]), t.apply(this, arguments); }; }); -ko.deleteProperty = function(e, t) { - return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Xe(13), ko.set.call(this, e, t, void 0); +ko.deleteProperty = function (e, t) { + return ( + process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Xe(13), + ko.set.call(this, e, t, void 0) + ); }; -ko.set = function(e, t, n) { - return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Xe(14), Y1.set.call(this, e[0], t, n, e[0]); +ko.set = function (e, t, n) { + return ( + process.env.NODE_ENV !== "production" && + t !== "length" && + isNaN(parseInt(t)) && + Xe(14), + Y1.set.call(this, e[0], t, n, e[0]) + ); }; function Ai(e, t) { const n = e[tt]; @@ -11992,75 +13937,94 @@ function Ai(e, t) { function A5(e, t, n) { var r; const o = Zc(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; + 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 Zc(e, t) { - if (!(t in e)) - return; + if (!(t in e)) return; let n = Yn(e); for (; n; ) { const o = Object.getOwnPropertyDescriptor(n, t); - if (o) - return o; + if (o) return o; n = Yn(n); } } function i1(e) { - e.modified_ || (e.modified_ = !0, e.parent_ && i1(e.parent_)); + e.modified_ || ((e.modified_ = !0), e.parent_ && i1(e.parent_)); } function Mi(e) { - e.copy_ || (e.copy_ = o1( - e.base_, - e.scope_.immer_.useStrictShallowCopy_ - )); + e.copy_ || (e.copy_ = o1(e.base_, e.scope_.immer_.useStrictShallowCopy_)); } var M5 = class { constructor(e) { - this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, n, o) => { - if (typeof t == "function" && typeof n != "function") { - const a = n; - n = t; - const i = this; - return function(s = a, ...u) { - return i.produce(s, (c) => n.call(this, c, ...u)); - }; - } - typeof n != "function" && Xe(6), o !== void 0 && typeof o != "function" && Xe(7); - let r; - if (Wt(t)) { - const a = Zs(this), i = l1(t, void 0); - let l = !0; - try { - r = n(i), l = !1; - } finally { - l ? r1(a) : a1(a); - } - return $s(a, o), Us(r, a); - } else if (!t || typeof t != "object") { - if (r = n(t), r === void 0 && (r = t), r === Bc && (r = void 0), this.autoFreeze_ && q1(r, !0), o) { - const a = [], i = []; - Sn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); + (this.autoFreeze_ = !0), + (this.useStrictShallowCopy_ = !1), + (this.produce = (t, n, o) => { + if (typeof t == "function" && typeof n != "function") { + const a = n; + n = t; + const i = this; + return function (s = a, ...u) { + return i.produce(s, (c) => n.call(this, c, ...u)); + }; } - return r; - } else - Xe(1, t); - }, this.produceWithPatches = (t, n) => { - if (typeof t == "function") - return (i, ...l) => this.produceWithPatches(i, (s) => t(s, ...l)); - let o, r; - return [this.produce(t, n, (i, l) => { - o = i, 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); + typeof n != "function" && Xe(6), + o !== void 0 && typeof o != "function" && Xe(7); + let r; + if (Wt(t)) { + const a = Zs(this), + i = l1(t, void 0); + let l = !0; + try { + (r = n(i)), (l = !1); + } finally { + l ? r1(a) : a1(a); + } + return $s(a, o), Us(r, a); + } else if (!t || typeof t != "object") { + if ( + ((r = n(t)), + r === void 0 && (r = t), + r === Bc && (r = void 0), + this.autoFreeze_ && q1(r, !0), + o) + ) { + const a = [], + i = []; + Sn("Patches").generateReplacementPatches_(t, r, a, i), o(a, i); + } + return r; + } else Xe(1, t); + }), + (this.produceWithPatches = (t, n) => { + if (typeof t == "function") + return (i, ...l) => this.produceWithPatches(i, (s) => t(s, ...l)); + let o, r; + return [ + this.produce(t, n, (i, l) => { + (o = i), (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) { Wt(e) || Xe(8), _n(e) && (e = T5(e)); - const t = Zs(this), n = l1(e, void 0); - return n[tt].isManual_ = !0, a1(t), n; + const t = Zs(this), + n = l1(e, void 0); + return (n[tt].isManual_ = !0), a1(t), n; } finishDraft(e, t) { const n = e && e[tt]; @@ -12095,38 +14059,39 @@ var M5 = class { } n > -1 && (t = t.slice(n + 1)); const o = Sn("Patches").applyPatches_; - return _n(e) ? o(e, t) : this.produce( - e, - (r) => o(r, t) - ); + return _n(e) ? o(e, t) : this.produce(e, (r) => o(r, t)); } }; function l1(e, t) { - const n = sa(e) ? Sn("MapSet").proxyMap_(e, t) : ca(e) ? Sn("MapSet").proxySet_(e, t) : k5(e, t); + const n = sa(e) + ? Sn("MapSet").proxyMap_(e, t) + : ca(e) + ? Sn("MapSet").proxySet_(e, t) + : k5(e, t); return (t ? t.scope_ : $c()).drafts_.push(n), n; } function T5(e) { return _n(e) || Xe(10, e), Uc(e); } function Uc(e) { - if (!Wt(e) || ua(e)) - return e; + if (!Wt(e) || ua(e)) return e; const t = e[tt]; let n; if (t) { - if (!t.modified_) - return t.base_; - t.finalized_ = !0, n = o1(e, t.scope_.immer_.useStrictShallowCopy_); - } else - n = o1(e, !0); - return jr(n, (o, r) => { - Wc(n, o, Uc(r)); - }), t && (t.finalized_ = !1), n; -} -var nt = new M5(), qc = nt.produce; -nt.produceWithPatches.bind( - nt -); + if (!t.modified_) return t.base_; + (t.finalized_ = !0), (n = o1(e, t.scope_.immer_.useStrictShallowCopy_)); + } else n = o1(e, !0); + return ( + jr(n, (o, r) => { + Wc(n, o, Uc(r)); + }), + t && (t.finalized_ = !1), + n + ); +} +var nt = new M5(), + qc = nt.produce; +nt.produceWithPatches.bind(nt); nt.setAutoFreeze.bind(nt); nt.setUseStrictShallowCopy.bind(nt); nt.applyPatches.bind(nt); @@ -12137,69 +14102,110 @@ function Ys(e, t) { if (t) { let r = t(...o); if (!r) - throw new Error(process.env.NODE_ENV === "production" ? Fe(0) : "prepareAction did not return an object"); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(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 - } + ...("meta" in r && { + meta: r.meta, + }), + ...("error" in r && { + error: r.error, + }), }; } return { type: e, - payload: o[0] + payload: o[0], }; } - return n.toString = () => `${e}`, n.type = e, n.match = (o) => C5(o) && o.type === e, n; + return ( + (n.toString = () => `${e}`), + (n.type = e), + (n.match = (o) => C5(o) && o.type === e), + n + ); } function Gs(e) { - return Wt(e) ? qc(e, () => { - }) : e; + return Wt(e) ? qc(e, () => {}) : e; } function Ks(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 n.update && ((r = n.update(r, t, e)), e.set(t, r)), r; } - if (!n.insert) throw new Error(process.env.NODE_ENV === "production" ? Fe(10) : "No insert provided for key not already in map"); + if (!n.insert) + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(10) + : "No insert provided for key not already in map", + ); const o = n.insert(t, e); return e.set(t, o), o; } function Yc(e) { - const t = {}, n = []; + const t = {}, + n = []; let o; const r = { addCase(a, i) { if (process.env.NODE_ENV !== "production") { if (n.length > 0) - throw new Error(process.env.NODE_ENV === "production" ? Fe(26) : "`builder.addCase` should only be called before calling `builder.addMatcher`"); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(26) + : "`builder.addCase` should only be called before calling `builder.addMatcher`", + ); if (o) - throw new Error(process.env.NODE_ENV === "production" ? Fe(27) : "`builder.addCase` should only be called before calling `builder.addDefaultCase`"); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(27) + : "`builder.addCase` should only be called before calling `builder.addDefaultCase`", + ); } const l = typeof a == "string" ? a : a.type; if (!l) - throw new Error(process.env.NODE_ENV === "production" ? Fe(28) : "`builder.addCase` cannot be called with an empty action type"); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(28) + : "`builder.addCase` cannot be called with an empty action type", + ); if (l in t) - throw new Error(process.env.NODE_ENV === "production" ? Fe(29) : `\`builder.addCase\` cannot be called with two reducers for the same action type '${l}'`); - return t[l] = i, r; + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(29) + : `\`builder.addCase\` cannot be called with two reducers for the same action type '${l}'`, + ); + return (t[l] = i), r; }, addMatcher(a, i) { if (process.env.NODE_ENV !== "production" && o) - throw new Error(process.env.NODE_ENV === "production" ? Fe(30) : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); - return n.push({ - matcher: a, - reducer: i - }), r; + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(30) + : "`builder.addMatcher` should only be called before calling `builder.addDefaultCase`", + ); + return ( + n.push({ + matcher: a, + reducer: i, + }), + r + ); }, addDefaultCase(a) { if (process.env.NODE_ENV !== "production" && o) - throw new Error(process.env.NODE_ENV === "production" ? Fe(31) : "`builder.addDefaultCase` can only be called once"); - return o = a, r; - } + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(31) + : "`builder.addDefaultCase` can only be called once", + ); + return (o = a), r; + }, }; return e(r), [t, n, o]; } @@ -12208,113 +14214,151 @@ function N5(e) { } function D5(e, t) { if (process.env.NODE_ENV !== "production" && typeof t == "object") - throw new Error(process.env.NODE_ENV === "production" ? Fe(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] = Yc(t), a; - if (N5(e)) - a = () => Gs(e()); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(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] = Yc(t), + a; + if (N5(e)) a = () => Gs(e()); else { const l = Gs(e); a = () => l; } function i(l = a(), 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 (_n(c)) { - const g = d(c, s); - return g === void 0 ? c : g; - } else { - if (Wt(c)) - return qc(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" ? Fe(9) : "A case reducer on a non-draftable value must not return undefined"); + 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 (_n(c)) { + const g = d(c, s); + return g === void 0 ? c : g; + } else { + if (Wt(c)) return qc(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" + ? Fe(9) + : "A case reducer on a non-draftable value must not return undefined", + ); + } + return h; } - return h; } - } - return c; - }, l); + return c; + }, l) + ); } - return i.getInitialState = a, i; + return (i.getInitialState = a), i; } var O5 = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk"); function L5(e, t) { return `${e}/${t}`; } -function j5({ - creators: e -} = {}) { +function j5({ creators: e } = {}) { var n; const t = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[O5]; - return function(r) { - const { - name: a, - reducerPath: i = a - } = r; + return function (r) { + const { name: a, reducerPath: i = a } = r; if (!a) - throw new Error(process.env.NODE_ENV === "production" ? Fe(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(H5()) : r.reducers) || {}, s = Object.keys(l), u = { - sliceCaseReducersByName: {}, - sliceCaseReducersByType: {}, - actionCreators: {}, - sliceMatchers: [] - }, c = { - addCase(y, E) { - const x = typeof y == "string" ? y : y.type; - if (!x) - throw new Error(process.env.NODE_ENV === "production" ? Fe(12) : "`context.addCase` cannot be called with an empty action type"); - if (x in u.sliceCaseReducersByType) - throw new Error(process.env.NODE_ENV === "production" ? Fe(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + x); - return u.sliceCaseReducersByType[x] = E, c; - }, - addMatcher(y, E) { - return u.sliceMatchers.push({ - matcher: y, - reducer: E - }), c; - }, - exposeAction(y, E) { - return u.actionCreators[y] = E, c; - }, - exposeCaseReducer(y, E) { - return u.sliceCaseReducersByName[y] = E, c; - } - }; - s.forEach((y) => { - const E = l[y], x = { - reducerName: y, - type: L5(a, y), - createNotation: typeof r.reducers == "function" + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(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(H5()) : r.reducers) || {}, + s = Object.keys(l), + u = { + sliceCaseReducersByName: {}, + sliceCaseReducersByType: {}, + actionCreators: {}, + sliceMatchers: [], + }, + c = { + addCase(y, E) { + const x = typeof y == "string" ? y : y.type; + if (!x) + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(12) + : "`context.addCase` cannot be called with an empty action type", + ); + if (x in u.sliceCaseReducersByType) + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(13) + : "`context.addCase` cannot be called with two reducers for the same action type: " + + x, + ); + return (u.sliceCaseReducersByType[x] = E), c; + }, + addMatcher(y, E) { + return ( + u.sliceMatchers.push({ + matcher: y, + reducer: E, + }), + c + ); + }, + exposeAction(y, E) { + return (u.actionCreators[y] = E), c; + }, + exposeCaseReducer(y, E) { + return (u.sliceCaseReducersByName[y] = E), c; + }, }; + s.forEach((y) => { + const E = l[y], + x = { + reducerName: y, + type: L5(a, y), + createNotation: typeof r.reducers == "function", + }; I5(E) ? P5(x, E, c, t) : F5(x, E, c); }); function d() { - if (process.env.NODE_ENV !== "production" && typeof r.extraReducers == "object") - throw new Error(process.env.NODE_ENV === "production" ? Fe(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 [y = {}, E = [], x = void 0] = typeof r.extraReducers == "function" ? Yc(r.extraReducers) : [r.extraReducers], A = { - ...y, - ...u.sliceCaseReducersByType - }; + if ( + process.env.NODE_ENV !== "production" && + typeof r.extraReducers == "object" + ) + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(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 [y = {}, E = [], x = void 0] = + typeof r.extraReducers == "function" + ? Yc(r.extraReducers) + : [r.extraReducers], + A = { + ...y, + ...u.sliceCaseReducersByType, + }; return D5(r.initialState, (T) => { - for (let k in A) - T.addCase(k, A[k]); - for (let k of u.sliceMatchers) - T.addMatcher(k.matcher, k.reducer); - for (let k of E) - T.addMatcher(k.matcher, k.reducer); + for (let k in A) T.addCase(k, A[k]); + for (let k of u.sliceMatchers) T.addMatcher(k.matcher, k.reducer); + for (let k of E) T.addMatcher(k.matcher, k.reducer); x && T.addDefaultCase(x); }); } - const h = (y) => y, g = /* @__PURE__ */ new Map(); + const h = (y) => y, + g = /* @__PURE__ */ new Map(); let m; function b(y, E) { return m || (m = d()), m(y, E); @@ -12326,16 +14370,19 @@ function j5({ function x(T) { let k = T[y]; if (typeof k > "u") { - if (E) - k = C(); + if (E) k = C(); else if (process.env.NODE_ENV !== "production") - throw new Error(process.env.NODE_ENV === "production" ? Fe(15) : "selectSlice returned undefined for an uninjected slice reducer"); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(15) + : "selectSlice returned undefined for an uninjected slice reducer", + ); } return k; } function A(T = h) { const k = Ks(g, E, { - insert: () => /* @__PURE__ */ new WeakMap() + insert: () => /* @__PURE__ */ new WeakMap(), }); return Ks(k, T, { insert: () => { @@ -12343,7 +14390,7 @@ function j5({ for (const [L, I] of Object.entries(r.selectors ?? {})) R[L] = R5(I, T, C, E); return R; - } + }, }); } return { @@ -12352,7 +14399,7 @@ function j5({ get selectors() { return A(x); }, - selectSlice: x + selectSlice: x, }; } const v = { @@ -12362,19 +14409,22 @@ function j5({ caseReducers: u.sliceCaseReducersByName, getInitialState: C, ...p(i), - injectInto(y, { - reducerPath: E, - ...x - } = {}) { + injectInto(y, { reducerPath: E, ...x } = {}) { const A = E ?? i; - return y.inject({ - reducerPath: A, - reducer: b - }, x), { - ...v, - ...p(A, !0) - }; - } + return ( + y.inject( + { + reducerPath: A, + reducer: b, + }, + x, + ), + { + ...v, + ...p(A, !0), + } + ); + }, }; return v; }; @@ -12383,14 +14433,17 @@ function R5(e, t, n, o) { function r(a, ...i) { let l = t(a); if (typeof l > "u") { - if (o) - l = n(); + if (o) l = n(); else if (process.env.NODE_ENV !== "production") - throw new Error(process.env.NODE_ENV === "production" ? Fe(16) : "selectState returned undefined for an uninjected slice reducer"); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(16) + : "selectState returned undefined for an uninjected slice reducer", + ); } return e(l, ...i); } - return r.unwrapped = e, r; + return (r.unwrapped = e), r; } var G1 = /* @__PURE__ */ j5(); function H5() { @@ -12398,45 +14451,52 @@ function H5() { return { _reducerDefinitionType: "asyncThunk", payloadCreator: t, - ...n + ...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 - }; + 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 F5({ - type: e, - reducerName: t, - createNotation: n -}, o, r) { +function F5({ type: e, reducerName: t, createNotation: n }, o, r) { let a, i; if ("reducer" in o) { if (n && !z5(o)) - throw new Error(process.env.NODE_ENV === "production" ? Fe(17) : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation."); - a = o.reducer, i = o.prepare; - } else - a = o; - r.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, i ? Ys(e, i) : Ys(e)); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(17) + : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.", + ); + (a = o.reducer), (i = o.prepare); + } else a = o; + r.addCase(e, a) + .exposeCaseReducer(t, a) + .exposeAction(t, i ? Ys(e, i) : Ys(e)); } function I5(e) { return e._reducerDefinitionType === "asyncThunk"; @@ -12444,199 +14504,231 @@ function I5(e) { function z5(e) { return e._reducerDefinitionType === "reducerWithPrepare"; } -function P5({ - type: e, - reducerName: t -}, n, o, r) { +function P5({ type: e, reducerName: t }, n, o, r) { if (!r) - throw new Error(process.env.NODE_ENV === "production" ? Fe(18) : "Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`."); + throw new Error( + process.env.NODE_ENV === "production" + ? Fe(18) + : "Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.", + ); const { - payloadCreator: a, - fulfilled: i, - pending: l, - rejected: s, - settled: u, - options: c - } = n, d = r(e, a, c); - o.exposeAction(t, d), i && o.addCase(d.fulfilled, i), l && o.addCase(d.pending, l), s && o.addCase(d.rejected, s), u && o.addMatcher(d.settled, u), o.exposeCaseReducer(t, { - fulfilled: i || ir, - pending: l || ir, - rejected: s || ir, - settled: u || ir - }); -} -function ir() { + payloadCreator: a, + fulfilled: i, + pending: l, + rejected: s, + settled: u, + options: c, + } = n, + d = r(e, a, c); + o.exposeAction(t, d), + i && o.addCase(d.fulfilled, i), + l && o.addCase(d.pending, l), + s && o.addCase(d.rejected, s), + u && o.addMatcher(d.settled, u), + o.exposeCaseReducer(t, { + fulfilled: i || ir, + pending: l || ir, + rejected: s || ir, + settled: u || ir, + }); } +function ir() {} function Fe(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 B5 = { - users: {}, - isRightPanelOpen: !1, - selectedConversationId: void 0, - conversations: {}, - conversationsLoadingState: it.UNINITIALIZED, - newConversation: void 0, - shareId: void 0, - docsAppRendered: !1, - currentPage: l5(), - codeblockLoaded: !1, - source: V1.DBT_DOCS, - manifest: {} -}, Fr = G1({ - name: "appState", - initialState: B5, - 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 = it.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 + users: {}, + isRightPanelOpen: !1, + selectedConversationId: void 0, + conversations: {}, + conversationsLoadingState: it.UNINITIALIZED, + newConversation: void 0, + shareId: void 0, + docsAppRendered: !1, + currentPage: l5(), + codeblockLoaded: !1, + source: V1.DBT_DOCS, + manifest: {}, + }, + Fr = G1({ + name: "appState", + initialState: B5, + 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 = it.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, a; + const n = { ...t.payload }; + if (!n.meta) { + console.log("Invalid meta"); + return; } - }; - }, - resolveConversationGroup: (e, { - payload: { conversationGroupId: t } - }) => { - e.conversations[t] && delete e.conversations[t]; - }, - updateNewConversation: (e, t) => { - var r, a; - const n = { ...t.payload }; - if (!n.meta) { - console.log("Invalid meta"); - return; - } - const o = Z1(); - 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 i = ((r = e.manifest.nodes) == null ? void 0 : r[n.meta.uniqueId]) || ((a = e.manifest.macros) == null ? void 0 : a[n.meta.uniqueId]); - n.meta.filePath = (i == null ? void 0 : i.original_file_path) || ""; - } - e.newConversation = n; - }, - resetNewConversation: (e) => { - e.newConversation = void 0; + const o = Z1(); + 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 i = + ((r = e.manifest.nodes) == null ? void 0 : r[n.meta.uniqueId]) || + ((a = e.manifest.macros) == null ? void 0 : a[n.meta.uniqueId]); + n.meta.filePath = (i == null ? void 0 : i.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)); + }, }, - 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: Py, - setShareId: By, - updateSelectedConversationId: K1, - updateRightPanelState: X1, - setUsers: V5, - setConversations: W5, - resetNewConversation: J1, - updateNewConversation: Q1, - upsertConversation: Vy, - setDocsAppRendered: Wy, - updateCurrentPage: $y, - updateCodeblockLoaded: Zy, - resolveConversationGroup: $5, - setConversationsLoadingState: Xs, - refetchConversations: Gc, - setConversationSource: Uy, - setManifest: Z5 -} = Fr.actions, da = ut({ - state: Fr.getInitialState(), - dispatch: () => null, - getValue: () => null -}), U5 = ({ - children: e, - shareId: t, - userId: n, - conversationGroupId: o, - source: r -}) => { - const [a, i] = B1(Fr.reducer, { - ...Fr.getInitialState(), + }), + { + setCurrentUserId: Py, + setShareId: By, + updateSelectedConversationId: K1, + updateRightPanelState: X1, + setUsers: V5, + setConversations: W5, + resetNewConversation: J1, + updateNewConversation: Q1, + upsertConversation: Vy, + setDocsAppRendered: Wy, + updateCurrentPage: $y, + updateCodeblockLoaded: Zy, + resolveConversationGroup: $5, + setConversationsLoadingState: Xs, + refetchConversations: Gc, + setConversationSource: Uy, + setManifest: Z5, + } = Fr.actions, + da = ut({ + state: Fr.getInitialState(), + dispatch: () => null, + getValue: () => null, + }), + U5 = ({ + children: e, shareId: t, - currentUserId: n, - selectedConversationId: o, - isRightPanelOpen: !!o, - source: r - }), l = pe( - (u) => u(a), - [a] - ), s = _e( - () => ({ - state: a, - dispatch: i, - getValue: l - }), - [a, i, l] - ); - return /* @__PURE__ */ f.jsx(da.Provider, { value: s, children: e }); -}, q5 = () => Re(da), we = (e) => { - const { getValue: t } = Re(da); - return t(e); -}, dt = () => { - const { dispatch: e } = Re(da); - return e; -}, Y5 = (e) => e; + userId: n, + conversationGroupId: o, + source: r, + }) => { + const [a, i] = B1(Fr.reducer, { + ...Fr.getInitialState(), + shareId: t, + currentUserId: n, + selectedConversationId: o, + isRightPanelOpen: !!o, + source: r, + }), + l = pe((u) => u(a), [a]), + s = _e( + () => ({ + state: a, + dispatch: i, + getValue: l, + }), + [a, i, l], + ); + return /* @__PURE__ */ f.jsx(da.Provider, { value: s, children: e }); + }, + q5 = () => Re(da), + we = (e) => { + const { getValue: t } = Re(da); + return t(e); + }, + dt = () => { + const { dispatch: e } = Re(da); + return e; + }, + Y5 = (e) => e; let Kc = Y5; -process.env.NODE_ENV !== "production" && (Kc = (e, t) => { - if (!e) - throw new Error(t); -}); -const G5 = ut(null), K5 = ut({}), X5 = ut({ - transformPagePoint: (e) => e, - isStatic: !1, - reducedMotion: "never" -}), J5 = typeof window < "u", Q5 = J5 ? Vd : re; +process.env.NODE_ENV !== "production" && + (Kc = (e, t) => { + if (!e) throw new Error(t); + }); +const G5 = ut(null), + K5 = ut({}), + X5 = ut({ + transformPagePoint: (e) => e, + isStatic: !1, + reducedMotion: "never", + }), + J5 = typeof window < "u", + Q5 = J5 ? Vd : re; function Xc(e) { const t = le(null); return t.current === null && (t.current = e()), t.current; @@ -12646,33 +14738,42 @@ class e4 extends _.Component { 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; + (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() { - } + componentDidUpdate() {} render() { return this.props.children; } } function t4({ children: e, isPresent: t }) { - const n = jc(), o = le(null), r = le({ - width: 0, - height: 0, - top: 0, - left: 0 - }), { nonce: a } = Re(X5); - return Wd(() => { - const { width: i, height: l, top: s, left: u } = r.current; - if (t || !o.current || !i || !l) - return; - o.current.dataset.motionPopId = n; - const c = document.createElement("style"); - return a && (c.nonce = a), document.head.appendChild(c), c.sheet && c.sheet.insertRule(` + const n = jc(), + o = le(null), + r = le({ + width: 0, + height: 0, + top: 0, + left: 0, + }), + { nonce: a } = Re(X5); + return ( + Wd(() => { + const { width: i, height: l, top: s, left: u } = r.current; + if (t || !o.current || !i || !l) return; + o.current.dataset.motionPopId = n; + const c = document.createElement("style"); + return ( + a && (c.nonce = a), + document.head.appendChild(c), + c.sheet && + c.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${i}px !important; @@ -12680,39 +14781,61 @@ function t4({ children: e, isPresent: t }) { top: ${s}px !important; left: ${u}px !important; } - `), () => { - document.head.removeChild(c); - }; - }, [t]), f.jsx(e4, { isPresent: t, childRef: o, sizeRef: r, children: _.cloneElement(e, { ref: o }) }); + `), + () => { + document.head.removeChild(c); + } + ); + }, [t]), + f.jsx(e4, { + isPresent: t, + childRef: o, + sizeRef: r, + children: _.cloneElement(e, { ref: o }), + }) + ); } -const n4 = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: r, presenceAffectsLayout: a, mode: i }) => { - const l = Xc(o4), s = jc(), u = _e( - () => ({ - 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. - */ - a ? [Math.random()] : [n] +const n4 = ({ + children: e, + initial: t, + isPresent: n, + onExitComplete: o, + custom: r, + presenceAffectsLayout: a, + mode: i, +}) => { + const l = Xc(o4), + s = jc(), + u = _e( + () => ({ + 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. + */ + a ? [Math.random()] : [n], + ); + return ( + _e(() => { + l.forEach((c, d) => l.set(d, !1)); + }, [n]), + _.useEffect(() => { + !n && !l.size && o && o(); + }, [n]), + i === "popLayout" && (e = f.jsx(t4, { isPresent: n, children: e })), + f.jsx(G5.Provider, { value: u, children: e }) ); - return _e(() => { - l.forEach((c, d) => l.set(d, !1)); - }, [n]), _.useEffect(() => { - !n && !l.size && o && o(); - }, [n]), i === "popLayout" && (e = f.jsx(t4, { isPresent: n, children: e })), f.jsx(G5.Provider, { value: u, children: e }); }; function o4() { return /* @__PURE__ */ new Map(); @@ -12720,288 +14843,402 @@ function o4() { const lr = (e) => e.key || ""; function Js(e) { const t = []; - return qn.forEach(e, (n) => { - Lc(n) && t.push(n); - }), t; -} -const r4 = ({ children: e, exitBeforeEnter: t, custom: n, initial: o = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: i = "sync" }) => { - Kc(!t, "Replace exitBeforeEnter with mode='wait'"); - const l = _e(() => Js(e), [e]), s = l.map(lr), u = le(!0), c = le(l), d = Xc(() => /* @__PURE__ */ new Map()), [h, g] = ae(l), [m, b] = ae(l); - Q5(() => { - u.current = !1, c.current = l; - for (let v = 0; v < m.length; v++) { - const y = lr(m[v]); - s.includes(y) ? d.delete(y) : d.get(y) !== !0 && d.set(y, !1); - } - }, [m, s.length, s.join("-")]); - const C = []; - if (l !== h) { - let v = [...l]; - for (let y = 0; y < m.length; y++) { - const E = m[y], x = lr(E); - s.includes(x) || (v.splice(y, 0, E), C.push(E)); - } - i === "wait" && C.length && (v = C), b(Js(v)), g(l); - return; - } - process.env.NODE_ENV !== "production" && i === "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: p } = Re(K5); - return f.jsx(f.Fragment, { children: m.map((v) => { - const y = lr(v), E = l === m || s.includes(y), x = () => { - if (d.has(y)) - d.set(y, !0); - else - return; - let A = !0; - d.forEach((T) => { - T || (A = !1); - }), A && (p == null || p(), b(c.current), r && r()); - }; - return f.jsx(n4, { isPresent: E, initial: !u.current || o ? void 0 : !1, custom: E ? void 0 : n, presenceAffectsLayout: a, mode: i, onExitComplete: E ? void 0 : x, children: v }, y); - }) }); -}, a4 = "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", i4 = "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", ft = ({ - icon: e, - className: t = "", - ...n -}) => /* @__PURE__ */ f.jsx("i", { className: `${t} codicon codicon-${e}`, ...n }), Jc = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "code", ...e }), Qc = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "add", ...e }), l4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "trash", ...e }), s4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "comment-unresolved", ...e }), s1 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "check", ...e }), c4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "debug-restart", ...e }), u4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "gear", ...e }), d4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "chevron-up", ...e }), f4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "chevron-down", ...e }), g4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "info", ...e }), h4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "send", ...e }), p4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "pencil", ...e }), m4 = ({ pos: e, onAddComment: t }) => Tn( - /* @__PURE__ */ f.jsx(r4, { children: e && /* @__PURE__ */ f.jsx( - ke, - { - onClick: t, - id: `${ia}-highlight`, - style: { - position: "absolute", - top: e.y, - left: e.x, - // right: "15px", - zIndex: d5 + 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__ */ f.jsx(Qc, {}) - } - ) }), - e.element.parentElement -), b4 = () => { - const { - state: { isRightPanelOpen: e } - } = q5(), t = dt(), n = () => { - t(X1(!e)); - }; - return /* @__PURE__ */ f.jsx(ke, { onClick: n, children: e ? "Hide conversations" : "Show conversations" }); -}, C4 = (e) => Se.get(`dbt/dbt_docs_share/${e}`), y4 = (e, t, n) => Se.post(`dbt/dbt_docs_share/${e}/conversation_group`, { - ...t, - telemetry: { - eventName: "dbtCollaboration:create", - properties: { source: n } - } -}), v4 = (e, t, n, o) => Se.post( - `dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, - { - ...n, - telemetry: { - eventName: "dbtCollaboration:reply", - properties: { source: o } - } - } -), x4 = (e) => Se.get( - `dbt/dbt_docs_share/${e}/conversations` -), w4 = (e) => Se.get("users/chat", { company: e }), E4 = (e, t, n) => Se.post( - `dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, - { - resolved: !0, - telemetry: { - eventName: "dbtCollaboration:resolve", - properties: { source: n } - } - } -), _4 = () => { - const e = we( - (l) => l.shareId - ), [t, n] = ae( - null - ), [o, r] = ae(!1), a = dt(); - re(() => { - t != null && t.manifest_presigned_url && fetch(t.manifest_presigned_url).then((l) => l.json()).then((l) => { - a(Z5(l)); - }).catch( - (l) => console.error( - "error loading manifest", - l, - t.manifest_presigned_url - ) - ); - }, [a, t == null ? void 0 : t.manifest_presigned_url]); - const i = pe(async () => { - if (!e) + return ( + qn.forEach(e, (n) => { + Lc(n) && t.push(n); + }), + t + ); +} +const r4 = ({ + children: e, + exitBeforeEnter: t, + custom: n, + initial: o = !0, + onExitComplete: r, + presenceAffectsLayout: a = !0, + mode: i = "sync", + }) => { + Kc(!t, "Replace exitBeforeEnter with mode='wait'"); + const l = _e(() => Js(e), [e]), + s = l.map(lr), + u = le(!0), + c = le(l), + d = Xc(() => /* @__PURE__ */ new Map()), + [h, g] = ae(l), + [m, b] = ae(l); + Q5(() => { + (u.current = !1), (c.current = l); + for (let v = 0; v < m.length; v++) { + const y = lr(m[v]); + s.includes(y) ? d.delete(y) : d.get(y) !== !0 && d.set(y, !1); + } + }, [m, s.length, s.join("-")]); + const C = []; + if (l !== h) { + let v = [...l]; + for (let y = 0; y < m.length; y++) { + const E = m[y], + x = lr(E); + s.includes(x) || (v.splice(y, 0, E), C.push(E)); + } + i === "wait" && C.length && (v = C), b(Js(v)), g(l); return; - r(!0); - const l = await C4(e); - if (l) { - n(l); - const s = document.getElementById("collapse-sidebar"); - s == null || s.click(); } - r(!1); - }, [e]); - return re(() => { - !e || t || o || i(); - }, [e, t, i, o]), { shareDetails: t, loading: o }; -}, S4 = () => { - const e = we( - (c) => c.selectedConversationId ? c.conversations[c.selectedConversationId] : null - ), t = we( - (c) => c.docsAppRendered - ), n = we( - (c) => c.newConversation - ), o = dt(), [r, a] = ae(null), [i, l] = ae(null); - re(() => { - n && (a(null), l(null)); - }, [n]); - const s = pe(() => { - console.log("resetHighlights"), r && g5(r), l(null), a(null); - }, [r]); - return re(() => { - !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: i, - onSelectionEnd: (c) => { - const d = c.target, h = p5(d), { end: g, start: m } = c.detail.selectionRange, b = document.getSelection(); - if (!b || !b.rangeCount) - return s(), null; - const p = b.getRangeAt(0).toString(), v = d == null ? void 0 : d.innerText; - if (!p || !v) - return; - const { end: y, start: E, x, y: A } = m5( - h, - d, - p, - g, - m + process.env.NODE_ENV !== "production" && + i === "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.`, ); - console.log("selection range", y, E, x, A); - const T = { - meta: { - filePath: "", - field: h, - highlight: p, - range: { - end: { line: y, character: 0 }, - start: { line: E, character: 0 } - } - } + const { forceRender: p } = Re(K5); + return f.jsx(f.Fragment, { + children: m.map((v) => { + const y = lr(v), + E = l === m || s.includes(y), + x = () => { + if (d.has(y)) d.set(y, !0); + else return; + let A = !0; + d.forEach((T) => { + T || (A = !1); + }), + A && (p == null || p(), b(c.current), r && r()); + }; + return f.jsx( + n4, + { + isPresent: E, + initial: !u.current || o ? void 0 : !1, + custom: E ? void 0 : n, + presenceAffectsLayout: a, + mode: i, + onExitComplete: E ? void 0 : x, + children: v, + }, + y, + ); + }), + }); + }, + a4 = + "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", + i4 = + "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", + ft = ({ icon: e, className: t = "", ...n }) => + /* @__PURE__ */ f.jsx("i", { + className: `${t} codicon codicon-${e}`, + ...n, + }), + Jc = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "code", ...e }), + Qc = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "add", ...e }), + l4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "trash", ...e }), + s4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "comment-unresolved", ...e }), + s1 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "check", ...e }), + c4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "debug-restart", ...e }), + u4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "gear", ...e }), + d4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "chevron-up", ...e }), + f4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "chevron-down", ...e }), + g4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "info", ...e }), + h4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "send", ...e }), + p4 = (e) => /* @__PURE__ */ f.jsx(ft, { icon: "pencil", ...e }), + m4 = ({ pos: e, onAddComment: t }) => + Tn( + /* @__PURE__ */ f.jsx(r4, { + children: + e && + /* @__PURE__ */ f.jsx(ke, { + onClick: t, + id: `${ia}-highlight`, + style: { + position: "absolute", + top: e.y, + left: e.x, + // right: "15px", + zIndex: d5 + 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__ */ f.jsx(Qc, {}), + }), + }), + e.element.parentElement, + ), + b4 = () => { + const { + state: { isRightPanelOpen: e }, + } = q5(), + t = dt(), + n = () => { + t(X1(!e)); }; - o(J1()), l({ - x, - y: A, - element: d - }), document.body.addEventListener("click", s, { once: !0 }), a(T); - } - }; -}, k4 = ({ - conversationGroup: e -}) => { - const t = we( - (l) => l.selectedConversationId - ), n = dt(), o = le(null), r = _e(() => h5(e.meta), [e.meta]), a = () => { - n( - K1(e.conversation_group_id) + return /* @__PURE__ */ f.jsx(ke, { + onClick: n, + children: e ? "Hide conversations" : "Show conversations", + }); + }, + C4 = (e) => Se.get(`dbt/dbt_docs_share/${e}`), + y4 = (e, t, n) => + Se.post(`dbt/dbt_docs_share/${e}/conversation_group`, { + ...t, + telemetry: { + eventName: "dbtCollaboration:create", + properties: { source: n }, + }, + }), + v4 = (e, t, n, o) => + Se.post(`dbt/dbt_docs_share/${e}/conversation_group/${t}/conversation`, { + ...n, + telemetry: { + eventName: "dbtCollaboration:reply", + properties: { source: o }, + }, + }), + x4 = (e) => Se.get(`dbt/dbt_docs_share/${e}/conversations`), + w4 = (e) => Se.get("users/chat", { company: e }), + E4 = (e, t, n) => + Se.post(`dbt/dbt_docs_share/${e}/conversation_group/${t}/resolve`, { + resolved: !0, + telemetry: { + eventName: "dbtCollaboration:resolve", + properties: { source: n }, + }, + }), + _4 = () => { + const e = we((l) => l.shareId), + [t, n] = ae(null), + [o, r] = ae(!1), + a = dt(); + re(() => { + t != null && + t.manifest_presigned_url && + fetch(t.manifest_presigned_url) + .then((l) => l.json()) + .then((l) => { + a(Z5(l)); + }) + .catch((l) => + console.error( + "error loading manifest", + l, + t.manifest_presigned_url, + ), + ); + }, [a, t == null ? void 0 : t.manifest_presigned_url]); + const i = pe(async () => { + if (!e) return; + r(!0); + const l = await C4(e); + if (l) { + n(l); + const s = document.getElementById("collapse-sidebar"); + s == null || s.click(); + } + r(!1); + }, [e]); + return ( + re(() => { + !e || t || o || i(); + }, [e, t, i, o]), + { shareDetails: t, loading: o } ); - }, i = _e(() => { - 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 re(() => { - var l; - t === e.conversation_group_id && ((l = o.current) == null || l.scrollIntoView({ - behavior: "smooth", - block: "center" - })); - }, [e.conversation_group_id, t]), !i || !(r != null && r.parentElement) ? null : Tn( - /* @__PURE__ */ f.jsx( - "div", + }, + S4 = () => { + const e = we((c) => + c.selectedConversationId + ? c.conversations[c.selectedConversationId] + : null, + ), + t = we((c) => c.docsAppRendered), + n = we((c) => c.newConversation), + o = dt(), + [r, a] = ae(null), + [i, l] = ae(null); + re(() => { + n && (a(null), l(null)); + }, [n]); + const s = pe(() => { + console.log("resetHighlights"), r && g5(r), l(null), a(null); + }, [r]); + return ( + re(() => { + !e || + !t || + (e.meta.resource_type && + e.meta.uniqueId && + (window.location.hash = `#!/${e.meta.resource_type}/${e.meta.uniqueId}`)); + }, [e, t, o]), { - ref: o, - className: `altimate-highlighter ${t === e.conversation_group_id ? "active" : ""}`, - style: { top: i.top, height: i.bottom - i.top }, - onClick: a, - children: /* @__PURE__ */ f.jsx(s4, {}) + getHighlightedSelectionData: () => r, + pos: i, + onSelectionEnd: (c) => { + const d = c.target, + h = p5(d), + { end: g, start: m } = c.detail.selectionRange, + b = document.getSelection(); + if (!b || !b.rangeCount) return s(), null; + const p = b.getRangeAt(0).toString(), + v = d == null ? void 0 : d.innerText; + if (!p || !v) return; + const { end: y, start: E, x, y: A } = m5(h, d, p, g, m); + console.log("selection range", y, E, x, A); + const T = { + meta: { + filePath: "", + field: h, + highlight: p, + range: { + end: { line: y, character: 0 }, + start: { line: E, character: 0 }, + }, + }, + }; + o(J1()), + l({ + x, + y: A, + element: d, + }), + document.body.addEventListener("click", s, { once: !0 }), + a(T); + }, } - ), - r.parentElement - ); -}, A4 = () => { - const e = we( - (r) => Object.values(r.conversations || {}) - ), t = we( - (r) => r.codeblockLoaded - ), n = we( - (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__ */ f.jsx(f.Fragment, { children: o.map((r) => /* @__PURE__ */ f.jsx( - k4, - { - conversationGroup: r - }, - r.conversation_group_id - )) }); -}, M4 = "_dbtDocs_14zop_9", T4 = "_hotspotButton_14zop_46", N4 = "_pulse_14zop_1", D4 = "_conversationRightPanelCloseButton_14zop_62", O4 = "_conversationRightPanel_14zop_62", L4 = "_newConversationForm_14zop_94", j4 = "_highlightText_14zop_108", R4 = "_conversationInputForm_14zop_130", H4 = "_conversationGroup_14zop_156", F4 = "_replyForm_14zop_189", I4 = "_resolveButton_14zop_237", $t = { - dbtDocs: M4, - hotspotButton: T4, - pulse: N4, - conversationRightPanelCloseButton: D4, - conversationRightPanel: O4, - newConversationForm: L4, - highlightText: j4, - conversationInputForm: R4, - conversationGroup: H4, - replyForm: F4, - resolveButton: I4 -}, z4 = "_profileImage_11vaf_1", P4 = { - profileImage: z4 -}, e0 = ({ user: e }) => { - var t; - return /* @__PURE__ */ f.jsx("div", { className: P4.profileImage, children: ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "" }); -}; + ); + }, + k4 = ({ conversationGroup: e }) => { + const t = we((l) => l.selectedConversationId), + n = dt(), + o = le(null), + r = _e(() => h5(e.meta), [e.meta]), + a = () => { + n(K1(e.conversation_group_id)); + }, + i = _e(() => { + 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 ( + re(() => { + var l; + t === e.conversation_group_id && + ((l = o.current) == null || + l.scrollIntoView({ + behavior: "smooth", + block: "center", + })); + }, [e.conversation_group_id, t]), + !i || !(r != null && r.parentElement) + ? null + : Tn( + /* @__PURE__ */ f.jsx("div", { + ref: o, + className: `altimate-highlighter ${t === e.conversation_group_id ? "active" : ""}`, + style: { top: i.top, height: i.bottom - i.top }, + onClick: a, + children: /* @__PURE__ */ f.jsx(s4, {}), + }), + r.parentElement, + ) + ); + }, + A4 = () => { + const e = we((r) => Object.values(r.conversations || {})), + t = we((r) => r.codeblockLoaded), + n = we((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__ */ f.jsx(f.Fragment, { + children: o.map((r) => + /* @__PURE__ */ f.jsx( + k4, + { + conversationGroup: r, + }, + r.conversation_group_id, + ), + ), + }); + }, + M4 = "_dbtDocs_14zop_9", + T4 = "_hotspotButton_14zop_46", + N4 = "_pulse_14zop_1", + D4 = "_conversationRightPanelCloseButton_14zop_62", + O4 = "_conversationRightPanel_14zop_62", + L4 = "_newConversationForm_14zop_94", + j4 = "_highlightText_14zop_108", + R4 = "_conversationInputForm_14zop_130", + H4 = "_conversationGroup_14zop_156", + F4 = "_replyForm_14zop_189", + I4 = "_resolveButton_14zop_237", + $t = { + dbtDocs: M4, + hotspotButton: T4, + pulse: N4, + conversationRightPanelCloseButton: D4, + conversationRightPanel: O4, + newConversationForm: L4, + highlightText: j4, + conversationInputForm: R4, + conversationGroup: H4, + replyForm: F4, + resolveButton: I4, + }, + z4 = "_profileImage_11vaf_1", + P4 = { + profileImage: z4, + }, + e0 = ({ user: e }) => { + var t; + return /* @__PURE__ */ f.jsx("div", { + className: P4.profileImage, + children: + ((t = e == null ? void 0 : e.first_name) == null ? void 0 : t[0]) || "", + }); + }; function B4(e) { if (Array.isArray(e)) { - for (var t = 0, n = new Array(e.length); t < e.length; t++) - n[t] = e[t]; + for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t]; return n; } } function V4(e) { - if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") return Array.from(e); + if ( + Symbol.iterator in Object(e) || + Object.prototype.toString.call(e) === "[object Arguments]" + ) + return Array.from(e); } function W4() { throw new TypeError("Invalid attempt to spread non-iterable instance"); @@ -13010,14 +15247,19 @@ function Ir(e) { return B4(e) || V4(e) || W4(); } function ct() { - return ct = 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; - }, ct.apply(this, arguments); + return ( + (ct = + 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; + }), + ct.apply(this, arguments) + ); } function $4(e, t) { if (!(e instanceof t)) @@ -13026,7 +15268,10 @@ function $4(e, t) { function Z4(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); + (o.enumerable = o.enumerable || !1), + (o.configurable = !0), + "value" in o && (o.writable = !0), + Object.defineProperty(e, o.key, o); } } function U4(e, t, n) { @@ -13034,86 +15279,133 @@ function U4(e, t, n) { } function fe(e) { if (e === void 0) - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called", + ); return e; } function c1(e, t) { - return c1 = Object.setPrototypeOf || function(o, r) { - return o.__proto__ = r, o; - }, c1(e, t); + return ( + (c1 = + Object.setPrototypeOf || + function (o, r) { + return (o.__proto__ = r), o; + }), + c1(e, t) + ); } function q4(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, { + (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, - configurable: !0 - } - }), t && c1(e, t); + configurable: !0, + }, + })), + t && c1(e, t); } function Bn(e) { - return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Bn = function(n) { - return typeof n; - } : Bn = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n; - }, Bn(e); + return ( + typeof Symbol == "function" && typeof Symbol.iterator == "symbol" + ? (Bn = function (n) { + return typeof n; + }) + : (Bn = function (n) { + return n && + typeof Symbol == "function" && + n.constructor === Symbol && + n !== Symbol.prototype + ? "symbol" + : typeof n; + }), + Bn(e) + ); } function Sr(e) { - return typeof Symbol == "function" && Bn(Symbol.iterator) === "symbol" ? Sr = function(n) { - return Bn(n); - } : Sr = function(n) { - return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : Bn(n); - }, Sr(e); + return ( + typeof Symbol == "function" && Bn(Symbol.iterator) === "symbol" + ? (Sr = function (n) { + return Bn(n); + }) + : (Sr = function (n) { + return n && + typeof Symbol == "function" && + n.constructor === Symbol && + n !== Symbol.prototype + ? "symbol" + : Bn(n); + }), + Sr(e) + ); } function Y4(e, t) { return t && (Sr(t) === "object" || typeof t == "function") ? t : fe(e); } function zr(e) { - return zr = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) { - return n.__proto__ || Object.getPrototypeOf(n); - }, zr(e); + return ( + (zr = Object.setPrototypeOf + ? Object.getPrototypeOf + : function (n) { + return n.__proto__ || Object.getPrototypeOf(n); + }), + zr(e) + ); } function ce(e, t, n) { - return t in e ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[t] = n, e; -} -var G4 = function(e, t, n, o, r, a, i, 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, a, i, l], c = 0; - s = new Error( - t.replace(/%s/g, function() { - return u[c++]; + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, }) - ), s.name = "Invariant Violation"; + : (e[t] = n), + e + ); +} +var G4 = function (e, t, n, o, r, a, i, 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, a, i, l], + c = 0; + (s = new Error( + t.replace(/%s/g, function () { + return u[c++]; + }), + )), + (s.name = "Invariant Violation"); + } + throw ((s.framesToPop = 1), s); } - throw s.framesToPop = 1, s; - } -}, K4 = G4; + }, + K4 = G4; const Gn = /* @__PURE__ */ ro(K4); function X4(e) { if (Array.isArray(e)) return e; } function J4(e, t) { - var n = [], o = !0, r = !1, a = void 0; + var n = [], + o = !0, + r = !1, + a = void 0; try { - for (var i = e[Symbol.iterator](), l; !(o = (l = i.next()).done) && (n.push(l.value), !(t && n.length === t)); o = !0) - ; + for ( + var i = e[Symbol.iterator](), l; + !(o = (l = i.next()).done) && (n.push(l.value), !(t && n.length === t)); + o = !0 + ); } catch (s) { - r = !0, a = s; + (r = !0), (a = s); } finally { try { !o && i.return != null && i.return(); @@ -13131,28 +15423,47 @@ function Pr(e, t) { } function e6(e, t) { if (e == null) return {}; - var n = {}, o = Object.keys(e), r, a; + var n = {}, + o = Object.keys(e), + r, + a; for (a = 0; a < o.length; a++) - r = o[a], !(t.indexOf(r) >= 0) && (n[r] = e[r]); + (r = o[a]), !(t.indexOf(r) >= 0) && (n[r] = e[r]); return n; } function t6(e, t) { if (e == null) return {}; - var n = e6(e, t), o, r; + var n = e6(e, t), + o, + r; if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (r = 0; r < a.length; r++) - o = a[r], !(t.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(e, o) && (n[o] = e[o]); + (o = a[r]), + !(t.indexOf(o) >= 0) && + Object.prototype.propertyIsEnumerable.call(e, o) && + (n[o] = e[o]); } return n; } function Ao(e) { "@babel/helpers - typeof"; - return Ao = 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; - }, Ao(e); + return ( + (Ao = + 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; + }), + Ao(e) + ); } function n6(e, t) { if (Ao(e) != "object" || !e) return e; @@ -13169,12 +15480,17 @@ function o6(e) { return Ao(t) == "symbol" ? t : t + ""; } function Mo(e, t, n) { - return (t = o6(t)) in e ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[t] = n, e; + return ( + (t = o6(t)) in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ); } function u1(e, t) { (t == null || t > e.length) && (t = e.length); @@ -13185,13 +15501,25 @@ function r6(e) { if (Array.isArray(e)) return u1(e); } function a6(e) { - if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); + if ( + (typeof Symbol < "u" && e[Symbol.iterator] != null) || + e["@@iterator"] != null + ) + return Array.from(e); } function i6(e, t) { if (e) { if (typeof e == "string") return u1(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) ? u1(e, t) : void 0; + 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) + ? u1(e, t) + : void 0 + ); } } function l6() { @@ -13201,216 +15529,387 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho function Pt(e) { return r6(e) || a6(e) || i6(e) || l6(); } -var ao = function(t) { - return t === Object(t) ? Object.keys(t) : []; -}, t0 = function(t) { - return t === Object(t) ? Object.values(t) : []; -}; +var ao = function (t) { + return t === Object(t) ? Object.keys(t) : []; + }, + t0 = function (t) { + return t === Object(t) ? Object.values(t) : []; + }; function n0(e, t) { var n = Object.assign({}, e); - return kr(e) && kr(t) && ao(t).forEach(function(o) { - kr(t[o]) ? o in e ? n[o] = n0(e[o], t[o]) : Object.assign(n, Mo({}, o, t[o])) : Object.assign(n, Mo({}, o, t[o])); - }), n; -} -var d1 = 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(a, i) { - return n0(a, i); - }, t); -}, s6 = function(t, n) { - var o = Object.assign({}, t); - if (n) - for (var r = 0; r < n.length; r++) - delete o[n[r]]; - return o; -}, kr = function(t) { - return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); -}, c6 = function(t) { - return (t || []).filter(Boolean); -}, el = function(t) { - return t[0] === "&"; -}, u6 = function(t) { - return !el(t); -}, Qs = function(t) { - return t.replace(/-(\w)/g, function(n, o) { - return o.toUpperCase(); - }); -}, d6 = function(t) { - for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], o = ao(t), r = {}, a = 0, i = o.length; a < i; a += 1) { - var l = o[a], 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; -}, o0 = function(t, n) { - for (var o = n.map(Qs), r = ao(t), a = {}, i = 0, l = r.length; i < l; i += 1) { - var s = r[i]; - (n.indexOf(s) >= 0 || o.indexOf(Qs(s)) >= 0) && (a[s] = t[s]); - } - return a; -}, f6 = function e(t, n) { - for (var o = d1.apply(void 0, [{}, s6(t, n)].concat(Pt(t0(o0(t, n))))), r = ao(o).filter(el), a = 0, i = r.length; a < i; a += 1) { - var l = r[a], s = e(o[l], n); - n.indexOf(l) >= 0 ? (delete o[l], o = d1({}, o, s)) : o[l] = s; - } - return o; -}; + return ( + kr(e) && + kr(t) && + ao(t).forEach(function (o) { + kr(t[o]) + ? o in e + ? (n[o] = n0(e[o], t[o])) + : Object.assign(n, Mo({}, o, t[o])) + : Object.assign(n, Mo({}, o, t[o])); + }), + n + ); +} +var d1 = 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 (a, i) { + return n0(a, i); + }, t); + }, + s6 = function (t, n) { + var o = Object.assign({}, t); + if (n) for (var r = 0; r < n.length; r++) delete o[n[r]]; + return o; + }, + kr = function (t) { + return t === Object(t) && !(t instanceof Date) && !Array.isArray(t); + }, + c6 = function (t) { + return (t || []).filter(Boolean); + }, + el = function (t) { + return t[0] === "&"; + }, + u6 = function (t) { + return !el(t); + }, + Qs = function (t) { + return t.replace(/-(\w)/g, function (n, o) { + return o.toUpperCase(); + }); + }, + d6 = function (t) { + for ( + var n = + arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], + o = ao(t), + r = {}, + a = 0, + i = o.length; + a < i; + a += 1 + ) { + var l = o[a], + 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; + }, + o0 = function (t, n) { + for ( + var o = n.map(Qs), r = ao(t), a = {}, i = 0, l = r.length; + i < l; + i += 1 + ) { + var s = r[i]; + (n.indexOf(s) >= 0 || o.indexOf(Qs(s)) >= 0) && (a[s] = t[s]); + } + return a; + }, + f6 = function e(t, n) { + for ( + var o = d1.apply(void 0, [{}, s6(t, n)].concat(Pt(t0(o0(t, n))))), + r = ao(o).filter(el), + a = 0, + i = r.length; + a < i; + a += 1 + ) { + var l = r[a], + s = e(o[l], n); + n.indexOf(l) >= 0 ? (delete o[l], (o = d1({}, o, s))) : (o[l] = s); + } + return o; + }; function e2(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); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } function t2(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? e2(Object(n), !0).forEach(function(o) { - Mo(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? e2(Object(n), !0).forEach(function (o) { + Mo(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : e2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -var g6 = ["animationName"], r0 = function(t) { - var n = t.style, o = t.className; - return t2(t2({}, n ? { - style: d6(n, g6) - } : {}), o ? { - className: o - } : {}); -}, a0 = /* @__PURE__ */ ut(r0); +var g6 = ["animationName"], + r0 = function (t) { + var n = t.style, + o = t.className; + return t2( + t2( + {}, + n + ? { + style: d6(n, g6), + } + : {}, + ), + o + ? { + className: o, + } + : {}, + ); + }, + a0 = /* @__PURE__ */ ut(r0); a0.Provider; -var i0 = function(t) { - if (t) { - if (typeof t == "string") - return [t]; - if (!Array.isArray(t)) { - var n = t; - return ao(t).reduce(function(o, r) { - return o.concat(n[r] ? [r] : []); - }, []); - } - } else return []; - return t; -}, h6 = {}, p6 = function(t) { - return function(n, o) { - var r = o || h6; - t.memoize = t.memoize || /* @__PURE__ */ new WeakMap(); - var a; - t.memoize.has(r) ? a = t.memoize.get(r) : (a = {}, t.memoize.set(r, a)); - var i = i0(n).join(" "); - return i in a ? a[i] : a[i] = t(n || [], o); +var i0 = function (t) { + if (t) { + if (typeof t == "string") return [t]; + if (!Array.isArray(t)) { + var n = t; + return ao(t).reduce(function (o, r) { + return o.concat(n[r] ? [r] : []); + }, []); + } + } else return []; + return t; + }, + h6 = {}, + p6 = function (t) { + return function (n, o) { + var r = o || h6; + t.memoize = t.memoize || /* @__PURE__ */ new WeakMap(); + var a; + t.memoize.has(r) + ? (a = t.memoize.get(r)) + : ((a = {}), t.memoize.set(r, a)); + var i = i0(n).join(" "); + return i in a ? a[i] : (a[i] = t(n || [], o)); + }; }; -}; function n2(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); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } function On(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? n2(Object(n), !0).forEach(function(o) { - Mo(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? n2(Object(n), !0).forEach(function (o) { + Mo(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : n2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -var m6 = function(t) { - var n = t && ao(t)[0]; - return n && n.split("__")[0].split("--")[0]; -}, b6 = function(t, n, o) { - if (t) { - var r = t.split(" ")[0], a = [].concat(Pt(n.length === 0 ? o.map(function(i) { - return "".concat(r, "--").concat(i.substring(1)); - }) : []), Pt(n.map(function(i) { - return "".concat(r, "__").concat(i); - }))); - return n.length === 0 ? [t].concat(Pt(a)) : a; - } -}; +var m6 = function (t) { + var n = t && ao(t)[0]; + return n && n.split("__")[0].split("--")[0]; + }, + b6 = function (t, n, o) { + if (t) { + var r = t.split(" ")[0], + a = [].concat( + Pt( + n.length === 0 + ? o.map(function (i) { + return "".concat(r, "--").concat(i.substring(1)); + }) + : [], + ), + Pt( + n.map(function (i) { + return "".concat(r, "__").concat(i); + }), + ), + ); + return n.length === 0 ? [t].concat(Pt(a)) : a; + } + }; function l0(e) { - var t = e.style, n = e.className, o = e.classNames, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : r0, a = n || m6(o) || (t == null ? void 0 : t.className), i = typeof t == "function" ? t : p6(function(d, h) { - var g = i0(d); - Gn(Array.isArray(g), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), Gn(!h || kr(h), "Optional second parameter must be a plain object."); - var m = g.filter(el), b = g.filter(u6), C = b.length > 0 ? function(y) { - return t0(o0(y, b)); - } : function(y) { - return [y]; - }, p = function() { - var E = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - return C(f6(E, m)); - }, v = b6(a, b, m); - return l0(On(On(On({}, (t || h) && { - style: d1.apply(void 0, [{}].concat(Pt(p(h)), Pt(p(t)))) - }), v && { - className: v.join(" ") - }), o && { - classNames: o - }), r); - }), l = On({}, typeof t == "function" ? t : { - style: t - }), s = Pt(new Set([].concat(Pt(l.className ? l.className.split(" ") : []), Pt(a ? a.split(" ") : [])))), u = o ? c6(s.map(function(d) { - return o[d]; - })) : s, c = r(On(On({}, l), u.length > 0 ? { - className: u.join(" ") - } : {})); + var t = e.style, + n = e.className, + o = e.classNames, + r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : r0, + a = n || m6(o) || (t == null ? void 0 : t.className), + i = + typeof t == "function" + ? t + : p6(function (d, h) { + var g = i0(d); + Gn( + Array.isArray(g), + "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value.", + ), + Gn( + !h || kr(h), + "Optional second parameter must be a plain object.", + ); + var m = g.filter(el), + b = g.filter(u6), + C = + b.length > 0 + ? function (y) { + return t0(o0(y, b)); + } + : function (y) { + return [y]; + }, + p = function () { + var E = + arguments.length > 0 && arguments[0] !== void 0 + ? arguments[0] + : {}; + return C(f6(E, m)); + }, + v = b6(a, b, m); + return l0( + On( + On( + On( + {}, + (t || h) && { + style: d1.apply(void 0, [{}].concat(Pt(p(h)), Pt(p(t)))), + }, + ), + v && { + className: v.join(" "), + }, + ), + o && { + classNames: o, + }, + ), + r, + ); + }), + l = On( + {}, + typeof t == "function" + ? t + : { + style: t, + }, + ), + s = Pt( + new Set( + [].concat( + Pt(l.className ? l.className.split(" ") : []), + Pt(a ? a.split(" ") : []), + ), + ), + ), + u = o + ? c6( + s.map(function (d) { + return o[d]; + }), + ) + : s, + c = r( + On( + On({}, l), + u.length > 0 + ? { + className: u.join(" "), + } + : {}, + ), + ); return Object.assign(i, c), i; } function o2(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); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } function uo(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? o2(Object(n), !0).forEach(function(o) { - Mo(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? o2(Object(n), !0).forEach(function (o) { + Mo(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : o2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } -var C6 = function() { - for (var t = arguments.length, n = new Array(t), o = 0; o < t; o++) - n[o] = arguments[o]; - return n.reduce(function(r, a) { - return uo(uo(uo({}, r), typeof a == "function" ? a : {}), {}, { - style: uo(uo({}, r.style), typeof a == "function" ? a.style : a) - }); - }, {}); -}, tl = function(t, n, o) { - var r = n.style, a = n.className, i = n.classNames, l = Re(a0), s = _e(function() { - return l0({ - style: r, - className: a, - classNames: i - }, l); - }, [r, a, i, l]); - return s(o, t); -}, f1 = { exports: {} }, sr = { exports: {} }, be = {}; +var C6 = function () { + for (var t = arguments.length, n = new Array(t), o = 0; o < t; o++) + n[o] = arguments[o]; + return n.reduce(function (r, a) { + return uo( + uo(uo({}, r), typeof a == "function" ? a : {}), + {}, + { + style: uo(uo({}, r.style), typeof a == "function" ? a.style : a), + }, + ); + }, {}); + }, + tl = function (t, n, o) { + var r = n.style, + a = n.className, + i = n.classNames, + l = Re(a0), + s = _e( + function () { + return l0( + { + style: r, + className: a, + classNames: i, + }, + l, + ); + }, + [r, a, i, l], + ); + return s(o, t); + }, + f1 = { exports: {} }, + sr = { exports: {} }, + be = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -13423,13 +15922,31 @@ var r2; function y6() { if (r2) return be; r2 = 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, a = e ? Symbol.for("react.profiler") : 60114, i = 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, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, p = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119; + 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, + a = e ? Symbol.for("react.profiler") : 60114, + i = 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, + g = e ? Symbol.for("react.memo") : 60115, + m = e ? Symbol.for("react.lazy") : 60116, + b = e ? Symbol.for("react.block") : 60121, + C = e ? Symbol.for("react.fundamental") : 60117, + p = e ? Symbol.for("react.responder") : 60118, + v = e ? Symbol.for("react.scope") : 60119; function y(x) { if (typeof x == "object" && x !== null) { var A = x.$$typeof; switch (A) { case t: - switch (x = x.type, x) { + switch (((x = x.type), x)) { case s: case u: case o: @@ -13438,7 +15955,7 @@ function y6() { case d: return x; default: - switch (x = x && x.$$typeof, x) { + switch (((x = x && x.$$typeof), x)) { case l: case c: case m: @@ -13457,33 +15974,83 @@ function y6() { function E(x) { return y(x) === u; } - return be.AsyncMode = s, be.ConcurrentMode = u, be.ContextConsumer = l, be.ContextProvider = i, be.Element = t, be.ForwardRef = c, be.Fragment = o, be.Lazy = m, be.Memo = g, be.Portal = n, be.Profiler = a, be.StrictMode = r, be.Suspense = d, be.isAsyncMode = function(x) { - return E(x) || y(x) === s; - }, be.isConcurrentMode = E, be.isContextConsumer = function(x) { - return y(x) === l; - }, be.isContextProvider = function(x) { - return y(x) === i; - }, be.isElement = function(x) { - return typeof x == "object" && x !== null && x.$$typeof === t; - }, be.isForwardRef = function(x) { - return y(x) === c; - }, be.isFragment = function(x) { - return y(x) === o; - }, be.isLazy = function(x) { - return y(x) === m; - }, be.isMemo = function(x) { - return y(x) === g; - }, be.isPortal = function(x) { - return y(x) === n; - }, be.isProfiler = function(x) { - return y(x) === a; - }, be.isStrictMode = function(x) { - return y(x) === r; - }, be.isSuspense = function(x) { - return y(x) === d; - }, be.isValidElementType = function(x) { - return typeof x == "string" || typeof x == "function" || x === o || x === u || x === a || x === r || x === d || x === h || typeof x == "object" && x !== null && (x.$$typeof === m || x.$$typeof === g || x.$$typeof === i || x.$$typeof === l || x.$$typeof === c || x.$$typeof === C || x.$$typeof === p || x.$$typeof === v || x.$$typeof === b); - }, be.typeOf = y, be; + return ( + (be.AsyncMode = s), + (be.ConcurrentMode = u), + (be.ContextConsumer = l), + (be.ContextProvider = i), + (be.Element = t), + (be.ForwardRef = c), + (be.Fragment = o), + (be.Lazy = m), + (be.Memo = g), + (be.Portal = n), + (be.Profiler = a), + (be.StrictMode = r), + (be.Suspense = d), + (be.isAsyncMode = function (x) { + return E(x) || y(x) === s; + }), + (be.isConcurrentMode = E), + (be.isContextConsumer = function (x) { + return y(x) === l; + }), + (be.isContextProvider = function (x) { + return y(x) === i; + }), + (be.isElement = function (x) { + return typeof x == "object" && x !== null && x.$$typeof === t; + }), + (be.isForwardRef = function (x) { + return y(x) === c; + }), + (be.isFragment = function (x) { + return y(x) === o; + }), + (be.isLazy = function (x) { + return y(x) === m; + }), + (be.isMemo = function (x) { + return y(x) === g; + }), + (be.isPortal = function (x) { + return y(x) === n; + }), + (be.isProfiler = function (x) { + return y(x) === a; + }), + (be.isStrictMode = function (x) { + return y(x) === r; + }), + (be.isSuspense = function (x) { + return y(x) === d; + }), + (be.isValidElementType = function (x) { + return ( + typeof x == "string" || + typeof x == "function" || + x === o || + x === u || + x === a || + x === r || + x === d || + x === h || + (typeof x == "object" && + x !== null && + (x.$$typeof === m || + x.$$typeof === g || + x.$$typeof === i || + x.$$typeof === l || + x.$$typeof === c || + x.$$typeof === C || + x.$$typeof === p || + x.$$typeof === v || + x.$$typeof === b)) + ); + }), + (be.typeOf = y), + be + ); } var Ce = {}; /** @license React v16.13.1 @@ -13496,90 +16063,187 @@ var Ce = {}; */ var a2; function v6() { - return a2 || (a2 = 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, a = e ? Symbol.for("react.profiler") : 60114, i = 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, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, p = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119; - function y(G) { - return typeof G == "string" || typeof G == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - G === o || G === u || G === a || G === r || G === d || G === h || typeof G == "object" && G !== null && (G.$$typeof === m || G.$$typeof === g || G.$$typeof === i || G.$$typeof === l || G.$$typeof === c || G.$$typeof === C || G.$$typeof === p || G.$$typeof === v || G.$$typeof === b); - } - function E(G) { - if (typeof G == "object" && G !== null) { - var ye = G.$$typeof; - switch (ye) { - case t: - var je = G.type; - switch (je) { - case s: - case u: - case o: - case a: - case r: - case d: - return je; - default: - var Ee = je && je.$$typeof; - switch (Ee) { - case l: - case c: - case m: - case g: - case i: - return Ee; - default: - return ye; - } + return ( + a2 || + ((a2 = 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, + a = e ? Symbol.for("react.profiler") : 60114, + i = 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, + g = e ? Symbol.for("react.memo") : 60115, + m = e ? Symbol.for("react.lazy") : 60116, + b = e ? Symbol.for("react.block") : 60121, + C = e ? Symbol.for("react.fundamental") : 60117, + p = e ? Symbol.for("react.responder") : 60118, + v = e ? Symbol.for("react.scope") : 60119; + function y(G) { + return ( + typeof G == "string" || + typeof G == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + G === o || + G === u || + G === a || + G === r || + G === d || + G === h || + (typeof G == "object" && + G !== null && + (G.$$typeof === m || + G.$$typeof === g || + G.$$typeof === i || + G.$$typeof === l || + G.$$typeof === c || + G.$$typeof === C || + G.$$typeof === p || + G.$$typeof === v || + G.$$typeof === b)) + ); + } + function E(G) { + if (typeof G == "object" && G !== null) { + var ye = G.$$typeof; + switch (ye) { + case t: + var je = G.type; + switch (je) { + case s: + case u: + case o: + case a: + case r: + case d: + return je; + default: + var Ee = je && je.$$typeof; + switch (Ee) { + case l: + case c: + case m: + case g: + case i: + return Ee; + default: + return ye; + } + } + case n: + return ye; + } } - case n: - return ye; - } - } - } - var x = s, A = u, T = l, k = i, R = t, L = c, I = o, W = m, B = g, w = n, N = a, S = r, D = d, j = !1; - function O(G) { - return j || (j = !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.")), M(G) || E(G) === s; - } - function M(G) { - return E(G) === u; - } - function F(G) { - return E(G) === l; - } - function z(G) { - return E(G) === i; - } - function $(G) { - return typeof G == "object" && G !== null && G.$$typeof === t; - } - function V(G) { - return E(G) === c; - } - function q(G) { - return E(G) === o; - } - function K(G) { - return E(G) === m; - } - function X(G) { - return E(G) === g; - } - function J(G) { - return E(G) === n; - } - function te(G) { - return E(G) === a; - } - function Z(G) { - return E(G) === r; - } - function se(G) { - return E(G) === d; - } - Ce.AsyncMode = x, Ce.ConcurrentMode = A, Ce.ContextConsumer = T, Ce.ContextProvider = k, Ce.Element = R, Ce.ForwardRef = L, Ce.Fragment = I, Ce.Lazy = W, Ce.Memo = B, Ce.Portal = w, Ce.Profiler = N, Ce.StrictMode = S, Ce.Suspense = D, Ce.isAsyncMode = O, Ce.isConcurrentMode = M, Ce.isContextConsumer = F, Ce.isContextProvider = z, Ce.isElement = $, Ce.isForwardRef = V, Ce.isFragment = q, Ce.isLazy = K, Ce.isMemo = X, Ce.isPortal = J, Ce.isProfiler = te, Ce.isStrictMode = Z, Ce.isSuspense = se, Ce.isValidElementType = y, Ce.typeOf = E; - }()), Ce; + } + var x = s, + A = u, + T = l, + k = i, + R = t, + L = c, + I = o, + W = m, + B = g, + w = n, + N = a, + S = r, + D = d, + j = !1; + function O(G) { + return ( + j || + ((j = !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.", + )), + M(G) || E(G) === s + ); + } + function M(G) { + return E(G) === u; + } + function F(G) { + return E(G) === l; + } + function z(G) { + return E(G) === i; + } + function $(G) { + return typeof G == "object" && G !== null && G.$$typeof === t; + } + function V(G) { + return E(G) === c; + } + function q(G) { + return E(G) === o; + } + function K(G) { + return E(G) === m; + } + function X(G) { + return E(G) === g; + } + function J(G) { + return E(G) === n; + } + function te(G) { + return E(G) === a; + } + function Z(G) { + return E(G) === r; + } + function se(G) { + return E(G) === d; + } + (Ce.AsyncMode = x), + (Ce.ConcurrentMode = A), + (Ce.ContextConsumer = T), + (Ce.ContextProvider = k), + (Ce.Element = R), + (Ce.ForwardRef = L), + (Ce.Fragment = I), + (Ce.Lazy = W), + (Ce.Memo = B), + (Ce.Portal = w), + (Ce.Profiler = N), + (Ce.StrictMode = S), + (Ce.Suspense = D), + (Ce.isAsyncMode = O), + (Ce.isConcurrentMode = M), + (Ce.isContextConsumer = F), + (Ce.isContextProvider = z), + (Ce.isElement = $), + (Ce.isForwardRef = V), + (Ce.isFragment = q), + (Ce.isLazy = K), + (Ce.isMemo = X), + (Ce.isPortal = J), + (Ce.isProfiler = te), + (Ce.isStrictMode = Z), + (Ce.isSuspense = se), + (Ce.isValidElementType = y), + (Ce.typeOf = E); + })()), + Ce + ); } var i2; function s0() { - return i2 || (i2 = 1, process.env.NODE_ENV === "production" ? sr.exports = y6() : sr.exports = v6()), sr.exports; + return ( + i2 || + ((i2 = 1), + process.env.NODE_ENV === "production" + ? (sr.exports = y6()) + : (sr.exports = v6())), + sr.exports + ); } /* object-assign @@ -13590,74 +16254,85 @@ var Ti, l2; function x6() { if (l2) return Ti; l2 = 1; - var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable; + var e = Object.getOwnPropertySymbols, + t = Object.prototype.hasOwnProperty, + n = Object.prototype.propertyIsEnumerable; function o(a) { if (a == null) - throw new TypeError("Object.assign cannot be called with null or undefined"); + throw new TypeError( + "Object.assign cannot be called with null or undefined", + ); return Object(a); } function r() { try { - if (!Object.assign) - return !1; + if (!Object.assign) return !1; var a = new String("abc"); - if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5") - return !1; - for (var i = {}, l = 0; l < 10; l++) - i["_" + String.fromCharCode(l)] = l; - var s = Object.getOwnPropertyNames(i).map(function(c) { + if (((a[5] = "de"), Object.getOwnPropertyNames(a)[0] === "5")) return !1; + for (var i = {}, l = 0; l < 10; l++) i["_" + String.fromCharCode(l)] = l; + var s = Object.getOwnPropertyNames(i).map(function (c) { return i[c]; }); - if (s.join("") !== "0123456789") - return !1; + if (s.join("") !== "0123456789") return !1; var u = {}; - return "abcdefghijklmnopqrst".split("").forEach(function(c) { - u[c] = c; - }), Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst"; + return ( + "abcdefghijklmnopqrst".split("").forEach(function (c) { + u[c] = c; + }), + Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst" + ); } catch { return !1; } } - return Ti = r() ? Object.assign : function(a, i) { - for (var l, s = o(a), 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; - }, Ti; + return ( + (Ti = r() + ? Object.assign + : function (a, i) { + for (var l, s = o(a), 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; + }), + Ti + ); } var Ni, s2; function nl() { if (s2) return Ni; s2 = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return Ni = e, Ni; + return (Ni = e), Ni; } var Di, c2; function c0() { - return c2 || (c2 = 1, Di = Function.call.bind(Object.prototype.hasOwnProperty)), Di; + return ( + c2 || + ((c2 = 1), (Di = Function.call.bind(Object.prototype.hasOwnProperty))), + Di + ); } var Oi, u2; function w6() { if (u2) return Oi; u2 = 1; - var e = function() { - }; + var e = function () {}; if (process.env.NODE_ENV !== "production") { - var t = nl(), n = {}, o = c0(); - e = function(a) { + var t = nl(), + n = {}, + o = c0(); + e = function (a) { var i = "Warning: " + a; typeof console < "u" && console.error(i); try { throw new Error(i); - } catch { - } + } catch {} }; } function r(a, i, l, s, u) { @@ -13668,1056 +16343,1788 @@ function w6() { try { if (typeof a[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 a[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + (s || "React class") + + ": " + + l + + " type `" + + c + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + typeof a[c] + + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", ); - throw h.name = "Invariant Violation", h; + throw ((h.name = "Invariant Violation"), h); } d = a[c](i, 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)) { + 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 g = u ? u() : ""; - e( - "Failed " + l + " type: " + d.message + (g ?? "") - ); + e("Failed " + l + " type: " + d.message + (g ?? "")); } } } } - return r.resetWarningCache = function() { - process.env.NODE_ENV !== "production" && (n = {}); - }, Oi = r, Oi; + return ( + (r.resetWarningCache = function () { + process.env.NODE_ENV !== "production" && (n = {}); + }), + (Oi = r), + Oi + ); } var Li, d2; function E6() { if (d2) return Li; d2 = 1; - var e = s0(), t = x6(), n = nl(), o = c0(), r = w6(), a = function() { - }; - process.env.NODE_ENV !== "production" && (a = function(l) { - var s = "Warning: " + l; - typeof console < "u" && console.error(s); - try { - throw new Error(s); - } catch { - } - }); + var e = s0(), + t = x6(), + n = nl(), + o = c0(), + r = w6(), + a = function () {}; + process.env.NODE_ENV !== "production" && + (a = function (l) { + var s = "Warning: " + l; + typeof console < "u" && console.error(s); + try { + throw new Error(s); + } catch {} + }); function i() { return null; } - return Li = function(l, s) { - var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator"; - function d(M) { - var F = M && (u && M[u] || M[c]); - if (typeof F == "function") - return F; - } - var h = "<>", g = { - array: p("array"), - bigint: p("bigint"), - bool: p("boolean"), - func: p("function"), - number: p("number"), - object: p("object"), - string: p("string"), - symbol: p("symbol"), - any: v(), - arrayOf: y, - element: E(), - elementType: x(), - instanceOf: A, - node: L(), - objectOf: k, - oneOf: T, - oneOfType: R, - shape: W, - exact: B - }; - function m(M, F) { - return M === F ? M !== 0 || 1 / M === 1 / F : M !== M && F !== F; - } - function b(M, F) { - this.message = M, this.data = F && typeof F == "object" ? F : {}, this.stack = ""; - } - b.prototype = Error.prototype; - function C(M) { - if (process.env.NODE_ENV !== "production") - var F = {}, z = 0; - function $(q, K, X, J, te, Z, se) { - if (J = J || h, Z = Z || X, se !== n) { - if (s) { - var G = 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" + return ( + (Li = function (l, s) { + var u = typeof Symbol == "function" && Symbol.iterator, + c = "@@iterator"; + function d(M) { + var F = M && ((u && M[u]) || M[c]); + if (typeof F == "function") return F; + } + var h = "<>", + g = { + array: p("array"), + bigint: p("bigint"), + bool: p("boolean"), + func: p("function"), + number: p("number"), + object: p("object"), + string: p("string"), + symbol: p("symbol"), + any: v(), + arrayOf: y, + element: E(), + elementType: x(), + instanceOf: A, + node: L(), + objectOf: k, + oneOf: T, + oneOfType: R, + shape: W, + exact: B, + }; + function m(M, F) { + return M === F ? M !== 0 || 1 / M === 1 / F : M !== M && F !== F; + } + function b(M, F) { + (this.message = M), + (this.data = F && typeof F == "object" ? F : {}), + (this.stack = ""); + } + b.prototype = Error.prototype; + function C(M) { + if (process.env.NODE_ENV !== "production") + var F = {}, + z = 0; + function $(q, K, X, J, te, Z, se) { + if (((J = J || h), (Z = Z || X), se !== n)) { + if (s) { + var G = 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 ((G.name = "Invariant Violation"), G); + } else if ( + process.env.NODE_ENV !== "production" && + typeof console < "u" + ) { + var ye = J + ":" + X; + !F[ye] && // Avoid spamming the console because they are often not actionable except for lib authors + z < 3 && + (a( + "You are manually calling a React.PropTypes validation function for the `" + + Z + + "` prop on `" + + J + + "`. 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.", + ), + (F[ye] = !0), + z++); + } + } + return K[X] == null + ? q + ? K[X] === null + ? new b( + "The " + + te + + " `" + + Z + + "` is marked as required " + + ("in `" + J + "`, but its value is `null`."), + ) + : new b( + "The " + + te + + " `" + + Z + + "` is marked as required in " + + ("`" + J + "`, but its value is `undefined`."), + ) + : null + : M(K, X, J, te, Z); + } + var V = $.bind(null, !1); + return (V.isRequired = $.bind(null, !0)), V; + } + function p(M) { + function F(z, $, V, q, K, X) { + var J = z[$], + te = S(J); + if (te !== M) { + var Z = D(J); + return new b( + "Invalid " + + q + + " `" + + K + + "` of type " + + ("`" + Z + "` supplied to `" + V + "`, expected ") + + ("`" + M + "`."), + { expectedType: M }, ); - throw G.name = "Invariant Violation", G; - } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { - var ye = J + ":" + X; - !F[ye] && // Avoid spamming the console because they are often not actionable except for lib authors - z < 3 && (a( - "You are manually calling a React.PropTypes validation function for the `" + Z + "` prop on `" + J + "`. 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." - ), F[ye] = !0, z++); } + return null; } - return K[X] == null ? q ? K[X] === null ? new b("The " + te + " `" + Z + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new b("The " + te + " `" + Z + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : M(K, X, J, te, Z); + return C(F); } - var V = $.bind(null, !1); - return V.isRequired = $.bind(null, !0), V; - } - function p(M) { - function F(z, $, V, q, K, X) { - var J = z[$], te = S(J); - if (te !== M) { - var Z = D(J); + function v() { + return C(i); + } + function y(M) { + function F(z, $, V, q, K) { + if (typeof M != "function") + return new b( + "Property `" + + K + + "` of component `" + + V + + "` has invalid PropType notation inside arrayOf.", + ); + var X = z[$]; + if (!Array.isArray(X)) { + var J = S(X); + return new b( + "Invalid " + + q + + " `" + + K + + "` of type " + + ("`" + J + "` supplied to `" + V + "`, expected an array."), + ); + } + for (var te = 0; te < X.length; te++) { + var Z = M(X, te, V, q, K + "[" + te + "]", n); + if (Z instanceof Error) return Z; + } + return null; + } + return C(F); + } + function E() { + function M(F, z, $, V, q) { + var K = F[z]; + if (!l(K)) { + var X = S(K); + return new b( + "Invalid " + + V + + " `" + + q + + "` of type " + + ("`" + + X + + "` supplied to `" + + $ + + "`, expected a single ReactElement."), + ); + } + return null; + } + return C(M); + } + function x() { + function M(F, z, $, V, q) { + var K = F[z]; + if (!e.isValidElementType(K)) { + var X = S(K); + return new b( + "Invalid " + + V + + " `" + + q + + "` of type " + + ("`" + + X + + "` supplied to `" + + $ + + "`, expected a single ReactElement type."), + ); + } + return null; + } + return C(M); + } + function A(M) { + function F(z, $, V, q, K) { + if (!(z[$] instanceof M)) { + var X = M.name || h, + J = O(z[$]); + return new b( + "Invalid " + + q + + " `" + + K + + "` of type " + + ("`" + J + "` supplied to `" + V + "`, expected ") + + ("instance of `" + X + "`."), + ); + } + return null; + } + return C(F); + } + function T(M) { + if (!Array.isArray(M)) + return ( + process.env.NODE_ENV !== "production" && + (arguments.length > 1 + ? a( + "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]).", + ) + : a("Invalid argument supplied to oneOf, expected an array.")), + i + ); + function F(z, $, V, q, K) { + for (var X = z[$], J = 0; J < M.length; J++) + if (m(X, M[J])) return null; + var te = JSON.stringify(M, function (se, G) { + var ye = D(G); + return ye === "symbol" ? String(G) : G; + }); return new b( - "Invalid " + q + " `" + K + "` of type " + ("`" + Z + "` supplied to `" + V + "`, expected ") + ("`" + M + "`."), - { expectedType: M } + "Invalid " + + q + + " `" + + K + + "` of value `" + + String(X) + + "` " + + ("supplied to `" + V + "`, expected one of " + te + "."), ); } - return null; + return C(F); } - return C(F); - } - function v() { - return C(i); - } - function y(M) { - function F(z, $, V, q, K) { - if (typeof M != "function") - return new b("Property `" + K + "` of component `" + V + "` has invalid PropType notation inside arrayOf."); - var X = z[$]; - if (!Array.isArray(X)) { - var J = S(X); - return new b("Invalid " + q + " `" + K + "` of type " + ("`" + J + "` supplied to `" + V + "`, expected an array.")); + function k(M) { + function F(z, $, V, q, K) { + if (typeof M != "function") + return new b( + "Property `" + + K + + "` of component `" + + V + + "` has invalid PropType notation inside objectOf.", + ); + var X = z[$], + J = S(X); + if (J !== "object") + return new b( + "Invalid " + + q + + " `" + + K + + "` of type " + + ("`" + J + "` supplied to `" + V + "`, expected an object."), + ); + for (var te in X) + if (o(X, te)) { + var Z = M(X, te, V, q, K + "." + te, n); + if (Z instanceof Error) return Z; + } + return null; + } + return C(F); + } + function R(M) { + if (!Array.isArray(M)) + return ( + process.env.NODE_ENV !== "production" && + a( + "Invalid argument supplied to oneOfType, expected an instance of array.", + ), + i + ); + for (var F = 0; F < M.length; F++) { + var z = M[F]; + if (typeof z != "function") + return ( + a( + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + + j(z) + + " at index " + + F + + ".", + ), + i + ); } - for (var te = 0; te < X.length; te++) { - var Z = M(X, te, V, q, K + "[" + te + "]", n); - if (Z instanceof Error) - return Z; + function $(V, q, K, X, J) { + for (var te = [], Z = 0; Z < M.length; Z++) { + var se = M[Z], + G = se(V, q, K, X, J, n); + if (G == null) return null; + G.data && o(G.data, "expectedType") && te.push(G.data.expectedType); + } + var ye = + te.length > 0 + ? ", expected one of type [" + te.join(", ") + "]" + : ""; + return new b( + "Invalid " + + X + + " `" + + J + + "` supplied to " + + ("`" + K + "`" + ye + "."), + ); } - return null; + return C($); } - return C(F); - } - function E() { - function M(F, z, $, V, q) { - var K = F[z]; - if (!l(K)) { - var X = S(K); - return new b("Invalid " + V + " `" + q + "` of type " + ("`" + X + "` supplied to `" + $ + "`, expected a single ReactElement.")); + function L() { + function M(F, z, $, V, q) { + return w(F[z]) + ? null + : new b( + "Invalid " + + V + + " `" + + q + + "` supplied to " + + ("`" + $ + "`, expected a ReactNode."), + ); } - return null; + return C(M); } - return C(M); - } - function x() { - function M(F, z, $, V, q) { - var K = F[z]; - if (!e.isValidElementType(K)) { - var X = S(K); - return new b("Invalid " + V + " `" + q + "` of type " + ("`" + X + "` supplied to `" + $ + "`, expected a single ReactElement type.")); + function I(M, F, z, $, V) { + return new b( + (M || "React class") + + ": " + + F + + " type `" + + z + + "." + + $ + + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + + V + + "`.", + ); + } + function W(M) { + function F(z, $, V, q, K) { + var X = z[$], + J = S(X); + if (J !== "object") + return new b( + "Invalid " + + q + + " `" + + K + + "` of type `" + + J + + "` " + + ("supplied to `" + V + "`, expected `object`."), + ); + for (var te in M) { + var Z = M[te]; + if (typeof Z != "function") return I(V, q, K, te, D(Z)); + var se = Z(X, te, V, q, K + "." + te, n); + if (se) return se; + } + return null; } - return null; + return C(F); } - return C(M); - } - function A(M) { - function F(z, $, V, q, K) { - if (!(z[$] instanceof M)) { - var X = M.name || h, J = O(z[$]); - return new b("Invalid " + q + " `" + K + "` of type " + ("`" + J + "` supplied to `" + V + "`, expected ") + ("instance of `" + X + "`.")); + function B(M) { + function F(z, $, V, q, K) { + var X = z[$], + J = S(X); + if (J !== "object") + return new b( + "Invalid " + + q + + " `" + + K + + "` of type `" + + J + + "` " + + ("supplied to `" + V + "`, expected `object`."), + ); + var te = t({}, z[$], M); + for (var Z in te) { + var se = M[Z]; + if (o(M, Z) && typeof se != "function") return I(V, q, K, Z, D(se)); + if (!se) + return new b( + "Invalid " + + q + + " `" + + K + + "` key `" + + Z + + "` supplied to `" + + V + + "`.\nBad object: " + + JSON.stringify(z[$], null, " ") + + ` +Valid keys: ` + + JSON.stringify(Object.keys(M), null, " "), + ); + var G = se(X, Z, V, q, K + "." + Z, n); + if (G) return G; + } + return null; } - return null; + return C(F); } - return C(F); - } - function T(M) { - if (!Array.isArray(M)) - return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a( - "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])." - ) : a("Invalid argument supplied to oneOf, expected an array.")), i; - function F(z, $, V, q, K) { - for (var X = z[$], J = 0; J < M.length; J++) - if (m(X, M[J])) - return null; - var te = JSON.stringify(M, function(se, G) { - var ye = D(G); - return ye === "symbol" ? String(G) : G; - }); - return new b("Invalid " + q + " `" + K + "` of value `" + String(X) + "` " + ("supplied to `" + V + "`, expected one of " + te + ".")); + function w(M) { + switch (typeof M) { + case "number": + case "string": + case "undefined": + return !0; + case "boolean": + return !M; + case "object": + if (Array.isArray(M)) return M.every(w); + if (M === null || l(M)) return !0; + var F = d(M); + if (F) { + var z = F.call(M), + $; + if (F !== M.entries) { + for (; !($ = z.next()).done; ) if (!w($.value)) return !1; + } else + for (; !($ = z.next()).done; ) { + var V = $.value; + if (V && !w(V[1])) return !1; + } + } else return !1; + return !0; + default: + return !1; + } } - return C(F); - } - function k(M) { - function F(z, $, V, q, K) { - if (typeof M != "function") - return new b("Property `" + K + "` of component `" + V + "` has invalid PropType notation inside objectOf."); - var X = z[$], J = S(X); - if (J !== "object") - return new b("Invalid " + q + " `" + K + "` of type " + ("`" + J + "` supplied to `" + V + "`, expected an object.")); - for (var te in X) - if (o(X, te)) { - var Z = M(X, te, V, q, K + "." + te, n); - if (Z instanceof Error) - return Z; - } - return null; + function N(M, F) { + return M === "symbol" + ? !0 + : F + ? F["@@toStringTag"] === "Symbol" || + (typeof Symbol == "function" && F instanceof Symbol) + : !1; } - return C(F); - } - function R(M) { - if (!Array.isArray(M)) - return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i; - for (var F = 0; F < M.length; F++) { - var z = M[F]; - if (typeof z != "function") - return a( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + j(z) + " at index " + F + "." - ), i; + function S(M) { + var F = typeof M; + return Array.isArray(M) + ? "array" + : M instanceof RegExp + ? "object" + : N(F, M) + ? "symbol" + : F; } - function $(V, q, K, X, J) { - for (var te = [], Z = 0; Z < M.length; Z++) { - var se = M[Z], G = se(V, q, K, X, J, n); - if (G == null) - return null; - G.data && o(G.data, "expectedType") && te.push(G.data.expectedType); + function D(M) { + if (typeof M > "u" || M === null) return "" + M; + var F = S(M); + if (F === "object") { + if (M instanceof Date) return "date"; + if (M instanceof RegExp) return "regexp"; } - var ye = te.length > 0 ? ", expected one of type [" + te.join(", ") + "]" : ""; - return new b("Invalid " + X + " `" + J + "` supplied to " + ("`" + K + "`" + ye + ".")); + return F; } - return C($); - } - function L() { - function M(F, z, $, V, q) { - return w(F[z]) ? null : new b("Invalid " + V + " `" + q + "` supplied to " + ("`" + $ + "`, expected a ReactNode.")); + function j(M) { + var F = D(M); + switch (F) { + case "array": + case "object": + return "an " + F; + case "boolean": + case "date": + case "regexp": + return "a " + F; + default: + return F; + } + } + function O(M) { + return !M.constructor || !M.constructor.name ? h : M.constructor.name; + } + return ( + (g.checkPropTypes = r), + (g.resetWarningCache = r.resetWarningCache), + (g.PropTypes = g), + g + ); + }), + Li + ); +} +var ji, f2; +function _6() { + if (f2) return ji; + f2 = 1; + var e = nl(); + function t() {} + function n() {} + return ( + (n.resetWarningCache = t), + (ji = function () { + function o(i, 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 a = { + 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 (a.PropTypes = a), a; + }), + ji + ); +} +if (process.env.NODE_ENV !== "production") { + var S6 = s0(), + k6 = !0; + f1.exports = E6()(S6.isElement, k6); +} else f1.exports = _6()(); +var A6 = f1.exports; +const Q = /* @__PURE__ */ ro(A6); +var Ar = function (t) { + return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); + }, + At = { + id: "__id__", + display: "__display__", + }, + g2 = function (t, n) { + Gn( + n === "id" || n === "display", + 'Second arg must be either "id" or "display", got: "'.concat(n, '"'), + ); + var o = t.indexOf(At.display), + r = t.indexOf(At.id); + return ( + o < 0 && (o = null), + r < 0 && (r = null), + Gn( + 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 + ); + }, + M6 = function (t) { + var n = /^\/(.+)\/(\w+)?$/; + return new RegExp( + t + .map(function (o) { + var r = n.exec(o.toString()), + a = Pr(r, 3), + i = a[1], + l = a[2]; + return ( + Gn( + !l, + "RegExp flags are not supported. Change /" + .concat(i, "/") + .concat(l, " into /") + .concat(i, "/"), + ), + "(".concat(i, ")") + ); + }) + .join("|"), + "g", + ); + }, + u0 = function (t) { + var n = 0; + return ( + t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n + ); + }, + T6 = function () {}, + Uo = function (t, n, o) { + for ( + var r = + arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : T6, + a = M6( + n.map(function (x) { + return x.regex; + }), + ), + i = 2, + l = n.map(function (x) { + var A = x.markup, + T = i; + return (i += u0(A) + 1), T; + }), + s, + u = 0, + c = 0; + (s = a.exec(t)) !== null; + + ) { + var d = l.find(function (x) { + return !!s[x]; + }), + h = l.indexOf(d), + g = n[h], + m = g.markup, + b = g.displayTransform, + C = d + g2(m, "id"), + p = d + g2(m, "display"), + v = s[C], + y = b(v, s[p]), + E = t.substring(u, s.index); + r(E, u, c), + (c += E.length), + o(s[0], s.index, c, v, y, h, u), + (c += y.length), + (u = a.lastIndex); + } + u < t.length && r(t.substring(u), u, c); + }, + mn = function (t, n) { + var o = ""; + return ( + Uo( + t, + n, + function (r, a, i, l, s) { + o += s; + }, + function (r) { + o += r; + }, + ), + o + ); + }, + Ge = function (t, n, o) { + var r = + arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "START"; + if (typeof o != "number") return o; + var a, + i = function (u, c, d) { + a === void 0 && d + u.length >= o && (a = c + o - d); + }, + l = function (u, c, d, h, g, m, b) { + a === void 0 && + d + g.length > o && + (r === "NULL" ? (a = null) : (a = c + (r === "END" ? u.length : 0))); + }; + return Uo(t, n, l, i), a === void 0 ? t.length : a; + }, + Eo = function (t, n, o, r) { + return t.substring(0, n) + r + t.substring(o); + }, + N6 = function (t, n, o, r) { + var a = o.selectionStartBefore, + i = o.selectionEndBefore, + l = o.selectionEndAfter, + s = mn(t, r), + u = s.length - n.length; + a === "undefined" && (a = l + u), + i === "undefined" && (i = a), + a === i && i === l && s.length === n.length && (a = a - 1); + var c = n.slice(a, l), + d = Math.min(a, l), + h = i; + a === l && (h = Math.max(i, a + u)); + var g = Ge(t, r, d, "START"), + m = Ge(t, r, h, "END"), + b = Ge(t, r, d, "NULL"), + C = Ge(t, r, h, "NULL"), + p = b === null || C === null, + v = Eo(t, g, m, c); + if (!p) { + var y = mn(v, r); + if (y !== n) { + for (d = 0; n[d] === y[d]; ) d++; + (c = n.slice(d, l)), + (h = s.lastIndexOf(n.substring(l))), + (g = Ge(t, r, d, "START")), + (m = Ge(t, r, h, "END")), + (v = Eo(t, g, m, c)); } - return C(M); } - function I(M, F, z, $, V) { - return new b( - (M || "React class") + ": " + F + " type `" + z + "." + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + V + "`." + return v; + }, + h2 = function (t, n, o) { + var r = o, + a = !1, + i = function (s, u, c, d, h, g, m) { + c <= o && c + h.length > o && ((r = c), (a = !0)); + }; + if ((Uo(t, n, i), a)) return r; + }, + Co = function (t, n) { + var o = []; + return ( + Uo(t, n, function (r, a, i, l, s, u, c) { + o.push({ + id: l, + display: s, + childIndex: u, + index: a, + plainTextIndex: i, + }); + }), + o + ); + }, + d0 = function (t, n) { + return "".concat(t, "-").concat(n); + }, + cr = function (t) { + return Object.values(t).reduce(function (n, o) { + var r = o.results; + return n + r.length; + }, 0); + }, + D6 = function (t, n) { + var o = Co(t, n), + r = o[o.length - 1]; + return r ? r.plainTextIndex + r.display.length : 0; + }, + O6 = function (t) { + var n = Ar(t), + o = t[t.indexOf(At.display) + At.display.length], + r = t[t.indexOf(At.id) + At.id.length]; + return new RegExp( + n + .replace(At.display, "([^".concat(Ar(o || ""), "]+?)")) + .replace(At.id, "([^".concat(Ar(r || ""), "]+?)")), + ); + }, + tn = function (t) { + return qn.toArray(t).map(function (n) { + var o = n.props, + r = o.markup, + a = o.regex, + i = o.displayTransform; + return { + markup: r, + regex: a ? L6(a, r) : O6(r), + displayTransform: + i || + function (l, s) { + return s || l; + }, + }; + }); + }, + L6 = function (t, n) { + var o = new RegExp(t.toString() + "|").exec("").length - 1, + r = u0(n); + return ( + Gn( + 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 + ); + }, + j6 = function (t, n, o) { + return t.replace(At.id, n).replace(At.display, o); + }, + R6 = [ + { + 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, + }, + ], + H6 = function (t) { + var n = t; + return ( + R6.forEach(function (o) { + n = n.replace(o.letters, o.base); + }), + n + ); + }, + p2 = function (t) { + return H6(t).toLowerCase(); + }, + f0 = function (t, n, o) { + return o ? p2(t).indexOf(p2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); + }, + F6 = function () { + return !!document.documentMode; + }, + g1 = function (t) { + return typeof t == "number"; + }, + I6 = function (t) { + return t === Object(t) ? Object.keys(t) : []; + }, + z6 = function (t) { + for ( + var n, o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), a = 1; + a < o; + a++ + ) + r[a - 1] = arguments[a]; + var i = (n = []).concat.apply(n, r); + return Object.keys(t).reduce(function (l, s) { + return ( + t.hasOwnProperty(s) && + !i.includes(s) && + t[s] !== void 0 && + (l[s] = t[s]), + l ); - } - function W(M) { - function F(z, $, V, q, K) { - var X = z[$], J = S(X); - if (J !== "object") - return new b("Invalid " + q + " `" + K + "` of type `" + J + "` " + ("supplied to `" + V + "`, expected `object`.")); - for (var te in M) { - var Z = M[te]; - if (typeof Z != "function") - return I(V, q, K, te, D(Z)); - var se = Z(X, te, V, q, K + "." + te, n); - if (se) - return se; - } - return null; - } - return C(F); - } - function B(M) { - function F(z, $, V, q, K) { - var X = z[$], J = S(X); - if (J !== "object") - return new b("Invalid " + q + " `" + K + "` of type `" + J + "` " + ("supplied to `" + V + "`, expected `object`.")); - var te = t({}, z[$], M); - for (var Z in te) { - var se = M[Z]; - if (o(M, Z) && typeof se != "function") - return I(V, q, K, Z, D(se)); - if (!se) - return new b( - "Invalid " + q + " `" + K + "` key `" + Z + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(z[$], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(M), null, " ") - ); - var G = se(X, Z, V, q, K + "." + Z, n); - if (G) - return G; - } - return null; - } - return C(F); - } - function w(M) { - switch (typeof M) { - case "number": - case "string": - case "undefined": - return !0; - case "boolean": - return !M; - case "object": - if (Array.isArray(M)) - return M.every(w); - if (M === null || l(M)) - return !0; - var F = d(M); - if (F) { - var z = F.call(M), $; - if (F !== M.entries) { - for (; !($ = z.next()).done; ) - if (!w($.value)) - return !1; - } else - for (; !($ = z.next()).done; ) { - var V = $.value; - if (V && !w(V[1])) - return !1; - } - } else - return !1; - return !0; - default: - return !1; - } - } - function N(M, F) { - return M === "symbol" ? !0 : F ? F["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && F instanceof Symbol : !1; - } - function S(M) { - var F = typeof M; - return Array.isArray(M) ? "array" : M instanceof RegExp ? "object" : N(F, M) ? "symbol" : F; - } - function D(M) { - if (typeof M > "u" || M === null) - return "" + M; - var F = S(M); - if (F === "object") { - if (M instanceof Date) - return "date"; - if (M instanceof RegExp) - return "regexp"; - } - return F; - } - function j(M) { - var F = D(M); - switch (F) { - case "array": - case "object": - return "an " + F; - case "boolean": - case "date": - case "regexp": - return "a " + F; - default: - return F; - } - } - function O(M) { - return !M.constructor || !M.constructor.name ? h : M.constructor.name; - } - return g.checkPropTypes = r, g.resetWarningCache = r.resetWarningCache, g.PropTypes = g, g; - }, Li; -} -var ji, f2; -function _6() { - if (f2) return ji; - f2 = 1; - var e = nl(); - function t() { - } - function n() { - } - return n.resetWarningCache = t, ji = function() { - function o(i, 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 a = { - 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 a.PropTypes = a, a; - }, ji; -} -if (process.env.NODE_ENV !== "production") { - var S6 = s0(), k6 = !0; - f1.exports = E6()(S6.isElement, k6); -} else - f1.exports = _6()(); -var A6 = f1.exports; -const Q = /* @__PURE__ */ ro(A6); -var Ar = function(t) { - return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); -}, At = { - id: "__id__", - display: "__display__" -}, g2 = function(t, n) { - Gn(n === "id" || n === "display", 'Second arg must be either "id" or "display", got: "'.concat(n, '"')); - var o = t.indexOf(At.display), r = t.indexOf(At.id); - return o < 0 && (o = null), r < 0 && (r = null), Gn(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; -}, M6 = function(t) { - var n = /^\/(.+)\/(\w+)?$/; - return new RegExp(t.map(function(o) { - var r = n.exec(o.toString()), a = Pr(r, 3), i = a[1], l = a[2]; - return Gn(!l, "RegExp flags are not supported. Change /".concat(i, "/").concat(l, " into /").concat(i, "/")), "(".concat(i, ")"); - }).join("|"), "g"); -}, u0 = function(t) { - var n = 0; - return t.indexOf("__id__") >= 0 && n++, t.indexOf("__display__") >= 0 && n++, n; -}, T6 = function() { -}, Uo = function(t, n, o) { - for (var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : T6, a = M6(n.map(function(x) { - return x.regex; - })), i = 2, l = n.map(function(x) { - var A = x.markup, T = i; - return i += u0(A) + 1, T; - }), s, u = 0, c = 0; (s = a.exec(t)) !== null; ) { - var d = l.find(function(x) { - return !!s[x]; - }), h = l.indexOf(d), g = n[h], m = g.markup, b = g.displayTransform, C = d + g2(m, "id"), p = d + g2(m, "display"), v = s[C], y = b(v, s[p]), E = t.substring(u, s.index); - r(E, u, c), c += E.length, o(s[0], s.index, c, v, y, h, u), c += y.length, u = a.lastIndex; - } - u < t.length && r(t.substring(u), u, c); -}, mn = function(t, n) { - var o = ""; - return Uo(t, n, function(r, a, i, l, s) { - o += s; - }, function(r) { - o += r; - }), o; -}, Ge = function(t, n, o) { - var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "START"; - if (typeof o != "number") - return o; - var a, i = function(u, c, d) { - a === void 0 && d + u.length >= o && (a = c + o - d); - }, l = function(u, c, d, h, g, m, b) { - a === void 0 && d + g.length > o && (r === "NULL" ? a = null : a = c + (r === "END" ? u.length : 0)); - }; - return Uo(t, n, l, i), a === void 0 ? t.length : a; -}, Eo = function(t, n, o, r) { - return t.substring(0, n) + r + t.substring(o); -}, N6 = function(t, n, o, r) { - var a = o.selectionStartBefore, i = o.selectionEndBefore, l = o.selectionEndAfter, s = mn(t, r), u = s.length - n.length; - a === "undefined" && (a = l + u), i === "undefined" && (i = a), a === i && i === l && s.length === n.length && (a = a - 1); - var c = n.slice(a, l), d = Math.min(a, l), h = i; - a === l && (h = Math.max(i, a + u)); - var g = Ge(t, r, d, "START"), m = Ge(t, r, h, "END"), b = Ge(t, r, d, "NULL"), C = Ge(t, r, h, "NULL"), p = b === null || C === null, v = Eo(t, g, m, c); - if (!p) { - var y = mn(v, r); - if (y !== n) { - for (d = 0; n[d] === y[d]; ) - d++; - c = n.slice(d, l), h = s.lastIndexOf(n.substring(l)), g = Ge(t, r, d, "START"), m = Ge(t, r, h, "END"), v = Eo(t, g, m, c); - } - } - return v; -}, h2 = function(t, n, o) { - var r = o, a = !1, i = function(s, u, c, d, h, g, m) { - c <= o && c + h.length > o && (r = c, a = !0); - }; - if (Uo(t, n, i), a) - return r; -}, Co = function(t, n) { - var o = []; - return Uo(t, n, function(r, a, i, l, s, u, c) { - o.push({ - id: l, - display: s, - childIndex: u, - index: a, - plainTextIndex: i - }); - }), o; -}, d0 = function(t, n) { - return "".concat(t, "-").concat(n); -}, cr = function(t) { - return Object.values(t).reduce(function(n, o) { - var r = o.results; - return n + r.length; - }, 0); -}, D6 = function(t, n) { - var o = Co(t, n), r = o[o.length - 1]; - return r ? r.plainTextIndex + r.display.length : 0; -}, O6 = function(t) { - var n = Ar(t), o = t[t.indexOf(At.display) + At.display.length], r = t[t.indexOf(At.id) + At.id.length]; - return new RegExp(n.replace(At.display, "([^".concat(Ar(o || ""), "]+?)")).replace(At.id, "([^".concat(Ar(r || ""), "]+?)"))); -}, tn = function(t) { - return qn.toArray(t).map(function(n) { - var o = n.props, r = o.markup, a = o.regex, i = o.displayTransform; - return { - markup: r, - regex: a ? L6(a, r) : O6(r), - displayTransform: i || function(l, s) { - return s || l; - } - }; - }); -}, L6 = function(t, n) { - var o = new RegExp(t.toString() + "|").exec("").length - 1, r = u0(n); - return Gn(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; -}, j6 = function(t, n, o) { - return t.replace(At.id, n).replace(At.display, o); -}, R6 = [{ - 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 -}], H6 = function(t) { - var n = t; - return R6.forEach(function(o) { - n = n.replace(o.letters, o.base); - }), n; -}, p2 = function(t) { - return H6(t).toLowerCase(); -}, f0 = function(t, n, o) { - return o ? p2(t).indexOf(p2(n)) : t.toLowerCase().indexOf(n.toLowerCase()); -}, F6 = function() { - return !!document.documentMode; -}, g1 = function(t) { - return typeof t == "number"; -}, I6 = function(t) { - return t === Object(t) ? Object.keys(t) : []; -}, z6 = function(t) { - for (var n, o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), a = 1; a < o; a++) - r[a - 1] = arguments[a]; - var i = (n = []).concat.apply(n, r); - return Object.keys(t).reduce(function(l, s) { - return t.hasOwnProperty(s) && !i.includes(s) && t[s] !== void 0 && (l[s] = t[s]), l; - }, {}); -}, P6 = ["style", "className", "classNames"]; + }, {}); + }, + P6 = ["style", "className", "classNames"]; 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); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } function b2(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) { - ce(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)); - }); + t % 2 + ? m2(Object(n), !0).forEach(function (o) { + ce(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 fa(e, t) { - var n = function(r) { - var a = function(s) { - var u = s.style, c = s.className, d = s.classNames, h = t6(s, P6), g = t ? t(h) : void 0, m = tl(e, { - style: u, - className: c, - classNames: d - }, g); - return /* @__PURE__ */ P.createElement(r, ct({}, h, { - style: m - })); - }, i = r.displayName || r.name || "Component"; - return a.displayName = "defaultStyle(".concat(i, ")"), /* @__PURE__ */ P.forwardRef(function(l, s) { - return a(b2(b2({}, l), {}, { - ref: s - })); - }); + var n = function (r) { + var a = function (s) { + var u = s.style, + c = s.className, + d = s.classNames, + h = t6(s, P6), + g = t ? t(h) : void 0, + m = tl( + e, + { + style: u, + className: c, + classNames: d, + }, + g, + ); + return /* @__PURE__ */ P.createElement( + r, + ct({}, h, { + style: m, + }), + ); + }, + i = r.displayName || r.name || "Component"; + return ( + (a.displayName = "defaultStyle(".concat(i, ")")), + /* @__PURE__ */ P.forwardRef(function (l, s) { + return a( + b2( + b2({}, l), + {}, + { + ref: s, + }, + ), + ); + }) + ); }; return n; } -var B6 = function(t, n) { - return t.hasOwnProperty(n) ? t[n]++ : t[n] = 0, n + "_" + t[n]; +var B6 = function (t, n) { + return t.hasOwnProperty(n) ? t[n]++ : (t[n] = 0), n + "_" + t[n]; }; function g0(e) { - var t = e.selectionStart, n = e.selectionEnd, o = e.value, r = o === void 0 ? "" : o, a = e.onCaretPositionChange, i = e.containerRef, l = e.children; + var t = e.selectionStart, + n = e.selectionEnd, + o = e.value, + r = o === void 0 ? "" : o, + a = e.onCaretPositionChange, + i = e.containerRef, + l = e.children; e.singleLine; - var s = e.style, u = ae({ - left: void 0, - top: void 0 - }), c = Pr(u, 2), d = c[0], h = c[1], g = ae(), m = Pr(g, 2), b = m[0], C = m[1]; - re(function() { + var s = e.style, + u = ae({ + left: void 0, + top: void 0, + }), + c = Pr(u, 2), + d = c[0], + h = c[1], + g = ae(), + m = Pr(g, 2), + b = m[0], + C = m[1]; + re(function () { p(); }); - var p = function() { - if (b) { - var w = b.offsetLeft, N = b.offsetTop; - if (!(d.left === w && d.top === N)) { - var S = { - left: w, - top: N - }; - h(S), a(S); + var p = function () { + if (b) { + var w = b.offsetLeft, + N = b.offsetTop; + if (!(d.left === w && d.top === N)) { + var S = { + left: w, + top: N, + }; + h(S), a(S); + } } - } - }, v = tn(l), y; + }, + v = tn(l), + y; n === t && (y = Ge(r, v, t, "START")); - var E = [], x = {}, A = E, T = 0, k = function(w, N, S) { - if (g1(y) && y >= N && y <= N + w.length) { - var D = y - N; - A.push(L(w.substring(0, D), T)), A = [L(w.substring(D), T)]; - } else - A.push(L(w, T)); - T++; - }, R = function(w, N, S, D, j, O, M) { - var F = B6(x, D); - A.push(I(D, j, O, F)); - }, L = function(w, N) { - return /* @__PURE__ */ P.createElement("span", ct({}, s("substring"), { - key: N - }), w); - }, I = function(w, N, S, D) { - var j = { - id: w, - display: N, - key: D - }, O = qn.toArray(l)[S]; - return /* @__PURE__ */ P.cloneElement(O, j); - }, W = function(w) { - return /* @__PURE__ */ P.createElement("span", ct({}, s("caret"), { - ref: C, - key: "caret" - }), w); - }; - return Uo(r, v, R, k), A.push(" "), A !== E && E.push(W(A)), /* @__PURE__ */ P.createElement("div", ct({}, s, { - ref: i - }), E); + var E = [], + x = {}, + A = E, + T = 0, + k = function (w, N, S) { + if (g1(y) && y >= N && y <= N + w.length) { + var D = y - N; + A.push(L(w.substring(0, D), T)), (A = [L(w.substring(D), T)]); + } else A.push(L(w, T)); + T++; + }, + R = function (w, N, S, D, j, O, M) { + var F = B6(x, D); + A.push(I(D, j, O, F)); + }, + L = function (w, N) { + return /* @__PURE__ */ P.createElement( + "span", + ct({}, s("substring"), { + key: N, + }), + w, + ); + }, + I = function (w, N, S, D) { + var j = { + id: w, + display: N, + key: D, + }, + O = qn.toArray(l)[S]; + return /* @__PURE__ */ P.cloneElement(O, j); + }, + W = function (w) { + return /* @__PURE__ */ P.createElement( + "span", + ct({}, s("caret"), { + ref: C, + key: "caret", + }), + w, + ); + }; + return ( + Uo(r, v, R, k), + A.push(" "), + A !== E && E.push(W(A)), + /* @__PURE__ */ P.createElement( + "div", + ct({}, s, { + ref: i, + }), + E, + ) + ); } g0.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 + 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 V6 = fa({ - 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 - }; -}), W6 = V6(g0); +var V6 = fa( + { + 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, + }; + }, + ), + W6 = V6(g0); function h0(e) { - var t = e.id, n = e.focused, o = e.ignoreAccents, r = e.index, a = e.onClick, i = e.onMouseEnter, l = e.query, s = e.renderSuggestion, u = e.suggestion, c = e.style; + var t = e.id, + n = e.focused, + o = e.ignoreAccents, + r = e.index, + a = e.onClick, + i = e.onMouseEnter, + l = e.query, + s = e.renderSuggestion, + u = e.suggestion, + c = e.style; e.className, e.classNames; var d = { - onClick: a, - onMouseEnter: i - }, h = function() { - var C = g(), p = m(C); - return s ? s(u, l, p, r, n) : p; - }, g = function() { - if (typeof u == "string") - return u; - var C = u.id, p = u.display; - return C === void 0 || !p ? C : p; - }, m = function(C) { - var p = f0(C, l, o); - return p === -1 ? /* @__PURE__ */ P.createElement("span", c("display"), C) : /* @__PURE__ */ P.createElement("span", c("display"), C.substring(0, p), /* @__PURE__ */ P.createElement("b", c("highlight"), C.substring(p, p + l.length)), C.substring(p + l.length)); - }; - return /* @__PURE__ */ P.createElement("li", ct({ - id: t, - role: "option", - "aria-selected": n - }, d, c), h()); + onClick: a, + onMouseEnter: i, + }, + h = function () { + var C = g(), + p = m(C); + return s ? s(u, l, p, r, n) : p; + }, + g = function () { + if (typeof u == "string") return u; + var C = u.id, + p = u.display; + return C === void 0 || !p ? C : p; + }, + m = function (C) { + var p = f0(C, l, o); + return p === -1 + ? /* @__PURE__ */ P.createElement("span", c("display"), C) + : /* @__PURE__ */ P.createElement( + "span", + c("display"), + C.substring(0, p), + /* @__PURE__ */ P.createElement( + "b", + c("highlight"), + C.substring(p, p + l.length), + ), + C.substring(p + l.length), + ); + }; + return /* @__PURE__ */ P.createElement( + "li", + ct( + { + id: t, + role: "option", + "aria-selected": n, + }, + d, + c, + ), + h(), + ); } h0.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, + 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 + focused: Q.bool, }; -var $6 = fa({ - cursor: "pointer" -}, function(e) { - return { - "&focused": e.focused - }; -}), Z6 = $6(h0); +var $6 = fa( + { + cursor: "pointer", + }, + function (e) { + return { + "&focused": e.focused, + }; + }, + ), + Z6 = $6(h0); function U6(e) { - var t = e.style, n = e.className, o = e.classNames, r = tl(q6, { - style: t, - className: n, - classNames: o - }), a = r("spinner"); - return /* @__PURE__ */ P.createElement("div", r, /* @__PURE__ */ P.createElement("div", a, /* @__PURE__ */ P.createElement("div", a(["element", "element1"])), /* @__PURE__ */ P.createElement("div", a(["element", "element2"])), /* @__PURE__ */ P.createElement("div", a(["element", "element3"])), /* @__PURE__ */ P.createElement("div", a(["element", "element4"])), /* @__PURE__ */ P.createElement("div", a(["element", "element5"])))); + var t = e.style, + n = e.className, + o = e.classNames, + r = tl(q6, { + style: t, + className: n, + classNames: o, + }), + a = r("spinner"); + return /* @__PURE__ */ P.createElement( + "div", + r, + /* @__PURE__ */ P.createElement( + "div", + a, + /* @__PURE__ */ P.createElement("div", a(["element", "element1"])), + /* @__PURE__ */ P.createElement("div", a(["element", "element2"])), + /* @__PURE__ */ P.createElement("div", a(["element", "element3"])), + /* @__PURE__ */ P.createElement("div", a(["element", "element4"])), + /* @__PURE__ */ P.createElement("div", a(["element", "element5"])), + ), + ); } var q6 = {}; function p0(e) { - var t = e.id, n = e.suggestions, o = n === void 0 ? {} : n, r = e.a11ySuggestionsListLabel, a = e.focusIndex, i = e.position, l = e.left, s = e.right, u = e.top, c = e.scrollFocusedIntoView, d = e.isLoading, h = e.isOpened, g = e.onSelect, m = g === void 0 ? function() { - return null; - } : g, b = e.ignoreAccents, C = e.containerRef, p = e.children, v = e.style, y = e.customSuggestionsContainer, E = e.onMouseDown, x = e.onMouseEnter, A = ae(void 0), T = Pr(A, 2), k = T[0], R = T[1]; - re(function() { - if (!(!k || k.offsetHeight >= k.scrollHeight || !c)) { - var S = k.scrollTop, D = k.children[a].getBoundingClientRect(), j = D.top, O = D.bottom, M = k.getBoundingClientRect(), F = M.top; - j = j - F + S, O = O - F + S, j < S ? k.scrollTop = j : O > k.offsetHeight && (k.scrollTop = O - k.offsetHeight); - } - }, [a, c, k]); - var L = function() { - var D = /* @__PURE__ */ P.createElement("ul", ct({ - ref: R, - id: t, - role: "listbox", - "aria-label": r - }, v("list")), Object.values(o).reduce(function(j, O) { - var M = O.results, F = O.queryInfo; - return [].concat(Ir(j), Ir(M.map(function(z, $) { - return I(z, F, j.length + $); - }))); - }, [])); - return y ? y(D) : D; - }, I = function(D, j, O) { - var M = O === a, F = j.childIndex, z = j.query, $ = qn.toArray(p)[F].props.renderSuggestion; - return /* @__PURE__ */ P.createElement(Z6, { - style: v("item"), - key: "".concat(F, "-").concat(N(D)), - id: d0(t, O), - query: z, - index: O, - ignoreAccents: b, - renderSuggestion: $, - suggestion: D, - focused: M, - onClick: function() { - return w(D, j); - }, - onMouseEnter: function() { - return B(O); + var t = e.id, + n = e.suggestions, + o = n === void 0 ? {} : n, + r = e.a11ySuggestionsListLabel, + a = e.focusIndex, + i = e.position, + l = e.left, + s = e.right, + u = e.top, + c = e.scrollFocusedIntoView, + d = e.isLoading, + h = e.isOpened, + g = e.onSelect, + m = + g === void 0 + ? function () { + return null; + } + : g, + b = e.ignoreAccents, + C = e.containerRef, + p = e.children, + v = e.style, + y = e.customSuggestionsContainer, + E = e.onMouseDown, + x = e.onMouseEnter, + A = ae(void 0), + T = Pr(A, 2), + k = T[0], + R = T[1]; + re( + function () { + if (!(!k || k.offsetHeight >= k.scrollHeight || !c)) { + var S = k.scrollTop, + D = k.children[a].getBoundingClientRect(), + j = D.top, + O = D.bottom, + M = k.getBoundingClientRect(), + F = M.top; + (j = j - F + S), + (O = O - F + S), + j < S + ? (k.scrollTop = j) + : O > k.offsetHeight && (k.scrollTop = O - k.offsetHeight); } - }); - }, W = function() { - if (d) - return /* @__PURE__ */ P.createElement(U6, { - style: v("loadingIndicator") + }, + [a, c, k], + ); + var L = function () { + var D = /* @__PURE__ */ P.createElement( + "ul", + ct( + { + ref: R, + id: t, + role: "listbox", + "aria-label": r, + }, + v("list"), + ), + Object.values(o).reduce(function (j, O) { + var M = O.results, + F = O.queryInfo; + return [].concat( + Ir(j), + Ir( + M.map(function (z, $) { + return I(z, F, j.length + $); + }), + ), + ); + }, []), + ); + return y ? y(D) : D; + }, + I = function (D, j, O) { + var M = O === a, + F = j.childIndex, + z = j.query, + $ = qn.toArray(p)[F].props.renderSuggestion; + return /* @__PURE__ */ P.createElement(Z6, { + style: v("item"), + key: "".concat(F, "-").concat(N(D)), + id: d0(t, O), + query: z, + index: O, + ignoreAccents: b, + renderSuggestion: $, + suggestion: D, + focused: M, + onClick: function () { + return w(D, j); + }, + onMouseEnter: function () { + return B(O); + }, }); - }, B = function(D, j) { - x && x(D); - }, w = function(D, j) { - m(D, j); - }, N = function(D) { - return typeof D == "string" ? D : D.id; - }; - return h ? /* @__PURE__ */ P.createElement("div", ct({}, C6({ - position: i || "absolute", - left: l, - right: s, - top: u - }, v), { - onMouseDown: E, - ref: C - }), L(), W()) : null; + }, + W = function () { + if (d) + return /* @__PURE__ */ P.createElement(U6, { + style: v("loadingIndicator"), + }); + }, + B = function (D, j) { + x && x(D); + }, + w = function (D, j) { + m(D, j); + }, + N = function (D) { + return typeof D == "string" ? D : D.id; + }; + return h + ? /* @__PURE__ */ P.createElement( + "div", + ct( + {}, + C6( + { + position: i || "absolute", + left: l, + right: s, + top: u, + }, + v, + ), + { + onMouseDown: E, + ref: C, + }, + ), + L(), + W(), + ) + : null; } p0.propTypes = { id: Q.string.isRequired, @@ -14734,570 +18141,950 @@ p0.propTypes = { 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) - })]) + containerRef: Q.oneOfType([ + Q.func, + Q.shape({ + current: typeof Element > "u" ? Q.any : Q.instanceOf(Element), + }), + ]), }; var Y6 = fa({ - zIndex: 1, - backgroundColor: "white", - marginTop: 14, - minWidth: 100, - list: { - margin: 0, - padding: 0, - listStyleType: "none" - } -}), G6 = Y6(p0); + zIndex: 1, + backgroundColor: "white", + marginTop: 14, + minWidth: 100, + list: { + margin: 0, + padding: 0, + listStyleType: "none", + }, + }), + G6 = Y6(p0); function C2(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); + t && + (o = o.filter(function (r) { + return Object.getOwnPropertyDescriptor(e, r).enumerable; + })), + n.push.apply(n, o); } return n; } function mt(e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t] != null ? arguments[t] : {}; - t % 2 ? C2(Object(n), !0).forEach(function(o) { - ce(e, o, n[o]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C2(Object(n)).forEach(function(o) { - Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); - }); + t % 2 + ? C2(Object(n), !0).forEach(function (o) { + ce(e, o, n[o]); + }) + : Object.getOwnPropertyDescriptors + ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) + : C2(Object(n)).forEach(function (o) { + Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o)); + }); } return e; } function K6(e) { var t = X6(); - return function() { - var o = zr(e), r; + return function () { + var o = zr(e), + r; if (t) { var a = zr(this).constructor; r = Reflect.construct(o, arguments, a); - } else - r = o.apply(this, arguments); + } else r = o.apply(this, arguments); return Y4(this, r); }; } function X6() { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; + 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; + return ( + Boolean.prototype.valueOf.call( + Reflect.construct(Boolean, [], function () {}), + ), + !0 + ); } catch { return !1; } } -var J6 = function(t) { - var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - if (t instanceof RegExp) - return t; - var o = n.allowSpaceInQuery, r = Ar(t); - return new RegExp("(?:^|\\s)(".concat(r, "([^").concat(o ? "" : "\\s").concat(r, "]*))$")); -}, Q6 = function(t, n) { - return t instanceof Array ? function(o, r) { - for (var a = [], i = 0, l = t.length; i < l; ++i) { - var s = t[i].display || t[i].id; - f0(s, o, n) >= 0 && a.push(t[i]); - } - return a; - } : t; -}, Ln = { - TAB: 9, - RETURN: 13, - ESC: 27, - UP: 38, - DOWN: 40 -}, ur = !1, m0 = { - /** - * 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 -}, ol = /* @__PURE__ */ function(e) { - q4(n, e); - var t = K6(n); - function n(o) { - var r; - return $4(this, n), r = t.call(this, o), ce(fe(r), "setContainerElement", function(a) { - r.containerElement = a; - }), ce(fe(r), "getInputProps", function() { - var a = r.props, i = a.readOnly, l = a.disabled, s = a.style, u = z6( - r.props, - ["style", "classNames", "className"], - // substyle props - I6(m0) - ); - return mt(mt(mt(mt({}, u), s("input")), {}, { - value: r.getPlainText(), - onScroll: r.updateHighlighterScroll - }, !i && !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": d0(r.uuidSuggestionsOverlay, r.state.focusIndex) - }); - }), ce(fe(r), "renderControl", function() { - var a = r.props, i = a.singleLine, l = a.style, s = r.getInputProps(); - return /* @__PURE__ */ P.createElement("div", l("control"), r.renderHighlighter(), i ? r.renderInput(s) : r.renderTextarea(s)); - }), ce(fe(r), "renderInput", function(a) { - return /* @__PURE__ */ P.createElement("input", ct({ - type: "text", - ref: r.setInputRef - }, a)); - }), ce(fe(r), "renderTextarea", function(a) { - return /* @__PURE__ */ P.createElement("textarea", ct({ - ref: r.setInputRef - }, a)); - }), ce(fe(r), "setInputRef", function(a) { - r.inputElement = a; - var i = r.props.inputRef; - typeof i == "function" ? i(a) : i && (i.current = a); - }), ce(fe(r), "setSuggestionsElement", function(a) { - r.suggestionsElement = a; - }), ce(fe(r), "renderSuggestionsOverlay", function() { - if (!g1(r.state.selectionStart)) - return null; - var a = r.state.suggestionsPosition, i = a.position, l = a.left, s = a.top, u = a.right, c = /* @__PURE__ */ P.createElement(G6, { - id: r.uuidSuggestionsOverlay, - style: r.props.style("suggestions"), - position: i, - 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__ */ Ud.createPortal(c, r.props.suggestionsPortalHost) : c; - }), ce(fe(r), "renderHighlighter", function() { - var a = r.state, i = a.selectionStart, l = a.selectionEnd, s = r.props, u = s.singleLine, c = s.children, d = s.value, h = s.style; - return /* @__PURE__ */ P.createElement(W6, { - containerRef: r.setHighlighterElement, - style: h("highlighter"), - value: d, - singleLine: u, - selectionStart: i, - selectionEnd: l, - onCaretPositionChange: r.handleCaretPositionChange - }, c); - }), ce(fe(r), "setHighlighterElement", function(a) { - r.highlighterElement = a; - }), ce(fe(r), "handleCaretPositionChange", function(a) { - r.setState({ - caretPosition: a - }); - }), ce(fe(r), "getPlainText", function() { - return mn(r.props.value || "", tn(r.props.children)); - }), ce(fe(r), "executeOnChange", function(a) { - for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), s = 1; s < i; s++) - l[s - 1] = arguments[s]; - if (r.props.onChange) { - var u; - return (u = r.props).onChange.apply(u, [a].concat(l)); - } - if (r.props.valueLink) { - var c; - return (c = r.props.valueLink).requestChange.apply(c, [a.target.value].concat(l)); - } - }), ce(fe(r), "handleChange", function(a) { - if (ur = !1, F6()) { - var i = document.activeElement && document.activeElement.contentDocument || document; - if (i.activeElement !== a.target) - return; - } - var l = r.props.value || "", s = tn(r.props.children), u = a.target.value, c = r.state.selectionStart; - c == null && (c = a.target.selectionStart); - var d = r.state.selectionEnd; - d == null && (d = a.target.selectionEnd); - var h = N6(l, u, { - selectionStartBefore: c, - selectionEndBefore: d, - selectionEndAfter: a.target.selectionEnd - }, s); - u = mn(h, s); - var g = a.target.selectionStart, m = a.target.selectionEnd, b = !1, C = h2(l, s, g); - C !== void 0 && r.state.selectionEnd > C && (g = C + (a.nativeEvent.data ? a.nativeEvent.data.length : 0), m = g, b = !0), r.setState({ - selectionStart: g, - selectionEnd: m, - setSelectionAfterMentionChange: b - }); - var p = Co(h, s); - a.nativeEvent.isComposing && g === m && r.updateMentionsQueries(r.inputElement.value, g); - var v = { - target: { - value: h - } - }; - r.executeOnChange(v, h, u, p); - }), ce(fe(r), "handleSelect", function(a) { - if (r.setState({ - selectionStart: a.target.selectionStart, - selectionEnd: a.target.selectionEnd - }), !ur) { - var i = r.inputElement; - a.target.selectionStart === a.target.selectionEnd ? r.updateMentionsQueries(i.value, a.target.selectionStart) : r.clearSuggestions(), r.updateHighlighterScroll(), r.props.onSelect(a); - } - }), ce(fe(r), "handleKeyDown", function(a) { - var i = cr(r.state.suggestions); - if (i === 0 || !r.suggestionsElement) { - r.props.onKeyDown(a); - return; - } - switch (Object.values(Ln).indexOf(a.keyCode) >= 0 && (a.preventDefault(), a.stopPropagation()), a.keyCode) { - case Ln.ESC: { - r.clearSuggestions(); - return; - } - case Ln.DOWN: { - r.shiftFocus(1); - return; - } - case Ln.UP: { - r.shiftFocus(-1); - return; - } - case Ln.RETURN: { - r.selectFocused(); - return; - } - case Ln.TAB: { - r.selectFocused(); - return; +var J6 = function (t) { + var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; + if (t instanceof RegExp) return t; + var o = n.allowSpaceInQuery, + r = Ar(t); + return new RegExp( + "(?:^|\\s)(" + .concat(r, "([^") + .concat(o ? "" : "\\s") + .concat(r, "]*))$"), + ); + }, + Q6 = function (t, n) { + return t instanceof Array + ? function (o, r) { + for (var a = [], i = 0, l = t.length; i < l; ++i) { + var s = t[i].display || t[i].id; + f0(s, o, n) >= 0 && a.push(t[i]); + } + return a; } - default: - return; - } - }), ce(fe(r), "shiftFocus", function(a) { - var i = cr(r.state.suggestions); - r.setState({ - focusIndex: (i + r.state.focusIndex + a) % i, - scrollFocusedIntoView: !0 - }); - }), ce(fe(r), "selectFocused", function() { - var a = r.state, i = a.suggestions, l = a.focusIndex, s = Object.values(i).reduce(function(d, h) { - var g = h.results, m = h.queryInfo; - return [].concat(Ir(d), Ir(g.map(function(b) { - return { - result: b, - queryInfo: m + : t; + }, + Ln = { + TAB: 9, + RETURN: 13, + ESC: 27, + UP: 38, + DOWN: 40, + }, + ur = !1, + m0 = { + /** + * 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, + }, + ol = /* @__PURE__ */ (function (e) { + q4(n, e); + var t = K6(n); + function n(o) { + var r; + return ( + $4(this, n), + (r = t.call(this, o)), + ce(fe(r), "setContainerElement", function (a) { + r.containerElement = a; + }), + ce(fe(r), "getInputProps", function () { + var a = r.props, + i = a.readOnly, + l = a.disabled, + s = a.style, + u = z6( + r.props, + ["style", "classNames", "className"], + // substyle props + I6(m0), + ); + return mt( + mt( + mt(mt({}, u), s("input")), + {}, + { + value: r.getPlainText(), + onScroll: r.updateHighlighterScroll, + }, + !i && + !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": d0( + r.uuidSuggestionsOverlay, + r.state.focusIndex, + ), + }, + ); + }), + ce(fe(r), "renderControl", function () { + var a = r.props, + i = a.singleLine, + l = a.style, + s = r.getInputProps(); + return /* @__PURE__ */ P.createElement( + "div", + l("control"), + r.renderHighlighter(), + i ? r.renderInput(s) : r.renderTextarea(s), + ); + }), + ce(fe(r), "renderInput", function (a) { + return /* @__PURE__ */ P.createElement( + "input", + ct( + { + type: "text", + ref: r.setInputRef, + }, + a, + ), + ); + }), + ce(fe(r), "renderTextarea", function (a) { + return /* @__PURE__ */ P.createElement( + "textarea", + ct( + { + ref: r.setInputRef, + }, + a, + ), + ); + }), + ce(fe(r), "setInputRef", function (a) { + r.inputElement = a; + var i = r.props.inputRef; + typeof i == "function" ? i(a) : i && (i.current = a); + }), + ce(fe(r), "setSuggestionsElement", function (a) { + r.suggestionsElement = a; + }), + ce(fe(r), "renderSuggestionsOverlay", function () { + if (!g1(r.state.selectionStart)) return null; + var a = r.state.suggestionsPosition, + i = a.position, + l = a.left, + s = a.top, + u = a.right, + c = /* @__PURE__ */ P.createElement( + G6, + { + id: r.uuidSuggestionsOverlay, + style: r.props.style("suggestions"), + position: i, + 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__ */ Ud.createPortal(c, r.props.suggestionsPortalHost) + : c; + }), + ce(fe(r), "renderHighlighter", function () { + var a = r.state, + i = a.selectionStart, + l = a.selectionEnd, + s = r.props, + u = s.singleLine, + c = s.children, + d = s.value, + h = s.style; + return /* @__PURE__ */ P.createElement( + W6, + { + containerRef: r.setHighlighterElement, + style: h("highlighter"), + value: d, + singleLine: u, + selectionStart: i, + selectionEnd: l, + onCaretPositionChange: r.handleCaretPositionChange, + }, + c, + ); + }), + ce(fe(r), "setHighlighterElement", function (a) { + r.highlighterElement = a; + }), + ce(fe(r), "handleCaretPositionChange", function (a) { + r.setState({ + caretPosition: a, + }); + }), + ce(fe(r), "getPlainText", function () { + return mn(r.props.value || "", tn(r.props.children)); + }), + ce(fe(r), "executeOnChange", function (a) { + for ( + var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), s = 1; + s < i; + s++ + ) + l[s - 1] = arguments[s]; + if (r.props.onChange) { + var u; + return (u = r.props).onChange.apply(u, [a].concat(l)); + } + if (r.props.valueLink) { + var c; + return (c = r.props.valueLink).requestChange.apply( + c, + [a.target.value].concat(l), + ); + } + }), + ce(fe(r), "handleChange", function (a) { + if (((ur = !1), F6())) { + var i = + (document.activeElement && + document.activeElement.contentDocument) || + document; + if (i.activeElement !== a.target) return; + } + var l = r.props.value || "", + s = tn(r.props.children), + u = a.target.value, + c = r.state.selectionStart; + c == null && (c = a.target.selectionStart); + var d = r.state.selectionEnd; + d == null && (d = a.target.selectionEnd); + var h = N6( + l, + u, + { + selectionStartBefore: c, + selectionEndBefore: d, + selectionEndAfter: a.target.selectionEnd, + }, + s, + ); + u = mn(h, s); + var g = a.target.selectionStart, + m = a.target.selectionEnd, + b = !1, + C = h2(l, s, g); + C !== void 0 && + r.state.selectionEnd > C && + ((g = C + (a.nativeEvent.data ? a.nativeEvent.data.length : 0)), + (m = g), + (b = !0)), + r.setState({ + selectionStart: g, + selectionEnd: m, + setSelectionAfterMentionChange: b, + }); + var p = Co(h, s); + a.nativeEvent.isComposing && + g === m && + r.updateMentionsQueries(r.inputElement.value, g); + var v = { + target: { + value: h, + }, }; - }))); - }, [])[l], u = s.result, c = s.queryInfo; - r.addMention(u, c), r.setState({ - focusIndex: 0 - }); - }), ce(fe(r), "handleBlur", function(a) { - var i = r._suggestionsMouseDown; - r._suggestionsMouseDown = !1, i || r.setState({ - selectionStart: null, - selectionEnd: null - }), window.setTimeout(function() { - r.updateHighlighterScroll(); - }, 1), r.props.onBlur(a, i); - }), ce(fe(r), "handleSuggestionsMouseDown", function(a) { - r._suggestionsMouseDown = !0; - }), ce(fe(r), "handleSuggestionsMouseEnter", function(a) { - r.setState({ - focusIndex: a, - scrollFocusedIntoView: !1 - }); - }), ce(fe(r), "updateSuggestionsPosition", function() { - var a = r.state.caretPosition, i = r.props, l = i.suggestionsPortalHost, s = i.allowSuggestionsAboveCursor, u = i.forceSuggestionsAboveCursor; - if (!(!a || !r.suggestionsElement)) { - var c = r.suggestionsElement, d = r.highlighterElement, h = d.getBoundingClientRect(), g = Ri(d, "font-size"), m = { - left: h.left + a.left, - top: h.top + a.top + g - }, b = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); - if (c) { - var C = {}; - if (l) { - C.position = "fixed"; - var p = m.left, v = m.top; - p -= Ri(c, "margin-left"), v -= Ri(c, "margin-top"), p -= d.scrollLeft, v -= d.scrollTop; - var y = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); - p + c.offsetWidth > y ? C.left = Math.max(0, y - c.offsetWidth) : C.left = p, s && v + c.offsetHeight > b && c.offsetHeight < v - g || u ? C.top = Math.max(0, v - c.offsetHeight - g) : C.top = v; - } else { - var E = a.left - d.scrollLeft, x = a.top - d.scrollTop; - E + c.offsetWidth > r.containerElement.offsetWidth ? C.right = 0 : C.left = E, s && m.top - d.scrollTop + c.offsetHeight > b && c.offsetHeight < h.top - g - d.scrollTop || u ? C.top = x - c.offsetHeight - g : C.top = x; + r.executeOnChange(v, h, u, p); + }), + ce(fe(r), "handleSelect", function (a) { + if ( + (r.setState({ + selectionStart: a.target.selectionStart, + selectionEnd: a.target.selectionEnd, + }), + !ur) + ) { + var i = r.inputElement; + a.target.selectionStart === a.target.selectionEnd + ? r.updateMentionsQueries(i.value, a.target.selectionStart) + : r.clearSuggestions(), + r.updateHighlighterScroll(), + r.props.onSelect(a); + } + }), + ce(fe(r), "handleKeyDown", function (a) { + var i = cr(r.state.suggestions); + if (i === 0 || !r.suggestionsElement) { + r.props.onKeyDown(a); + return; + } + switch ( + (Object.values(Ln).indexOf(a.keyCode) >= 0 && + (a.preventDefault(), a.stopPropagation()), + a.keyCode) + ) { + case Ln.ESC: { + r.clearSuggestions(); + return; + } + case Ln.DOWN: { + r.shiftFocus(1); + return; + } + case Ln.UP: { + r.shiftFocus(-1); + return; + } + case Ln.RETURN: { + r.selectFocused(); + return; + } + case Ln.TAB: { + r.selectFocused(); + return; + } + default: + return; } - C.left === r.state.suggestionsPosition.left && C.top === r.state.suggestionsPosition.top && C.position === r.state.suggestionsPosition.position || r.setState({ - suggestionsPosition: C + }), + ce(fe(r), "shiftFocus", function (a) { + var i = cr(r.state.suggestions); + r.setState({ + focusIndex: (i + r.state.focusIndex + a) % i, + scrollFocusedIntoView: !0, }); - } - } - }), ce(fe(r), "updateHighlighterScroll", function() { - var a = r.inputElement, i = r.highlighterElement; - !a || !i || (i.scrollLeft = a.scrollLeft, i.scrollTop = a.scrollTop, i.height = a.height); - }), ce(fe(r), "handleCompositionStart", function() { - ur = !0; - }), ce(fe(r), "handleCompositionEnd", function() { - ur = !1; - }), ce(fe(r), "setSelection", function(a, i) { - if (!(a === null || i === null)) { - var l = r.inputElement; - if (l.setSelectionRange) - l.setSelectionRange(a, i); - else if (l.createTextRange) { - var s = l.createTextRange(); - s.collapse(!0), s.moveEnd("character", i), s.moveStart("character", a), s.select(); - } - } - }), ce(fe(r), "updateMentionsQueries", function(a, i) { - r._queryId++, r.suggestions = {}, r.setState({ - suggestions: {} - }); - var l = r.props.value || "", s = r.props.children, u = tn(s), c = Ge(l, u, i, "NULL"); - if (c !== null) { - var d = D6(l.substring(0, c), u), h = a.substring(d, i); - P.Children.forEach(s, function(g, m) { - if (g) { - var b = J6(g.props.trigger, r.props), C = h.match(b); - if (C) { - var p = d + h.indexOf(C[1], C.index); - r.queryData(C[2], m, p, p + C[1].length, a); + }), + ce(fe(r), "selectFocused", function () { + var a = r.state, + i = a.suggestions, + l = a.focusIndex, + s = Object.values(i).reduce(function (d, h) { + var g = h.results, + m = h.queryInfo; + return [].concat( + Ir(d), + Ir( + g.map(function (b) { + return { + result: b, + queryInfo: m, + }; + }), + ), + ); + }, [])[l], + u = s.result, + c = s.queryInfo; + r.addMention(u, c), + r.setState({ + focusIndex: 0, + }); + }), + ce(fe(r), "handleBlur", function (a) { + var i = r._suggestionsMouseDown; + (r._suggestionsMouseDown = !1), + i || + r.setState({ + selectionStart: null, + selectionEnd: null, + }), + window.setTimeout(function () { + r.updateHighlighterScroll(); + }, 1), + r.props.onBlur(a, i); + }), + ce(fe(r), "handleSuggestionsMouseDown", function (a) { + r._suggestionsMouseDown = !0; + }), + ce(fe(r), "handleSuggestionsMouseEnter", function (a) { + r.setState({ + focusIndex: a, + scrollFocusedIntoView: !1, + }); + }), + ce(fe(r), "updateSuggestionsPosition", function () { + var a = r.state.caretPosition, + i = r.props, + l = i.suggestionsPortalHost, + s = i.allowSuggestionsAboveCursor, + u = i.forceSuggestionsAboveCursor; + if (!(!a || !r.suggestionsElement)) { + var c = r.suggestionsElement, + d = r.highlighterElement, + h = d.getBoundingClientRect(), + g = Ri(d, "font-size"), + m = { + left: h.left + a.left, + top: h.top + a.top + g, + }, + b = Math.max( + document.documentElement.clientHeight, + window.innerHeight || 0, + ); + if (c) { + var C = {}; + if (l) { + C.position = "fixed"; + var p = m.left, + v = m.top; + (p -= Ri(c, "margin-left")), + (v -= Ri(c, "margin-top")), + (p -= d.scrollLeft), + (v -= d.scrollTop); + var y = Math.max( + document.documentElement.clientWidth, + window.innerWidth || 0, + ); + p + c.offsetWidth > y + ? (C.left = Math.max(0, y - c.offsetWidth)) + : (C.left = p), + (s && v + c.offsetHeight > b && c.offsetHeight < v - g) || u + ? (C.top = Math.max(0, v - c.offsetHeight - g)) + : (C.top = v); + } else { + var E = a.left - d.scrollLeft, + x = a.top - d.scrollTop; + E + c.offsetWidth > r.containerElement.offsetWidth + ? (C.right = 0) + : (C.left = E), + (s && + m.top - d.scrollTop + c.offsetHeight > b && + c.offsetHeight < h.top - g - d.scrollTop) || + u + ? (C.top = x - c.offsetHeight - g) + : (C.top = x); + } + (C.left === r.state.suggestionsPosition.left && + C.top === r.state.suggestionsPosition.top && + C.position === r.state.suggestionsPosition.position) || + r.setState({ + suggestionsPosition: C, + }); + } + } + }), + ce(fe(r), "updateHighlighterScroll", function () { + var a = r.inputElement, + i = r.highlighterElement; + !a || + !i || + ((i.scrollLeft = a.scrollLeft), + (i.scrollTop = a.scrollTop), + (i.height = a.height)); + }), + ce(fe(r), "handleCompositionStart", function () { + ur = !0; + }), + ce(fe(r), "handleCompositionEnd", function () { + ur = !1; + }), + ce(fe(r), "setSelection", function (a, i) { + if (!(a === null || i === null)) { + var l = r.inputElement; + if (l.setSelectionRange) l.setSelectionRange(a, i); + else if (l.createTextRange) { + var s = l.createTextRange(); + s.collapse(!0), + s.moveEnd("character", i), + s.moveStart("character", a), + s.select(); + } + } + }), + ce(fe(r), "updateMentionsQueries", function (a, i) { + r._queryId++, + (r.suggestions = {}), + r.setState({ + suggestions: {}, + }); + var l = r.props.value || "", + s = r.props.children, + u = tn(s), + c = Ge(l, u, i, "NULL"); + if (c !== null) { + var d = D6(l.substring(0, c), u), + h = a.substring(d, i); + P.Children.forEach(s, function (g, m) { + if (g) { + var b = J6(g.props.trigger, r.props), + C = h.match(b); + if (C) { + var p = d + h.indexOf(C[1], C.index); + r.queryData(C[2], m, p, p + C[1].length, a); + } + } + }); + } + }), + ce(fe(r), "clearSuggestions", function () { + r._queryId++, + (r.suggestions = {}), + r.setState({ + suggestions: {}, + focusIndex: 0, + }); + }), + ce(fe(r), "queryData", function (a, i, l, s, u) { + var c = r.props, + d = c.children, + h = c.ignoreAccents, + g = qn.toArray(d)[i], + m = Q6(g.props.data, h), + b = m(a, r.updateSuggestions.bind(null, r._queryId, i, a, l, s, u)); + b instanceof Array && + r.updateSuggestions(r._queryId, i, a, l, s, u, b); + }), + ce(fe(r), "updateSuggestions", function (a, i, l, s, u, c, d) { + if (a === r._queryId) { + r.suggestions = mt( + mt({}, r.suggestions), + {}, + ce({}, i, { + queryInfo: { + childIndex: i, + query: l, + querySequenceStart: s, + querySequenceEnd: u, + plainTextValue: c, + }, + results: d, + }), + ); + var h = r.state.focusIndex, + g = cr(r.suggestions); + r.setState({ + suggestions: r.suggestions, + focusIndex: h >= g ? Math.max(g - 1, 0) : h, + }); + } + }), + ce(fe(r), "addMention", function (a, i) { + var l = a.id, + s = a.display, + u = i.childIndex, + c = i.querySequenceStart, + d = i.querySequenceEnd, + h = i.plainTextValue, + g = r.props.value || "", + m = tn(r.props.children), + b = qn.toArray(r.props.children)[u], + C = b.props, + p = C.markup, + v = C.displayTransform, + y = C.appendSpaceOnAdd, + E = C.onAdd, + x = Ge(g, m, c, "START"), + A = x + d - c, + T = j6(p, l, s); + y && (T += " "); + var k = Eo(g, x, A, T); + r.inputElement.focus(); + var R = v(l, s); + y && (R += " "); + var L = c + R.length; + r.setState({ + selectionStart: L, + selectionEnd: L, + setSelectionAfterMentionChange: !0, + }); + var I = { + target: { + value: k, + }, + }, + W = Co(k, m), + B = Eo(h, c, d, R); + r.executeOnChange(I, k, B, W), + E && E(l, s, x, A), + r.clearSuggestions(); + }), + ce(fe(r), "isLoading", function () { + var a = !1; + return ( + P.Children.forEach(r.props.children, function (i) { + a = a || (i && i.props.isLoading); + }), + a + ); + }), + ce(fe(r), "isOpened", function () { + return ( + g1(r.state.selectionStart) && + (cr(r.state.suggestions) !== 0 || r.isLoading()) + ); + }), + ce(fe(r), "_queryId", 0), + (r.suggestions = {}), + (r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2)), + (r.handleCopy = r.handleCopy.bind(fe(r))), + (r.handleCut = r.handleCut.bind(fe(r))), + (r.handlePaste = r.handlePaste.bind(fe(r))), + (r.state = { + focusIndex: 0, + selectionStart: null, + selectionEnd: null, + suggestions: {}, + caretPosition: null, + suggestionsPosition: {}, + setSelectionAfterHandlePaste: !1, + }), + r + ); + } + return ( + U4(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, a) { + a.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__ */ P.createElement( + "div", + ct( + { + 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 a = this.state, + i = a.selectionStart, + l = a.selectionEnd, + s = this.props, + u = s.value, + c = s.children, + d = tn(c), + h = Ge(u, d, i, "START"), + g = Ge(u, d, l, "END"), + m = r.clipboardData.getData("text/react-mentions"), + b = r.clipboardData.getData("text/plain"), + C = Eo(u, h, g, m || b).replace(/\r/g, ""), + p = mn(C, d), + v = { + target: mt( + mt({}, r.target), + {}, + { + value: C, + }, + ), + }; + this.executeOnChange(v, C, p, Co(C, d)); + var y = h2(u, d, i), + E = (y || i) + mn(m || b, d).length; + this.setState({ + selectionStart: E, + selectionEnd: E, + setSelectionAfterHandlePaste: !0, + }); + } + }, + }, + { + key: "saveSelectionToClipboard", + value: function (r) { + var a = this.inputElement.selectionStart, + i = this.inputElement.selectionEnd, + l = this.props, + s = l.children, + u = l.value, + c = tn(s), + d = Ge(u, c, a, "START"), + h = Ge(u, c, i, "END"); + r.clipboardData.setData("text/plain", r.target.value.slice(a, i)), + 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 a = this.state, + i = a.selectionStart, + l = a.selectionEnd, + s = this.props, + u = s.children, + c = s.value, + d = tn(u), + h = Ge(c, d, i, "START"), + g = Ge(c, d, l, "END"), + m = [c.slice(0, h), c.slice(g)].join(""), + b = mn(m, d), + C = { + target: mt( + mt({}, r.target), + {}, + { + value: b, + }, + ), + }; + this.executeOnChange(C, m, b, Co(c, d)); } - } - }); - } - }), ce(fe(r), "clearSuggestions", function() { - r._queryId++, r.suggestions = {}, r.setState({ - suggestions: {}, - focusIndex: 0 - }); - }), ce(fe(r), "queryData", function(a, i, l, s, u) { - var c = r.props, d = c.children, h = c.ignoreAccents, g = qn.toArray(d)[i], m = Q6(g.props.data, h), b = m(a, r.updateSuggestions.bind(null, r._queryId, i, a, l, s, u)); - b instanceof Array && r.updateSuggestions(r._queryId, i, a, l, s, u, b); - }), ce(fe(r), "updateSuggestions", function(a, i, l, s, u, c, d) { - if (a === r._queryId) { - r.suggestions = mt(mt({}, r.suggestions), {}, ce({}, i, { - queryInfo: { - childIndex: i, - query: l, - querySequenceStart: s, - querySequenceEnd: u, - plainTextValue: c - }, - results: d - })); - var h = r.state.focusIndex, g = cr(r.suggestions); - r.setState({ - suggestions: r.suggestions, - focusIndex: h >= g ? Math.max(g - 1, 0) : h - }); - } - }), ce(fe(r), "addMention", function(a, i) { - var l = a.id, s = a.display, u = i.childIndex, c = i.querySequenceStart, d = i.querySequenceEnd, h = i.plainTextValue, g = r.props.value || "", m = tn(r.props.children), b = qn.toArray(r.props.children)[u], C = b.props, p = C.markup, v = C.displayTransform, y = C.appendSpaceOnAdd, E = C.onAdd, x = Ge(g, m, c, "START"), A = x + d - c, T = j6(p, l, s); - y && (T += " "); - var k = Eo(g, x, A, T); - r.inputElement.focus(); - var R = v(l, s); - y && (R += " "); - var L = c + R.length; - r.setState({ - selectionStart: L, - selectionEnd: L, - setSelectionAfterMentionChange: !0 - }); - var I = { - target: { - value: k - } - }, W = Co(k, m), B = Eo(h, c, d, R); - r.executeOnChange(I, k, B, W), E && E(l, s, x, A), r.clearSuggestions(); - }), ce(fe(r), "isLoading", function() { - var a = !1; - return P.Children.forEach(r.props.children, function(i) { - a = a || i && i.props.isLoading; - }), a; - }), ce(fe(r), "isOpened", function() { - return g1(r.state.selectionStart) && (cr(r.state.suggestions) !== 0 || r.isLoading()); - }), ce(fe(r), "_queryId", 0), r.suggestions = {}, r.uuidSuggestionsOverlay = Math.random().toString(16).substring(2), r.handleCopy = r.handleCopy.bind(fe(r)), r.handleCut = r.handleCut.bind(fe(r)), r.handlePaste = r.handlePaste.bind(fe(r)), r.state = { - focusIndex: 0, - selectionStart: null, - selectionEnd: null, - suggestions: {}, - caretPosition: null, - suggestionsPosition: {}, - setSelectionAfterHandlePaste: !1 - }, r; - } - return U4(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, a) { - a.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__ */ P.createElement("div", ct({ - 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 a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.value, c = s.children, d = tn(c), h = Ge(u, d, i, "START"), g = Ge(u, d, l, "END"), m = r.clipboardData.getData("text/react-mentions"), b = r.clipboardData.getData("text/plain"), C = Eo(u, h, g, m || b).replace(/\r/g, ""), p = mn(C, d), v = { - target: mt(mt({}, r.target), {}, { - value: C - }) - }; - this.executeOnChange(v, C, p, Co(C, d)); - var y = h2(u, d, i), E = (y || i) + mn(m || b, d).length; - this.setState({ - selectionStart: E, - selectionEnd: E, - setSelectionAfterHandlePaste: !0 - }); - } - } - }, { - key: "saveSelectionToClipboard", - value: function(r) { - var a = this.inputElement.selectionStart, i = this.inputElement.selectionEnd, l = this.props, s = l.children, u = l.value, c = tn(s), d = Ge(u, c, a, "START"), h = Ge(u, c, i, "END"); - r.clipboardData.setData("text/plain", r.target.value.slice(a, i)), 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 a = this.state, i = a.selectionStart, l = a.selectionEnd, s = this.props, u = s.children, c = s.value, d = tn(u), h = Ge(c, d, i, "START"), g = Ge(c, d, l, "END"), m = [c.slice(0, h), c.slice(g)].join(""), b = mn(m, d), C = { - target: mt(mt({}, r.target), {}, { - value: b - }) - }; - this.executeOnChange(C, m, b, Co(c, d)); - } - } - // Handle input element's change event - }]), n; -}(P.Component); + }, + // Handle input element's change event + }, + ]), + n + ); + })(P.Component); ce(ol, "propTypes", m0); ce(ol, "defaultProps", { ignoreAccents: !1, singleLine: !1, allowSuggestionsAboveCursor: !1, - onKeyDown: function() { + onKeyDown: function () { return null; }, - onSelect: function() { + onSelect: function () { return null; }, - onBlur: function() { + onBlur: function () { return null; - } + }, }); -var Ri = function(t, n) { - var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); - return isFinite(o) ? o : 0; -}, e8 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), t8 = fa({ - 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" +var Ri = function (t, n) { + var o = parseFloat(window.getComputedStyle(t, null).getPropertyValue(n)); + return isFinite(o) ? o : 0; }, - "&multiLine": { - input: mt({ - height: "100%", - bottom: 0, - overflow: "hidden", - resize: "none" - }, e8 ? { - marginTop: 1, - marginLeft: -3 - } : null) - } -}, function(e) { - var t = e.singleLine; - return { - "&singleLine": t, - "&multiLine": !t + e8 = typeof navigator < "u" && /iPhone|iPad|iPod/i.test(navigator.userAgent), + t8 = fa( + { + 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: mt( + { + height: "100%", + bottom: 0, + overflow: "hidden", + resize: "none", + }, + e8 + ? { + marginTop: 1, + marginLeft: -3, + } + : null, + ), + }, + }, + function (e) { + var t = e.singleLine; + return { + "&singleLine": t, + "&multiLine": !t, + }; + }, + ), + n8 = t8(ol), + o8 = { + fontWeight: "inherit", + }, + rl = function (t) { + var n = t.display, + o = t.style, + r = t.className, + a = t.classNames, + i = tl(o8, { + style: o, + className: r, + classNames: a, + }); + return /* @__PURE__ */ P.createElement("strong", i, n); }; -}), n8 = t8(ol), o8 = { - fontWeight: "inherit" -}, rl = function(t) { - var n = t.display, o = t.style, r = t.className, a = t.classNames, i = tl(o8, { - style: o, - className: r, - classNames: a - }); - return /* @__PURE__ */ P.createElement("strong", i, n); -}; rl.propTypes = { /** * Called when a new mention is added in the input @@ -15320,1055 +19107,1396 @@ rl.propTypes = { * If set to `true` spaces will not interrupt matching suggestions */ allowSpaceInQuery: Q.bool, - isLoading: Q.bool + isLoading: Q.bool, }; rl.defaultProps = { trigger: "@", markup: "@[__display__](__id__)", - displayTransform: function(t, n) { + displayTransform: function (t, n) { return n || t; }, - onAdd: function() { - return null; + onAdd: function () { + return null; + }, + onRemove: function () { + return null; + }, + renderSuggestion: null, + isLoading: !1, + appendSpaceOnAdd: !1, +}; +const r8 = { + "&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)", + }, + }, + }, + }, + a8 = ({ + value: e, + setValue: t, + users: n, + placeholder: o = "Type your reply here...", + onEnterKeypress: r, + }) => { + const a = n.map((u) => ({ + ...u, + display: u.display_name, + })), + i = (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__ */ f.jsx(n8, { + autoFocus: !0, + value: e, + onChange: s, + style: { + ...r8, + minHeight: "40px", + marginBottom: "10px", + }, + placeholder: o, + className: "mentions-input", + onKeyDown: i, + children: /* @__PURE__ */ f.jsx(rl, { + displayTransform: (u, c) => `@${c}`, + trigger: "@", + markup: "@[__id__](__display__)", + data: a, + appendSpaceOnAdd: !0, + renderSuggestion: (u, c) => + /* @__PURE__ */ f.jsx("div", { + className: `user ${c ? "focused" : ""}`, + children: u.display, + }), + onAdd: l, + }), + }); + }, + b0 = ({ + comment: e, + setComment: t, + loading: n, + users: o, + currentUser: r, + placeholder: a, + onEnterKeypress: i, + }) => + /* @__PURE__ */ f.jsxs("div", { + className: $t.conversationInputForm, + children: [ + r ? /* @__PURE__ */ f.jsx(e0, { user: r }) : null, + /* @__PURE__ */ f.jsx(a8, { + value: e, + setValue: t, + users: o, + placeholder: a, + onEnterKeypress: i, + }), + /* @__PURE__ */ f.jsx(ra, { + loading: n, + color: "primary", + children: /* @__PURE__ */ f.jsx(h4, {}), + }), + ], + }), + C0 = ({ meta: { highlight: e, filePath: t, field: n, column: o } }) => { + if (!e) return null; + const r = o ? `${t} (${o})` : t; + return /* @__PURE__ */ f.jsx("div", { + className: $t.highlightText, + children: /* @__PURE__ */ f.jsx(Zo, { + code: e, + language: n ? "markdown" : "sql", + showLineNumbers: !n, + fileName: r, + theme: "light", + }), + }); + }, + i8 = () => { + const e = we((c) => c.users), + t = we((c) => c.newConversation), + n = we((c) => (c.currentUserId ? c.users[c.currentUserId] : null)), + o = we((c) => c.shareId), + r = dt(), + [a, i] = ae(!1), + [l, s] = ae(""), + u = async (c) => { + if ( + (c == null || c.stopPropagation(), + c == null || c.preventDefault(), + !(!t || !o)) + ) { + i(!0); + try { + console.log("saving conversation", t, l); + const d = await y4( + 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(Gc()), i(!1), r(X1(!0)), r(J1()), s(""); + } + }; + return /* @__PURE__ */ f.jsx(Ut, { + className: $t.newConversationForm, + children: /* @__PURE__ */ f.jsx(un, { + children: /* @__PURE__ */ f.jsxs("form", { + onSubmit: u, + children: [ + /* @__PURE__ */ f.jsx("h4", { children: "Add comment" }), + /* @__PURE__ */ f.jsx(C0, { + meta: (t == null ? void 0 : t.meta) || {}, + }), + /* @__PURE__ */ f.jsx(b0, { + comment: l, + setComment: s, + loading: a, + users: Object.values(e), + currentUser: n, + placeholder: "Start a conversation or add others with @", + onEnterKeypress: u, + }), + ], + }), + }), + }); + }; +var y0 = { exports: {} }; +(function (e, t) { + (function (n, o) { + e.exports = o(); + })(En, function () { + var n = 1e3, + o = 6e4, + r = 36e5, + a = "millisecond", + i = "second", + l = "minute", + s = "hour", + u = "day", + c = "week", + d = "month", + h = "quarter", + g = "year", + m = "date", + b = "Invalid Date", + C = + /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, + p = + /\[([^\]]+)]|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, + v = { + 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 (w) { + var N = ["th", "st", "nd", "rd"], + S = w % 100; + return "[" + w + (N[(S - 20) % 10] || N[S] || N[0]) + "]"; + }, + }, + y = function (w, N, S) { + var D = String(w); + return !D || D.length >= N + ? w + : "" + Array(N + 1 - D.length).join(S) + w; + }, + E = { + s: y, + z: function (w) { + var N = -w.utcOffset(), + S = Math.abs(N), + D = Math.floor(S / 60), + j = S % 60; + return (N <= 0 ? "+" : "-") + y(D, 2, "0") + ":" + y(j, 2, "0"); + }, + m: function w(N, S) { + if (N.date() < S.date()) return -w(S, N); + var D = 12 * (S.year() - N.year()) + (S.month() - N.month()), + j = N.clone().add(D, d), + O = S - j < 0, + M = N.clone().add(D + (O ? -1 : 1), d); + return +(-(D + (S - j) / (O ? j - M : M - j)) || 0); + }, + a: function (w) { + return w < 0 ? Math.ceil(w) || 0 : Math.floor(w); + }, + p: function (w) { + return ( + { M: d, y: g, w: c, d: u, D: m, h: s, m: l, s: i, ms: a, Q: h }[ + w + ] || + String(w || "") + .toLowerCase() + .replace(/s$/, "") + ); + }, + u: function (w) { + return w === void 0; + }, + }, + x = "en", + A = {}; + A[x] = v; + var T = "$isDayjsObject", + k = function (w) { + return w instanceof W || !(!w || !w[T]); + }, + R = function w(N, S, D) { + var j; + if (!N) return x; + if (typeof N == "string") { + var O = N.toLowerCase(); + A[O] && (j = O), S && ((A[O] = S), (j = O)); + var M = N.split("-"); + if (!j && M.length > 1) return w(M[0]); + } else { + var F = N.name; + (A[F] = N), (j = F); + } + return !D && j && (x = j), j || (!D && x); + }, + L = function (w, N) { + if (k(w)) return w.clone(); + var S = typeof N == "object" ? N : {}; + return (S.date = w), (S.args = arguments), new W(S); + }, + I = E; + (I.l = R), + (I.i = k), + (I.w = function (w, N) { + return L(w, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); + }); + var W = (function () { + function w(S) { + (this.$L = R(S.locale, null, !0)), + this.parse(S), + (this.$x = this.$x || S.x || {}), + (this[T] = !0); + } + var N = w.prototype; + return ( + (N.parse = function (S) { + (this.$d = (function (D) { + var j = D.date, + O = D.utc; + if (j === null) return /* @__PURE__ */ new Date(NaN); + if (I.u(j)) return /* @__PURE__ */ new Date(); + if (j instanceof Date) return new Date(j); + if (typeof j == "string" && !/Z$/i.test(j)) { + var M = j.match(C); + if (M) { + var F = M[2] - 1 || 0, + z = (M[7] || "0").substring(0, 3); + return O + ? new Date( + Date.UTC( + M[1], + F, + M[3] || 1, + M[4] || 0, + M[5] || 0, + M[6] || 0, + z, + ), + ) + : new Date( + M[1], + F, + M[3] || 1, + M[4] || 0, + M[5] || 0, + M[6] || 0, + z, + ); + } + } + return new Date(j); + })(S)), + this.init(); + }), + (N.init = function () { + var S = this.$d; + (this.$y = S.getFullYear()), + (this.$M = S.getMonth()), + (this.$D = S.getDate()), + (this.$W = S.getDay()), + (this.$H = S.getHours()), + (this.$m = S.getMinutes()), + (this.$s = S.getSeconds()), + (this.$ms = S.getMilliseconds()); + }), + (N.$utils = function () { + return I; + }), + (N.isValid = function () { + return this.$d.toString() !== b; + }), + (N.isSame = function (S, D) { + var j = L(S); + return this.startOf(D) <= j && j <= this.endOf(D); + }), + (N.isAfter = function (S, D) { + return L(S) < this.startOf(D); + }), + (N.isBefore = function (S, D) { + return this.endOf(D) < L(S); + }), + (N.$g = function (S, D, j) { + return I.u(S) ? this[D] : this.set(j, S); + }), + (N.unix = function () { + return Math.floor(this.valueOf() / 1e3); + }), + (N.valueOf = function () { + return this.$d.getTime(); + }), + (N.startOf = function (S, D) { + var j = this, + O = !!I.u(D) || D, + M = I.p(S), + F = function (te, Z) { + var se = I.w( + j.$u ? Date.UTC(j.$y, Z, te) : new Date(j.$y, Z, te), + j, + ); + return O ? se : se.endOf(u); + }, + z = function (te, Z) { + return I.w( + j + .toDate() + [ + te + ].apply(j.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), + j, + ); + }, + $ = this.$W, + V = this.$M, + q = this.$D, + K = "set" + (this.$u ? "UTC" : ""); + switch (M) { + case g: + return O ? F(1, 0) : F(31, 11); + case d: + return O ? F(1, V) : F(0, V + 1); + case c: + var X = this.$locale().weekStart || 0, + J = ($ < X ? $ + 7 : $) - X; + return F(O ? q - J : q + (6 - J), V); + case u: + case m: + return z(K + "Hours", 0); + case s: + return z(K + "Minutes", 1); + case l: + return z(K + "Seconds", 2); + case i: + return z(K + "Milliseconds", 3); + default: + return this.clone(); + } + }), + (N.endOf = function (S) { + return this.startOf(S, !1); + }), + (N.$set = function (S, D) { + var j, + O = I.p(S), + M = "set" + (this.$u ? "UTC" : ""), + F = ((j = {}), + (j[u] = M + "Date"), + (j[m] = M + "Date"), + (j[d] = M + "Month"), + (j[g] = M + "FullYear"), + (j[s] = M + "Hours"), + (j[l] = M + "Minutes"), + (j[i] = M + "Seconds"), + (j[a] = M + "Milliseconds"), + j)[O], + z = O === u ? this.$D + (D - this.$W) : D; + if (O === d || O === g) { + var $ = this.clone().set(m, 1); + $.$d[F](z), + $.init(), + (this.$d = $.set(m, Math.min(this.$D, $.daysInMonth())).$d); + } else F && this.$d[F](z); + return this.init(), this; + }), + (N.set = function (S, D) { + return this.clone().$set(S, D); + }), + (N.get = function (S) { + return this[I.p(S)](); + }), + (N.add = function (S, D) { + var j, + O = this; + S = Number(S); + var M = I.p(D), + F = function (V) { + var q = L(O); + return I.w(q.date(q.date() + Math.round(V * S)), O); + }; + if (M === d) return this.set(d, this.$M + S); + if (M === g) return this.set(g, this.$y + S); + if (M === u) return F(1); + if (M === c) return F(7); + var z = ((j = {}), (j[l] = o), (j[s] = r), (j[i] = n), j)[M] || 1, + $ = this.$d.getTime() + S * z; + return I.w($, this); + }), + (N.subtract = function (S, D) { + return this.add(-1 * S, D); + }), + (N.format = function (S) { + var D = this, + j = this.$locale(); + if (!this.isValid()) return j.invalidDate || b; + var O = S || "YYYY-MM-DDTHH:mm:ssZ", + M = I.z(this), + F = this.$H, + z = this.$m, + $ = this.$M, + V = j.weekdays, + q = j.months, + K = j.meridiem, + X = function (Z, se, G, ye) { + return (Z && (Z[se] || Z(D, O))) || G[se].slice(0, ye); + }, + J = function (Z) { + return I.s(F % 12 || 12, Z, "0"); + }, + te = + K || + function (Z, se, G) { + var ye = Z < 12 ? "AM" : "PM"; + return G ? ye.toLowerCase() : ye; + }; + return O.replace(p, function (Z, se) { + return ( + se || + (function (G) { + switch (G) { + case "YY": + return String(D.$y).slice(-2); + case "YYYY": + return I.s(D.$y, 4, "0"); + case "M": + return $ + 1; + case "MM": + return I.s($ + 1, 2, "0"); + case "MMM": + return X(j.monthsShort, $, q, 3); + case "MMMM": + return X(q, $); + case "D": + return D.$D; + case "DD": + return I.s(D.$D, 2, "0"); + case "d": + return String(D.$W); + case "dd": + return X(j.weekdaysMin, D.$W, V, 2); + case "ddd": + return X(j.weekdaysShort, D.$W, V, 3); + case "dddd": + return V[D.$W]; + case "H": + return String(F); + case "HH": + return I.s(F, 2, "0"); + case "h": + return J(1); + case "hh": + return J(2); + case "a": + return te(F, z, !0); + case "A": + return te(F, z, !1); + case "m": + return String(z); + case "mm": + return I.s(z, 2, "0"); + case "s": + return String(D.$s); + case "ss": + return I.s(D.$s, 2, "0"); + case "SSS": + return I.s(D.$ms, 3, "0"); + case "Z": + return M; + } + return null; + })(Z) || + M.replace(":", "") + ); + }); + }), + (N.utcOffset = function () { + return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); + }), + (N.diff = function (S, D, j) { + var O, + M = this, + F = I.p(D), + z = L(S), + $ = (z.utcOffset() - this.utcOffset()) * o, + V = this - z, + q = function () { + return I.m(M, z); + }; + switch (F) { + case g: + O = q() / 12; + break; + case d: + O = q(); + break; + case h: + O = q() / 3; + break; + case c: + O = (V - $) / 6048e5; + break; + case u: + O = (V - $) / 864e5; + break; + case s: + O = V / r; + break; + case l: + O = V / o; + break; + case i: + O = V / n; + break; + default: + O = V; + } + return j ? O : I.a(O); + }), + (N.daysInMonth = function () { + return this.endOf(d).$D; + }), + (N.$locale = function () { + return A[this.$L]; + }), + (N.locale = function (S, D) { + if (!S) return this.$L; + var j = this.clone(), + O = R(S, D, !0); + return O && (j.$L = O), j; + }), + (N.clone = function () { + return I.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(); + }), + w + ); + })(), + B = W.prototype; + return ( + (L.prototype = B), + [ + ["$ms", a], + ["$s", i], + ["$m", l], + ["$H", s], + ["$W", u], + ["$M", d], + ["$y", g], + ["$D", m], + ].forEach(function (w) { + B[w[1]] = function (N) { + return this.$g(N, w[0], w[1]); + }; + }), + (L.extend = function (w, N) { + return w.$i || (w(N, W, L), (w.$i = !0)), L; + }), + (L.locale = R), + (L.isDayjs = k), + (L.unix = function (w) { + return L(1e3 * w); + }), + (L.en = A[x]), + (L.Ls = A), + (L.p = {}), + L + ); + }); +})(y0); +var l8 = y0.exports; +const h1 = /* @__PURE__ */ ro(l8), + s8 = ({ conversationGroupId: e, shareId: t }) => { + const { onResolve: n, source: o } = To(), + [r, a] = ae(!1), + i = async () => { + e && (a(!0), await E4(t, e, o), n(), a(!1)); + }; + return e + ? /* @__PURE__ */ f.jsx(vn, { + disabled: r, + className: $t.resolveButton, + title: "Resolve conversation", + onClick: i, + children: /* @__PURE__ */ f.jsx(s1, {}), + }) + : null; + }, + v0 = ({ + user: e, + timestamp: t, + showResolveButton: n, + conversationGroupId: o, + shareId: r, + }) => + /* @__PURE__ */ f.jsxs(oa, { + className: "d-flex align-items-center justify-content-between mb-0", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex align-items-center gap-1", + children: [ + /* @__PURE__ */ f.jsx(e0, { user: e }), + /* @__PURE__ */ f.jsxs("h4", { + children: [ + e == null ? void 0 : e.first_name, + " ", + e == null ? void 0 : e.last_name, + ], + }), + /* @__PURE__ */ f.jsx("span", { + children: h1(t).format("HH:mm, DD MMM YY"), + }), + ], + }), + n + ? /* @__PURE__ */ f.jsx(s8, { + conversationGroupId: o, + shareId: r, + }) + : null, + ], + }), + c8 = ({ conversation: e, shareId: t }) => { + const { users: n } = To(), + o = _e(() => { + if (e != null && e.user_id) return n[e.user_id]; + }, [e.user_id, n]); + return /* @__PURE__ */ f.jsxs(Ut, { + children: [ + /* @__PURE__ */ f.jsx(v0, { + user: o, + timestamp: e.timestamp, + shareId: t, + }), + /* @__PURE__ */ f.jsx(un, { + children: /* @__PURE__ */ f.jsx("p", { + children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2"), + }), + }), + ], + }); + }, + u8 = ({ conversationGroupId: e, shareId: t }) => { + const { currentUser: n, users: o, onReplyAdd: r, source: a } = To(), + i = Object.values(o), + [l, s] = ae(""), + [u, c] = ae(!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 v4( + t, + e, + { + message: l, + }, + a, + ), + r(); + } catch (g) { + console.error("error while saving reply", g); + } + c(!1), s(""); + } + }; + return /* @__PURE__ */ f.jsx("div", { + className: $t.replyForm, + children: /* @__PURE__ */ f.jsx("form", { + onSubmit: d, + className: "", + children: /* @__PURE__ */ f.jsx(b0, { + comment: l, + setComment: s, + loading: u, + users: Object.values(i), + currentUser: n || null, + onEnterKeypress: d, + }), + }), + }); + }, + d8 = ({ conversationGroup: e, shareId: t, onSelect: n }) => { + var h; + const { users: o } = To(), + r = _e(() => { + if (e.owner) return o[e.owner]; + }, [e.owner, o]), + { isSelected: a } = To(), + [i, l] = ae(!1), + s = pe( + (g) => { + !a || + !g || + (console.log( + "ConversationGroupComponent scrolling", + e.conversation_group_id, + ), + setTimeout(() => { + g.scrollIntoView({ + behavior: "smooth", + block: "center", + }); + }, 1e3)); + }, + [e.conversation_group_id, a], + ); + 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__ */ f.jsx("div", { + ref: s, + className: $t.conversationGroup, + children: /* @__PURE__ */ f.jsxs(Ut, { + className: `${a ? "active" : ""}`, + onClick: n, + children: [ + /* @__PURE__ */ f.jsx(v0, { + user: r, + timestamp: u.timestamp, + showResolveButton: !0, + conversationGroupId: e.conversation_group_id, + shareId: t, + }), + /* @__PURE__ */ f.jsxs(un, { + children: [ + /* @__PURE__ */ f.jsx(C0, { meta: e.meta }), + /* @__PURE__ */ f.jsx("p", { + children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2"), + }), + /* @__PURE__ */ f.jsx(ke, { + onClick: () => l((g) => !g), + color: "link", + children: d, + }), + c.length + ? /* @__PURE__ */ f.jsx(f.Fragment, { + children: i + ? /* @__PURE__ */ f.jsx(f.Fragment, { + children: c.map((g) => + /* @__PURE__ */ f.jsx( + c8, + { + conversation: g, + shareId: t, + }, + g.conversation_id, + ), + ), + }) + : null, + }) + : null, + i + ? /* @__PURE__ */ f.jsx(u8, { + conversationGroupId: e.conversation_group_id, + shareId: t, + }) + : null, + ], + }), + ], + }), + }); + }, + x0 = ut({ + users: {}, + conversationGroup: void 0, + currentUser: void 0, + isSelected: !1, + shareId: void 0, + onSelect: () => null, + onResolve: () => null, + onReplyAdd: () => null, + source: V1.DBT_DOCS, + }), + f8 = ({ + currentUser: e, + conversationGroup: t, + shareId: n, + onSelect: o, + isSelected: r, + users: a, + onResolve: i, + onReplyAdd: l, + source: s, + }) => { + const u = _e( + () => ({ + currentUser: e, + conversationGroup: t, + shareId: n, + onSelect: o, + isSelected: r, + users: a, + onResolve: i, + onReplyAdd: l, + source: s, + }), + [e, t, n, o, r, a, i, l, s], + ); + return !t || !n + ? null + : /* @__PURE__ */ f.jsx(x0.Provider, { + value: u, + children: /* @__PURE__ */ f.jsx(d8, { + conversationGroup: t, + shareId: n, + onSelect: o, + }), + }); + }, + To = () => Re(x0), + g8 = () => { + const e = we((d) => d.source), + t = we((d) => d.conversations), + n = we((d) => d.selectedConversationId), + o = we((d) => d.shareId), + r = we((d) => d.users), + a = we((d) => d.currentUserId), + i = dt(); + if (!a || !o) return null; + const l = r[a], + s = (d) => { + i($5({ shareId: o, conversationGroupId: d })); + }, + u = (d) => { + i(K1(d)); + }, + c = (d) => { + console.log("onReplyAdd", d), i(Gc()); + }; + return !t || !Object.keys(t).length + ? /* @__PURE__ */ f.jsx("div", { children: "No conversations yet!" }) + : /* @__PURE__ */ f.jsx("div", { + children: Object.values(t).map((d) => + /* @__PURE__ */ f.jsx( + f8, + { + 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, + ), + ), + }); }, - onRemove: function() { - return null; + h8 = () => { + const e = we((i) => i.isRightPanelOpen), + t = we((i) => i.selectedConversationId), + n = we((i) => i.newConversation), + o = dt(), + r = () => { + o(X1(!1)), o(K1(void 0)), o(J1()); + }; + return !!n || e || t + ? /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx(Od, { + onClick: r, + className: $t.conversationRightPanelCloseButton, + }), + /* @__PURE__ */ f.jsxs("div", { + className: $t.conversationRightPanel, + children: [ + /* @__PURE__ */ f.jsx("h3", { children: "Comments" }), + n + ? /* @__PURE__ */ f.jsx(i8, {}) + : /* @__PURE__ */ f.jsx(g8, {}), + ], + }), + ], + }) + : null; }, - renderSuggestion: null, - isLoading: !1, - appendSpaceOnAdd: !1 -}; -const r8 = { - "&multiLine": { - minHeight: "40px" + p8 = 10, + m8 = () => { + const e = le(), + t = we((i) => i.shareId), + n = we((i) => i.conversationsLoadingState), + o = dt(), + r = we((i) => Object.keys(i.conversations || {})), + a = pe( + (i) => { + clearTimeout(e.current), + x4(i) + .then((l) => { + console.log("useConversations", l), + o(W5(l == null ? void 0 : l.dbt_docs_share_conversations)), + (e.current = setTimeout(() => { + a(i); + }, p8 * 1e3)); + }) + .catch((l) => + console.error("error while fetching conversations list", l), + ) + .finally(() => { + o(Xs(it.INITIALIZED)); + }); + }, + [o], + ); + return ( + re(() => { + n !== it.UNINITIALIZED || !t || (o(Xs(it.LOADING)), a(t)); + }, [o, n, r, t, a]), + { isLoading: n === it.LOADING } + ); }, - input: { - border: "none", - outline: "none", - fontWeight: "500", - fontSize: "15px", - color: "rgba(0, 5, 15, 0.85)" + b8 = () => { + const e = dt(), + t = we((r) => Object.keys(r.users || {})), + [n, o] = ae(it.UNINITIALIZED); + return ( + re(() => { + n !== it.UNINITIALIZED || + Object.keys(t).length || + (o(it.LOADING), + w4() + .then((r) => { + console.log("useConversationUsers", r), e(V5(r)); + }) + .catch((r) => console.error("error while fetching users list", r)) + .finally(() => { + o(it.INITIALIZED); + })); + }, [e, n, t]), + { isLoading: n === it.LOADING } + ); }, - 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)" - } - } - } -}, a8 = ({ - value: e, - setValue: t, - users: n, - placeholder: o = "Type your reply here...", - onEnterKeypress: r -}) => { - const a = n.map((u) => ({ - ...u, - display: u.display_name - })), i = (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__ */ f.jsx( - n8, - { - autoFocus: !0, - value: e, - onChange: s, - style: { - ...r8, - minHeight: "40px", - marginBottom: "10px" - }, - placeholder: o, - className: "mentions-input", - onKeyDown: i, - children: /* @__PURE__ */ f.jsx( - rl, - { - displayTransform: (u, c) => `@${c}`, - trigger: "@", - markup: "@[__id__](__display__)", - data: a, - appendSpaceOnAdd: !0, - renderSuggestion: (u, c) => /* @__PURE__ */ f.jsx("div", { className: `user ${c ? "focused" : ""}`, children: u.display }), - onAdd: l - } - ) - } - ); -}, b0 = ({ - comment: e, - setComment: t, - loading: n, - users: o, - currentUser: r, - placeholder: a, - onEnterKeypress: i -}) => /* @__PURE__ */ f.jsxs("div", { className: $t.conversationInputForm, children: [ - r ? /* @__PURE__ */ f.jsx(e0, { user: r }) : null, - /* @__PURE__ */ f.jsx( - a8, - { - value: e, - setValue: t, - users: o, - placeholder: a, - onEnterKeypress: i - } + C8 = () => ( + b8(), + m8(), + /* @__PURE__ */ f.jsxs("div", { + children: [/* @__PURE__ */ f.jsx(h8, {}), /* @__PURE__ */ f.jsx(A4, {})], + }) ), - /* @__PURE__ */ f.jsx(ra, { loading: n, color: "primary", children: /* @__PURE__ */ f.jsx(h4, {}) }) -] }), C0 = ({ - meta: { highlight: e, filePath: t, field: n, column: o } -}) => { - if (!e) - return null; - const r = o ? `${t} (${o})` : t; - return /* @__PURE__ */ f.jsx("div", { className: $t.highlightText, children: /* @__PURE__ */ f.jsx( - Zo, - { - code: e, - language: n ? "markdown" : "sql", - showLineNumbers: !n, - fileName: r, - theme: "light" - } - ) }); -}, i8 = () => { - const e = we( - (c) => c.users - ), t = we( - (c) => c.newConversation - ), n = we( - (c) => c.currentUserId ? c.users[c.currentUserId] : null - ), o = we( - (c) => c.shareId - ), r = dt(), [a, i] = ae(!1), [l, s] = ae(""), u = async (c) => { - if (c == null || c.stopPropagation(), c == null || c.preventDefault(), !(!t || !o)) { - i(!0); - try { - console.log("saving conversation", t, l); - const d = await y4( - 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(Gc()), i(!1), r(X1(!0)), r(J1()), s(""); - } - }; - return /* @__PURE__ */ f.jsx(Ut, { className: $t.newConversationForm, children: /* @__PURE__ */ f.jsx(un, { children: /* @__PURE__ */ f.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ f.jsx("h4", { children: "Add comment" }), - /* @__PURE__ */ f.jsx( - C0, - { - meta: (t == null ? void 0 : t.meta) || {} - } + w0 = ({ target: e, ...t }) => + Tn( + /* @__PURE__ */ f.jsx(vn, { + className: $t.hotspotButton, + title: "Click to start conversation", + ...t, + children: /* @__PURE__ */ f.jsx(Qc, {}), + }), + e, ), - /* @__PURE__ */ f.jsx( - b0, - { - comment: l, - setComment: s, - loading: a, - users: Object.values(e), - currentUser: n, - placeholder: "Start a conversation or add others with @", - onEnterKeypress: u - } - ) - ] }) }) }); -}; -var y0 = { exports: {} }; -(function(e, t) { - (function(n, o) { - e.exports = o(); - })(En, function() { - var n = 1e3, o = 6e4, r = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", u = "day", c = "week", d = "month", h = "quarter", g = "year", m = "date", b = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, p = /\[([^\]]+)]|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, v = { 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(w) { - var N = ["th", "st", "nd", "rd"], S = w % 100; - return "[" + w + (N[(S - 20) % 10] || N[S] || N[0]) + "]"; - } }, y = function(w, N, S) { - var D = String(w); - return !D || D.length >= N ? w : "" + Array(N + 1 - D.length).join(S) + w; - }, E = { s: y, z: function(w) { - var N = -w.utcOffset(), S = Math.abs(N), D = Math.floor(S / 60), j = S % 60; - return (N <= 0 ? "+" : "-") + y(D, 2, "0") + ":" + y(j, 2, "0"); - }, m: function w(N, S) { - if (N.date() < S.date()) return -w(S, N); - var D = 12 * (S.year() - N.year()) + (S.month() - N.month()), j = N.clone().add(D, d), O = S - j < 0, M = N.clone().add(D + (O ? -1 : 1), d); - return +(-(D + (S - j) / (O ? j - M : M - j)) || 0); - }, a: function(w) { - return w < 0 ? Math.ceil(w) || 0 : Math.floor(w); - }, p: function(w) { - return { M: d, y: g, w: c, d: u, D: m, h: s, m: l, s: i, ms: a, Q: h }[w] || String(w || "").toLowerCase().replace(/s$/, ""); - }, u: function(w) { - return w === void 0; - } }, x = "en", A = {}; - A[x] = v; - var T = "$isDayjsObject", k = function(w) { - return w instanceof W || !(!w || !w[T]); - }, R = function w(N, S, D) { - var j; - if (!N) return x; - if (typeof N == "string") { - var O = N.toLowerCase(); - A[O] && (j = O), S && (A[O] = S, j = O); - var M = N.split("-"); - if (!j && M.length > 1) return w(M[0]); - } else { - var F = N.name; - A[F] = N, j = F; - } - return !D && j && (x = j), j || !D && x; - }, L = function(w, N) { - if (k(w)) return w.clone(); - var S = typeof N == "object" ? N : {}; - return S.date = w, S.args = arguments, new W(S); - }, I = E; - I.l = R, I.i = k, I.w = function(w, N) { - return L(w, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); - }; - var W = function() { - function w(S) { - this.$L = R(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[T] = !0; - } - var N = w.prototype; - return N.parse = function(S) { - this.$d = function(D) { - var j = D.date, O = D.utc; - if (j === null) return /* @__PURE__ */ new Date(NaN); - if (I.u(j)) return /* @__PURE__ */ new Date(); - if (j instanceof Date) return new Date(j); - if (typeof j == "string" && !/Z$/i.test(j)) { - var M = j.match(C); - if (M) { - var F = M[2] - 1 || 0, z = (M[7] || "0").substring(0, 3); - return O ? new Date(Date.UTC(M[1], F, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, z)) : new Date(M[1], F, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, z); - } - } - return new Date(j); - }(S), this.init(); - }, N.init = function() { - var S = this.$d; - this.$y = S.getFullYear(), this.$M = S.getMonth(), this.$D = S.getDate(), this.$W = S.getDay(), this.$H = S.getHours(), this.$m = S.getMinutes(), this.$s = S.getSeconds(), this.$ms = S.getMilliseconds(); - }, N.$utils = function() { - return I; - }, N.isValid = function() { - return this.$d.toString() !== b; - }, N.isSame = function(S, D) { - var j = L(S); - return this.startOf(D) <= j && j <= this.endOf(D); - }, N.isAfter = function(S, D) { - return L(S) < this.startOf(D); - }, N.isBefore = function(S, D) { - return this.endOf(D) < L(S); - }, N.$g = function(S, D, j) { - return I.u(S) ? this[D] : this.set(j, S); - }, N.unix = function() { - return Math.floor(this.valueOf() / 1e3); - }, N.valueOf = function() { - return this.$d.getTime(); - }, N.startOf = function(S, D) { - var j = this, O = !!I.u(D) || D, M = I.p(S), F = function(te, Z) { - var se = I.w(j.$u ? Date.UTC(j.$y, Z, te) : new Date(j.$y, Z, te), j); - return O ? se : se.endOf(u); - }, z = function(te, Z) { - return I.w(j.toDate()[te].apply(j.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), j); - }, $ = this.$W, V = this.$M, q = this.$D, K = "set" + (this.$u ? "UTC" : ""); - switch (M) { - case g: - return O ? F(1, 0) : F(31, 11); - case d: - return O ? F(1, V) : F(0, V + 1); - case c: - var X = this.$locale().weekStart || 0, J = ($ < X ? $ + 7 : $) - X; - return F(O ? q - J : q + (6 - J), V); - case u: - case m: - return z(K + "Hours", 0); - case s: - return z(K + "Minutes", 1); - case l: - return z(K + "Seconds", 2); - case i: - return z(K + "Milliseconds", 3); - default: - return this.clone(); + y8 = () => { + var s; + const e = dt(), + t = we((u) => u.codeblockLoaded), + n = we((u) => u.manifest), + [o, r] = ae(0), + a = (s = $1()) == null ? void 0 : s.parentElement, + i = () => { + var h; + if (!a || !n.nodes) return; + const u = Z1(); + if (!u || u.length < 3) { + console.error("Unable to find model parts", u); + return; } - }, N.endOf = function(S) { - return this.startOf(S, !1); - }, N.$set = function(S, D) { - var j, O = I.p(S), M = "set" + (this.$u ? "UTC" : ""), F = (j = {}, j[u] = M + "Date", j[m] = M + "Date", j[d] = M + "Month", j[g] = M + "FullYear", j[s] = M + "Hours", j[l] = M + "Minutes", j[i] = M + "Seconds", j[a] = M + "Milliseconds", j)[O], z = O === u ? this.$D + (D - this.$W) : D; - if (O === d || O === g) { - var $ = this.clone().set(m, 1); - $.$d[F](z), $.init(), this.$d = $.set(m, Math.min(this.$D, $.daysInMonth())).$d; - } else F && this.$d[F](z); - return this.init(), this; - }, N.set = function(S, D) { - return this.clone().$set(S, D); - }, N.get = function(S) { - return this[I.p(S)](); - }, N.add = function(S, D) { - var j, O = this; - S = Number(S); - var M = I.p(D), F = function(V) { - var q = L(O); - return I.w(q.date(q.date() + Math.round(V * S)), O); - }; - if (M === d) return this.set(d, this.$M + S); - if (M === g) return this.set(g, this.$y + S); - if (M === u) return F(1); - if (M === c) return F(7); - var z = (j = {}, j[l] = o, j[s] = r, j[i] = n, j)[M] || 1, $ = this.$d.getTime() + S * z; - return I.w($, this); - }, N.subtract = function(S, D) { - return this.add(-1 * S, D); - }, N.format = function(S) { - var D = this, j = this.$locale(); - if (!this.isValid()) return j.invalidDate || b; - var O = S || "YYYY-MM-DDTHH:mm:ssZ", M = I.z(this), F = this.$H, z = this.$m, $ = this.$M, V = j.weekdays, q = j.months, K = j.meridiem, X = function(Z, se, G, ye) { - return Z && (Z[se] || Z(D, O)) || G[se].slice(0, ye); - }, J = function(Z) { - return I.s(F % 12 || 12, Z, "0"); - }, te = K || function(Z, se, G) { - var ye = Z < 12 ? "AM" : "PM"; - return G ? ye.toLowerCase() : ye; + 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 }, + }, }; - return O.replace(p, function(Z, se) { - return se || function(G) { - switch (G) { - case "YY": - return String(D.$y).slice(-2); - case "YYYY": - return I.s(D.$y, 4, "0"); - case "M": - return $ + 1; - case "MM": - return I.s($ + 1, 2, "0"); - case "MMM": - return X(j.monthsShort, $, q, 3); - case "MMMM": - return X(q, $); - case "D": - return D.$D; - case "DD": - return I.s(D.$D, 2, "0"); - case "d": - return String(D.$W); - case "dd": - return X(j.weekdaysMin, D.$W, V, 2); - case "ddd": - return X(j.weekdaysShort, D.$W, V, 3); - case "dddd": - return V[D.$W]; - case "H": - return String(F); - case "HH": - return I.s(F, 2, "0"); - case "h": - return J(1); - case "hh": - return J(2); - case "a": - return te(F, z, !0); - case "A": - return te(F, z, !1); - case "m": - return String(z); - case "mm": - return I.s(z, 2, "0"); - case "s": - return String(D.$s); - case "ss": - return I.s(D.$s, 2, "0"); - case "SSS": - return I.s(D.$ms, 3, "0"); - case "Z": - return M; + e(Q1({ meta: d })); + }, + l = pe( + (u) => { + if (!a) return; + const c = u.y, + d = a.querySelectorAll(".line-numbers-rows > span"), + h = Array.from(d).findIndex((g) => { + const { height: m, y: b } = g.getBoundingClientRect(); + return c >= b && c <= b + m; + }); + r(h); + }, + [a], + ); + return ( + re(() => { + if (!(!t || !a)) + return ( + a.addEventListener("mousemove", l), + () => { + a.removeEventListener("mousemove", l); } - return null; - }(Z) || M.replace(":", ""); - }); - }, N.utcOffset = function() { - return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); - }, N.diff = function(S, D, j) { - var O, M = this, F = I.p(D), z = L(S), $ = (z.utcOffset() - this.utcOffset()) * o, V = this - z, q = function() { - return I.m(M, z); + ); + }, [t, a, l]), + !t || !a + ? null + : /* @__PURE__ */ f.jsx(w0, { + target: a, + onClick: i, + style: { top: o * 21.2 }, + }) + ); + }, + v8 = () => { + const e = dt(), + t = we((r) => r.codeblockLoaded), + n = U1(), + o = () => { + const r = { + field: "description", + highlight: n == null ? void 0 : n.innerText, }; - switch (F) { - case g: - O = q() / 12; - break; - case d: - O = q(); - break; - case h: - O = q() / 3; - break; - case c: - O = (V - $) / 6048e5; - break; - case u: - O = (V - $) / 864e5; - break; - case s: - O = V / r; - break; - case l: - O = V / o; - break; - case i: - O = V / n; - break; - default: - O = V; - } - return j ? O : I.a(O); - }, N.daysInMonth = function() { - return this.endOf(d).$D; - }, N.$locale = function() { - return A[this.$L]; - }, N.locale = function(S, D) { - if (!S) return this.$L; - var j = this.clone(), O = R(S, D, !0); - return O && (j.$L = O), j; - }, N.clone = function() { - return I.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(); - }, w; - }(), B = W.prototype; - return L.prototype = B, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", u], ["$M", d], ["$y", g], ["$D", m]].forEach(function(w) { - B[w[1]] = function(N) { - return this.$g(N, w[0], w[1]); + e(Q1({ meta: r })); }; - }), L.extend = function(w, N) { - return w.$i || (w(N, W, L), w.$i = !0), L; - }, L.locale = R, L.isDayjs = k, L.unix = function(w) { - return L(1e3 * w); - }, L.en = A[x], L.Ls = A, L.p = {}, L; - }); -})(y0); -var l8 = y0.exports; -const h1 = /* @__PURE__ */ ro(l8), s8 = ({ - conversationGroupId: e, - shareId: t -}) => { - const { onResolve: n, source: o } = To(), [r, a] = ae(!1), i = async () => { - e && (a(!0), await E4(t, e, o), n(), a(!1)); - }; - return e ? /* @__PURE__ */ f.jsx( - vn, - { - disabled: r, - className: $t.resolveButton, - title: "Resolve conversation", - onClick: i, - children: /* @__PURE__ */ f.jsx(s1, {}) - } - ) : null; -}, v0 = ({ - user: e, - timestamp: t, - showResolveButton: n, - conversationGroupId: o, - shareId: r -}) => /* @__PURE__ */ f.jsxs(oa, { className: "d-flex align-items-center justify-content-between mb-0", children: [ - /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center gap-1", children: [ - /* @__PURE__ */ f.jsx(e0, { user: e }), - /* @__PURE__ */ f.jsxs("h4", { children: [ - e == null ? void 0 : e.first_name, - " ", - e == null ? void 0 : e.last_name - ] }), - /* @__PURE__ */ f.jsx("span", { children: h1(t).format("HH:mm, DD MMM YY") }) - ] }), - n ? /* @__PURE__ */ f.jsx( - s8, - { - conversationGroupId: o, - shareId: r - } - ) : null -] }), c8 = ({ conversation: e, shareId: t }) => { - const { users: n } = To(), o = _e(() => { - if (e != null && e.user_id) - return n[e.user_id]; - }, [e.user_id, n]); - return /* @__PURE__ */ f.jsxs(Ut, { children: [ - /* @__PURE__ */ f.jsx( - v0, - { - user: o, - timestamp: e.timestamp, - shareId: t - } - ), - /* @__PURE__ */ f.jsx(un, { children: /* @__PURE__ */ f.jsx("p", { children: e.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }) }) - ] }); -}, u8 = ({ conversationGroupId: e, shareId: t }) => { - const { currentUser: n, users: o, onReplyAdd: r, source: a } = To(), i = Object.values(o), [l, s] = ae(""), [u, c] = ae(!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 v4( - t, - e, - { - message: l - }, - a - ), r(); - } catch (g) { - console.error("error while saving reply", g); - } - c(!1), s(""); - } - }; - return /* @__PURE__ */ f.jsx("div", { className: $t.replyForm, children: /* @__PURE__ */ f.jsx("form", { onSubmit: d, className: "", children: /* @__PURE__ */ f.jsx( - b0, - { - comment: l, - setComment: s, - loading: u, - users: Object.values(i), - currentUser: n || null, - onEnterKeypress: d - } - ) }) }); -}, d8 = ({ - conversationGroup: e, - shareId: t, - onSelect: n -}) => { - var h; - const { users: o } = To(), r = _e(() => { - if (e.owner) - return o[e.owner]; - }, [e.owner, o]), { isSelected: a } = To(), [i, l] = ae(!1), s = pe( - (g) => { - !a || !g || (console.log( - "ConversationGroupComponent scrolling", - e.conversation_group_id - ), setTimeout(() => { - g.scrollIntoView({ - behavior: "smooth", - block: "center" - }); - }, 1e3)); - }, - [e.conversation_group_id, a] - ); - 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__ */ f.jsx("div", { ref: s, className: $t.conversationGroup, children: /* @__PURE__ */ f.jsxs(Ut, { className: `${a ? "active" : ""}`, onClick: n, children: [ - /* @__PURE__ */ f.jsx( - v0, - { - user: r, - timestamp: u.timestamp, - showResolveButton: !0, - conversationGroupId: e.conversation_group_id, - shareId: t - } - ), - /* @__PURE__ */ f.jsxs(un, { children: [ - /* @__PURE__ */ f.jsx(C0, { meta: e.meta }), - /* @__PURE__ */ f.jsx("p", { children: u.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }), - /* @__PURE__ */ f.jsx(ke, { onClick: () => l((g) => !g), color: "link", children: d }), - c.length ? /* @__PURE__ */ f.jsx(f.Fragment, { children: i ? /* @__PURE__ */ f.jsx(f.Fragment, { children: c.map((g) => /* @__PURE__ */ f.jsx( - c8, - { - conversation: g, - shareId: t - }, - g.conversation_id - )) }) : null }) : null, - i ? /* @__PURE__ */ f.jsx( - u8, - { - conversationGroupId: e.conversation_group_id, - shareId: t - } - ) : null - ] }) - ] }) }); -}, x0 = ut({ - users: {}, - conversationGroup: void 0, - currentUser: void 0, - isSelected: !1, - shareId: void 0, - onSelect: () => null, - onResolve: () => null, - onReplyAdd: () => null, - source: V1.DBT_DOCS -}), f8 = ({ - currentUser: e, - conversationGroup: t, - shareId: n, - onSelect: o, - isSelected: r, - users: a, - onResolve: i, - onReplyAdd: l, - source: s -}) => { - const u = _e( - () => ({ - currentUser: e, - conversationGroup: t, - shareId: n, - onSelect: o, - isSelected: r, - users: a, - onResolve: i, - onReplyAdd: l, - source: s + return !t || !n + ? null + : /* @__PURE__ */ f.jsx(w0, { target: n, onClick: o }); + }, + x8 = () => + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [/* @__PURE__ */ f.jsx(v8, {}), /* @__PURE__ */ f.jsx(y8, {})], }), - [ - e, - t, - n, - o, - r, - a, - i, - l, - s - ] - ); - return !t || !n ? null : /* @__PURE__ */ f.jsx(x0.Provider, { value: u, children: /* @__PURE__ */ f.jsx( - d8, - { - conversationGroup: t, - shareId: n, - onSelect: o - } - ) }); -}, To = () => Re(x0), g8 = () => { - const e = we( - (d) => d.source - ), t = we( - (d) => d.conversations - ), n = we( - (d) => d.selectedConversationId - ), o = we( - (d) => d.shareId - ), r = we( - (d) => d.users - ), a = we( - (d) => d.currentUserId - ), i = dt(); - if (!a || !o) - return null; - const l = r[a], s = (d) => { - i($5({ shareId: o, conversationGroupId: d })); - }, u = (d) => { - i(K1(d)); - }, c = (d) => { - console.log("onReplyAdd", d), i(Gc()); - }; - return !t || !Object.keys(t).length ? /* @__PURE__ */ f.jsx("div", { children: "No conversations yet!" }) : /* @__PURE__ */ f.jsx("div", { children: Object.values(t).map((d) => /* @__PURE__ */ f.jsx( - f8, - { - 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 - )) }); -}, h8 = () => { - const e = we( - (i) => i.isRightPanelOpen - ), t = we( - (i) => i.selectedConversationId - ), n = we( - (i) => i.newConversation - ), o = dt(), r = () => { - o(X1(!1)), o(K1(void 0)), o(J1()); - }; - return !!n || e || t ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx( - Od, - { - onClick: r, - className: $t.conversationRightPanelCloseButton - } - ), - /* @__PURE__ */ f.jsxs("div", { className: $t.conversationRightPanel, children: [ - /* @__PURE__ */ f.jsx("h3", { children: "Comments" }), - n ? /* @__PURE__ */ f.jsx(i8, {}) : /* @__PURE__ */ f.jsx(g8, {}) - ] }) - ] }) : null; -}, p8 = 10, m8 = () => { - const e = le(), t = we( - (i) => i.shareId - ), n = we( - (i) => i.conversationsLoadingState - ), o = dt(), r = we( - (i) => Object.keys(i.conversations || {}) - ), a = pe( - (i) => { - clearTimeout(e.current), x4(i).then((l) => { - console.log("useConversations", l), o(W5(l == null ? void 0 : l.dbt_docs_share_conversations)), e.current = setTimeout(() => { - a(i); - }, p8 * 1e3); - }).catch( - (l) => console.error("error while fetching conversations list", l) - ).finally(() => { - o(Xs(it.INITIALIZED)); - }); - }, - [o] - ); - return re(() => { - n !== it.UNINITIALIZED || !t || (o(Xs(it.LOADING)), a(t)); - }, [o, n, r, t, a]), { isLoading: n === it.LOADING }; -}, b8 = () => { - const e = dt(), t = we( - (r) => Object.keys(r.users || {}) - ), [n, o] = ae(it.UNINITIALIZED); - return re(() => { - n !== it.UNINITIALIZED || Object.keys(t).length || (o(it.LOADING), w4().then((r) => { - console.log("useConversationUsers", r), e(V5(r)); - }).catch((r) => console.error("error while fetching users list", r)).finally(() => { - o(it.INITIALIZED); - })); - }, [e, n, t]), { isLoading: n === it.LOADING }; -}, C8 = () => (b8(), m8(), /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx(h8, {}), - /* @__PURE__ */ f.jsx(A4, {}) -] })), w0 = ({ target: e, ...t }) => Tn( - /* @__PURE__ */ f.jsx( - vn, - { - className: $t.hotspotButton, - title: "Click to start conversation", - ...t, - children: /* @__PURE__ */ f.jsx(Qc, {}) - } - ), - e -), y8 = () => { - var s; - const e = dt(), t = we( - (u) => u.codeblockLoaded - ), n = we( - (u) => u.manifest - ), [o, r] = ae(0), a = (s = $1()) == null ? void 0 : s.parentElement, i = () => { - var h; - if (!a || !n.nodes) - return; - const u = Z1(); - 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(Q1({ meta: d })); - }, l = pe( - (u) => { - if (!a) - return; - const c = u.y, d = a.querySelectorAll( - ".line-numbers-rows > span" - ), h = Array.from(d).findIndex((g) => { - const { height: m, y: b } = g.getBoundingClientRect(); - return c >= b && c <= b + m; - }); - r(h); - }, - [a] - ); - return re(() => { - if (!(!t || !a)) - return a.addEventListener("mousemove", l), () => { - a.removeEventListener("mousemove", l); - }; - }, [t, a, l]), !t || !a ? null : /* @__PURE__ */ f.jsx( - w0, - { - target: a, - onClick: i, - style: { top: o * 21.2 } - } - ); -}, v8 = () => { - const e = dt(), t = we( - (r) => r.codeblockLoaded - ), n = U1(), o = () => { - const r = { - field: "description", - highlight: n == null ? void 0 : n.innerText - }; - e(Q1({ meta: r })); - }; - return !t || !n ? null : /* @__PURE__ */ f.jsx(w0, { target: n, onClick: o }); -}, x8 = () => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx(v8, {}), - /* @__PURE__ */ f.jsx(y8, {}) -] }), w8 = $d(() => import("./DbtDocsRenderer.js")), E8 = () => { - const { loading: e, shareDetails: t } = _4(), n = dt(), { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = S4(), i = (l) => { - l.stopPropagation(); - const s = o(); - s && n(Q1(s)); - }; - return e ? /* @__PURE__ */ f.jsx("div", { children: "Loading..." }) : !(t != null && t.catalog_presigned_url) || !(t != null && t.manifest_presigned_url) ? /* @__PURE__ */ f.jsx("div", { children: "Unable to load required artifacts. Please try again." }) : /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsxs("div", { className: "d-flex justify-content-end mb-2", children: [ - /* @__PURE__ */ f.jsx(x8, {}), - /* @__PURE__ */ f.jsx(b4, {}) - ] }), - /* @__PURE__ */ f.jsx(C8, {}), - /* @__PURE__ */ f.jsx( - w8, - { - shareDetails: t, - onSelectionEnd: a - } - ), - r ? /* @__PURE__ */ f.jsx(m4, { pos: r, onAddComment: i }) : null - ] }); -}, qy = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => /* @__PURE__ */ f.jsx("div", { className: "altimate-component", children: /* @__PURE__ */ f.jsx( - U5, - { - shareId: e, - userId: t, - conversationGroupId: n, - source: o, - children: /* @__PURE__ */ f.jsx(E8, {}) - } -) }), _8 = { - 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: {} -}, Br = G1({ - name: "lineageState", - initialState: _8, - 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] + w8 = $d(() => import("./DbtDocsRenderer.js")), + E8 = () => { + const { loading: e, shareDetails: t } = _4(), + n = dt(), + { getHighlightedSelectionData: o, pos: r, onSelectionEnd: a } = S4(), + i = (l) => { + l.stopPropagation(); + const s = o(); + s && n(Q1(s)); }; + return e + ? /* @__PURE__ */ f.jsx("div", { children: "Loading..." }) + : !(t != null && t.catalog_presigned_url) || + !(t != null && t.manifest_presigned_url) + ? /* @__PURE__ */ f.jsx("div", { + children: "Unable to load required artifacts. Please try again.", + }) + : /* @__PURE__ */ f.jsxs("div", { + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex justify-content-end mb-2", + children: [ + /* @__PURE__ */ f.jsx(x8, {}), + /* @__PURE__ */ f.jsx(b4, {}), + ], + }), + /* @__PURE__ */ f.jsx(C8, {}), + /* @__PURE__ */ f.jsx(w8, { + shareDetails: t, + onSelectionEnd: a, + }), + r ? /* @__PURE__ */ f.jsx(m4, { pos: r, onAddComment: i }) : null, + ], + }); + }, + qy = ({ shareId: e, userId: t, conversationGroupId: n, source: o }) => + /* @__PURE__ */ f.jsx("div", { + className: "altimate-component", + children: /* @__PURE__ */ f.jsx(U5, { + shareId: e, + userId: t, + conversationGroupId: n, + source: o, + children: /* @__PURE__ */ f.jsx(E8, {}), + }), + }), + _8 = { + 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: {}, + }, + Br = G1({ + name: "lineageState", + initialState: _8, + 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 a = n[r]; + if (!(r in o)) { + o[r] = a; + continue; + } + const i = a + .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(...i); + } + 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; + }, }, - 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 a = n[r]; - if (!(r in o)) { - o[r] = a; - continue; - } - const i = a.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(...i); - } - 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: kn, - setMoreTables: al, - mergeSeeMoreTables: il, - setSidebarScreen: Mt, - setSelectedColumn: bn, - setCollectColumns: No, - mergeCollectColumns: ll, - setConfidence: S8, - updateConfidenceWithOperatorList: sl, - setLeftExpansion: Hi, - setRightExpansion: Fi, - setMinRange: Do, - setNodeCount: Kn, - setSelectCheck: E0, - setNonSelectCheck: _0, - setDefaultExpansion: S0, - setAiEnabled: k8, - setModalArgs: Xn, - setTheme: A8, - setLineageType: Yy, - setStaticLineage: Gy, - setAllowSyncColumnsWithDB: Ky, - setSqlLineageDetails: M8, - setHighlightedNodes: T8, - setSelectedNode: N8, - setNodesSavingsPerformance: D8, - setNodesCost: O8, - setErrors: cl -} = Br.actions; + }), + { + setSelectedTable: kn, + setMoreTables: al, + mergeSeeMoreTables: il, + setSidebarScreen: Mt, + setSelectedColumn: bn, + setCollectColumns: No, + mergeCollectColumns: ll, + setConfidence: S8, + updateConfidenceWithOperatorList: sl, + setLeftExpansion: Hi, + setRightExpansion: Fi, + setMinRange: Do, + setNodeCount: Kn, + setSelectCheck: E0, + setNonSelectCheck: _0, + setDefaultExpansion: S0, + setAiEnabled: k8, + setModalArgs: Xn, + setTheme: A8, + setLineageType: Yy, + setStaticLineage: Gy, + setAllowSyncColumnsWithDB: Ky, + setSqlLineageDetails: M8, + setHighlightedNodes: T8, + setSelectedNode: N8, + setNodesSavingsPerformance: D8, + setNodesCost: O8, + setErrors: cl, + } = Br.actions; function Ke(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 = Ke(e[n])) !== "" && (t += (t && " ") + o); - else - for (let n in e) - e[n] && (t += (t && " ") + n); + else for (let n in e) e[n] && (t += (t && " ") + n); return t; } -var p1 = { exports: {} }, Ii = {}, dr = { exports: {} }, zi = {}; +var p1 = { exports: {} }, + Ii = {}, + dr = { exports: {} }, + zi = {}; /** * @license React * use-sync-external-store-shim.production.min.js @@ -16384,18 +20512,39 @@ function L8() { y2 = 1; var e = P; function t(d, h) { - return d === h && (d !== 0 || 1 / d === 1 / h) || d !== d && h !== 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, a = e.useLayoutEffect, i = e.useDebugValue; + var n = typeof Object.is == "function" ? Object.is : t, + o = e.useState, + r = e.useEffect, + a = e.useLayoutEffect, + i = e.useDebugValue; function l(d, h) { - var g = h(), m = o({ inst: { value: g, getSnapshot: h } }), b = m[0].inst, C = m[1]; - return a(function() { - b.value = g, b.getSnapshot = h, s(b) && C({ inst: b }); - }, [d, g, h]), r(function() { - return s(b) && C({ inst: b }), d(function() { - s(b) && C({ inst: b }); - }); - }, [d]), i(g), g; + var g = h(), + m = o({ inst: { value: g, getSnapshot: h } }), + b = m[0].inst, + C = m[1]; + return ( + a( + function () { + (b.value = g), (b.getSnapshot = h), s(b) && C({ inst: b }); + }, + [d, g, h], + ), + r( + function () { + return ( + s(b) && C({ inst: b }), + d(function () { + s(b) && C({ inst: b }); + }) + ); + }, + [d], + ), + i(g), + g + ); } function s(d) { var h = d.getSnapshot; @@ -16410,8 +20559,17 @@ function L8() { function u(d, h) { return h(); } - var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? u : l; - return zi.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, zi; + var c = + typeof window > "u" || + typeof window.document > "u" || + typeof window.document.createElement > "u" + ? u + : l; + return ( + (zi.useSyncExternalStore = + e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c), + zi + ); } var Pi = {}; /** @@ -16425,78 +20583,153 @@ var Pi = {}; */ var v2; function j8() { - return v2 || (v2 = 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 = P, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - function n(y) { - { - for (var E = arguments.length, x = new Array(E > 1 ? E - 1 : 0), A = 1; A < E; A++) - x[A - 1] = arguments[A]; - o("error", y, x); - } - } - function o(y, E, x) { - { - var A = t.ReactDebugCurrentFrame, T = A.getStackAddendum(); - T !== "" && (E += "%s", x = x.concat([T])); - var k = x.map(function(R) { - return String(R); - }); - k.unshift("Warning: " + E), Function.prototype.apply.call(console[y], console, k); - } - } - function r(y, E) { - return y === E && (y !== 0 || 1 / y === 1 / E) || y !== y && E !== E; - } - var a = typeof Object.is == "function" ? Object.is : r, i = e.useState, l = e.useEffect, s = e.useLayoutEffect, u = e.useDebugValue, c = !1, d = !1; - function h(y, E, x) { - 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 A = E(); - if (!d) { - var T = E(); - a(A, T) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0); - } - var k = i({ - inst: { - value: A, - getSnapshot: E - } - }), R = k[0].inst, L = k[1]; - return s(function() { - R.value = A, R.getSnapshot = E, g(R) && L({ - inst: R - }); - }, [y, A, E]), l(function() { - g(R) && L({ - inst: R - }); - var I = function() { - g(R) && L({ - inst: R - }); - }; - return y(I); - }, [y]), u(A), A; - } - function g(y) { - var E = y.getSnapshot, x = y.value; - try { - var A = E(); - return !a(x, A); - } catch { - return !0; - } - } - function m(y, E, x) { - return E(); - } - var b = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", C = !b, p = C ? m : h, v = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : p; - Pi.useSyncExternalStore = v, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Pi; + return ( + v2 || + ((v2 = 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 = P, + t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + function n(y) { + { + for ( + var E = arguments.length, + x = new Array(E > 1 ? E - 1 : 0), + A = 1; + A < E; + A++ + ) + x[A - 1] = arguments[A]; + o("error", y, x); + } + } + function o(y, E, x) { + { + var A = t.ReactDebugCurrentFrame, + T = A.getStackAddendum(); + T !== "" && ((E += "%s"), (x = x.concat([T]))); + var k = x.map(function (R) { + return String(R); + }); + k.unshift("Warning: " + E), + Function.prototype.apply.call(console[y], console, k); + } + } + function r(y, E) { + return ( + (y === E && (y !== 0 || 1 / y === 1 / E)) || (y !== y && E !== E) + ); + } + var a = typeof Object.is == "function" ? Object.is : r, + i = e.useState, + l = e.useEffect, + s = e.useLayoutEffect, + u = e.useDebugValue, + c = !1, + d = !1; + function h(y, E, x) { + 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 A = E(); + if (!d) { + var T = E(); + a(A, T) || + (n( + "The result of getSnapshot should be cached to avoid an infinite loop", + ), + (d = !0)); + } + var k = i({ + inst: { + value: A, + getSnapshot: E, + }, + }), + R = k[0].inst, + L = k[1]; + return ( + s( + function () { + (R.value = A), + (R.getSnapshot = E), + g(R) && + L({ + inst: R, + }); + }, + [y, A, E], + ), + l( + function () { + g(R) && + L({ + inst: R, + }); + var I = function () { + g(R) && + L({ + inst: R, + }); + }; + return y(I); + }, + [y], + ), + u(A), + A + ); + } + function g(y) { + var E = y.getSnapshot, + x = y.value; + try { + var A = E(); + return !a(x, A); + } catch { + return !0; + } + } + function m(y, E, x) { + return E(); + } + var b = + typeof window < "u" && + typeof window.document < "u" && + typeof window.document.createElement < "u", + C = !b, + p = C ? m : h, + v = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : p; + (Pi.useSyncExternalStore = v), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error(), + ); + })()), + Pi + ); } var x2; function k0() { - return x2 || (x2 = 1, process.env.NODE_ENV === "production" ? dr.exports = L8() : dr.exports = j8()), dr.exports; + return ( + x2 || + ((x2 = 1), + process.env.NODE_ENV === "production" + ? (dr.exports = L8()) + : (dr.exports = j8())), + dr.exports + ); } /** * @license React @@ -16511,42 +20744,69 @@ var w2; function R8() { if (w2) return Ii; w2 = 1; - var e = P, t = k0(); + var e = P, + t = k0(); function n(u, c) { - return u === c && (u !== 0 || 1 / u === 1 / c) || u !== u && c !== 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, a = e.useRef, i = e.useEffect, l = e.useMemo, s = e.useDebugValue; - return Ii.useSyncExternalStoreWithSelector = function(u, c, d, h, g) { - var m = a(null); - if (m.current === null) { - var b = { hasValue: !1, value: null }; - m.current = b; - } else b = m.current; - m = l(function() { - function p(A) { - if (!v) { - if (v = !0, y = A, A = h(A), g !== void 0 && b.hasValue) { - var T = b.value; - if (g(T, A)) return E = T; + var o = typeof Object.is == "function" ? Object.is : n, + r = t.useSyncExternalStore, + a = e.useRef, + i = e.useEffect, + l = e.useMemo, + s = e.useDebugValue; + return ( + (Ii.useSyncExternalStoreWithSelector = function (u, c, d, h, g) { + var m = a(null); + if (m.current === null) { + var b = { hasValue: !1, value: null }; + m.current = b; + } else b = m.current; + m = l( + function () { + function p(A) { + if (!v) { + if (((v = !0), (y = A), (A = h(A)), g !== void 0 && b.hasValue)) { + var T = b.value; + if (g(T, A)) return (E = T); + } + return (E = A); + } + if (((T = E), o(y, A))) return T; + var k = h(A); + return g !== void 0 && g(T, k) ? T : ((y = A), (E = k)); } - return E = A; - } - if (T = E, o(y, A)) return T; - var k = h(A); - return g !== void 0 && g(T, k) ? T : (y = A, E = k); - } - var v = !1, y, E, x = d === void 0 ? null : d; - return [function() { - return p(c()); - }, x === null ? void 0 : function() { - return p(x()); - }]; - }, [c, d, h, g]); - var C = r(u, m[0], m[1]); - return i(function() { - b.hasValue = !0, b.value = C; - }, [C]), s(C), C; - }, Ii; + var v = !1, + y, + E, + x = d === void 0 ? null : d; + return [ + function () { + return p(c()); + }, + x === null + ? void 0 + : function () { + return p(x()); + }, + ]; + }, + [c, d, h, g], + ); + var C = r(u, m[0], m[1]); + return ( + i( + function () { + (b.hasValue = !0), (b.value = C); + }, + [C], + ), + s(C), + C + ); + }), + Ii + ); } var Bi = {}; /** @@ -16560,113 +20820,185 @@ var Bi = {}; */ var E2; function H8() { - return E2 || (E2 = 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 = P, t = k0(); - 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, a = e.useRef, i = e.useEffect, l = e.useMemo, s = e.useDebugValue; - function u(c, d, h, g, m) { - var b = a(null), C; - b.current === null ? (C = { - hasValue: !1, - value: null - }, b.current = C) : C = b.current; - var p = l(function() { - var x = !1, A, T, k = function(W) { - if (!x) { - x = !0, A = W; - var B = g(W); - if (m !== void 0 && C.hasValue) { - var w = C.value; - if (m(w, B)) - return T = w, w; - } - return T = B, B; + return ( + E2 || + ((E2 = 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 = P, + t = k0(); + function n(c, d) { + return ( + (c === d && (c !== 0 || 1 / c === 1 / d)) || (c !== c && d !== d) + ); } - var N = A, S = T; - if (o(N, W)) - return S; - var D = g(W); - return m !== void 0 && m(S, D) ? S : (A = W, T = D, D); - }, R = h === void 0 ? null : h, L = function() { - return k(d()); - }, I = R === null ? void 0 : function() { - return k(R()); - }; - return [L, I]; - }, [d, h, g, m]), v = p[0], y = p[1], E = r(c, v, y); - return i(function() { - C.hasValue = !0, C.value = E; - }, [E]), s(E), E; - } - Bi.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); - }()), Bi; + var o = typeof Object.is == "function" ? Object.is : n, + r = t.useSyncExternalStore, + a = e.useRef, + i = e.useEffect, + l = e.useMemo, + s = e.useDebugValue; + function u(c, d, h, g, m) { + var b = a(null), + C; + b.current === null + ? ((C = { + hasValue: !1, + value: null, + }), + (b.current = C)) + : (C = b.current); + var p = l( + function () { + var x = !1, + A, + T, + k = function (W) { + if (!x) { + (x = !0), (A = W); + var B = g(W); + if (m !== void 0 && C.hasValue) { + var w = C.value; + if (m(w, B)) return (T = w), w; + } + return (T = B), B; + } + var N = A, + S = T; + if (o(N, W)) return S; + var D = g(W); + return m !== void 0 && m(S, D) + ? S + : ((A = W), (T = D), D); + }, + R = h === void 0 ? null : h, + L = function () { + return k(d()); + }, + I = + R === null + ? void 0 + : function () { + return k(R()); + }; + return [L, I]; + }, + [d, h, g, m], + ), + v = p[0], + y = p[1], + E = r(c, v, y); + return ( + i( + function () { + (C.hasValue = !0), (C.value = E); + }, + [E], + ), + s(E), + E + ); + } + (Bi.useSyncExternalStoreWithSelector = u), + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == + "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( + new Error(), + ); + })()), + Bi + ); } -process.env.NODE_ENV === "production" ? p1.exports = R8() : p1.exports = H8(); +process.env.NODE_ENV === "production" + ? (p1.exports = R8()) + : (p1.exports = H8()); var F8 = p1.exports; -const I8 = /* @__PURE__ */ ro(F8), z8 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, _2 = (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 g = t; - t = d ?? (typeof h != "object" || h === null) ? h : Object.assign({}, t, h), n.forEach((m) => m(t, g)); - } - }, r = () => t, s = { setState: o, getState: r, getInitialState: () => u, subscribe: (c) => (n.add(c), () => n.delete(c)), destroy: () => { - (z8 ? "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; -}, P8 = (e) => e ? _2(e) : _2, { useDebugValue: B8 } = P, { useSyncExternalStoreWithSelector: V8 } = I8, W8 = (e) => e; +const I8 = /* @__PURE__ */ ro(F8), + z8 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, + _2 = (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 g = t; + (t = + (d ?? (typeof h != "object" || h === null)) + ? h + : Object.assign({}, t, h)), + n.forEach((m) => m(t, g)); + } + }, + r = () => t, + s = { + setState: o, + getState: r, + getInitialState: () => u, + subscribe: (c) => (n.add(c), () => n.delete(c)), + destroy: () => { + (z8 ? "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; + }, + P8 = (e) => (e ? _2(e) : _2), + { useDebugValue: B8 } = P, + { useSyncExternalStoreWithSelector: V8 } = I8, + W8 = (e) => e; function A0(e, t = W8, n) { const o = V8( e.subscribe, e.getState, e.getServerState || e.getInitialState, t, - n + n, ); return B8(o), o; } const S2 = (e, t) => { - const n = P8(e), o = (r, a = t) => A0(n, r, a); - return Object.assign(o, n), o; -}, $8 = (e, t) => e ? S2(e, t) : S2; + const n = P8(e), + o = (r, a = t) => A0(n, r, a); + return Object.assign(o, n), o; + }, + $8 = (e, t) => (e ? S2(e, t) : S2); function Pe(e, t) { - if (Object.is(e, t)) - return !0; + 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; + 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; + 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; + 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 Z8 = { value: () => { -} }; +var Z8 = { value: () => {} }; function ga() { 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); + if (!(o = arguments[e] + "") || o in n || /[\s.]/.test(o)) + throw new Error("illegal type: " + o); n[o] = []; } return new Mr(n); @@ -16675,50 +21007,67 @@ function Mr(e) { this._ = e; } function U8(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 }; - }); + 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 }; + }); } Mr.prototype = ga.prototype = { constructor: Mr, - on: function(e, t) { - var n = this._, o = U8(e + "", n), r, a = -1, i = o.length; + on: function (e, t) { + var n = this._, + o = U8(e + "", n), + r, + a = -1, + i = o.length; if (arguments.length < 2) { - for (; ++a < i; ) if ((r = (e = o[a]).type) && (r = q8(n[r], e.name))) return r; + for (; ++a < i; ) + if ((r = (e = o[a]).type) && (r = q8(n[r], e.name))) return r; return; } - if (t != null && typeof t != "function") throw new Error("invalid callback: " + t); + if (t != null && typeof t != "function") + throw new Error("invalid callback: " + t); for (; ++a < i; ) - if (r = (e = o[a]).type) n[r] = k2(n[r], e.name, t); + if ((r = (e = o[a]).type)) n[r] = k2(n[r], e.name, t); else if (t == null) for (r in n) n[r] = k2(n[r], e.name, null); return this; }, - copy: function() { - var e = {}, t = this._; + copy: function () { + var e = {}, + t = this._; for (var n in t) e[n] = t[n].slice(); return new Mr(e); }, - call: function(e, t) { - if ((r = arguments.length - 2) > 0) for (var n = new Array(r), o = 0, r, a; o < r; ++o) n[o] = arguments[o + 2]; + call: function (e, t) { + if ((r = arguments.length - 2) > 0) + for (var n = new Array(r), o = 0, r, a; o < r; ++o) + n[o] = arguments[o + 2]; if (!this._.hasOwnProperty(e)) throw new Error("unknown type: " + e); for (a = this._[e], o = 0, r = a.length; o < r; ++o) a[o].value.apply(t, n); }, - apply: function(e, t, n) { + apply: function (e, t, n) { if (!this._.hasOwnProperty(e)) throw new Error("unknown type: " + e); - for (var o = this._[e], r = 0, a = o.length; r < a; ++r) o[r].value.apply(t, n); - } + for (var o = this._[e], r = 0, a = o.length; r < a; ++r) + o[r].value.apply(t, n); + }, }; function q8(e, t) { for (var n = 0, o = e.length, r; n < o; ++n) - if ((r = e[n]).name === t) - return r.value; + if ((r = e[n]).name === t) return r.value; } function k2(e, t, n) { for (var o = 0, r = e.length; o < r; ++o) if (e[o].name === t) { - e[o] = Z8, e = e.slice(0, o).concat(e.slice(o + 1)); + (e[o] = Z8), (e = e.slice(0, o).concat(e.slice(o + 1))); break; } return n != null && e.push({ name: t, value: n }), e; @@ -16729,20 +21078,27 @@ const A2 = { xhtml: m1, xlink: "http://www.w3.org/1999/xlink", xml: "http://www.w3.org/XML/1998/namespace", - xmlns: "http://www.w3.org/2000/xmlns/" + xmlns: "http://www.w3.org/2000/xmlns/", }; function ha(e) { - var t = e += "", n = t.indexOf(":"); - return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), A2.hasOwnProperty(t) ? { space: A2[t], local: e } : e; + var t = (e += ""), + n = t.indexOf(":"); + return ( + n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), + A2.hasOwnProperty(t) ? { space: A2[t], local: e } : e + ); } function Y8(e) { - return function() { - var t = this.ownerDocument, n = this.namespaceURI; - return n === m1 && t.documentElement.namespaceURI === m1 ? t.createElement(e) : t.createElementNS(n, e); + return function () { + var t = this.ownerDocument, + n = this.namespaceURI; + return n === m1 && t.documentElement.namespaceURI === m1 + ? t.createElement(e) + : t.createElementNS(n, e); }; } function G8(e) { - return function() { + return function () { return this.ownerDocument.createElementNS(e.space, e.local); }; } @@ -16750,18 +21106,25 @@ function M0(e) { var t = ha(e); return (t.local ? G8 : Y8)(t); } -function K8() { -} +function K8() {} function ul(e) { - return e == null ? K8 : function() { - return this.querySelector(e); - }; + return e == null + ? K8 + : function () { + return this.querySelector(e); + }; } function X8(e) { typeof e != "function" && (e = ul(e)); for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var a = t[r], i = a.length, l = o[r] = new Array(i), s, u, c = 0; c < i; ++c) - (s = a[c]) && (u = e.call(s, s.__data__, c, a)) && ("__data__" in s && (u.__data__ = s.__data__), l[c] = u); + for ( + var a = t[r], i = a.length, l = (o[r] = new Array(i)), s, u, c = 0; + c < i; + ++c + ) + (s = a[c]) && + (u = e.call(s, s.__data__, c, a)) && + ("__data__" in s && (u.__data__ = s.__data__), (l[c] = u)); return new ot(o, this._parents); } function J8(e) { @@ -16771,35 +21134,37 @@ function Q8() { return []; } function T0(e) { - return e == null ? Q8 : function() { - return this.querySelectorAll(e); - }; + return e == null + ? Q8 + : function () { + return this.querySelectorAll(e); + }; } function e7(e) { - return function() { + return function () { return J8(e.apply(this, arguments)); }; } function t7(e) { - typeof e == "function" ? e = e7(e) : e = T0(e); + typeof e == "function" ? (e = e7(e)) : (e = T0(e)); for (var t = this._groups, n = t.length, o = [], r = [], a = 0; a < n; ++a) for (var i = t[a], l = i.length, s, u = 0; u < l; ++u) (s = i[u]) && (o.push(e.call(s, s.__data__, u, i)), r.push(s)); return new ot(o, r); } function N0(e) { - return function() { + return function () { return this.matches(e); }; } function D0(e) { - return function(t) { + return function (t) { return t.matches(e); }; } var n7 = Array.prototype.find; function o7(e) { - return function() { + return function () { return n7.call(this.children, e); }; } @@ -16814,17 +21179,19 @@ function l7() { return Array.from(this.children); } function s7(e) { - return function() { + return function () { return i7.call(this.children, e); }; } function c7(e) { - return this.selectAll(e == null ? l7 : s7(typeof e == "function" ? e : D0(e))); + return this.selectAll( + e == null ? l7 : s7(typeof e == "function" ? e : D0(e)), + ); } function u7(e) { typeof e != "function" && (e = N0(e)); for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var a = t[r], i = a.length, l = o[r] = [], s, u = 0; u < i; ++u) + for (var a = t[r], i = a.length, l = (o[r] = []), s, u = 0; u < i; ++u) (s = a[u]) && e.call(s, s.__data__, u, a) && l.push(s); return new ot(o, this._parents); } @@ -16835,60 +21202,90 @@ function d7() { return new ot(this._enter || this._groups.map(O0), this._parents); } function Vr(e, t) { - this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t; + (this.ownerDocument = e.ownerDocument), + (this.namespaceURI = e.namespaceURI), + (this._next = null), + (this._parent = e), + (this.__data__ = t); } Vr.prototype = { constructor: Vr, - appendChild: function(e) { + appendChild: function (e) { return this._parent.insertBefore(e, this._next); }, - insertBefore: function(e, t) { + insertBefore: function (e, t) { return this._parent.insertBefore(e, t); }, - querySelector: function(e) { + querySelector: function (e) { return this._parent.querySelector(e); }, - querySelectorAll: function(e) { + querySelectorAll: function (e) { return this._parent.querySelectorAll(e); - } + }, }; function f7(e) { - return function() { + return function () { return e; }; } function g7(e, t, n, o, r, a) { for (var i = 0, l, s = t.length, u = a.length; i < u; ++i) - (l = t[i]) ? (l.__data__ = a[i], o[i] = l) : n[i] = new Vr(e, a[i]); - for (; i < s; ++i) - (l = t[i]) && (r[i] = l); + (l = t[i]) ? ((l.__data__ = a[i]), (o[i] = l)) : (n[i] = new Vr(e, a[i])); + for (; i < s; ++i) (l = t[i]) && (r[i] = l); } function h7(e, t, n, o, r, a, i) { - var l, s, u = /* @__PURE__ */ new Map(), c = t.length, d = a.length, h = new Array(c), g; + var l, + s, + u = /* @__PURE__ */ new Map(), + c = t.length, + d = a.length, + h = new Array(c), + g; for (l = 0; l < c; ++l) - (s = t[l]) && (h[l] = g = i.call(s, s.__data__, l, t) + "", u.has(g) ? r[l] = s : u.set(g, s)); + (s = t[l]) && + ((h[l] = g = i.call(s, s.__data__, l, t) + ""), + u.has(g) ? (r[l] = s) : u.set(g, s)); for (l = 0; l < d; ++l) - g = i.call(e, a[l], l, a) + "", (s = u.get(g)) ? (o[l] = s, s.__data__ = a[l], u.delete(g)) : n[l] = new Vr(e, a[l]); - for (l = 0; l < c; ++l) - (s = t[l]) && u.get(h[l]) === s && (r[l] = s); + (g = i.call(e, a[l], l, a) + ""), + (s = u.get(g)) + ? ((o[l] = s), (s.__data__ = a[l]), u.delete(g)) + : (n[l] = new Vr(e, a[l])); + for (l = 0; l < c; ++l) (s = t[l]) && u.get(h[l]) === s && (r[l] = s); } function p7(e) { return e.__data__; } function m7(e, t) { if (!arguments.length) return Array.from(this, p7); - var n = t ? h7 : g7, o = this._parents, r = this._groups; + var n = t ? h7 : g7, + o = this._parents, + r = this._groups; typeof e != "function" && (e = f7(e)); - for (var a = r.length, i = new Array(a), l = new Array(a), s = new Array(a), u = 0; u < a; ++u) { - var c = o[u], d = r[u], h = d.length, g = b7(e.call(c, c && c.__data__, u, o)), m = g.length, b = l[u] = new Array(m), C = i[u] = new Array(m), p = s[u] = new Array(h); + for ( + var a = r.length, + i = new Array(a), + l = new Array(a), + s = new Array(a), + u = 0; + u < a; + ++u + ) { + var c = o[u], + d = r[u], + h = d.length, + g = b7(e.call(c, c && c.__data__, u, o)), + m = g.length, + b = (l[u] = new Array(m)), + C = (i[u] = new Array(m)), + p = (s[u] = new Array(h)); n(c, d, b, C, p, g, t); for (var v = 0, y = 0, E, x; v < m; ++v) - if (E = b[v]) { - for (v >= y && (y = v + 1); !(x = C[y]) && ++y < m; ) ; + if ((E = b[v])) { + for (v >= y && (y = v + 1); !(x = C[y]) && ++y < m; ); E._next = x || null; } } - return i = new ot(i, o), i._enter = l, i._exit = s, i; + return (i = new ot(i, o)), (i._enter = l), (i._exit = s), i; } function b7(e) { return typeof e == "object" && "length" in e ? e : Array.from(e); @@ -16897,21 +21294,48 @@ function C7() { return new ot(this._exit || this._groups.map(O0), this._parents); } function y7(e, t, n) { - var o = this.enter(), r = this, a = 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 ? a.remove() : n(a), o && r ? o.merge(r).order() : r; + var o = this.enter(), + r = this, + a = 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 ? a.remove() : n(a), + o && r ? o.merge(r).order() : r + ); } function v7(e) { - for (var t = e.selection ? e.selection() : e, n = this._groups, o = t._groups, r = n.length, a = o.length, i = Math.min(r, a), l = new Array(r), s = 0; s < i; ++s) - for (var u = n[s], c = o[s], d = u.length, h = l[s] = new Array(d), g, m = 0; m < d; ++m) + for ( + var t = e.selection ? e.selection() : e, + n = this._groups, + o = t._groups, + r = n.length, + a = o.length, + i = Math.min(r, a), + l = new Array(r), + s = 0; + s < i; + ++s + ) + for ( + var u = n[s], c = o[s], d = u.length, h = (l[s] = new Array(d)), g, m = 0; + m < d; + ++m + ) (g = u[m] || c[m]) && (h[m] = g); - for (; s < r; ++s) - l[s] = n[s]; + for (; s < r; ++s) l[s] = n[s]; return new ot(l, this._parents); } function x7() { for (var e = this._groups, t = -1, n = e.length; ++t < n; ) for (var o = e[t], r = o.length - 1, a = o[r], i; --r >= 0; ) - (i = o[r]) && (a && i.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(i, a), a = i); + (i = o[r]) && + (a && + i.compareDocumentPosition(a) ^ 4 && + a.parentNode.insertBefore(i, a), + (a = i)); return this; } function w7(e) { @@ -16919,8 +21343,16 @@ function w7(e) { 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), a = 0; a < o; ++a) { - for (var i = n[a], l = i.length, s = r[a] = new Array(l), u, c = 0; c < l; ++c) + for ( + var n = this._groups, o = n.length, r = new Array(o), a = 0; + a < o; + ++a + ) { + for ( + var i = n[a], l = i.length, s = (r[a] = new Array(l)), u, c = 0; + c < l; + ++c + ) (u = i[c]) && (s[c] = u); s.sort(t); } @@ -16931,7 +21363,7 @@ function E7(e, t) { } function _7() { var e = arguments[0]; - return arguments[0] = this, e.apply(null, arguments), this; + return (arguments[0] = this), e.apply(null, arguments), this; } function S7() { return Array.from(this); @@ -16959,35 +21391,37 @@ function T7(e) { return this; } function N7(e) { - return function() { + return function () { this.removeAttribute(e); }; } function D7(e) { - return function() { + return function () { this.removeAttributeNS(e.space, e.local); }; } function O7(e, t) { - return function() { + return function () { this.setAttribute(e, t); }; } function L7(e, t) { - return function() { + return function () { this.setAttributeNS(e.space, e.local, t); }; } function j7(e, t) { - return function() { + return function () { var n = t.apply(this, arguments); n == null ? this.removeAttribute(e) : this.setAttribute(e, n); }; } function R7(e, t) { - return function() { + return function () { var n = t.apply(this, arguments); - n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n); + n == null + ? this.removeAttributeNS(e.space, e.local) + : this.setAttributeNS(e.space, e.local, n); }; } function H7(e, t) { @@ -16996,51 +21430,76 @@ function H7(e, t) { var o = this.node(); return n.local ? o.getAttributeNS(n.space, n.local) : o.getAttribute(n); } - return this.each((t == null ? n.local ? D7 : N7 : typeof t == "function" ? n.local ? R7 : j7 : n.local ? L7 : O7)(n, t)); + return this.each( + (t == null + ? n.local + ? D7 + : N7 + : typeof t == "function" + ? n.local + ? R7 + : j7 + : n.local + ? L7 + : O7)(n, t), + ); } function L0(e) { - return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView; + return ( + (e.ownerDocument && e.ownerDocument.defaultView) || + (e.document && e) || + e.defaultView + ); } function F7(e) { - return function() { + return function () { this.style.removeProperty(e); }; } function I7(e, t, n) { - return function() { + return function () { this.style.setProperty(e, t, n); }; } function z7(e, t, n) { - return function() { + return function () { var o = t.apply(this, arguments); o == null ? this.style.removeProperty(e) : this.style.setProperty(e, o, n); }; } function P7(e, t, n) { - return arguments.length > 1 ? this.each((t == null ? F7 : typeof t == "function" ? z7 : I7)(e, t, n ?? "")) : Jn(this.node(), e); + return arguments.length > 1 + ? this.each( + (t == null ? F7 : typeof t == "function" ? z7 : I7)(e, t, n ?? ""), + ) + : Jn(this.node(), e); } function Jn(e, t) { - return e.style.getPropertyValue(t) || L0(e).getComputedStyle(e, null).getPropertyValue(t); + return ( + e.style.getPropertyValue(t) || + L0(e).getComputedStyle(e, null).getPropertyValue(t) + ); } function B7(e) { - return function() { + return function () { delete this[e]; }; } function V7(e, t) { - return function() { + return function () { this[e] = t; }; } function W7(e, t) { - return function() { + return function () { var n = t.apply(this, arguments); - n == null ? delete this[e] : this[e] = n; + n == null ? delete this[e] : (this[e] = n); }; } function $7(e, t) { - return arguments.length > 1 ? this.each((t == null ? B7 : typeof t == "function" ? W7 : V7)(e, t)) : this.node()[e]; + return arguments.length > 1 + ? this.each((t == null ? B7 : typeof t == "function" ? W7 : V7)(e, t)) + : this.node()[e]; } function j0(e) { return e.trim().split(/^|\s+/); @@ -17049,20 +21508,24 @@ function dl(e) { return e.classList || new R0(e); } function R0(e) { - this._node = e, this._names = j0(e.getAttribute("class") || ""); + (this._node = e), (this._names = j0(e.getAttribute("class") || "")); } R0.prototype = { - add: function(e) { + add: function (e) { var t = this._names.indexOf(e); - t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" "))); + t < 0 && + (this._names.push(e), + this._node.setAttribute("class", this._names.join(" "))); }, - remove: function(e) { + remove: function (e) { var t = this._names.indexOf(e); - t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" "))); + t >= 0 && + (this._names.splice(t, 1), + this._node.setAttribute("class", this._names.join(" "))); }, - contains: function(e) { + contains: function (e) { return this._names.indexOf(e) >= 0; - } + }, }; function H0(e, t) { for (var n = dl(e), o = -1, r = t.length; ++o < r; ) n.add(t[o]); @@ -17071,24 +21534,25 @@ function F0(e, t) { for (var n = dl(e), o = -1, r = t.length; ++o < r; ) n.remove(t[o]); } function Z7(e) { - return function() { + return function () { H0(this, e); }; } function U7(e) { - return function() { + return function () { F0(this, e); }; } function q7(e, t) { - return function() { + return function () { (t.apply(this, arguments) ? H0 : F0)(this, e); }; } function Y7(e, t) { var n = j0(e + ""); if (arguments.length < 2) { - for (var o = dl(this.node()), r = -1, a = n.length; ++r < a; ) if (!o.contains(n[r])) return !1; + for (var o = dl(this.node()), r = -1, a = n.length; ++r < a; ) + if (!o.contains(n[r])) return !1; return !0; } return this.each((typeof t == "function" ? q7 : t ? Z7 : U7)(n, t)); @@ -17097,35 +21561,39 @@ function G7() { this.textContent = ""; } function K7(e) { - return function() { + return function () { this.textContent = e; }; } function X7(e) { - return function() { + return function () { var t = e.apply(this, arguments); this.textContent = t ?? ""; }; } function J7(e) { - return arguments.length ? this.each(e == null ? G7 : (typeof e == "function" ? X7 : K7)(e)) : this.node().textContent; + return arguments.length + ? this.each(e == null ? G7 : (typeof e == "function" ? X7 : K7)(e)) + : this.node().textContent; } function Q7() { this.innerHTML = ""; } function e9(e) { - return function() { + return function () { this.innerHTML = e; }; } function t9(e) { - return function() { + return function () { var t = e.apply(this, arguments); this.innerHTML = t ?? ""; }; } function n9(e) { - return arguments.length ? this.each(e == null ? Q7 : (typeof e == "function" ? t9 : e9)(e)) : this.node().innerHTML; + return arguments.length + ? this.each(e == null ? Q7 : (typeof e == "function" ? t9 : e9)(e)) + : this.node().innerHTML; } function o9() { this.nextSibling && this.parentNode.appendChild(this); @@ -17134,14 +21602,15 @@ function r9() { return this.each(o9); } function a9() { - this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild); + this.previousSibling && + this.parentNode.insertBefore(this, this.parentNode.firstChild); } function i9() { return this.each(a9); } function l9(e) { var t = typeof e == "function" ? e : M0(e); - return this.select(function() { + return this.select(function () { return this.appendChild(t.apply(this, arguments)); }); } @@ -17149,9 +21618,13 @@ function s9() { return null; } function c9(e, t) { - var n = typeof e == "function" ? e : M0(e), o = t == null ? s9 : typeof t == "function" ? t : ul(t); - return this.select(function() { - return this.insertBefore(n.apply(this, arguments), o.apply(this, arguments) || null); + var n = typeof e == "function" ? e : M0(e), + o = t == null ? s9 : typeof t == "function" ? t : ul(t); + return this.select(function () { + return this.insertBefore( + n.apply(this, arguments), + o.apply(this, arguments) || null, + ); }); } function u9() { @@ -17162,11 +21635,13 @@ function d9() { return this.each(u9); } function f9() { - var e = this.cloneNode(!1), t = this.parentNode; + var e = this.cloneNode(!1), + t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } function g9() { - var e = this.cloneNode(!0), t = this.parentNode; + var e = this.cloneNode(!0), + t = this.parentNode; return t ? t.insertBefore(e, this.nextSibling) : e; } function h9(e) { @@ -17176,48 +21651,66 @@ function p9(e) { return arguments.length ? this.property("__data__", e) : this.node().__data__; } function m9(e) { - return function(t) { + return function (t) { e.call(this, t, this.__data__); }; } function b9(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 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 C9(e) { - return function() { + return function () { var t = this.__on; if (t) { for (var n = 0, o = -1, r = t.length, a; n < r; ++n) - a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.options) : t[++o] = a; - ++o ? t.length = o : delete this.__on; + (a = t[n]), + (!e.type || a.type === e.type) && a.name === e.name + ? this.removeEventListener(a.type, a.listener, a.options) + : (t[++o] = a); + ++o ? (t.length = o) : delete this.__on; } }; } function y9(e, t, n) { - return function() { - var o = this.__on, r, a = m9(t); + return function () { + var o = this.__on, + r, + a = m9(t); if (o) { for (var i = 0, l = o.length; i < l; ++i) if ((r = o[i]).type === e.type && r.name === e.name) { - this.removeEventListener(r.type, r.listener, r.options), this.addEventListener(r.type, r.listener = a, r.options = n), r.value = t; + this.removeEventListener(r.type, r.listener, r.options), + this.addEventListener(r.type, (r.listener = a), (r.options = n)), + (r.value = t); return; } } - this.addEventListener(e.type, a, n), r = { type: e.type, name: e.name, value: t, listener: a, options: n }, o ? o.push(r) : this.__on = [r]; + this.addEventListener(e.type, a, n), + (r = { type: e.type, name: e.name, value: t, listener: a, options: n }), + o ? o.push(r) : (this.__on = [r]); }; } function v9(e, t, n) { - var o = b9(e + ""), r, a = o.length, i; + var o = b9(e + ""), + r, + a = o.length, + i; 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 < a; ++r) - if ((i = o[r]).type === c.type && i.name === c.name) - return c.value; + if ((i = o[r]).type === c.type && i.name === c.name) return c.value; } return; } @@ -17225,16 +21718,23 @@ function v9(e, t, n) { return this; } function I0(e, t, n) { - var o = L0(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); + var o = L0(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 x9(e, t) { - return function() { + return function () { return I0(this, e, t); }; } function w9(e, t) { - return function() { + return function () { return I0(this, e, t.apply(this, arguments)); }; } @@ -17248,7 +21748,7 @@ function* _9() { } var z0 = [null]; function ot(e, t) { - this._groups = e, this._parents = t; + (this._groups = e), (this._parents = t); } function qo() { return new ot([[document.documentElement]], z0); @@ -17292,31 +21792,42 @@ ot.prototype = qo.prototype = { datum: p9, on: v9, dispatch: E9, - [Symbol.iterator]: _9 + [Symbol.iterator]: _9, }; function bt(e) { - return typeof e == "string" ? new ot([[document.querySelector(e)]], [document.documentElement]) : new ot([[e]], z0); + return typeof e == "string" + ? new ot([[document.querySelector(e)]], [document.documentElement]) + : new ot([[e]], z0); } function k9(e) { let t; - for (; t = e.sourceEvent; ) e = t; + for (; (t = e.sourceEvent); ) e = t; return e; } function kt(e, t) { - if (e = k9(e), t === void 0 && (t = e.currentTarget), t) { + if (((e = k9(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]; + 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.clientX - r.left - t.clientLeft, + e.clientY - r.top - t.clientTop, + ]; } } return [e.pageX, e.pageY]; } -const A9 = { passive: !1 }, Oo = { capture: !0, passive: !1 }; +const A9 = { passive: !1 }, + Oo = { capture: !0, passive: !1 }; function Vi(e) { e.stopImmediatePropagation(); } @@ -17324,28 +21835,41 @@ function Vn(e) { e.preventDefault(), e.stopImmediatePropagation(); } function P0(e) { - var t = e.document.documentElement, n = bt(e).on("dragstart.drag", Vn, Oo); - "onselectstart" in t ? n.on("selectstart.drag", Vn, Oo) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none"); + var t = e.document.documentElement, + n = bt(e).on("dragstart.drag", Vn, Oo); + "onselectstart" in t + ? n.on("selectstart.drag", Vn, Oo) + : ((t.__noselect = t.style.MozUserSelect), + (t.style.MozUserSelect = "none")); } function B0(e, t) { - var n = e.document.documentElement, o = bt(e).on("dragstart.drag", null); - t && (o.on("click.drag", Vn, Oo), setTimeout(function() { - o.on("click.drag", null); - }, 0)), "onselectstart" in n ? o.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect); + var n = e.document.documentElement, + o = bt(e).on("dragstart.drag", null); + t && + (o.on("click.drag", Vn, Oo), + 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 fr = (e) => () => e; -function b1(e, { - sourceEvent: t, - subject: n, - target: o, - identifier: r, - active: a, - x: i, - y: l, - dx: s, - dy: u, - dispatch: c -}) { +function b1( + e, + { + sourceEvent: t, + subject: n, + target: o, + identifier: r, + active: a, + x: i, + 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 }, @@ -17357,10 +21881,10 @@ function b1(e, { y: { value: l, enumerable: !0, configurable: !0 }, dx: { value: s, enumerable: !0, configurable: !0 }, dy: { value: u, enumerable: !0, configurable: !0 }, - _: { value: c } + _: { value: c }, }); } -b1.prototype.on = function() { +b1.prototype.on = function () { var e = this._.on.apply(this._, arguments); return e === this._ ? this : e; }; @@ -17377,264 +21901,351 @@ function D9() { return navigator.maxTouchPoints || "ontouchstart" in this; } function O9() { - var e = M9, t = T9, n = N9, o = D9, r = {}, a = ga("start", "drag", "end"), i = 0, l, s, u, c, d = 0; + var e = M9, + t = T9, + n = N9, + o = D9, + r = {}, + a = ga("start", "drag", "end"), + i = 0, + l, + s, + u, + c, + d = 0; function h(E) { - E.on("mousedown.drag", g).filter(o).on("touchstart.drag", C).on("touchmove.drag", p, A9).on("touchend.drag touchcancel.drag", v).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + E.on("mousedown.drag", g) + .filter(o) + .on("touchstart.drag", C) + .on("touchmove.drag", p, A9) + .on("touchend.drag touchcancel.drag", v) + .style("touch-action", "none") + .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } function g(E, x) { if (!(c || !e.call(this, E, x))) { var A = y(this, t.call(this, E, x), E, x, "mouse"); - A && (bt(E.view).on("mousemove.drag", m, Oo).on("mouseup.drag", b, Oo), P0(E.view), Vi(E), u = !1, l = E.clientX, s = E.clientY, A("start", E)); + A && + (bt(E.view).on("mousemove.drag", m, Oo).on("mouseup.drag", b, Oo), + P0(E.view), + Vi(E), + (u = !1), + (l = E.clientX), + (s = E.clientY), + A("start", E)); } } function m(E) { - if (Vn(E), !u) { - var x = E.clientX - l, A = E.clientY - s; + if ((Vn(E), !u)) { + var x = E.clientX - l, + A = E.clientY - s; u = x * x + A * A > d; } r.mouse("drag", E); } function b(E) { - bt(E.view).on("mousemove.drag mouseup.drag", null), B0(E.view, u), Vn(E), r.mouse("end", E); + bt(E.view).on("mousemove.drag mouseup.drag", null), + B0(E.view, u), + Vn(E), + r.mouse("end", E); } function C(E, x) { if (e.call(this, E, x)) { - var A = E.changedTouches, T = t.call(this, E, x), k = A.length, R, L; + var A = E.changedTouches, + T = t.call(this, E, x), + k = A.length, + R, + L; for (R = 0; R < k; ++R) - (L = y(this, T, E, x, A[R].identifier, A[R])) && (Vi(E), L("start", E, A[R])); + (L = y(this, T, E, x, A[R].identifier, A[R])) && + (Vi(E), L("start", E, A[R])); } } function p(E) { - var x = E.changedTouches, A = x.length, T, k; + var x = E.changedTouches, + A = x.length, + T, + k; for (T = 0; T < A; ++T) (k = r[x[T].identifier]) && (Vn(E), k("drag", E, x[T])); } function v(E) { - var x = E.changedTouches, A = x.length, T, k; - for (c && clearTimeout(c), c = setTimeout(function() { - c = null; - }, 500), T = 0; T < A; ++T) + var x = E.changedTouches, + A = x.length, + T, + k; + for ( + c && clearTimeout(c), + c = setTimeout(function () { + c = null; + }, 500), + T = 0; + T < A; + ++T + ) (k = r[x[T].identifier]) && (Vi(E), k("end", E, x[T])); } function y(E, x, A, T, k, R) { - var L = a.copy(), I = kt(R || A, x), W, B, w; - if ((w = n.call(E, new b1("beforestart", { - sourceEvent: A, - target: h, - identifier: k, - active: i, - x: I[0], - y: I[1], - dx: 0, - dy: 0, - dispatch: L - }), T)) != null) - return W = w.x - I[0] || 0, B = w.y - I[1] || 0, function N(S, D, j) { - var O = I, M; - switch (S) { - case "start": - r[k] = N, M = i++; - break; - case "end": - delete r[k], --i; - case "drag": - I = kt(j || D, x), M = i; - break; + var L = a.copy(), + I = kt(R || A, x), + W, + B, + w; + if ( + (w = n.call( + E, + new b1("beforestart", { + sourceEvent: A, + target: h, + identifier: k, + active: i, + x: I[0], + y: I[1], + dx: 0, + dy: 0, + dispatch: L, + }), + T, + )) != null + ) + return ( + (W = w.x - I[0] || 0), + (B = w.y - I[1] || 0), + function N(S, D, j) { + var O = I, + M; + switch (S) { + case "start": + (r[k] = N), (M = i++); + break; + case "end": + delete r[k], --i; + case "drag": + (I = kt(j || D, x)), (M = i); + break; + } + L.call( + S, + E, + new b1(S, { + sourceEvent: D, + subject: w, + target: h, + identifier: k, + active: M, + x: I[0] + W, + y: I[1] + B, + dx: I[0] - O[0], + dy: I[1] - O[1], + dispatch: L, + }), + T, + ); } - L.call( - S, - E, - new b1(S, { - sourceEvent: D, - subject: w, - target: h, - identifier: k, - active: M, - x: I[0] + W, - y: I[1] + B, - dx: I[0] - O[0], - dy: I[1] - O[1], - dispatch: L - }), - T - ); - }; + ); } - return h.filter = function(E) { - return arguments.length ? (e = typeof E == "function" ? E : fr(!!E), h) : e; - }, h.container = function(E) { - return arguments.length ? (t = typeof E == "function" ? E : fr(E), h) : t; - }, h.subject = function(E) { - return arguments.length ? (n = typeof E == "function" ? E : fr(E), h) : n; - }, h.touchable = function(E) { - return arguments.length ? (o = typeof E == "function" ? E : fr(!!E), h) : o; - }, h.on = function() { - var E = a.on.apply(a, arguments); - return E === a ? h : E; - }, h.clickDistance = function(E) { - return arguments.length ? (d = (E = +E) * E, h) : Math.sqrt(d); - }, h; + return ( + (h.filter = function (E) { + return arguments.length + ? ((e = typeof E == "function" ? E : fr(!!E)), h) + : e; + }), + (h.container = function (E) { + return arguments.length + ? ((t = typeof E == "function" ? E : fr(E)), h) + : t; + }), + (h.subject = function (E) { + return arguments.length + ? ((n = typeof E == "function" ? E : fr(E)), h) + : n; + }), + (h.touchable = function (E) { + return arguments.length + ? ((o = typeof E == "function" ? E : fr(!!E)), h) + : o; + }), + (h.on = function () { + var E = a.on.apply(a, arguments); + return E === a ? h : E; + }), + (h.clickDistance = function (E) { + return arguments.length ? ((d = (E = +E) * E), h) : Math.sqrt(d); + }), + h + ); } function fl(e, t, n) { - e.prototype = t.prototype = n, n.constructor = e; + (e.prototype = t.prototype = n), (n.constructor = e); } function V0(e, t) { var n = Object.create(e.prototype); for (var o in t) n[o] = t[o]; return n; } -function Yo() { -} -var Lo = 0.7, Wr = 1 / Lo, Wn = "\\s*([+-]?\\d+)\\s*", jo = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Tt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", L9 = /^#([0-9a-f]{3,8})$/, j9 = new RegExp(`^rgb\\(${Wn},${Wn},${Wn}\\)$`), R9 = new RegExp(`^rgb\\(${Tt},${Tt},${Tt}\\)$`), H9 = new RegExp(`^rgba\\(${Wn},${Wn},${Wn},${jo}\\)$`), F9 = new RegExp(`^rgba\\(${Tt},${Tt},${Tt},${jo}\\)$`), I9 = new RegExp(`^hsl\\(${jo},${Tt},${Tt}\\)$`), z9 = new RegExp(`^hsla\\(${jo},${Tt},${Tt},${jo}\\)$`), M2 = { - 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 -}; +function Yo() {} +var Lo = 0.7, + Wr = 1 / Lo, + Wn = "\\s*([+-]?\\d+)\\s*", + jo = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", + Tt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", + L9 = /^#([0-9a-f]{3,8})$/, + j9 = new RegExp(`^rgb\\(${Wn},${Wn},${Wn}\\)$`), + R9 = new RegExp(`^rgb\\(${Tt},${Tt},${Tt}\\)$`), + H9 = new RegExp(`^rgba\\(${Wn},${Wn},${Wn},${jo}\\)$`), + F9 = new RegExp(`^rgba\\(${Tt},${Tt},${Tt},${jo}\\)$`), + I9 = new RegExp(`^hsl\\(${jo},${Tt},${Tt}\\)$`), + z9 = new RegExp(`^hsla\\(${jo},${Tt},${Tt},${jo}\\)$`), + M2 = { + 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, + }; fl(Yo, Ro, { copy(e) { return Object.assign(new this.constructor(), this, e); @@ -17648,7 +22259,7 @@ fl(Yo, Ro, { formatHex8: P9, formatHsl: B9, formatRgb: N2, - toString: N2 + toString: N2, }); function T2() { return this.rgb().formatHex(); @@ -17664,46 +22275,124 @@ function N2() { } function Ro(e) { var t, n; - return e = (e + "").trim().toLowerCase(), (t = L9.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? D2(t) : n === 3 ? new Je(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? gr(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? gr(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 = j9.exec(e)) ? new Je(t[1], t[2], t[3], 1) : (t = R9.exec(e)) ? new Je(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = H9.exec(e)) ? gr(t[1], t[2], t[3], t[4]) : (t = F9.exec(e)) ? gr(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = I9.exec(e)) ? j2(t[1], t[2] / 100, t[3] / 100, 1) : (t = z9.exec(e)) ? j2(t[1], t[2] / 100, t[3] / 100, t[4]) : M2.hasOwnProperty(e) ? D2(M2[e]) : e === "transparent" ? new Je(NaN, NaN, NaN, 0) : null; + return ( + (e = (e + "").trim().toLowerCase()), + (t = L9.exec(e)) + ? ((n = t[1].length), + (t = parseInt(t[1], 16)), + n === 6 + ? D2(t) + : n === 3 + ? new Je( + ((t >> 8) & 15) | ((t >> 4) & 240), + ((t >> 4) & 15) | (t & 240), + ((t & 15) << 4) | (t & 15), + 1, + ) + : n === 8 + ? gr( + (t >> 24) & 255, + (t >> 16) & 255, + (t >> 8) & 255, + (t & 255) / 255, + ) + : n === 4 + ? gr( + ((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 = j9.exec(e)) + ? new Je(t[1], t[2], t[3], 1) + : (t = R9.exec(e)) + ? new Je( + (t[1] * 255) / 100, + (t[2] * 255) / 100, + (t[3] * 255) / 100, + 1, + ) + : (t = H9.exec(e)) + ? gr(t[1], t[2], t[3], t[4]) + : (t = F9.exec(e)) + ? gr( + (t[1] * 255) / 100, + (t[2] * 255) / 100, + (t[3] * 255) / 100, + t[4], + ) + : (t = I9.exec(e)) + ? j2(t[1], t[2] / 100, t[3] / 100, 1) + : (t = z9.exec(e)) + ? j2(t[1], t[2] / 100, t[3] / 100, t[4]) + : M2.hasOwnProperty(e) + ? D2(M2[e]) + : e === "transparent" + ? new Je(NaN, NaN, NaN, 0) + : null + ); } function D2(e) { - return new Je(e >> 16 & 255, e >> 8 & 255, e & 255, 1); + return new Je((e >> 16) & 255, (e >> 8) & 255, e & 255, 1); } function gr(e, t, n, o) { return o <= 0 && (e = t = n = NaN), new Je(e, t, n, o); } function V9(e) { - return e instanceof Yo || (e = Ro(e)), e ? (e = e.rgb(), new Je(e.r, e.g, e.b, e.opacity)) : new Je(); + return ( + e instanceof Yo || (e = Ro(e)), + e ? ((e = e.rgb()), new Je(e.r, e.g, e.b, e.opacity)) : new Je() + ); } function C1(e, t, n, o) { return arguments.length === 1 ? V9(e) : new Je(e, t, n, o ?? 1); } function Je(e, t, n, o) { - this.r = +e, this.g = +t, this.b = +n, this.opacity = +o; -} -fl(Je, C1, V0(Yo, { - brighter(e) { - return e = e == null ? Wr : Math.pow(Wr, e), new Je(this.r * e, this.g * e, this.b * e, this.opacity); - }, - darker(e) { - return e = e == null ? Lo : Math.pow(Lo, e), new Je(this.r * e, this.g * e, this.b * e, this.opacity); - }, - rgb() { - return this; - }, - clamp() { - return new Je(xn(this.r), xn(this.g), xn(this.b), $r(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: O2, - // Deprecated! Use color.formatHex. - formatHex: O2, - formatHex8: W9, - formatRgb: L2, - toString: L2 -})); + (this.r = +e), (this.g = +t), (this.b = +n), (this.opacity = +o); +} +fl( + Je, + C1, + V0(Yo, { + brighter(e) { + return ( + (e = e == null ? Wr : Math.pow(Wr, e)), + new Je(this.r * e, this.g * e, this.b * e, this.opacity) + ); + }, + darker(e) { + return ( + (e = e == null ? Lo : Math.pow(Lo, e)), + new Je(this.r * e, this.g * e, this.b * e, this.opacity) + ); + }, + rgb() { + return this; + }, + clamp() { + return new Je(xn(this.r), xn(this.g), xn(this.b), $r(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: O2, + // Deprecated! Use color.formatHex. + formatHex: O2, + formatHex8: W9, + formatRgb: L2, + toString: L2, + }), +); function O2() { return `#${Cn(this.r)}${Cn(this.g)}${Cn(this.b)}`; } @@ -17721,142 +22410,247 @@ function xn(e) { return Math.max(0, Math.min(255, Math.round(e) || 0)); } function Cn(e) { - return e = xn(e), (e < 16 ? "0" : "") + e.toString(16); + return (e = xn(e)), (e < 16 ? "0" : "") + e.toString(16); } function j2(e, t, n, o) { - return o <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Ct(e, t, n, o); + return ( + o <= 0 + ? (e = t = n = NaN) + : n <= 0 || n >= 1 + ? (e = t = NaN) + : t <= 0 && (e = NaN), + new Ct(e, t, n, o) + ); } function W0(e) { if (e instanceof Ct) return new Ct(e.h, e.s, e.l, e.opacity); - if (e instanceof Yo || (e = Ro(e)), !e) return new Ct(); + if ((e instanceof Yo || (e = Ro(e)), !e)) return new Ct(); if (e instanceof Ct) return e; e = e.rgb(); - var t = e.r / 255, n = e.g / 255, o = e.b / 255, r = Math.min(t, n, o), a = Math.max(t, n, o), i = NaN, l = a - r, s = (a + r) / 2; - return l ? (t === a ? i = (n - o) / l + (n < o) * 6 : n === a ? i = (o - t) / l + 2 : i = (t - n) / l + 4, l /= s < 0.5 ? a + r : 2 - a - r, i *= 60) : l = s > 0 && s < 1 ? 0 : i, new Ct(i, l, s, e.opacity); + var t = e.r / 255, + n = e.g / 255, + o = e.b / 255, + r = Math.min(t, n, o), + a = Math.max(t, n, o), + i = NaN, + l = a - r, + s = (a + r) / 2; + return ( + l + ? (t === a + ? (i = (n - o) / l + (n < o) * 6) + : n === a + ? (i = (o - t) / l + 2) + : (i = (t - n) / l + 4), + (l /= s < 0.5 ? a + r : 2 - a - r), + (i *= 60)) + : (l = s > 0 && s < 1 ? 0 : i), + new Ct(i, l, s, e.opacity) + ); } function $9(e, t, n, o) { return arguments.length === 1 ? W0(e) : new Ct(e, t, n, o ?? 1); } function Ct(e, t, n, o) { - this.h = +e, this.s = +t, this.l = +n, this.opacity = +o; -} -fl(Ct, $9, V0(Yo, { - brighter(e) { - return e = e == null ? Wr : Math.pow(Wr, e), new Ct(this.h, this.s, this.l * e, this.opacity); - }, - darker(e) { - return e = e == null ? Lo : Math.pow(Lo, e), new Ct(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 Je( - Wi(e >= 240 ? e - 240 : e + 120, r, o), - Wi(e, r, o), - Wi(e < 120 ? e + 240 : e - 120, r, o), - this.opacity - ); - }, - clamp() { - return new Ct(R2(this.h), hr(this.s), hr(this.l), $r(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 = $r(this.opacity); - return `${e === 1 ? "hsl(" : "hsla("}${R2(this.h)}, ${hr(this.s) * 100}%, ${hr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; - } -})); + (this.h = +e), (this.s = +t), (this.l = +n), (this.opacity = +o); +} +fl( + Ct, + $9, + V0(Yo, { + brighter(e) { + return ( + (e = e == null ? Wr : Math.pow(Wr, e)), + new Ct(this.h, this.s, this.l * e, this.opacity) + ); + }, + darker(e) { + return ( + (e = e == null ? Lo : Math.pow(Lo, e)), + new Ct(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 Je( + Wi(e >= 240 ? e - 240 : e + 120, r, o), + Wi(e, r, o), + Wi(e < 120 ? e + 240 : e - 120, r, o), + this.opacity, + ); + }, + clamp() { + return new Ct(R2(this.h), hr(this.s), hr(this.l), $r(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 = $r(this.opacity); + return `${e === 1 ? "hsl(" : "hsla("}${R2(this.h)}, ${hr(this.s) * 100}%, ${hr(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`; + }, + }), +); function R2(e) { - return e = (e || 0) % 360, e < 0 ? e + 360 : e; + return (e = (e || 0) % 360), e < 0 ? e + 360 : e; } function hr(e) { return Math.max(0, Math.min(1, e || 0)); } function Wi(e, t, n) { - return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255; + return ( + (e < 60 + ? t + ((n - t) * e) / 60 + : e < 180 + ? n + : e < 240 + ? t + ((n - t) * (240 - e)) / 60 + : t) * 255 + ); } const $0 = (e) => () => e; function Z9(e, t) { - return function(n) { + return function (n) { return e + n * t; }; } function U9(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); - }; + 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 q9(e) { - return (e = +e) == 1 ? Z0 : function(t, n) { - return n - t ? U9(t, n, e) : $0(isNaN(t) ? n : t); - }; + return (e = +e) == 1 + ? Z0 + : function (t, n) { + return n - t ? U9(t, n, e) : $0(isNaN(t) ? n : t); + }; } function Z0(e, t) { var n = t - e; return n ? Z9(e, n) : $0(isNaN(e) ? t : e); } -const H2 = function e(t) { +const H2 = (function e(t) { var n = q9(t); function o(r, a) { - var i = n((r = C1(r)).r, (a = C1(a)).r), l = n(r.g, a.g), s = n(r.b, a.b), u = Z0(r.opacity, a.opacity); - return function(c) { - return r.r = i(c), r.g = l(c), r.b = s(c), r.opacity = u(c), r + ""; + var i = n((r = C1(r)).r, (a = C1(a)).r), + l = n(r.g, a.g), + s = n(r.b, a.b), + u = Z0(r.opacity, a.opacity); + return function (c) { + return ( + (r.r = i(c)), (r.g = l(c)), (r.b = s(c)), (r.opacity = u(c)), r + "" + ); }; } - return o.gamma = e, o; -}(1); + return (o.gamma = e), o; +})(1); function nn(e, t) { - return e = +e, t = +t, function(n) { - return e * (1 - n) + t * n; - }; + return ( + (e = +e), + (t = +t), + function (n) { + return e * (1 - n) + t * n; + } + ); } -var y1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, $i = new RegExp(y1.source, "g"); +var y1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, + $i = new RegExp(y1.source, "g"); function Y9(e) { - return function() { + return function () { return e; }; } function G9(e) { - return function(t) { + return function (t) { return e(t) + ""; }; } function K9(e, t) { - var n = y1.lastIndex = $i.lastIndex = 0, o, r, a, i = -1, l = [], s = []; + var n = (y1.lastIndex = $i.lastIndex = 0), + o, + r, + a, + i = -1, + l = [], + s = []; for (e = e + "", t = t + ""; (o = y1.exec(e)) && (r = $i.exec(t)); ) - (a = r.index) > n && (a = t.slice(n, a), l[i] ? l[i] += a : l[++i] = a), (o = o[0]) === (r = r[0]) ? l[i] ? l[i] += r : l[++i] = r : (l[++i] = null, s.push({ i, x: nn(o, r) })), n = $i.lastIndex; - return n < t.length && (a = t.slice(n), l[i] ? l[i] += a : l[++i] = a), l.length < 2 ? s[0] ? G9(s[0].x) : Y9(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(""); - }); + (a = r.index) > n && + ((a = t.slice(n, a)), l[i] ? (l[i] += a) : (l[++i] = a)), + (o = o[0]) === (r = r[0]) + ? l[i] + ? (l[i] += r) + : (l[++i] = r) + : ((l[++i] = null), s.push({ i, x: nn(o, r) })), + (n = $i.lastIndex); + return ( + n < t.length && ((a = t.slice(n)), l[i] ? (l[i] += a) : (l[++i] = a)), + l.length < 2 + ? s[0] + ? G9(s[0].x) + : Y9(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 F2 = 180 / Math.PI, v1 = { - translateX: 0, - translateY: 0, - rotate: 0, - skewX: 0, - scaleX: 1, - scaleY: 1 -}; +var F2 = 180 / Math.PI, + v1 = { + translateX: 0, + translateY: 0, + rotate: 0, + skewX: 0, + scaleX: 1, + scaleY: 1, + }; function U0(e, t, n, o, r, a) { var i, l, s; - return (i = Math.sqrt(e * e + t * t)) && (e /= i, t /= i), (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, i = -i), { - translateX: r, - translateY: a, - rotate: Math.atan2(t, e) * F2, - skewX: Math.atan(s) * F2, - scaleX: i, - scaleY: l - }; + return ( + (i = Math.sqrt(e * e + t * t)) && ((e /= i), (t /= i)), + (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), (i = -i)), + { + translateX: r, + translateY: a, + rotate: Math.atan2(t, e) * F2, + skewX: Math.atan(s) * F2, + scaleX: i, + scaleY: l, + } + ); } var pr; function X9(e) { - const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + ""); + const t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)( + e + "", + ); return t.isIdentity ? v1 : U0(t.a, t.b, t.c, t.d, t.e, t.f); } function J9(e) { - return e == null || (pr || (pr = document.createElementNS("http://www.w3.org/2000/svg", "g")), pr.setAttribute("transform", e), !(e = pr.transform.baseVal.consolidate())) ? v1 : (e = e.matrix, U0(e.a, e.b, e.c, e.d, e.e, e.f)); + return e == null || + (pr || (pr = document.createElementNS("http://www.w3.org/2000/svg", "g")), + pr.setAttribute("transform", e), + !(e = pr.transform.baseVal.consolidate())) + ? v1 + : ((e = e.matrix), U0(e.a, e.b, e.c, e.d, e.e, e.f)); } function q0(e, t, n, o) { function r(u) { @@ -17869,10 +22663,15 @@ function q0(e, t, n, o) { } else (d || h) && g.push("translate(" + d + t + h + n); } function i(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: nn(u, c) })) : c && d.push(r(d) + "rotate(" + c + o); + u !== c + ? (u - c > 180 ? (c += 360) : c - u > 180 && (u += 360), + h.push({ i: d.push(r(d) + "rotate(", null, o) - 2, x: nn(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: nn(u, c) }) : c && d.push(r(d) + "skewX(" + c + o); + u !== c + ? h.push({ i: d.push(r(d) + "skewX(", null, o) - 2, x: nn(u, c) }) + : c && d.push(r(d) + "skewX(" + c + o); } function s(u, c, d, h, g, m) { if (u !== d || c !== h) { @@ -17880,15 +22679,27 @@ function q0(e, t, n, o) { m.push({ i: b - 4, x: nn(u, d) }, { i: b - 2, x: nn(c, h) }); } else (d !== 1 || h !== 1) && g.push(r(g) + "scale(" + d + "," + h + ")"); } - return function(u, c) { - var d = [], h = []; - return u = e(u), c = e(c), a(u.translateX, u.translateY, c.translateX, c.translateY, d, h), i(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(g) { - for (var m = -1, b = h.length, C; ++m < b; ) d[(C = h[m]).i] = C.x(g); - return d.join(""); - }; + return function (u, c) { + var d = [], + h = []; + return ( + (u = e(u)), + (c = e(c)), + a(u.translateX, u.translateY, c.translateX, c.translateY, d, h), + i(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 (g) { + for (var m = -1, b = h.length, C; ++m < b; ) d[(C = h[m]).i] = C.x(g); + return d.join(""); + } + ); }; } -var Q9 = q0(X9, "px, ", "px)", "deg)"), ef = q0(J9, ", ", ")", ")"), tf = 1e-12; +var Q9 = q0(X9, "px, ", "px)", "deg)"), + ef = q0(J9, ", ", ")", ")"), + tf = 1e-12; function I2(e) { return ((e = Math.exp(e)) + 1 / e) / 2; } @@ -17898,40 +22709,68 @@ function nf(e) { function of(e) { return ((e = Math.exp(2 * e)) - 1) / (e + 1); } -const rf = function e(t, n, o) { +const rf = (function e(t, n, o) { function r(a, i) { - var l = a[0], s = a[1], u = a[2], c = i[0], d = i[1], h = i[2], g = c - l, m = d - s, b = g * g + m * m, C, p; + var l = a[0], + s = a[1], + u = a[2], + c = i[0], + d = i[1], + h = i[2], + g = c - l, + m = d - s, + b = g * g + m * m, + C, + p; if (b < tf) - p = Math.log(h / u) / t, C = function(T) { - return [ - l + T * g, - s + T * m, - u * Math.exp(t * T * p) - ]; - }; + (p = Math.log(h / u) / t), + (C = function (T) { + return [l + T * g, s + T * m, u * Math.exp(t * T * p)]; + }); else { - var v = Math.sqrt(b), y = (h * h - u * u + o * b) / (2 * u * n * v), E = (h * h - u * u - o * b) / (2 * h * n * v), x = Math.log(Math.sqrt(y * y + 1) - y), A = Math.log(Math.sqrt(E * E + 1) - E); - p = (A - x) / t, C = function(T) { - var k = T * p, R = I2(x), L = u / (n * v) * (R * of(t * k + x) - nf(x)); - return [ - l + L * g, - s + L * m, - u * R / I2(t * k + x) - ]; - }; + var v = Math.sqrt(b), + y = (h * h - u * u + o * b) / (2 * u * n * v), + E = (h * h - u * u - o * b) / (2 * h * n * v), + x = Math.log(Math.sqrt(y * y + 1) - y), + A = Math.log(Math.sqrt(E * E + 1) - E); + (p = (A - x) / t), + (C = function (T) { + var k = T * p, + R = I2(x), + L = (u / (n * v)) * (R * of(t * k + x) - nf(x)); + return [l + L * g, s + L * m, (u * R) / I2(t * k + x)]; + }); } - return C.duration = p * 1e3 * t / Math.SQRT2, C; + return (C.duration = (p * 1e3 * t) / Math.SQRT2), C; } - return r.rho = function(a) { - var i = Math.max(1e-3, +a), l = i * i, s = l * l; - return e(i, l, s); - }, r; -}(Math.SQRT2, 2, 4); -var Qn = 0, yo = 0, fo = 0, Y0 = 1e3, Zr, vo, Ur = 0, An = 0, pa = 0, Ho = typeof performance == "object" && performance.now ? performance : Date, G0 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) { - setTimeout(e, 17); -}; + return ( + (r.rho = function (a) { + var i = Math.max(1e-3, +a), + l = i * i, + s = l * l; + return e(i, l, s); + }), + r + ); +})(Math.SQRT2, 2, 4); +var Qn = 0, + yo = 0, + fo = 0, + Y0 = 1e3, + Zr, + vo, + Ur = 0, + An = 0, + pa = 0, + Ho = typeof performance == "object" && performance.now ? performance : Date, + G0 = + typeof window == "object" && window.requestAnimationFrame + ? window.requestAnimationFrame.bind(window) + : function (e) { + setTimeout(e, 17); + }; function gl() { - return An || (G0(af), An = Ho.now() + pa); + return An || (G0(af), (An = Ho.now() + pa)); } function af() { An = 0; @@ -17941,13 +22780,20 @@ function qr() { } qr.prototype = K0.prototype = { constructor: qr, - restart: function(e, t, n) { - if (typeof e != "function") throw new TypeError("callback is not a function"); - n = (n == null ? gl() : +n) + (t == null ? 0 : +t), !this._next && vo !== this && (vo ? vo._next = this : Zr = this, vo = this), this._call = e, this._time = n, x1(); + restart: function (e, t, n) { + if (typeof e != "function") + throw new TypeError("callback is not a function"); + (n = (n == null ? gl() : +n) + (t == null ? 0 : +t)), + !this._next && + vo !== this && + (vo ? (vo._next = this) : (Zr = this), (vo = this)), + (this._call = e), + (this._time = n), + x1(); + }, + stop: function () { + this._call && ((this._call = null), (this._time = 1 / 0), x1()); }, - stop: function() { - this._call && (this._call = null, this._time = 1 / 0, x1()); - } }; function K0(e, t, n) { var o = new qr(); @@ -17956,40 +22802,62 @@ function K0(e, t, n) { function lf() { gl(), ++Qn; for (var e = Zr, t; e; ) - (t = An - e._time) >= 0 && e._call.call(void 0, t), e = e._next; + (t = An - e._time) >= 0 && e._call.call(void 0, t), (e = e._next); --Qn; } function z2() { - An = (Ur = Ho.now()) + pa, Qn = yo = 0; + (An = (Ur = Ho.now()) + pa), (Qn = yo = 0); try { lf(); } finally { - Qn = 0, cf(), An = 0; + (Qn = 0), cf(), (An = 0); } } function sf() { - var e = Ho.now(), t = e - Ur; - t > Y0 && (pa -= t, Ur = e); + var e = Ho.now(), + t = e - Ur; + t > Y0 && ((pa -= t), (Ur = e)); } function cf() { for (var e, t = Zr, 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 : Zr = n); - vo = e, x1(o); + t._call + ? (o > t._time && (o = t._time), (e = t), (t = t._next)) + : ((n = t._next), (t._next = null), (t = e ? (e._next = n) : (Zr = n))); + (vo = e), x1(o); } function x1(e) { if (!Qn) { yo && (yo = clearTimeout(yo)); var t = e - An; - t > 24 ? (e < 1 / 0 && (yo = setTimeout(z2, e - Ho.now() - pa)), fo && (fo = clearInterval(fo))) : (fo || (Ur = Ho.now(), fo = setInterval(sf, Y0)), Qn = 1, G0(z2)); + t > 24 + ? (e < 1 / 0 && (yo = setTimeout(z2, e - Ho.now() - pa)), + fo && (fo = clearInterval(fo))) + : (fo || ((Ur = Ho.now()), (fo = setInterval(sf, Y0))), (Qn = 1), G0(z2)); } } function P2(e, t, n) { var o = new qr(); - return t = t == null ? 0 : +t, o.restart((r) => { - o.stop(), e(r + t); - }, t, n), o; + return ( + (t = t == null ? 0 : +t), + o.restart( + (r) => { + o.stop(), e(r + t); + }, + t, + n, + ), + o + ); } -var uf = ga("start", "end", "cancel", "interrupt"), df = [], X0 = 0, B2 = 1, w1 = 2, Tr = 3, V2 = 4, E1 = 5, Nr = 6; +var uf = ga("start", "end", "cancel", "interrupt"), + df = [], + X0 = 0, + B2 = 1, + w1 = 2, + Tr = 3, + V2 = 4, + E1 = 5, + Nr = 6; function ma(e, t, n, o, r, a) { var i = e.__transition; if (!i) e.__transition = {}; @@ -18007,7 +22875,7 @@ function ma(e, t, n, o, r, a) { duration: a.duration, ease: a.ease, timer: null, - state: X0 + state: X0, }); } function hl(e, t) { @@ -18026,40 +22894,76 @@ function xt(e, t) { return n; } function ff(e, t, n) { - var o = e.__transition, r; - o[t] = n, n.timer = K0(a, 0, n.time); + var o = e.__transition, + r; + (o[t] = n), (n.timer = K0(a, 0, n.time)); function a(u) { - n.state = B2, n.timer.restart(i, n.delay, n.time), n.delay <= u && i(u - n.delay); + (n.state = B2), + n.timer.restart(i, n.delay, n.time), + n.delay <= u && i(u - n.delay); } function i(u) { var c, d, h, g; if (n.state !== B2) return s(); for (c in o) - if (g = o[c], g.name === n.name) { + if (((g = o[c]), g.name === n.name)) { if (g.state === Tr) return P2(i); - g.state === V2 ? (g.state = Nr, g.timer.stop(), g.on.call("interrupt", e, e.__data__, g.index, g.group), delete o[c]) : +c < t && (g.state = Nr, g.timer.stop(), g.on.call("cancel", e, e.__data__, g.index, g.group), delete o[c]); + g.state === V2 + ? ((g.state = Nr), + g.timer.stop(), + g.on.call("interrupt", e, e.__data__, g.index, g.group), + delete o[c]) + : +c < t && + ((g.state = Nr), + g.timer.stop(), + g.on.call("cancel", e, e.__data__, g.index, g.group), + delete o[c]); } - if (P2(function() { - n.state === Tr && (n.state = V2, n.timer.restart(l, n.delay, n.time), l(u)); - }), n.state = w1, n.on.call("start", e, e.__data__, n.index, n.group), n.state === w1) { - for (n.state = Tr, r = new Array(h = n.tween.length), c = 0, d = -1; c < h; ++c) - (g = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && (r[++d] = g); + if ( + (P2(function () { + n.state === Tr && + ((n.state = V2), n.timer.restart(l, n.delay, n.time), l(u)); + }), + (n.state = w1), + n.on.call("start", e, e.__data__, n.index, n.group), + n.state === w1) + ) { + for ( + n.state = Tr, r = new Array((h = n.tween.length)), c = 0, d = -1; + c < h; + ++c + ) + (g = n.tween[c].value.call(e, e.__data__, n.index, n.group)) && + (r[++d] = g); 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 = E1, 1), d = -1, h = r.length; ++d < h; ) + for ( + var c = + u < n.duration + ? n.ease.call(null, u / n.duration) + : (n.timer.restart(s), (n.state = E1), 1), + d = -1, + h = r.length; + ++d < h; + + ) r[d].call(e, c); n.state === E1 && (n.on.call("end", e, e.__data__, n.index, n.group), s()); } function s() { - n.state = Nr, n.timer.stop(), delete o[t]; + (n.state = Nr), n.timer.stop(), delete o[t]; for (var u in o) return; delete e.__transition; } } function Dr(e, t) { - var n = e.__transition, o, r, a = !0, i; + var n = e.__transition, + o, + r, + a = !0, + i; if (n) { t = t == null ? null : t + ""; for (i in n) { @@ -18067,25 +22971,30 @@ function Dr(e, t) { a = !1; continue; } - r = o.state > w1 && o.state < E1, o.state = Nr, o.timer.stop(), o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), delete n[i]; + (r = o.state > w1 && o.state < E1), + (o.state = Nr), + o.timer.stop(), + o.on.call(r ? "interrupt" : "cancel", e, e.__data__, o.index, o.group), + delete n[i]; } a && delete e.__transition; } } function gf(e) { - return this.each(function() { + return this.each(function () { Dr(this, e); }); } function hf(e, t) { var n, o; - return function() { - var r = Nt(this, e), a = r.tween; + return function () { + var r = Nt(this, e), + a = r.tween; if (a !== n) { o = n = a; for (var i = 0, l = o.length; i < l; ++i) if (o[i].name === t) { - o = o.slice(), o.splice(i, 1); + (o = o.slice()), o.splice(i, 1); break; } } @@ -18095,8 +23004,9 @@ function hf(e, t) { function pf(e, t, n) { var o, r; if (typeof n != "function") throw new Error(); - return function() { - var a = Nt(this, e), i = a.tween; + return function () { + var a = Nt(this, e), + i = a.tween; if (i !== o) { r = (o = i).slice(); for (var l = { name: t, value: n }, s = 0, u = r.length; s < u; ++s) @@ -18111,76 +23021,118 @@ function pf(e, t, n) { } function mf(e, t) { var n = this._id; - if (e += "", arguments.length < 2) { + if (((e += ""), arguments.length < 2)) { for (var o = xt(this.node(), n).tween, r = 0, a = o.length, i; r < a; ++r) - if ((i = o[r]).name === e) - return i.value; + if ((i = o[r]).name === e) return i.value; return null; } return this.each((t == null ? hf : pf)(n, e, t)); } function pl(e, t, n) { var o = e._id; - return e.each(function() { - var r = Nt(this, o); - (r.value || (r.value = {}))[t] = n.apply(this, arguments); - }), function(r) { - return xt(r, o).value[t]; - }; + return ( + e.each(function () { + var r = Nt(this, o); + (r.value || (r.value = {}))[t] = n.apply(this, arguments); + }), + function (r) { + return xt(r, o).value[t]; + } + ); } function J0(e, t) { var n; - return (typeof t == "number" ? nn : t instanceof Ro ? H2 : (n = Ro(t)) ? (t = n, H2) : K9)(e, t); + return ( + typeof t == "number" + ? nn + : t instanceof Ro + ? H2 + : (n = Ro(t)) + ? ((t = n), H2) + : K9 + )(e, t); } function bf(e) { - return function() { + return function () { this.removeAttribute(e); }; } function Cf(e) { - return function() { + return function () { this.removeAttributeNS(e.space, e.local); }; } function yf(e, t, n) { - var o, r = n + "", a; - return function() { + var o, + r = n + "", + a; + return function () { var i = this.getAttribute(e); - return i === r ? null : i === o ? a : a = t(o = i, n); + return i === r ? null : i === o ? a : (a = t((o = i), n)); }; } function vf(e, t, n) { - var o, r = n + "", a; - return function() { + var o, + r = n + "", + a; + return function () { var i = this.getAttributeNS(e.space, e.local); - return i === r ? null : i === o ? a : a = t(o = i, n); + return i === r ? null : i === o ? a : (a = t((o = i), n)); }; } function xf(e, t, n) { var o, r, a; - return function() { - var i, l = n(this), s; - return l == null ? void this.removeAttribute(e) : (i = this.getAttribute(e), s = l + "", i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l))); + return function () { + var i, + l = n(this), + s; + return l == null + ? void this.removeAttribute(e) + : ((i = this.getAttribute(e)), + (s = l + ""), + i === s + ? null + : i === o && s === r + ? a + : ((r = s), (a = t((o = i), l)))); }; } function wf(e, t, n) { var o, r, a; - return function() { - var i, l = n(this), s; - return l == null ? void this.removeAttributeNS(e.space, e.local) : (i = this.getAttributeNS(e.space, e.local), s = l + "", i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l))); + return function () { + var i, + l = n(this), + s; + return l == null + ? void this.removeAttributeNS(e.space, e.local) + : ((i = this.getAttributeNS(e.space, e.local)), + (s = l + ""), + i === s + ? null + : i === o && s === r + ? a + : ((r = s), (a = t((o = i), l)))); }; } function Ef(e, t) { - var n = ha(e), o = n === "transform" ? ef : J0; - return this.attrTween(e, typeof t == "function" ? (n.local ? wf : xf)(n, o, pl(this, "attr." + e, t)) : t == null ? (n.local ? Cf : bf)(n) : (n.local ? vf : yf)(n, o, t)); + var n = ha(e), + o = n === "transform" ? ef : J0; + return this.attrTween( + e, + typeof t == "function" + ? (n.local ? wf : xf)(n, o, pl(this, "attr." + e, t)) + : t == null + ? (n.local ? Cf : bf)(n) + : (n.local ? vf : yf)(n, o, t), + ); } function _f(e, t) { - return function(n) { + return function (n) { this.setAttribute(e, t.call(this, n)); }; } function Sf(e, t) { - return function(n) { + return function (n) { this.setAttributeNS(e.space, e.local, t.call(this, n)); }; } @@ -18190,7 +23142,7 @@ function kf(e, t) { var a = t.apply(this, arguments); return a !== o && (n = (o = a) && Sf(e, a)), n; } - return r._value = t, r; + return (r._value = t), r; } function Af(e, t) { var n, o; @@ -18198,7 +23150,7 @@ function Af(e, t) { var a = t.apply(this, arguments); return a !== o && (n = (o = a) && _f(e, a)), n; } - return r._value = t, r; + return (r._value = t), r; } function Mf(e, t) { var n = "attr." + e; @@ -18209,3529 +23161,8897 @@ function Mf(e, t) { return this.tween(n, (o.local ? kf : Af)(o, t)); } function Tf(e, t) { - return function() { + return function () { hl(this, e).delay = +t.apply(this, arguments); }; } function Nf(e, t) { - return t = +t, function() { - hl(this, e).delay = t; - }; + return ( + (t = +t), + function () { + hl(this, e).delay = t; + } + ); } function Df(e) { var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Tf : Nf)(t, e)) : xt(this.node(), t).delay; + return arguments.length + ? this.each((typeof e == "function" ? Tf : Nf)(t, e)) + : xt(this.node(), t).delay; +} +function Of(e, t) { + return function () { + Nt(this, e).duration = +t.apply(this, arguments); + }; +} +function Lf(e, t) { + return ( + (t = +t), + function () { + Nt(this, e).duration = t; + } + ); +} +function jf(e) { + var t = this._id; + return arguments.length + ? this.each((typeof e == "function" ? Of : Lf)(t, e)) + : xt(this.node(), t).duration; +} +function Rf(e, t) { + if (typeof t != "function") throw new Error(); + return function () { + Nt(this, e).ease = t; + }; +} +function Hf(e) { + var t = this._id; + return arguments.length ? this.each(Rf(t, e)) : xt(this.node(), t).ease; +} +function Ff(e, t) { + return function () { + var n = t.apply(this, arguments); + if (typeof n != "function") throw new Error(); + Nt(this, e).ease = n; + }; +} +function If(e) { + if (typeof e != "function") throw new Error(); + return this.each(Ff(this._id, e)); +} +function zf(e) { + typeof e != "function" && (e = N0(e)); + for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) + for (var a = t[r], i = a.length, l = (o[r] = []), s, u = 0; u < i; ++u) + (s = a[u]) && e.call(s, s.__data__, u, a) && l.push(s); + return new Zt(o, this._parents, this._name, this._id); +} +function Pf(e) { + if (e._id !== this._id) throw new Error(); + for ( + var t = this._groups, + n = e._groups, + o = t.length, + r = n.length, + a = Math.min(o, r), + i = new Array(o), + l = 0; + l < a; + ++l + ) + for ( + var s = t[l], u = n[l], c = s.length, d = (i[l] = new Array(c)), h, g = 0; + g < c; + ++g + ) + (h = s[g] || u[g]) && (d[g] = h); + for (; l < o; ++l) i[l] = t[l]; + return new Zt(i, this._parents, this._name, this._id); +} +function Bf(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 Vf(e, t, n) { + var o, + r, + a = Bf(t) ? hl : Nt; + return function () { + var i = a(this, e), + l = i.on; + l !== o && (r = (o = l).copy()).on(t, n), (i.on = r); + }; +} +function Wf(e, t) { + var n = this._id; + return arguments.length < 2 + ? xt(this.node(), n).on.on(e) + : this.each(Vf(n, e, t)); +} +function $f(e) { + return function () { + var t = this.parentNode; + for (var n in this.__transition) if (+n !== e) return; + t && t.removeChild(this); + }; +} +function Zf() { + return this.on("end.remove", $f(this._id)); +} +function Uf(e) { + var t = this._name, + n = this._id; + typeof e != "function" && (e = ul(e)); + for (var o = this._groups, r = o.length, a = new Array(r), i = 0; i < r; ++i) + for ( + var l = o[i], s = l.length, u = (a[i] = 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), + ma(u[h], t, n, h, u, xt(c, n))); + return new Zt(a, this._parents, t, n); +} +function qf(e) { + var t = this._name, + n = this._id; + typeof e != "function" && (e = T0(e)); + for (var o = this._groups, r = o.length, a = [], i = [], 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), + g, + m = xt(c, n), + b = 0, + C = h.length; + b < C; + ++b + ) + (g = h[b]) && ma(g, t, n, b, h, m); + a.push(h), i.push(c); + } + return new Zt(a, i, t, n); +} +var Yf = qo.prototype.constructor; +function Gf() { + return new Yf(this._groups, this._parents); +} +function Kf(e, t) { + var n, o, r; + return function () { + var a = Jn(this, e), + i = (this.style.removeProperty(e), Jn(this, e)); + return a === i ? null : a === n && i === o ? r : (r = t((n = a), (o = i))); + }; +} +function Q0(e) { + return function () { + this.style.removeProperty(e); + }; +} +function Xf(e, t, n) { + var o, + r = n + "", + a; + return function () { + var i = Jn(this, e); + return i === r ? null : i === o ? a : (a = t((o = i), n)); + }; +} +function Jf(e, t, n) { + var o, r, a; + return function () { + var i = Jn(this, e), + l = n(this), + s = l + ""; + return ( + l == null && (s = l = (this.style.removeProperty(e), Jn(this, e))), + i === s ? null : i === o && s === r ? a : ((r = s), (a = t((o = i), l))) + ); + }; +} +function Qf(e, t) { + var n, + o, + r, + a = "style." + t, + i = "end." + a, + l; + return function () { + var s = Nt(this, e), + u = s.on, + c = s.value[a] == null ? l || (l = Q0(t)) : void 0; + (u !== n || r !== c) && (o = (n = u).copy()).on(i, (r = c)), (s.on = o); + }; +} +function eg(e, t, n) { + var o = (e += "") == "transform" ? Q9 : J0; + return t == null + ? this.styleTween(e, Kf(e, o)).on("end.style." + e, Q0(e)) + : typeof t == "function" + ? this.styleTween(e, Jf(e, o, pl(this, "style." + e, t))).each( + Qf(this._id, e), + ) + : this.styleTween(e, Xf(e, o, t), n).on("end.style." + e, null); +} +function tg(e, t, n) { + return function (o) { + this.style.setProperty(e, t.call(this, o), n); + }; +} +function ng(e, t, n) { + var o, r; + function a() { + var i = t.apply(this, arguments); + return i !== r && (o = (r = i) && tg(e, i, n)), o; + } + return (a._value = t), a; +} +function og(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, ng(e, t, n ?? "")); +} +function rg(e) { + return function () { + this.textContent = e; + }; +} +function ag(e) { + return function () { + var t = e(this); + this.textContent = t ?? ""; + }; +} +function ig(e) { + return this.tween( + "text", + typeof e == "function" + ? ag(pl(this, "text", e)) + : rg(e == null ? "" : e + ""), + ); +} +function lg(e) { + return function (t) { + this.textContent = e.call(this, t); + }; +} +function sg(e) { + var t, n; + function o() { + var r = e.apply(this, arguments); + return r !== n && (t = (n = r) && lg(r)), t; + } + return (o._value = e), o; +} +function cg(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, sg(e)); +} +function ug() { + for ( + var e = this._name, + t = this._id, + n = eu(), + o = this._groups, + r = o.length, + a = 0; + a < r; + ++a + ) + for (var i = o[a], l = i.length, s, u = 0; u < l; ++u) + if ((s = i[u])) { + var c = xt(s, t); + ma(s, e, n, u, i, { + time: c.time + c.delay + c.duration, + delay: 0, + duration: c.duration, + ease: c.ease, + }); + } + return new Zt(o, this._parents, e, n); +} +function dg() { + var e, + t, + n = this, + o = n._id, + r = n.size(); + return new Promise(function (a, i) { + var l = { value: i }, + s = { + value: function () { + --r === 0 && a(); + }, + }; + n.each(function () { + var u = Nt(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 && a(); + }); +} +var fg = 0; +function Zt(e, t, n, o) { + (this._groups = e), (this._parents = t), (this._name = n), (this._id = o); +} +function eu() { + return ++fg; +} +var zt = qo.prototype; +Zt.prototype = { + constructor: Zt, + select: Uf, + selectAll: qf, + selectChild: zt.selectChild, + selectChildren: zt.selectChildren, + filter: zf, + merge: Pf, + selection: Gf, + transition: ug, + call: zt.call, + nodes: zt.nodes, + node: zt.node, + size: zt.size, + empty: zt.empty, + each: zt.each, + on: Wf, + attr: Ef, + attrTween: Mf, + style: eg, + styleTween: og, + text: ig, + textTween: cg, + remove: Zf, + tween: mf, + delay: Df, + duration: jf, + ease: Hf, + easeVarying: If, + end: dg, + [Symbol.iterator]: zt[Symbol.iterator], +}; +function gg(e) { + return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; } -function Of(e, t) { - return function() { - Nt(this, e).duration = +t.apply(this, arguments); - }; +var hg = { + time: null, + // Set on use. + delay: 0, + duration: 250, + ease: gg, +}; +function pg(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 Lf(e, t) { - return t = +t, function() { - Nt(this, e).duration = t; - }; +function mg(e) { + var t, n; + e instanceof Zt + ? ((t = e._id), (e = e._name)) + : ((t = eu()), ((n = hg).time = gl()), (e = e == null ? null : e + "")); + for (var o = this._groups, r = o.length, a = 0; a < r; ++a) + for (var i = o[a], l = i.length, s, u = 0; u < l; ++u) + (s = i[u]) && ma(s, e, t, u, i, n || pg(s, t)); + return new Zt(o, this._parents, e, t); } -function jf(e) { - var t = this._id; - return arguments.length ? this.each((typeof e == "function" ? Of : Lf)(t, e)) : xt(this.node(), t).duration; +qo.prototype.interrupt = gf; +qo.prototype.transition = mg; +const mr = (e) => () => e; +function bg(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 Rf(e, t) { - if (typeof t != "function") throw new Error(); - return function() { - Nt(this, e).ease = t; - }; +function Bt(e, t, n) { + (this.k = e), (this.x = t), (this.y = n); } -function Hf(e) { - var t = this._id; - return arguments.length ? this.each(Rf(t, e)) : xt(this.node(), t).ease; +Bt.prototype = { + constructor: Bt, + scale: function (e) { + return e === 1 ? this : new Bt(this.k * e, this.x, this.y); + }, + translate: function (e, t) { + return (e === 0) & (t === 0) + ? this + : new Bt(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 an = new Bt(1, 0, 0); +Bt.prototype; +function Zi(e) { + e.stopImmediatePropagation(); } -function Ff(e, t) { - return function() { - var n = t.apply(this, arguments); - if (typeof n != "function") throw new Error(); - Nt(this, e).ease = n; - }; +function go(e) { + e.preventDefault(), e.stopImmediatePropagation(); } -function If(e) { - if (typeof e != "function") throw new Error(); - return this.each(Ff(this._id, e)); +function Cg(e) { + return (!e.ctrlKey || e.type === "wheel") && !e.button; } -function zf(e) { - typeof e != "function" && (e = N0(e)); - for (var t = this._groups, n = t.length, o = new Array(n), r = 0; r < n; ++r) - for (var a = t[r], i = a.length, l = o[r] = [], s, u = 0; u < i; ++u) - (s = a[u]) && e.call(s, s.__data__, u, a) && l.push(s); - return new Zt(o, this._parents, this._name, this._id); +function yg() { + 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 Pf(e) { - if (e._id !== this._id) throw new Error(); - for (var t = this._groups, n = e._groups, o = t.length, r = n.length, a = Math.min(o, r), i = new Array(o), l = 0; l < a; ++l) - for (var s = t[l], u = n[l], c = s.length, d = i[l] = new Array(c), h, g = 0; g < c; ++g) - (h = s[g] || u[g]) && (d[g] = h); - for (; l < o; ++l) - i[l] = t[l]; - return new Zt(i, this._parents, this._name, this._id); +function W2() { + return this.__zoom || an; } -function Bf(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 vg(e) { + return ( + -e.deltaY * + (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * + (e.ctrlKey ? 10 : 1) + ); } -function Vf(e, t, n) { - var o, r, a = Bf(t) ? hl : Nt; - return function() { - var i = a(this, e), l = i.on; - l !== o && (r = (o = l).copy()).on(t, n), i.on = r; - }; +function xg() { + return navigator.maxTouchPoints || "ontouchstart" in this; } -function Wf(e, t) { - var n = this._id; - return arguments.length < 2 ? xt(this.node(), n).on.on(e) : this.each(Vf(n, e, t)); +function wg(e, t, n) { + var o = e.invertX(t[0][0]) - n[0][0], + r = e.invertX(t[1][0]) - n[1][0], + a = e.invertY(t[0][1]) - n[0][1], + i = e.invertY(t[1][1]) - n[1][1]; + return e.translate( + r > o ? (o + r) / 2 : Math.min(0, o) || Math.max(0, r), + i > a ? (a + i) / 2 : Math.min(0, a) || Math.max(0, i), + ); } -function $f(e) { - return function() { - var t = this.parentNode; - for (var n in this.__transition) if (+n !== e) return; - t && t.removeChild(this); +function Eg() { + var e = Cg, + t = yg, + n = wg, + o = vg, + r = xg, + a = [0, 1 / 0], + i = [ + [-1 / 0, -1 / 0], + [1 / 0, 1 / 0], + ], + l = 250, + s = rf, + u = ga("start", "zoom", "end"), + c, + d, + h, + g = 500, + m = 150, + b = 0, + C = 10; + function p(w) { + w.property("__zoom", W2) + .on("wheel.zoom", k, { passive: !1 }) + .on("mousedown.zoom", R) + .on("dblclick.zoom", L) + .filter(r) + .on("touchstart.zoom", I) + .on("touchmove.zoom", W) + .on("touchend.zoom touchcancel.zoom", B) + .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); + } + (p.transform = function (w, N, S, D) { + var j = w.selection ? w.selection() : w; + j.property("__zoom", W2), + w !== j + ? x(w, N, S, D) + : j.interrupt().each(function () { + A(this, arguments) + .event(D) + .start() + .zoom(null, typeof N == "function" ? N.apply(this, arguments) : N) + .end(); + }); + }), + (p.scaleBy = function (w, N, S, D) { + p.scaleTo( + w, + function () { + var j = this.__zoom.k, + O = typeof N == "function" ? N.apply(this, arguments) : N; + return j * O; + }, + S, + D, + ); + }), + (p.scaleTo = function (w, N, S, D) { + p.transform( + w, + function () { + var j = t.apply(this, arguments), + O = this.__zoom, + M = + S == null + ? E(j) + : typeof S == "function" + ? S.apply(this, arguments) + : S, + F = O.invert(M), + z = typeof N == "function" ? N.apply(this, arguments) : N; + return n(y(v(O, z), M, F), j, i); + }, + S, + D, + ); + }), + (p.translateBy = function (w, N, S, D) { + p.transform( + w, + function () { + return n( + this.__zoom.translate( + typeof N == "function" ? N.apply(this, arguments) : N, + typeof S == "function" ? S.apply(this, arguments) : S, + ), + t.apply(this, arguments), + i, + ); + }, + null, + D, + ); + }), + (p.translateTo = function (w, N, S, D, j) { + p.transform( + w, + function () { + var O = t.apply(this, arguments), + M = this.__zoom, + F = + D == null + ? E(O) + : typeof D == "function" + ? D.apply(this, arguments) + : D; + return n( + an + .translate(F[0], F[1]) + .scale(M.k) + .translate( + typeof N == "function" ? -N.apply(this, arguments) : -N, + typeof S == "function" ? -S.apply(this, arguments) : -S, + ), + O, + i, + ); + }, + D, + j, + ); + }); + function v(w, N) { + return ( + (N = Math.max(a[0], Math.min(a[1], N))), + N === w.k ? w : new Bt(N, w.x, w.y) + ); + } + function y(w, N, S) { + var D = N[0] - S[0] * w.k, + j = N[1] - S[1] * w.k; + return D === w.x && j === w.y ? w : new Bt(w.k, D, j); + } + function E(w) { + return [(+w[0][0] + +w[1][0]) / 2, (+w[0][1] + +w[1][1]) / 2]; + } + function x(w, N, S, D) { + w.on("start.zoom", function () { + A(this, arguments).event(D).start(); + }) + .on("interrupt.zoom end.zoom", function () { + A(this, arguments).event(D).end(); + }) + .tween("zoom", function () { + var j = this, + O = arguments, + M = A(j, O).event(D), + F = t.apply(j, O), + z = S == null ? E(F) : typeof S == "function" ? S.apply(j, O) : S, + $ = Math.max(F[1][0] - F[0][0], F[1][1] - F[0][1]), + V = j.__zoom, + q = typeof N == "function" ? N.apply(j, O) : N, + K = s(V.invert(z).concat($ / V.k), q.invert(z).concat($ / q.k)); + return function (X) { + if (X === 1) X = q; + else { + var J = K(X), + te = $ / J[2]; + X = new Bt(te, z[0] - J[0] * te, z[1] - J[1] * te); + } + M.zoom(null, X); + }; + }); + } + function A(w, N, S) { + return (!S && w.__zooming) || new T(w, N); + } + function T(w, N) { + (this.that = w), + (this.args = N), + (this.active = 0), + (this.sourceEvent = null), + (this.extent = t.apply(w, N)), + (this.taps = 0); + } + T.prototype = { + event: function (w) { + return w && (this.sourceEvent = w), this; + }, + start: function () { + return ( + ++this.active === 1 && + ((this.that.__zooming = this), this.emit("start")), + this + ); + }, + zoom: function (w, N) { + return ( + this.mouse && + w !== "mouse" && + (this.mouse[1] = N.invert(this.mouse[0])), + this.touch0 && + w !== "touch" && + (this.touch0[1] = N.invert(this.touch0[0])), + this.touch1 && + w !== "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 (w) { + var N = bt(this.that).datum(); + u.call( + w, + this.that, + new bg(w, { + sourceEvent: this.sourceEvent, + target: p, + type: w, + transform: this.that.__zoom, + dispatch: u, + }), + N, + ); + }, }; -} -function Zf() { - return this.on("end.remove", $f(this._id)); -} -function Uf(e) { - var t = this._name, n = this._id; - typeof e != "function" && (e = ul(e)); - for (var o = this._groups, r = o.length, a = new Array(r), i = 0; i < r; ++i) - for (var l = o[i], s = l.length, u = a[i] = 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, ma(u[h], t, n, h, u, xt(c, n))); - return new Zt(a, this._parents, t, n); -} -function qf(e) { - var t = this._name, n = this._id; - typeof e != "function" && (e = T0(e)); - for (var o = this._groups, r = o.length, a = [], i = [], 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), g, m = xt(c, n), b = 0, C = h.length; b < C; ++b) - (g = h[b]) && ma(g, t, n, b, h, m); - a.push(h), i.push(c); + function k(w, ...N) { + if (!e.apply(this, arguments)) return; + var S = A(this, N).event(w), + D = this.__zoom, + j = Math.max( + a[0], + Math.min(a[1], D.k * Math.pow(2, o.apply(this, arguments))), + ), + O = kt(w); + if (S.wheel) + (S.mouse[0][0] !== O[0] || S.mouse[0][1] !== O[1]) && + (S.mouse[1] = D.invert((S.mouse[0] = O))), + clearTimeout(S.wheel); + else { + if (D.k === j) return; + (S.mouse = [O, D.invert(O)]), Dr(this), S.start(); + } + go(w), + (S.wheel = setTimeout(M, m)), + S.zoom("mouse", n(y(v(D, j), S.mouse[0], S.mouse[1]), S.extent, i)); + function M() { + (S.wheel = null), S.end(); + } + } + function R(w, ...N) { + if (h || !e.apply(this, arguments)) return; + var S = w.currentTarget, + D = A(this, N, !0).event(w), + j = bt(w.view).on("mousemove.zoom", z, !0).on("mouseup.zoom", $, !0), + O = kt(w, S), + M = w.clientX, + F = w.clientY; + P0(w.view), + Zi(w), + (D.mouse = [O, this.__zoom.invert(O)]), + Dr(this), + D.start(); + function z(V) { + if ((go(V), !D.moved)) { + var q = V.clientX - M, + K = V.clientY - F; + D.moved = q * q + K * K > b; } - return new Zt(a, i, t, n); + D.event(V).zoom( + "mouse", + n(y(D.that.__zoom, (D.mouse[0] = kt(V, S)), D.mouse[1]), D.extent, i), + ); + } + function $(V) { + j.on("mousemove.zoom mouseup.zoom", null), + B0(V.view, D.moved), + go(V), + D.event(V).end(); + } + } + function L(w, ...N) { + if (e.apply(this, arguments)) { + var S = this.__zoom, + D = kt(w.changedTouches ? w.changedTouches[0] : w, this), + j = S.invert(D), + O = S.k * (w.shiftKey ? 0.5 : 2), + M = n(y(v(S, O), D, j), t.apply(this, N), i); + go(w), + l > 0 + ? bt(this).transition().duration(l).call(x, M, D, w) + : bt(this).call(p.transform, M, D, w); + } + } + function I(w, ...N) { + if (e.apply(this, arguments)) { + var S = w.touches, + D = S.length, + j = A(this, N, w.changedTouches.length === D).event(w), + O, + M, + F, + z; + for (Zi(w), M = 0; M < D; ++M) + (F = S[M]), + (z = kt(F, this)), + (z = [z, this.__zoom.invert(z), F.identifier]), + j.touch0 + ? !j.touch1 && + j.touch0[2] !== z[2] && + ((j.touch1 = z), (j.taps = 0)) + : ((j.touch0 = z), (O = !0), (j.taps = 1 + !!c)); + c && (c = clearTimeout(c)), + O && + (j.taps < 2 && + ((d = z[0]), + (c = setTimeout(function () { + c = null; + }, g))), + Dr(this), + j.start()); + } + } + function W(w, ...N) { + if (this.__zooming) { + var S = A(this, N).event(w), + D = w.changedTouches, + j = D.length, + O, + M, + F, + z; + for (go(w), O = 0; O < j; ++O) + (M = D[O]), + (F = kt(M, this)), + S.touch0 && S.touch0[2] === M.identifier + ? (S.touch0[0] = F) + : S.touch1 && S.touch1[2] === M.identifier && (S.touch1[0] = F); + if (((M = S.that.__zoom), S.touch1)) { + var $ = S.touch0[0], + V = S.touch0[1], + q = S.touch1[0], + K = S.touch1[1], + X = (X = q[0] - $[0]) * X + (X = q[1] - $[1]) * X, + J = (J = K[0] - V[0]) * J + (J = K[1] - V[1]) * J; + (M = v(M, Math.sqrt(X / J))), + (F = [($[0] + q[0]) / 2, ($[1] + q[1]) / 2]), + (z = [(V[0] + K[0]) / 2, (V[1] + K[1]) / 2]); + } else if (S.touch0) (F = S.touch0[0]), (z = S.touch0[1]); + else return; + S.zoom("touch", n(y(M, F, z), S.extent, i)); + } + } + function B(w, ...N) { + if (this.__zooming) { + var S = A(this, N).event(w), + D = w.changedTouches, + j = D.length, + O, + M; + for ( + Zi(w), + h && clearTimeout(h), + h = setTimeout(function () { + h = null; + }, g), + O = 0; + O < j; + ++O + ) + (M = D[O]), + S.touch0 && S.touch0[2] === M.identifier + ? delete S.touch0 + : S.touch1 && S.touch1[2] === M.identifier && delete S.touch1; + if ( + (S.touch1 && !S.touch0 && ((S.touch0 = S.touch1), delete S.touch1), + S.touch0) + ) + S.touch0[1] = this.__zoom.invert(S.touch0[0]); + else if ( + (S.end(), + S.taps === 2 && + ((M = kt(M, this)), Math.hypot(d[0] - M[0], d[1] - M[1]) < C)) + ) { + var F = bt(this).on("dblclick.zoom"); + F && F.apply(this, arguments); + } + } + } + return ( + (p.wheelDelta = function (w) { + return arguments.length + ? ((o = typeof w == "function" ? w : mr(+w)), p) + : o; + }), + (p.filter = function (w) { + return arguments.length + ? ((e = typeof w == "function" ? w : mr(!!w)), p) + : e; + }), + (p.touchable = function (w) { + return arguments.length + ? ((r = typeof w == "function" ? w : mr(!!w)), p) + : r; + }), + (p.extent = function (w) { + return arguments.length + ? ((t = + typeof w == "function" + ? w + : mr([ + [+w[0][0], +w[0][1]], + [+w[1][0], +w[1][1]], + ])), + p) + : t; + }), + (p.scaleExtent = function (w) { + return arguments.length + ? ((a[0] = +w[0]), (a[1] = +w[1]), p) + : [a[0], a[1]]; + }), + (p.translateExtent = function (w) { + return arguments.length + ? ((i[0][0] = +w[0][0]), + (i[1][0] = +w[1][0]), + (i[0][1] = +w[0][1]), + (i[1][1] = +w[1][1]), + p) + : [ + [i[0][0], i[0][1]], + [i[1][0], i[1][1]], + ]; + }), + (p.constrain = function (w) { + return arguments.length ? ((n = w), p) : n; + }), + (p.duration = function (w) { + return arguments.length ? ((l = +w), p) : l; + }), + (p.interpolate = function (w) { + return arguments.length ? ((s = w), p) : s; + }), + (p.on = function () { + var w = u.on.apply(u, arguments); + return w === u ? p : w; + }), + (p.clickDistance = function (w) { + return arguments.length ? ((b = (w = +w) * w), p) : Math.sqrt(b); + }), + (p.tapDistance = function (w) { + return arguments.length ? ((C = +w), p) : C; + }), + p + ); } -var Yf = qo.prototype.constructor; -function Gf() { - return new Yf(this._groups, this._parents); +const ba = ut(null), + _g = ba.Provider, + vt = { + 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.`, + }, + tu = vt.error001(); +function Me(e, t) { + const n = Re(ba); + if (n === null) throw new Error(tu); + return A0(n, e, t); } -function Kf(e, t) { - var n, o, r; - return function() { - var a = Jn(this, e), i = (this.style.removeProperty(e), Jn(this, e)); - return a === i ? null : a === n && i === o ? r : r = t(n = a, o = i); - }; +const Ie = () => { + const e = Re(ba); + if (e === null) throw new Error(tu); + return _e( + () => ({ + getState: e.getState, + setState: e.setState, + subscribe: e.subscribe, + destroy: e.destroy, + }), + [e], + ); + }, + Sg = (e) => (e.userSelectionActive ? "none" : "all"); +function nu({ position: e, children: t, className: n, style: o, ...r }) { + const a = Me(Sg), + i = `${e}`.split("-"); + return P.createElement( + "div", + { + className: Ke(["react-flow__panel", n, ...i]), + style: { ...o, pointerEvents: a }, + ...r, + }, + t, + ); } -function Q0(e) { - return function() { - this.style.removeProperty(e); - }; +function kg({ proOptions: e, position: t = "bottom-right" }) { + return e != null && e.hideAttribution + ? null + : P.createElement( + nu, + { + 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", + }, + P.createElement( + "a", + { + href: "https://reactflow.dev", + target: "_blank", + rel: "noopener noreferrer", + "aria-label": "React Flow attribution", + }, + "React Flow", + ), + ); } -function Xf(e, t, n) { - var o, r = n + "", a; - return function() { - var i = Jn(this, e); - return i === r ? null : i === o ? a : a = t(o = i, n); - }; +const Ag = ({ + x: e, + y: t, + label: n, + labelStyle: o = {}, + labelShowBg: r = !0, + labelBgStyle: a = {}, + labelBgPadding: i = [2, 4], + labelBgBorderRadius: l = 2, + children: s, + className: u, + ...c +}) => { + const d = le(null), + [h, g] = ae({ x: 0, y: 0, width: 0, height: 0 }), + m = Ke(["react-flow__edge-textwrapper", u]); + return ( + re(() => { + if (d.current) { + const b = d.current.getBBox(); + g({ + x: b.x, + y: b.y, + width: b.width, + height: b.height, + }); + } + }, [n]), + typeof n > "u" || !n + ? null + : P.createElement( + "g", + { + transform: `translate(${e - h.width / 2} ${t - h.height / 2})`, + className: m, + visibility: h.width ? "visible" : "hidden", + ...c, + }, + r && + P.createElement("rect", { + width: h.width + 2 * i[0], + x: -i[0], + y: -i[1], + height: h.height + 2 * i[1], + className: "react-flow__edge-textbg", + style: a, + rx: l, + ry: l, + }), + P.createElement( + "text", + { + className: "react-flow__edge-text", + y: h.height / 2, + dy: "0.3em", + ref: d, + style: o, + }, + n, + ), + s, + ) + ); +}; +var Mg = De(Ag); +const ml = (e) => ({ + width: e.offsetWidth, + height: e.offsetHeight, + }), + eo = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), + bl = (e = { x: 0, y: 0 }, t) => ({ + x: eo(e.x, t[0][0], t[1][0]), + y: eo(e.y, t[0][1], t[1][1]), + }), + $2 = (e, t, n) => + e < t + ? eo(Math.abs(e - t), 1, 50) / 50 + : e > n + ? -eo(Math.abs(e - n), 1, 50) / 50 + : 0, + ou = (e, t) => { + const n = $2(e.x, 35, t.width - 35) * 20, + o = $2(e.y, 35, t.height - 35) * 20; + return [n, o]; + }, + ru = (e) => { + var t; + return ( + ((t = e.getRootNode) == null ? void 0 : t.call(e)) || + (window == null ? void 0 : window.document) + ); + }, + Tg = (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), + }), + Cl = ({ x: e, y: t, width: n, height: o }) => ({ + x: e, + y: t, + x2: e + n, + y2: t + o, + }), + Ng = ({ x: e, y: t, x2: n, y2: o }) => ({ + x: e, + y: t, + width: n - e, + height: o - t, + }), + Z2 = (e) => ({ + ...(e.positionAbsolute || { x: 0, y: 0 }), + width: e.width || 0, + height: e.height || 0, + }), + _1 = (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); + }, + Dg = (e) => st(e.width) && st(e.height) && st(e.x) && st(e.y), + st = (e) => !isNaN(e) && isFinite(e), + Ne = Symbol.for("internals"), + au = ["Enter", " ", "Escape"], + iu = (e, t) => { + process.env.NODE_ENV === "development" && + console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); + }, + Og = (e) => "nativeEvent" in e; +function S1(e) { + var r, a; + const t = Og(e) ? e.nativeEvent : e, + n = + ((a = (r = t.composedPath) == null ? void 0 : r.call(t)) == null + ? void 0 + : a[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 Jf(e, t, n) { - var o, r, a; - return function() { - var i = Jn(this, e), l = n(this), s = l + ""; - return l == null && (s = l = (this.style.removeProperty(e), Jn(this, e))), i === s ? null : i === o && s === r ? a : (r = s, a = t(o = i, l)); - }; +const lu = (e) => "clientX" in e, + ln = (e, t) => { + var a, i; + const n = lu(e), + o = n ? e.clientX : (a = e.touches) == null ? void 0 : a[0].clientX, + r = n ? e.clientY : (i = e.touches) == null ? void 0 : i[0].clientY; + return { + x: o - ((t == null ? void 0 : t.left) ?? 0), + y: r - ((t == null ? void 0 : t.top) ?? 0), + }; + }, + Yr = () => { + var e; + return ( + typeof navigator < "u" && + ((e = navigator == null ? void 0 : navigator.userAgent) == null + ? void 0 + : e.indexOf("Mac")) >= 0 + ); + }, + io = ({ + id: e, + path: t, + labelX: n, + labelY: o, + label: r, + labelStyle: a, + labelShowBg: i, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: g = 20, + }) => + P.createElement( + P.Fragment, + null, + P.createElement("path", { + id: e, + style: c, + d: t, + fill: "none", + className: "react-flow__edge-path", + markerEnd: d, + markerStart: h, + }), + g && + P.createElement("path", { + d: t, + fill: "none", + strokeOpacity: 0, + strokeWidth: g, + className: "react-flow__edge-interaction", + }), + r && st(n) && st(o) + ? P.createElement(Mg, { + x: n, + y: o, + label: r, + labelStyle: a, + labelShowBg: i, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + }) + : null, + ); +io.displayName = "BaseEdge"; +function ho(e, t, n) { + return n === void 0 + ? n + : (o) => { + const r = t().edges.find((a) => a.id === e); + r && n(o, { ...r }); + }; } -function Qf(e, t) { - var n, o, r, a = "style." + t, i = "end." + a, l; - return function() { - var s = Nt(this, e), u = s.on, c = s.value[a] == null ? l || (l = Q0(t)) : void 0; - (u !== n || r !== c) && (o = (n = u).copy()).on(i, r = c), s.on = o; - }; +function su({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const r = Math.abs(n - e) / 2, + a = n < e ? n + r : n - r, + i = Math.abs(o - t) / 2, + l = o < t ? o + i : o - i; + return [a, l, r, i]; } -function eg(e, t, n) { - var o = (e += "") == "transform" ? Q9 : J0; - return t == null ? this.styleTween(e, Kf(e, o)).on("end.style." + e, Q0(e)) : typeof t == "function" ? this.styleTween(e, Jf(e, o, pl(this, "style." + e, t))).each(Qf(this._id, e)) : this.styleTween(e, Xf(e, o, t), n).on("end.style." + e, null); +function cu({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourceControlX: r, + sourceControlY: a, + targetControlX: i, + targetControlY: l, +}) { + const s = e * 0.125 + r * 0.375 + i * 0.375 + n * 0.125, + u = t * 0.125 + a * 0.375 + l * 0.375 + o * 0.125, + c = Math.abs(s - e), + d = Math.abs(u - t); + return [s, u, c, d]; } -function tg(e, t, n) { - return function(o) { - this.style.setProperty(e, t.call(this, o), n); - }; +var Mn; +(function (e) { + (e.Strict = "strict"), (e.Loose = "loose"); +})(Mn || (Mn = {})); +var yn; +(function (e) { + (e.Free = "free"), (e.Vertical = "vertical"), (e.Horizontal = "horizontal"); +})(yn || (yn = {})); +var Fo; +(function (e) { + (e.Partial = "partial"), (e.Full = "full"); +})(Fo || (Fo = {})); +var rn; +(function (e) { + (e.Bezier = "default"), + (e.Straight = "straight"), + (e.Step = "step"), + (e.SmoothStep = "smoothstep"), + (e.SimpleBezier = "simplebezier"); +})(rn || (rn = {})); +var Gr; +(function (e) { + (e.Arrow = "arrow"), (e.ArrowClosed = "arrowclosed"); +})(Gr || (Gr = {})); +var ne; +(function (e) { + (e.Left = "left"), + (e.Top = "top"), + (e.Right = "right"), + (e.Bottom = "bottom"); +})(ne || (ne = {})); +function U2({ pos: e, x1: t, y1: n, x2: o, y2: r }) { + return e === ne.Left || e === ne.Right + ? [0.5 * (t + o), n] + : [t, 0.5 * (n + r)]; +} +function uu({ + sourceX: e, + sourceY: t, + sourcePosition: n = ne.Bottom, + targetX: o, + targetY: r, + targetPosition: a = ne.Top, +}) { + const [i, l] = U2({ + pos: n, + x1: e, + y1: t, + x2: o, + y2: r, + }), + [s, u] = U2({ + pos: a, + x1: o, + y1: r, + x2: e, + y2: t, + }), + [c, d, h, g] = cu({ + sourceX: e, + sourceY: t, + targetX: o, + targetY: r, + sourceControlX: i, + sourceControlY: l, + targetControlX: s, + targetControlY: u, + }); + return [`M${e},${t} C${i},${l} ${s},${u} ${o},${r}`, c, d, h, g]; } -function ng(e, t, n) { - var o, r; - function a() { - var i = t.apply(this, arguments); - return i !== r && (o = (r = i) && tg(e, i, n)), o; +const yl = De( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourcePosition: r = ne.Bottom, + targetPosition: a = ne.Top, + label: i, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: g, + markerStart: m, + interactionWidth: b, + }) => { + const [C, p, v] = uu({ + sourceX: e, + sourceY: t, + sourcePosition: r, + targetX: n, + targetY: o, + targetPosition: a, + }); + return P.createElement(io, { + path: C, + labelX: p, + labelY: v, + label: i, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: g, + markerStart: m, + interactionWidth: b, + }); + }, +); +yl.displayName = "SimpleBezierEdge"; +const q2 = { + [ne.Left]: { x: -1, y: 0 }, + [ne.Right]: { x: 1, y: 0 }, + [ne.Top]: { x: 0, y: -1 }, + [ne.Bottom]: { x: 0, y: 1 }, + }, + Lg = ({ source: e, sourcePosition: t = ne.Bottom, target: n }) => + t === ne.Left || t === ne.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 }, + Y2 = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); +function jg({ + source: e, + sourcePosition: t = ne.Bottom, + target: n, + targetPosition: o = ne.Top, + center: r, + offset: a, +}) { + const i = q2[t], + l = q2[o], + s = { x: e.x + i.x * a, y: e.y + i.y * a }, + u = { x: n.x + l.x * a, y: n.y + l.y * a }, + c = Lg({ + source: s, + sourcePosition: t, + target: u, + }), + d = c.x !== 0 ? "x" : "y", + h = c[d]; + let g = [], + m, + b; + const C = { x: 0, y: 0 }, + p = { x: 0, y: 0 }, + [v, y, E, x] = su({ + sourceX: e.x, + sourceY: e.y, + targetX: n.x, + targetY: n.y, + }); + if (i[d] * l[d] === -1) { + (m = r.x ?? v), (b = r.y ?? y); + const T = [ + { x: m, y: s.y }, + { x: m, y: u.y }, + ], + k = [ + { x: s.x, y: b }, + { x: u.x, y: b }, + ]; + i[d] === h ? (g = d === "x" ? T : k) : (g = d === "x" ? k : T); + } else { + const T = [{ x: s.x, y: u.y }], + k = [{ x: u.x, y: s.y }]; + if ( + (d === "x" ? (g = i.x === h ? k : T) : (g = i.y === h ? T : k), t === o) + ) { + const B = Math.abs(e[d] - n[d]); + if (B <= a) { + const w = Math.min(a - 1, a - B); + i[d] === h + ? (C[d] = (s[d] > e[d] ? -1 : 1) * w) + : (p[d] = (u[d] > n[d] ? -1 : 1) * w); + } + } + if (t !== o) { + const B = d === "x" ? "y" : "x", + w = i[d] === l[B], + N = s[B] > u[B], + S = s[B] < u[B]; + ((i[d] === 1 && ((!w && N) || (w && S))) || + (i[d] !== 1 && ((!w && S) || (w && N)))) && + (g = d === "x" ? T : k); + } + const R = { x: s.x + C.x, y: s.y + C.y }, + L = { x: u.x + p.x, y: u.y + p.y }, + I = Math.max(Math.abs(R.x - g[0].x), Math.abs(L.x - g[0].x)), + W = Math.max(Math.abs(R.y - g[0].y), Math.abs(L.y - g[0].y)); + I >= W + ? ((m = (R.x + L.x) / 2), (b = g[0].y)) + : ((m = g[0].x), (b = (R.y + L.y) / 2)); } - return a._value = t, a; -} -function og(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, ng(e, t, n ?? "")); + return [ + [ + e, + { x: s.x + C.x, y: s.y + C.y }, + ...g, + { x: u.x + p.x, y: u.y + p.y }, + n, + ], + m, + b, + E, + x, + ]; } -function rg(e) { - return function() { - this.textContent = e; - }; +function Rg(e, t, n, o) { + const r = Math.min(Y2(e, t) / 2, Y2(t, n) / 2, o), + { x: a, y: i } = t; + if ((e.x === a && a === n.x) || (e.y === i && i === n.y)) return `L${a} ${i}`; + if (e.y === i) { + const u = e.x < n.x ? -1 : 1, + c = e.y < n.y ? 1 : -1; + return `L ${a + r * u},${i}Q ${a},${i} ${a},${i + r * c}`; + } + const l = e.x < n.x ? 1 : -1, + s = e.y < n.y ? -1 : 1; + return `L ${a},${i + r * s}Q ${a},${i} ${a + r * l},${i}`; } -function ag(e) { - return function() { - var t = e(this); - this.textContent = t ?? ""; - }; +function k1({ + sourceX: e, + sourceY: t, + sourcePosition: n = ne.Bottom, + targetX: o, + targetY: r, + targetPosition: a = ne.Top, + borderRadius: i = 5, + centerX: l, + centerY: s, + offset: u = 20, +}) { + const [c, d, h, g, m] = jg({ + source: { x: e, y: t }, + sourcePosition: n, + target: { x: o, y: r }, + targetPosition: a, + center: { x: l, y: s }, + offset: u, + }); + return [ + c.reduce((C, p, v) => { + let y = ""; + return ( + v > 0 && v < c.length - 1 + ? (y = Rg(c[v - 1], p, c[v + 1], i)) + : (y = `${v === 0 ? "M" : "L"}${p.x} ${p.y}`), + (C += y), + C + ); + }, ""), + d, + h, + g, + m, + ]; } -function ig(e) { - return this.tween("text", typeof e == "function" ? ag(pl(this, "text", e)) : rg(e == null ? "" : e + "")); +const Ca = De( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + label: r, + labelStyle: a, + labelShowBg: i, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + sourcePosition: d = ne.Bottom, + targetPosition: h = ne.Top, + markerEnd: g, + markerStart: m, + pathOptions: b, + interactionWidth: C, + }) => { + const [p, v, y] = k1({ + 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 P.createElement(io, { + path: p, + labelX: v, + labelY: y, + label: r, + labelStyle: a, + labelShowBg: i, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: g, + markerStart: m, + interactionWidth: C, + }); + }, +); +Ca.displayName = "SmoothStepEdge"; +const vl = De((e) => { + var t; + return P.createElement(Ca, { + ...e, + pathOptions: _e(() => { + var n; + return { + borderRadius: 0, + offset: (n = e.pathOptions) == null ? void 0 : n.offset, + }; + }, [(t = e.pathOptions) == null ? void 0 : t.offset]), + }); +}); +vl.displayName = "StepEdge"; +function Hg({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { + const [r, a, i, l] = su({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + }); + return [`M ${e},${t}L ${n},${o}`, r, a, i, l]; } -function lg(e) { - return function(t) { - this.textContent = e.call(this, t); - }; +const xl = De( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + label: r, + labelStyle: a, + labelShowBg: i, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: g, + }) => { + const [m, b, C] = Hg({ sourceX: e, sourceY: t, targetX: n, targetY: o }); + return P.createElement(io, { + path: m, + labelX: b, + labelY: C, + label: r, + labelStyle: a, + labelShowBg: i, + labelBgStyle: l, + labelBgPadding: s, + labelBgBorderRadius: u, + style: c, + markerEnd: d, + markerStart: h, + interactionWidth: g, + }); + }, +); +xl.displayName = "StraightEdge"; +function br(e, t) { + return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); } -function sg(e) { - var t, n; - function o() { - var r = e.apply(this, arguments); - return r !== n && (t = (n = r) && lg(r)), t; +function G2({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { + switch (e) { + case ne.Left: + return [t - br(t - o, a), n]; + case ne.Right: + return [t + br(o - t, a), n]; + case ne.Top: + return [t, n - br(n - r, a)]; + case ne.Bottom: + return [t, n + br(r - n, a)]; } - return o._value = e, o; } -function cg(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, sg(e)); +function du({ + sourceX: e, + sourceY: t, + sourcePosition: n = ne.Bottom, + targetX: o, + targetY: r, + targetPosition: a = ne.Top, + curvature: i = 0.25, +}) { + const [l, s] = G2({ + pos: n, + x1: e, + y1: t, + x2: o, + y2: r, + c: i, + }), + [u, c] = G2({ + pos: a, + x1: o, + y1: r, + x2: e, + y2: t, + c: i, + }), + [d, h, g, m] = cu({ + 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, g, m]; +} +const Kr = De( + ({ + sourceX: e, + sourceY: t, + targetX: n, + targetY: o, + sourcePosition: r = ne.Bottom, + targetPosition: a = ne.Top, + label: i, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: g, + markerStart: m, + pathOptions: b, + interactionWidth: C, + }) => { + const [p, v, y] = du({ + sourceX: e, + sourceY: t, + sourcePosition: r, + targetX: n, + targetY: o, + targetPosition: a, + curvature: b == null ? void 0 : b.curvature, + }); + return P.createElement(io, { + path: p, + labelX: v, + labelY: y, + label: i, + labelStyle: l, + labelShowBg: s, + labelBgStyle: u, + labelBgPadding: c, + labelBgBorderRadius: d, + style: h, + markerEnd: g, + markerStart: m, + interactionWidth: C, + }); + }, +); +Kr.displayName = "BezierEdge"; +const wl = ut(null), + Fg = wl.Provider; +wl.Consumer; +const Ig = () => Re(wl), + zg = (e) => "id" in e && "source" in e && "target" in e, + Pg = (e) => "id" in e && !("source" in e) && !("target" in e), + Bg = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => + `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, + A1 = (e, t) => + typeof e > "u" + ? "" + : typeof e == "string" + ? e + : `${t ? `${t}__` : ""}${Object.keys(e) + .sort() + .map((o) => `${o}=${e[o]}`) + .join("&")}`, + Vg = (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)), + ), + Wg = (e, t) => { + if (!e.source || !e.target) return iu("006", vt.error006()), t; + let n; + return ( + zg(e) + ? (n = { ...e }) + : (n = { + ...e, + id: Bg(e), + }), + Vg(n, t) ? t : t.concat(n) + ); + }, + M1 = ({ x: e, y: t }, [n, o, r], a, [i, l]) => { + const s = { + x: (e - n) / r, + y: (t - o) / r, + }; + return a + ? { + x: i * Math.round(s.x / i), + y: l * Math.round(s.y / l), + } + : s; + }, + fu = ({ x: e, y: t }, [n, o, r]) => ({ + x: e * r + n, + y: t * r + o, + }), + $n = (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, + }; + }, + El = (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: a, y: i } = $n(r, t).positionAbsolute; + return Tg( + o, + Cl({ + x: a, + y: i, + width: r.width || 0, + height: r.height || 0, + }), + ); + }, + { x: 1 / 0, y: 1 / 0, x2: -1 / 0, y2: -1 / 0 }, + ); + return Ng(n); + }, + gu = (e, t, [n, o, r] = [0, 0, 1], a = !1, i = !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: g = !0, hidden: m = !1 } = c; + if ((i && !g) || m) return !1; + const { positionAbsolute: b } = $n(c, l), + C = { + x: b.x, + y: b.y, + width: d || 0, + height: h || 0, + }, + p = _1(s, C), + v = typeof d > "u" || typeof h > "u" || d === null || h === null, + y = a && p > 0, + E = (d || 0) * (h || 0); + (v || y || p >= E || c.dragging) && u.push(c); + }), + u + ); + }, + hu = (e, t) => { + const n = e.map((o) => o.id); + return t.filter((o) => n.includes(o.source) || n.includes(o.target)); + }, + pu = (e, t, n, o, r, a = 0.1) => { + const i = t / (e.width * (1 + a)), + l = n / (e.height * (1 + a)), + s = Math.min(i, l), + u = eo(s, o, r), + c = e.x + e.width / 2, + d = e.y + e.height / 2, + h = t / 2 - c * u, + g = n / 2 - d * u; + return { x: h, y: g, zoom: u }; + }, + pn = (e, t = 0) => e.transition().duration(t); +function K2(e, t, n, o) { + return (t[n] || []).reduce((r, a) => { + var i, l; + return ( + `${e.id}-${a.id}-${n}` !== o && + r.push({ + id: a.id || null, + type: n, + nodeId: e.id, + x: + (((i = e.positionAbsolute) == null ? void 0 : i.x) ?? 0) + + a.x + + a.width / 2, + y: + (((l = e.positionAbsolute) == null ? void 0 : l.y) ?? 0) + + a.y + + a.height / 2, + }), + r + ); + }, []); } -function ug() { - for (var e = this._name, t = this._id, n = eu(), o = this._groups, r = o.length, a = 0; a < r; ++a) - for (var i = o[a], l = i.length, s, u = 0; u < l; ++u) - if (s = i[u]) { - var c = xt(s, t); - ma(s, e, n, u, i, { - time: c.time + c.delay + c.duration, - delay: 0, - duration: c.duration, - ease: c.ease - }); +function $g(e, t, n, o, r, a) { + const { x: i, y: l } = ln(e), + u = t + .elementsFromPoint(i, l) + .find((m) => m.classList.contains("react-flow__handle")); + if (u) { + const m = u.getAttribute("data-nodeid"); + if (m) { + const b = _l(void 0, u), + C = u.getAttribute("data-handleid"), + p = a({ nodeId: m, id: C, type: b }); + if (p) { + const v = r.find((y) => y.nodeId === m && y.type === b && y.id === C); + return { + handle: { + id: C, + type: b, + nodeId: m, + x: (v == null ? void 0 : v.x) || n.x, + y: (v == null ? void 0 : v.y) || n.y, + }, + validHandleResult: p, + }; } - return new Zt(o, this._parents, e, n); + } + } + 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 C = a(m); + b <= d && + (b < d + ? (c = [{ handle: m, validHandleResult: C }]) + : b === d && + c.push({ + handle: m, + validHandleResult: C, + }), + (d = b)); + } + }), + !c.length) + ) + return { handle: null, validHandleResult: mu() }; + if (c.length === 1) return c[0]; + const h = c.some(({ validHandleResult: m }) => m.isValid), + g = c.some(({ handle: m }) => m.type === "target"); + return ( + c.find(({ handle: m, validHandleResult: b }) => + g ? m.type === "target" : h ? b.isValid : !0, + ) || c[0] + ); } -function dg() { - var e, t, n = this, o = n._id, r = n.size(); - return new Promise(function(a, i) { - var l = { value: i }, s = { value: function() { - --r === 0 && a(); - } }; - n.each(function() { - var u = Nt(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 && a(); +const Zg = { + source: null, + target: null, + sourceHandle: null, + targetHandle: null, + }, + mu = () => ({ + handleDomNode: null, + isValid: !1, + connection: Zg, + endHandle: null, }); +function bu(e, t, n, o, r, a, i) { + const l = r === "target", + s = i.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 = { + ...mu(), + handleDomNode: s, + }; + if (s) { + const c = _l(void 0, s), + d = s.getAttribute("data-nodeid"), + h = s.getAttribute("data-handleid"), + g = 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), + g && + m && + (t === Mn.Strict + ? (l && c === "source") || (!l && c === "target") + : d !== n || h !== o) && + ((u.endHandle = { + nodeId: d, + handleId: h, + type: c, + }), + (u.isValid = a(b))); + } + return u; } -var fg = 0; -function Zt(e, t, n, o) { - this._groups = e, this._parents = t, this._name = n, this._id = o; +function Ug({ nodes: e, nodeId: t, handleId: n, handleType: o }) { + return e.reduce((r, a) => { + if (a[Ne]) { + const { handleBounds: i } = a[Ne]; + let l = [], + s = []; + i && + ((l = K2(a, i, "source", `${t}-${n}-${o}`)), + (s = K2(a, i, "target", `${t}-${n}-${o}`))), + r.push(...l, ...s); + } + return r; + }, []); } -function eu() { - return ++fg; +function _l(e, t) { + return ( + e || + (t != null && t.classList.contains("target") + ? "target" + : t != null && t.classList.contains("source") + ? "source" + : null) + ); } -var zt = qo.prototype; -Zt.prototype = { - constructor: Zt, - select: Uf, - selectAll: qf, - selectChild: zt.selectChild, - selectChildren: zt.selectChildren, - filter: zf, - merge: Pf, - selection: Gf, - transition: ug, - call: zt.call, - nodes: zt.nodes, - node: zt.node, - size: zt.size, - empty: zt.empty, - each: zt.each, - on: Wf, - attr: Ef, - attrTween: Mf, - style: eg, - styleTween: og, - text: ig, - textTween: cg, - remove: Zf, - tween: mf, - delay: Df, - duration: jf, - ease: Hf, - easeVarying: If, - end: dg, - [Symbol.iterator]: zt[Symbol.iterator] -}; -function gg(e) { - return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2; +function Ui(e) { + e == null || + e.classList.remove( + "valid", + "connecting", + "react-flow__handle-valid", + "react-flow__handle-connecting", + ); } -var hg = { - time: null, - // Set on use. - delay: 0, - duration: 250, - ease: gg -}; -function pg(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 qg(e, t) { + let n = null; + return t ? (n = "valid") : e && !t && (n = "invalid"), n; +} +function Cu({ + event: e, + handleId: t, + nodeId: n, + onConnect: o, + isTarget: r, + getState: a, + setState: i, + isValidConnection: l, + edgeUpdaterType: s, + onReconnectEnd: u, +}) { + const c = ru(e.target), + { + connectionMode: d, + domNode: h, + autoPanOnConnect: g, + connectionRadius: m, + onConnectStart: b, + panBy: C, + getNodes: p, + cancelConnection: v, + } = a(); + let y = 0, + E; + const { x, y: A } = ln(e), + T = c == null ? void 0 : c.elementFromPoint(x, A), + k = _l(s, T), + R = h == null ? void 0 : h.getBoundingClientRect(); + if (!R || !k) return; + let L, + I = ln(e, R), + W = !1, + B = null, + w = !1, + N = null; + const S = Ug({ + nodes: p(), + nodeId: n, + handleId: t, + handleType: k, + }), + D = () => { + if (!g) return; + const [M, F] = ou(I, R); + C({ x: M, y: F }), (y = requestAnimationFrame(D)); + }; + i({ + connectionPosition: I, + connectionStatus: null, + // connectionNodeId etc will be removed in the next major in favor of connectionStartHandle + connectionNodeId: n, + connectionHandleId: t, + connectionHandleType: k, + connectionStartHandle: { + nodeId: n, + handleId: t, + type: k, + }, + connectionEndHandle: null, + }), + b == null || b(e, { nodeId: n, handleId: t, handleType: k }); + function j(M) { + const { transform: F } = a(); + I = ln(M, R); + const { handle: z, validHandleResult: $ } = $g( + M, + c, + M1(I, F, !1, [1, 1]), + m, + S, + (V) => bu(V, d, n, t, r ? "target" : "source", l, c), + ); + if ( + ((E = z), + W || (D(), (W = !0)), + (N = $.handleDomNode), + (B = $.connection), + (w = $.isValid), + i({ + connectionPosition: + E && w + ? fu( + { + x: E.x, + y: E.y, + }, + F, + ) + : I, + connectionStatus: qg(!!E, w), + connectionEndHandle: $.endHandle, + }), + !E && !w && !N) + ) + return Ui(L); + B.source !== B.target && + N && + (Ui(L), + (L = N), + N.classList.add("connecting", "react-flow__handle-connecting"), + N.classList.toggle("valid", w), + N.classList.toggle("react-flow__handle-valid", w)); + } + function O(M) { + var F, z; + (E || N) && B && w && (o == null || o(B)), + (z = (F = a()).onConnectEnd) == null || z.call(F, M), + s && (u == null || u(M)), + Ui(L), + v(), + cancelAnimationFrame(y), + (W = !1), + (w = !1), + (B = null), + (N = null), + c.removeEventListener("mousemove", j), + c.removeEventListener("mouseup", O), + c.removeEventListener("touchmove", j), + c.removeEventListener("touchend", O); + } + c.addEventListener("mousemove", j), + c.addEventListener("mouseup", O), + c.addEventListener("touchmove", j), + c.addEventListener("touchend", O); +} +const X2 = () => !0, + Yg = (e) => ({ + connectionStartHandle: e.connectionStartHandle, + connectOnClick: e.connectOnClick, + noPanClassName: e.noPanClassName, + }), + Gg = (e, t, n) => (o) => { + const { + connectionStartHandle: r, + connectionEndHandle: a, + connectionClickStartHandle: i, + } = o; + return { + connecting: + ((r == null ? void 0 : r.nodeId) === e && + (r == null ? void 0 : r.handleId) === t && + (r == null ? void 0 : r.type) === n) || + ((a == null ? void 0 : a.nodeId) === e && + (a == null ? void 0 : a.handleId) === t && + (a == null ? void 0 : a.type) === n), + clickConnecting: + (i == null ? void 0 : i.nodeId) === e && + (i == null ? void 0 : i.handleId) === t && + (i == null ? void 0 : i.type) === n, + }; + }, + yu = P1( + ( + { + type: e = "source", + position: t = ne.Top, + isValidConnection: n, + isConnectable: o = !0, + isConnectableStart: r = !0, + isConnectableEnd: a = !0, + id: i, + onConnect: l, + children: s, + className: u, + onMouseDown: c, + onTouchStart: d, + ...h + }, + g, + ) => { + var R, L; + const m = i || null, + b = e === "target", + C = Ie(), + p = Ig(), + { connectOnClick: v, noPanClassName: y } = Me(Yg, Pe), + { connecting: E, clickConnecting: x } = Me(Gg(p, m, e), Pe); + p || + (L = (R = C.getState()).onError) == null || + L.call(R, "010", vt.error010()); + const A = (I) => { + const { + defaultEdgeOptions: W, + onConnect: B, + hasDefaultEdges: w, + } = C.getState(), + N = { + ...W, + ...I, + }; + if (w) { + const { edges: S, setEdges: D } = C.getState(); + D(Wg(N, S)); + } + B == null || B(N), l == null || l(N); + }, + T = (I) => { + if (!p) return; + const W = lu(I); + r && + ((W && I.button === 0) || !W) && + Cu({ + event: I, + handleId: m, + nodeId: p, + onConnect: A, + isTarget: b, + getState: C.getState, + setState: C.setState, + isValidConnection: n || C.getState().isValidConnection || X2, + }), + W ? c == null || c(I) : d == null || d(I); + }, + k = (I) => { + const { + onClickConnectStart: W, + onClickConnectEnd: B, + connectionClickStartHandle: w, + connectionMode: N, + isValidConnection: S, + } = C.getState(); + if (!p || (!w && !r)) return; + if (!w) { + W == null || W(I, { nodeId: p, handleId: m, handleType: e }), + C.setState({ + connectionClickStartHandle: { nodeId: p, type: e, handleId: m }, + }); + return; + } + const D = ru(I.target), + j = n || S || X2, + { connection: O, isValid: M } = bu( + { + nodeId: p, + id: m, + type: e, + }, + N, + w.nodeId, + w.handleId || null, + w.type, + j, + D, + ); + M && A(O), + B == null || B(I), + C.setState({ connectionClickStartHandle: null }); + }; + return P.createElement( + "div", + { + "data-handleid": m, + "data-nodeid": p, + "data-handlepos": t, + "data-id": `${p}-${m}-${e}`, + className: Ke([ + "react-flow__handle", + `react-flow__handle-${t}`, + "nodrag", + y, + u, + { + source: !b, + target: b, + connectable: o, + connectablestart: r, + connectableend: a, + connecting: x, + // this class is used to style the handle when the user is connecting + connectionindicator: o && ((r && !E) || (a && E)), + }, + ]), + onMouseDown: T, + onTouchStart: T, + onClick: v ? k : void 0, + ref: g, + ...h, + }, + s, + ); + }, + ); +yu.displayName = "Handle"; +var at = De(yu); +const vu = ({ + data: e, + isConnectable: t, + targetPosition: n = ne.Top, + sourcePosition: o = ne.Bottom, +}) => + P.createElement( + P.Fragment, + null, + P.createElement(at, { type: "target", position: n, isConnectable: t }), + e == null ? void 0 : e.label, + P.createElement(at, { type: "source", position: o, isConnectable: t }), + ); +vu.displayName = "DefaultNode"; +var T1 = De(vu); +const xu = ({ data: e, isConnectable: t, sourcePosition: n = ne.Bottom }) => + P.createElement( + P.Fragment, + null, + e == null ? void 0 : e.label, + P.createElement(at, { type: "source", position: n, isConnectable: t }), + ); +xu.displayName = "InputNode"; +var wu = De(xu); +const Eu = ({ data: e, isConnectable: t, targetPosition: n = ne.Top }) => + P.createElement( + P.Fragment, + null, + P.createElement(at, { type: "target", position: n, isConnectable: t }), + e == null ? void 0 : e.label, + ); +Eu.displayName = "OutputNode"; +var _u = De(Eu); +const Sl = () => null; +Sl.displayName = "GroupNode"; +const Kg = (e) => ({ + selectedNodes: e.getNodes().filter((t) => t.selected), + selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })), + }), + Cr = (e) => e.id; +function Xg(e, t) { + return ( + Pe(e.selectedNodes.map(Cr), t.selectedNodes.map(Cr)) && + Pe(e.selectedEdges.map(Cr), t.selectedEdges.map(Cr)) + ); } -function mg(e) { - var t, n; - e instanceof Zt ? (t = e._id, e = e._name) : (t = eu(), (n = hg).time = gl(), e = e == null ? null : e + ""); - for (var o = this._groups, r = o.length, a = 0; a < r; ++a) - for (var i = o[a], l = i.length, s, u = 0; u < l; ++u) - (s = i[u]) && ma(s, e, t, u, i, n || pg(s, t)); - return new Zt(o, this._parents, e, t); +const Su = De(({ onSelectionChange: e }) => { + const t = Ie(), + { selectedNodes: n, selectedEdges: o } = Me(Kg, Xg); + return ( + re(() => { + const r = { nodes: n, edges: o }; + e == null || e(r), t.getState().onSelectionChange.forEach((a) => a(r)); + }, [n, o, e]), + null + ); +}); +Su.displayName = "SelectionListener"; +const Jg = (e) => !!e.onSelectionChange; +function Qg({ onSelectionChange: e }) { + const t = Me(Jg); + return e || t ? P.createElement(Su, { onSelectionChange: e }) : null; } -qo.prototype.interrupt = gf; -qo.prototype.transition = mg; -const mr = (e) => () => e; -function bg(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 } - }); +const eh = (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 jn(e, t) { + re(() => { + typeof e < "u" && t(e); + }, [e]); } -function Bt(e, t, n) { - this.k = e, this.x = t, this.y = n; +function de(e, t, n) { + re(() => { + typeof t < "u" && n({ [e]: t }); + }, [t]); } -Bt.prototype = { - constructor: Bt, - scale: function(e) { - return e === 1 ? this : new Bt(this.k * e, this.x, this.y); - }, - translate: function(e, t) { - return e === 0 & t === 0 ? this : new Bt(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)); +const th = ({ + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + onConnect: r, + onConnectStart: a, + onConnectEnd: i, + onClickConnectStart: l, + onClickConnectEnd: s, + nodesDraggable: u, + nodesConnectable: c, + nodesFocusable: d, + edgesFocusable: h, + edgesUpdatable: g, + elevateNodesOnSelect: m, + minZoom: b, + maxZoom: C, + nodeExtent: p, + onNodesChange: v, + onEdgesChange: y, + elementsSelectable: E, + connectionMode: x, + snapGrid: A, + snapToGrid: T, + translateExtent: k, + connectOnClick: R, + defaultEdgeOptions: L, + fitView: I, + fitViewOptions: W, + onNodesDelete: B, + onEdgesDelete: w, + onNodeDrag: N, + onNodeDragStart: S, + onNodeDragStop: D, + onSelectionDrag: j, + onSelectionDragStart: O, + onSelectionDragStop: M, + noPanClassName: F, + nodeOrigin: z, + rfId: $, + autoPanOnConnect: V, + autoPanOnNodeDrag: q, + onError: K, + connectionRadius: X, + isValidConnection: J, + nodeDragThreshold: te, + }) => { + const { + setNodes: Z, + setEdges: se, + setDefaultNodesAndEdges: G, + setMinZoom: ye, + setMaxZoom: je, + setTranslateExtent: Ee, + setNodeExtent: Be, + reset: xe, + } = Me(eh, Pe), + oe = Ie(); + return ( + re(() => { + const He = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...L })); + return ( + G(n, He), + () => { + xe(); + } + ); + }, []), + de("defaultEdgeOptions", L, oe.setState), + de("connectionMode", x, oe.setState), + de("onConnect", r, oe.setState), + de("onConnectStart", a, oe.setState), + de("onConnectEnd", i, oe.setState), + de("onClickConnectStart", l, oe.setState), + de("onClickConnectEnd", s, oe.setState), + de("nodesDraggable", u, oe.setState), + de("nodesConnectable", c, oe.setState), + de("nodesFocusable", d, oe.setState), + de("edgesFocusable", h, oe.setState), + de("edgesUpdatable", g, oe.setState), + de("elementsSelectable", E, oe.setState), + de("elevateNodesOnSelect", m, oe.setState), + de("snapToGrid", T, oe.setState), + de("snapGrid", A, oe.setState), + de("onNodesChange", v, oe.setState), + de("onEdgesChange", y, oe.setState), + de("connectOnClick", R, oe.setState), + de("fitViewOnInit", I, oe.setState), + de("fitViewOnInitOptions", W, oe.setState), + de("onNodesDelete", B, oe.setState), + de("onEdgesDelete", w, oe.setState), + de("onNodeDrag", N, oe.setState), + de("onNodeDragStart", S, oe.setState), + de("onNodeDragStop", D, oe.setState), + de("onSelectionDrag", j, oe.setState), + de("onSelectionDragStart", O, oe.setState), + de("onSelectionDragStop", M, oe.setState), + de("noPanClassName", F, oe.setState), + de("nodeOrigin", z, oe.setState), + de("rfId", $, oe.setState), + de("autoPanOnConnect", V, oe.setState), + de("autoPanOnNodeDrag", q, oe.setState), + de("onError", K, oe.setState), + de("connectionRadius", X, oe.setState), + de("isValidConnection", J, oe.setState), + de("nodeDragThreshold", te, oe.setState), + jn(e, Z), + jn(t, se), + jn(b, ye), + jn(C, je), + jn(k, Ee), + jn(p, Be), + null + ); }, - rescaleY: function(e) { - return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e)); + J2 = { display: "none" }, + nh = { + position: "absolute", + width: 1, + height: 1, + margin: -1, + border: 0, + padding: 0, + overflow: "hidden", + clip: "rect(0px, 0px, 0px, 0px)", + clipPath: "inset(100%)", }, - toString: function() { - return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; - } -}; -var an = new Bt(1, 0, 0); -Bt.prototype; -function Zi(e) { - e.stopImmediatePropagation(); -} -function go(e) { - e.preventDefault(), e.stopImmediatePropagation(); + ku = "react-flow__node-desc", + Au = "react-flow__edge-desc", + oh = "react-flow__aria-live", + rh = (e) => e.ariaLiveMessage; +function ah({ rfId: e }) { + const t = Me(rh); + return P.createElement( + "div", + { + id: `${oh}-${e}`, + "aria-live": "assertive", + "aria-atomic": "true", + style: nh, + }, + t, + ); } -function Cg(e) { - return (!e.ctrlKey || e.type === "wheel") && !e.button; +function ih({ rfId: e, disableKeyboardA11y: t }) { + return P.createElement( + P.Fragment, + null, + P.createElement( + "div", + { id: `${ku}-${e}`, style: J2 }, + "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.", + " ", + ), + P.createElement( + "div", + { id: `${Au}-${e}`, style: J2 }, + "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.", + ), + !t && P.createElement(ah, { rfId: e }), + ); } -function yg() { - 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]]; +var Io = (e = null, t = { actInsideInputWithModifier: !0 }) => { + const [n, o] = ae(!1), + r = le(!1), + a = le(/* @__PURE__ */ new Set([])), + [i, l] = _e(() => { + 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 ( + re(() => { + const s = typeof document < "u" ? document : null, + u = (t == null ? void 0 : t.target) || s; + if (e !== null) { + const c = (g) => { + if ( + ((r.current = g.ctrlKey || g.metaKey || g.shiftKey), + (!r.current || (r.current && !t.actInsideInputWithModifier)) && + S1(g)) + ) + return !1; + const b = ec(g.code, l); + a.current.add(g[b]), + Q2(i, a.current, !1) && (g.preventDefault(), o(!0)); + }, + d = (g) => { + if ( + (!r.current || (r.current && !t.actInsideInputWithModifier)) && + S1(g) + ) + return !1; + const b = ec(g.code, l); + Q2(i, a.current, !0) + ? (o(!1), a.current.clear()) + : a.current.delete(g[b]), + g.key === "Meta" && a.current.clear(), + (r.current = !1); + }, + h = () => { + a.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 Q2(e, t, n) { + return e + .filter((o) => n || o.length === t.size) + .some((o) => o.every((r) => t.has(r))); } -function W2() { - return this.__zoom || an; +function ec(e, t) { + return t.includes(e) ? "code" : "key"; } -function vg(e) { - return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * (e.ctrlKey ? 10 : 1); +function Mu(e, t, n, o) { + var l, s; + const r = e.parentNode || e.parentId; + if (!r) return n; + const a = t.get(r), + i = $n(a, o); + return Mu( + a, + t, + { + x: (n.x ?? 0) + i.x, + y: (n.y ?? 0) + i.y, + z: + (((l = a[Ne]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) + ? (((s = a[Ne]) == null ? void 0 : s.z) ?? 0) + : (n.z ?? 0), + }, + o, + ); } -function xg() { - return navigator.maxTouchPoints || "ontouchstart" in this; +function Tu(e, t, n) { + e.forEach((o) => { + var a; + 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: i, + y: l, + z: s, + } = Mu( + o, + e, + { + ...o.position, + z: ((a = o[Ne]) == null ? void 0 : a.z) ?? 0, + }, + t, + ); + (o.positionAbsolute = { + x: i, + y: l, + }), + (o[Ne].z = s), + n != null && n[o.id] && (o[Ne].isParent = !0); + } + }); } -function wg(e, t, n) { - var o = e.invertX(t[0][0]) - n[0][0], r = e.invertX(t[1][0]) - n[1][0], a = e.invertY(t[0][1]) - n[0][1], i = e.invertY(t[1][1]) - n[1][1]; - return e.translate( - r > o ? (o + r) / 2 : Math.min(0, o) || Math.max(0, r), - i > a ? (a + i) / 2 : Math.min(0, a) || Math.max(0, i) +function qi(e, t, n, o) { + const r = /* @__PURE__ */ new Map(), + a = {}, + i = o ? 1e3 : 0; + return ( + e.forEach((l) => { + var g; + const s = (st(l.zIndex) ? l.zIndex : 0) + (l.selected ? i : 0), + u = t.get(l.id), + c = { + ...l, + positionAbsolute: { + x: l.position.x, + y: l.position.y, + }, + }, + d = l.parentNode || l.parentId; + d && (a[d] = !0); + const h = + (u == null ? void 0 : u.type) && + (u == null ? void 0 : u.type) !== l.type; + Object.defineProperty(c, Ne, { + enumerable: !1, + value: { + handleBounds: + h || (g = u == null ? void 0 : u[Ne]) == null + ? void 0 + : g.handleBounds, + z: s, + }, + }), + r.set(l.id, c); + }), + Tu(r, n, a), + r ); } -function Eg() { - var e = Cg, t = yg, n = wg, o = vg, r = xg, a = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], l = 250, s = rf, u = ga("start", "zoom", "end"), c, d, h, g = 500, m = 150, b = 0, C = 10; - function p(w) { - w.property("__zoom", W2).on("wheel.zoom", k, { passive: !1 }).on("mousedown.zoom", R).on("dblclick.zoom", L).filter(r).on("touchstart.zoom", I).on("touchmove.zoom", W).on("touchend.zoom touchcancel.zoom", B).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); - } - p.transform = function(w, N, S, D) { - var j = w.selection ? w.selection() : w; - j.property("__zoom", W2), w !== j ? x(w, N, S, D) : j.interrupt().each(function() { - A(this, arguments).event(D).start().zoom(null, typeof N == "function" ? N.apply(this, arguments) : N).end(); - }); - }, p.scaleBy = function(w, N, S, D) { - p.scaleTo(w, function() { - var j = this.__zoom.k, O = typeof N == "function" ? N.apply(this, arguments) : N; - return j * O; - }, S, D); - }, p.scaleTo = function(w, N, S, D) { - p.transform(w, function() { - var j = t.apply(this, arguments), O = this.__zoom, M = S == null ? E(j) : typeof S == "function" ? S.apply(this, arguments) : S, F = O.invert(M), z = typeof N == "function" ? N.apply(this, arguments) : N; - return n(y(v(O, z), M, F), j, i); - }, S, D); - }, p.translateBy = function(w, N, S, D) { - p.transform(w, function() { - return n(this.__zoom.translate( - typeof N == "function" ? N.apply(this, arguments) : N, - typeof S == "function" ? S.apply(this, arguments) : S - ), t.apply(this, arguments), i); - }, null, D); - }, p.translateTo = function(w, N, S, D, j) { - p.transform(w, function() { - var O = t.apply(this, arguments), M = this.__zoom, F = D == null ? E(O) : typeof D == "function" ? D.apply(this, arguments) : D; - return n(an.translate(F[0], F[1]).scale(M.k).translate( - typeof N == "function" ? -N.apply(this, arguments) : -N, - typeof S == "function" ? -S.apply(this, arguments) : -S - ), O, i); - }, D, j); - }; - function v(w, N) { - return N = Math.max(a[0], Math.min(a[1], N)), N === w.k ? w : new Bt(N, w.x, w.y); - } - function y(w, N, S) { - var D = N[0] - S[0] * w.k, j = N[1] - S[1] * w.k; - return D === w.x && j === w.y ? w : new Bt(w.k, D, j); - } - function E(w) { - return [(+w[0][0] + +w[1][0]) / 2, (+w[0][1] + +w[1][1]) / 2]; - } - function x(w, N, S, D) { - w.on("start.zoom", function() { - A(this, arguments).event(D).start(); - }).on("interrupt.zoom end.zoom", function() { - A(this, arguments).event(D).end(); - }).tween("zoom", function() { - var j = this, O = arguments, M = A(j, O).event(D), F = t.apply(j, O), z = S == null ? E(F) : typeof S == "function" ? S.apply(j, O) : S, $ = Math.max(F[1][0] - F[0][0], F[1][1] - F[0][1]), V = j.__zoom, q = typeof N == "function" ? N.apply(j, O) : N, K = s(V.invert(z).concat($ / V.k), q.invert(z).concat($ / q.k)); - return function(X) { - if (X === 1) X = q; - else { - var J = K(X), te = $ / J[2]; - X = new Bt(te, z[0] - J[0] * te, z[1] - J[1] * te); - } - M.zoom(null, X); - }; - }); - } - function A(w, N, S) { - return !S && w.__zooming || new T(w, N); - } - function T(w, N) { - this.that = w, this.args = N, this.active = 0, this.sourceEvent = null, this.extent = t.apply(w, N), this.taps = 0; - } - T.prototype = { - event: function(w) { - return w && (this.sourceEvent = w), this; - }, - start: function() { - return ++this.active === 1 && (this.that.__zooming = this, this.emit("start")), this; - }, - zoom: function(w, N) { - return this.mouse && w !== "mouse" && (this.mouse[1] = N.invert(this.mouse[0])), this.touch0 && w !== "touch" && (this.touch0[1] = N.invert(this.touch0[0])), this.touch1 && w !== "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(w) { - var N = bt(this.that).datum(); - u.call( - w, - this.that, - new bg(w, { - sourceEvent: this.sourceEvent, - target: p, - type: w, - transform: this.that.__zoom, - dispatch: u - }), - N +function Nu(e, t = {}) { + const { + getNodes: n, + width: o, + height: r, + minZoom: a, + maxZoom: i, + 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((C) => { + var v; + const p = t.includeHiddenNodes ? C.width && C.height : !C.hidden; + return (v = t.nodes) != null && v.length + ? p && t.nodes.some((y) => y.id === C.id) + : p; + }), + b = m.every((C) => C.width && C.height); + if (m.length > 0 && b) { + const C = El(m, d), + { + x: p, + y: v, + zoom: y, + } = pu(C, o, r, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), + E = an.translate(p, v).scale(y); + return ( + typeof t.duration == "number" && t.duration > 0 + ? l.transform(pn(s, t.duration), E) + : l.transform(s, E), + !0 ); } - }; - function k(w, ...N) { - if (!e.apply(this, arguments)) return; - var S = A(this, N).event(w), D = this.__zoom, j = Math.max(a[0], Math.min(a[1], D.k * Math.pow(2, o.apply(this, arguments)))), O = kt(w); - if (S.wheel) - (S.mouse[0][0] !== O[0] || S.mouse[0][1] !== O[1]) && (S.mouse[1] = D.invert(S.mouse[0] = O)), clearTimeout(S.wheel); - else { - if (D.k === j) return; - S.mouse = [O, D.invert(O)], Dr(this), S.start(); - } - go(w), S.wheel = setTimeout(M, m), S.zoom("mouse", n(y(v(D, j), S.mouse[0], S.mouse[1]), S.extent, i)); - function M() { - S.wheel = null, S.end(); - } } - function R(w, ...N) { - if (h || !e.apply(this, arguments)) return; - var S = w.currentTarget, D = A(this, N, !0).event(w), j = bt(w.view).on("mousemove.zoom", z, !0).on("mouseup.zoom", $, !0), O = kt(w, S), M = w.clientX, F = w.clientY; - P0(w.view), Zi(w), D.mouse = [O, this.__zoom.invert(O)], Dr(this), D.start(); - function z(V) { - if (go(V), !D.moved) { - var q = V.clientX - M, K = V.clientY - F; - D.moved = q * q + K * K > b; + return !1; +} +function lh(e, t) { + return ( + e.forEach((n) => { + const o = t.get(n.id); + o && + t.set(o.id, { + ...o, + [Ne]: o[Ne], + selected: n.selected, + }); + }), + new Map(t) + ); +} +function sh(e, t) { + return t.map((n) => { + const o = e.find((r) => r.id === n.id); + return o && (n.selected = o.selected), n; + }); +} +function yr({ changedNodes: e, changedEdges: t, get: n, set: o }) { + const { + nodeInternals: r, + edges: a, + onNodesChange: i, + onEdgesChange: l, + hasDefaultNodes: s, + hasDefaultEdges: u, + } = n(); + e != null && + e.length && + (s && o({ nodeInternals: lh(e, r) }), i == null || i(e)), + t != null && t.length && (u && o({ edges: sh(t, a) }), l == null || l(t)); +} +const Rn = () => {}, + ch = { + zoomIn: Rn, + zoomOut: Rn, + zoomTo: Rn, + getZoom: () => 1, + setViewport: Rn, + getViewport: () => ({ x: 0, y: 0, zoom: 1 }), + fitView: () => !1, + setCenter: Rn, + fitBounds: Rn, + project: (e) => e, + screenToFlowPosition: (e) => e, + flowToScreenPosition: (e) => e, + viewportInitialized: !1, + }, + uh = (e) => ({ + d3Zoom: e.d3Zoom, + d3Selection: e.d3Selection, + }), + dh = () => { + const e = Ie(), + { d3Zoom: t, d3Selection: n } = Me(uh, Pe); + return _e( + () => + n && t + ? { + zoomIn: (r) => + t.scaleBy(pn(n, r == null ? void 0 : r.duration), 1.2), + zoomOut: (r) => + t.scaleBy(pn(n, r == null ? void 0 : r.duration), 1 / 1.2), + zoomTo: (r, a) => + t.scaleTo(pn(n, a == null ? void 0 : a.duration), r), + getZoom: () => e.getState().transform[2], + setViewport: (r, a) => { + const [i, l, s] = e.getState().transform, + u = an.translate(r.x ?? i, r.y ?? l).scale(r.zoom ?? s); + t.transform(pn(n, a == null ? void 0 : a.duration), u); + }, + getViewport: () => { + const [r, a, i] = e.getState().transform; + return { x: r, y: a, zoom: i }; + }, + fitView: (r) => Nu(e.getState, r), + setCenter: (r, a, i) => { + const { width: l, height: s, maxZoom: u } = e.getState(), + c = typeof (i == null ? void 0 : i.zoom) < "u" ? i.zoom : u, + d = l / 2 - r * c, + h = s / 2 - a * c, + g = an.translate(d, h).scale(c); + t.transform(pn(n, i == null ? void 0 : i.duration), g); + }, + fitBounds: (r, a) => { + const { + width: i, + height: l, + minZoom: s, + maxZoom: u, + } = e.getState(), + { + x: c, + y: d, + zoom: h, + } = pu( + r, + i, + l, + s, + u, + (a == null ? void 0 : a.padding) ?? 0.1, + ), + g = an.translate(c, d).scale(h); + t.transform(pn(n, a == null ? void 0 : a.duration), g); + }, + // @deprecated Use `screenToFlowPosition`. + project: (r) => { + const { + transform: a, + snapToGrid: i, + 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", + ), + M1(r, a, i, l) + ); + }, + screenToFlowPosition: (r) => { + const { + transform: a, + snapToGrid: i, + 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 M1(d, a, i, l); + }, + flowToScreenPosition: (r) => { + const { transform: a, domNode: i } = e.getState(); + if (!i) return r; + const { x: l, y: s } = i.getBoundingClientRect(), + u = fu(r, a); + return { + x: u.x + l, + y: u.y + s, + }; + }, + viewportInitialized: !0, + } + : ch, + [t, n], + ); + }; +function wt() { + const e = dh(), + t = Ie(), + n = pe( + () => + t + .getState() + .getNodes() + .map((b) => ({ ...b })), + [], + ), + o = pe((b) => t.getState().nodeInternals.get(b), []), + r = pe(() => { + const { edges: b = [] } = t.getState(); + return b.map((C) => ({ ...C })); + }, []), + a = pe((b) => { + const { edges: C = [] } = t.getState(); + return C.find((p) => p.id === b); + }, []), + i = pe((b) => { + const { + getNodes: C, + setNodes: p, + hasDefaultNodes: v, + onNodesChange: y, + } = t.getState(), + E = C(), + x = typeof b == "function" ? b(E) : b; + if (v) p(x); + else if (y) { + const A = + x.length === 0 + ? E.map((T) => ({ type: "remove", id: T.id })) + : x.map((T) => ({ item: T, type: "reset" })); + y(A); + } + }, []), + l = pe((b) => { + const { + edges: C = [], + setEdges: p, + hasDefaultEdges: v, + onEdgesChange: y, + } = t.getState(), + E = typeof b == "function" ? b(C) : b; + if (v) p(E); + else if (y) { + const x = + E.length === 0 + ? C.map((A) => ({ type: "remove", id: A.id })) + : E.map((A) => ({ item: A, type: "reset" })); + y(x); + } + }, []), + s = pe((b) => { + const C = Array.isArray(b) ? b : [b], + { + getNodes: p, + setNodes: v, + hasDefaultNodes: y, + onNodesChange: E, + } = t.getState(); + if (y) { + const A = [...p(), ...C]; + v(A); + } else if (E) { + const x = C.map((A) => ({ item: A, type: "add" })); + E(x); + } + }, []), + u = pe((b) => { + const C = Array.isArray(b) ? b : [b], + { + edges: p = [], + setEdges: v, + hasDefaultEdges: y, + onEdgesChange: E, + } = t.getState(); + if (y) v([...p, ...C]); + else if (E) { + const x = C.map((A) => ({ item: A, type: "add" })); + E(x); + } + }, []), + c = pe(() => { + const { getNodes: b, edges: C = [], transform: p } = t.getState(), + [v, y, E] = p; + return { + nodes: b().map((x) => ({ ...x })), + edges: C.map((x) => ({ ...x })), + viewport: { + x: v, + y, + zoom: E, + }, + }; + }, []), + d = pe(({ nodes: b, edges: C }) => { + const { + nodeInternals: p, + getNodes: v, + edges: y, + hasDefaultNodes: E, + hasDefaultEdges: x, + onNodesDelete: A, + onEdgesDelete: T, + onNodesChange: k, + onEdgesChange: R, + } = t.getState(), + L = (b || []).map((N) => N.id), + I = (C || []).map((N) => N.id), + W = v().reduce((N, S) => { + const D = S.parentNode || S.parentId, + j = !L.includes(S.id) && D && N.find((M) => M.id === D); + return ( + (typeof S.deletable == "boolean" ? S.deletable : !0) && + (L.includes(S.id) || j) && + N.push(S), + N + ); + }, []), + B = y.filter((N) => + typeof N.deletable == "boolean" ? N.deletable : !0, + ), + w = B.filter((N) => I.includes(N.id)); + if (W || w) { + const N = hu(W, B), + S = [...w, ...N], + D = S.reduce((j, O) => (j.includes(O.id) || j.push(O.id), j), []); + if ( + ((x || E) && + (x && + t.setState({ + edges: y.filter((j) => !D.includes(j.id)), + }), + E && + (W.forEach((j) => { + p.delete(j.id); + }), + t.setState({ + nodeInternals: new Map(p), + }))), + D.length > 0 && + (T == null || T(S), + R && + R( + D.map((j) => ({ + id: j, + type: "remove", + })), + )), + W.length > 0 && (A == null || A(W), k)) + ) { + const j = W.map((O) => ({ id: O.id, type: "remove" })); + k(j); + } } - D.event(V).zoom("mouse", n(y(D.that.__zoom, D.mouse[0] = kt(V, S), D.mouse[1]), D.extent, i)); - } - function $(V) { - j.on("mousemove.zoom mouseup.zoom", null), B0(V.view, D.moved), go(V), D.event(V).end(); - } - } - function L(w, ...N) { - if (e.apply(this, arguments)) { - var S = this.__zoom, D = kt(w.changedTouches ? w.changedTouches[0] : w, this), j = S.invert(D), O = S.k * (w.shiftKey ? 0.5 : 2), M = n(y(v(S, O), D, j), t.apply(this, N), i); - go(w), l > 0 ? bt(this).transition().duration(l).call(x, M, D, w) : bt(this).call(p.transform, M, D, w); - } - } - function I(w, ...N) { - if (e.apply(this, arguments)) { - var S = w.touches, D = S.length, j = A(this, N, w.changedTouches.length === D).event(w), O, M, F, z; - for (Zi(w), M = 0; M < D; ++M) - F = S[M], z = kt(F, this), z = [z, this.__zoom.invert(z), F.identifier], j.touch0 ? !j.touch1 && j.touch0[2] !== z[2] && (j.touch1 = z, j.taps = 0) : (j.touch0 = z, O = !0, j.taps = 1 + !!c); - c && (c = clearTimeout(c)), O && (j.taps < 2 && (d = z[0], c = setTimeout(function() { - c = null; - }, g)), Dr(this), j.start()); - } - } - function W(w, ...N) { - if (this.__zooming) { - var S = A(this, N).event(w), D = w.changedTouches, j = D.length, O, M, F, z; - for (go(w), O = 0; O < j; ++O) - M = D[O], F = kt(M, this), S.touch0 && S.touch0[2] === M.identifier ? S.touch0[0] = F : S.touch1 && S.touch1[2] === M.identifier && (S.touch1[0] = F); - if (M = S.that.__zoom, S.touch1) { - var $ = S.touch0[0], V = S.touch0[1], q = S.touch1[0], K = S.touch1[1], X = (X = q[0] - $[0]) * X + (X = q[1] - $[1]) * X, J = (J = K[0] - V[0]) * J + (J = K[1] - V[1]) * J; - M = v(M, Math.sqrt(X / J)), F = [($[0] + q[0]) / 2, ($[1] + q[1]) / 2], z = [(V[0] + K[0]) / 2, (V[1] + K[1]) / 2]; - } else if (S.touch0) F = S.touch0[0], z = S.touch0[1]; - else return; - S.zoom("touch", n(y(M, F, z), S.extent, i)); + }, []), + h = pe((b) => { + const C = Dg(b), + p = C ? null : t.getState().nodeInternals.get(b.id); + return !C && !p ? [null, null, C] : [C ? b : Z2(p), p, C]; + }, []), + g = pe((b, C = !0, p) => { + const [v, y, E] = h(b); + return v + ? (p || t.getState().getNodes()).filter((x) => { + if (!E && (x.id === y.id || !x.positionAbsolute)) return !1; + const A = Z2(x), + T = _1(A, v); + return (C && T > 0) || T >= v.width * v.height; + }) + : []; + }, []), + m = pe((b, C, p = !0) => { + const [v] = h(b); + if (!v) return !1; + const y = _1(v, C); + return (p && y > 0) || y >= v.width * v.height; + }, []); + return _e( + () => ({ + ...e, + getNodes: n, + getNode: o, + getEdges: r, + getEdge: a, + setNodes: i, + setEdges: l, + addNodes: s, + addEdges: u, + toObject: c, + deleteElements: d, + getIntersectingNodes: g, + isNodeIntersecting: m, + }), + [e, n, o, r, a, i, l, s, u, c, d, g, m], + ); +} +const fh = { actInsideInputWithModifier: !1 }; +var gh = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { + const n = Ie(), + { deleteElements: o } = wt(), + r = Io(e, fh), + a = Io(t); + re(() => { + if (r) { + const { edges: i, getNodes: l } = n.getState(), + s = l().filter((c) => c.selected), + u = i.filter((c) => c.selected); + o({ nodes: s, edges: u }), n.setState({ nodesSelectionActive: !1 }); } - } - function B(w, ...N) { - if (this.__zooming) { - var S = A(this, N).event(w), D = w.changedTouches, j = D.length, O, M; - for (Zi(w), h && clearTimeout(h), h = setTimeout(function() { - h = null; - }, g), O = 0; O < j; ++O) - M = D[O], S.touch0 && S.touch0[2] === M.identifier ? delete S.touch0 : S.touch1 && S.touch1[2] === M.identifier && delete S.touch1; - if (S.touch1 && !S.touch0 && (S.touch0 = S.touch1, delete S.touch1), S.touch0) S.touch0[1] = this.__zoom.invert(S.touch0[0]); - else if (S.end(), S.taps === 2 && (M = kt(M, this), Math.hypot(d[0] - M[0], d[1] - M[1]) < C)) { - var F = bt(this).on("dblclick.zoom"); - F && F.apply(this, arguments); + }, [r]), + re(() => { + n.setState({ multiSelectionActive: a }); + }, [a]); +}; +function hh(e) { + const t = Ie(); + re(() => { + let n; + const o = () => { + var a, i; + if (!e.current) return; + const r = ml(e.current); + (r.height === 0 || r.width === 0) && + ((i = (a = t.getState()).onError) == null || + i.call(a, "004", vt.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 kl = { + position: "absolute", + width: "100%", + height: "100%", + top: 0, + left: 0, + }, + ph = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, + vr = (e) => ({ + x: e.x, + y: e.y, + zoom: e.k, + }), + Hn = (e, t) => e.target.closest(`.${t}`), + tc = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), + nc = (e) => { + const t = e.ctrlKey && Yr() ? 10 : 1; + return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; + }, + mh = (e) => ({ + d3Zoom: e.d3Zoom, + d3Selection: e.d3Selection, + d3ZoomHandler: e.d3ZoomHandler, + userSelectionActive: e.userSelectionActive, + }), + bh = ({ + onMove: e, + onMoveStart: t, + onMoveEnd: n, + onPaneContextMenu: o, + zoomOnScroll: r = !0, + zoomOnPinch: a = !0, + panOnScroll: i = !1, + panOnScrollSpeed: l = 0.5, + panOnScrollMode: s = yn.Free, + zoomOnDoubleClick: u = !0, + elementsSelectable: c, + panOnDrag: d = !0, + defaultViewport: h, + translateExtent: g, + minZoom: m, + maxZoom: b, + zoomActivationKeyCode: C, + preventScrolling: p = !0, + children: v, + noWheelClassName: y, + noPanClassName: E, + }) => { + const x = le(), + A = Ie(), + T = le(!1), + k = le(!1), + R = le(null), + L = le({ x: 0, y: 0, zoom: 0 }), + { + d3Zoom: I, + d3Selection: W, + d3ZoomHandler: B, + userSelectionActive: w, + } = Me(mh, Pe), + N = Io(C), + S = le(0), + D = le(!1), + j = le(); + return ( + hh(R), + re(() => { + if (R.current) { + const O = R.current.getBoundingClientRect(), + M = Eg().scaleExtent([m, b]).translateExtent(g), + F = bt(R.current).call(M), + z = an.translate(h.x, h.y).scale(eo(h.zoom, m, b)), + $ = [ + [0, 0], + [O.width, O.height], + ], + V = M.constrain()(z, $, g); + M.transform(F, V), + M.wheelDelta(nc), + A.setState({ + d3Zoom: M, + d3Selection: F, + d3ZoomHandler: F.on("wheel.zoom"), + // we need to pass transform because zoom handler is not registered when we set the initial transform + transform: [V.x, V.y, V.k], + domNode: R.current.closest(".react-flow"), + }); + } + }, []), + re(() => { + W && + I && + (i && !N && !w + ? W.on( + "wheel.zoom", + (O) => { + if (Hn(O, y)) return !1; + O.preventDefault(), O.stopImmediatePropagation(); + const M = W.property("__zoom").k || 1; + if (O.ctrlKey && a) { + const J = kt(O), + te = nc(O), + Z = M * Math.pow(2, te); + I.scaleTo(W, Z, J, O); + return; + } + const F = O.deltaMode === 1 ? 20 : 1; + let z = s === yn.Vertical ? 0 : O.deltaX * F, + $ = s === yn.Horizontal ? 0 : O.deltaY * F; + !Yr() && + O.shiftKey && + s !== yn.Vertical && + ((z = O.deltaY * F), ($ = 0)), + I.translateBy( + W, + -(z / M) * l, + -($ / M) * l, + // @ts-ignore + { internal: !0 }, + ); + const V = vr(W.property("__zoom")), + { + onViewportChangeStart: q, + onViewportChange: K, + onViewportChangeEnd: X, + } = A.getState(); + clearTimeout(j.current), + D.current || + ((D.current = !0), + t == null || t(O, V), + q == null || q(V)), + D.current && + (e == null || e(O, V), + K == null || K(V), + (j.current = setTimeout(() => { + n == null || n(O, V), + X == null || X(V), + (D.current = !1); + }, 150))); + }, + { passive: !1 }, + ) + : typeof B < "u" && + W.on( + "wheel.zoom", + function (O, M) { + if ((!p && O.type === "wheel" && !O.ctrlKey) || Hn(O, y)) + return null; + O.preventDefault(), B.call(this, O, M); + }, + { passive: !1 }, + )); + }, [w, i, s, W, I, B, N, a, p, y, t, e, n]), + re(() => { + I && + I.on("start", (O) => { + var z, $; + if (!O.sourceEvent || O.sourceEvent.internal) return null; + S.current = (z = O.sourceEvent) == null ? void 0 : z.button; + const { onViewportChangeStart: M } = A.getState(), + F = vr(O.transform); + (T.current = !0), + (L.current = F), + (($ = O.sourceEvent) == null ? void 0 : $.type) === "mousedown" && + A.setState({ paneDragging: !0 }), + M == null || M(F), + t == null || t(O.sourceEvent, F); + }); + }, [I, t]), + re(() => { + I && + (w && !T.current + ? I.on("zoom", null) + : w || + I.on("zoom", (O) => { + var F; + const { onViewportChange: M } = A.getState(); + if ( + (A.setState({ + transform: [O.transform.x, O.transform.y, O.transform.k], + }), + (k.current = !!(o && tc(d, S.current ?? 0))), + (e || M) && !((F = O.sourceEvent) != null && F.internal)) + ) { + const z = vr(O.transform); + M == null || M(z), e == null || e(O.sourceEvent, z); + } + })); + }, [w, I, e, d, o]), + re(() => { + I && + I.on("end", (O) => { + if (!O.sourceEvent || O.sourceEvent.internal) return null; + const { onViewportChangeEnd: M } = A.getState(); + if ( + ((T.current = !1), + A.setState({ paneDragging: !1 }), + o && tc(d, S.current ?? 0) && !k.current && o(O.sourceEvent), + (k.current = !1), + (n || M) && ph(L.current, O.transform)) + ) { + const F = vr(O.transform); + (L.current = F), + clearTimeout(x.current), + (x.current = setTimeout( + () => { + M == null || M(F), n == null || n(O.sourceEvent, F); + }, + i ? 150 : 0, + )); + } + }); + }, [I, i, d, n, o]), + re(() => { + I && + I.filter((O) => { + const M = N || r, + F = a && O.ctrlKey; + if ( + (d === !0 || (Array.isArray(d) && d.includes(1))) && + O.button === 1 && + O.type === "mousedown" && + (Hn(O, "react-flow__node") || Hn(O, "react-flow__edge")) + ) + return !0; + if ( + (!d && !M && !i && !u && !a) || + w || + (!u && O.type === "dblclick") || + (Hn(O, y) && O.type === "wheel") || + (Hn(O, E) && + (O.type !== "wheel" || (i && O.type === "wheel" && !N))) || + (!a && O.ctrlKey && O.type === "wheel") || + (!M && !i && !F && O.type === "wheel") || + (!d && (O.type === "mousedown" || O.type === "touchstart")) || + (Array.isArray(d) && + !d.includes(O.button) && + O.type === "mousedown") + ) + return !1; + const z = + (Array.isArray(d) && d.includes(O.button)) || + !O.button || + O.button <= 1; + return (!O.ctrlKey || O.type === "wheel") && z; + }); + }, [w, I, r, a, i, u, d, c, N]), + P.createElement( + "div", + { className: "react-flow__renderer", ref: R, style: kl }, + v, + ) + ); + }, + Ch = (e) => ({ + userSelectionActive: e.userSelectionActive, + userSelectionRect: e.userSelectionRect, + }); +function yh() { + const { userSelectionActive: e, userSelectionRect: t } = Me(Ch, Pe); + return e && t + ? P.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 oc(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, + a = t.position.y + t.height - o.height; + if (r > 0 || a > 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), + a > 0 && (o.style.height += a), + t.position.x < 0) + ) { + const i = Math.abs(t.position.x); + (o.position.x = o.position.x - i), + (o.style.width += i), + (t.position.x = 0); + } + if (t.position.y < 0) { + const i = Math.abs(t.position.y); + (o.position.y = o.position.y - i), + (o.style.height += i), + (t.position.y = 0); } + (o.width = o.style.width), (o.height = o.style.height); } } - return p.wheelDelta = function(w) { - return arguments.length ? (o = typeof w == "function" ? w : mr(+w), p) : o; - }, p.filter = function(w) { - return arguments.length ? (e = typeof w == "function" ? w : mr(!!w), p) : e; - }, p.touchable = function(w) { - return arguments.length ? (r = typeof w == "function" ? w : mr(!!w), p) : r; - }, p.extent = function(w) { - return arguments.length ? (t = typeof w == "function" ? w : mr([[+w[0][0], +w[0][1]], [+w[1][0], +w[1][1]]]), p) : t; - }, p.scaleExtent = function(w) { - return arguments.length ? (a[0] = +w[0], a[1] = +w[1], p) : [a[0], a[1]]; - }, p.translateExtent = function(w) { - return arguments.length ? (i[0][0] = +w[0][0], i[1][0] = +w[1][0], i[0][1] = +w[0][1], i[1][1] = +w[1][1], p) : [[i[0][0], i[0][1]], [i[1][0], i[1][1]]]; - }, p.constrain = function(w) { - return arguments.length ? (n = w, p) : n; - }, p.duration = function(w) { - return arguments.length ? (l = +w, p) : l; - }, p.interpolate = function(w) { - return arguments.length ? (s = w, p) : s; - }, p.on = function() { - var w = u.on.apply(u, arguments); - return w === u ? p : w; - }, p.clickDistance = function(w) { - return arguments.length ? (b = (w = +w) * w, p) : Math.sqrt(b); - }, p.tapDistance = function(w) { - return arguments.length ? (C = +w, p) : C; - }, p; -} -const ba = ut(null), _g = ba.Provider, vt = { - 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.` -}, tu = vt.error001(); -function Me(e, t) { - const n = Re(ba); - if (n === null) - throw new Error(tu); - return A0(n, e, t); } -const Ie = () => { - const e = Re(ba); - if (e === null) - throw new Error(tu); - return _e(() => ({ - getState: e.getState, - setState: e.setState, - subscribe: e.subscribe, - destroy: e.destroy - }), [e]); -}, Sg = (e) => e.userSelectionActive ? "none" : "all"; -function nu({ position: e, children: t, className: n, style: o, ...r }) { - const a = Me(Sg), i = `${e}`.split("-"); - return P.createElement("div", { className: Ke(["react-flow__panel", n, ...i]), style: { ...o, pointerEvents: a }, ...r }, t); -} -function kg({ proOptions: e, position: t = "bottom-right" }) { - return e != null && e.hideAttribution ? null : P.createElement( - nu, - { 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" }, - P.createElement("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution" }, "React Flow") - ); +function vh(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 a = e.filter((l) => l.id === r.id); + if (a.length === 0) return o.push(r), o; + const i = { ...r }; + for (const l of a) + if (l) + switch (l.type) { + case "select": { + i.selected = l.selected; + break; + } + case "position": { + typeof l.position < "u" && (i.position = l.position), + typeof l.positionAbsolute < "u" && + (i.positionAbsolute = l.positionAbsolute), + typeof l.dragging < "u" && (i.dragging = l.dragging), + i.expandParent && oc(o, i); + break; + } + case "dimensions": { + typeof l.dimensions < "u" && + ((i.width = l.dimensions.width), + (i.height = l.dimensions.height)), + typeof l.updateStyle < "u" && + (i.style = { ...(i.style || {}), ...l.dimensions }), + typeof l.resizing == "boolean" && (i.resizing = l.resizing), + i.expandParent && oc(o, i); + break; + } + case "remove": + return o; + } + return o.push(i), o; + }, n); } -const Ag = ({ x: e, y: t, label: n, labelStyle: o = {}, labelShowBg: r = !0, labelBgStyle: a = {}, labelBgPadding: i = [2, 4], labelBgBorderRadius: l = 2, children: s, className: u, ...c }) => { - const d = le(null), [h, g] = ae({ x: 0, y: 0, width: 0, height: 0 }), m = Ke(["react-flow__edge-textwrapper", u]); - return re(() => { - if (d.current) { - const b = d.current.getBBox(); - g({ - x: b.x, - y: b.y, - width: b.width, - height: b.height - }); - } - }, [n]), typeof n > "u" || !n ? null : P.createElement( - "g", - { transform: `translate(${e - h.width / 2} ${t - h.height / 2})`, className: m, visibility: h.width ? "visible" : "hidden", ...c }, - r && P.createElement("rect", { width: h.width + 2 * i[0], x: -i[0], y: -i[1], height: h.height + 2 * i[1], className: "react-flow__edge-textbg", style: a, rx: l, ry: l }), - P.createElement("text", { className: "react-flow__edge-text", y: h.height / 2, dy: "0.3em", ref: d, style: o }, n), - s - ); -}; -var Mg = De(Ag); -const ml = (e) => ({ - width: e.offsetWidth, - height: e.offsetHeight -}), eo = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), bl = (e = { x: 0, y: 0 }, t) => ({ - x: eo(e.x, t[0][0], t[1][0]), - y: eo(e.y, t[0][1], t[1][1]) -}), $2 = (e, t, n) => e < t ? eo(Math.abs(e - t), 1, 50) / 50 : e > n ? -eo(Math.abs(e - n), 1, 50) / 50 : 0, ou = (e, t) => { - const n = $2(e.x, 35, t.width - 35) * 20, o = $2(e.y, 35, t.height - 35) * 20; - return [n, o]; -}, ru = (e) => { - var t; - return ((t = e.getRootNode) == null ? void 0 : t.call(e)) || (window == null ? void 0 : window.document); -}, Tg = (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) -}), Cl = ({ x: e, y: t, width: n, height: o }) => ({ - x: e, - y: t, - x2: e + n, - y2: t + o -}), Ng = ({ x: e, y: t, x2: n, y2: o }) => ({ - x: e, - y: t, - width: n - e, - height: o - t -}), Z2 = (e) => ({ - ...e.positionAbsolute || { x: 0, y: 0 }, - width: e.width || 0, - height: e.height || 0 -}), _1 = (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); -}, Dg = (e) => st(e.width) && st(e.height) && st(e.x) && st(e.y), st = (e) => !isNaN(e) && isFinite(e), Ne = Symbol.for("internals"), au = ["Enter", " ", "Escape"], iu = (e, t) => { - process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`); -}, Og = (e) => "nativeEvent" in e; -function S1(e) { - var r, a; - const t = Og(e) ? e.nativeEvent : e, n = ((a = (r = t.composedPath) == null ? void 0 : r.call(t)) == null ? void 0 : a[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 xh(e, t) { + return vh(e, t); } -const lu = (e) => "clientX" in e, ln = (e, t) => { - var a, i; - const n = lu(e), o = n ? e.clientX : (a = e.touches) == null ? void 0 : a[0].clientX, r = n ? e.clientY : (i = e.touches) == null ? void 0 : i[0].clientY; - return { - x: o - ((t == null ? void 0 : t.left) ?? 0), - y: r - ((t == null ? void 0 : t.top) ?? 0) - }; -}, Yr = () => { - var e; - return typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.indexOf("Mac")) >= 0; -}, io = ({ id: e, path: t, labelX: n, labelY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: h, interactionWidth: g = 20 }) => P.createElement( - P.Fragment, - null, - P.createElement("path", { id: e, style: c, d: t, fill: "none", className: "react-flow__edge-path", markerEnd: d, markerStart: h }), - g && P.createElement("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: g, className: "react-flow__edge-interaction" }), - r && st(n) && st(o) ? P.createElement(Mg, { x: n, y: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u }) : null -); -io.displayName = "BaseEdge"; -function ho(e, t, n) { - return n === void 0 ? n : (o) => { - const r = t().edges.find((a) => a.id === e); - r && n(o, { ...r }); - }; +const on = (e, t) => ({ + id: e, + type: "select", + selected: t, +}); +function In(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 su({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { - const r = Math.abs(n - e) / 2, a = n < e ? n + r : n - r, i = Math.abs(o - t) / 2, l = o < t ? o + i : o - i; - return [a, l, r, i]; +const Yi = (e, t) => (n) => { + n.target === t.current && (e == null || e(n)); + }, + wh = (e) => ({ + userSelectionActive: e.userSelectionActive, + elementsSelectable: e.elementsSelectable, + dragging: e.paneDragging, + }), + Du = De( + ({ + isSelecting: e, + selectionMode: t = Fo.Full, + panOnDrag: n, + onSelectionStart: o, + onSelectionEnd: r, + onPaneClick: a, + onPaneContextMenu: i, + onPaneScroll: l, + onPaneMouseEnter: s, + onPaneMouseMove: u, + onPaneMouseLeave: c, + children: d, + }) => { + const h = le(null), + g = Ie(), + m = le(0), + b = le(0), + C = le(), + { + userSelectionActive: p, + elementsSelectable: v, + dragging: y, + } = Me(wh, Pe), + E = () => { + g.setState({ userSelectionActive: !1, userSelectionRect: null }), + (m.current = 0), + (b.current = 0); + }, + x = (B) => { + a == null || a(B), + g.getState().resetSelectedElements(), + g.setState({ nodesSelectionActive: !1 }); + }, + A = (B) => { + if (Array.isArray(n) && n != null && n.includes(2)) { + B.preventDefault(); + return; + } + i == null || i(B); + }, + T = l ? (B) => l(B) : void 0, + k = (B) => { + const { resetSelectedElements: w, domNode: N } = g.getState(); + if ( + ((C.current = N == null ? void 0 : N.getBoundingClientRect()), + !v || !e || B.button !== 0 || B.target !== h.current || !C.current) + ) + return; + const { x: S, y: D } = ln(B, C.current); + w(), + g.setState({ + userSelectionRect: { + width: 0, + height: 0, + startX: S, + startY: D, + x: S, + y: D, + }, + }), + o == null || o(B); + }, + R = (B) => { + const { + userSelectionRect: w, + nodeInternals: N, + edges: S, + transform: D, + onNodesChange: j, + onEdgesChange: O, + nodeOrigin: M, + getNodes: F, + } = g.getState(); + if (!e || !C.current || !w) return; + g.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); + const z = ln(B, C.current), + $ = w.startX ?? 0, + V = w.startY ?? 0, + q = { + ...w, + x: z.x < $ ? z.x : $, + y: z.y < V ? z.y : V, + width: Math.abs(z.x - $), + height: Math.abs(z.y - V), + }, + K = F(), + X = gu(N, q, D, t === Fo.Partial, !0, M), + J = hu(X, S).map((Z) => Z.id), + te = X.map((Z) => Z.id); + if (m.current !== te.length) { + m.current = te.length; + const Z = In(K, te); + Z.length && (j == null || j(Z)); + } + if (b.current !== J.length) { + b.current = J.length; + const Z = In(S, J); + Z.length && (O == null || O(Z)); + } + g.setState({ + userSelectionRect: q, + }); + }, + L = (B) => { + if (B.button !== 0) return; + const { userSelectionRect: w } = g.getState(); + !p && w && B.target === h.current && (x == null || x(B)), + g.setState({ nodesSelectionActive: m.current > 0 }), + E(), + r == null || r(B); + }, + I = (B) => { + p && + (g.setState({ nodesSelectionActive: m.current > 0 }), + r == null || r(B)), + E(); + }, + W = v && (e || p); + return P.createElement( + "div", + { + className: Ke(["react-flow__pane", { dragging: y, selection: e }]), + onClick: W ? void 0 : Yi(x, h), + onContextMenu: Yi(A, h), + onWheel: Yi(T, h), + onMouseEnter: W ? void 0 : s, + onMouseDown: W ? k : void 0, + onMouseMove: W ? R : u, + onMouseUp: W ? L : void 0, + onMouseLeave: W ? I : c, + ref: h, + style: kl, + }, + d, + P.createElement(yh, null), + ); + }, + ); +Du.displayName = "Pane"; +function Ou(e, t) { + const n = e.parentNode || e.parentId; + if (!n) return !1; + const o = t.get(n); + return o ? (o.selected ? !0 : Ou(o, t)) : !1; } -function cu({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourceControlX: r, sourceControlY: a, targetControlX: i, targetControlY: l }) { - const s = e * 0.125 + r * 0.375 + i * 0.375 + n * 0.125, u = t * 0.125 + a * 0.375 + l * 0.375 + o * 0.125, c = Math.abs(s - e), d = Math.abs(u - t); - return [s, u, c, d]; +function rc(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; } -var Mn; -(function(e) { - e.Strict = "strict", e.Loose = "loose"; -})(Mn || (Mn = {})); -var yn; -(function(e) { - e.Free = "free", e.Vertical = "vertical", e.Horizontal = "horizontal"; -})(yn || (yn = {})); -var Fo; -(function(e) { - e.Partial = "partial", e.Full = "full"; -})(Fo || (Fo = {})); -var rn; -(function(e) { - e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier"; -})(rn || (rn = {})); -var Gr; -(function(e) { - e.Arrow = "arrow", e.ArrowClosed = "arrowclosed"; -})(Gr || (Gr = {})); -var ne; -(function(e) { - e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom"; -})(ne || (ne = {})); -function U2({ pos: e, x1: t, y1: n, x2: o, y2: r }) { - return e === ne.Left || e === ne.Right ? [0.5 * (t + o), n] : [t, 0.5 * (n + r)]; +function Eh(e, t, n, o) { + return Array.from(e.values()) + .filter( + (r) => + (r.selected || r.id === o) && + (!r.parentNode || r.parentId || !Ou(r, e)) && + (r.draggable || (t && typeof r.draggable > "u")), + ) + .map((r) => { + var a, i; + return { + id: r.id, + position: r.position || { x: 0, y: 0 }, + positionAbsolute: r.positionAbsolute || { x: 0, y: 0 }, + distance: { + x: n.x - (((a = r.positionAbsolute) == null ? void 0 : a.x) ?? 0), + y: n.y - (((i = r.positionAbsolute) == null ? void 0 : i.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 uu({ sourceX: e, sourceY: t, sourcePosition: n = ne.Bottom, targetX: o, targetY: r, targetPosition: a = ne.Top }) { - const [i, l] = U2({ - pos: n, - x1: e, - y1: t, - x2: o, - y2: r - }), [s, u] = U2({ - pos: a, - x1: o, - y1: r, - x2: e, - y2: t - }), [c, d, h, g] = cu({ - sourceX: e, - sourceY: t, - targetX: o, - targetY: r, - sourceControlX: i, - sourceControlY: l, - targetControlX: s, - targetControlY: u - }); - return [ - `M${e},${t} C${i},${l} ${s},${u} ${o},${r}`, - c, - d, - h, - g - ]; +function _h(e, t) { + return !t || t === "parent" + ? t + : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; } -const yl = De(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ne.Bottom, targetPosition: a = ne.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: g, markerStart: m, interactionWidth: b }) => { - const [C, p, v] = uu({ - sourceX: e, - sourceY: t, - sourcePosition: r, - targetX: n, - targetY: o, - targetPosition: a - }); - return P.createElement(io, { path: C, labelX: p, labelY: v, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: g, markerStart: m, interactionWidth: b }); -}); -yl.displayName = "SimpleBezierEdge"; -const q2 = { - [ne.Left]: { x: -1, y: 0 }, - [ne.Right]: { x: 1, y: 0 }, - [ne.Top]: { x: 0, y: -1 }, - [ne.Bottom]: { x: 0, y: 1 } -}, Lg = ({ source: e, sourcePosition: t = ne.Bottom, target: n }) => t === ne.Left || t === ne.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 }, Y2 = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); -function jg({ source: e, sourcePosition: t = ne.Bottom, target: n, targetPosition: o = ne.Top, center: r, offset: a }) { - const i = q2[t], l = q2[o], s = { x: e.x + i.x * a, y: e.y + i.y * a }, u = { x: n.x + l.x * a, y: n.y + l.y * a }, c = Lg({ - source: s, - sourcePosition: t, - target: u - }), d = c.x !== 0 ? "x" : "y", h = c[d]; - let g = [], m, b; - const C = { x: 0, y: 0 }, p = { x: 0, y: 0 }, [v, y, E, x] = su({ - sourceX: e.x, - sourceY: e.y, - targetX: n.x, - targetY: n.y - }); - if (i[d] * l[d] === -1) { - m = r.x ?? v, b = r.y ?? y; - const T = [ - { x: m, y: s.y }, - { x: m, y: u.y } - ], k = [ - { x: s.x, y: b }, - { x: u.x, y: b } - ]; - i[d] === h ? g = d === "x" ? T : k : g = d === "x" ? k : T; - } else { - const T = [{ x: s.x, y: u.y }], k = [{ x: u.x, y: s.y }]; - if (d === "x" ? g = i.x === h ? k : T : g = i.y === h ? T : k, t === o) { - const B = Math.abs(e[d] - n[d]); - if (B <= a) { - const w = Math.min(a - 1, a - B); - i[d] === h ? C[d] = (s[d] > e[d] ? -1 : 1) * w : p[d] = (u[d] > n[d] ? -1 : 1) * w; - } - } - if (t !== o) { - const B = d === "x" ? "y" : "x", w = i[d] === l[B], N = s[B] > u[B], S = s[B] < u[B]; - (i[d] === 1 && (!w && N || w && S) || i[d] !== 1 && (!w && S || w && N)) && (g = d === "x" ? T : k); - } - const R = { x: s.x + C.x, y: s.y + C.y }, L = { x: u.x + p.x, y: u.y + p.y }, I = Math.max(Math.abs(R.x - g[0].x), Math.abs(L.x - g[0].x)), W = Math.max(Math.abs(R.y - g[0].y), Math.abs(L.y - g[0].y)); - I >= W ? (m = (R.x + L.x) / 2, b = g[0].y) : (m = g[0].x, b = (R.y + L.y) / 2); +function Lu(e, t, n, o, r = [0, 0], a) { + const i = _h(e, e.extent || o); + let l = i; + 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: g } = $n(d, r).positionAbsolute; + l = + d && st(h) && st(g) && st(d.width) && st(d.height) + ? [ + [h + e.width * r[0], g + e.height * r[1]], + [ + h + d.width - e.width + e.width * r[0], + g + d.height - e.height + e.height * r[1], + ], + ] + : l; + } else a == null || a("005", vt.error005()), (l = i); + else if (e.extent && s && e.extent !== "parent") { + const d = n.get(s), + { x: h, y: g } = $n(d, r).positionAbsolute; + l = [ + [e.extent[0][0] + h, e.extent[0][1] + g], + [e.extent[1][0] + h, e.extent[1][1] + g], + ]; } - return [[ - e, - { x: s.x + C.x, y: s.y + C.y }, - ...g, - { x: u.x + p.x, y: u.y + p.y }, - n - ], m, b, E, x]; -} -function Rg(e, t, n, o) { - const r = Math.min(Y2(e, t) / 2, Y2(t, n) / 2, o), { x: a, y: i } = t; - if (e.x === a && a === n.x || e.y === i && i === n.y) - return `L${a} ${i}`; - if (e.y === i) { - const u = e.x < n.x ? -1 : 1, c = e.y < n.y ? 1 : -1; - return `L ${a + r * u},${i}Q ${a},${i} ${a},${i + r * c}`; + let u = { x: 0, y: 0 }; + if (s) { + const d = n.get(s); + u = $n(d, r).positionAbsolute; } - const l = e.x < n.x ? 1 : -1, s = e.y < n.y ? -1 : 1; - return `L ${a},${i + r * s}Q ${a},${i} ${a + r * l},${i}`; + const c = l && l !== "parent" ? bl(t, l) : t; + return { + position: { + x: c.x - u.x, + y: c.y - u.y, + }, + positionAbsolute: c, + }; } -function k1({ sourceX: e, sourceY: t, sourcePosition: n = ne.Bottom, targetX: o, targetY: r, targetPosition: a = ne.Top, borderRadius: i = 5, centerX: l, centerY: s, offset: u = 20 }) { - const [c, d, h, g, m] = jg({ - source: { x: e, y: t }, - sourcePosition: n, - target: { x: o, y: r }, - targetPosition: a, - center: { x: l, y: s }, - offset: u - }); - return [c.reduce((C, p, v) => { - let y = ""; - return v > 0 && v < c.length - 1 ? y = Rg(c[v - 1], p, c[v + 1], i) : y = `${v === 0 ? "M" : "L"}${p.x} ${p.y}`, C += y, C; - }, ""), d, h, g, m]; +function Gi({ 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 Ca = De(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, sourcePosition: d = ne.Bottom, targetPosition: h = ne.Top, markerEnd: g, markerStart: m, pathOptions: b, interactionWidth: C }) => { - const [p, v, y] = k1({ - 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 P.createElement(io, { path: p, labelX: v, labelY: y, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: g, markerStart: m, interactionWidth: C }); -}); -Ca.displayName = "SmoothStepEdge"; -const vl = De((e) => { - var t; - return P.createElement(Ca, { ...e, pathOptions: _e(() => { - var n; - return { borderRadius: 0, offset: (n = e.pathOptions) == null ? void 0 : n.offset }; - }, [(t = e.pathOptions) == null ? void 0 : t.offset]) }); -}); -vl.displayName = "StepEdge"; -function Hg({ sourceX: e, sourceY: t, targetX: n, targetY: o }) { - const [r, a, i, l] = su({ - sourceX: e, - sourceY: t, - targetX: n, - targetY: o +const ac = (e, t, n, o) => { + const r = t.querySelectorAll(e); + if (!r || !r.length) return null; + const a = Array.from(r), + i = t.getBoundingClientRect(), + l = { + x: i.width * o[0], + y: i.height * o[1], + }; + return a.map((s) => { + const u = s.getBoundingClientRect(); + return { + id: s.getAttribute("data-handleid"), + position: s.getAttribute("data-handlepos"), + x: (u.left - i.left - l.x) / n, + y: (u.top - i.top - l.y) / n, + ...ml(s), + }; }); - return [`M ${e},${t}L ${n},${o}`, r, a, i, l]; -} -const xl = De(({ sourceX: e, sourceY: t, targetX: n, targetY: o, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: h, interactionWidth: g }) => { - const [m, b, C] = Hg({ sourceX: e, sourceY: t, targetX: n, targetY: o }); - return P.createElement(io, { path: m, labelX: b, labelY: C, label: r, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: s, labelBgBorderRadius: u, style: c, markerEnd: d, markerStart: h, interactionWidth: g }); -}); -xl.displayName = "StraightEdge"; -function br(e, t) { - return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e); +}; +function po(e, t, n) { + return n === void 0 + ? n + : (o) => { + const r = t().nodeInternals.get(e); + r && n(o, { ...r }); + }; } -function G2({ pos: e, x1: t, y1: n, x2: o, y2: r, c: a }) { - switch (e) { - case ne.Left: - return [t - br(t - o, a), n]; - case ne.Right: - return [t + br(o - t, a), n]; - case ne.Top: - return [t, n - br(n - r, a)]; - case ne.Bottom: - return [t, n + br(r - n, a)]; +function N1({ id: e, store: t, unselect: n = !1, nodeRef: o }) { + const { + addSelectedNodes: r, + unselectNodesAndEdges: a, + multiSelectionActive: i, + nodeInternals: l, + onError: s, + } = t.getState(), + u = l.get(e); + if (!u) { + s == null || s("012", vt.error012(e)); + return; } + t.setState({ nodesSelectionActive: !1 }), + u.selected + ? (n || (u.selected && i)) && + (a({ nodes: [u], edges: [] }), + requestAnimationFrame(() => { + var c; + return (c = o == null ? void 0 : o.current) == null + ? void 0 + : c.blur(); + })) + : r([e]); } -function du({ sourceX: e, sourceY: t, sourcePosition: n = ne.Bottom, targetX: o, targetY: r, targetPosition: a = ne.Top, curvature: i = 0.25 }) { - const [l, s] = G2({ - pos: n, - x1: e, - y1: t, - x2: o, - y2: r, - c: i - }), [u, c] = G2({ - pos: a, - x1: o, - y1: r, - x2: e, - y2: t, - c: i - }), [d, h, g, m] = cu({ - 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, - g, - m - ]; -} -const Kr = De(({ sourceX: e, sourceY: t, targetX: n, targetY: o, sourcePosition: r = ne.Bottom, targetPosition: a = ne.Top, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: g, markerStart: m, pathOptions: b, interactionWidth: C }) => { - const [p, v, y] = du({ - sourceX: e, - sourceY: t, - sourcePosition: r, - targetX: n, - targetY: o, - targetPosition: a, - curvature: b == null ? void 0 : b.curvature - }); - return P.createElement(io, { path: p, labelX: v, labelY: y, label: i, labelStyle: l, labelShowBg: s, labelBgStyle: u, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: g, markerStart: m, interactionWidth: C }); -}); -Kr.displayName = "BezierEdge"; -const wl = ut(null), Fg = wl.Provider; -wl.Consumer; -const Ig = () => Re(wl), zg = (e) => "id" in e && "source" in e && "target" in e, Pg = (e) => "id" in e && !("source" in e) && !("target" in e), Bg = ({ source: e, sourceHandle: t, target: n, targetHandle: o }) => `reactflow__edge-${e}${t || ""}-${n}${o || ""}`, A1 = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((o) => `${o}=${e[o]}`).join("&")}`, Vg = (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)), Wg = (e, t) => { - if (!e.source || !e.target) - return iu("006", vt.error006()), t; - let n; - return zg(e) ? n = { ...e } : n = { - ...e, - id: Bg(e) - }, Vg(n, t) ? t : t.concat(n); -}, M1 = ({ x: e, y: t }, [n, o, r], a, [i, l]) => { - const s = { - x: (e - n) / r, - y: (t - o) / r - }; - return a ? { - x: i * Math.round(s.x / i), - y: l * Math.round(s.y / l) - } : s; -}, fu = ({ x: e, y: t }, [n, o, r]) => ({ - x: e * r + n, - y: t * r + o -}), $n = (e, t = [0, 0]) => { - if (!e) +function Sh() { + const e = Ie(); + return pe(({ sourceEvent: n }) => { + const { transform: o, snapGrid: r, snapToGrid: a } = e.getState(), + i = n.touches ? n.touches[0].clientX : n.clientX, + l = n.touches ? n.touches[0].clientY : n.clientY, + s = { + x: (i - o[0]) / o[2], + y: (l - o[1]) / o[2], + }; return { - x: 0, - y: 0, - positionAbsolute: { - x: 0, - y: 0 - } + xSnapped: a ? r[0] * Math.round(s.x / r[0]) : s.x, + ySnapped: a ? r[1] * Math.round(s.y / r[1]) : s.y, + ...s, }; - 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 - }; -}, El = (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: a, y: i } = $n(r, t).positionAbsolute; - return Tg(o, Cl({ - x: a, - y: i, - width: r.width || 0, - height: r.height || 0 - })); - }, { x: 1 / 0, y: 1 / 0, x2: -1 / 0, y2: -1 / 0 }); - return Ng(n); -}, gu = (e, t, [n, o, r] = [0, 0, 1], a = !1, i = !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: g = !0, hidden: m = !1 } = c; - if (i && !g || m) - return !1; - const { positionAbsolute: b } = $n(c, l), C = { - x: b.x, - y: b.y, - width: d || 0, - height: h || 0 - }, p = _1(s, C), v = typeof d > "u" || typeof h > "u" || d === null || h === null, y = a && p > 0, E = (d || 0) * (h || 0); - (v || y || p >= E || c.dragging) && u.push(c); - }), u; -}, hu = (e, t) => { - const n = e.map((o) => o.id); - return t.filter((o) => n.includes(o.source) || n.includes(o.target)); -}, pu = (e, t, n, o, r, a = 0.1) => { - const i = t / (e.width * (1 + a)), l = n / (e.height * (1 + a)), s = Math.min(i, l), u = eo(s, o, r), c = e.x + e.width / 2, d = e.y + e.height / 2, h = t / 2 - c * u, g = n / 2 - d * u; - return { x: h, y: g, zoom: u }; -}, pn = (e, t = 0) => e.transition().duration(t); -function K2(e, t, n, o) { - return (t[n] || []).reduce((r, a) => { - var i, l; - return `${e.id}-${a.id}-${n}` !== o && r.push({ - id: a.id || null, - type: n, - nodeId: e.id, - x: (((i = e.positionAbsolute) == null ? void 0 : i.x) ?? 0) + a.x + a.width / 2, - y: (((l = e.positionAbsolute) == null ? void 0 : l.y) ?? 0) + a.y + a.height / 2 - }), r; }, []); } -function $g(e, t, n, o, r, a) { - const { x: i, y: l } = ln(e), u = t.elementsFromPoint(i, l).find((m) => m.classList.contains("react-flow__handle")); - if (u) { - const m = u.getAttribute("data-nodeid"); - if (m) { - const b = _l(void 0, u), C = u.getAttribute("data-handleid"), p = a({ nodeId: m, id: C, type: b }); - if (p) { - const v = r.find((y) => y.nodeId === m && y.type === b && y.id === C); - return { - handle: { - id: C, - type: b, - nodeId: m, - x: (v == null ? void 0 : v.x) || n.x, - y: (v == null ? void 0 : v.y) || n.y +function Ki(e) { + return (t, n, o) => (e == null ? void 0 : e(t, o)); +} +function ju({ + nodeRef: e, + disabled: t = !1, + noDragClassName: n, + handleSelector: o, + nodeId: r, + isSelectable: a, + selectNodesOnDrag: i, +}) { + const l = Ie(), + [s, u] = ae(!1), + c = le([]), + d = le({ x: null, y: null }), + h = le(0), + g = le(null), + m = le({ x: 0, y: 0 }), + b = le(null), + C = le(!1), + p = le(!1), + v = le(!1), + y = Sh(); + return ( + re(() => { + if (e != null && e.current) { + const E = bt(e.current), + x = ({ x: k, y: R }) => { + const { + nodeInternals: L, + onNodeDrag: I, + onSelectionDrag: W, + updateNodePositions: B, + nodeExtent: w, + snapGrid: N, + snapToGrid: S, + nodeOrigin: D, + onError: j, + } = l.getState(); + d.current = { x: k, y: R }; + let O = !1, + M = { x: 0, y: 0, x2: 0, y2: 0 }; + if (c.current.length > 1 && w) { + const z = El(c.current, D); + M = Cl(z); + } + if ( + ((c.current = c.current.map((z) => { + const $ = { x: k - z.distance.x, y: R - z.distance.y }; + S && + (($.x = N[0] * Math.round($.x / N[0])), + ($.y = N[1] * Math.round($.y / N[1]))); + const V = [ + [w[0][0], w[0][1]], + [w[1][0], w[1][1]], + ]; + c.current.length > 1 && + w && + !z.extent && + ((V[0][0] = z.positionAbsolute.x - M.x + w[0][0]), + (V[1][0] = + z.positionAbsolute.x + (z.width ?? 0) - M.x2 + w[1][0]), + (V[0][1] = z.positionAbsolute.y - M.y + w[0][1]), + (V[1][1] = + z.positionAbsolute.y + (z.height ?? 0) - M.y2 + w[1][1])); + const q = Lu(z, $, L, V, D, j); + return ( + (O = + O || + z.position.x !== q.position.x || + z.position.y !== q.position.y), + (z.position = q.position), + (z.positionAbsolute = q.positionAbsolute), + z + ); + })), + !O) + ) + return; + B(c.current, !0, !0), u(!0); + const F = r ? I : Ki(W); + if (F && b.current) { + const [z, $] = Gi({ + nodeId: r, + dragItems: c.current, + nodeInternals: L, + }); + F(b.current, z, $); + } }, - validHandleResult: p - }; + A = () => { + if (!g.current) return; + const [k, R] = ou(m.current, g.current); + if (k !== 0 || R !== 0) { + const { transform: L, panBy: I } = l.getState(); + (d.current.x = (d.current.x ?? 0) - k / L[2]), + (d.current.y = (d.current.y ?? 0) - R / L[2]), + I({ x: k, y: R }) && x(d.current); + } + h.current = requestAnimationFrame(A); + }, + T = (k) => { + var D; + const { + nodeInternals: R, + multiSelectionActive: L, + nodesDraggable: I, + unselectNodesAndEdges: W, + onNodeDragStart: B, + onSelectionDragStart: w, + } = l.getState(); + p.current = !0; + const N = r ? B : Ki(w); + (!i || !a) && + !L && + r && + (((D = R.get(r)) != null && D.selected) || W()), + r && + a && + i && + N1({ + id: r, + store: l, + nodeRef: e, + }); + const S = y(k); + if ( + ((d.current = S), (c.current = Eh(R, I, S, r)), N && c.current) + ) { + const [j, O] = Gi({ + nodeId: r, + dragItems: c.current, + nodeInternals: R, + }); + N(k.sourceEvent, j, O); + } + }; + if (t) E.on(".drag", null); + else { + const k = O9() + .on("start", (R) => { + const { domNode: L, nodeDragThreshold: I } = l.getState(); + I === 0 && T(R), (v.current = !1); + const W = y(R); + (d.current = W), + (g.current = + (L == null ? void 0 : L.getBoundingClientRect()) || null), + (m.current = ln(R.sourceEvent, g.current)); + }) + .on("drag", (R) => { + var B, w; + const L = y(R), + { autoPanOnNodeDrag: I, nodeDragThreshold: W } = l.getState(); + if ( + (R.sourceEvent.type === "touchmove" && + R.sourceEvent.touches.length > 1 && + (v.current = !0), + !v.current) + ) { + if ( + (!C.current && p.current && I && ((C.current = !0), A()), + !p.current) + ) { + const N = + L.xSnapped - + (((B = d == null ? void 0 : d.current) == null + ? void 0 + : B.x) ?? 0), + S = + L.ySnapped - + (((w = d == null ? void 0 : d.current) == null + ? void 0 + : w.y) ?? 0); + Math.sqrt(N * N + S * S) > W && T(R); + } + (d.current.x !== L.xSnapped || d.current.y !== L.ySnapped) && + c.current && + p.current && + ((b.current = R.sourceEvent), + (m.current = ln(R.sourceEvent, g.current)), + x(L)); + } + }) + .on("end", (R) => { + if ( + !(!p.current || v.current) && + (u(!1), + (C.current = !1), + (p.current = !1), + cancelAnimationFrame(h.current), + c.current) + ) { + const { + updateNodePositions: L, + nodeInternals: I, + onNodeDragStop: W, + onSelectionDragStop: B, + } = l.getState(), + w = r ? W : Ki(B); + if ((L(c.current, !1, !1), w)) { + const [N, S] = Gi({ + nodeId: r, + dragItems: c.current, + nodeInternals: I, + }); + w(R.sourceEvent, N, S); + } + } + }) + .filter((R) => { + const L = R.target; + return ( + !R.button && (!n || !rc(L, `.${n}`, e)) && (!o || rc(L, o, e)) + ); + }); + return ( + E.call(k), + () => { + E.on(".drag", null); + } + ); + } } - } - } - 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 C = a(m); - b <= d && (b < d ? c = [{ handle: m, validHandleResult: C }] : b === d && c.push({ - handle: m, - validHandleResult: C - }), d = b); - } - }), !c.length) - return { handle: null, validHandleResult: mu() }; - if (c.length === 1) - return c[0]; - const h = c.some(({ validHandleResult: m }) => m.isValid), g = c.some(({ handle: m }) => m.type === "target"); - return c.find(({ handle: m, validHandleResult: b }) => g ? m.type === "target" : h ? b.isValid : !0) || c[0]; -} -const Zg = { source: null, target: null, sourceHandle: null, targetHandle: null }, mu = () => ({ - handleDomNode: null, - isValid: !1, - connection: Zg, - endHandle: null -}); -function bu(e, t, n, o, r, a, i) { - const l = r === "target", s = i.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 = { - ...mu(), - handleDomNode: s - }; - if (s) { - const c = _l(void 0, s), d = s.getAttribute("data-nodeid"), h = s.getAttribute("data-handleid"), g = 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, g && m && (t === Mn.Strict ? l && c === "source" || !l && c === "target" : d !== n || h !== o) && (u.endHandle = { - nodeId: d, - handleId: h, - type: c - }, u.isValid = a(b)); - } - return u; + }, [e, t, n, o, a, l, r, i, y]), + s + ); } -function Ug({ nodes: e, nodeId: t, handleId: n, handleType: o }) { - return e.reduce((r, a) => { - if (a[Ne]) { - const { handleBounds: i } = a[Ne]; - let l = [], s = []; - i && (l = K2(a, i, "source", `${t}-${n}-${o}`), s = K2(a, i, "target", `${t}-${n}-${o}`)), r.push(...l, ...s); - } - return r; +function Ru() { + const e = Ie(); + return pe((n) => { + const { + nodeInternals: o, + nodeExtent: r, + updateNodePositions: a, + getNodes: i, + snapToGrid: l, + snapGrid: s, + onError: u, + nodesDraggable: c, + } = e.getState(), + d = i().filter( + (v) => v.selected && (v.draggable || (c && typeof v.draggable > "u")), + ), + h = l ? s[0] : 5, + g = l ? s[1] : 5, + m = n.isShiftPressed ? 4 : 1, + b = n.x * h * m, + C = n.y * g * m, + p = d.map((v) => { + if (v.positionAbsolute) { + const y = { + x: v.positionAbsolute.x + b, + y: v.positionAbsolute.y + C, + }; + l && + ((y.x = s[0] * Math.round(y.x / s[0])), + (y.y = s[1] * Math.round(y.y / s[1]))); + const { positionAbsolute: E, position: x } = Lu( + v, + y, + o, + r, + void 0, + u, + ); + (v.position = x), (v.positionAbsolute = E); + } + return v; + }); + a(p, !0, !1); }, []); } -function _l(e, t) { - return e || (t != null && t.classList.contains("target") ? "target" : t != null && t.classList.contains("source") ? "source" : null); -} -function Ui(e) { - e == null || e.classList.remove("valid", "connecting", "react-flow__handle-valid", "react-flow__handle-connecting"); -} -function qg(e, t) { - let n = null; - return t ? n = "valid" : e && !t && (n = "invalid"), n; -} -function Cu({ event: e, handleId: t, nodeId: n, onConnect: o, isTarget: r, getState: a, setState: i, isValidConnection: l, edgeUpdaterType: s, onReconnectEnd: u }) { - const c = ru(e.target), { connectionMode: d, domNode: h, autoPanOnConnect: g, connectionRadius: m, onConnectStart: b, panBy: C, getNodes: p, cancelConnection: v } = a(); - let y = 0, E; - const { x, y: A } = ln(e), T = c == null ? void 0 : c.elementFromPoint(x, A), k = _l(s, T), R = h == null ? void 0 : h.getBoundingClientRect(); - if (!R || !k) - return; - let L, I = ln(e, R), W = !1, B = null, w = !1, N = null; - const S = Ug({ - nodes: p(), - nodeId: n, - handleId: t, - handleType: k - }), D = () => { - if (!g) - return; - const [M, F] = ou(I, R); - C({ x: M, y: F }), y = requestAnimationFrame(D); - }; - i({ - connectionPosition: I, - connectionStatus: null, - // connectionNodeId etc will be removed in the next major in favor of connectionStartHandle - connectionNodeId: n, - connectionHandleId: t, - connectionHandleType: k, - connectionStartHandle: { +const Zn = { + ArrowUp: { x: 0, y: -1 }, + ArrowDown: { x: 0, y: 1 }, + ArrowLeft: { x: -1, y: 0 }, + ArrowRight: { x: 1, y: 0 }, +}; +var mo = (e) => { + const t = ({ + id: n, + type: o, + data: r, + xPos: a, + yPos: i, + xPosOrigin: l, + yPosOrigin: s, + selected: u, + onClick: c, + onMouseEnter: d, + onMouseMove: h, + onMouseLeave: g, + onContextMenu: m, + onDoubleClick: b, + style: C, + className: p, + isDraggable: v, + isSelectable: y, + isConnectable: E, + isFocusable: x, + selectNodesOnDrag: A, + sourcePosition: T, + targetPosition: k, + hidden: R, + resizeObserver: L, + dragHandle: I, + zIndex: W, + isParent: B, + noDragClassName: w, + noPanClassName: N, + initialized: S, + disableKeyboardA11y: D, + ariaLabel: j, + rfId: O, + hasHandleBounds: M, + }) => { + const F = Ie(), + z = le(null), + $ = le(null), + V = le(T), + q = le(k), + K = le(o), + X = y || v || c || d || h || g, + J = Ru(), + te = po(n, F.getState, d), + Z = po(n, F.getState, h), + se = po(n, F.getState, g), + G = po(n, F.getState, m), + ye = po(n, F.getState, b), + je = (xe) => { + const { nodeDragThreshold: oe } = F.getState(); + if ( + (y && + (!A || !v || oe > 0) && + N1({ + id: n, + store: F, + nodeRef: z, + }), + c) + ) { + const He = F.getState().nodeInternals.get(n); + He && c(xe, { ...He }); + } + }, + Ee = (xe) => { + if (!S1(xe) && !D) + if (au.includes(xe.key) && y) { + const oe = xe.key === "Escape"; + N1({ + id: n, + store: F, + unselect: oe, + nodeRef: z, + }); + } else + v && + u && + Object.prototype.hasOwnProperty.call(Zn, xe.key) && + (F.setState({ + ariaLiveMessage: `Moved selected node ${xe.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~a}, y: ${~~i}`, + }), + J({ + x: Zn[xe.key].x, + y: Zn[xe.key].y, + isShiftPressed: xe.shiftKey, + })); + }; + re( + () => () => { + $.current && (L == null || L.unobserve($.current), ($.current = null)); + }, + [], + ), + re(() => { + if (z.current && !R) { + const xe = z.current; + (!S || !M || $.current !== xe) && + ($.current && (L == null || L.unobserve($.current)), + L == null || L.observe(xe), + ($.current = xe)); + } + }, [R, S, M]), + re(() => { + const xe = K.current !== o, + oe = V.current !== T, + He = q.current !== k; + z.current && + (xe || oe || He) && + (xe && (K.current = o), + oe && (V.current = T), + He && (q.current = k), + F.getState().updateNodeDimensions([ + { id: n, nodeElement: z.current, forceUpdate: !0 }, + ])); + }, [n, o, T, k]); + const Be = ju({ + nodeRef: z, + disabled: R || !v, + noDragClassName: w, + handleSelector: I, nodeId: n, - handleId: t, - type: k - }, - connectionEndHandle: null - }), b == null || b(e, { nodeId: n, handleId: t, handleType: k }); - function j(M) { - const { transform: F } = a(); - I = ln(M, R); - const { handle: z, validHandleResult: $ } = $g(M, c, M1(I, F, !1, [1, 1]), m, S, (V) => bu(V, d, n, t, r ? "target" : "source", l, c)); - if (E = z, W || (D(), W = !0), N = $.handleDomNode, B = $.connection, w = $.isValid, i({ - connectionPosition: E && w ? fu({ - x: E.x, - y: E.y - }, F) : I, - connectionStatus: qg(!!E, w), - connectionEndHandle: $.endHandle - }), !E && !w && !N) - return Ui(L); - B.source !== B.target && N && (Ui(L), L = N, N.classList.add("connecting", "react-flow__handle-connecting"), N.classList.toggle("valid", w), N.classList.toggle("react-flow__handle-valid", w)); - } - function O(M) { - var F, z; - (E || N) && B && w && (o == null || o(B)), (z = (F = a()).onConnectEnd) == null || z.call(F, M), s && (u == null || u(M)), Ui(L), v(), cancelAnimationFrame(y), W = !1, w = !1, B = null, N = null, c.removeEventListener("mousemove", j), c.removeEventListener("mouseup", O), c.removeEventListener("touchmove", j), c.removeEventListener("touchend", O); - } - c.addEventListener("mousemove", j), c.addEventListener("mouseup", O), c.addEventListener("touchmove", j), c.addEventListener("touchend", O); -} -const X2 = () => !0, Yg = (e) => ({ - connectionStartHandle: e.connectionStartHandle, - connectOnClick: e.connectOnClick, - noPanClassName: e.noPanClassName -}), Gg = (e, t, n) => (o) => { - const { connectionStartHandle: r, connectionEndHandle: a, connectionClickStartHandle: i } = o; - return { - connecting: (r == null ? void 0 : r.nodeId) === e && (r == null ? void 0 : r.handleId) === t && (r == null ? void 0 : r.type) === n || (a == null ? void 0 : a.nodeId) === e && (a == null ? void 0 : a.handleId) === t && (a == null ? void 0 : a.type) === n, - clickConnecting: (i == null ? void 0 : i.nodeId) === e && (i == null ? void 0 : i.handleId) === t && (i == null ? void 0 : i.type) === n + isSelectable: y, + selectNodesOnDrag: A, + }); + return R + ? null + : P.createElement( + "div", + { + className: Ke([ + "react-flow__node", + `react-flow__node-${o}`, + { + // this is overwritable by passing `nopan` as a class name + [N]: v, + }, + p, + { + selected: u, + selectable: y, + parent: B, + dragging: Be, + }, + ]), + ref: z, + style: { + zIndex: W, + transform: `translate(${l}px,${s}px)`, + pointerEvents: X ? "all" : "none", + visibility: S ? "visible" : "hidden", + ...C, + }, + "data-id": n, + "data-testid": `rf__node-${n}`, + onMouseEnter: te, + onMouseMove: Z, + onMouseLeave: se, + onContextMenu: G, + onClick: je, + onDoubleClick: ye, + onKeyDown: x ? Ee : void 0, + tabIndex: x ? 0 : void 0, + role: x ? "button" : void 0, + "aria-describedby": D ? void 0 : `${ku}-${O}`, + "aria-label": j, + }, + P.createElement( + Fg, + { value: n }, + P.createElement(e, { + id: n, + data: r, + type: o, + xPos: a, + yPos: i, + selected: u, + isConnectable: E, + sourcePosition: T, + targetPosition: k, + dragging: Be, + dragHandle: I, + zIndex: W, + }), + ), + ); }; -}, yu = P1(({ type: e = "source", position: t = ne.Top, isValidConnection: n, isConnectable: o = !0, isConnectableStart: r = !0, isConnectableEnd: a = !0, id: i, onConnect: l, children: s, className: u, onMouseDown: c, onTouchStart: d, ...h }, g) => { - var R, L; - const m = i || null, b = e === "target", C = Ie(), p = Ig(), { connectOnClick: v, noPanClassName: y } = Me(Yg, Pe), { connecting: E, clickConnecting: x } = Me(Gg(p, m, e), Pe); - p || (L = (R = C.getState()).onError) == null || L.call(R, "010", vt.error010()); - const A = (I) => { - const { defaultEdgeOptions: W, onConnect: B, hasDefaultEdges: w } = C.getState(), N = { - ...W, - ...I - }; - if (w) { - const { edges: S, setEdges: D } = C.getState(); - D(Wg(N, S)); - } - B == null || B(N), l == null || l(N); - }, T = (I) => { - if (!p) - return; - const W = lu(I); - r && (W && I.button === 0 || !W) && Cu({ - event: I, - handleId: m, - nodeId: p, - onConnect: A, - isTarget: b, - getState: C.getState, - setState: C.setState, - isValidConnection: n || C.getState().isValidConnection || X2 - }), W ? c == null || c(I) : d == null || d(I); - }, k = (I) => { - const { onClickConnectStart: W, onClickConnectEnd: B, connectionClickStartHandle: w, connectionMode: N, isValidConnection: S } = C.getState(); - if (!p || !w && !r) - return; - if (!w) { - W == null || W(I, { nodeId: p, handleId: m, handleType: e }), C.setState({ connectionClickStartHandle: { nodeId: p, type: e, handleId: m } }); - return; - } - const D = ru(I.target), j = n || S || X2, { connection: O, isValid: M } = bu({ - nodeId: p, - id: m, - type: e - }, N, w.nodeId, w.handleId || null, w.type, j, D); - M && A(O), B == null || B(I), C.setState({ connectionClickStartHandle: null }); + return (t.displayName = "NodeWrapper"), De(t); +}; +const kh = (e) => { + const t = e.getNodes().filter((n) => n.selected); + return { + ...El(t, e.nodeOrigin), + transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, + userSelectionActive: e.userSelectionActive, }; - return P.createElement("div", { "data-handleid": m, "data-nodeid": p, "data-handlepos": t, "data-id": `${p}-${m}-${e}`, className: Ke([ - "react-flow__handle", - `react-flow__handle-${t}`, - "nodrag", - y, - u, +}; +function Ah({ + onSelectionContextMenu: e, + noPanClassName: t, + disableKeyboardA11y: n, +}) { + const o = Ie(), { - source: !b, - target: b, - connectable: o, - connectablestart: r, - connectableend: a, - connecting: x, - // this class is used to style the handle when the user is connecting - connectionindicator: o && (r && !E || a && E) - } - ]), onMouseDown: T, onTouchStart: T, onClick: v ? k : void 0, ref: g, ...h }, s); -}); -yu.displayName = "Handle"; -var at = De(yu); -const vu = ({ data: e, isConnectable: t, targetPosition: n = ne.Top, sourcePosition: o = ne.Bottom }) => P.createElement( - P.Fragment, - null, - P.createElement(at, { type: "target", position: n, isConnectable: t }), - e == null ? void 0 : e.label, - P.createElement(at, { type: "source", position: o, isConnectable: t }) -); -vu.displayName = "DefaultNode"; -var T1 = De(vu); -const xu = ({ data: e, isConnectable: t, sourcePosition: n = ne.Bottom }) => P.createElement( - P.Fragment, - null, - e == null ? void 0 : e.label, - P.createElement(at, { type: "source", position: n, isConnectable: t }) -); -xu.displayName = "InputNode"; -var wu = De(xu); -const Eu = ({ data: e, isConnectable: t, targetPosition: n = ne.Top }) => P.createElement( - P.Fragment, - null, - P.createElement(at, { type: "target", position: n, isConnectable: t }), - e == null ? void 0 : e.label -); -Eu.displayName = "OutputNode"; -var _u = De(Eu); -const Sl = () => null; -Sl.displayName = "GroupNode"; -const Kg = (e) => ({ - selectedNodes: e.getNodes().filter((t) => t.selected), - selectedEdges: e.edges.filter((t) => t.selected).map((t) => ({ ...t })) -}), Cr = (e) => e.id; -function Xg(e, t) { - return Pe(e.selectedNodes.map(Cr), t.selectedNodes.map(Cr)) && Pe(e.selectedEdges.map(Cr), t.selectedEdges.map(Cr)); -} -const Su = De(({ onSelectionChange: e }) => { - const t = Ie(), { selectedNodes: n, selectedEdges: o } = Me(Kg, Xg); - return re(() => { - const r = { nodes: n, edges: o }; - e == null || e(r), t.getState().onSelectionChange.forEach((a) => a(r)); - }, [n, o, e]), null; -}); -Su.displayName = "SelectionListener"; -const Jg = (e) => !!e.onSelectionChange; -function Qg({ onSelectionChange: e }) { - const t = Me(Jg); - return e || t ? P.createElement(Su, { onSelectionChange: e }) : null; -} -const eh = (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 jn(e, t) { - re(() => { - typeof e < "u" && t(e); - }, [e]); -} -function de(e, t, n) { - re(() => { - typeof t < "u" && n({ [e]: t }); - }, [t]); -} -const th = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: r, onConnectStart: a, onConnectEnd: i, onClickConnectStart: l, onClickConnectEnd: s, nodesDraggable: u, nodesConnectable: c, nodesFocusable: d, edgesFocusable: h, edgesUpdatable: g, elevateNodesOnSelect: m, minZoom: b, maxZoom: C, nodeExtent: p, onNodesChange: v, onEdgesChange: y, elementsSelectable: E, connectionMode: x, snapGrid: A, snapToGrid: T, translateExtent: k, connectOnClick: R, defaultEdgeOptions: L, fitView: I, fitViewOptions: W, onNodesDelete: B, onEdgesDelete: w, onNodeDrag: N, onNodeDragStart: S, onNodeDragStop: D, onSelectionDrag: j, onSelectionDragStart: O, onSelectionDragStop: M, noPanClassName: F, nodeOrigin: z, rfId: $, autoPanOnConnect: V, autoPanOnNodeDrag: q, onError: K, connectionRadius: X, isValidConnection: J, nodeDragThreshold: te }) => { - const { setNodes: Z, setEdges: se, setDefaultNodesAndEdges: G, setMinZoom: ye, setMaxZoom: je, setTranslateExtent: Ee, setNodeExtent: Be, reset: xe } = Me(eh, Pe), oe = Ie(); - return re(() => { - const He = o == null ? void 0 : o.map((Ot) => ({ ...Ot, ...L })); - return G(n, He), () => { - xe(); + width: r, + height: a, + x: i, + y: l, + transformString: s, + userSelectionActive: u, + } = Me(kh, Pe), + c = Ru(), + d = le(null); + if ( + (re(() => { + var m; + n || + (m = d.current) == null || + m.focus({ + preventScroll: !0, + }); + }, [n]), + ju({ + nodeRef: d, + }), + u || !r || !a) + ) + return null; + const h = e + ? (m) => { + const b = o + .getState() + .getNodes() + .filter((C) => C.selected); + e(m, b); + } + : void 0, + g = (m) => { + Object.prototype.hasOwnProperty.call(Zn, m.key) && + c({ + x: Zn[m.key].x, + y: Zn[m.key].y, + isShiftPressed: m.shiftKey, + }); }; - }, []), de("defaultEdgeOptions", L, oe.setState), de("connectionMode", x, oe.setState), de("onConnect", r, oe.setState), de("onConnectStart", a, oe.setState), de("onConnectEnd", i, oe.setState), de("onClickConnectStart", l, oe.setState), de("onClickConnectEnd", s, oe.setState), de("nodesDraggable", u, oe.setState), de("nodesConnectable", c, oe.setState), de("nodesFocusable", d, oe.setState), de("edgesFocusable", h, oe.setState), de("edgesUpdatable", g, oe.setState), de("elementsSelectable", E, oe.setState), de("elevateNodesOnSelect", m, oe.setState), de("snapToGrid", T, oe.setState), de("snapGrid", A, oe.setState), de("onNodesChange", v, oe.setState), de("onEdgesChange", y, oe.setState), de("connectOnClick", R, oe.setState), de("fitViewOnInit", I, oe.setState), de("fitViewOnInitOptions", W, oe.setState), de("onNodesDelete", B, oe.setState), de("onEdgesDelete", w, oe.setState), de("onNodeDrag", N, oe.setState), de("onNodeDragStart", S, oe.setState), de("onNodeDragStop", D, oe.setState), de("onSelectionDrag", j, oe.setState), de("onSelectionDragStart", O, oe.setState), de("onSelectionDragStop", M, oe.setState), de("noPanClassName", F, oe.setState), de("nodeOrigin", z, oe.setState), de("rfId", $, oe.setState), de("autoPanOnConnect", V, oe.setState), de("autoPanOnNodeDrag", q, oe.setState), de("onError", K, oe.setState), de("connectionRadius", X, oe.setState), de("isValidConnection", J, oe.setState), de("nodeDragThreshold", te, oe.setState), jn(e, Z), jn(t, se), jn(b, ye), jn(C, je), jn(k, Ee), jn(p, Be), null; -}, J2 = { display: "none" }, nh = { - position: "absolute", - width: 1, - height: 1, - margin: -1, - border: 0, - padding: 0, - overflow: "hidden", - clip: "rect(0px, 0px, 0px, 0px)", - clipPath: "inset(100%)" -}, ku = "react-flow__node-desc", Au = "react-flow__edge-desc", oh = "react-flow__aria-live", rh = (e) => e.ariaLiveMessage; -function ah({ rfId: e }) { - const t = Me(rh); - return P.createElement("div", { id: `${oh}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: nh }, t); -} -function ih({ rfId: e, disableKeyboardA11y: t }) { return P.createElement( - P.Fragment, - null, - P.createElement( - "div", - { id: `${ku}-${e}`, style: J2 }, - "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.", - " " + "div", + { + className: Ke(["react-flow__nodesselection", "react-flow__container", t]), + style: { + transform: s, + }, + }, + P.createElement("div", { + ref: d, + className: "react-flow__nodesselection-rect", + onContextMenu: h, + tabIndex: n ? void 0 : -1, + onKeyDown: n ? void 0 : g, + style: { + width: r, + height: a, + top: l, + left: i, + }, + }), + ); +} +var Mh = De(Ah); +const Th = (e) => e.nodesSelectionActive, + Hu = ({ + children: e, + onPaneClick: t, + onPaneMouseEnter: n, + onPaneMouseMove: o, + onPaneMouseLeave: r, + onPaneContextMenu: a, + onPaneScroll: i, + deleteKeyCode: l, + onMove: s, + onMoveStart: u, + onMoveEnd: c, + selectionKeyCode: d, + selectionOnDrag: h, + selectionMode: g, + onSelectionStart: m, + onSelectionEnd: b, + multiSelectionKeyCode: C, + panActivationKeyCode: p, + zoomActivationKeyCode: v, + elementsSelectable: y, + zoomOnScroll: E, + zoomOnPinch: x, + panOnScroll: A, + panOnScrollSpeed: T, + panOnScrollMode: k, + zoomOnDoubleClick: R, + panOnDrag: L, + defaultViewport: I, + translateExtent: W, + minZoom: B, + maxZoom: w, + preventScrolling: N, + onSelectionContextMenu: S, + noWheelClassName: D, + noPanClassName: j, + disableKeyboardA11y: O, + }) => { + const M = Me(Th), + F = Io(d), + z = Io(p), + $ = z || L, + V = z || A, + q = F || (h && $ !== !0); + return ( + gh({ deleteKeyCode: l, multiSelectionKeyCode: C }), + P.createElement( + bh, + { + onMove: s, + onMoveStart: u, + onMoveEnd: c, + onPaneContextMenu: a, + elementsSelectable: y, + zoomOnScroll: E, + zoomOnPinch: x, + panOnScroll: V, + panOnScrollSpeed: T, + panOnScrollMode: k, + zoomOnDoubleClick: R, + panOnDrag: !F && $, + defaultViewport: I, + translateExtent: W, + minZoom: B, + maxZoom: w, + zoomActivationKeyCode: v, + preventScrolling: N, + noWheelClassName: D, + noPanClassName: j, + }, + P.createElement( + Du, + { + onSelectionStart: m, + onSelectionEnd: b, + onPaneClick: t, + onPaneMouseEnter: n, + onPaneMouseMove: o, + onPaneMouseLeave: r, + onPaneContextMenu: a, + onPaneScroll: i, + panOnDrag: $, + isSelecting: !!q, + selectionMode: g, + }, + e, + M && + P.createElement(Mh, { + onSelectionContextMenu: S, + noPanClassName: j, + disableKeyboardA11y: O, + }), + ), + ) + ); + }; +Hu.displayName = "FlowRenderer"; +var Nh = De(Hu); +function Dh(e) { + return Me( + pe( + (n) => + e + ? gu( + n.nodeInternals, + { x: 0, y: 0, width: n.width, height: n.height }, + n.transform, + !0, + ) + : n.getNodes(), + [e], ), - P.createElement("div", { id: `${Au}-${e}`, style: J2 }, "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."), - !t && P.createElement(ah, { rfId: e }) ); } -var Io = (e = null, t = { actInsideInputWithModifier: !0 }) => { - const [n, o] = ae(!1), r = le(!1), a = le(/* @__PURE__ */ new Set([])), [i, l] = _e(() => { - 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 re(() => { - const s = typeof document < "u" ? document : null, u = (t == null ? void 0 : t.target) || s; - if (e !== null) { - const c = (g) => { - if (r.current = g.ctrlKey || g.metaKey || g.shiftKey, (!r.current || r.current && !t.actInsideInputWithModifier) && S1(g)) - return !1; - const b = ec(g.code, l); - a.current.add(g[b]), Q2(i, a.current, !1) && (g.preventDefault(), o(!0)); - }, d = (g) => { - if ((!r.current || r.current && !t.actInsideInputWithModifier) && S1(g)) - return !1; - const b = ec(g.code, l); - Q2(i, a.current, !0) ? (o(!1), a.current.clear()) : a.current.delete(g[b]), g.key === "Meta" && a.current.clear(), r.current = !1; - }, h = () => { - a.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); +function Oh(e) { + const t = { + input: mo(e.input || wu), + default: mo(e.default || T1), + output: mo(e.output || _u), + group: mo(e.group || Sl), + }, + n = {}, + o = Object.keys(e) + .filter((r) => !["input", "default", "output", "group"].includes(r)) + .reduce((r, a) => ((r[a] = mo(e[a] || T1)), r), n); + return { + ...t, + ...o, + }; +} +const Lh = ({ 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], + }, + jh = (e) => ({ + nodesDraggable: e.nodesDraggable, + nodesConnectable: e.nodesConnectable, + nodesFocusable: e.nodesFocusable, + elementsSelectable: e.elementsSelectable, + updateNodeDimensions: e.updateNodeDimensions, + onError: e.onError, + }), + Fu = (e) => { + const { + nodesDraggable: t, + nodesConnectable: n, + nodesFocusable: o, + elementsSelectable: r, + updateNodeDimensions: a, + onError: i, + } = Me(jh, Pe), + l = Dh(e.onlyRenderVisibleElements), + s = le(), + u = _e(() => { + if (typeof ResizeObserver > "u") return null; + const c = new ResizeObserver((d) => { + const h = d.map((g) => ({ + id: g.target.getAttribute("data-id"), + nodeElement: g.target, + forceUpdate: !0, + })); + a(h); + }); + return (s.current = c), c; + }, []); + return ( + re( + () => () => { + var c; + (c = s == null ? void 0 : s.current) == null || c.disconnect(); + }, + [], + ), + P.createElement( + "div", + { className: "react-flow__nodes", style: kl }, + l.map((c) => { + var x, A, T; + let d = c.type || "default"; + e.nodeTypes[d] || + (i == null || i("003", vt.error003(d)), (d = "default")); + const h = e.nodeTypes[d] || e.nodeTypes.default, + g = !!(c.draggable || (t && typeof c.draggable > "u")), + m = !!(c.selectable || (r && typeof c.selectable > "u")), + b = !!(c.connectable || (n && typeof c.connectable > "u")), + C = !!(c.focusable || (o && typeof c.focusable > "u")), + p = e.nodeExtent + ? bl(c.positionAbsolute, e.nodeExtent) + : c.positionAbsolute, + v = (p == null ? void 0 : p.x) ?? 0, + y = (p == null ? void 0 : p.y) ?? 0, + E = Lh({ + x: v, + y, + width: c.width ?? 0, + height: c.height ?? 0, + origin: e.nodeOrigin, + }); + return P.createElement(h, { + key: c.id, + id: c.id, + className: c.className, + style: c.style, + type: d, + data: c.data, + sourcePosition: c.sourcePosition || ne.Bottom, + targetPosition: c.targetPosition || ne.Top, + hidden: c.hidden, + xPos: v, + yPos: y, + 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: g, + isSelectable: m, + isConnectable: b, + isFocusable: C, + resizeObserver: u, + dragHandle: c.dragHandle, + zIndex: ((x = c[Ne]) == null ? void 0 : x.z) ?? 0, + isParent: !!((A = c[Ne]) != null && A.isParent), + noDragClassName: e.noDragClassName, + noPanClassName: e.noPanClassName, + initialized: !!c.width && !!c.height, + rfId: e.rfId, + disableKeyboardA11y: e.disableKeyboardA11y, + ariaLabel: c.ariaLabel, + hasHandleBounds: !!((T = c[Ne]) != null && T.handleBounds), + }); + }), + ) + ); + }; +Fu.displayName = "NodeRenderer"; +var Rh = De(Fu); +const Hh = (e, t, n) => (n === ne.Left ? e - t : n === ne.Right ? e + t : e), + Fh = (e, t, n) => (n === ne.Top ? e - t : n === ne.Bottom ? e + t : e), + ic = "react-flow__edgeupdater", + lc = ({ + position: e, + centerX: t, + centerY: n, + radius: o = 10, + onMouseDown: r, + onMouseEnter: a, + onMouseOut: i, + type: l, + }) => + P.createElement("circle", { + onMouseDown: r, + onMouseEnter: a, + onMouseOut: i, + className: Ke([ic, `${ic}-${l}`]), + cx: Hh(t, o, e), + cy: Fh(n, o, e), + r: o, + stroke: "transparent", + fill: "transparent", + }), + Ih = () => !0; +var Fn = (e) => { + const t = ({ + id: n, + className: o, + type: r, + data: a, + onClick: i, + onEdgeDoubleClick: l, + selected: s, + animated: u, + label: c, + labelStyle: d, + labelShowBg: h, + labelBgStyle: g, + labelBgPadding: m, + labelBgBorderRadius: b, + style: C, + source: p, + target: v, + sourceX: y, + sourceY: E, + targetX: x, + targetY: A, + sourcePosition: T, + targetPosition: k, + elementsSelectable: R, + hidden: L, + sourceHandleId: I, + targetHandleId: W, + onContextMenu: B, + onMouseEnter: w, + onMouseMove: N, + onMouseLeave: S, + reconnectRadius: D, + onReconnect: j, + onReconnectStart: O, + onReconnectEnd: M, + markerEnd: F, + markerStart: z, + rfId: $, + ariaLabel: V, + isFocusable: q, + isReconnectable: K, + pathOptions: X, + interactionWidth: J, + disableKeyboardA11y: te, + }) => { + const Z = le(null), + [se, G] = ae(!1), + [ye, je] = ae(!1), + Ee = Ie(), + Be = _e(() => `url('#${A1(z, $)}')`, [z, $]), + xe = _e(() => `url('#${A1(F, $)}')`, [F, $]); + if (L) return null; + const oe = (Oe) => { + var rt; + const { + edges: et, + addSelectedEdges: Rt, + unselectNodesAndEdges: Ht, + multiSelectionActive: Ft, + } = Ee.getState(), + ht = et.find((fn) => fn.id === n); + ht && + (R && + (Ee.setState({ nodesSelectionActive: !1 }), + ht.selected && Ft + ? (Ht({ nodes: [], edges: [ht] }), + (rt = Z.current) == null || rt.blur()) + : Rt([n])), + i && i(Oe, ht)); + }, + He = ho(n, Ee.getState, l), + Ot = ho(n, Ee.getState, B), + dn = ho(n, Ee.getState, w), + Et = ho(n, Ee.getState, N), + Yt = ho(n, Ee.getState, S), + gt = (Oe, et) => { + if (Oe.button !== 0) return; + const { edges: Rt, isValidConnection: Ht } = Ee.getState(), + Ft = et ? v : p, + ht = (et ? W : I) || null, + rt = et ? "target" : "source", + fn = Ht || Ih, + gn = et, + Xt = Rt.find((pt) => pt.id === n); + je(!0), O == null || O(Oe, Xt, rt); + const St = (pt) => { + je(!1), M == null || M(pt, Xt, rt); + }; + Cu({ + event: Oe, + handleId: ht, + nodeId: Ft, + onConnect: (pt) => (j == null ? void 0 : j(Xt, pt)), + isTarget: gn, + getState: Ee.getState, + setState: Ee.setState, + isValidConnection: fn, + edgeUpdaterType: rt, + onReconnectEnd: St, + }); + }, + Lt = (Oe) => gt(Oe, !0), + _t = (Oe) => gt(Oe, !1), + Qe = () => G(!0), + Gt = () => G(!1), + jt = !R && !i, + Kt = (Oe) => { + var et; + if (!te && au.includes(Oe.key) && R) { + const { + unselectNodesAndEdges: Rt, + addSelectedEdges: Ht, + edges: Ft, + } = Ee.getState(); + Oe.key === "Escape" + ? ((et = Z.current) == null || et.blur(), + Rt({ edges: [Ft.find((rt) => rt.id === n)] })) + : Ht([n]); + } }; - } - }, [e, o]), n; + return P.createElement( + "g", + { + className: Ke([ + "react-flow__edge", + `react-flow__edge-${r}`, + o, + { selected: s, animated: u, inactive: jt, updating: se }, + ]), + onClick: oe, + onDoubleClick: He, + onContextMenu: Ot, + onMouseEnter: dn, + onMouseMove: Et, + onMouseLeave: Yt, + onKeyDown: q ? Kt : void 0, + tabIndex: q ? 0 : void 0, + role: q ? "button" : "img", + "data-testid": `rf__edge-${n}`, + "aria-label": V === null ? void 0 : V || `Edge from ${p} to ${v}`, + "aria-describedby": q ? `${Au}-${$}` : void 0, + ref: Z, + }, + !ye && + P.createElement(e, { + id: n, + source: p, + target: v, + selected: s, + animated: u, + label: c, + labelStyle: d, + labelShowBg: h, + labelBgStyle: g, + labelBgPadding: m, + labelBgBorderRadius: b, + data: a, + style: C, + sourceX: y, + sourceY: E, + targetX: x, + targetY: A, + sourcePosition: T, + targetPosition: k, + sourceHandleId: I, + targetHandleId: W, + markerStart: Be, + markerEnd: xe, + pathOptions: X, + interactionWidth: J, + }), + K && + P.createElement( + P.Fragment, + null, + (K === "source" || K === !0) && + P.createElement(lc, { + position: T, + centerX: y, + centerY: E, + radius: D, + onMouseDown: Lt, + onMouseEnter: Qe, + onMouseOut: Gt, + type: "source", + }), + (K === "target" || K === !0) && + P.createElement(lc, { + position: k, + centerX: x, + centerY: A, + radius: D, + onMouseDown: _t, + onMouseEnter: Qe, + onMouseOut: Gt, + type: "target", + }), + ), + ); + }; + return (t.displayName = "EdgeWrapper"), De(t); }; -function Q2(e, t, n) { - return e.filter((o) => n || o.length === t.size).some((o) => o.every((r) => t.has(r))); -} -function ec(e, t) { - return t.includes(e) ? "code" : "key"; +function zh(e) { + const t = { + default: Fn(e.default || Kr), + straight: Fn(e.bezier || xl), + step: Fn(e.step || vl), + smoothstep: Fn(e.step || Ca), + simplebezier: Fn(e.simplebezier || yl), + }, + n = {}, + o = Object.keys(e) + .filter((r) => !["default", "bezier"].includes(r)) + .reduce((r, a) => ((r[a] = Fn(e[a] || Kr)), r), n); + return { + ...t, + ...o, + }; } -function Mu(e, t, n, o) { - var l, s; - const r = e.parentNode || e.parentId; - if (!r) - return n; - const a = t.get(r), i = $n(a, o); - return Mu(a, t, { - x: (n.x ?? 0) + i.x, - y: (n.y ?? 0) + i.y, - z: (((l = a[Ne]) == null ? void 0 : l.z) ?? 0) > (n.z ?? 0) ? ((s = a[Ne]) == null ? void 0 : s.z) ?? 0 : n.z ?? 0 - }, o); +function sc(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, + a = (n == null ? void 0 : n.width) || t.width, + i = (n == null ? void 0 : n.height) || t.height; + switch (e) { + case ne.Top: + return { + x: o + a / 2, + y: r, + }; + case ne.Right: + return { + x: o + a, + y: r + i / 2, + }; + case ne.Bottom: + return { + x: o + a / 2, + y: r + i, + }; + case ne.Left: + return { + x: o, + y: r + i / 2, + }; + } } -function Tu(e, t, n) { - e.forEach((o) => { - var a; - 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: i, y: l, z: s } = Mu(o, e, { - ...o.position, - z: ((a = o[Ne]) == null ? void 0 : a.z) ?? 0 - }, t); - o.positionAbsolute = { - x: i, - y: l - }, o[Ne].z = s, n != null && n[o.id] && (o[Ne].isParent = !0); - } - }); +function cc(e, t) { + return e + ? e.length === 1 || !t + ? e[0] + : (t && e.find((n) => n.id === t)) || null + : null; } -function qi(e, t, n, o) { - const r = /* @__PURE__ */ new Map(), a = {}, i = o ? 1e3 : 0; - return e.forEach((l) => { - var g; - const s = (st(l.zIndex) ? l.zIndex : 0) + (l.selected ? i : 0), u = t.get(l.id), c = { - ...l, - positionAbsolute: { - x: l.position.x, - y: l.position.y - } - }, d = l.parentNode || l.parentId; - d && (a[d] = !0); - const h = (u == null ? void 0 : u.type) && (u == null ? void 0 : u.type) !== l.type; - Object.defineProperty(c, Ne, { - enumerable: !1, - value: { - handleBounds: h || (g = u == null ? void 0 : u[Ne]) == null ? void 0 : g.handleBounds, - z: s - } - }), r.set(l.id, c); - }), Tu(r, n, a), r; +const Ph = (e, t, n, o, r, a) => { + const i = sc(n, e, t), + l = sc(a, o, r); + return { + sourceX: i.x, + sourceY: i.y, + targetX: l.x, + targetY: l.y, + }; +}; +function Bh({ + sourcePos: e, + targetPos: t, + sourceWidth: n, + sourceHeight: o, + targetWidth: r, + targetHeight: a, + width: i, + 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 + a), + }; + u.x === u.x2 && (u.x2 += 1), u.y === u.y2 && (u.y2 += 1); + const c = Cl({ + x: (0 - s[0]) / s[2], + y: (0 - s[1]) / s[2], + width: i / 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 Nu(e, t = {}) { - const { getNodes: n, width: o, height: r, minZoom: a, maxZoom: i, 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((C) => { - var v; - const p = t.includeHiddenNodes ? C.width && C.height : !C.hidden; - return (v = t.nodes) != null && v.length ? p && t.nodes.some((y) => y.id === C.id) : p; - }), b = m.every((C) => C.width && C.height); - if (m.length > 0 && b) { - const C = El(m, d), { x: p, y: v, zoom: y } = pu(C, o, r, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), E = an.translate(p, v).scale(y); - return typeof t.duration == "number" && t.duration > 0 ? l.transform(pn(s, t.duration), E) : l.transform(s, E), !0; - } - } - return !1; +function uc(e) { + var o, r, a, i, l; + const t = + ((o = e == null ? void 0 : e[Ne]) == 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 ((a = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : a.y) < "u"; + return [ + { + x: + ((i = e == null ? void 0 : e.positionAbsolute) == null + ? void 0 + : i.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, + ]; } -function lh(e, t) { - return e.forEach((n) => { - const o = t.get(n.id); - o && t.set(o.id, { - ...o, - [Ne]: o[Ne], - selected: n.selected +const Vh = [{ level: 0, isMaxLevel: !0, edges: [] }]; +function Wh(e, t, n = !1) { + let o = -1; + const r = e.reduce((i, l) => { + var c, d; + const s = st(l.zIndex); + let u = s ? l.zIndex : 0; + if (n) { + const h = t.get(l.target), + g = t.get(l.source), + m = + l.selected || + (h == null ? void 0 : h.selected) || + (g == null ? void 0 : g.selected), + b = Math.max( + ((c = g == null ? void 0 : g[Ne]) == null ? void 0 : c.z) || 0, + ((d = h == null ? void 0 : h[Ne]) == null ? void 0 : d.z) || 0, + 1e3, + ); + u = (s ? l.zIndex : 0) + (m ? b : 0); + } + return i[u] ? i[u].push(l) : (i[u] = [l]), (o = u > o ? u : o), i; + }, {}), + a = Object.entries(r).map(([i, l]) => { + const s = +i; + return { + edges: l, + level: s, + isMaxLevel: s === o, + }; }); - }), new Map(t); + return a.length === 0 ? Vh : a; +} +function $h(e, t, n) { + const o = Me( + pe( + (r) => + e + ? r.edges.filter((a) => { + const i = t.get(a.source), + l = t.get(a.target); + return ( + (i == null ? void 0 : i.width) && + (i == null ? void 0 : i.height) && + (l == null ? void 0 : l.width) && + (l == null ? void 0 : l.height) && + Bh({ + sourcePos: i.positionAbsolute || { x: 0, y: 0 }, + targetPos: l.positionAbsolute || { x: 0, y: 0 }, + sourceWidth: i.width, + sourceHeight: i.height, + targetWidth: l.width, + targetHeight: l.height, + width: r.width, + height: r.height, + transform: r.transform, + }) + ); + }) + : r.edges, + [e, t], + ), + ); + return Wh(o, t, n); } -function sh(e, t) { - return t.map((n) => { - const o = e.find((r) => r.id === n.id); - return o && (n.selected = o.selected), n; - }); +const Zh = ({ color: e = "none", strokeWidth: t = 1 }) => + P.createElement("polyline", { + style: { + stroke: e, + strokeWidth: t, + }, + strokeLinecap: "round", + strokeLinejoin: "round", + fill: "none", + points: "-5,-4 0,0 -5,4", + }), + Uh = ({ color: e = "none", strokeWidth: t = 1 }) => + P.createElement("polyline", { + style: { + stroke: e, + fill: e, + strokeWidth: t, + }, + strokeLinecap: "round", + strokeLinejoin: "round", + points: "-5,-4 0,0 -5,4 -5,-4", + }), + dc = { + [Gr.Arrow]: Zh, + [Gr.ArrowClosed]: Uh, + }; +function qh(e) { + const t = Ie(); + return _e(() => { + var r, a; + return Object.prototype.hasOwnProperty.call(dc, e) + ? dc[e] + : ((a = (r = t.getState()).onError) == null || + a.call(r, "009", vt.error009(e)), + null); + }, [e]); } -function yr({ changedNodes: e, changedEdges: t, get: n, set: o }) { - const { nodeInternals: r, edges: a, onNodesChange: i, onEdgesChange: l, hasDefaultNodes: s, hasDefaultEdges: u } = n(); - e != null && e.length && (s && o({ nodeInternals: lh(e, r) }), i == null || i(e)), t != null && t.length && (u && o({ edges: sh(t, a) }), l == null || l(t)); -} -const Rn = () => { -}, ch = { - zoomIn: Rn, - zoomOut: Rn, - zoomTo: Rn, - getZoom: () => 1, - setViewport: Rn, - getViewport: () => ({ x: 0, y: 0, zoom: 1 }), - fitView: () => !1, - setCenter: Rn, - fitBounds: Rn, - project: (e) => e, - screenToFlowPosition: (e) => e, - flowToScreenPosition: (e) => e, - viewportInitialized: !1 -}, uh = (e) => ({ - d3Zoom: e.d3Zoom, - d3Selection: e.d3Selection -}), dh = () => { - const e = Ie(), { d3Zoom: t, d3Selection: n } = Me(uh, Pe); - return _e(() => n && t ? { - zoomIn: (r) => t.scaleBy(pn(n, r == null ? void 0 : r.duration), 1.2), - zoomOut: (r) => t.scaleBy(pn(n, r == null ? void 0 : r.duration), 1 / 1.2), - zoomTo: (r, a) => t.scaleTo(pn(n, a == null ? void 0 : a.duration), r), - getZoom: () => e.getState().transform[2], - setViewport: (r, a) => { - const [i, l, s] = e.getState().transform, u = an.translate(r.x ?? i, r.y ?? l).scale(r.zoom ?? s); - t.transform(pn(n, a == null ? void 0 : a.duration), u); - }, - getViewport: () => { - const [r, a, i] = e.getState().transform; - return { x: r, y: a, zoom: i }; - }, - fitView: (r) => Nu(e.getState, r), - setCenter: (r, a, i) => { - const { width: l, height: s, maxZoom: u } = e.getState(), c = typeof (i == null ? void 0 : i.zoom) < "u" ? i.zoom : u, d = l / 2 - r * c, h = s / 2 - a * c, g = an.translate(d, h).scale(c); - t.transform(pn(n, i == null ? void 0 : i.duration), g); - }, - fitBounds: (r, a) => { - const { width: i, height: l, minZoom: s, maxZoom: u } = e.getState(), { x: c, y: d, zoom: h } = pu(r, i, l, s, u, (a == null ? void 0 : a.padding) ?? 0.1), g = an.translate(c, d).scale(h); - t.transform(pn(n, a == null ? void 0 : a.duration), g); - }, - // @deprecated Use `screenToFlowPosition`. - project: (r) => { - const { transform: a, snapToGrid: i, 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"), M1(r, a, i, l); - }, - screenToFlowPosition: (r) => { - const { transform: a, snapToGrid: i, 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 M1(d, a, i, l); +const Yh = ({ + id: e, + type: t, + color: n, + width: o = 12.5, + height: r = 12.5, + markerUnits: a = "strokeWidth", + strokeWidth: i, + orient: l = "auto-start-reverse", + }) => { + const s = qh(t); + return s + ? P.createElement( + "marker", + { + className: "react-flow__arrowhead", + id: e, + markerWidth: `${o}`, + markerHeight: `${r}`, + viewBox: "-10 -10 20 20", + markerUnits: a, + orient: l, + refX: "0", + refY: "0", + }, + P.createElement(s, { color: n, strokeWidth: i }), + ) + : null; + }, + Gh = + ({ defaultColor: e, rfId: t }) => + (n) => { + const o = []; + return n.edges + .reduce( + (r, a) => ( + [a.markerStart, a.markerEnd].forEach((i) => { + if (i && typeof i == "object") { + const l = A1(i, t); + o.includes(l) || + (r.push({ id: l, color: i.color || e, ...i }), o.push(l)); + } + }), + r + ), + [], + ) + .sort((r, a) => r.id.localeCompare(a.id)); }, - flowToScreenPosition: (r) => { - const { transform: a, domNode: i } = e.getState(); - if (!i) - return r; - const { x: l, y: s } = i.getBoundingClientRect(), u = fu(r, a); - return { - x: u.x + l, - y: u.y + s - }; + Iu = ({ defaultColor: e, rfId: t }) => { + const n = Me( + pe(Gh({ 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((a, i) => a.id !== r[i].id)), + ); + return P.createElement( + "defs", + null, + n.map((o) => + P.createElement(Yh, { + 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, + }), + ), + ); + }; +Iu.displayName = "MarkerDefinitions"; +var Kh = De(Iu); +const Xh = (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, + }), + zu = ({ + defaultMarkerColor: e, + onlyRenderVisibleElements: t, + elevateEdgesOnSelect: n, + rfId: o, + edgeTypes: r, + noPanClassName: a, + onEdgeContextMenu: i, + onEdgeMouseEnter: l, + onEdgeMouseMove: s, + onEdgeMouseLeave: u, + onEdgeClick: c, + onEdgeDoubleClick: d, + onReconnect: h, + onReconnectStart: g, + onReconnectEnd: m, + reconnectRadius: b, + children: C, + disableKeyboardA11y: p, + }) => { + const { + edgesFocusable: v, + edgesUpdatable: y, + elementsSelectable: E, + width: x, + height: A, + connectionMode: T, + nodeInternals: k, + onError: R, + } = Me(Xh, Pe), + L = $h(t, k, n); + return x + ? P.createElement( + P.Fragment, + null, + L.map(({ level: I, edges: W, isMaxLevel: B }) => + P.createElement( + "svg", + { + key: I, + style: { zIndex: I }, + width: x, + height: A, + className: "react-flow__edges react-flow__container", + }, + B && P.createElement(Kh, { defaultColor: e, rfId: o }), + P.createElement( + "g", + null, + W.map((w) => { + const [N, S, D] = uc(k.get(w.source)), + [j, O, M] = uc(k.get(w.target)); + if (!D || !M) return null; + let F = w.type || "default"; + r[F] || + (R == null || R("011", vt.error011(F)), (F = "default")); + const z = r[F] || r.default, + $ = + T === Mn.Strict + ? O.target + : (O.target ?? []).concat(O.source ?? []), + V = cc(S.source, w.sourceHandle), + q = cc($, w.targetHandle), + K = (V == null ? void 0 : V.position) || ne.Bottom, + X = (q == null ? void 0 : q.position) || ne.Top, + J = !!(w.focusable || (v && typeof w.focusable > "u")), + te = w.reconnectable || w.updatable, + Z = typeof h < "u" && (te || (y && typeof te > "u")); + if (!V || !q) + return R == null || R("008", vt.error008(V, w)), null; + const { + sourceX: se, + sourceY: G, + targetX: ye, + targetY: je, + } = Ph(N, V, K, j, q, X); + return P.createElement(z, { + key: w.id, + id: w.id, + className: Ke([w.className, a]), + type: F, + data: w.data, + selected: !!w.selected, + animated: !!w.animated, + hidden: !!w.hidden, + label: w.label, + labelStyle: w.labelStyle, + labelShowBg: w.labelShowBg, + labelBgStyle: w.labelBgStyle, + labelBgPadding: w.labelBgPadding, + labelBgBorderRadius: w.labelBgBorderRadius, + style: w.style, + source: w.source, + target: w.target, + sourceHandleId: w.sourceHandle, + targetHandleId: w.targetHandle, + markerEnd: w.markerEnd, + markerStart: w.markerStart, + sourceX: se, + sourceY: G, + targetX: ye, + targetY: je, + sourcePosition: K, + targetPosition: X, + elementsSelectable: E, + onContextMenu: i, + onMouseEnter: l, + onMouseMove: s, + onMouseLeave: u, + onClick: c, + onEdgeDoubleClick: d, + onReconnect: h, + onReconnectStart: g, + onReconnectEnd: m, + reconnectRadius: b, + rfId: o, + ariaLabel: w.ariaLabel, + isFocusable: J, + isReconnectable: Z, + pathOptions: "pathOptions" in w ? w.pathOptions : void 0, + interactionWidth: w.interactionWidth, + disableKeyboardA11y: p, + }); + }), + ), + ), + ), + C, + ) + : null; + }; +zu.displayName = "EdgeRenderer"; +var Jh = De(zu); +const Qh = (e) => + `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; +function ep({ children: e }) { + const t = Me(Qh); + return P.createElement( + "div", + { + className: "react-flow__viewport react-flow__container", + style: { transform: t }, }, - viewportInitialized: !0 - } : ch, [t, n]); -}; -function wt() { - const e = dh(), t = Ie(), n = pe(() => t.getState().getNodes().map((b) => ({ ...b })), []), o = pe((b) => t.getState().nodeInternals.get(b), []), r = pe(() => { - const { edges: b = [] } = t.getState(); - return b.map((C) => ({ ...C })); - }, []), a = pe((b) => { - const { edges: C = [] } = t.getState(); - return C.find((p) => p.id === b); - }, []), i = pe((b) => { - const { getNodes: C, setNodes: p, hasDefaultNodes: v, onNodesChange: y } = t.getState(), E = C(), x = typeof b == "function" ? b(E) : b; - if (v) - p(x); - else if (y) { - const A = x.length === 0 ? E.map((T) => ({ type: "remove", id: T.id })) : x.map((T) => ({ item: T, type: "reset" })); - y(A); - } - }, []), l = pe((b) => { - const { edges: C = [], setEdges: p, hasDefaultEdges: v, onEdgesChange: y } = t.getState(), E = typeof b == "function" ? b(C) : b; - if (v) - p(E); - else if (y) { - const x = E.length === 0 ? C.map((A) => ({ type: "remove", id: A.id })) : E.map((A) => ({ item: A, type: "reset" })); - y(x); - } - }, []), s = pe((b) => { - const C = Array.isArray(b) ? b : [b], { getNodes: p, setNodes: v, hasDefaultNodes: y, onNodesChange: E } = t.getState(); - if (y) { - const A = [...p(), ...C]; - v(A); - } else if (E) { - const x = C.map((A) => ({ item: A, type: "add" })); - E(x); - } - }, []), u = pe((b) => { - const C = Array.isArray(b) ? b : [b], { edges: p = [], setEdges: v, hasDefaultEdges: y, onEdgesChange: E } = t.getState(); - if (y) - v([...p, ...C]); - else if (E) { - const x = C.map((A) => ({ item: A, type: "add" })); - E(x); - } - }, []), c = pe(() => { - const { getNodes: b, edges: C = [], transform: p } = t.getState(), [v, y, E] = p; - return { - nodes: b().map((x) => ({ ...x })), - edges: C.map((x) => ({ ...x })), - viewport: { - x: v, - y, - zoom: E - } - }; - }, []), d = pe(({ nodes: b, edges: C }) => { - const { nodeInternals: p, getNodes: v, edges: y, hasDefaultNodes: E, hasDefaultEdges: x, onNodesDelete: A, onEdgesDelete: T, onNodesChange: k, onEdgesChange: R } = t.getState(), L = (b || []).map((N) => N.id), I = (C || []).map((N) => N.id), W = v().reduce((N, S) => { - const D = S.parentNode || S.parentId, j = !L.includes(S.id) && D && N.find((M) => M.id === D); - return (typeof S.deletable == "boolean" ? S.deletable : !0) && (L.includes(S.id) || j) && N.push(S), N; - }, []), B = y.filter((N) => typeof N.deletable == "boolean" ? N.deletable : !0), w = B.filter((N) => I.includes(N.id)); - if (W || w) { - const N = hu(W, B), S = [...w, ...N], D = S.reduce((j, O) => (j.includes(O.id) || j.push(O.id), j), []); - if ((x || E) && (x && t.setState({ - edges: y.filter((j) => !D.includes(j.id)) - }), E && (W.forEach((j) => { - p.delete(j.id); - }), t.setState({ - nodeInternals: new Map(p) - }))), D.length > 0 && (T == null || T(S), R && R(D.map((j) => ({ - id: j, - type: "remove" - })))), W.length > 0 && (A == null || A(W), k)) { - const j = W.map((O) => ({ id: O.id, type: "remove" })); - k(j); - } - } - }, []), h = pe((b) => { - const C = Dg(b), p = C ? null : t.getState().nodeInternals.get(b.id); - return !C && !p ? [null, null, C] : [C ? b : Z2(p), p, C]; - }, []), g = pe((b, C = !0, p) => { - const [v, y, E] = h(b); - return v ? (p || t.getState().getNodes()).filter((x) => { - if (!E && (x.id === y.id || !x.positionAbsolute)) - return !1; - const A = Z2(x), T = _1(A, v); - return C && T > 0 || T >= v.width * v.height; - }) : []; - }, []), m = pe((b, C, p = !0) => { - const [v] = h(b); - if (!v) - return !1; - const y = _1(v, C); - return p && y > 0 || y >= v.width * v.height; - }, []); - return _e(() => ({ - ...e, - getNodes: n, - getNode: o, - getEdges: r, - getEdge: a, - setNodes: i, - setEdges: l, - addNodes: s, - addEdges: u, - toObject: c, - deleteElements: d, - getIntersectingNodes: g, - isNodeIntersecting: m - }), [ e, - n, - o, - r, - a, - i, - l, - s, - u, - c, - d, - g, - m - ]); + ); } -const fh = { actInsideInputWithModifier: !1 }; -var gh = ({ deleteKeyCode: e, multiSelectionKeyCode: t }) => { - const n = Ie(), { deleteElements: o } = wt(), r = Io(e, fh), a = Io(t); - re(() => { - if (r) { - const { edges: i, getNodes: l } = n.getState(), s = l().filter((c) => c.selected), u = i.filter((c) => c.selected); - o({ nodes: s, edges: u }), n.setState({ nodesSelectionActive: !1 }); - } - }, [r]), re(() => { - n.setState({ multiSelectionActive: a }); - }, [a]); -}; -function hh(e) { - const t = Ie(); +function tp(e) { + const t = wt(), + n = le(!1); re(() => { - let n; - const o = () => { - var a, i; - if (!e.current) - return; - const r = ml(e.current); - (r.height === 0 || r.width === 0) && ((i = (a = t.getState()).onError) == null || i.call(a, "004", vt.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); - }; - }, []); + !n.current && + t.viewportInitialized && + e && + (setTimeout(() => e(t), 1), (n.current = !0)); + }, [e, t.viewportInitialized]); } -const kl = { - position: "absolute", - width: "100%", - height: "100%", - top: 0, - left: 0 -}, ph = (e, t) => e.x !== t.x || e.y !== t.y || e.zoom !== t.k, vr = (e) => ({ - x: e.x, - y: e.y, - zoom: e.k -}), Hn = (e, t) => e.target.closest(`.${t}`), tc = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), nc = (e) => { - const t = e.ctrlKey && Yr() ? 10 : 1; - return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t; -}, mh = (e) => ({ - d3Zoom: e.d3Zoom, - d3Selection: e.d3Selection, - d3ZoomHandler: e.d3ZoomHandler, - userSelectionActive: e.userSelectionActive -}), bh = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: o, zoomOnScroll: r = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: s = yn.Free, zoomOnDoubleClick: u = !0, elementsSelectable: c, panOnDrag: d = !0, defaultViewport: h, translateExtent: g, minZoom: m, maxZoom: b, zoomActivationKeyCode: C, preventScrolling: p = !0, children: v, noWheelClassName: y, noPanClassName: E }) => { - const x = le(), A = Ie(), T = le(!1), k = le(!1), R = le(null), L = le({ x: 0, y: 0, zoom: 0 }), { d3Zoom: I, d3Selection: W, d3ZoomHandler: B, userSelectionActive: w } = Me(mh, Pe), N = Io(C), S = le(0), D = le(!1), j = le(); - return hh(R), re(() => { - if (R.current) { - const O = R.current.getBoundingClientRect(), M = Eg().scaleExtent([m, b]).translateExtent(g), F = bt(R.current).call(M), z = an.translate(h.x, h.y).scale(eo(h.zoom, m, b)), $ = [ - [0, 0], - [O.width, O.height] - ], V = M.constrain()(z, $, g); - M.transform(F, V), M.wheelDelta(nc), A.setState({ - d3Zoom: M, - d3Selection: F, - d3ZoomHandler: F.on("wheel.zoom"), - // we need to pass transform because zoom handler is not registered when we set the initial transform - transform: [V.x, V.y, V.k], - domNode: R.current.closest(".react-flow") +const np = { + [ne.Left]: ne.Right, + [ne.Right]: ne.Left, + [ne.Top]: ne.Bottom, + [ne.Bottom]: ne.Top, + }, + Pu = ({ + nodeId: e, + handleType: t, + style: n, + type: o = rn.Bezier, + CustomComponent: r, + connectionStatus: a, + }) => { + var A, T, k; + const { + fromNode: i, + handleId: l, + toX: s, + toY: u, + connectionMode: c, + } = Me( + pe( + (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], + ), + Pe, + ), + d = (A = i == null ? void 0 : i[Ne]) == null ? void 0 : A.handleBounds; + let h = d == null ? void 0 : d[t]; + if ( + (c === Mn.Loose && + (h = + h || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), + !i || !h) + ) + return null; + const g = l ? h.find((R) => R.id === l) : h[0], + m = g ? g.x + g.width / 2 : (i.width ?? 0) / 2, + b = g ? g.y + g.height / 2 : (i.height ?? 0), + C = (((T = i.positionAbsolute) == null ? void 0 : T.x) ?? 0) + m, + p = (((k = i.positionAbsolute) == null ? void 0 : k.y) ?? 0) + b, + v = g == null ? void 0 : g.position, + y = v ? np[v] : null; + if (!v || !y) return null; + if (r) + return P.createElement(r, { + connectionLineType: o, + connectionLineStyle: n, + fromNode: i, + fromHandle: g, + fromX: C, + fromY: p, + toX: s, + toY: u, + fromPosition: v, + toPosition: y, + connectionStatus: a, }); - } - }, []), re(() => { - W && I && (i && !N && !w ? W.on("wheel.zoom", (O) => { - if (Hn(O, y)) - return !1; - O.preventDefault(), O.stopImmediatePropagation(); - const M = W.property("__zoom").k || 1; - if (O.ctrlKey && a) { - const J = kt(O), te = nc(O), Z = M * Math.pow(2, te); - I.scaleTo(W, Z, J, O); - return; - } - const F = O.deltaMode === 1 ? 20 : 1; - let z = s === yn.Vertical ? 0 : O.deltaX * F, $ = s === yn.Horizontal ? 0 : O.deltaY * F; - !Yr() && O.shiftKey && s !== yn.Vertical && (z = O.deltaY * F, $ = 0), I.translateBy( - W, - -(z / M) * l, - -($ / M) * l, - // @ts-ignore - { internal: !0 } - ); - const V = vr(W.property("__zoom")), { onViewportChangeStart: q, onViewportChange: K, onViewportChangeEnd: X } = A.getState(); - clearTimeout(j.current), D.current || (D.current = !0, t == null || t(O, V), q == null || q(V)), D.current && (e == null || e(O, V), K == null || K(V), j.current = setTimeout(() => { - n == null || n(O, V), X == null || X(V), D.current = !1; - }, 150)); - }, { passive: !1 }) : typeof B < "u" && W.on("wheel.zoom", function(O, M) { - if (!p && O.type === "wheel" && !O.ctrlKey || Hn(O, y)) - return null; - O.preventDefault(), B.call(this, O, M); - }, { passive: !1 })); - }, [ - w, - i, - s, - W, - I, - B, - N, - a, - p, - y, - t, - e, - n - ]), re(() => { - I && I.on("start", (O) => { - var z, $; - if (!O.sourceEvent || O.sourceEvent.internal) - return null; - S.current = (z = O.sourceEvent) == null ? void 0 : z.button; - const { onViewportChangeStart: M } = A.getState(), F = vr(O.transform); - T.current = !0, L.current = F, (($ = O.sourceEvent) == null ? void 0 : $.type) === "mousedown" && A.setState({ paneDragging: !0 }), M == null || M(F), t == null || t(O.sourceEvent, F); - }); - }, [I, t]), re(() => { - I && (w && !T.current ? I.on("zoom", null) : w || I.on("zoom", (O) => { - var F; - const { onViewportChange: M } = A.getState(); - if (A.setState({ transform: [O.transform.x, O.transform.y, O.transform.k] }), k.current = !!(o && tc(d, S.current ?? 0)), (e || M) && !((F = O.sourceEvent) != null && F.internal)) { - const z = vr(O.transform); - M == null || M(z), e == null || e(O.sourceEvent, z); - } - })); - }, [w, I, e, d, o]), re(() => { - I && I.on("end", (O) => { - if (!O.sourceEvent || O.sourceEvent.internal) - return null; - const { onViewportChangeEnd: M } = A.getState(); - if (T.current = !1, A.setState({ paneDragging: !1 }), o && tc(d, S.current ?? 0) && !k.current && o(O.sourceEvent), k.current = !1, (n || M) && ph(L.current, O.transform)) { - const F = vr(O.transform); - L.current = F, clearTimeout(x.current), x.current = setTimeout(() => { - M == null || M(F), n == null || n(O.sourceEvent, F); - }, i ? 150 : 0); - } - }); - }, [I, i, d, n, o]), re(() => { - I && I.filter((O) => { - const M = N || r, F = a && O.ctrlKey; - if ((d === !0 || Array.isArray(d) && d.includes(1)) && O.button === 1 && O.type === "mousedown" && (Hn(O, "react-flow__node") || Hn(O, "react-flow__edge"))) - return !0; - if (!d && !M && !i && !u && !a || w || !u && O.type === "dblclick" || Hn(O, y) && O.type === "wheel" || Hn(O, E) && (O.type !== "wheel" || i && O.type === "wheel" && !N) || !a && O.ctrlKey && O.type === "wheel" || !M && !i && !F && O.type === "wheel" || !d && (O.type === "mousedown" || O.type === "touchstart") || Array.isArray(d) && !d.includes(O.button) && O.type === "mousedown") - return !1; - const z = Array.isArray(d) && d.includes(O.button) || !O.button || O.button <= 1; - return (!O.ctrlKey || O.type === "wheel") && z; - }); - }, [ - w, - I, - r, - a, - i, - u, - d, - c, - N - ]), P.createElement("div", { className: "react-flow__renderer", ref: R, style: kl }, v); -}, Ch = (e) => ({ - userSelectionActive: e.userSelectionActive, - userSelectionRect: e.userSelectionRect + let E = ""; + const x = { + sourceX: C, + sourceY: p, + sourcePosition: v, + targetX: s, + targetY: u, + targetPosition: y, + }; + return ( + o === rn.Bezier + ? ([E] = du(x)) + : o === rn.Step + ? ([E] = k1({ + ...x, + borderRadius: 0, + })) + : o === rn.SmoothStep + ? ([E] = k1(x)) + : o === rn.SimpleBezier + ? ([E] = uu(x)) + : (E = `M${C},${p} ${s},${u}`), + P.createElement("path", { + d: E, + fill: "none", + className: "react-flow__connection-path", + style: n, + }) + ); + }; +Pu.displayName = "ConnectionLine"; +const op = (e) => ({ + nodeId: e.connectionNodeId, + handleType: e.connectionHandleType, + nodesConnectable: e.nodesConnectable, + connectionStatus: e.connectionStatus, + width: e.width, + height: e.height, }); -function yh() { - const { userSelectionActive: e, userSelectionRect: t } = Me(Ch, Pe); - return e && t ? P.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 rp({ containerStyle: e, style: t, type: n, component: o }) { + const { + nodeId: r, + handleType: a, + nodesConnectable: i, + width: l, + height: s, + connectionStatus: u, + } = Me(op, Pe); + return !(r && a && l && i) + ? null + : P.createElement( + "svg", + { + style: e, + width: l, + height: s, + className: + "react-flow__edges react-flow__connectionline react-flow__container", + }, + P.createElement( + "g", + { className: Ke(["react-flow__connection", u]) }, + P.createElement(Pu, { + nodeId: r, + handleType: a, + style: t, + type: n, + CustomComponent: o, + connectionStatus: u, + }), + ), + ); } -function oc(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, a = t.position.y + t.height - o.height; - if (r > 0 || a > 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), a > 0 && (o.style.height += a), t.position.x < 0) { - const i = Math.abs(t.position.x); - o.position.x = o.position.x - i, o.style.width += i, t.position.x = 0; - } - if (t.position.y < 0) { - const i = Math.abs(t.position.y); - o.position.y = o.position.y - i, o.style.height += i, t.position.y = 0; - } - o.width = o.style.width, o.height = o.style.height; +function fc(e, t) { + const n = le(null), + o = Ie(); + return _e(() => { + var a, i; + if (process.env.NODE_ENV === "development") { + const l = Object.keys(e); + Pe(n.current, l) && + ((i = (a = o.getState()).onError) == null || + i.call(a, "002", vt.error002())), + (n.current = l); } - } + return t(e); + }, [e]); } -function vh(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 a = e.filter((l) => l.id === r.id); - if (a.length === 0) - return o.push(r), o; - const i = { ...r }; - for (const l of a) - if (l) - switch (l.type) { - case "select": { - i.selected = l.selected; - break; - } - case "position": { - typeof l.position < "u" && (i.position = l.position), typeof l.positionAbsolute < "u" && (i.positionAbsolute = l.positionAbsolute), typeof l.dragging < "u" && (i.dragging = l.dragging), i.expandParent && oc(o, i); - break; - } - case "dimensions": { - typeof l.dimensions < "u" && (i.width = l.dimensions.width, i.height = l.dimensions.height), typeof l.updateStyle < "u" && (i.style = { ...i.style || {}, ...l.dimensions }), typeof l.resizing == "boolean" && (i.resizing = l.resizing), i.expandParent && oc(o, i); - break; +const Bu = ({ + nodeTypes: e, + edgeTypes: t, + onMove: n, + onMoveStart: o, + onMoveEnd: r, + onInit: a, + onNodeClick: i, + onEdgeClick: l, + onNodeDoubleClick: s, + onEdgeDoubleClick: u, + onNodeMouseEnter: c, + onNodeMouseMove: d, + onNodeMouseLeave: h, + onNodeContextMenu: g, + onSelectionContextMenu: m, + onSelectionStart: b, + onSelectionEnd: C, + connectionLineType: p, + connectionLineStyle: v, + connectionLineComponent: y, + connectionLineContainerStyle: E, + selectionKeyCode: x, + selectionOnDrag: A, + selectionMode: T, + multiSelectionKeyCode: k, + panActivationKeyCode: R, + zoomActivationKeyCode: L, + deleteKeyCode: I, + onlyRenderVisibleElements: W, + elementsSelectable: B, + selectNodesOnDrag: w, + defaultViewport: N, + translateExtent: S, + minZoom: D, + maxZoom: j, + preventScrolling: O, + defaultMarkerColor: M, + zoomOnScroll: F, + zoomOnPinch: z, + panOnScroll: $, + panOnScrollSpeed: V, + panOnScrollMode: q, + zoomOnDoubleClick: K, + panOnDrag: X, + onPaneClick: J, + onPaneMouseEnter: te, + onPaneMouseMove: Z, + onPaneMouseLeave: se, + onPaneScroll: G, + onPaneContextMenu: ye, + onEdgeContextMenu: je, + onEdgeMouseEnter: Ee, + onEdgeMouseMove: Be, + onEdgeMouseLeave: xe, + onReconnect: oe, + onReconnectStart: He, + onReconnectEnd: Ot, + reconnectRadius: dn, + noDragClassName: Et, + noWheelClassName: Yt, + noPanClassName: gt, + elevateEdgesOnSelect: Lt, + disableKeyboardA11y: _t, + nodeOrigin: Qe, + nodeExtent: Gt, + rfId: jt, +}) => { + const Kt = fc(e, Oh), + Oe = fc(t, zh); + return ( + tp(a), + P.createElement( + Nh, + { + onPaneClick: J, + onPaneMouseEnter: te, + onPaneMouseMove: Z, + onPaneMouseLeave: se, + onPaneContextMenu: ye, + onPaneScroll: G, + deleteKeyCode: I, + selectionKeyCode: x, + selectionOnDrag: A, + selectionMode: T, + onSelectionStart: b, + onSelectionEnd: C, + multiSelectionKeyCode: k, + panActivationKeyCode: R, + zoomActivationKeyCode: L, + elementsSelectable: B, + onMove: n, + onMoveStart: o, + onMoveEnd: r, + zoomOnScroll: F, + zoomOnPinch: z, + zoomOnDoubleClick: K, + panOnScroll: $, + panOnScrollSpeed: V, + panOnScrollMode: q, + panOnDrag: X, + defaultViewport: N, + translateExtent: S, + minZoom: D, + maxZoom: j, + onSelectionContextMenu: m, + preventScrolling: O, + noDragClassName: Et, + noWheelClassName: Yt, + noPanClassName: gt, + disableKeyboardA11y: _t, + }, + P.createElement( + ep, + null, + P.createElement( + Jh, + { + edgeTypes: Oe, + onEdgeClick: l, + onEdgeDoubleClick: u, + onlyRenderVisibleElements: W, + onEdgeContextMenu: je, + onEdgeMouseEnter: Ee, + onEdgeMouseMove: Be, + onEdgeMouseLeave: xe, + onReconnect: oe, + onReconnectStart: He, + onReconnectEnd: Ot, + reconnectRadius: dn, + defaultMarkerColor: M, + noPanClassName: gt, + elevateEdgesOnSelect: !!Lt, + disableKeyboardA11y: _t, + rfId: jt, + }, + P.createElement(rp, { + style: v, + type: p, + component: y, + containerStyle: E, + }), + ), + P.createElement("div", { className: "react-flow__edgelabel-renderer" }), + P.createElement(Rh, { + nodeTypes: Kt, + onNodeClick: i, + onNodeDoubleClick: s, + onNodeMouseEnter: c, + onNodeMouseMove: d, + onNodeMouseLeave: h, + onNodeContextMenu: g, + selectNodesOnDrag: w, + onlyRenderVisibleElements: W, + noPanClassName: gt, + noDragClassName: Et, + disableKeyboardA11y: _t, + nodeOrigin: Qe, + nodeExtent: Gt, + rfId: jt, + }), + ), + ) + ); +}; +Bu.displayName = "GraphView"; +var ap = De(Bu); +const D1 = [ + [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], + [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY], + ], + Qt = { + 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: D1, + nodeExtent: D1, + nodesSelectionActive: !1, + userSelectionActive: !1, + userSelectionRect: null, + connectionNodeId: null, + connectionHandleId: null, + connectionHandleType: "source", + connectionPosition: { x: 0, y: 0 }, + connectionStatus: null, + connectionMode: Mn.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: iu, + isValidConnection: void 0, + }, + ip = () => + $8( + (e, t) => ({ + ...Qt, + setNodes: (n) => { + const { + nodeInternals: o, + nodeOrigin: r, + elevateNodesOnSelect: a, + } = t(); + e({ nodeInternals: qi(n, o, r, a) }); + }, + 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", + a = typeof o < "u", + i = r + ? qi( + n, + /* @__PURE__ */ new Map(), + t().nodeOrigin, + t().elevateNodesOnSelect, + ) + : /* @__PURE__ */ new Map(); + e({ + nodeInternals: i, + edges: a ? o : [], + hasDefaultNodes: r, + hasDefaultEdges: a, + }); + }, + updateNodeDimensions: (n) => { + const { + onNodesChange: o, + nodeInternals: r, + fitViewOnInit: a, + fitViewOnInitDone: i, + 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), + g = n.reduce((b, C) => { + const p = r.get(C.id); + if (p != null && p.hidden) + r.set(p.id, { + ...p, + [Ne]: { + ...p[Ne], + // 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 (p) { + const v = ml(C.nodeElement); + !!( + v.width && + v.height && + (p.width !== v.width || + p.height !== v.height || + C.forceUpdate) + ) && + (r.set(p.id, { + ...p, + [Ne]: { + ...p[Ne], + handleBounds: { + source: ac(".source", C.nodeElement, h, u), + target: ac(".target", C.nodeElement, h, u), + }, + }, + ...v, + }), + b.push({ + id: p.id, + type: "dimensions", + dimensions: v, + })); + } + return b; + }, []); + Tu(r, u); + const m = i || (a && !i && Nu(t, { initial: !0, ...l })); + e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), + (g == null ? void 0 : g.length) > 0 && (o == null || o(g)); + }, + updateNodePositions: (n, o = !0, r = !1) => { + const { triggerNodeChanges: a } = t(), + i = n.map((l) => { + const s = { + id: l.id, + type: "position", + dragging: r, + }; + return ( + o && + ((s.positionAbsolute = l.positionAbsolute), + (s.position = l.position)), + s + ); + }); + a(i); + }, + triggerNodeChanges: (n) => { + const { + onNodesChange: o, + nodeInternals: r, + hasDefaultNodes: a, + nodeOrigin: i, + getNodes: l, + elevateNodesOnSelect: s, + } = t(); + if (n != null && n.length) { + if (a) { + const u = xh(n, l()), + c = qi(u, r, i, s); + e({ nodeInternals: c }); + } + o == null || o(n); } - case "remove": - return o; - } - return o.push(i), o; - }, n); + }, + addSelectedNodes: (n) => { + const { multiSelectionActive: o, edges: r, getNodes: a } = t(); + let i, + l = null; + o + ? (i = n.map((s) => on(s, !0))) + : ((i = In(a(), n)), (l = In(r, []))), + yr({ + changedNodes: i, + changedEdges: l, + get: t, + set: e, + }); + }, + addSelectedEdges: (n) => { + const { multiSelectionActive: o, edges: r, getNodes: a } = t(); + let i, + l = null; + o + ? (i = n.map((s) => on(s, !0))) + : ((i = In(r, n)), (l = In(a(), []))), + yr({ + changedNodes: l, + changedEdges: i, + get: t, + set: e, + }); + }, + unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { + const { edges: r, getNodes: a } = t(), + i = n || a(), + l = o || r, + s = i.map((c) => ((c.selected = !1), on(c.id, !1))), + u = l.map((c) => on(c.id, !1)); + yr({ + 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(), + a = o() + .filter((l) => l.selected) + .map((l) => on(l.id, !1)), + i = n.filter((l) => l.selected).map((l) => on(l.id, !1)); + yr({ + changedNodes: a, + changedEdges: i, + get: t, + set: e, + }); + }, + setNodeExtent: (n) => { + const { nodeInternals: o } = t(); + o.forEach((r) => { + r.positionAbsolute = bl(r.position, n); + }), + e({ + nodeExtent: n, + nodeInternals: new Map(o), + }); + }, + panBy: (n) => { + const { + transform: o, + width: r, + height: a, + d3Zoom: i, + d3Selection: l, + translateExtent: s, + } = t(); + if (!i || !l || (!n.x && !n.y)) return !1; + const u = an.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), + c = [ + [0, 0], + [r, a], + ], + d = i == null ? void 0 : i.constrain()(u, c, s); + return ( + i.transform(l, d), o[0] !== d.x || o[1] !== d.y || o[2] !== d.k + ); + }, + cancelConnection: () => + e({ + connectionNodeId: Qt.connectionNodeId, + connectionHandleId: Qt.connectionHandleId, + connectionHandleType: Qt.connectionHandleType, + connectionStatus: Qt.connectionStatus, + connectionStartHandle: Qt.connectionStartHandle, + connectionEndHandle: Qt.connectionEndHandle, + }), + reset: () => e({ ...Qt }), + }), + Object.is, + ), + Go = ({ children: e }) => { + const t = le(null); + return ( + t.current || (t.current = ip()), + P.createElement(_g, { value: t.current }, e) + ); + }; +Go.displayName = "ReactFlowProvider"; +const Vu = ({ children: e }) => + Re(ba) ? P.createElement(P.Fragment, null, e) : P.createElement(Go, null, e); +Vu.displayName = "ReactFlowWrapper"; +const lp = { + input: wu, + default: T1, + output: _u, + group: Sl, + }, + sp = { + default: Kr, + straight: xl, + step: vl, + smoothstep: Ca, + simplebezier: yl, + }, + cp = [0, 0], + up = [15, 15], + dp = { x: 0, y: 0, zoom: 1 }, + fp = { + width: "100%", + height: "100%", + overflow: "hidden", + position: "relative", + zIndex: 0, + }, + ya = P1( + ( + { + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + className: r, + nodeTypes: a = lp, + edgeTypes: i = sp, + onNodeClick: l, + onEdgeClick: s, + onInit: u, + onMove: c, + onMoveStart: d, + onMoveEnd: h, + onConnect: g, + onConnectStart: m, + onConnectEnd: b, + onClickConnectStart: C, + onClickConnectEnd: p, + onNodeMouseEnter: v, + onNodeMouseMove: y, + onNodeMouseLeave: E, + onNodeContextMenu: x, + onNodeDoubleClick: A, + onNodeDragStart: T, + onNodeDrag: k, + onNodeDragStop: R, + onNodesDelete: L, + onEdgesDelete: I, + onSelectionChange: W, + onSelectionDragStart: B, + onSelectionDrag: w, + onSelectionDragStop: N, + onSelectionContextMenu: S, + onSelectionStart: D, + onSelectionEnd: j, + connectionMode: O = Mn.Strict, + connectionLineType: M = rn.Bezier, + connectionLineStyle: F, + connectionLineComponent: z, + connectionLineContainerStyle: $, + deleteKeyCode: V = "Backspace", + selectionKeyCode: q = "Shift", + selectionOnDrag: K = !1, + selectionMode: X = Fo.Full, + panActivationKeyCode: J = "Space", + multiSelectionKeyCode: te = Yr() ? "Meta" : "Control", + zoomActivationKeyCode: Z = Yr() ? "Meta" : "Control", + snapToGrid: se = !1, + snapGrid: G = up, + onlyRenderVisibleElements: ye = !1, + selectNodesOnDrag: je = !0, + nodesDraggable: Ee, + nodesConnectable: Be, + nodesFocusable: xe, + nodeOrigin: oe = cp, + edgesFocusable: He, + edgesUpdatable: Ot, + elementsSelectable: dn, + defaultViewport: Et = dp, + minZoom: Yt = 0.5, + maxZoom: gt = 2, + translateExtent: Lt = D1, + preventScrolling: _t = !0, + nodeExtent: Qe, + defaultMarkerColor: Gt = "#b1b1b7", + zoomOnScroll: jt = !0, + zoomOnPinch: Kt = !0, + panOnScroll: Oe = !1, + panOnScrollSpeed: et = 0.5, + panOnScrollMode: Rt = yn.Free, + zoomOnDoubleClick: Ht = !0, + panOnDrag: Ft = !0, + onPaneClick: ht, + onPaneMouseEnter: rt, + onPaneMouseMove: fn, + onPaneMouseLeave: gn, + onPaneScroll: Xt, + onPaneContextMenu: St, + children: Dn, + onEdgeContextMenu: pt, + onEdgeDoubleClick: Qo, + onEdgeMouseEnter: _a, + onEdgeMouseMove: er, + onEdgeMouseLeave: Sa, + onEdgeUpdate: tr, + onEdgeUpdateStart: nr, + onEdgeUpdateEnd: ka, + onReconnect: Aa, + onReconnectStart: or, + onReconnectEnd: rr, + reconnectRadius: Ma = 10, + edgeUpdaterRadius: Ta = 10, + onNodesChange: Na, + onEdgesChange: Da, + noDragClassName: H = "nodrag", + noWheelClassName: Y = "nowheel", + noPanClassName: ee = "nopan", + fitView: ie = !1, + fitViewOptions: he, + connectOnClick: ve = !0, + attributionPosition: ge, + proOptions: ue, + defaultEdgeOptions: ze, + elevateNodesOnSelect: Ae = !0, + elevateEdgesOnSelect: Te = !1, + disableKeyboardA11y: Ze = !1, + autoPanOnConnect: Jt = !0, + autoPanOnNodeDrag: It = !0, + connectionRadius: Ve = 20, + isValidConnection: lo, + onError: Oa, + style: La, + id: Ul, + nodeDragThreshold: Sd, + ...kd + }, + Ad, + ) => { + const ja = Ul || "1"; + return P.createElement( + "div", + { + ...kd, + style: { ...La, ...fp }, + ref: Ad, + className: Ke(["react-flow", r]), + "data-testid": "rf__wrapper", + id: Ul, + }, + P.createElement( + Vu, + null, + P.createElement(ap, { + onInit: u, + onMove: c, + onMoveStart: d, + onMoveEnd: h, + onNodeClick: l, + onEdgeClick: s, + onNodeMouseEnter: v, + onNodeMouseMove: y, + onNodeMouseLeave: E, + onNodeContextMenu: x, + onNodeDoubleClick: A, + nodeTypes: a, + edgeTypes: i, + connectionLineType: M, + connectionLineStyle: F, + connectionLineComponent: z, + connectionLineContainerStyle: $, + selectionKeyCode: q, + selectionOnDrag: K, + selectionMode: X, + deleteKeyCode: V, + multiSelectionKeyCode: te, + panActivationKeyCode: J, + zoomActivationKeyCode: Z, + onlyRenderVisibleElements: ye, + selectNodesOnDrag: je, + defaultViewport: Et, + translateExtent: Lt, + minZoom: Yt, + maxZoom: gt, + preventScrolling: _t, + zoomOnScroll: jt, + zoomOnPinch: Kt, + zoomOnDoubleClick: Ht, + panOnScroll: Oe, + panOnScrollSpeed: et, + panOnScrollMode: Rt, + panOnDrag: Ft, + onPaneClick: ht, + onPaneMouseEnter: rt, + onPaneMouseMove: fn, + onPaneMouseLeave: gn, + onPaneScroll: Xt, + onPaneContextMenu: St, + onSelectionContextMenu: S, + onSelectionStart: D, + onSelectionEnd: j, + onEdgeContextMenu: pt, + onEdgeDoubleClick: Qo, + onEdgeMouseEnter: _a, + onEdgeMouseMove: er, + onEdgeMouseLeave: Sa, + onReconnect: Aa ?? tr, + onReconnectStart: or ?? nr, + onReconnectEnd: rr ?? ka, + reconnectRadius: Ma ?? Ta, + defaultMarkerColor: Gt, + noDragClassName: H, + noWheelClassName: Y, + noPanClassName: ee, + elevateEdgesOnSelect: Te, + rfId: ja, + disableKeyboardA11y: Ze, + nodeOrigin: oe, + nodeExtent: Qe, + }), + P.createElement(th, { + nodes: e, + edges: t, + defaultNodes: n, + defaultEdges: o, + onConnect: g, + onConnectStart: m, + onConnectEnd: b, + onClickConnectStart: C, + onClickConnectEnd: p, + nodesDraggable: Ee, + nodesConnectable: Be, + nodesFocusable: xe, + edgesFocusable: He, + edgesUpdatable: Ot, + elementsSelectable: dn, + elevateNodesOnSelect: Ae, + minZoom: Yt, + maxZoom: gt, + nodeExtent: Qe, + onNodesChange: Na, + onEdgesChange: Da, + snapToGrid: se, + snapGrid: G, + connectionMode: O, + translateExtent: Lt, + connectOnClick: ve, + defaultEdgeOptions: ze, + fitView: ie, + fitViewOptions: he, + onNodesDelete: L, + onEdgesDelete: I, + onNodeDragStart: T, + onNodeDrag: k, + onNodeDragStop: R, + onSelectionDrag: w, + onSelectionDragStart: B, + onSelectionDragStop: N, + noPanClassName: ee, + nodeOrigin: oe, + rfId: ja, + autoPanOnConnect: Jt, + autoPanOnNodeDrag: It, + onError: Oa, + connectionRadius: Ve, + isValidConnection: lo, + nodeDragThreshold: Sd, + }), + P.createElement(Qg, { onSelectionChange: W }), + Dn, + P.createElement(kg, { proOptions: ue, position: ge }), + P.createElement(ih, { rfId: ja, disableKeyboardA11y: Ze }), + ), + ); + }, + ); +ya.displayName = "ReactFlow"; +function gp() { + return P.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, + P.createElement("path", { + d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z", + }), + ); } -function xh(e, t) { - return vh(e, t); +function hp() { + return P.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, + P.createElement("path", { d: "M0 0h32v4.2H0z" }), + ); } -const on = (e, t) => ({ - id: e, - type: "select", - selected: t -}); -function In(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 pp() { + return P.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, + P.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", + }), + ); } -const Yi = (e, t) => (n) => { - n.target === t.current && (e == null || e(n)); -}, wh = (e) => ({ - userSelectionActive: e.userSelectionActive, - elementsSelectable: e.elementsSelectable, - dragging: e.paneDragging -}), Du = De(({ isSelecting: e, selectionMode: t = Fo.Full, panOnDrag: n, onSelectionStart: o, onSelectionEnd: r, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: s, onPaneMouseMove: u, onPaneMouseLeave: c, children: d }) => { - const h = le(null), g = Ie(), m = le(0), b = le(0), C = le(), { userSelectionActive: p, elementsSelectable: v, dragging: y } = Me(wh, Pe), E = () => { - g.setState({ userSelectionActive: !1, userSelectionRect: null }), m.current = 0, b.current = 0; - }, x = (B) => { - a == null || a(B), g.getState().resetSelectedElements(), g.setState({ nodesSelectionActive: !1 }); - }, A = (B) => { - if (Array.isArray(n) && (n != null && n.includes(2))) { - B.preventDefault(); - return; - } - i == null || i(B); - }, T = l ? (B) => l(B) : void 0, k = (B) => { - const { resetSelectedElements: w, domNode: N } = g.getState(); - if (C.current = N == null ? void 0 : N.getBoundingClientRect(), !v || !e || B.button !== 0 || B.target !== h.current || !C.current) - return; - const { x: S, y: D } = ln(B, C.current); - w(), g.setState({ - userSelectionRect: { - width: 0, - height: 0, - startX: S, - startY: D, - x: S, - y: D - } - }), o == null || o(B); - }, R = (B) => { - const { userSelectionRect: w, nodeInternals: N, edges: S, transform: D, onNodesChange: j, onEdgesChange: O, nodeOrigin: M, getNodes: F } = g.getState(); - if (!e || !C.current || !w) - return; - g.setState({ userSelectionActive: !0, nodesSelectionActive: !1 }); - const z = ln(B, C.current), $ = w.startX ?? 0, V = w.startY ?? 0, q = { - ...w, - x: z.x < $ ? z.x : $, - y: z.y < V ? z.y : V, - width: Math.abs(z.x - $), - height: Math.abs(z.y - V) - }, K = F(), X = gu(N, q, D, t === Fo.Partial, !0, M), J = hu(X, S).map((Z) => Z.id), te = X.map((Z) => Z.id); - if (m.current !== te.length) { - m.current = te.length; - const Z = In(K, te); - Z.length && (j == null || j(Z)); - } - if (b.current !== J.length) { - b.current = J.length; - const Z = In(S, J); - Z.length && (O == null || O(Z)); - } - g.setState({ - userSelectionRect: q - }); - }, L = (B) => { - if (B.button !== 0) - return; - const { userSelectionRect: w } = g.getState(); - !p && w && B.target === h.current && (x == null || x(B)), g.setState({ nodesSelectionActive: m.current > 0 }), E(), r == null || r(B); - }, I = (B) => { - p && (g.setState({ nodesSelectionActive: m.current > 0 }), r == null || r(B)), E(); - }, W = v && (e || p); +function mp() { return P.createElement( - "div", - { className: Ke(["react-flow__pane", { dragging: y, selection: e }]), onClick: W ? void 0 : Yi(x, h), onContextMenu: Yi(A, h), onWheel: Yi(T, h), onMouseEnter: W ? void 0 : s, onMouseDown: W ? k : void 0, onMouseMove: W ? R : u, onMouseUp: W ? L : void 0, onMouseLeave: W ? I : c, ref: h, style: kl }, - d, - P.createElement(yh, null) + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, + P.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", + }), ); -}); -Du.displayName = "Pane"; -function Ou(e, t) { - const n = e.parentNode || e.parentId; - if (!n) - return !1; - const o = t.get(n); - return o ? o.selected ? !0 : Ou(o, t) : !1; } -function rc(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 bp() { + return P.createElement( + "svg", + { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, + P.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", + }), + ); } -function Eh(e, t, n, o) { - return Array.from(e.values()).filter((r) => (r.selected || r.id === o) && (!r.parentNode || r.parentId || !Ou(r, e)) && (r.draggable || t && typeof r.draggable > "u")).map((r) => { - var a, i; - return { - id: r.id, - position: r.position || { x: 0, y: 0 }, - positionAbsolute: r.positionAbsolute || { x: 0, y: 0 }, - distance: { - x: n.x - (((a = r.positionAbsolute) == null ? void 0 : a.x) ?? 0), - y: n.y - (((i = r.positionAbsolute) == null ? void 0 : i.y) ?? 0) +const xo = ({ children: e, className: t, ...n }) => + P.createElement( + "button", + { type: "button", className: Ke(["react-flow__controls-button", t]), ...n }, + e, + ); +xo.displayName = "ControlButton"; +const Cp = (e) => ({ + isInteractive: + e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, + minZoomReached: e.transform[2] <= e.minZoom, + maxZoomReached: e.transform[2] >= e.maxZoom, + }), + Wu = ({ + style: e, + showZoom: t = !0, + showFitView: n = !0, + showInteractive: o = !0, + fitViewOptions: r, + onZoomIn: a, + onZoomOut: i, + onFitView: l, + onInteractiveChange: s, + className: u, + children: c, + position: d = "bottom-left", + }) => { + const h = Ie(), + [g, m] = ae(!1), + { isInteractive: b, minZoomReached: C, maxZoomReached: p } = Me(Cp, Pe), + { zoomIn: v, zoomOut: y, fitView: E } = wt(); + if ( + (re(() => { + m(!0); + }, []), + !g) + ) + return null; + const x = () => { + v(), a == null || a(); }, - delta: { - x: 0, - y: 0 + A = () => { + y(), i == null || i(); }, - extent: r.extent, - parentNode: r.parentNode || r.parentId, - parentId: r.parentNode || r.parentId, - width: r.width, - height: r.height, - expandParent: r.expandParent - }; + T = () => { + E(r), l == null || l(); + }, + k = () => { + h.setState({ + nodesDraggable: !b, + nodesConnectable: !b, + elementsSelectable: !b, + }), + s == null || s(!b); + }; + return P.createElement( + nu, + { + className: Ke(["react-flow__controls", u]), + position: d, + style: e, + "data-testid": "rf__controls", + }, + t && + P.createElement( + P.Fragment, + null, + P.createElement( + xo, + { + onClick: x, + className: "react-flow__controls-zoomin", + title: "zoom in", + "aria-label": "zoom in", + disabled: p, + }, + P.createElement(gp, null), + ), + P.createElement( + xo, + { + onClick: A, + className: "react-flow__controls-zoomout", + title: "zoom out", + "aria-label": "zoom out", + disabled: C, + }, + P.createElement(hp, null), + ), + ), + n && + P.createElement( + xo, + { + className: "react-flow__controls-fitview", + onClick: T, + title: "fit view", + "aria-label": "fit view", + }, + P.createElement(pp, null), + ), + o && + P.createElement( + xo, + { + className: "react-flow__controls-interactive", + onClick: k, + title: "toggle interactivity", + "aria-label": "toggle interactivity", + }, + b ? P.createElement(bp, null) : P.createElement(mp, null), + ), + c, + ); + }; +Wu.displayName = "Controls"; +var Al = De(Wu), + yt; +(function (e) { + (e.Lines = "lines"), (e.Dots = "dots"), (e.Cross = "cross"); +})(yt || (yt = {})); +function yp({ color: e, dimensions: t, lineWidth: n }) { + return P.createElement("path", { + stroke: e, + strokeWidth: n, + d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}`, }); } -function _h(e, t) { - return !t || t === "parent" ? t : [t[0], [t[1][0] - (e.width || 0), t[1][1] - (e.height || 0)]]; +function vp({ color: e, radius: t }) { + return P.createElement("circle", { cx: t, cy: t, r: t, fill: e }); } -function Lu(e, t, n, o, r = [0, 0], a) { - const i = _h(e, e.extent || o); - let l = i; - 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: g } = $n(d, r).positionAbsolute; - l = d && st(h) && st(g) && st(d.width) && st(d.height) ? [ - [h + e.width * r[0], g + e.height * r[1]], - [ - h + d.width - e.width + e.width * r[0], - g + d.height - e.height + e.height * r[1] - ] - ] : l; - } else - a == null || a("005", vt.error005()), l = i; - else if (e.extent && s && e.extent !== "parent") { - const d = n.get(s), { x: h, y: g } = $n(d, r).positionAbsolute; - l = [ - [e.extent[0][0] + h, e.extent[0][1] + g], - [e.extent[1][0] + h, e.extent[1][1] + g] - ]; - } - let u = { x: 0, y: 0 }; - if (s) { - const d = n.get(s); - u = $n(d, r).positionAbsolute; - } - const c = l && l !== "parent" ? bl(t, l) : t; - return { - position: { - x: c.x - u.x, - y: c.y - u.y +const xp = { + [yt.Dots]: "#91919a", + [yt.Lines]: "#eee", + [yt.Cross]: "#e2e2e2", + }, + wp = { + [yt.Dots]: 1, + [yt.Lines]: 1, + [yt.Cross]: 6, + }, + Ep = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); +function $u({ + id: e, + variant: t = yt.Dots, + // only used for dots and cross + gap: n = 20, + // only used for lines and cross + size: o, + lineWidth: r = 1, + offset: a = 2, + color: i, + style: l, + className: s, +}) { + const u = le(null), + { transform: c, patternId: d } = Me(Ep, Pe), + h = i || xp[t], + g = o || wp[t], + m = t === yt.Dots, + b = t === yt.Cross, + C = Array.isArray(n) ? n : [n, n], + p = [C[0] * c[2] || 1, C[1] * c[2] || 1], + v = g * c[2], + y = b ? [v, v] : p, + E = m ? [v / a, v / a] : [y[0] / a, y[1] / a]; + return P.createElement( + "svg", + { + className: Ke(["react-flow__background", s]), + style: { + ...l, + position: "absolute", + width: "100%", + height: "100%", + top: 0, + left: 0, + }, + ref: u, + "data-testid": "rf__background", }, - positionAbsolute: c - }; -} -function Gi({ 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 ac = (e, t, n, o) => { - const r = t.querySelectorAll(e); - if (!r || !r.length) - return null; - const a = Array.from(r), i = t.getBoundingClientRect(), l = { - x: i.width * o[0], - y: i.height * o[1] - }; - return a.map((s) => { - const u = s.getBoundingClientRect(); - return { - id: s.getAttribute("data-handleid"), - position: s.getAttribute("data-handlepos"), - x: (u.left - i.left - l.x) / n, - y: (u.top - i.top - l.y) / n, - ...ml(s) - }; - }); -}; -function po(e, t, n) { - return n === void 0 ? n : (o) => { - const r = t().nodeInternals.get(e); - r && n(o, { ...r }); - }; -} -function N1({ id: e, store: t, unselect: n = !1, nodeRef: o }) { - const { addSelectedNodes: r, unselectNodesAndEdges: a, multiSelectionActive: i, nodeInternals: l, onError: s } = t.getState(), u = l.get(e); - if (!u) { - s == null || s("012", vt.error012(e)); - return; - } - t.setState({ nodesSelectionActive: !1 }), u.selected ? (n || u.selected && i) && (a({ nodes: [u], edges: [] }), requestAnimationFrame(() => { - var c; - return (c = o == null ? void 0 : o.current) == null ? void 0 : c.blur(); - })) : r([e]); + P.createElement( + "pattern", + { + id: d + e, + x: c[0] % p[0], + y: c[1] % p[1], + width: p[0], + height: p[1], + patternUnits: "userSpaceOnUse", + patternTransform: `translate(-${E[0]},-${E[1]})`, + }, + m + ? P.createElement(vp, { color: h, radius: v / a }) + : P.createElement(yp, { dimensions: y, color: h, lineWidth: r }), + ), + P.createElement("rect", { + x: "0", + y: "0", + width: "100%", + height: "100%", + fill: `url(#${d + e})`, + }), + ); } -function Sh() { - const e = Ie(); - return pe(({ sourceEvent: n }) => { - const { transform: o, snapGrid: r, snapToGrid: a } = e.getState(), i = n.touches ? n.touches[0].clientX : n.clientX, l = n.touches ? n.touches[0].clientY : n.clientY, s = { - x: (i - o[0]) / o[2], - y: (l - o[1]) / o[2] - }; +$u.displayName = "Background"; +var Ml = De($u); +const Zu = "columns", + Uu = "exposure", + qu = "tables", + _p = "feedback", + Yu = "settings", + Vt = "column-", + Gu = "see-more-", + Sp = 5, + kp = 100, + Xi = 100, + Ko = 300, + Un = 80, + Ap = 12, + Mp = Un, + Ku = 30, + gc = 4, + Tp = 280, + Np = 80, + Dp = 80, + Op = 250, + O1 = 0.05, + Xu = "#7A899E", + Tl = "#E38E00", + Nl = { + Original: "#FDD835", + Alias: "#40C8AE", + Transformation: "#FF754C", + Unchanged: "#BC3FBC", + "Not sure": "#247efe", + "Non select": "#BC3FBC", + }, + va = { + stroke: Xu, + strokeWidth: 1, + }, + Dl = { + stroke: Tl, + strokeWidth: 2, + }, + Ol = { + stroke: Tl, + strokeWidth: 1, + strokeDasharray: 10, + }, + Ju = { + type: "arrow", + strokeWidth: 1, + width: 24, + height: 24, + color: Xu, + }, + Qu = { + type: "arrow", + strokeWidth: 1, + width: 16, + height: 16, + color: Tl, + }, + lt = (e) => e.id.startsWith(Vt), + xr = (e) => e.id.startsWith(Gu), + cn = (e) => !e.id.startsWith(Vt), + Ll = (e, t, n, o, r, a = !1) => { + const [i, l] = r ? [n, o] : [o, n], + [s, u] = r ? L1(e, t, a) : L1(t, e, a); return { - xSnapped: a ? r[0] * Math.round(s.x / r[0]) : s.x, - ySnapped: a ? r[1] * Math.round(s.y / r[1]) : s.y, - ...s + id: `${i}-${l}`, + source: i, + target: l, + sourceHandle: s, + targetHandle: u, + style: va, + markerEnd: Ju, + type: n === o ? "selfConnecting" : e === t ? "smoothstep" : "default", }; - }, []); -} -function Ki(e) { - return (t, n, o) => e == null ? void 0 : e(t, o); -} -function ju({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: o, nodeId: r, isSelectable: a, selectNodesOnDrag: i }) { - const l = Ie(), [s, u] = ae(!1), c = le([]), d = le({ x: null, y: null }), h = le(0), g = le(null), m = le({ x: 0, y: 0 }), b = le(null), C = le(!1), p = le(!1), v = le(!1), y = Sh(); - return re(() => { - if (e != null && e.current) { - const E = bt(e.current), x = ({ x: k, y: R }) => { - const { nodeInternals: L, onNodeDrag: I, onSelectionDrag: W, updateNodePositions: B, nodeExtent: w, snapGrid: N, snapToGrid: S, nodeOrigin: D, onError: j } = l.getState(); - d.current = { x: k, y: R }; - let O = !1, M = { x: 0, y: 0, x2: 0, y2: 0 }; - if (c.current.length > 1 && w) { - const z = El(c.current, D); - M = Cl(z); - } - if (c.current = c.current.map((z) => { - const $ = { x: k - z.distance.x, y: R - z.distance.y }; - S && ($.x = N[0] * Math.round($.x / N[0]), $.y = N[1] * Math.round($.y / N[1])); - const V = [ - [w[0][0], w[0][1]], - [w[1][0], w[1][1]] - ]; - c.current.length > 1 && w && !z.extent && (V[0][0] = z.positionAbsolute.x - M.x + w[0][0], V[1][0] = z.positionAbsolute.x + (z.width ?? 0) - M.x2 + w[1][0], V[0][1] = z.positionAbsolute.y - M.y + w[0][1], V[1][1] = z.positionAbsolute.y + (z.height ?? 0) - M.y2 + w[1][1]); - const q = Lu(z, $, L, V, D, j); - return O = O || z.position.x !== q.position.x || z.position.y !== q.position.y, z.position = q.position, z.positionAbsolute = q.positionAbsolute, z; - }), !O) - return; - B(c.current, !0, !0), u(!0); - const F = r ? I : Ki(W); - if (F && b.current) { - const [z, $] = Gi({ - nodeId: r, - dragItems: c.current, - nodeInternals: L - }); - F(b.current, z, $); - } - }, A = () => { - if (!g.current) - return; - const [k, R] = ou(m.current, g.current); - if (k !== 0 || R !== 0) { - const { transform: L, panBy: I } = l.getState(); - d.current.x = (d.current.x ?? 0) - k / L[2], d.current.y = (d.current.y ?? 0) - R / L[2], I({ x: k, y: R }) && x(d.current); - } - h.current = requestAnimationFrame(A); - }, T = (k) => { - var D; - const { nodeInternals: R, multiSelectionActive: L, nodesDraggable: I, unselectNodesAndEdges: W, onNodeDragStart: B, onSelectionDragStart: w } = l.getState(); - p.current = !0; - const N = r ? B : Ki(w); - (!i || !a) && !L && r && ((D = R.get(r)) != null && D.selected || W()), r && a && i && N1({ - id: r, - store: l, - nodeRef: e - }); - const S = y(k); - if (d.current = S, c.current = Eh(R, I, S, r), N && c.current) { - const [j, O] = Gi({ - nodeId: r, - dragItems: c.current, - nodeInternals: R - }); - N(k.sourceEvent, j, O); - } - }; - if (t) - E.on(".drag", null); - else { - const k = O9().on("start", (R) => { - const { domNode: L, nodeDragThreshold: I } = l.getState(); - I === 0 && T(R), v.current = !1; - const W = y(R); - d.current = W, g.current = (L == null ? void 0 : L.getBoundingClientRect()) || null, m.current = ln(R.sourceEvent, g.current); - }).on("drag", (R) => { - var B, w; - const L = y(R), { autoPanOnNodeDrag: I, nodeDragThreshold: W } = l.getState(); - if (R.sourceEvent.type === "touchmove" && R.sourceEvent.touches.length > 1 && (v.current = !0), !v.current) { - if (!C.current && p.current && I && (C.current = !0, A()), !p.current) { - const N = L.xSnapped - (((B = d == null ? void 0 : d.current) == null ? void 0 : B.x) ?? 0), S = L.ySnapped - (((w = d == null ? void 0 : d.current) == null ? void 0 : w.y) ?? 0); - Math.sqrt(N * N + S * S) > W && T(R); - } - (d.current.x !== L.xSnapped || d.current.y !== L.ySnapped) && c.current && p.current && (b.current = R.sourceEvent, m.current = ln(R.sourceEvent, g.current), x(L)); - } - }).on("end", (R) => { - if (!(!p.current || v.current) && (u(!1), C.current = !1, p.current = !1, cancelAnimationFrame(h.current), c.current)) { - const { updateNodePositions: L, nodeInternals: I, onNodeDragStop: W, onSelectionDragStop: B } = l.getState(), w = r ? W : Ki(B); - if (L(c.current, !1, !1), w) { - const [N, S] = Gi({ - nodeId: r, - dragItems: c.current, - nodeInternals: I - }); - w(R.sourceEvent, N, S); - } - } - }).filter((R) => { - const L = R.target; - return !R.button && (!n || !rc(L, `.${n}`, e)) && (!o || rc(L, o, e)); - }); - return E.call(k), () => { - E.on(".drag", null); - }; - } - } - }, [ - e, - t, - n, - o, - a, - l, - r, - i, - y - ]), s; -} -function Ru() { - const e = Ie(); - return pe((n) => { - const { nodeInternals: o, nodeExtent: r, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: s, onError: u, nodesDraggable: c } = e.getState(), d = i().filter((v) => v.selected && (v.draggable || c && typeof v.draggable > "u")), h = l ? s[0] : 5, g = l ? s[1] : 5, m = n.isShiftPressed ? 4 : 1, b = n.x * h * m, C = n.y * g * m, p = d.map((v) => { - if (v.positionAbsolute) { - const y = { x: v.positionAbsolute.x + b, y: v.positionAbsolute.y + C }; - l && (y.x = s[0] * Math.round(y.x / s[0]), y.y = s[1] * Math.round(y.y / s[1])); - const { positionAbsolute: E, position: x } = Lu(v, y, o, r, void 0, u); - v.position = x, v.positionAbsolute = E; - } - return v; + }, + to = (e, t, n) => ({ + id: e.table, + data: { ...e, level: t, parent: n }, + position: { x: 100, y: 100 }, + type: "table", + width: Ko, + height: Un, + }), + ed = (e, t, n, o) => ({ + id: e, + data: { ...o, level: t, parent: n, id: e }, + position: { x: 100, y: 100 }, + type: "operator", + width: Ko, + height: Un, + }), + Xr = (e, t, n, o, r) => ({ + id: zo(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: Ku, + }), + Jr = (e, t, n, o, r, a) => { + const i = xa(e, t), + [l, s] = L1(n, o, !1); + return { + id: i, + data: { type: r }, + source: e, + target: t, + sourceHandle: l, + targetHandle: s, + style: r === "direct" ? Dl : Ol, + zIndex: 1e3, + markerEnd: Qu, + type: n === o ? "smoothstep" : "default", + hidden: !a[r], + }; + }, + xa = (e, t) => Vt + `${e}-${t}`, + Qr = (e, t) => { + e.style = { opacity: t ? 1 : 0.5 }; + }, + no = (e, t) => { + var n; + (e.style = t + ? ((n = e.data) == null ? void 0 : n.type) === "indirect" + ? Ol + : Dl + : va), + (e.markerEnd = t ? Qu : Ju); + }, + L1 = (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"], + Lp = (e, t) => { + const n = {}; + e.forEach((a) => { + cn(a) && (n[a.id] = a.data.level); }); - a(p, !0, !1); - }, []); -} -const Zn = { - ArrowUp: { x: 0, y: -1 }, - ArrowDown: { x: 0, y: 1 }, - ArrowLeft: { x: -1, y: 0 }, - ArrowRight: { x: 1, y: 0 } -}; -var mo = (e) => { - const t = ({ id: n, type: o, data: r, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: s, selected: u, onClick: c, onMouseEnter: d, onMouseMove: h, onMouseLeave: g, onContextMenu: m, onDoubleClick: b, style: C, className: p, isDraggable: v, isSelectable: y, isConnectable: E, isFocusable: x, selectNodesOnDrag: A, sourcePosition: T, targetPosition: k, hidden: R, resizeObserver: L, dragHandle: I, zIndex: W, isParent: B, noDragClassName: w, noPanClassName: N, initialized: S, disableKeyboardA11y: D, ariaLabel: j, rfId: O, hasHandleBounds: M }) => { - const F = Ie(), z = le(null), $ = le(null), V = le(T), q = le(k), K = le(o), X = y || v || c || d || h || g, J = Ru(), te = po(n, F.getState, d), Z = po(n, F.getState, h), se = po(n, F.getState, g), G = po(n, F.getState, m), ye = po(n, F.getState, b), je = (xe) => { - const { nodeDragThreshold: oe } = F.getState(); - if (y && (!A || !v || oe > 0) && N1({ - id: n, - store: F, - nodeRef: z - }), c) { - const He = F.getState().nodeInternals.get(n); - He && c(xe, { ...He }); - } - }, Ee = (xe) => { - if (!S1(xe) && !D) - if (au.includes(xe.key) && y) { - const oe = xe.key === "Escape"; - N1({ - id: n, - store: F, - unselect: oe, - nodeRef: z + const o = {}; + e.filter((a) => a.type === "table").forEach((a) => (o[a.id] = !0)); + const r = {}; + for (const a of t) { + if (lt(a)) continue; + const i = o[a.source], + l = o[a.target]; + if (!(i && l)) { + if (i) { + e.find((u) => u.id === a.target).data.tables.forEach((u) => { + r[u.table] = a.target; }); - } else v && u && Object.prototype.hasOwnProperty.call(Zn, xe.key) && (F.setState({ - ariaLiveMessage: `Moved selected node ${xe.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~a}, y: ${~~i}` - }), J({ - x: Zn[xe.key].x, - y: Zn[xe.key].y, - isShiftPressed: xe.shiftKey - })); - }; - re(() => () => { - $.current && (L == null || L.unobserve($.current), $.current = null); - }, []), re(() => { - if (z.current && !R) { - const xe = z.current; - (!S || !M || $.current !== xe) && ($.current && (L == null || L.unobserve($.current)), L == null || L.observe(xe), $.current = xe); + continue; + } + l && + e + .find((u) => u.id === a.source) + .data.tables.forEach((u) => { + r[u.table] = a.source; + }); } - }, [R, S, M]), re(() => { - const xe = K.current !== o, oe = V.current !== T, He = q.current !== k; - z.current && (xe || oe || He) && (xe && (K.current = o), oe && (V.current = T), He && (q.current = k), F.getState().updateNodeDimensions([{ id: n, nodeElement: z.current, forceUpdate: !0 }])); - }, [n, o, T, k]); - const Be = ju({ - nodeRef: z, - disabled: R || !v, - noDragClassName: w, - handleSelector: I, - nodeId: n, - isSelectable: y, - selectNodesOnDrag: A + } + return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; + }, + zo = (e, t) => Vt + `${e}/${t}`, + ea = (e, t) => Gu + e + "-" + (t ? "1" : "0"), + hc = (e, t) => { + for (const n of e) if (n[0] === t[0] && n[1] === t[1]) return !0; + return !1; + }, + pc = (e, t, n) => { + (e[t] = e[t] || []), e[t].push(...n); + }, + Or = (e, t = 1) => e * (Ku + gc) + t * gc, + mc = (e, t) => (n) => e <= n && n <= t, + jp = (e, t) => (n) => e < n && n < t, + bc = (e, t) => { + const n = e.findIndex((o) => o.id === t); + n !== -1 && e.splice(n, 1); + }, + Cc = (e, t, n) => (e === -1 || n >= t ? t : n >= e ? n : e), + Po = (e, t, n = !0) => { + e.forEach((o) => { + lt(o) || ((o.hidden = !t), n && no(o, t)); }); - return R ? null : P.createElement( - "div", - { className: Ke([ - "react-flow__node", - `react-flow__node-${o}`, + }, + Bo = (e, t, n = !0) => { + e.forEach((o) => { + lt(o) && ((o.hidden = !t), n && no(o, t)); + }); + }; +function td(e) { + const t = /* @__PURE__ */ new Map(), + n = /* @__PURE__ */ new Map(); + for (const [a, i] of e) + t.has(a) || t.set(a, 0), + t.has(i) || t.set(i, 0), + t.set(i, t.get(i) + 1), + n.has(a) || n.set(a, 0), + n.has(i) || n.set(i, 0), + n.set(a, n.get(a) + 1); + const o = [], + r = []; + for (const [a, i] of t) i === 0 && o.push(a); + for (const [a, i] of n) i === 0 && r.push(a); + return { sources: o, sinks: r }; +} +const Rp = "_table_node_1n1a2_1", + Hp = "_header_1n1a2_8", + Fp = "_collapse_1n1a2_16", + Ip = "_selected_1n1a2_21", + zp = "_content_1n1a2_24", + Pp = "_table_header_1n1a2_37", + Bp = "_seed_1n1a2_47", + Vp = "_model_1n1a2_52", + Wp = "_source_1n1a2_57", + $p = "_exposure_1n1a2_62", + Zp = "_snapshot_1n1a2_67", + Up = "_metrics_1n1a2_72", + qp = "_macros_1n1a2_77", + Yp = "_analysis_1n1a2_82", + Gp = "_node_icon_1n1a2_87", + Kp = "_dialect_icon_1n1a2_99", + Xp = "_table_handle_1n1a2_107", + Jp = "_see_more_node_1n1a2_121", + Qp = "_table_card_1n1a2_132", + em = "_disabled_1n1a2_144", + tm = "_column_card_1n1a2_149", + nm = "_edit_icon_1n1a2_162", + om = "_active_1n1a2_170", + rm = "_expand_lineage_icon_1n1a2_174", + am = "_processing_div_1n1a2_187", + im = "_gif_img_1n1a2_190", + lm = "_card_1n1a2_195", + sm = "_column_node_1n1a2_210", + cm = "_column_name_1n1a2_221", + um = "_column_top_right_1n1a2_226", + dm = "_divider_1n1a2_234", + fm = "_table_details_header_1n1a2_240", + gm = "_verticle_divider_1n1a2_248", + hm = "_low_confidence_1n1a2_253", + pm = "_high_confidence_1n1a2_260", + mm = "_alert_icon_1n1a2_267", + bm = "_menu_card_1n1a2_273", + Cm = "_menu_card_container_1n1a2_278", + ym = "_table_details_tabs_1n1a2_285", + vm = "_tab_1n1a2_1", + xm = "_table_node_pill_1n1a2_305", + wm = "_icon_1n1a2_315", + Em = "_node-checkbox_1n1a2_322", + _m = "_non_select_node_checkbox_1n1a2_322", + Sm = "_select_node_checkbox_1n1a2_322", + km = "_node_extra_info_1n1a2_338", + Am = "_help_body_1n1a2_342", + Mm = "_feedback_body_1n1a2_346", + Tm = "_cancel_btn_1n1a2_349", + Nm = "_expand_nav_1n1a2_354", + Dm = "_expand_nav_btn_1n1a2_362", + Om = "_lineage_legend_1n1a2_389", + Lm = "_column_legend_1n1a2_406", + jm = "_dot_1n1a2_422", + Rm = "_model_views_type_1n1a2_434", + Hm = "_close_button_1n1a2_443", + Fm = "_op_node_1n1a2_456", + Im = "_light_mode_1n1a2_475", + zm = "_dark_mode_1n1a2_478", + Pm = "_highlighted_1n1a2_481", + Bm = "_cost_data_1n1a2_487", + Vm = "_op_type_text_1n1a2_502", + Wm = "_node_stats_1n1a2_505", + $m = "_savings-performance_1n1a2_521", + Zm = "_performance_1n1a2_521", + Um = "_savings_1n1a2_521", + qm = "_value_1n1a2_536", + Ym = "_percent_1n1a2_539", + Gm = "_static_table_node_1n1a2_554", + Km = "_details_btn_1n1a2_618", + Xm = "_enable_1n1a2_627", + Jm = "_disable_1n1a2_144", + Qm = "_code_editor_container_1n1a2_638", + eb = "_code_editor_1n1a2_638", + tb = "_tooltip_container_1n1a2_652", + nb = "_tooltip_text_1n1a2_658", + ob = "_views_type_badge_1n1a2_675", + rb = "_column_code_icon_1n1a2_706", + ab = "_edge_select_1n1a2_722", + ib = "_edge_non_select_1n1a2_732", + lb = "_modal_views_code_container_1n1a2_742", + sb = "_custom_node_code_block_1n1a2_747", + cb = "_reset_btn_1n1a2_759", + ub = "_error_tooltip_1n1a2_765", + U = { + table_node: Rp, + header: Hp, + collapse: Fp, + selected: Ip, + content: zp, + table_header: Pp, + seed: Bp, + model: Vp, + source: Wp, + exposure: $p, + snapshot: Zp, + metrics: Up, + macros: qp, + analysis: Yp, + node_icon: Gp, + dialect_icon: Kp, + table_handle: Xp, + see_more_node: Jp, + table_card: Qp, + disabled: em, + column_card: tm, + edit_icon: nm, + active: om, + expand_lineage_icon: rm, + processing_div: am, + gif_img: im, + card: lm, + column_node: sm, + default: "_default_1n1a2_218", + column_name: cm, + column_top_right: um, + divider: dm, + table_details_header: fm, + verticle_divider: gm, + low_confidence: hm, + high_confidence: pm, + alert_icon: mm, + menu_card: bm, + menu_card_container: Cm, + table_details_tabs: ym, + tab: vm, + table_node_pill: xm, + icon: wm, + "node-checkbox": "_node-checkbox_1n1a2_322", + nodeCheckbox: Em, + non_select_node_checkbox: _m, + select_node_checkbox: Sm, + node_extra_info: km, + help_body: Am, + feedback_body: Mm, + cancel_btn: Tm, + expand_nav: Nm, + expand_nav_btn: Dm, + lineage_legend: Om, + column_legend: Lm, + dot: jm, + model_views_type: Rm, + close_button: Hm, + op_node: Fm, + light_mode: Im, + dark_mode: zm, + highlighted: Pm, + cost_data: Bm, + op_type_text: Vm, + node_stats: Wm, + "savings-performance": "_savings-performance_1n1a2_521", + savingsPerformance: $m, + performance: Zm, + savings: Um, + value: qm, + percent: Ym, + static_table_node: Gm, + details_btn: Km, + enable: Xm, + disable: Jm, + code_editor_container: Qm, + code_editor: eb, + tooltip_container: tb, + tooltip_text: nb, + views_type_badge: ob, + column_code_icon: rb, + edge_select: ab, + edge_non_select: ib, + modal_views_code_container: lb, + custom_node_code_block: sb, + reset_btn: cb, + error_tooltip: ub, + }, + nd = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + od = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + xmlns: "http://www.w3.org/2000/svg", + width: "100%", + height: "100%", + viewBox: "0 0 15 15", + fill: "none", + ...e, + }, + /* @__PURE__ */ _.createElement("circle", { + cx: 7.5, + cy: 7.5, + r: 6.9, + stroke: "currentColor", + strokeWidth: 1.2, + }), + /* @__PURE__ */ _.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, + }), + ), + db = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 15, + height: 15, + viewBox: "0 0 11 10", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement( + "g", + { clipPath: "url(#clip0_19334_15206)" }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.createElement( + "defs", + null, + /* @__PURE__ */ _.createElement( + "clipPath", + { id: "clip0_19334_15206" }, + /* @__PURE__ */ _.createElement("rect", { + width: 10, + height: 10, + fill: "white", + transform: "translate(0.101318)", + }), + ), + ), + ), + fb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("path", { + d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", + fill: "currentColor", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", + fill: "currentColor", + }), + /* @__PURE__ */ _.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__ */ _.createElement("circle", { + cx: 8, + cy: 8.5, + r: 6.5, + stroke: "currentColor", + }), + ), + gb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + hb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + pb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.createElement("path", { + d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", + fill: "currentColor", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", + fill: "currentColor", + }), + /* @__PURE__ */ _.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", + }), + ), + mb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("path", { + d: "M5.33325 1.83398V3.83398", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M10.6667 1.83398V3.83398", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M2.33325 6.56055H13.6666", + stroke: "currentColor", + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.createElement("path", { + d: "M10.4955 9H10.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M10.4955 12H10.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M5.4955 9H5.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M5.4955 12H5.5045", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + bb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 17", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + wr = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Cb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + yb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + vb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + j1 = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 28 28", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + xb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + wb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement( + "g", + { clipPath: "url(#clip0_13119_16577)" }, + /* @__PURE__ */ _.createElement( + "mask", + { + id: "mask0_13119_16577", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 0, + y: 0, + width: 16, + height: 16, + }, + /* @__PURE__ */ _.createElement("path", { + d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", + fill: "white", + }), + ), + /* @__PURE__ */ _.createElement( + "g", + { mask: "url(#mask0_13119_16577)" }, + /* @__PURE__ */ _.createElement("path", { + d: "M0.46875 15.5312H15.5312", + stroke: "currentColor", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement( + "defs", + null, + /* @__PURE__ */ _.createElement( + "clipPath", + { id: "clip0_13119_16577" }, + /* @__PURE__ */ _.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + R1 = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement( + "g", + { clipPath: "url(#clip0_13132_13629)" }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement( + "defs", + null, + /* @__PURE__ */ _.createElement( + "clipPath", + { id: "clip0_13132_13629" }, + /* @__PURE__ */ _.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + Eb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 11, + height: 6, + viewBox: "0 0 11 6", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + _b = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 11, + height: 6, + viewBox: "0 0 11 6", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + jl = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement( + "g", + { id: "x-close" }, + /* @__PURE__ */ _.createElement("path", { + id: "Icon", + d: "M12 4L4 12M4 4L12 12", + stroke: "currentColor", + strokeWidth: 1.5, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + ), + ), + Sb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 10 10", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement( + "g", + { clipPath: "url(#clip0_8292_48040)" }, + /* @__PURE__ */ _.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__ */ _.createElement( + "defs", + null, + /* @__PURE__ */ _.createElement( + "clipPath", + { id: "clip0_8292_48040" }, + /* @__PURE__ */ _.createElement("rect", { + width: 10, + height: 10, + fill: "white", + transform: "translate(0 10) rotate(-90)", + }), + ), + ), + ), + kb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Ab = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Mb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 32, + height: 32, + rx: 5, + transform: "matrix(-1 0 0 1 32 0)", + fill: "#3F8CFF", + }), + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + Tb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 32, + height: 32, + viewBox: "0 0 32 32", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Nb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement( + "g", + { clipPath: "url(#clip0_17179_3800)" }, + /* @__PURE__ */ _.createElement( + "mask", + { + id: "mask0_17179_3800", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 0, + y: 0, + width: 16, + height: 16, + }, + /* @__PURE__ */ _.createElement("path", { + d: "M16 0H0V16H16V0Z", + fill: "white", + }), + ), + /* @__PURE__ */ _.createElement( + "g", + { mask: "url(#mask0_17179_3800)" }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { + d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", + fill: "currentColor", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", + fill: "currentColor", + }), + /* @__PURE__ */ _.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__ */ _.createElement( + "defs", + null, + /* @__PURE__ */ _.createElement( + "clipPath", + { id: "clip0_17179_3800" }, + /* @__PURE__ */ _.createElement("rect", { + width: 16, + height: 16, + fill: "white", + }), + ), + ), + ), + Db = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + rd = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 16, + height: 16, + viewBox: "0 0 16 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + Ob = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 17, + height: 16, + viewBox: "0 0 17 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + Lb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 17, + height: 16, + viewBox: "0 0 17 16", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + jb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#4D4F3B", + }), + /* @__PURE__ */ _.createElement( + "mask", { - // this is overwritable by passing `nopan` as a class name - [N]: v + id: "mask0_20572_494912", + style: { + maskType: "luminance", + }, + maskUnits: "userSpaceOnUse", + x: 11, + y: 7, + width: 14, + height: 14, }, - p, - { - selected: u, - selectable: y, - parent: B, - dragging: Be - } - ]), ref: z, style: { - zIndex: W, - transform: `translate(${l}px,${s}px)`, - pointerEvents: X ? "all" : "none", - visibility: S ? "visible" : "hidden", - ...C - }, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: te, onMouseMove: Z, onMouseLeave: se, onContextMenu: G, onClick: je, onDoubleClick: ye, onKeyDown: x ? Ee : void 0, tabIndex: x ? 0 : void 0, role: x ? "button" : void 0, "aria-describedby": D ? void 0 : `${ku}-${O}`, "aria-label": j }, - P.createElement( - Fg, - { value: n }, - P.createElement(e, { id: n, data: r, type: o, xPos: a, yPos: i, selected: u, isConnectable: E, sourcePosition: T, targetPosition: k, dragging: Be, dragHandle: I, zIndex: W }) - ) - ); - }; - return t.displayName = "NodeWrapper", De(t); -}; -const kh = (e) => { - const t = e.getNodes().filter((n) => n.selected); - return { - ...El(t, e.nodeOrigin), - transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, - userSelectionActive: e.userSelectionActive - }; -}; -function Ah({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) { - const o = Ie(), { width: r, height: a, x: i, y: l, transformString: s, userSelectionActive: u } = Me(kh, Pe), c = Ru(), d = le(null); - if (re(() => { - var m; - n || (m = d.current) == null || m.focus({ - preventScroll: !0 - }); - }, [n]), ju({ - nodeRef: d - }), u || !r || !a) - return null; - const h = e ? (m) => { - const b = o.getState().getNodes().filter((C) => C.selected); - e(m, b); - } : void 0, g = (m) => { - Object.prototype.hasOwnProperty.call(Zn, m.key) && c({ - x: Zn[m.key].x, - y: Zn[m.key].y, - isShiftPressed: m.shiftKey - }); - }; - return P.createElement( - "div", - { className: Ke(["react-flow__nodesselection", "react-flow__container", t]), style: { - transform: s - } }, - P.createElement("div", { ref: d, className: "react-flow__nodesselection-rect", onContextMenu: h, tabIndex: n ? void 0 : -1, onKeyDown: n ? void 0 : g, style: { - width: r, - height: a, - top: l, - left: i - } }) - ); -} -var Mh = De(Ah); -const Th = (e) => e.nodesSelectionActive, Hu = ({ children: e, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: a, onPaneScroll: i, deleteKeyCode: l, onMove: s, onMoveStart: u, onMoveEnd: c, selectionKeyCode: d, selectionOnDrag: h, selectionMode: g, onSelectionStart: m, onSelectionEnd: b, multiSelectionKeyCode: C, panActivationKeyCode: p, zoomActivationKeyCode: v, elementsSelectable: y, zoomOnScroll: E, zoomOnPinch: x, panOnScroll: A, panOnScrollSpeed: T, panOnScrollMode: k, zoomOnDoubleClick: R, panOnDrag: L, defaultViewport: I, translateExtent: W, minZoom: B, maxZoom: w, preventScrolling: N, onSelectionContextMenu: S, noWheelClassName: D, noPanClassName: j, disableKeyboardA11y: O }) => { - const M = Me(Th), F = Io(d), z = Io(p), $ = z || L, V = z || A, q = F || h && $ !== !0; - return gh({ deleteKeyCode: l, multiSelectionKeyCode: C }), P.createElement( - bh, - { onMove: s, onMoveStart: u, onMoveEnd: c, onPaneContextMenu: a, elementsSelectable: y, zoomOnScroll: E, zoomOnPinch: x, panOnScroll: V, panOnScrollSpeed: T, panOnScrollMode: k, zoomOnDoubleClick: R, panOnDrag: !F && $, defaultViewport: I, translateExtent: W, minZoom: B, maxZoom: w, zoomActivationKeyCode: v, preventScrolling: N, noWheelClassName: D, noPanClassName: j }, - P.createElement( - Du, - { onSelectionStart: m, onSelectionEnd: b, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: o, onPaneMouseLeave: r, onPaneContextMenu: a, onPaneScroll: i, panOnDrag: $, isSelecting: !!q, selectionMode: g }, - e, - M && P.createElement(Mh, { onSelectionContextMenu: S, noPanClassName: j, disableKeyboardA11y: O }) - ) - ); -}; -Hu.displayName = "FlowRenderer"; -var Nh = De(Hu); -function Dh(e) { - return Me(pe((n) => e ? gu(n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, !0) : n.getNodes(), [e])); -} -function Oh(e) { - const t = { - input: mo(e.input || wu), - default: mo(e.default || T1), - output: mo(e.output || _u), - group: mo(e.group || Sl) - }, n = {}, o = Object.keys(e).filter((r) => !["input", "default", "output", "group"].includes(r)).reduce((r, a) => (r[a] = mo(e[a] || T1), r), n); - return { - ...t, - ...o - }; -} -const Lh = ({ 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] -}, jh = (e) => ({ - nodesDraggable: e.nodesDraggable, - nodesConnectable: e.nodesConnectable, - nodesFocusable: e.nodesFocusable, - elementsSelectable: e.elementsSelectable, - updateNodeDimensions: e.updateNodeDimensions, - onError: e.onError -}), Fu = (e) => { - const { nodesDraggable: t, nodesConnectable: n, nodesFocusable: o, elementsSelectable: r, updateNodeDimensions: a, onError: i } = Me(jh, Pe), l = Dh(e.onlyRenderVisibleElements), s = le(), u = _e(() => { - if (typeof ResizeObserver > "u") - return null; - const c = new ResizeObserver((d) => { - const h = d.map((g) => ({ - id: g.target.getAttribute("data-id"), - nodeElement: g.target, - forceUpdate: !0 - })); - a(h); - }); - return s.current = c, c; - }, []); - return re(() => () => { - var c; - (c = s == null ? void 0 : s.current) == null || c.disconnect(); - }, []), P.createElement("div", { className: "react-flow__nodes", style: kl }, l.map((c) => { - var x, A, T; - let d = c.type || "default"; - e.nodeTypes[d] || (i == null || i("003", vt.error003(d)), d = "default"); - const h = e.nodeTypes[d] || e.nodeTypes.default, g = !!(c.draggable || t && typeof c.draggable > "u"), m = !!(c.selectable || r && typeof c.selectable > "u"), b = !!(c.connectable || n && typeof c.connectable > "u"), C = !!(c.focusable || o && typeof c.focusable > "u"), p = e.nodeExtent ? bl(c.positionAbsolute, e.nodeExtent) : c.positionAbsolute, v = (p == null ? void 0 : p.x) ?? 0, y = (p == null ? void 0 : p.y) ?? 0, E = Lh({ - x: v, - y, - width: c.width ?? 0, - height: c.height ?? 0, - origin: e.nodeOrigin - }); - return P.createElement(h, { key: c.id, id: c.id, className: c.className, style: c.style, type: d, data: c.data, sourcePosition: c.sourcePosition || ne.Bottom, targetPosition: c.targetPosition || ne.Top, hidden: c.hidden, xPos: v, yPos: y, 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: g, isSelectable: m, isConnectable: b, isFocusable: C, resizeObserver: u, dragHandle: c.dragHandle, zIndex: ((x = c[Ne]) == null ? void 0 : x.z) ?? 0, isParent: !!((A = c[Ne]) != null && A.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!c.width && !!c.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: c.ariaLabel, hasHandleBounds: !!((T = c[Ne]) != null && T.handleBounds) }); - })); -}; -Fu.displayName = "NodeRenderer"; -var Rh = De(Fu); -const Hh = (e, t, n) => n === ne.Left ? e - t : n === ne.Right ? e + t : e, Fh = (e, t, n) => n === ne.Top ? e - t : n === ne.Bottom ? e + t : e, ic = "react-flow__edgeupdater", lc = ({ position: e, centerX: t, centerY: n, radius: o = 10, onMouseDown: r, onMouseEnter: a, onMouseOut: i, type: l }) => P.createElement("circle", { onMouseDown: r, onMouseEnter: a, onMouseOut: i, className: Ke([ic, `${ic}-${l}`]), cx: Hh(t, o, e), cy: Fh(n, o, e), r: o, stroke: "transparent", fill: "transparent" }), Ih = () => !0; -var Fn = (e) => { - const t = ({ id: n, className: o, type: r, data: a, onClick: i, onEdgeDoubleClick: l, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: h, labelBgStyle: g, labelBgPadding: m, labelBgBorderRadius: b, style: C, source: p, target: v, sourceX: y, sourceY: E, targetX: x, targetY: A, sourcePosition: T, targetPosition: k, elementsSelectable: R, hidden: L, sourceHandleId: I, targetHandleId: W, onContextMenu: B, onMouseEnter: w, onMouseMove: N, onMouseLeave: S, reconnectRadius: D, onReconnect: j, onReconnectStart: O, onReconnectEnd: M, markerEnd: F, markerStart: z, rfId: $, ariaLabel: V, isFocusable: q, isReconnectable: K, pathOptions: X, interactionWidth: J, disableKeyboardA11y: te }) => { - const Z = le(null), [se, G] = ae(!1), [ye, je] = ae(!1), Ee = Ie(), Be = _e(() => `url('#${A1(z, $)}')`, [z, $]), xe = _e(() => `url('#${A1(F, $)}')`, [F, $]); - if (L) - return null; - const oe = (Oe) => { - var rt; - const { edges: et, addSelectedEdges: Rt, unselectNodesAndEdges: Ht, multiSelectionActive: Ft } = Ee.getState(), ht = et.find((fn) => fn.id === n); - ht && (R && (Ee.setState({ nodesSelectionActive: !1 }), ht.selected && Ft ? (Ht({ nodes: [], edges: [ht] }), (rt = Z.current) == null || rt.blur()) : Rt([n])), i && i(Oe, ht)); - }, He = ho(n, Ee.getState, l), Ot = ho(n, Ee.getState, B), dn = ho(n, Ee.getState, w), Et = ho(n, Ee.getState, N), Yt = ho(n, Ee.getState, S), gt = (Oe, et) => { - if (Oe.button !== 0) - return; - const { edges: Rt, isValidConnection: Ht } = Ee.getState(), Ft = et ? v : p, ht = (et ? W : I) || null, rt = et ? "target" : "source", fn = Ht || Ih, gn = et, Xt = Rt.find((pt) => pt.id === n); - je(!0), O == null || O(Oe, Xt, rt); - const St = (pt) => { - je(!1), M == null || M(pt, Xt, rt); - }; - Cu({ - event: Oe, - handleId: ht, - nodeId: Ft, - onConnect: (pt) => j == null ? void 0 : j(Xt, pt), - isTarget: gn, - getState: Ee.getState, - setState: Ee.setState, - isValidConnection: fn, - edgeUpdaterType: rt, - onReconnectEnd: St - }); - }, Lt = (Oe) => gt(Oe, !0), _t = (Oe) => gt(Oe, !1), Qe = () => G(!0), Gt = () => G(!1), jt = !R && !i, Kt = (Oe) => { - var et; - if (!te && au.includes(Oe.key) && R) { - const { unselectNodesAndEdges: Rt, addSelectedEdges: Ht, edges: Ft } = Ee.getState(); - Oe.key === "Escape" ? ((et = Z.current) == null || et.blur(), Rt({ edges: [Ft.find((rt) => rt.id === n)] })) : Ht([n]); - } - }; - return P.createElement( - "g", - { className: Ke([ - "react-flow__edge", - `react-flow__edge-${r}`, - o, - { selected: s, animated: u, inactive: jt, updating: se } - ]), onClick: oe, onDoubleClick: He, onContextMenu: Ot, onMouseEnter: dn, onMouseMove: Et, onMouseLeave: Yt, onKeyDown: q ? Kt : void 0, tabIndex: q ? 0 : void 0, role: q ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": V === null ? void 0 : V || `Edge from ${p} to ${v}`, "aria-describedby": q ? `${Au}-${$}` : void 0, ref: Z }, - !ye && P.createElement(e, { id: n, source: p, target: v, selected: s, animated: u, label: c, labelStyle: d, labelShowBg: h, labelBgStyle: g, labelBgPadding: m, labelBgBorderRadius: b, data: a, style: C, sourceX: y, sourceY: E, targetX: x, targetY: A, sourcePosition: T, targetPosition: k, sourceHandleId: I, targetHandleId: W, markerStart: Be, markerEnd: xe, pathOptions: X, interactionWidth: J }), - K && P.createElement( - P.Fragment, - null, - (K === "source" || K === !0) && P.createElement(lc, { position: T, centerX: y, centerY: E, radius: D, onMouseDown: Lt, onMouseEnter: Qe, onMouseOut: Gt, type: "source" }), - (K === "target" || K === !0) && P.createElement(lc, { position: k, centerX: x, centerY: A, radius: D, onMouseDown: _t, onMouseEnter: Qe, onMouseOut: Gt, type: "target" }) - ) - ); - }; - return t.displayName = "EdgeWrapper", De(t); -}; -function zh(e) { - const t = { - default: Fn(e.default || Kr), - straight: Fn(e.bezier || xl), - step: Fn(e.step || vl), - smoothstep: Fn(e.step || Ca), - simplebezier: Fn(e.simplebezier || yl) - }, n = {}, o = Object.keys(e).filter((r) => !["default", "bezier"].includes(r)).reduce((r, a) => (r[a] = Fn(e[a] || Kr), r), n); - return { - ...t, - ...o - }; -} -function sc(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, a = (n == null ? void 0 : n.width) || t.width, i = (n == null ? void 0 : n.height) || t.height; - switch (e) { - case ne.Top: - return { - x: o + a / 2, - y: r - }; - case ne.Right: - return { - x: o + a, - y: r + i / 2 - }; - case ne.Bottom: - return { - x: o + a / 2, - y: r + i - }; - case ne.Left: - return { - x: o, - y: r + i / 2 - }; - } -} -function cc(e, t) { - return e ? e.length === 1 || !t ? e[0] : t && e.find((n) => n.id === t) || null : null; -} -const Ph = (e, t, n, o, r, a) => { - const i = sc(n, e, t), l = sc(a, o, r); - return { - sourceX: i.x, - sourceY: i.y, - targetX: l.x, - targetY: l.y - }; -}; -function Bh({ sourcePos: e, targetPos: t, sourceWidth: n, sourceHeight: o, targetWidth: r, targetHeight: a, width: i, 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 + a) - }; - u.x === u.x2 && (u.x2 += 1), u.y === u.y2 && (u.y2 += 1); - const c = Cl({ - x: (0 - s[0]) / s[2], - y: (0 - s[1]) / s[2], - width: i / 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 uc(e) { - var o, r, a, i, l; - const t = ((o = e == null ? void 0 : e[Ne]) == 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 ((a = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : a.y) < "u"; - return [ - { - x: ((i = e == null ? void 0 : e.positionAbsolute) == null ? void 0 : i.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 Vh = [{ level: 0, isMaxLevel: !0, edges: [] }]; -function Wh(e, t, n = !1) { - let o = -1; - const r = e.reduce((i, l) => { - var c, d; - const s = st(l.zIndex); - let u = s ? l.zIndex : 0; - if (n) { - const h = t.get(l.target), g = t.get(l.source), m = l.selected || (h == null ? void 0 : h.selected) || (g == null ? void 0 : g.selected), b = Math.max(((c = g == null ? void 0 : g[Ne]) == null ? void 0 : c.z) || 0, ((d = h == null ? void 0 : h[Ne]) == null ? void 0 : d.z) || 0, 1e3); - u = (s ? l.zIndex : 0) + (m ? b : 0); - } - return i[u] ? i[u].push(l) : i[u] = [l], o = u > o ? u : o, i; - }, {}), a = Object.entries(r).map(([i, l]) => { - const s = +i; - return { - edges: l, - level: s, - isMaxLevel: s === o - }; - }); - return a.length === 0 ? Vh : a; -} -function $h(e, t, n) { - const o = Me(pe((r) => e ? r.edges.filter((a) => { - const i = t.get(a.source), l = t.get(a.target); - return (i == null ? void 0 : i.width) && (i == null ? void 0 : i.height) && (l == null ? void 0 : l.width) && (l == null ? void 0 : l.height) && Bh({ - sourcePos: i.positionAbsolute || { x: 0, y: 0 }, - targetPos: l.positionAbsolute || { x: 0, y: 0 }, - sourceWidth: i.width, - sourceHeight: i.height, - targetWidth: l.width, - targetHeight: l.height, - width: r.width, - height: r.height, - transform: r.transform - }); - }) : r.edges, [e, t])); - return Wh(o, t, n); -} -const Zh = ({ color: e = "none", strokeWidth: t = 1 }) => P.createElement("polyline", { style: { - stroke: e, - strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", fill: "none", points: "-5,-4 0,0 -5,4" }), Uh = ({ color: e = "none", strokeWidth: t = 1 }) => P.createElement("polyline", { style: { - stroke: e, - fill: e, - strokeWidth: t -}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), dc = { - [Gr.Arrow]: Zh, - [Gr.ArrowClosed]: Uh -}; -function qh(e) { - const t = Ie(); - return _e(() => { - var r, a; - return Object.prototype.hasOwnProperty.call(dc, e) ? dc[e] : ((a = (r = t.getState()).onError) == null || a.call(r, "009", vt.error009(e)), null); - }, [e]); -} -const Yh = ({ id: e, type: t, color: n, width: o = 12.5, height: r = 12.5, markerUnits: a = "strokeWidth", strokeWidth: i, orient: l = "auto-start-reverse" }) => { - const s = qh(t); - return s ? P.createElement( - "marker", - { className: "react-flow__arrowhead", id: e, markerWidth: `${o}`, markerHeight: `${r}`, viewBox: "-10 -10 20 20", markerUnits: a, orient: l, refX: "0", refY: "0" }, - P.createElement(s, { color: n, strokeWidth: i }) - ) : null; -}, Gh = ({ defaultColor: e, rfId: t }) => (n) => { - const o = []; - return n.edges.reduce((r, a) => ([a.markerStart, a.markerEnd].forEach((i) => { - if (i && typeof i == "object") { - const l = A1(i, t); - o.includes(l) || (r.push({ id: l, color: i.color || e, ...i }), o.push(l)); - } - }), r), []).sort((r, a) => r.id.localeCompare(a.id)); -}, Iu = ({ defaultColor: e, rfId: t }) => { - const n = Me( - pe(Gh({ 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((a, i) => a.id !== r[i].id)) - ); - return P.createElement("defs", null, n.map((o) => P.createElement(Yh, { 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 }))); -}; -Iu.displayName = "MarkerDefinitions"; -var Kh = De(Iu); -const Xh = (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 -}), zu = ({ defaultMarkerColor: e, onlyRenderVisibleElements: t, elevateEdgesOnSelect: n, rfId: o, edgeTypes: r, noPanClassName: a, onEdgeContextMenu: i, onEdgeMouseEnter: l, onEdgeMouseMove: s, onEdgeMouseLeave: u, onEdgeClick: c, onEdgeDoubleClick: d, onReconnect: h, onReconnectStart: g, onReconnectEnd: m, reconnectRadius: b, children: C, disableKeyboardA11y: p }) => { - const { edgesFocusable: v, edgesUpdatable: y, elementsSelectable: E, width: x, height: A, connectionMode: T, nodeInternals: k, onError: R } = Me(Xh, Pe), L = $h(t, k, n); - return x ? P.createElement( - P.Fragment, - null, - L.map(({ level: I, edges: W, isMaxLevel: B }) => P.createElement( + /* @__PURE__ */ _.createElement("path", { + d: "M11 7H25V21H11V7Z", + fill: "white", + }), + ), + /* @__PURE__ */ _.createElement( + "g", + { mask: "url(#mask0_20572_494912)" }, + /* @__PURE__ */ _.createElement("path", { + d: "M11.4102 20.5898H24.5898", + stroke: "#FFF200", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + yc = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { + d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", + fill: "#E7A427", + }), + /* @__PURE__ */ _.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", + }), + ), + Rb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#FDF6EA", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Hb = (e) => + /* @__PURE__ */ _.createElement( "svg", - { key: I, style: { zIndex: I }, width: x, height: A, className: "react-flow__edges react-flow__container" }, - B && P.createElement(Kh, { defaultColor: e, rfId: o }), - P.createElement("g", null, W.map((w) => { - const [N, S, D] = uc(k.get(w.source)), [j, O, M] = uc(k.get(w.target)); - if (!D || !M) - return null; - let F = w.type || "default"; - r[F] || (R == null || R("011", vt.error011(F)), F = "default"); - const z = r[F] || r.default, $ = T === Mn.Strict ? O.target : (O.target ?? []).concat(O.source ?? []), V = cc(S.source, w.sourceHandle), q = cc($, w.targetHandle), K = (V == null ? void 0 : V.position) || ne.Bottom, X = (q == null ? void 0 : q.position) || ne.Top, J = !!(w.focusable || v && typeof w.focusable > "u"), te = w.reconnectable || w.updatable, Z = typeof h < "u" && (te || y && typeof te > "u"); - if (!V || !q) - return R == null || R("008", vt.error008(V, w)), null; - const { sourceX: se, sourceY: G, targetX: ye, targetY: je } = Ph(N, V, K, j, q, X); - return P.createElement(z, { key: w.id, id: w.id, className: Ke([w.className, a]), type: F, data: w.data, selected: !!w.selected, animated: !!w.animated, hidden: !!w.hidden, label: w.label, labelStyle: w.labelStyle, labelShowBg: w.labelShowBg, labelBgStyle: w.labelBgStyle, labelBgPadding: w.labelBgPadding, labelBgBorderRadius: w.labelBgBorderRadius, style: w.style, source: w.source, target: w.target, sourceHandleId: w.sourceHandle, targetHandleId: w.targetHandle, markerEnd: w.markerEnd, markerStart: w.markerStart, sourceX: se, sourceY: G, targetX: ye, targetY: je, sourcePosition: K, targetPosition: X, elementsSelectable: E, onContextMenu: i, onMouseEnter: l, onMouseMove: s, onMouseLeave: u, onClick: c, onEdgeDoubleClick: d, onReconnect: h, onReconnectStart: g, onReconnectEnd: m, reconnectRadius: b, rfId: o, ariaLabel: w.ariaLabel, isFocusable: J, isReconnectable: Z, pathOptions: "pathOptions" in w ? w.pathOptions : void 0, interactionWidth: w.interactionWidth, disableKeyboardA11y: p }); - })) - )), - C - ) : null; -}; -zu.displayName = "EdgeRenderer"; -var Jh = De(zu); -const Qh = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`; -function ep({ children: e }) { - const t = Me(Qh); - return P.createElement("div", { className: "react-flow__viewport react-flow__container", style: { transform: t } }, e); -} -function tp(e) { - const t = wt(), n = le(!1); - re(() => { - !n.current && t.viewportInitialized && e && (setTimeout(() => e(t), 1), n.current = !0); - }, [e, t.viewportInitialized]); -} -const np = { - [ne.Left]: ne.Right, - [ne.Right]: ne.Left, - [ne.Top]: ne.Bottom, - [ne.Bottom]: ne.Top -}, Pu = ({ nodeId: e, handleType: t, style: n, type: o = rn.Bezier, CustomComponent: r, connectionStatus: a }) => { - var A, T, k; - const { fromNode: i, handleId: l, toX: s, toY: u, connectionMode: c } = Me(pe((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]), Pe), d = (A = i == null ? void 0 : i[Ne]) == null ? void 0 : A.handleBounds; - let h = d == null ? void 0 : d[t]; - if (c === Mn.Loose && (h = h || (d == null ? void 0 : d[t === "source" ? "target" : "source"])), !i || !h) - return null; - const g = l ? h.find((R) => R.id === l) : h[0], m = g ? g.x + g.width / 2 : (i.width ?? 0) / 2, b = g ? g.y + g.height / 2 : i.height ?? 0, C = (((T = i.positionAbsolute) == null ? void 0 : T.x) ?? 0) + m, p = (((k = i.positionAbsolute) == null ? void 0 : k.y) ?? 0) + b, v = g == null ? void 0 : g.position, y = v ? np[v] : null; - if (!v || !y) - return null; - if (r) - return P.createElement(r, { connectionLineType: o, connectionLineStyle: n, fromNode: i, fromHandle: g, fromX: C, fromY: p, toX: s, toY: u, fromPosition: v, toPosition: y, connectionStatus: a }); - let E = ""; - const x = { - sourceX: C, - sourceY: p, - sourcePosition: v, - targetX: s, - targetY: u, - targetPosition: y - }; - return o === rn.Bezier ? [E] = du(x) : o === rn.Step ? [E] = k1({ - ...x, - borderRadius: 0 - }) : o === rn.SmoothStep ? [E] = k1(x) : o === rn.SimpleBezier ? [E] = uu(x) : E = `M${C},${p} ${s},${u}`, P.createElement("path", { d: E, fill: "none", className: "react-flow__connection-path", style: n }); -}; -Pu.displayName = "ConnectionLine"; -const op = (e) => ({ - nodeId: e.connectionNodeId, - handleType: e.connectionHandleType, - nodesConnectable: e.nodesConnectable, - connectionStatus: e.connectionStatus, - width: e.width, - height: e.height -}); -function rp({ containerStyle: e, style: t, type: n, component: o }) { - const { nodeId: r, handleType: a, nodesConnectable: i, width: l, height: s, connectionStatus: u } = Me(op, Pe); - return !(r && a && l && i) ? null : P.createElement( - "svg", - { style: e, width: l, height: s, className: "react-flow__edges react-flow__connectionline react-flow__container" }, - P.createElement( - "g", - { className: Ke(["react-flow__connection", u]) }, - P.createElement(Pu, { nodeId: r, handleType: a, style: t, type: n, CustomComponent: o, connectionStatus: u }) - ) - ); -} -function fc(e, t) { - const n = le(null), o = Ie(); - return _e(() => { - var a, i; - if (process.env.NODE_ENV === "development") { - const l = Object.keys(e); - Pe(n.current, l) && ((i = (a = o.getState()).onError) == null || i.call(a, "002", vt.error002())), n.current = l; - } - return t(e); - }, [e]); -} -const Bu = ({ nodeTypes: e, edgeTypes: t, onMove: n, onMoveStart: o, onMoveEnd: r, onInit: a, onNodeClick: i, onEdgeClick: l, onNodeDoubleClick: s, onEdgeDoubleClick: u, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: h, onNodeContextMenu: g, onSelectionContextMenu: m, onSelectionStart: b, onSelectionEnd: C, connectionLineType: p, connectionLineStyle: v, connectionLineComponent: y, connectionLineContainerStyle: E, selectionKeyCode: x, selectionOnDrag: A, selectionMode: T, multiSelectionKeyCode: k, panActivationKeyCode: R, zoomActivationKeyCode: L, deleteKeyCode: I, onlyRenderVisibleElements: W, elementsSelectable: B, selectNodesOnDrag: w, defaultViewport: N, translateExtent: S, minZoom: D, maxZoom: j, preventScrolling: O, defaultMarkerColor: M, zoomOnScroll: F, zoomOnPinch: z, panOnScroll: $, panOnScrollSpeed: V, panOnScrollMode: q, zoomOnDoubleClick: K, panOnDrag: X, onPaneClick: J, onPaneMouseEnter: te, onPaneMouseMove: Z, onPaneMouseLeave: se, onPaneScroll: G, onPaneContextMenu: ye, onEdgeContextMenu: je, onEdgeMouseEnter: Ee, onEdgeMouseMove: Be, onEdgeMouseLeave: xe, onReconnect: oe, onReconnectStart: He, onReconnectEnd: Ot, reconnectRadius: dn, noDragClassName: Et, noWheelClassName: Yt, noPanClassName: gt, elevateEdgesOnSelect: Lt, disableKeyboardA11y: _t, nodeOrigin: Qe, nodeExtent: Gt, rfId: jt }) => { - const Kt = fc(e, Oh), Oe = fc(t, zh); - return tp(a), P.createElement( - Nh, - { onPaneClick: J, onPaneMouseEnter: te, onPaneMouseMove: Z, onPaneMouseLeave: se, onPaneContextMenu: ye, onPaneScroll: G, deleteKeyCode: I, selectionKeyCode: x, selectionOnDrag: A, selectionMode: T, onSelectionStart: b, onSelectionEnd: C, multiSelectionKeyCode: k, panActivationKeyCode: R, zoomActivationKeyCode: L, elementsSelectable: B, onMove: n, onMoveStart: o, onMoveEnd: r, zoomOnScroll: F, zoomOnPinch: z, zoomOnDoubleClick: K, panOnScroll: $, panOnScrollSpeed: V, panOnScrollMode: q, panOnDrag: X, defaultViewport: N, translateExtent: S, minZoom: D, maxZoom: j, onSelectionContextMenu: m, preventScrolling: O, noDragClassName: Et, noWheelClassName: Yt, noPanClassName: gt, disableKeyboardA11y: _t }, - P.createElement( - ep, - null, - P.createElement( - Jh, - { edgeTypes: Oe, onEdgeClick: l, onEdgeDoubleClick: u, onlyRenderVisibleElements: W, onEdgeContextMenu: je, onEdgeMouseEnter: Ee, onEdgeMouseMove: Be, onEdgeMouseLeave: xe, onReconnect: oe, onReconnectStart: He, onReconnectEnd: Ot, reconnectRadius: dn, defaultMarkerColor: M, noPanClassName: gt, elevateEdgesOnSelect: !!Lt, disableKeyboardA11y: _t, rfId: jt }, - P.createElement(rp, { style: v, type: p, component: y, containerStyle: E }) + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#4B473F", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Er = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { + d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", + fill: "#FF754C", + }), + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + vc = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + xc = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + wc = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ _.createElement( + "g", + { clipPath: "url(#clip0_20572_494884)" }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), ), - P.createElement("div", { className: "react-flow__edgelabel-renderer" }), - P.createElement(Rh, { nodeTypes: Kt, onNodeClick: i, onNodeDoubleClick: s, onNodeMouseEnter: c, onNodeMouseMove: d, onNodeMouseLeave: h, onNodeContextMenu: g, selectNodesOnDrag: w, onlyRenderVisibleElements: W, noPanClassName: gt, noDragClassName: Et, disableKeyboardA11y: _t, nodeOrigin: Qe, nodeExtent: Gt, rfId: jt }) - ) - ); -}; -Bu.displayName = "GraphView"; -var ap = De(Bu); -const D1 = [ - [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], - [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY] -], Qt = { - 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: D1, - nodeExtent: D1, - nodesSelectionActive: !1, - userSelectionActive: !1, - userSelectionRect: null, - connectionNodeId: null, - connectionHandleId: null, - connectionHandleType: "source", - connectionPosition: { x: 0, y: 0 }, - connectionStatus: null, - connectionMode: Mn.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: iu, - isValidConnection: void 0 -}, ip = () => $8((e, t) => ({ - ...Qt, - setNodes: (n) => { - const { nodeInternals: o, nodeOrigin: r, elevateNodesOnSelect: a } = t(); - e({ nodeInternals: qi(n, o, r, a) }); - }, - 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", a = typeof o < "u", i = r ? qi(n, /* @__PURE__ */ new Map(), t().nodeOrigin, t().elevateNodesOnSelect) : /* @__PURE__ */ new Map(); - e({ nodeInternals: i, edges: a ? o : [], hasDefaultNodes: r, hasDefaultEdges: a }); - }, - updateNodeDimensions: (n) => { - const { onNodesChange: o, nodeInternals: r, fitViewOnInit: a, fitViewOnInitDone: i, 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), g = n.reduce((b, C) => { - const p = r.get(C.id); - if (p != null && p.hidden) - r.set(p.id, { - ...p, - [Ne]: { - ...p[Ne], - // 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 (p) { - const v = ml(C.nodeElement); - !!(v.width && v.height && (p.width !== v.width || p.height !== v.height || C.forceUpdate)) && (r.set(p.id, { - ...p, - [Ne]: { - ...p[Ne], - handleBounds: { - source: ac(".source", C.nodeElement, h, u), - target: ac(".target", C.nodeElement, h, u) - } + /* @__PURE__ */ _.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__ */ _.createElement( + "defs", + null, + /* @__PURE__ */ _.createElement( + "clipPath", + { id: "clip0_20572_494884" }, + /* @__PURE__ */ _.createElement("rect", { + width: 16, + height: 16, + fill: "white", + transform: "translate(10 6)", + }), + ), + ), + ), + Ec = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "currentColor", + }), + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + Fb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 36 36", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("rect", { + width: 36, + height: 36, + rx: 5, + fill: "#E6EEF9", + }), + /* @__PURE__ */ _.createElement( + "mask", + { + id: "mask0_20565_492827", + style: { + maskType: "luminance", }, - ...v - }), b.push({ - id: p.id, - type: "dimensions", - dimensions: v - })); - } - return b; - }, []); - Tu(r, u); - const m = i || a && !i && Nu(t, { initial: !0, ...l }); - e({ nodeInternals: new Map(r), fitViewOnInitDone: m }), (g == null ? void 0 : g.length) > 0 && (o == null || o(g)); - }, - updateNodePositions: (n, o = !0, r = !1) => { - const { triggerNodeChanges: a } = t(), i = n.map((l) => { - const s = { - id: l.id, - type: "position", - dragging: r - }; - return o && (s.positionAbsolute = l.positionAbsolute, s.position = l.position), s; - }); - a(i); - }, - triggerNodeChanges: (n) => { - const { onNodesChange: o, nodeInternals: r, hasDefaultNodes: a, nodeOrigin: i, getNodes: l, elevateNodesOnSelect: s } = t(); - if (n != null && n.length) { - if (a) { - const u = xh(n, l()), c = qi(u, r, i, s); - e({ nodeInternals: c }); - } - o == null || o(n); - } - }, - addSelectedNodes: (n) => { - const { multiSelectionActive: o, edges: r, getNodes: a } = t(); - let i, l = null; - o ? i = n.map((s) => on(s, !0)) : (i = In(a(), n), l = In(r, [])), yr({ - changedNodes: i, - changedEdges: l, - get: t, - set: e - }); - }, - addSelectedEdges: (n) => { - const { multiSelectionActive: o, edges: r, getNodes: a } = t(); - let i, l = null; - o ? i = n.map((s) => on(s, !0)) : (i = In(r, n), l = In(a(), [])), yr({ - changedNodes: l, - changedEdges: i, - get: t, - set: e - }); - }, - unselectNodesAndEdges: ({ nodes: n, edges: o } = {}) => { - const { edges: r, getNodes: a } = t(), i = n || a(), l = o || r, s = i.map((c) => (c.selected = !1, on(c.id, !1))), u = l.map((c) => on(c.id, !1)); - yr({ - 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(), a = o().filter((l) => l.selected).map((l) => on(l.id, !1)), i = n.filter((l) => l.selected).map((l) => on(l.id, !1)); - yr({ - changedNodes: a, - changedEdges: i, - get: t, - set: e - }); - }, - setNodeExtent: (n) => { - const { nodeInternals: o } = t(); - o.forEach((r) => { - r.positionAbsolute = bl(r.position, n); - }), e({ - nodeExtent: n, - nodeInternals: new Map(o) - }); - }, - panBy: (n) => { - const { transform: o, width: r, height: a, d3Zoom: i, d3Selection: l, translateExtent: s } = t(); - if (!i || !l || !n.x && !n.y) - return !1; - const u = an.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), c = [ - [0, 0], - [r, a] - ], d = i == null ? void 0 : i.constrain()(u, c, s); - return i.transform(l, d), o[0] !== d.x || o[1] !== d.y || o[2] !== d.k; - }, - cancelConnection: () => e({ - connectionNodeId: Qt.connectionNodeId, - connectionHandleId: Qt.connectionHandleId, - connectionHandleType: Qt.connectionHandleType, - connectionStatus: Qt.connectionStatus, - connectionStartHandle: Qt.connectionStartHandle, - connectionEndHandle: Qt.connectionEndHandle - }), - reset: () => e({ ...Qt }) -}), Object.is), Go = ({ children: e }) => { - const t = le(null); - return t.current || (t.current = ip()), P.createElement(_g, { value: t.current }, e); -}; -Go.displayName = "ReactFlowProvider"; -const Vu = ({ children: e }) => Re(ba) ? P.createElement(P.Fragment, null, e) : P.createElement(Go, null, e); -Vu.displayName = "ReactFlowWrapper"; -const lp = { - input: wu, - default: T1, - output: _u, - group: Sl -}, sp = { - default: Kr, - straight: xl, - step: vl, - smoothstep: Ca, - simplebezier: yl -}, cp = [0, 0], up = [15, 15], dp = { x: 0, y: 0, zoom: 1 }, fp = { - width: "100%", - height: "100%", - overflow: "hidden", - position: "relative", - zIndex: 0 -}, ya = P1(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: o, className: r, nodeTypes: a = lp, edgeTypes: i = sp, onNodeClick: l, onEdgeClick: s, onInit: u, onMove: c, onMoveStart: d, onMoveEnd: h, onConnect: g, onConnectStart: m, onConnectEnd: b, onClickConnectStart: C, onClickConnectEnd: p, onNodeMouseEnter: v, onNodeMouseMove: y, onNodeMouseLeave: E, onNodeContextMenu: x, onNodeDoubleClick: A, onNodeDragStart: T, onNodeDrag: k, onNodeDragStop: R, onNodesDelete: L, onEdgesDelete: I, onSelectionChange: W, onSelectionDragStart: B, onSelectionDrag: w, onSelectionDragStop: N, onSelectionContextMenu: S, onSelectionStart: D, onSelectionEnd: j, connectionMode: O = Mn.Strict, connectionLineType: M = rn.Bezier, connectionLineStyle: F, connectionLineComponent: z, connectionLineContainerStyle: $, deleteKeyCode: V = "Backspace", selectionKeyCode: q = "Shift", selectionOnDrag: K = !1, selectionMode: X = Fo.Full, panActivationKeyCode: J = "Space", multiSelectionKeyCode: te = Yr() ? "Meta" : "Control", zoomActivationKeyCode: Z = Yr() ? "Meta" : "Control", snapToGrid: se = !1, snapGrid: G = up, onlyRenderVisibleElements: ye = !1, selectNodesOnDrag: je = !0, nodesDraggable: Ee, nodesConnectable: Be, nodesFocusable: xe, nodeOrigin: oe = cp, edgesFocusable: He, edgesUpdatable: Ot, elementsSelectable: dn, defaultViewport: Et = dp, minZoom: Yt = 0.5, maxZoom: gt = 2, translateExtent: Lt = D1, preventScrolling: _t = !0, nodeExtent: Qe, defaultMarkerColor: Gt = "#b1b1b7", zoomOnScroll: jt = !0, zoomOnPinch: Kt = !0, panOnScroll: Oe = !1, panOnScrollSpeed: et = 0.5, panOnScrollMode: Rt = yn.Free, zoomOnDoubleClick: Ht = !0, panOnDrag: Ft = !0, onPaneClick: ht, onPaneMouseEnter: rt, onPaneMouseMove: fn, onPaneMouseLeave: gn, onPaneScroll: Xt, onPaneContextMenu: St, children: Dn, onEdgeContextMenu: pt, onEdgeDoubleClick: Qo, onEdgeMouseEnter: _a, onEdgeMouseMove: er, onEdgeMouseLeave: Sa, onEdgeUpdate: tr, onEdgeUpdateStart: nr, onEdgeUpdateEnd: ka, onReconnect: Aa, onReconnectStart: or, onReconnectEnd: rr, reconnectRadius: Ma = 10, edgeUpdaterRadius: Ta = 10, onNodesChange: Na, onEdgesChange: Da, noDragClassName: H = "nodrag", noWheelClassName: Y = "nowheel", noPanClassName: ee = "nopan", fitView: ie = !1, fitViewOptions: he, connectOnClick: ve = !0, attributionPosition: ge, proOptions: ue, defaultEdgeOptions: ze, elevateNodesOnSelect: Ae = !0, elevateEdgesOnSelect: Te = !1, disableKeyboardA11y: Ze = !1, autoPanOnConnect: Jt = !0, autoPanOnNodeDrag: It = !0, connectionRadius: Ve = 20, isValidConnection: lo, onError: Oa, style: La, id: Ul, nodeDragThreshold: Sd, ...kd }, Ad) => { - const ja = Ul || "1"; - return P.createElement( - "div", - { ...kd, style: { ...La, ...fp }, ref: Ad, className: Ke(["react-flow", r]), "data-testid": "rf__wrapper", id: Ul }, - P.createElement( - Vu, - null, - P.createElement(ap, { onInit: u, onMove: c, onMoveStart: d, onMoveEnd: h, onNodeClick: l, onEdgeClick: s, onNodeMouseEnter: v, onNodeMouseMove: y, onNodeMouseLeave: E, onNodeContextMenu: x, onNodeDoubleClick: A, nodeTypes: a, edgeTypes: i, connectionLineType: M, connectionLineStyle: F, connectionLineComponent: z, connectionLineContainerStyle: $, selectionKeyCode: q, selectionOnDrag: K, selectionMode: X, deleteKeyCode: V, multiSelectionKeyCode: te, panActivationKeyCode: J, zoomActivationKeyCode: Z, onlyRenderVisibleElements: ye, selectNodesOnDrag: je, defaultViewport: Et, translateExtent: Lt, minZoom: Yt, maxZoom: gt, preventScrolling: _t, zoomOnScroll: jt, zoomOnPinch: Kt, zoomOnDoubleClick: Ht, panOnScroll: Oe, panOnScrollSpeed: et, panOnScrollMode: Rt, panOnDrag: Ft, onPaneClick: ht, onPaneMouseEnter: rt, onPaneMouseMove: fn, onPaneMouseLeave: gn, onPaneScroll: Xt, onPaneContextMenu: St, onSelectionContextMenu: S, onSelectionStart: D, onSelectionEnd: j, onEdgeContextMenu: pt, onEdgeDoubleClick: Qo, onEdgeMouseEnter: _a, onEdgeMouseMove: er, onEdgeMouseLeave: Sa, onReconnect: Aa ?? tr, onReconnectStart: or ?? nr, onReconnectEnd: rr ?? ka, reconnectRadius: Ma ?? Ta, defaultMarkerColor: Gt, noDragClassName: H, noWheelClassName: Y, noPanClassName: ee, elevateEdgesOnSelect: Te, rfId: ja, disableKeyboardA11y: Ze, nodeOrigin: oe, nodeExtent: Qe }), - P.createElement(th, { nodes: e, edges: t, defaultNodes: n, defaultEdges: o, onConnect: g, onConnectStart: m, onConnectEnd: b, onClickConnectStart: C, onClickConnectEnd: p, nodesDraggable: Ee, nodesConnectable: Be, nodesFocusable: xe, edgesFocusable: He, edgesUpdatable: Ot, elementsSelectable: dn, elevateNodesOnSelect: Ae, minZoom: Yt, maxZoom: gt, nodeExtent: Qe, onNodesChange: Na, onEdgesChange: Da, snapToGrid: se, snapGrid: G, connectionMode: O, translateExtent: Lt, connectOnClick: ve, defaultEdgeOptions: ze, fitView: ie, fitViewOptions: he, onNodesDelete: L, onEdgesDelete: I, onNodeDragStart: T, onNodeDrag: k, onNodeDragStop: R, onSelectionDrag: w, onSelectionDragStart: B, onSelectionDragStop: N, noPanClassName: ee, nodeOrigin: oe, rfId: ja, autoPanOnConnect: Jt, autoPanOnNodeDrag: It, onError: Oa, connectionRadius: Ve, isValidConnection: lo, nodeDragThreshold: Sd }), - P.createElement(Qg, { onSelectionChange: W }), - Dn, - P.createElement(kg, { proOptions: ue, position: ge }), - P.createElement(ih, { rfId: ja, disableKeyboardA11y: Ze }) - ) - ); -}); -ya.displayName = "ReactFlow"; -function gp() { - return P.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, - P.createElement("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }) - ); -} -function hp() { - return P.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 5" }, - P.createElement("path", { d: "M0 0h32v4.2H0z" }) - ); -} -function pp() { - return P.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 30" }, - P.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 mp() { - return P.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, - P.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 bp() { - return P.createElement( - "svg", - { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 32" }, - P.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 xo = ({ children: e, className: t, ...n }) => P.createElement("button", { type: "button", className: Ke(["react-flow__controls-button", t]), ...n }, e); -xo.displayName = "ControlButton"; -const Cp = (e) => ({ - isInteractive: e.nodesDraggable || e.nodesConnectable || e.elementsSelectable, - minZoomReached: e.transform[2] <= e.minZoom, - maxZoomReached: e.transform[2] >= e.maxZoom -}), Wu = ({ style: e, showZoom: t = !0, showFitView: n = !0, showInteractive: o = !0, fitViewOptions: r, onZoomIn: a, onZoomOut: i, onFitView: l, onInteractiveChange: s, className: u, children: c, position: d = "bottom-left" }) => { - const h = Ie(), [g, m] = ae(!1), { isInteractive: b, minZoomReached: C, maxZoomReached: p } = Me(Cp, Pe), { zoomIn: v, zoomOut: y, fitView: E } = wt(); - if (re(() => { - m(!0); - }, []), !g) - return null; - const x = () => { - v(), a == null || a(); - }, A = () => { - y(), i == null || i(); - }, T = () => { - E(r), l == null || l(); - }, k = () => { - h.setState({ - nodesDraggable: !b, - nodesConnectable: !b, - elementsSelectable: !b - }), s == null || s(!b); - }; - return P.createElement( - nu, - { className: Ke(["react-flow__controls", u]), position: d, style: e, "data-testid": "rf__controls" }, - t && P.createElement( - P.Fragment, - null, - P.createElement( - xo, - { onClick: x, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: p }, - P.createElement(gp, null) + maskUnits: "userSpaceOnUse", + x: 11, + y: 7, + width: 14, + height: 14, + }, + /* @__PURE__ */ _.createElement("path", { + d: "M11 7H25V21H11V7Z", + fill: "white", + }), ), - P.createElement( - xo, - { onClick: A, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: C }, - P.createElement(hp, null) - ) + /* @__PURE__ */ _.createElement( + "g", + { mask: "url(#mask0_20565_492827)" }, + /* @__PURE__ */ _.createElement("path", { + d: "M11.4102 20.5898H24.5898", + stroke: "#004FBF", + strokeWidth: 0.8, + strokeMiterlimit: 10, + strokeLinecap: "round", + strokeLinejoin: "round", + }), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Ib = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + zb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + Pb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Bb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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", + }), ), - n && P.createElement( - xo, - { className: "react-flow__controls-fitview", onClick: T, title: "fit view", "aria-label": "fit view" }, - P.createElement(pp, null) + Vb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), ), - o && P.createElement(xo, { className: "react-flow__controls-interactive", onClick: k, title: "toggle interactivity", "aria-label": "toggle interactivity" }, b ? P.createElement(bp, null) : P.createElement(mp, null)), - c - ); -}; -Wu.displayName = "Controls"; -var Al = De(Wu), yt; -(function(e) { - e.Lines = "lines", e.Dots = "dots", e.Cross = "cross"; -})(yt || (yt = {})); -function yp({ color: e, dimensions: t, lineWidth: n }) { - return P.createElement("path", { stroke: e, strokeWidth: n, d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}` }); -} -function vp({ color: e, radius: t }) { - return P.createElement("circle", { cx: t, cy: t, r: t, fill: e }); -} -const xp = { - [yt.Dots]: "#91919a", - [yt.Lines]: "#eee", - [yt.Cross]: "#e2e2e2" -}, wp = { - [yt.Dots]: 1, - [yt.Lines]: 1, - [yt.Cross]: 6 -}, Ep = (e) => ({ transform: e.transform, patternId: `pattern-${e.rfId}` }); -function $u({ - id: e, - variant: t = yt.Dots, - // only used for dots and cross - gap: n = 20, - // only used for lines and cross - size: o, - lineWidth: r = 1, - offset: a = 2, - color: i, - style: l, - className: s -}) { - const u = le(null), { transform: c, patternId: d } = Me(Ep, Pe), h = i || xp[t], g = o || wp[t], m = t === yt.Dots, b = t === yt.Cross, C = Array.isArray(n) ? n : [n, n], p = [C[0] * c[2] || 1, C[1] * c[2] || 1], v = g * c[2], y = b ? [v, v] : p, E = m ? [v / a, v / a] : [y[0] / a, y[1] / a]; - return P.createElement( - "svg", - { className: Ke(["react-flow__background", s]), style: { - ...l, - position: "absolute", - width: "100%", - height: "100%", - top: 0, - left: 0 - }, ref: u, "data-testid": "rf__background" }, - P.createElement("pattern", { id: d + e, x: c[0] % p[0], y: c[1] % p[1], width: p[0], height: p[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${E[0]},-${E[1]})` }, m ? P.createElement(vp, { color: h, radius: v / a }) : P.createElement(yp, { dimensions: y, color: h, lineWidth: r })), - P.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: `url(#${d + e})` }) - ); -} -$u.displayName = "Background"; -var Ml = De($u); -const Zu = "columns", Uu = "exposure", qu = "tables", _p = "feedback", Yu = "settings", Vt = "column-", Gu = "see-more-", Sp = 5, kp = 100, Xi = 100, Ko = 300, Un = 80, Ap = 12, Mp = Un, Ku = 30, gc = 4, Tp = 280, Np = 80, Dp = 80, Op = 250, O1 = 0.05, Xu = "#7A899E", Tl = "#E38E00", Nl = { - Original: "#FDD835", - Alias: "#40C8AE", - Transformation: "#FF754C", - Unchanged: "#BC3FBC", - "Not sure": "#247efe", - "Non select": "#BC3FBC" -}, va = { - stroke: Xu, - strokeWidth: 1 -}, Dl = { - stroke: Tl, - strokeWidth: 2 -}, Ol = { - stroke: Tl, - strokeWidth: 1, - strokeDasharray: 10 -}, Ju = { - type: "arrow", - strokeWidth: 1, - width: 24, - height: 24, - color: Xu -}, Qu = { - type: "arrow", - strokeWidth: 1, - width: 16, - height: 16, - color: Tl -}, lt = (e) => e.id.startsWith(Vt), xr = (e) => e.id.startsWith(Gu), cn = (e) => !e.id.startsWith(Vt), Ll = (e, t, n, o, r, a = !1) => { - const [i, l] = r ? [n, o] : [o, n], [s, u] = r ? L1(e, t, a) : L1(t, e, a); - return { - id: `${i}-${l}`, - source: i, - target: l, - sourceHandle: s, - targetHandle: u, - style: va, - markerEnd: Ju, - 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: Ko, - height: Un -}), ed = (e, t, n, o) => ({ - id: e, - data: { ...o, level: t, parent: n, id: e }, - position: { x: 100, y: 100 }, - type: "operator", - width: Ko, - height: Un -}), Xr = (e, t, n, o, r) => ({ - id: zo(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: Ku -}), Jr = (e, t, n, o, r, a) => { - const i = xa(e, t), [l, s] = L1( - n, - o, - !1 - ); - return { - id: i, - data: { type: r }, - source: e, - target: t, - sourceHandle: l, - targetHandle: s, - style: r === "direct" ? Dl : Ol, - zIndex: 1e3, - markerEnd: Qu, - type: n === o ? "smoothstep" : "default", - hidden: !a[r] - }; -}, xa = (e, t) => Vt + `${e}-${t}`, Qr = (e, t) => { - e.style = { opacity: t ? 1 : 0.5 }; -}, no = (e, t) => { - var n; - e.style = t ? ((n = e.data) == null ? void 0 : n.type) === "indirect" ? Ol : Dl : va, e.markerEnd = t ? Qu : Ju; -}, L1 = (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"], Lp = (e, t) => { - const n = {}; - e.forEach((a) => { - cn(a) && (n[a.id] = a.data.level); - }); - const o = {}; - e.filter((a) => a.type === "table").forEach((a) => o[a.id] = !0); - const r = {}; - for (const a of t) { - if (lt(a)) continue; - const i = o[a.source], l = o[a.target]; - if (!(i && l)) { - if (i) { - e.find((u) => u.id === a.target).data.tables.forEach((u) => { - r[u.table] = a.target; - }); - continue; - } - l && e.find((u) => u.id === a.source).data.tables.forEach((u) => { - r[u.table] = a.source; - }); - } - } - return { levelMap: n, tableNodes: o, seeMoreIdTableReverseMap: r }; -}, zo = (e, t) => Vt + `${e}/${t}`, ea = (e, t) => Gu + e + "-" + (t ? "1" : "0"), hc = (e, t) => { - for (const n of e) - if (n[0] === t[0] && n[1] === t[1]) return !0; - return !1; -}, pc = (e, t, n) => { - e[t] = e[t] || [], e[t].push(...n); -}, Or = (e, t = 1) => e * (Ku + gc) + t * gc, mc = (e, t) => (n) => e <= n && n <= t, jp = (e, t) => (n) => e < n && n < t, bc = (e, t) => { - const n = e.findIndex((o) => o.id === t); - n !== -1 && e.splice(n, 1); -}, Cc = (e, t, n) => e === -1 || n >= t ? t : n >= e ? n : e, Po = (e, t, n = !0) => { - e.forEach((o) => { - lt(o) || (o.hidden = !t, n && no(o, t)); - }); -}, Bo = (e, t, n = !0) => { - e.forEach((o) => { - lt(o) && (o.hidden = !t, n && no(o, t)); - }); -}; -function td(e) { - const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(); - for (const [a, i] of e) - t.has(a) || t.set(a, 0), t.has(i) || t.set(i, 0), t.set(i, t.get(i) + 1), n.has(a) || n.set(a, 0), n.has(i) || n.set(i, 0), n.set(a, n.get(a) + 1); - const o = [], r = []; - for (const [a, i] of t) - i === 0 && o.push(a); - for (const [a, i] of n) - i === 0 && r.push(a); - return { sources: o, sinks: r }; -} -const Rp = "_table_node_1n1a2_1", Hp = "_header_1n1a2_8", Fp = "_collapse_1n1a2_16", Ip = "_selected_1n1a2_21", zp = "_content_1n1a2_24", Pp = "_table_header_1n1a2_37", Bp = "_seed_1n1a2_47", Vp = "_model_1n1a2_52", Wp = "_source_1n1a2_57", $p = "_exposure_1n1a2_62", Zp = "_snapshot_1n1a2_67", Up = "_metrics_1n1a2_72", qp = "_macros_1n1a2_77", Yp = "_analysis_1n1a2_82", Gp = "_node_icon_1n1a2_87", Kp = "_dialect_icon_1n1a2_99", Xp = "_table_handle_1n1a2_107", Jp = "_see_more_node_1n1a2_121", Qp = "_table_card_1n1a2_132", em = "_disabled_1n1a2_144", tm = "_column_card_1n1a2_149", nm = "_edit_icon_1n1a2_162", om = "_active_1n1a2_170", rm = "_expand_lineage_icon_1n1a2_174", am = "_processing_div_1n1a2_187", im = "_gif_img_1n1a2_190", lm = "_card_1n1a2_195", sm = "_column_node_1n1a2_210", cm = "_column_name_1n1a2_221", um = "_column_top_right_1n1a2_226", dm = "_divider_1n1a2_234", fm = "_table_details_header_1n1a2_240", gm = "_verticle_divider_1n1a2_248", hm = "_low_confidence_1n1a2_253", pm = "_high_confidence_1n1a2_260", mm = "_alert_icon_1n1a2_267", bm = "_menu_card_1n1a2_273", Cm = "_menu_card_container_1n1a2_278", ym = "_table_details_tabs_1n1a2_285", vm = "_tab_1n1a2_1", xm = "_table_node_pill_1n1a2_305", wm = "_icon_1n1a2_315", Em = "_node-checkbox_1n1a2_322", _m = "_non_select_node_checkbox_1n1a2_322", Sm = "_select_node_checkbox_1n1a2_322", km = "_node_extra_info_1n1a2_338", Am = "_help_body_1n1a2_342", Mm = "_feedback_body_1n1a2_346", Tm = "_cancel_btn_1n1a2_349", Nm = "_expand_nav_1n1a2_354", Dm = "_expand_nav_btn_1n1a2_362", Om = "_lineage_legend_1n1a2_389", Lm = "_column_legend_1n1a2_406", jm = "_dot_1n1a2_422", Rm = "_model_views_type_1n1a2_434", Hm = "_close_button_1n1a2_443", Fm = "_op_node_1n1a2_456", Im = "_light_mode_1n1a2_475", zm = "_dark_mode_1n1a2_478", Pm = "_highlighted_1n1a2_481", Bm = "_cost_data_1n1a2_487", Vm = "_op_type_text_1n1a2_502", Wm = "_node_stats_1n1a2_505", $m = "_savings-performance_1n1a2_521", Zm = "_performance_1n1a2_521", Um = "_savings_1n1a2_521", qm = "_value_1n1a2_536", Ym = "_percent_1n1a2_539", Gm = "_static_table_node_1n1a2_554", Km = "_details_btn_1n1a2_618", Xm = "_enable_1n1a2_627", Jm = "_disable_1n1a2_144", Qm = "_code_editor_container_1n1a2_638", eb = "_code_editor_1n1a2_638", tb = "_tooltip_container_1n1a2_652", nb = "_tooltip_text_1n1a2_658", ob = "_views_type_badge_1n1a2_675", rb = "_column_code_icon_1n1a2_706", ab = "_edge_select_1n1a2_722", ib = "_edge_non_select_1n1a2_732", lb = "_modal_views_code_container_1n1a2_742", sb = "_custom_node_code_block_1n1a2_747", cb = "_reset_btn_1n1a2_759", ub = "_error_tooltip_1n1a2_765", U = { - table_node: Rp, - header: Hp, - collapse: Fp, - selected: Ip, - content: zp, - table_header: Pp, - seed: Bp, - model: Vp, - source: Wp, - exposure: $p, - snapshot: Zp, - metrics: Up, - macros: qp, - analysis: Yp, - node_icon: Gp, - dialect_icon: Kp, - table_handle: Xp, - see_more_node: Jp, - table_card: Qp, - disabled: em, - column_card: tm, - edit_icon: nm, - active: om, - expand_lineage_icon: rm, - processing_div: am, - gif_img: im, - card: lm, - column_node: sm, - default: "_default_1n1a2_218", - column_name: cm, - column_top_right: um, - divider: dm, - table_details_header: fm, - verticle_divider: gm, - low_confidence: hm, - high_confidence: pm, - alert_icon: mm, - menu_card: bm, - menu_card_container: Cm, - table_details_tabs: ym, - tab: vm, - table_node_pill: xm, - icon: wm, - "node-checkbox": "_node-checkbox_1n1a2_322", - nodeCheckbox: Em, - non_select_node_checkbox: _m, - select_node_checkbox: Sm, - node_extra_info: km, - help_body: Am, - feedback_body: Mm, - cancel_btn: Tm, - expand_nav: Nm, - expand_nav_btn: Dm, - lineage_legend: Om, - column_legend: Lm, - dot: jm, - model_views_type: Rm, - close_button: Hm, - op_node: Fm, - light_mode: Im, - dark_mode: zm, - highlighted: Pm, - cost_data: Bm, - op_type_text: Vm, - node_stats: Wm, - "savings-performance": "_savings-performance_1n1a2_521", - savingsPerformance: $m, - performance: Zm, - savings: Um, - value: qm, - percent: Ym, - static_table_node: Gm, - details_btn: Km, - enable: Xm, - disable: Jm, - code_editor_container: Qm, - code_editor: eb, - tooltip_container: tb, - tooltip_text: nb, - views_type_badge: ob, - column_code_icon: rb, - edge_select: ab, - edge_non_select: ib, - modal_views_code_container: lb, - custom_node_code_block: sb, - reset_btn: cb, - error_tooltip: ub -}, nd = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), od = (e) => /* @__PURE__ */ _.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ _.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ _.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 })), db = (e) => /* @__PURE__ */ _.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ _.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__ */ _.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__ */ _.createElement("defs", null, /* @__PURE__ */ _.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ _.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), fb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ _.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ _.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__ */ _.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), gb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), hb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), pb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ _.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ _.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" })), mb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), bb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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" })), wr = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), Cb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), yb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), vb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), j1 = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), xb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), wb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ _.createElement("mask", { id: "mask0_13119_16577", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ _.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ _.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ _.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("defs", null, /* @__PURE__ */ _.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ _.createElement("rect", { width: 16, height: 16, fill: "white" })))), R1 = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("defs", null, /* @__PURE__ */ _.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ _.createElement("rect", { width: 16, height: 16, fill: "white" })))), Eb = (e) => /* @__PURE__ */ _.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), _b = (e) => /* @__PURE__ */ _.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), jl = (e) => /* @__PURE__ */ _.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("g", { id: "x-close" }, /* @__PURE__ */ _.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Sb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ _.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__ */ _.createElement("defs", null, /* @__PURE__ */ _.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ _.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), kb = (e) => /* @__PURE__ */ _.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), Ab = (e) => /* @__PURE__ */ _.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), Mb = (e) => /* @__PURE__ */ _.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ _.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__ */ _.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" })), Tb = (e) => /* @__PURE__ */ _.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), Nb = (e) => /* @__PURE__ */ _.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ _.createElement("mask", { id: "mask0_17179_3800", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ _.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ _.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ _.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ _.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__ */ _.createElement("defs", null, /* @__PURE__ */ _.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ _.createElement("rect", { width: 16, height: 16, fill: "white" })))), Db = (e) => /* @__PURE__ */ _.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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" })), rd = (e) => /* @__PURE__ */ _.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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" })), Ob = (e) => /* @__PURE__ */ _.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), Lb = (e) => /* @__PURE__ */ _.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), jb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ _.createElement("mask", { id: "mask0_20572_494912", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ _.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ _.createElement("g", { mask: "url(#mask0_20572_494912)" }, /* @__PURE__ */ _.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#FFF200", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), yc = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { d: "M17.7691 29.0008V25.5208H16.5691V24.8008H19.7851V25.5208H18.5491V29.0008H17.7691Z", fill: "#E7A427" }), /* @__PURE__ */ _.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" })), Rb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#FDF6EA" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), Hb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4B473F" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), Er = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { d: "M21.6372 29.0008V24.8008H22.4172V28.2808H24.3552V29.0008H21.6372Z", fill: "#FF754C" }), /* @__PURE__ */ _.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__ */ _.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" })), vc = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), xc = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), wc = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ _.createElement("g", { clipPath: "url(#clip0_20572_494884)" }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("defs", null, /* @__PURE__ */ _.createElement("clipPath", { id: "clip0_20572_494884" }, /* @__PURE__ */ _.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(10 6)" })))), Ec = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "currentColor" }), /* @__PURE__ */ _.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__ */ _.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" })), Fb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#E6EEF9" }), /* @__PURE__ */ _.createElement("mask", { id: "mask0_20565_492827", style: { - maskType: "luminance" -}, maskUnits: "userSpaceOnUse", x: 11, y: 7, width: 14, height: 14 }, /* @__PURE__ */ _.createElement("path", { d: "M11 7H25V21H11V7Z", fill: "white" })), /* @__PURE__ */ _.createElement("g", { mask: "url(#mask0_20565_492827)" }, /* @__PURE__ */ _.createElement("path", { d: "M11.4102 20.5898H24.5898", stroke: "#004FBF", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), Ib = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), zb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), Pb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), Bb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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" })), Vb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), Wb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), $b = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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" })), Zb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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" })), Ub = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { d: "M18.1372 15.5742L5.90025 8.50921", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" }), /* @__PURE__ */ _.createElement("path", { d: "M5.90015 15.5703L18.1371 8.5053", stroke: "white", strokeWidth: 0.6, strokeLinecap: "round" })), qb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), Yb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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" })), Gb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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" })), Kb = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.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__ */ _.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" })), Xb = "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", Jb = "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", Qb = "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==", eC = (e) => /* @__PURE__ */ _.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.createElement("circle", { cx: 6, cy: 6, r: 6, fill: "#CC3E44" }), /* @__PURE__ */ _.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" })), Rl = ({ viewsType: e }) => /* @__PURE__ */ f.jsx(qt, { title: e, children: /* @__PURE__ */ f.jsx( - "div", - { - style: { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - "--views-color": Nl[e] - }, - className: U.views_type_badge, - children: e[0] - } -) }), tC = () => { - const [e, t] = ae(!1); - re(() => { - setTimeout(() => { - t(!0); - }, 500); - const o = setTimeout(() => { - t(!1); - }, 3500); - return () => clearTimeout(o); - }, []); - const n = () => { - t((o) => !o); - }; - return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsxs( - ke, + Wb = (e) => + /* @__PURE__ */ _.createElement( + "svg", { - id: "lineageLegend", - className: U.lineage_legend, - type: "button", - onClick: n, - children: [ - "Legend", - e ? /* @__PURE__ */ f.jsx(_b, {}) : /* @__PURE__ */ f.jsx(Eb, {}) - ] - } + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), ), - /* @__PURE__ */ f.jsx( - Ac, + $b = (e) => + /* @__PURE__ */ _.createElement( + "svg", { - flip: !0, - target: "lineageLegend", - isOpen: e, - className: U.column_legend, - placement: "top", - children: /* @__PURE__ */ f.jsxs(Mc, { children: [ - Object.keys(Nl).map((o) => /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ f.jsx(Rl, { viewsType: o }), - /* @__PURE__ */ f.jsx("div", { children: o }) - ] }, o)), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ f.jsx("div", { className: U.column_code_icon, children: /* @__PURE__ */ f.jsx(Jc, {}) }), - /* @__PURE__ */ f.jsx("div", { children: "Code" }) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ f.jsx("div", { className: U.edge_select, children: /* @__PURE__ */ f.jsx("div", {}) }), - /* @__PURE__ */ f.jsx("div", { children: "Select" }) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm mb-1 align-items-center", children: [ - /* @__PURE__ */ f.jsx("div", { className: U.edge_non_select, children: /* @__PURE__ */ f.jsx("div", {}) }), - /* @__PURE__ */ f.jsx("div", { children: "Non select" }) - ] }) - ] }) - } - ) - ] }); -}; + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + Zb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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", + }), + ), + Ub = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("path", { + d: "M18.1372 15.5742L5.90025 8.50921", + stroke: "white", + strokeWidth: 0.6, + strokeLinecap: "round", + }), + /* @__PURE__ */ _.createElement("path", { + d: "M5.90015 15.5703L18.1371 8.5053", + stroke: "white", + strokeWidth: 0.6, + strokeLinecap: "round", + }), + ), + qb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Yb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 40 40", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Gb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 24 24", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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", + }), + ), + Kb = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 16 15", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.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__ */ _.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", + }), + ), + Xb = + "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", + Jb = + "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", + Qb = + "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==", + eC = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: "100%", + height: "100%", + viewBox: "0 0 12 12", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.createElement("circle", { + cx: 6, + cy: 6, + r: 6, + fill: "#CC3E44", + }), + /* @__PURE__ */ _.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", + }), + ), + Rl = ({ viewsType: e }) => + /* @__PURE__ */ f.jsx(qt, { + title: e, + children: /* @__PURE__ */ f.jsx("div", { + style: { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + "--views-color": Nl[e], + }, + className: U.views_type_badge, + children: e[0], + }), + }), + tC = () => { + const [e, t] = ae(!1); + re(() => { + setTimeout(() => { + t(!0); + }, 500); + const o = setTimeout(() => { + t(!1); + }, 3500); + return () => clearTimeout(o); + }, []); + const n = () => { + t((o) => !o); + }; + return /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsxs(ke, { + id: "lineageLegend", + className: U.lineage_legend, + type: "button", + onClick: n, + children: [ + "Legend", + e ? /* @__PURE__ */ f.jsx(_b, {}) : /* @__PURE__ */ f.jsx(Eb, {}), + ], + }), + /* @__PURE__ */ f.jsx(Ac, { + flip: !0, + target: "lineageLegend", + isOpen: e, + className: U.column_legend, + placement: "top", + children: /* @__PURE__ */ f.jsxs(Mc, { + children: [ + Object.keys(Nl).map((o) => + /* @__PURE__ */ f.jsxs( + "div", + { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ f.jsx(Rl, { viewsType: o }), + /* @__PURE__ */ f.jsx("div", { children: o }), + ], + }, + o, + ), + ), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.column_code_icon, + children: /* @__PURE__ */ f.jsx(Jc, {}), + }), + /* @__PURE__ */ f.jsx("div", { children: "Code" }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.edge_select, + children: /* @__PURE__ */ f.jsx("div", {}), + }), + /* @__PURE__ */ f.jsx("div", { children: "Select" }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex gap-sm mb-1 align-items-center", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.edge_non_select, + children: /* @__PURE__ */ f.jsx("div", {}), + }), + /* @__PURE__ */ f.jsx("div", { children: "Non select" }), + ], + }), + ], + }), + }), + ], + }); + }; var ad = { 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 a = "", i = 0; i < arguments.length; i++) { @@ -21741,2311 +32061,2869 @@ var ad = { exports: {} }; return a; } function o(a) { - if (typeof a == "string" || typeof a == "number") - return a; - if (typeof a != "object") - return ""; - if (Array.isArray(a)) - return n.apply(null, a); - if (a.toString !== Object.prototype.toString && !a.toString.toString().includes("[native code]")) + if (typeof a == "string" || typeof a == "number") return a; + if (typeof a != "object") return ""; + if (Array.isArray(a)) return n.apply(null, a); + if ( + a.toString !== Object.prototype.toString && + !a.toString.toString().includes("[native code]") + ) return a.toString(); var i = ""; - for (var l in a) - t.call(a, l) && a[l] && (i = r(i, l)); + for (var l in a) t.call(a, l) && a[l] && (i = r(i, l)); return i; } function r(a, i) { - return i ? a ? a + " " + i : a + i : a; + return i ? (a ? a + " " + i : a + i) : a; } - e.exports ? (n.default = n, e.exports = n) : window.classNames = n; + e.exports ? ((n.default = n), (e.exports = n)) : (window.classNames = n); })(); })(ad); var nC = ad.exports; -const me = /* @__PURE__ */ ro(nC), oC = (e) => Se.get("upstreamTables", { table: e }), rC = (e) => Se.get("downstreamTables", { table: e }), aC = (e) => Se.get("getExposureDetails", { - name: e -}), Hl = (e, t) => Se.get("getColumns", { - table: e, - refresh: t -}), iC = (e) => Se.get("getConnectedColumns", e), lC = (e) => Se.get("sendFeedback", e), sC = () => Se.get("getLineageSettings", {}), Ji = (e) => Se.get("persistLineageSettings", e), id = () => Se.get("init", {}), cC = (e) => Se.get("openFile", { url: e }), uC = () => Se.get("openChat", {}), ld = (e) => Se.get("showInfoNotification", { message: e }), dC = () => Se.get("previewFeature", {}), Qi = (e) => Se.get("columnLineage", { event: e }), fC = (e) => Se.get("telemetryEvents", e); -var gC = /* @__PURE__ */ ((e) => (e.CANCEL = "cancel", e.END = "end", e.START = "start", e))(gC || {}); +const me = /* @__PURE__ */ ro(nC), + oC = (e) => Se.get("upstreamTables", { table: e }), + rC = (e) => Se.get("downstreamTables", { table: e }), + aC = (e) => + Se.get("getExposureDetails", { + name: e, + }), + Hl = (e, t) => + Se.get("getColumns", { + table: e, + refresh: t, + }), + iC = (e) => Se.get("getConnectedColumns", e), + lC = (e) => Se.get("sendFeedback", e), + sC = () => Se.get("getLineageSettings", {}), + Ji = (e) => Se.get("persistLineageSettings", e), + id = () => Se.get("init", {}), + cC = (e) => Se.get("openFile", { url: e }), + uC = () => Se.get("openChat", {}), + ld = (e) => Se.get("showInfoNotification", { message: e }), + dC = () => Se.get("previewFeature", {}), + Qi = (e) => Se.get("columnLineage", { event: e }), + fC = (e) => Se.get("telemetryEvents", e); +var gC = /* @__PURE__ */ ((e) => ( + (e.CANCEL = "cancel"), (e.END = "end"), (e.START = "start"), e +))(gC || {}); const qe = class qe { static onCancel() { - qe.isCancelled = !0, qe.inProgress = !1; + (qe.isCancelled = !0), (qe.inProgress = !1); } static cancel() { - qe.onCancel(), Qi( - "cancel" - /* CANCEL */ - ); + qe.onCancel(), + Qi( + "cancel", + /* CANCEL */ + ); const t = new CustomEvent("cll_cancelled", { detail: void 0 }); document.dispatchEvent(t); } static start() { - qe.inProgress = !0, qe.isCancelled = !1, qe.linkCount = 0, Qi( - "start" - /* START */ - ); + (qe.inProgress = !0), + (qe.isCancelled = !1), + (qe.linkCount = 0), + Qi( + "start", + /* START */ + ); } static end() { - qe.inProgress = !1, Qi( - "end" - /* END */ - ), fC({ - id: "columnLineageNumLinks", - params: { num: qe.linkCount } - }), qe.linkCount = 0; + (qe.inProgress = !1), + Qi( + "end", + /* END */ + ), + fC({ + id: "columnLineageNumLinks", + params: { num: qe.linkCount }, + }), + (qe.linkCount = 0); } static addLinks(t) { qe.linkCount += t; } static showCllInProgressMsg() { ld( - "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.", ); } }; ar(qe, "isCancelled", !1), ar(qe, "inProgress", !1), ar(qe, "linkCount", 0); let Le = qe; const hC = ({ datatype: e, color: t, size: n = "1rem" }) => { - const [o, r] = _e(() => { - switch (e.toLowerCase()) { - case "integer": - case "float": - case "double precision": - case "double": - case "bigint": - return [hb, "#FF754C"]; - case "bool": - case "boolean": - return [fb, "#00A5DB"]; - case "text": - case "character": - case "character varying": - case "varchar": - return [gb, "#3F8CFF"]; - case "geospatial": - return [bb, "#01CD8C"]; - case "date": - case "timestamp": - case "timestamp with time zone": - return [mb, "#247EFE"]; - default: - return [pb, "#6A24FE"]; - } - }, [e]); - return /* @__PURE__ */ f.jsx( - "div", - { + const [o, r] = _e(() => { + switch (e.toLowerCase()) { + case "integer": + case "float": + case "double precision": + case "double": + case "bigint": + return [hb, "#FF754C"]; + case "bool": + case "boolean": + return [fb, "#00A5DB"]; + case "text": + case "character": + case "character varying": + case "varchar": + return [gb, "#3F8CFF"]; + case "geospatial": + return [bb, "#01CD8C"]; + case "date": + case "timestamp": + case "timestamp with time zone": + return [mb, "#247EFE"]; + default: + return [pb, "#6A24FE"]; + } + }, [e]); + return /* @__PURE__ */ f.jsx("div", { style: { color: t || r }, className: "d-flex align-items-center", - children: /* @__PURE__ */ f.jsx(o, { width: n, height: n }) - } - ); -}, pC = { - seed: { - light: /* @__PURE__ */ f.jsx(vc, { style: { color: "#E6FAF4" } }), - dark: /* @__PURE__ */ f.jsx(vc, { style: { color: "#344B49" } }) - }, - model: { - light: /* @__PURE__ */ f.jsx(Er, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ f.jsx(Er, { style: { color: "#4D4343" } }) - }, - cte: { - light: /* @__PURE__ */ f.jsx(yc, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ f.jsx(yc, { style: { color: "#4B473F" } }) + children: /* @__PURE__ */ f.jsx(o, { width: n, height: n }), + }); }, - subquery: { - light: /* @__PURE__ */ f.jsx(Rb, { style: { color: "#FDF6EA" } }), - dark: /* @__PURE__ */ f.jsx(Hb, { style: { color: "#4B473F" } }) + pC = { + seed: { + light: /* @__PURE__ */ f.jsx(vc, { style: { color: "#E6FAF4" } }), + dark: /* @__PURE__ */ f.jsx(vc, { style: { color: "#344B49" } }), + }, + model: { + light: /* @__PURE__ */ f.jsx(Er, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ f.jsx(Er, { style: { color: "#4D4343" } }), + }, + cte: { + light: /* @__PURE__ */ f.jsx(yc, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ f.jsx(yc, { style: { color: "#4B473F" } }), + }, + subquery: { + light: /* @__PURE__ */ f.jsx(Rb, { style: { color: "#FDF6EA" } }), + dark: /* @__PURE__ */ f.jsx(Hb, { style: { color: "#4B473F" } }), + }, + source: { + light: /* @__PURE__ */ f.jsx(xc, { style: { color: "#EAF3FF" } }), + dark: /* @__PURE__ */ f.jsx(xc, { style: { color: "#384454" } }), + }, + exposure: { + light: /* @__PURE__ */ f.jsx(wc, { style: { color: "#FEEFF7" } }), + dark: /* @__PURE__ */ f.jsx(wc, { style: { color: "#4C404C" } }), + }, + analysis: { + light: /* @__PURE__ */ f.jsx(j1, {}), + dark: /* @__PURE__ */ f.jsx(j1, {}), + }, + snapshot: { + light: /* @__PURE__ */ f.jsx(Ec, { style: { color: "#F6F4FF" } }), + dark: /* @__PURE__ */ f.jsx(Ec, { style: { color: "#444554" } }), + }, + semantic_model: { + light: /* @__PURE__ */ f.jsx(Fb, {}), + dark: /* @__PURE__ */ f.jsx(jb, {}), + }, + macros: { + light: /* @__PURE__ */ f.jsx(R1, {}), + dark: /* @__PURE__ */ f.jsx(R1, {}), + }, + unknown: { + light: /* @__PURE__ */ f.jsx(Er, { style: { color: "#FFECE6" } }), + dark: /* @__PURE__ */ f.jsx(Er, { style: { color: "#4D4343" } }), + }, }, - source: { - light: /* @__PURE__ */ f.jsx(xc, { style: { color: "#EAF3FF" } }), - dark: /* @__PURE__ */ f.jsx(xc, { style: { color: "#384454" } }) + wa = ({ nodeType: e }) => + /* @__PURE__ */ f.jsxs("div", { + children: [ + e === "seed" && /* @__PURE__ */ f.jsx(Cb, {}), + e === "model" && /* @__PURE__ */ f.jsx(wr, {}), + e === "cte" && /* @__PURE__ */ f.jsx(wr, {}), + e === "subquery" && /* @__PURE__ */ f.jsx(wr, {}), + e === "source" && /* @__PURE__ */ f.jsx(yb, {}), + e === "exposure" && /* @__PURE__ */ f.jsx(vb, {}), + e === "analysis" && /* @__PURE__ */ f.jsx(j1, {}), + e === "snapshot" && /* @__PURE__ */ f.jsx(xb, {}), + e === "semantic_model" && /* @__PURE__ */ f.jsx(wb, {}), + e === "macros" && /* @__PURE__ */ f.jsx(R1, {}), + e === "unknown" && /* @__PURE__ */ f.jsx(wr, {}), + ], + }), + mC = ({ nodeType: e }) => { + const { + state: { theme: t }, + } = We(); + return /* @__PURE__ */ f.jsx(f.Fragment, { children: pC[e][t] }); }, - exposure: { - light: /* @__PURE__ */ f.jsx(wc, { style: { color: "#FEEFF7" } }), - dark: /* @__PURE__ */ f.jsx(wc, { style: { color: "#4C404C" } }) + _o = ({ id: e, icon: t, text: n, label: o }) => + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: U.table_node_pill, + id: e, + children: [ + /* @__PURE__ */ f.jsx("div", { className: U.icon, children: t }), + /* @__PURE__ */ f.jsx("div", { children: n }), + ], + }), + /* @__PURE__ */ f.jsx(Ld, { target: e, children: o }), + ], + }), + Fl = { + seed: U.seed, + model: U.model, + source: U.source, + exposure: U.exposure, + snapshot: U.snapshot, + semantic_model: U.metrics, + macros: U.macros, + analysis: U.analysis, + cte: U.model, + subquery: U.model, + unknown: U.exposure, }, - analysis: { light: /* @__PURE__ */ f.jsx(j1, {}), dark: /* @__PURE__ */ f.jsx(j1, {}) }, - snapshot: { - light: /* @__PURE__ */ f.jsx(Ec, { style: { color: "#F6F4FF" } }), - dark: /* @__PURE__ */ f.jsx(Ec, { style: { color: "#444554" } }) + Vo = { + seed: "SED", + model: "MDL", + source: "SRC", + exposure: "EXP", + snapshot: "SNP", + semantic_model: "MET", + macros: "SEM", + analysis: "ANY", + cte: "CTE", + subquery: "SUB", + unknown: "UNK", }, - semantic_model: { light: /* @__PURE__ */ f.jsx(Fb, {}), dark: /* @__PURE__ */ f.jsx(jb, {}) }, - macros: { light: /* @__PURE__ */ f.jsx(R1, {}), dark: /* @__PURE__ */ f.jsx(R1, {}) }, - unknown: { - light: /* @__PURE__ */ f.jsx(Er, { style: { color: "#FFECE6" } }), - dark: /* @__PURE__ */ f.jsx(Er, { style: { color: "#4D4343" } }) - } -}, wa = ({ - nodeType: e -}) => /* @__PURE__ */ f.jsxs("div", { children: [ - e === "seed" && /* @__PURE__ */ f.jsx(Cb, {}), - e === "model" && /* @__PURE__ */ f.jsx(wr, {}), - e === "cte" && /* @__PURE__ */ f.jsx(wr, {}), - e === "subquery" && /* @__PURE__ */ f.jsx(wr, {}), - e === "source" && /* @__PURE__ */ f.jsx(yb, {}), - e === "exposure" && /* @__PURE__ */ f.jsx(vb, {}), - e === "analysis" && /* @__PURE__ */ f.jsx(j1, {}), - e === "snapshot" && /* @__PURE__ */ f.jsx(xb, {}), - e === "semantic_model" && /* @__PURE__ */ f.jsx(wb, {}), - e === "macros" && /* @__PURE__ */ f.jsx(R1, {}), - e === "unknown" && /* @__PURE__ */ f.jsx(wr, {}) -] }), mC = ({ nodeType: e }) => { - const { - state: { theme: t } - } = We(); - return /* @__PURE__ */ f.jsx(f.Fragment, { children: pC[e][t] }); -}, _o = ({ id: e, icon: t, text: n, label: o }) => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsxs("div", { className: U.table_node_pill, id: e, children: [ - /* @__PURE__ */ f.jsx("div", { className: U.icon, children: t }), - /* @__PURE__ */ f.jsx("div", { children: n }) - ] }), - /* @__PURE__ */ f.jsx(Ld, { target: e, children: o }) -] }), Fl = { - seed: U.seed, - model: U.model, - source: U.source, - exposure: U.exposure, - snapshot: U.snapshot, - semantic_model: U.metrics, - macros: U.macros, - analysis: U.analysis, - cte: U.model, - subquery: U.model, - unknown: U.exposure -}, Vo = { - seed: "SED", - model: "MDL", - source: "SRC", - exposure: "EXP", - snapshot: "SNP", - semantic_model: "MET", - macros: "SEM", - analysis: "ANY", - cte: "CTE", - subquery: "SUB", - unknown: "UNK" -}, sd = (e, t) => e ? oC(t) : rC(t), cd = (e, t) => e ? t + 1 : t - 1, Ea = (e, t, n, o, r, a, i = Sp, l = !1, s) => { - const u = cd(r, a), c = (h) => { - var C, p; - const g = ((p = (C = e.find((v) => v.id === h)) == null ? void 0 : C.data) == null ? void 0 : p.level) || 0, m = Ll(a, g, o, h, r, l); - t.find((v) => v.id === m.id) || t.push(m); - }; - let d = 0; - for (const h of n) { - if (d >= i) { - const m = ea(o, r); - e.push({ - id: m, - data: { tables: n, prevTable: o, right: r, level: u }, - position: { x: 100, y: 100 }, - type: "seeMore", - width: Ko, - height: 100 - }), c(m); - break; - } - e.find((m) => m.id === h.table) || (d++, s ? s[h.table].type in Vo ? e.push(to(h, u, o)) : e.push(ed(h.table, u, o, s[h.table])) : e.push(to(h, u, o))), c(h.table); - } -}, Dt = (e, t, n = !1) => { - let o = 1 / 0; - const r = {}; - for (const p of e) - if (lt(p) && p.parentNode) - p.parentNode in r || (r[p.parentNode] = 0), p.position = { - x: Ap, - y: Mp + Or(r[p.parentNode]) - }, r[p.parentNode]++; - else { - const { level: v } = p.data; - o = Math.min(o, v); - } - const a = {}, i = {}, l = {}, s = {}, u = {}, c = {}; - for (const p of t) - lt(p) || xr(e.find((v) => v.id === p.source)) || xr(e.find((v) => v.id === p.target)) || (u[p.source] = u[p.source] || [], u[p.source].push(p.target), c[p.target] = c[p.target] || [], c[p.target].push(p.source)); - const d = (p) => { - const { level: v } = p.data; - if (i[v] = i[v] || [], !i[v].includes(p.id)) { - l[p.id] = i[v].length, a[p.id] = 0; - for (const y of i[v]) - a[p.id] += r[y] || 0; - i[v].push(p.id); - } - }, h = (p, v) => { - if (!s[p]) { - s[p] = !0, d(e.find((y) => y.id === p)); - for (const y of v[p] || []) h(y, v); - } - }; - for (const p of e) - lt(p) || xr(p) || s[p.id] || (h(p.id, u), s[p.id] = !1, h(p.id, c)); - for (const p of e) - lt(p) || xr(p) && d(p); - const g = (p) => { - const v = l[p.id] || 0, y = a[p.id] || 0; - return Xi + v * (Un + Dp) + Or(y, v); - }, m = (p) => (p - o) * (Ko + Tp) + kp, b = (p) => (p - o) * (Un + Np) + Xi, C = (p) => { - const v = l[p.id] || 0, y = a[p.id] || 0; - return Xi + v * (Un + Op) + Or(y, v); - }; - for (const p of e) { - if (lt(p)) continue; - const { level: v } = p.data; - p.position = n ? { x: C(p), y: b(v) } : { x: m(v), y: g(p) }; - } -}, ud = (e, t) => (e.forEach((n) => Qr(n, !0)), t.forEach((n) => no(n, !1)), [e, t]), Wo = (e, t, n) => { - Po(t, !0), Bo(t, !1); - const o = {}, r = {}, a = (s, u) => { - const c = [n], d = {}; - for (; c.length > 0; ) { - const h = c.shift(); - d[h] = !0, o[h] = !0, t.forEach((g) => { - g[s] === h && (r[g.id] = !0, d[g[u]] || c.push(g[u])); - }); - } - }; - a("source", "target"), a("target", "source"); - const i = [...t]; - i.forEach((s) => no(s, r[s.id])); - const l = [...e]; - return l.forEach((s) => Qr(s, !!o[s.id])), [l, i]; -}, H1 = (e, t) => { - const n = e.getNodes(), o = e.getEdges(), [r, a] = Wo(n, o, t); - e.setNodes(r), e.setEdges(a); -}, bC = async (e, t, n, o, r, a, i, l, s, u) => { - var x, A; - const c = [], d = [], { column_lineage: h, confidence: g, errors: m } = await iC({ - targets: r, - upstreamExpansion: a, - currAnd1HopTables: i, - selectedColumn: l, - showIndirectEdges: s.indirect - }); - u((T) => ({ ...T, ...m })), Le.addLinks(h.length); - const b = h.filter( - (T) => a ? hc(r, T.source) : hc(r, T.target) - ), C = b.map((T) => a ? T.target : T.source), p = {}, v = ([T, k], R) => { - p[T] = p[T] || [], p[T].find((L) => L.column === k) || p[T].push({ column: k, viewsType: R }); - }, y = (T, k, R, L, I) => { - const W = xa(R, L); - d.find((B) => B.id === W) || d.push( - Jr( - R, - L, - t[T], - t[k], - I, + sd = (e, t) => (e ? oC(t) : rC(t)), + cd = (e, t) => (e ? t + 1 : t - 1), + Ea = (e, t, n, o, r, a, i = Sp, l = !1, s) => { + const u = cd(r, a), + c = (h) => { + var C, p; + const g = + ((p = (C = e.find((v) => v.id === h)) == null ? void 0 : C.data) == + null + ? void 0 + : p.level) || 0, + m = Ll(a, g, o, h, r, l); + t.find((v) => v.id === m.id) || t.push(m); + }; + let d = 0; + for (const h of n) { + if (d >= i) { + const m = ea(o, r); + e.push({ + id: m, + data: { tables: n, prevTable: o, right: r, level: u }, + position: { x: 100, y: 100 }, + type: "seeMore", + width: Ko, + height: 100, + }), + c(m); + break; + } + e.find((m) => m.id === h.table) || + (d++, s - ) - ); - }, E = []; - for (const T of b) { - v(T.source), v(T.target, T.viewsType); - const [k] = T.source, [R] = T.target, L = o[k], I = o[R], W = T.source.join("/"), B = T.target.join("/"), w = Vt + W, N = Vt + B, S = T.type; - if (L && I) - y(k, R, w, N, S); - else if (L) { - const D = n[R]; - y(k, D, w, D, S), E.push(T); - } else if (I) { - const D = n[k]; - y(D, R, D, N, S), E.push(T); - } else - E.push(T); - } - for (const T in p) { - if (!o[T]) continue; - const k = [...p[T]]; - k.sort((R, L) => R.column.localeCompare(L.column)); - for (const R of k) { - const L = {}; - b.filter((I) => I.target.join("/") === `${T}/${R.column}`).forEach((I) => { - I.type !== "indirect" && (L[I.source.join("/")] = I.viewsCode || []); - }), c.push( - Xr( - T, - R.column, - R.viewsType, - L, - (A = (x = e.find((I) => I.id = T)) == null ? void 0 : x.data) == null ? void 0 : A.nodeType - ) - ); - } - } - return { nodes: c, edges: d, collectColumns: p, newCurr: C, confidence: g, seeMoreLineage: E }; -}, CC = async (e, t, n, o) => { - var g, m, b, C; - let r = e.filter(cn), a = t.filter(cn); - [r, a] = ud(r, a); - const i = {}; - r.forEach((p) => i[p.id] = p.data.level); - const l = {}; - e.filter((p) => p.type === "table").forEach((p) => l[p.id] = !0); - const s = {}, u = []; - for (const p of t) { - if (p.id.startsWith(Vt)) continue; - const v = l[p.source], y = l[p.target]; - v && y ? u.push({ src: p.source, dst: p.target }) : v ? (g = e.find((x) => x.id === p.target).data.tables) == null || g.forEach((x) => { - u.push({ src: p.source, dst: x.table }), s[x.table] = p.target; - }) : y && ((m = e.find((x) => x.id === p.source).data.tables) == null || m.forEach((x) => { - u.push({ src: x.table, dst: p.target }), s[x.table] = p.source; - })); - } - const { collect_columns: c, highlight_edges: d } = await o({ - column_fqn: n, - edges: u - }); - for (const p in c) { - if (!l[p]) continue; - const v = [...c[p]]; - v.sort((y, E) => y.column.localeCompare(E.column)); - for (const y of v) { - const E = (C = (b = e.find((x) => x.id === p)) == null ? void 0 : b.data) == null ? void 0 : C.nodeType; - r.push(Xr(p, y.column, y.viewsType, {}, E)); + ? s[h.table].type in Vo + ? e.push(to(h, u, o)) + : e.push(ed(h.table, u, o, s[h.table])) + : e.push(to(h, u, o))), + c(h.table); } - } - a.forEach((p) => p.style = va); - const h = (p, v, y, E) => { - const x = xa(y, E); - a.find((A) => A.id === x) || a.push( - Jr(y, E, i[p], i[v], "direct", { - direct: !0 - }) - ); - }; - for (const p of d) { - const [v] = p[0].split("/"), [y] = p[1].split("/"), E = l[v], x = l[y], A = Vt + p[0], T = Vt + p[1]; - if (E && x) - h(v, y, A, T); - else if (E) { - const k = s[y]; - h(v, k, A, k); - } else if (x) { - const k = s[v]; - h(k, y, k, T); - } - } - return Dt(r, a), { nodes: r, edges: a, collect_columns: c }; -}, yC = (e, t, n, o) => { - const r = [...e.nodes], a = [...e.edges]; - if (t.nodes.forEach((i) => { - const l = r.find((s) => s.id === i.id); - if (!l) - r.push(i); - else { - const s = i.data.viewsCode && Object.keys(i.data.viewsCode).length ? i.data.viewsCode : l.data.viewsCode; - l.data = { - ...l.data, - ...i.data, - viewsCode: s, - viewsType: l.data.viewsType || i.data.viewsType + }, + Dt = (e, t, n = !1) => { + let o = 1 / 0; + const r = {}; + for (const p of e) + if (lt(p) && p.parentNode) + p.parentNode in r || (r[p.parentNode] = 0), + (p.position = { + x: Ap, + y: Mp + Or(r[p.parentNode]), + }), + r[p.parentNode]++; + else { + const { level: v } = p.data; + o = Math.min(o, v); + } + const a = {}, + i = {}, + l = {}, + s = {}, + u = {}, + c = {}; + for (const p of t) + lt(p) || + xr(e.find((v) => v.id === p.source)) || + xr(e.find((v) => v.id === p.target)) || + ((u[p.source] = u[p.source] || []), + u[p.source].push(p.target), + (c[p.target] = c[p.target] || []), + c[p.target].push(p.source)); + const d = (p) => { + const { level: v } = p.data; + if (((i[v] = i[v] || []), !i[v].includes(p.id))) { + (l[p.id] = i[v].length), (a[p.id] = 0); + for (const y of i[v]) a[p.id] += r[y] || 0; + i[v].push(p.id); + } + }, + h = (p, v) => { + if (!s[p]) { + (s[p] = !0), d(e.find((y) => y.id === p)); + for (const y of v[p] || []) h(y, v); + } }; + for (const p of e) + lt(p) || xr(p) || s[p.id] || (h(p.id, u), (s[p.id] = !1), h(p.id, c)); + for (const p of e) lt(p) || (xr(p) && d(p)); + const g = (p) => { + const v = l[p.id] || 0, + y = a[p.id] || 0; + return Xi + v * (Un + Dp) + Or(y, v); + }, + m = (p) => (p - o) * (Ko + Tp) + kp, + b = (p) => (p - o) * (Un + Np) + Xi, + C = (p) => { + const v = l[p.id] || 0, + y = a[p.id] || 0; + return Xi + v * (Un + Op) + Or(y, v); + }; + for (const p of e) { + if (lt(p)) continue; + const { level: v } = p.data; + p.position = n ? { x: C(p), y: b(v) } : { x: m(v), y: g(p) }; } - }), t.edges.forEach((i) => { - a.find((l) => l.id === i.id) || a.push(i); - }), n.name) { - const i = {}, l = zo(n.table, n.name), s = { [l]: "direct" }, u = [l], c = {}, d = o ? "source" : "target", h = o ? "target" : "source"; - for (; u.length > 0; ) { - const g = u.shift(); - if (!c[g]) { - c[g] = !0; - for (const m of a) - m[d] === g && (u.push(m[h]), s[m[h]] !== "direct" && (s[m[h]] = s[m[d]] === "direct" ? m.data.type : "indirect")); - for (const m of a) - m[d] === g && (i[m.id] = s[m[h]]); + }, + ud = (e, t) => ( + e.forEach((n) => Qr(n, !0)), t.forEach((n) => no(n, !1)), [e, t] + ), + Wo = (e, t, n) => { + Po(t, !0), Bo(t, !1); + const o = {}, + r = {}, + a = (s, u) => { + const c = [n], + d = {}; + for (; c.length > 0; ) { + const h = c.shift(); + (d[h] = !0), + (o[h] = !0), + t.forEach((g) => { + g[s] === h && ((r[g.id] = !0), d[g[u]] || c.push(g[u])); + }); + } + }; + a("source", "target"), a("target", "source"); + const i = [...t]; + i.forEach((s) => no(s, r[s.id])); + const l = [...e]; + return l.forEach((s) => Qr(s, !!o[s.id])), [l, i]; + }, + H1 = (e, t) => { + const n = e.getNodes(), + o = e.getEdges(), + [r, a] = Wo(n, o, t); + e.setNodes(r), e.setEdges(a); + }, + bC = async (e, t, n, o, r, a, i, l, s, u) => { + var x, A; + const c = [], + d = [], + { + column_lineage: h, + confidence: g, + errors: m, + } = await iC({ + targets: r, + upstreamExpansion: a, + currAnd1HopTables: i, + selectedColumn: l, + showIndirectEdges: s.indirect, + }); + u((T) => ({ ...T, ...m })), Le.addLinks(h.length); + const b = h.filter((T) => (a ? hc(r, T.source) : hc(r, T.target))), + C = b.map((T) => (a ? T.target : T.source)), + p = {}, + v = ([T, k], R) => { + (p[T] = p[T] || []), + p[T].find((L) => L.column === k) || + p[T].push({ column: k, viewsType: R }); + }, + y = (T, k, R, L, I) => { + const W = xa(R, L); + d.find((B) => B.id === W) || d.push(Jr(R, L, t[T], t[k], I, s)); + }, + E = []; + for (const T of b) { + v(T.source), v(T.target, T.viewsType); + const [k] = T.source, + [R] = T.target, + L = o[k], + I = o[R], + W = T.source.join("/"), + B = T.target.join("/"), + w = Vt + W, + N = Vt + B, + S = T.type; + if (L && I) y(k, R, w, N, S); + else if (L) { + const D = n[R]; + y(k, D, w, D, S), E.push(T); + } else if (I) { + const D = n[k]; + y(D, R, D, N, S), E.push(T); + } else E.push(T); + } + for (const T in p) { + if (!o[T]) continue; + const k = [...p[T]]; + k.sort((R, L) => R.column.localeCompare(L.column)); + for (const R of k) { + const L = {}; + b + .filter((I) => I.target.join("/") === `${T}/${R.column}`) + .forEach((I) => { + I.type !== "indirect" && + (L[I.source.join("/")] = I.viewsCode || []); + }), + c.push( + Xr( + T, + R.column, + R.viewsType, + L, + (A = (x = e.find((I) => (I.id = T))) == null ? void 0 : x.data) == + null + ? void 0 + : A.nodeType, + ), + ); } } - for (const g of a) - cn(g) || (g.data.type = i[g.id] || g.data.type, g.style = g.data.type === "direct" ? Dl : Ol); - } - return Dt(r, a), [r, a]; -}, vC = (e, t) => { - const n = e.filter((r) => cn(r)), o = t.filter((r) => cn(r)); - return [n, o]; -}, dd = async (e, t, n, o) => { - const r = [...e], a = [...t], i = [ - { table: n, level: r.find((s) => s.id === n).data.level } - ], l = {}; - for (; i.length > 0; ) { - const { table: s, level: u } = i.shift(); - if (l[s]) continue; - l[s] = !0; - const { tables: c } = await sd(o, s); - Ea(r, a, c, s, o, u), c.forEach((d) => { - const h = r.find((g) => g.id === d.table); - (h == null ? void 0 : h.data.materialization) === "ephemeral" && i.push({ table: d.table, level: h.data.level }); + return { + nodes: c, + edges: d, + collectColumns: p, + newCurr: C, + confidence: g, + seeMoreLineage: E, + }; + }, + CC = async (e, t, n, o) => { + var g, m, b, C; + let r = e.filter(cn), + a = t.filter(cn); + [r, a] = ud(r, a); + const i = {}; + r.forEach((p) => (i[p.id] = p.data.level)); + const l = {}; + e.filter((p) => p.type === "table").forEach((p) => (l[p.id] = !0)); + const s = {}, + u = []; + for (const p of t) { + if (p.id.startsWith(Vt)) continue; + const v = l[p.source], + y = l[p.target]; + v && y + ? u.push({ src: p.source, dst: p.target }) + : v + ? (g = e.find((x) => x.id === p.target).data.tables) == null || + g.forEach((x) => { + u.push({ src: p.source, dst: x.table }), (s[x.table] = p.target); + }) + : y && + ((m = e.find((x) => x.id === p.source).data.tables) == null || + m.forEach((x) => { + u.push({ src: x.table, dst: p.target }), + (s[x.table] = p.source); + })); + } + const { collect_columns: c, highlight_edges: d } = await o({ + column_fqn: n, + edges: u, }); - } - return [r, a]; -}, ta = async (e, t, n, o, r) => { - const a = [...e], i = [...t]; - if (o >= r) return [a, i]; - const l = jp(o, r), s = a.find((c) => c.id === n).data.level, u = async (c) => { - const d = [ - { table: n, level: s } - ], h = {}; - for (; d.length > 0; ) { - const g = d.shift(); - if (h[g.table]) continue; - h[g.table] = !0; - const { tables: m } = await sd(c, g.table); - Ea( - a, - i, - m, - g.table, - c, - g.level, - 25 - ); - const b = cd(c, g.level); - l(b) ? d.push(...m.map((C) => ({ table: C.table, level: b }))) : d.push( - ...m.filter((C) => C.materialization === "ephemeral").map((C) => ({ table: C.table, level: b })) - ); + for (const p in c) { + if (!l[p]) continue; + const v = [...c[p]]; + v.sort((y, E) => y.column.localeCompare(E.column)); + for (const y of v) { + const E = + (C = (b = e.find((x) => x.id === p)) == null ? void 0 : b.data) == + null + ? void 0 + : C.nodeType; + r.push(Xr(p, y.column, y.viewsType, {}, E)); + } } - }; - return r > s && await u(!0), o < s && await u(!1), [a, i]; -}, _c = (e, t, n, o) => { - if (!n) return -1; - const r = o ? "source" : "target", a = o ? "target" : "source", i = o ? "upstreamCount" : "downstreamCount", l = {}, s = {}; - for (const g of e) - lt(g) || (l[g.id] = g, s[g.id] = []); - for (const g of t) - lt(g) || s[g[r]].push(g[a]); - const c = (() => { - const g = [n], m = {}; - for (; g.length > 0; ) { - const b = g.shift(); - if (m[b]) continue; - m[b] = !0; - const C = l[b].data; - if (C[i] !== 0) { - if (s[b].length < C[i]) return b; - for (const p of s[b]) g.push(p); + a.forEach((p) => (p.style = va)); + const h = (p, v, y, E) => { + const x = xa(y, E); + a.find((A) => A.id === x) || + a.push( + Jr(y, E, i[p], i[v], "direct", { + direct: !0, + }), + ); + }; + for (const p of d) { + const [v] = p[0].split("/"), + [y] = p[1].split("/"), + E = l[v], + x = l[y], + A = Vt + p[0], + T = Vt + p[1]; + if (E && x) h(v, y, A, T); + else if (E) { + const k = s[y]; + h(v, k, A, k); + } else if (x) { + const k = s[v]; + h(k, y, k, T); } } - })(); - if (!c) return -1; - const { level: d } = l[n].data, { level: h } = l[c].data; - return o ? h - d : d - h; -}, $o = (e, t, n) => [ - _c(e, t, n, !1), - _c(e, t, n, !0) -], Il = async (e, t, n, o, r, a, i, l, s, u, c, d) => { - var x, A, T, k, R, L; - let h = !1; - const { levelMap: g, tableNodes: m, seeMoreIdTableReverseMap: b } = Lp(e, t), C = (I) => e.find((W) => W.id === I), p = {}, v = {}; - let y = o.map((I) => [ - I.table, - I.name - ]), E = []; - for (d(() => ({})); !(Le.isCancelled || (y = y.filter((V) => !p[V.join("/")]), y.length === 0 && E.length === 0)); ) { - const I = {}; - y.forEach((V) => { - p[V.join("/")] = !0, I[V[0]] = !0; - }); - const [W, B] = n ? ["source", "target"] : ["target", "source"], w = [], N = [], S = []; - let D = !1; - for (const V of t) { - if (lt(V)) continue; - const q = V[W], K = V[B], X = m[K] ? [(x = C(K)) == null ? void 0 : x.data] : (k = (T = (A = C(K)) == null ? void 0 : A.data) == null ? void 0 : T.tables) == null ? void 0 : k.filter( - (J) => !m[J.table] - ); - X == null || X.forEach((J) => { - if (!J) return; - const { table: te, materialization: Z } = J; - I[q] ? (D = !0, Z === "ephemeral" ? (pc( - v, - te, - y.filter((se) => se[0] === q) - ), N.push(te)) : w.push(te)) : E.includes(q) && (D = !0, Z === "ephemeral" ? (pc( - v, - te, - v[q] - ), N.push(te)) : (S.push(q), w.push(te))); - }); + return Dt(r, a), { nodes: r, edges: a, collect_columns: c }; + }, + yC = (e, t, n, o) => { + const r = [...e.nodes], + a = [...e.edges]; + if ( + (t.nodes.forEach((i) => { + const l = r.find((s) => s.id === i.id); + if (!l) r.push(i); + else { + const s = + i.data.viewsCode && Object.keys(i.data.viewsCode).length + ? i.data.viewsCode + : l.data.viewsCode; + l.data = { + ...l.data, + ...i.data, + viewsCode: s, + viewsType: l.data.viewsType || i.data.viewsType, + }; + } + }), + t.edges.forEach((i) => { + a.find((l) => l.id === i.id) || a.push(i); + }), + n.name) + ) { + const i = {}, + l = zo(n.table, n.name), + s = { [l]: "direct" }, + u = [l], + c = {}, + d = o ? "source" : "target", + h = o ? "target" : "source"; + for (; u.length > 0; ) { + const g = u.shift(); + if (!c[g]) { + c[g] = !0; + for (const m of a) + m[d] === g && + (u.push(m[h]), + s[m[h]] !== "direct" && + (s[m[h]] = s[m[d]] === "direct" ? m.data.type : "indirect")); + for (const m of a) m[d] === g && (i[m.id] = s[m[h]]); + } + } + for (const g of a) + cn(g) || + ((g.data.type = i[g.id] || g.data.type), + (g.style = g.data.type === "direct" ? Dl : Ol)); } - if (!D) - break; - E = N; - const j = Object.keys(I).concat(w); - S.forEach((V) => { - y.push(...v[V]), j.push(...v[V].map((q) => q[0])); - }); - const O = await bC( - e, - g, - b, - m, - y, - n, - Array.from(new Set(j)), - u, - c, - d - ); - ((R = O.confidence) == null ? void 0 : R.confidence) === "low" && r(((L = O.confidence) == null ? void 0 : L.operator_list) || []), y = O.newCurr, !h && y.length > 0 && (h = !0), y = y.filter( - (V) => t.filter((q) => (n ? q.source : q.target) === V[0]).length > 0 - ); - const [M, F] = l(), [z, $] = yC( - { nodes: M, edges: F }, - O, - u, - n - ); - a(O.seeMoreLineage), Dt(z, $), s(z, $), i(O.collectColumns); - } - return h; -}, xC = (e, t, n, { prevTable: o, tables: r, right: a, level: i, lineage: l }, s) => { - var h; - const { table: u } = n; - if (e.find((g) => g.id === u)) return !1; - e.push(to(n, i, o)); - const d = (h = e.find((g) => g.id === o)) == null ? void 0 : h.data.level; - if (t.push(Ll(d, i, o, u, a)), l == null || l.forEach((g) => { - const m = zo(g.source[0], g.source[1]), b = zo(g.target[0], g.target[1]), C = {}; - if (a && l.filter((p) => p.target.join("/") === g.target.join("/")).forEach((p) => { - C[p.source.join("/")] = p.viewsCode || []; - }), a) { - if (g.target[0] !== u) return; - e.push( - Xr( - g.target[0], - g.target[1], - g.viewsType, - C, - n.nodeType - ) - ), t.push( - Jr(m, b, i - 1, i, g.type, s) - ); - } else { - if (g.source[0] !== u) return; - e.push( - Xr( - g.source[0], - g.source[1], - g.viewsType, - C, - n.nodeType - ) - ), t.push( - Jr(m, b, i, i + 1, g.type, s) + return Dt(r, a), [r, a]; + }, + vC = (e, t) => { + const n = e.filter((r) => cn(r)), + o = t.filter((r) => cn(r)); + return [n, o]; + }, + dd = async (e, t, n, o) => { + const r = [...e], + a = [...t], + i = [{ table: n, level: r.find((s) => s.id === n).data.level }], + l = {}; + for (; i.length > 0; ) { + const { table: s, level: u } = i.shift(); + if (l[s]) continue; + l[s] = !0; + const { tables: c } = await sd(o, s); + Ea(r, a, c, s, o, u), + c.forEach((d) => { + const h = r.find((g) => g.id === d.table); + (h == null ? void 0 : h.data.materialization) === "ephemeral" && + i.push({ table: d.table, level: h.data.level }); + }); + } + return [r, a]; + }, + ta = async (e, t, n, o, r) => { + const a = [...e], + i = [...t]; + if (o >= r) return [a, i]; + const l = jp(o, r), + s = a.find((c) => c.id === n).data.level, + u = async (c) => { + const d = [{ table: n, level: s }], + h = {}; + for (; d.length > 0; ) { + const g = d.shift(); + if (h[g.table]) continue; + h[g.table] = !0; + const { tables: m } = await sd(c, g.table); + Ea(a, i, m, g.table, c, g.level, 25); + const b = cd(c, g.level); + l(b) + ? d.push(...m.map((C) => ({ table: C.table, level: b }))) + : d.push( + ...m + .filter((C) => C.materialization === "ephemeral") + .map((C) => ({ table: C.table, level: b })), + ); + } + }; + return r > s && (await u(!0)), o < s && (await u(!1)), [a, i]; + }, + _c = (e, t, n, o) => { + if (!n) return -1; + const r = o ? "source" : "target", + a = o ? "target" : "source", + i = o ? "upstreamCount" : "downstreamCount", + l = {}, + s = {}; + for (const g of e) lt(g) || ((l[g.id] = g), (s[g.id] = [])); + for (const g of t) lt(g) || s[g[r]].push(g[a]); + const c = (() => { + const g = [n], + m = {}; + for (; g.length > 0; ) { + const b = g.shift(); + if (m[b]) continue; + m[b] = !0; + const C = l[b].data; + if (C[i] !== 0) { + if (s[b].length < C[i]) return b; + for (const p of s[b]) g.push(p); + } + } + })(); + if (!c) return -1; + const { level: d } = l[n].data, + { level: h } = l[c].data; + return o ? h - d : d - h; + }, + $o = (e, t, n) => [_c(e, t, n, !1), _c(e, t, n, !0)], + Il = async (e, t, n, o, r, a, i, l, s, u, c, d) => { + var x, A, T, k, R, L; + let h = !1; + const { + levelMap: g, + tableNodes: m, + seeMoreIdTableReverseMap: b, + } = Lp(e, t), + C = (I) => e.find((W) => W.id === I), + p = {}, + v = {}; + let y = o.map((I) => [I.table, I.name]), + E = []; + for ( + d(() => ({})); + !( + Le.isCancelled || + ((y = y.filter((V) => !p[V.join("/")])), + y.length === 0 && E.length === 0) ); + + ) { + const I = {}; + y.forEach((V) => { + (p[V.join("/")] = !0), (I[V[0]] = !0); + }); + const [W, B] = n ? ["source", "target"] : ["target", "source"], + w = [], + N = [], + S = []; + let D = !1; + for (const V of t) { + if (lt(V)) continue; + const q = V[W], + K = V[B], + X = m[K] + ? [(x = C(K)) == null ? void 0 : x.data] + : (k = + (T = (A = C(K)) == null ? void 0 : A.data) == null + ? void 0 + : T.tables) == null + ? void 0 + : k.filter((J) => !m[J.table]); + X == null || + X.forEach((J) => { + if (!J) return; + const { table: te, materialization: Z } = J; + I[q] + ? ((D = !0), + Z === "ephemeral" + ? (pc( + v, + te, + y.filter((se) => se[0] === q), + ), + N.push(te)) + : w.push(te)) + : E.includes(q) && + ((D = !0), + Z === "ephemeral" + ? (pc(v, te, v[q]), N.push(te)) + : (S.push(q), w.push(te))); + }); + } + if (!D) break; + E = N; + const j = Object.keys(I).concat(w); + S.forEach((V) => { + y.push(...v[V]), j.push(...v[V].map((q) => q[0])); + }); + const O = await bC(e, g, b, m, y, n, Array.from(new Set(j)), u, c, d); + ((R = O.confidence) == null ? void 0 : R.confidence) === "low" && + r(((L = O.confidence) == null ? void 0 : L.operator_list) || []), + (y = O.newCurr), + !h && y.length > 0 && (h = !0), + (y = y.filter( + (V) => t.filter((q) => (n ? q.source : q.target) === V[0]).length > 0, + )); + const [M, F] = l(), + [z, $] = yC({ nodes: M, edges: F }, O, u, n); + a(O.seeMoreLineage), Dt(z, $), s(z, $), i(O.collectColumns); } - }), r.every((g) => !!e.find((m) => m.id === g.table))) { - const g = ea(o, a), m = a ? `${o}-${g}` : `${g}-${o}`; - return bc(e, g), bc(t, m), !0; - } - return !1; -}, oo = async (e, t, n, o, r) => { - var u; - if (!n) return 0; - const a = (u = e.find((c) => c.id === n)) == null ? void 0 : u.data; - if (!a) return 0; - const { level: i } = a, l = e.length, [s] = await ta( - e, - t, - n, - i - o, - i + r - ); - return s.length - l; -}, wC = (e, t, n, o) => { - if (!Pg(e)) - return { nodes: [], edgeIds: [] }; - const r = n.filter((a) => (o ? a.target : a.source) === e.id); - return { - nodes: t.filter( - (a) => r.find((i) => i.source === a.id || i.target === a.id) - ), - edgeIds: r.map((a) => xa(a.source, a.target)) - }; -}, F1 = (e, t, n, o = [], r) => { - const { nodes: a, edgeIds: i } = wC( + return h; + }, + xC = ( e, t, n, - r - ); - return a.reduce( - (l, s) => { - if (l.nodes.push(s), l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...i])), o.findIndex((u) => u.id == s.id) === -1) { - o.push(s); - const { nodes: u, edges: c } = F1( - 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: [] } - ); -}, EC = (e, t) => { - const n = t.getNodes().filter((i) => lt(i)), o = t.getEdges(); - n.forEach((i) => { - const l = t.getNode(i.id); - l && Qr(l, !1); - }), o.forEach((i) => { - const l = t.getEdge(i.id); - l && (l.hidden = !0, no(l, !1)); - }); - const r = F1(e, n, o, [], !0), a = F1(e, n, o, [], !1); - [r, a].forEach(({ nodes: i, edges: l }) => { - i.forEach((s) => { - const u = t.getNode(s.id); - u && Qr(u, !0); - }), l.forEach((s) => { - const u = t.getEdge(s); - u && (u.hidden = !1, no(u, !0)); - }); - }); -}, en = "-1px", Xo = () => /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx( - at, - { - id: "left", - type: "source", - className: "invisible", - isConnectable: !1, - position: ne.Left, - style: { left: en } - } - ), - /* @__PURE__ */ f.jsx( - at, - { - id: "right", - type: "source", - className: "invisible", - isConnectable: !1, - position: ne.Right, - style: { right: en } - } - ), - /* @__PURE__ */ f.jsx( - at, - { - id: "left", - type: "target", - className: "invisible", - isConnectable: !1, - position: ne.Left, - style: { left: en } - } - ), - /* @__PURE__ */ f.jsx( - at, - { - id: "right", - type: "target", - className: "invisible", - isConnectable: !1, - position: ne.Right, - style: { right: en } - } - ), - /* @__PURE__ */ f.jsx( - at, - { - id: "top", - type: "source", - className: "invisible", - isConnectable: !1, - position: ne.Top, - style: { top: en } - } - ), - /* @__PURE__ */ f.jsx( - at, - { - id: "bottom", - type: "source", - className: "invisible", - isConnectable: !1, - position: ne.Bottom, - style: { bottom: en } - } - ), - /* @__PURE__ */ f.jsx( - at, - { - id: "top", - type: "target", - className: "invisible", - isConnectable: !1, - position: ne.Top, - style: { top: en } - } - ), - /* @__PURE__ */ f.jsx( - at, - { - id: "bottom", - type: "target", - className: "invisible", - isConnectable: !1, - position: ne.Bottom, - style: { bottom: en } - } - ) -] }), fd = ({ data: e }) => { - var N; - const { - label: t, - table: n, - url: o, - upstreamCount: r, - downstreamCount: a, - nodeType: i, - tests: l, - materialization: s, - isExternalProject: u, - schema: c - } = e, d = wt(), { - state: { - selectedTable: h, - collectColumns: g, - selectedColumn: m, - leftExpansion: b, - rightExpansion: C, - selectCheck: p, - nonSelectCheck: v, - errors: y - }, - rerender: E - } = We(), x = $e(), A = Object.keys(g[n] || {}).length, T = A > 0, k = h === n, R = async (S) => { - if (Le.inProgress) { - Le.showCllInProgressMsg(); - return; + { prevTable: o, tables: r, right: a, level: i, lineage: l }, + s, + ) => { + var h; + const { table: u } = n; + if (e.find((g) => g.id === u)) return !1; + e.push(to(n, i, o)); + const d = (h = e.find((g) => g.id === o)) == null ? void 0 : h.data.level; + if ( + (t.push(Ll(d, i, o, u, a)), + l == null || + l.forEach((g) => { + const m = zo(g.source[0], g.source[1]), + b = zo(g.target[0], g.target[1]), + C = {}; + if ( + (a && + l + .filter((p) => p.target.join("/") === g.target.join("/")) + .forEach((p) => { + C[p.source.join("/")] = p.viewsCode || []; + }), + a) + ) { + if (g.target[0] !== u) return; + e.push(Xr(g.target[0], g.target[1], g.viewsType, C, n.nodeType)), + t.push(Jr(m, b, i - 1, i, g.type, s)); + } else { + if (g.source[0] !== u) return; + e.push(Xr(g.source[0], g.source[1], g.viewsType, C, n.nodeType)), + t.push(Jr(m, b, i, i + 1, g.type, s)); + } + }), + r.every((g) => !!e.find((m) => m.id === g.table))) + ) { + const g = ea(o, a), + m = a ? `${o}-${g}` : `${g}-${o}`; + return bc(e, g), bc(t, m), !0; } - let [D, j] = await dd( - d.getNodes(), - d.getEdges(), - n, - S + return !1; + }, + oo = async (e, t, n, o, r) => { + var u; + if (!n) return 0; + const a = (u = e.find((c) => c.id === n)) == null ? void 0 : u.data; + if (!a) return 0; + const { level: i } = a, + l = e.length, + [s] = await ta(e, t, n, i - o, i + r); + return s.length - l; + }, + wC = (e, t, n, o) => { + if (!Pg(e)) return { nodes: [], edgeIds: [] }; + const r = n.filter((a) => (o ? a.target : a.source) === e.id); + return { + nodes: t.filter((a) => + r.find((i) => i.source === a.id || i.target === a.id), + ), + edgeIds: r.map((a) => xa(a.source, a.target)), + }; + }, + F1 = (e, t, n, o = [], r) => { + const { nodes: a, edgeIds: i } = wC(e, t, n, r); + return a.reduce( + (l, s) => { + if ( + (l.nodes.push(s), + (l.edges = Array.from(/* @__PURE__ */ new Set([...l.edges, ...i]))), + o.findIndex((u) => u.id == s.id) === -1) + ) { + o.push(s); + const { nodes: u, edges: c } = F1(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 ([D, j] = Wo(D, j, h), Dt(D, j), d.setNodes(D), d.setEdges(j), x( - Do($o(D, j, h)) - ), x( - Kn( - await oo( - D, - j, - h, - b, - C + }, + EC = (e, t) => { + const n = t.getNodes().filter((i) => lt(i)), + o = t.getEdges(); + n.forEach((i) => { + const l = t.getNode(i.id); + l && Qr(l, !1); + }), + o.forEach((i) => { + const l = t.getEdge(i.id); + l && ((l.hidden = !0), no(l, !1)); + }); + const r = F1(e, n, o, [], !0), + a = F1(e, n, o, [], !1); + [r, a].forEach(({ nodes: i, edges: l }) => { + i.forEach((s) => { + const u = t.getNode(s.id); + u && Qr(u, !0); + }), + l.forEach((s) => { + const u = t.getEdge(s); + u && ((u.hidden = !1), no(u, !0)); + }); + }); + }, + en = "-1px", + Xo = () => + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx(at, { + id: "left", + type: "source", + className: "invisible", + isConnectable: !1, + position: ne.Left, + style: { left: en }, + }), + /* @__PURE__ */ f.jsx(at, { + id: "right", + type: "source", + className: "invisible", + isConnectable: !1, + position: ne.Right, + style: { right: en }, + }), + /* @__PURE__ */ f.jsx(at, { + id: "left", + type: "target", + className: "invisible", + isConnectable: !1, + position: ne.Left, + style: { left: en }, + }), + /* @__PURE__ */ f.jsx(at, { + id: "right", + type: "target", + className: "invisible", + isConnectable: !1, + position: ne.Right, + style: { right: en }, + }), + /* @__PURE__ */ f.jsx(at, { + id: "top", + type: "source", + className: "invisible", + isConnectable: !1, + position: ne.Top, + style: { top: en }, + }), + /* @__PURE__ */ f.jsx(at, { + id: "bottom", + type: "source", + className: "invisible", + isConnectable: !1, + position: ne.Bottom, + style: { bottom: en }, + }), + /* @__PURE__ */ f.jsx(at, { + id: "top", + type: "target", + className: "invisible", + isConnectable: !1, + position: ne.Top, + style: { top: en }, + }), + /* @__PURE__ */ f.jsx(at, { + id: "bottom", + type: "target", + className: "invisible", + isConnectable: !1, + position: ne.Bottom, + style: { bottom: en }, + }), + ], + }), + fd = ({ data: e }) => { + var N; + const { + label: t, + table: n, + url: o, + upstreamCount: r, + downstreamCount: a, + nodeType: i, + tests: l, + materialization: s, + isExternalProject: u, + schema: c, + } = e, + d = wt(), + { + state: { + selectedTable: h, + collectColumns: g, + selectedColumn: m, + leftExpansion: b, + rightExpansion: C, + selectCheck: p, + nonSelectCheck: v, + errors: y, + }, + rerender: E, + } = We(), + x = $e(), + A = Object.keys(g[n] || {}).length, + T = A > 0, + k = h === n, + R = async (S) => { + if (Le.inProgress) { + Le.showCllInProgressMsg(); + return; + } + let [D, j] = await dd(d.getNodes(), d.getEdges(), n, S); + if ( + (([D, j] = Wo(D, j, h)), + Dt(D, j), + d.setNodes(D), + d.setEdges(j), + x(Do($o(D, j, h))), + x(Kn(await oo(D, j, h, b, C))), + E(), + !!(m != null && m.name)) ) - ) - ), E(), !!(m != null && m.name)) - try { - Le.start(); - const O = d.getEdges(); - Po(O, !1), Bo(O, !0), d.setEdges(O), await Il( - D, - j, - S, - g[n].map((M) => ({ table: n, name: M.column })), - (M) => { - x(sl({ operatorList: M })); - }, - (M) => { - x(il(M)); - }, - (M) => { - x(ll(M)); - }, - () => [d.getNodes(), d.getEdges()], - (M, F) => { - d.setNodes(M), d.setEdges(F); - }, - m, - { direct: p, indirect: v }, - (M) => x(cl(M(y))) - ), E(); - } catch (O) { - console.log("cll:error:", O); - } finally { - Le.end(); - } - }, L = () => R(!0), I = () => R(!1), W = (S) => { - S.stopPropagation(), i !== "semantic_model" && (x(kn(n)), x(Mt(i === "exposure" ? Uu : Zu))); - }, B = d.getEdges(), w = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ f.jsxs( - "div", - { + try { + Le.start(); + const O = d.getEdges(); + Po(O, !1), + Bo(O, !0), + d.setEdges(O), + await Il( + D, + j, + S, + g[n].map((M) => ({ table: n, name: M.column })), + (M) => { + x(sl({ operatorList: M })); + }, + (M) => { + x(il(M)); + }, + (M) => { + x(ll(M)); + }, + () => [d.getNodes(), d.getEdges()], + (M, F) => { + d.setNodes(M), d.setEdges(F); + }, + m, + { direct: p, indirect: v }, + (M) => x(cl(M(y))), + ), + E(); + } catch (O) { + console.log("cll:error:", O); + } finally { + Le.end(); + } + }, + L = () => R(!0), + I = () => R(!1), + W = (S) => { + S.stopPropagation(), + i !== "semantic_model" && + (x(kn(n)), x(Mt(i === "exposure" ? Uu : Zu))); + }, + B = d.getEdges(), + w = n.replace(/[^a-zA-Z0-9]/g, "-"); + return /* @__PURE__ */ f.jsxs("div", { className: "position-relative", style: { - opacity: m != null && m.name ? T ? 1 : 0.5 : 1 + opacity: m != null && m.name ? (T ? 1 : 0.5) : 1, }, children: [ - /* @__PURE__ */ f.jsxs( - "div", - { - className: U.table_node, - onClick: async () => { - const S = d.getNodes(), D = d.getEdges(); - x(Do($o(S, D, n))), x( - Kn( - await oo( - S, - D, - n, - b, - C - ) - ) - ), H1(d, n), x(kn(n)), o && cC(o); - }, - children: [ - /* @__PURE__ */ f.jsx( - "div", + /* @__PURE__ */ f.jsxs("div", { + className: U.table_node, + onClick: async () => { + const S = d.getNodes(), + D = d.getEdges(); + x(Do($o(S, D, n))), + x(Kn(await oo(S, D, n, b, C))), + H1(d, n), + x(kn(n)), + o && cC(o); + }, + children: [ + /* @__PURE__ */ f.jsx("div", { + className: me( + U.header, + "d-flex flex-column align-items-start gap-xs", { - className: me( - U.header, - "d-flex flex-column align-items-start gap-xs", - { - [U.selected]: k, - [U.collapse]: !T - } - ), - children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ f.jsxs("div", { className: U.table_header, children: [ - i in Vo && /* @__PURE__ */ f.jsx(f.Fragment, { children: /* @__PURE__ */ f.jsxs( - "div", - { - className: me( - U.node_icon, - Fl[i] - ), - children: [ - /* @__PURE__ */ f.jsx(wa, { nodeType: i }), - /* @__PURE__ */ f.jsx("div", { children: Vo[i] }) - ] - } - ) }), - i in Sc && /* @__PURE__ */ f.jsx( - "img", - { + [U.selected]: k, + [U.collapse]: !T, + }, + ), + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column align-items-start gap-xs w-100", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: U.table_header, + children: [ + i in Vo && + /* @__PURE__ */ f.jsx(f.Fragment, { + children: /* @__PURE__ */ f.jsxs("div", { + className: me(U.node_icon, Fl[i]), + children: [ + /* @__PURE__ */ f.jsx(wa, { nodeType: i }), + /* @__PURE__ */ f.jsx("div", { children: Vo[i] }), + ], + }), + }), + i in Sc && + /* @__PURE__ */ f.jsx("img", { src: Sc[i], - className: U.dialect_icon - } - ), - /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: t }), - c && /* @__PURE__ */ f.jsx("div", { className: "text-muted", style: { fontSize: "0.75em" }, children: c }) - ] }), - ((N = y == null ? void 0 : y[n]) == null ? void 0 : N.length) && /* @__PURE__ */ f.jsx( - qt, - { - title: /* @__PURE__ */ f.jsx("div", { className: U.error_tooltip, children: y[n].map((S, D) => /* @__PURE__ */ f.jsxs("div", { className: "mb-1", children: [ - D + 1, - ". ", - S - ] }, D)) }), - children: /* @__PURE__ */ f.jsx(eC, {}) - } - ) - ] }), - /* @__PURE__ */ f.jsxs( - "div", - { - className: me( - "w-100 d-flex align-items-center gap-xs", - U.node_extra_info - ), + className: U.dialect_icon, + }), + /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: me("nodrag", U.table_handle, { - invisible: a === 0 || a === B.filter((S) => S.target === n).length || d.getNode(ea(n, !1)) - }), - onClick: (S) => { - S.stopPropagation(), I(); - }, - "data-testid": "expand-left-btn-" + n, - children: "+" - } - ), - (l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ f.jsx( - _o, - { - id: "table-node-tests-" + w, - icon: /* @__PURE__ */ f.jsx(nd, {}), - text: l.length.toString(), - label: "Tests" - } - ), - s && /* @__PURE__ */ f.jsx( - _o, - { - id: "table-node-materilization-" + w, - icon: /* @__PURE__ */ f.jsx(od, {}), - text: s, - label: "Materialization" - } - ), - u ? /* @__PURE__ */ f.jsx( - _o, - { - id: "table-node-is-external-" + w, - icon: /* @__PURE__ */ f.jsx(db, {}), - text: "ext", - label: `External Project: ${n}` - } - ) : null, - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - /* @__PURE__ */ f.jsx( - "div", - { - className: me( - "nodrag", - k && i !== "semantic_model" ? "text-blue" : "text-grey" + /* @__PURE__ */ f.jsx("div", { + className: "lines-2", + children: t, + }), + c && + /* @__PURE__ */ f.jsx("div", { + className: "text-muted", + style: { fontSize: "0.75em" }, + children: c, + }), + ], + }), + ((N = y == null ? void 0 : y[n]) == null + ? void 0 + : N.length) && + /* @__PURE__ */ f.jsx(qt, { + title: /* @__PURE__ */ f.jsx("div", { + className: U.error_tooltip, + children: y[n].map((S, D) => + /* @__PURE__ */ f.jsxs( + "div", + { + className: "mb-1", + children: [D + 1, ". ", S], + }, + D, ), - onClick: W, - "data-testid": "view-details-btn-" + n, - children: "Details" - } - ), - /* @__PURE__ */ f.jsx( - "div", - { - className: me("nodrag", U.table_handle, { - invisible: r === 0 || r === B.filter((S) => S.source === n).length || d.getNode(ea(n, !0)) - }), - onClick: (S) => { - S.stopPropagation(), L(); - }, - "data-testid": "expand-right-btn-" + n, - children: "+" - } - ) - ] - } - ) - ] }) - } - ), - T && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("div", { className: U.divider }), - /* @__PURE__ */ f.jsx( - "div", - { + ), + }), + children: /* @__PURE__ */ f.jsx(eC, {}), + }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: me( + "w-100 d-flex align-items-center gap-xs", + U.node_extra_info, + ), + children: [ + /* @__PURE__ */ f.jsx("div", { + className: me("nodrag", U.table_handle, { + invisible: + a === 0 || + a === B.filter((S) => S.target === n).length || + d.getNode(ea(n, !1)), + }), + onClick: (S) => { + S.stopPropagation(), I(); + }, + "data-testid": "expand-left-btn-" + n, + children: "+", + }), + (l == null ? void 0 : l.length) > 0 && + /* @__PURE__ */ f.jsx(_o, { + id: "table-node-tests-" + w, + icon: /* @__PURE__ */ f.jsx(nd, {}), + text: l.length.toString(), + label: "Tests", + }), + s && + /* @__PURE__ */ f.jsx(_o, { + id: "table-node-materilization-" + w, + icon: /* @__PURE__ */ f.jsx(od, {}), + text: s, + label: "Materialization", + }), + u + ? /* @__PURE__ */ f.jsx(_o, { + id: "table-node-is-external-" + w, + icon: /* @__PURE__ */ f.jsx(db, {}), + text: "ext", + label: `External Project: ${n}`, + }) + : null, + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + /* @__PURE__ */ f.jsx("div", { + className: me( + "nodrag", + k && i !== "semantic_model" + ? "text-blue" + : "text-grey", + ), + onClick: W, + "data-testid": "view-details-btn-" + n, + children: "Details", + }), + /* @__PURE__ */ f.jsx("div", { + className: me("nodrag", U.table_handle, { + invisible: + r === 0 || + r === B.filter((S) => S.source === n).length || + d.getNode(ea(n, !0)), + }), + onClick: (S) => { + S.stopPropagation(), L(); + }, + "data-testid": "expand-right-btn-" + n, + children: "+", + }), + ], + }), + ], + }), + }), + T && + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx("div", { className: U.divider }), + /* @__PURE__ */ f.jsx("div", { className: me(U.content, { - [U.selected]: k + [U.selected]: k, }), - style: { height: Or(A) } - } - ) - ] }) - ] - } - ), - /* @__PURE__ */ f.jsx(Xo, {}) - ] - } - ); -}, na = ({ - percentValue: e, - className: t -}) => e ? /* @__PURE__ */ f.jsx(qt, { title: e.tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: t, children: [ - /* @__PURE__ */ f.jsx("div", { className: U.value, children: e.value }), - /* @__PURE__ */ f.jsx("div", { className: U.percent, children: e.percent }) -] }) }) : null, _C = ({ data: e }) => { - var h, g; - const { table: t, nodeType: n, label: o } = e, { - state: { - sqlLineage: r, - highlightedNodes: a, - externalSidePanel: i, - selectedNode: l, - nodeSavingsPerformance: s, - nodesCost: u - } - } = We(), c = $e(), d = n || "unknown"; - return /* @__PURE__ */ f.jsxs("div", { className: "position-relative", children: [ - /* @__PURE__ */ f.jsxs("div", { className: U.node_stats, children: [ - /* @__PURE__ */ f.jsx( - na, - { - percentValue: (h = s[t]) == null ? void 0 : h.savings, - className: U.savings - } - ), - /* @__PURE__ */ f.jsx( - na, - { - percentValue: (g = s[t]) == null ? void 0 : g.performance, - className: U.performance - } - ) - ] }), - /* @__PURE__ */ f.jsx( - "div", + style: { height: Or(A) }, + }), + ], + }), + ], + }), + /* @__PURE__ */ f.jsx(Xo, {}), + ], + }); + }, + na = ({ percentValue: e, className: t }) => + e + ? /* @__PURE__ */ f.jsx(qt, { + title: e.tooltip, + children: /* @__PURE__ */ f.jsxs("div", { + className: t, + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.value, + children: e.value, + }), + /* @__PURE__ */ f.jsx("div", { + className: U.percent, + children: e.percent, + }), + ], + }), + }) + : null, + _C = ({ data: e }) => { + var h, g; + const { table: t, nodeType: n, label: o } = e, { - className: U.static_table_node, - onClick: () => { - document.dispatchEvent( - new CustomEvent("selectedNode", { detail: t }) - ); + state: { + sqlLineage: r, + highlightedNodes: a, + externalSidePanel: i, + selectedNode: l, + nodeSavingsPerformance: s, + nodesCost: u, }, - children: /* @__PURE__ */ f.jsx( - "div", - { - className: me( - U.header, - "d-flex flex-column align-items-start", - { - [U.collapse]: !0, - [U.highlighted]: a.includes(t), - [U.selected]: l === t - } - ), - children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", children: [ - u[t] && /* @__PURE__ */ f.jsx(qt, { title: u[t].tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: me(U.cost_data), children: [ - /* @__PURE__ */ f.jsx("div", { children: u[t].value }), - /* @__PURE__ */ f.jsx("div", { children: u[t].percent }) - ] }) }), - /* @__PURE__ */ f.jsx( - "div", - { + } = We(), + c = $e(), + d = n || "unknown"; + return /* @__PURE__ */ f.jsxs("div", { + className: "position-relative", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: U.node_stats, + children: [ + /* @__PURE__ */ f.jsx(na, { + percentValue: (h = s[t]) == null ? void 0 : h.savings, + className: U.savings, + }), + /* @__PURE__ */ f.jsx(na, { + percentValue: (g = s[t]) == null ? void 0 : g.performance, + className: U.performance, + }), + ], + }), + /* @__PURE__ */ f.jsx("div", { + className: U.static_table_node, + onClick: () => { + document.dispatchEvent( + new CustomEvent("selectedNode", { detail: t }), + ); + }, + children: /* @__PURE__ */ f.jsx("div", { + className: me(U.header, "d-flex flex-column align-items-start", { + [U.collapse]: !0, + [U.highlighted]: a.includes(t), + [U.selected]: l === t, + }), + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex align-items-center w-100 ps-2 pe-2 gap-xxs", + children: [ + u[t] && + /* @__PURE__ */ f.jsx(qt, { + title: u[t].tooltip, + children: /* @__PURE__ */ f.jsxs("div", { + className: me(U.cost_data), + children: [ + /* @__PURE__ */ f.jsx("div", { children: u[t].value }), + /* @__PURE__ */ f.jsx("div", { + children: u[t].percent, + }), + ], + }), + }), + /* @__PURE__ */ f.jsx("div", { className: me(U.node_icon, Fl[d]), - children: /* @__PURE__ */ f.jsx(mC, { nodeType: d }) - } - ), - /* @__PURE__ */ f.jsx("div", {}), - /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: o }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - /* @__PURE__ */ f.jsx("div", {}), - /* @__PURE__ */ f.jsx( - "div", - { + children: /* @__PURE__ */ f.jsx(mC, { nodeType: d }), + }), + /* @__PURE__ */ f.jsx("div", {}), + /* @__PURE__ */ f.jsx("div", { + className: "lines-2", + children: o, + }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + /* @__PURE__ */ f.jsx("div", {}), + /* @__PURE__ */ f.jsx("div", { className: me( U.details_btn, - !r || d === "unknown" ? U.disable : U.enable + !r || d === "unknown" ? U.disable : U.enable, ), onClick: (m) => { m.stopPropagation(), d !== "unknown" && (i || c(kn(t))); }, - children: /* @__PURE__ */ f.jsx(rd, {}) - } - ) - ] }) - } - ) - } - ), - /* @__PURE__ */ f.jsx(Xo, {}) - ] }); -}, zl = ({ data: e }) => { - const { tables: t = [], prevTable: n, right: o, level: r } = e, { - state: { moreTables: a } - } = We(), i = $e(), l = wt(), s = pe( - (u) => { - u.stopPropagation(), i(Mt(qu)), i( - al({ ...a, tables: t, prevTable: n, right: o, level: r }) + children: /* @__PURE__ */ f.jsx(rd, {}), + }), + ], + }), + }), + }), + /* @__PURE__ */ f.jsx(Xo, {}), + ], + }); + }, + zl = ({ data: e }) => { + const { tables: t = [], prevTable: n, right: o, level: r } = e, + { + state: { moreTables: a }, + } = We(), + i = $e(), + l = wt(), + s = pe( + (u) => { + u.stopPropagation(), + i(Mt(qu)), + i(al({ ...a, tables: t, prevTable: n, right: o, level: r })); + }, + [r, i, a, n, o, t], ); - }, - [r, i, a, n, o, t] - ); - return /* @__PURE__ */ f.jsxs("div", { className: U.see_more_node, onClick: s, children: [ - /* @__PURE__ */ f.jsx("div", { className: "fw-semibold", children: "See more" }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - /* @__PURE__ */ f.jsx("div", { children: t.filter((u) => !l.getNode(u.table)).length || "" }), - /* @__PURE__ */ f.jsx(Xo, {}) - ] }); -}, Pl = (e) => { - const { sourceX: t, sourceY: n, targetX: o, targetY: r, markerEnd: a } = e, i = (t - o) * 0.6, s = `M ${t - 5} ${n} A ${i} 50 0 1 0 ${o + 2} ${r}`; - return /* @__PURE__ */ f.jsx(io, { path: s, markerEnd: a }); -}, Bl = ({ data: e }) => { - const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: a } = e, { - state: { selectedColumn: i } - } = We(), l = $e(), s = (i == null ? void 0 : i.table) === n && (i == null ? void 0 : i.name) === t, u = o && Nl[o], c = u ? { borderColor: u } : {}, d = wt(), h = () => { - const m = d.getNode(zo(n, t)); - m && (l(kn("")), l(bn({ name: t, table: n })), EC(m, d)); - }, g = _e(() => { - const m = Object.values( - r || {} - ).flat().filter(([, C]) => C === "Transformation").map(([C]) => C), b = []; - for (const C of m) - b.includes(C) || b.push(C); - return b; - }, [r]); - return /* @__PURE__ */ f.jsxs( - "div", - { - className: me( - U.column_node, - s ? U.selected : U.default - ), + return /* @__PURE__ */ f.jsxs("div", { + className: U.see_more_node, + onClick: s, + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "fw-semibold", + children: "See more", + }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + /* @__PURE__ */ f.jsx("div", { + children: t.filter((u) => !l.getNode(u.table)).length || "", + }), + /* @__PURE__ */ f.jsx(Xo, {}), + ], + }); + }, + Pl = (e) => { + const { sourceX: t, sourceY: n, targetX: o, targetY: r, markerEnd: a } = e, + i = (t - o) * 0.6, + s = `M ${t - 5} ${n} A ${i} 50 0 1 0 ${o + 2} ${r}`; + return /* @__PURE__ */ f.jsx(io, { path: s, markerEnd: a }); + }, + Bl = ({ data: e }) => { + const { column: t, table: n, viewsType: o, viewsCode: r, nodeType: a } = e, + { + state: { selectedColumn: i }, + } = We(), + l = $e(), + s = + (i == null ? void 0 : i.table) === n && + (i == null ? void 0 : i.name) === t, + u = o && Nl[o], + c = u ? { borderColor: u } : {}, + d = wt(), + h = () => { + const m = d.getNode(zo(n, t)); + m && (l(kn("")), l(bn({ name: t, table: n })), EC(m, d)); + }, + g = _e(() => { + const m = Object.values(r || {}) + .flat() + .filter(([, C]) => C === "Transformation") + .map(([C]) => C), + b = []; + for (const C of m) b.includes(C) || b.push(C); + return b; + }, [r]); + return /* @__PURE__ */ f.jsxs("div", { + className: me(U.column_node, s ? U.selected : U.default), style: c, onClick: h, children: [ /* @__PURE__ */ f.jsx("div", { className: U.column_name, children: t }), /* @__PURE__ */ f.jsx(Xo, {}), - /* @__PURE__ */ f.jsxs("div", { className: U.column_top_right, children: [ - g.length > 0 && /* @__PURE__ */ f.jsx(qt, { title: "Click to view code", children: /* @__PURE__ */ f.jsx( - "div", - { - className: U.column_code_icon, - onClick: (m) => { - m.stopPropagation(), l( - Xn({ - type: "views_code", - args: { - table: n, - viewsType: o, - viewsCode: r, - nodeType: a, - column: t - } - }) - ); - }, - children: /* @__PURE__ */ f.jsx(Jc, {}) - } - ) }), - o && o !== "Non select" && /* @__PURE__ */ f.jsx(Rl, { viewsType: o }) - ] }) - ] - } - ); -}, gd = { - INNER_JOIN: /* @__PURE__ */ f.jsx(Pb, {}), - OUTER_JOIN: /* @__PURE__ */ f.jsx($b, {}), - LEFT_JOIN: /* @__PURE__ */ f.jsx(Bb, {}), - FULL_JOIN: /* @__PURE__ */ f.jsx(Yb, {}), - RIGHT_JOIN: /* @__PURE__ */ f.jsx(Zb, {}), - CROSS_JOIN: /* @__PURE__ */ f.jsx(Ub, {}), - LATERAL_JOIN: /* @__PURE__ */ f.jsx(qb, {}), - FILTER: /* @__PURE__ */ f.jsx(Ib, {}), - GROUP: /* @__PURE__ */ f.jsx(zb, {}), - LIMIT: /* @__PURE__ */ f.jsx(Vb, {}), - SORT: /* @__PURE__ */ f.jsx(Wb, {}), - UNION: /* @__PURE__ */ f.jsx(Gb, {}), - SELECT: /* @__PURE__ */ f.jsx(Kb, {}) -}, Sc = { - postgres: Jb, - snowflake: Xb, - s3: Qb -}, SC = ({ data: e }) => { - var h, g; - const { type: t, expression: n, id: o } = e, { - state: { - theme: r, - highlightedNodes: a, - externalSidePanel: i, - selectedNode: l, - nodeSavingsPerformance: s, - nodesCost: u - } - } = We(), c = r === "dark", d = $e(); - return /* @__PURE__ */ f.jsxs("div", { style: { width: Ko, display: "flex", justifyContent: "center" }, children: [ - /* @__PURE__ */ f.jsx(Xo, {}), - /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ f.jsxs( - "div", - { - className: me(U.op_node, { - [U.highlighted]: a.includes(o), - [U.selected]: l === o + /* @__PURE__ */ f.jsxs("div", { + className: U.column_top_right, + children: [ + g.length > 0 && + /* @__PURE__ */ f.jsx(qt, { + title: "Click to view code", + children: /* @__PURE__ */ f.jsx("div", { + className: U.column_code_icon, + onClick: (m) => { + m.stopPropagation(), + l( + Xn({ + type: "views_code", + args: { + table: n, + viewsType: o, + viewsCode: r, + nodeType: a, + column: t, + }, + }), + ); + }, + children: /* @__PURE__ */ f.jsx(Jc, {}), + }), + }), + o && + o !== "Non select" && + /* @__PURE__ */ f.jsx(Rl, { viewsType: o }), + ], }), - onClick: () => { - i ? document.dispatchEvent( - new CustomEvent("selectedNode", { detail: o }) - ) : d( - Xn({ - type: "op_node", - args: { op_code: n, op_type: t } - }) - ); + ], + }); + }, + gd = { + INNER_JOIN: /* @__PURE__ */ f.jsx(Pb, {}), + OUTER_JOIN: /* @__PURE__ */ f.jsx($b, {}), + LEFT_JOIN: /* @__PURE__ */ f.jsx(Bb, {}), + FULL_JOIN: /* @__PURE__ */ f.jsx(Yb, {}), + RIGHT_JOIN: /* @__PURE__ */ f.jsx(Zb, {}), + CROSS_JOIN: /* @__PURE__ */ f.jsx(Ub, {}), + LATERAL_JOIN: /* @__PURE__ */ f.jsx(qb, {}), + FILTER: /* @__PURE__ */ f.jsx(Ib, {}), + GROUP: /* @__PURE__ */ f.jsx(zb, {}), + LIMIT: /* @__PURE__ */ f.jsx(Vb, {}), + SORT: /* @__PURE__ */ f.jsx(Wb, {}), + UNION: /* @__PURE__ */ f.jsx(Gb, {}), + SELECT: /* @__PURE__ */ f.jsx(Kb, {}), + }, + Sc = { + postgres: Jb, + snowflake: Xb, + s3: Qb, + }, + SC = ({ data: e }) => { + var h, g; + const { type: t, expression: n, id: o } = e, + { + state: { + theme: r, + highlightedNodes: a, + externalSidePanel: i, + selectedNode: l, + nodeSavingsPerformance: s, + nodesCost: u, }, - children: [ - u[o] && /* @__PURE__ */ f.jsx(qt, { title: u[o].tooltip, children: /* @__PURE__ */ f.jsxs("div", { className: me(U.cost_data), children: [ - /* @__PURE__ */ f.jsx("div", { children: u[o].value }), - /* @__PURE__ */ f.jsx("div", { children: u[o].percent }) - ] }) }), - /* @__PURE__ */ f.jsx( - "div", - { - className: me( - U.node_icon, - c ? U.dark_mode : U.light_mode - ), - children: gd[t] - } - ), - /* @__PURE__ */ f.jsx("div", {}), - /* @__PURE__ */ f.jsxs("div", { className: U.op_type_text, children: [ - /* @__PURE__ */ f.jsx("span", { children: t }), - /* @__PURE__ */ f.jsxs("div", { className: U.node_stats, children: [ - /* @__PURE__ */ f.jsx( - na, - { - percentValue: (h = s[o]) == null ? void 0 : h.savings, - className: U.savings - } - ), - /* @__PURE__ */ f.jsx( - na, - { - percentValue: (g = s[o]) == null ? void 0 : g.performance, - className: U.performance - } - ) - ] }) - ] }), - /* @__PURE__ */ f.jsx("div", {}) - ] - } - ) }) - ] }); -}; -function hd({ - isOpen: e, - closeModal: t, - width: n = 350, - children: o -}) { + } = We(), + c = r === "dark", + d = $e(); + return /* @__PURE__ */ f.jsxs("div", { + style: { width: Ko, display: "flex", justifyContent: "center" }, + children: [ + /* @__PURE__ */ f.jsx(Xo, {}), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ f.jsxs("div", { + className: me(U.op_node, { + [U.highlighted]: a.includes(o), + [U.selected]: l === o, + }), + onClick: () => { + i + ? document.dispatchEvent( + new CustomEvent("selectedNode", { detail: o }), + ) + : d( + Xn({ + type: "op_node", + args: { op_code: n, op_type: t }, + }), + ); + }, + children: [ + u[o] && + /* @__PURE__ */ f.jsx(qt, { + title: u[o].tooltip, + children: /* @__PURE__ */ f.jsxs("div", { + className: me(U.cost_data), + children: [ + /* @__PURE__ */ f.jsx("div", { children: u[o].value }), + /* @__PURE__ */ f.jsx("div", { children: u[o].percent }), + ], + }), + }), + /* @__PURE__ */ f.jsx("div", { + className: me(U.node_icon, c ? U.dark_mode : U.light_mode), + children: gd[t], + }), + /* @__PURE__ */ f.jsx("div", {}), + /* @__PURE__ */ f.jsxs("div", { + className: U.op_type_text, + children: [ + /* @__PURE__ */ f.jsx("span", { children: t }), + /* @__PURE__ */ f.jsxs("div", { + className: U.node_stats, + children: [ + /* @__PURE__ */ f.jsx(na, { + percentValue: (h = s[o]) == null ? void 0 : h.savings, + className: U.savings, + }), + /* @__PURE__ */ f.jsx(na, { + percentValue: + (g = s[o]) == null ? void 0 : g.performance, + className: U.performance, + }), + ], + }), + ], + }), + /* @__PURE__ */ f.jsx("div", {}), + ], + }), + }), + ], + }); + }; +function hd({ isOpen: e, closeModal: t, width: n = 350, children: o }) { const r = document.getElementById("lineage-sidebar"); if (!r) return null; const a = typeof n == "number" ? `${n}px` : n; return Tn( - /* @__PURE__ */ f.jsx("div", { className: `sidebar-modal ${e ? "" : "d-none"}`, children: e && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("div", { className: "sidebar-background-screen", onClick: t }), - /* @__PURE__ */ f.jsxs("div", { className: "sidebar-modal-content", style: { width: a }, children: [ - /* @__PURE__ */ f.jsx("div", { className: "sidebar-close-button", onClick: t, children: /* @__PURE__ */ f.jsx(jl, {}) }), - o - ] }) - ] }) }), - r + /* @__PURE__ */ f.jsx("div", { + className: `sidebar-modal ${e ? "" : "d-none"}`, + children: + e && + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "sidebar-background-screen", + onClick: t, + }), + /* @__PURE__ */ f.jsxs("div", { + className: "sidebar-modal-content", + style: { width: a }, + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "sidebar-close-button", + onClick: t, + children: /* @__PURE__ */ f.jsx(jl, {}), + }), + o, + ], + }), + ], + }), + }), + r, ); } function Jo(e) { return /* @__PURE__ */ f.jsx(sn, { className: "custom-input", ...e }); } function kC(e) { - return /* @__PURE__ */ f.jsx(sn, { className: "custom-input", ...e, type: "textarea", rows: 4 }); -} -function AC({ - nodeType: e, - label: t, - table: n, - tests: o, - materialization: r -}) { - const a = e, i = n.replace(/[^a-zA-Z0-9]/g, "-"); - return /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column align-items-start gap-xs w-100", children: [ - /* @__PURE__ */ f.jsxs("div", { className: U.table_header, children: [ - /* @__PURE__ */ f.jsxs("div", { className: me(U.node_icon, Fl[a]), children: [ - /* @__PURE__ */ f.jsx(wa, { nodeType: a }), - /* @__PURE__ */ f.jsx("div", { children: Vo[a] }) - ] }), - /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: t }) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: me("d-flex gap-xs", U.node_extra_info), children: [ - (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ f.jsx( - _o, - { - id: "table-node-tests-" + i, - icon: /* @__PURE__ */ f.jsx(nd, {}), - text: o.length.toString(), - label: "Tests" - } - ), - r && /* @__PURE__ */ f.jsx( - _o, - { - id: "table-node-materilization-" + i, - icon: /* @__PURE__ */ f.jsx(od, {}), - text: r, - label: "Materialization" - } - ) - ] }) - ] }); + return /* @__PURE__ */ f.jsx(sn, { + className: "custom-input", + ...e, + type: "textarea", + rows: 4, + }); +} +function AC({ nodeType: e, label: t, table: n, tests: o, materialization: r }) { + const a = e, + i = n.replace(/[^a-zA-Z0-9]/g, "-"); + return /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column align-items-start gap-xs w-100", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: U.table_header, + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: me(U.node_icon, Fl[a]), + children: [ + /* @__PURE__ */ f.jsx(wa, { nodeType: a }), + /* @__PURE__ */ f.jsx("div", { children: Vo[a] }), + ], + }), + /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: t }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: me("d-flex gap-xs", U.node_extra_info), + children: [ + (o == null ? void 0 : o.length) > 0 && + /* @__PURE__ */ f.jsx(_o, { + id: "table-node-tests-" + i, + icon: /* @__PURE__ */ f.jsx(nd, {}), + text: o.length.toString(), + label: "Tests", + }), + r && + /* @__PURE__ */ f.jsx(_o, { + id: "table-node-materilization-" + i, + icon: /* @__PURE__ */ f.jsx(od, {}), + text: r, + label: "Materialization", + }), + ], + }), + ], + }); } function MC() { const { - state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, - rerender: o - } = We(), r = $e(), { tables: a, level: i } = e, l = wt(), s = async (d) => { - const h = [...l.getNodes()], g = [...l.getEdges()]; - xC( - h, - g, - d, - e, - { direct: t, indirect: n } - ) && r(Mt("")), Dt(h, g), l.setNodes(h), l.setEdges(g), o(); - }, [u, c] = ae(a); - return /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ f.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Tables" }), - /* @__PURE__ */ f.jsx( - Jo, - { + state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, + rerender: o, + } = We(), + r = $e(), + { tables: a, level: i } = e, + l = wt(), + s = async (d) => { + const h = [...l.getNodes()], + g = [...l.getEdges()]; + xC(h, g, d, e, { direct: t, indirect: n }) && r(Mt("")), + Dt(h, g), + l.setNodes(h), + l.setEdges(g), + o(); + }, + [u, c] = ae(a); + return /* @__PURE__ */ f.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "mb-2 fw-semibold fs-5", + children: "Tables", + }), + /* @__PURE__ */ f.jsx(Jo, { bsSize: "sm", placeholder: "Search by table name", onChange: (d) => { const h = d.target.value.toLowerCase(); - c( - a.filter((g) => g.table.toLowerCase().includes(h)) - ); - } - } - ), - /* @__PURE__ */ f.jsx("div", { className: "mb-3" }), - /* @__PURE__ */ f.jsx("div", { className: "h-100 overflow-y", children: /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm", children: u.map((d) => { - const h = l.getNode(d.table), g = h && h.data.level !== i; - return /* @__PURE__ */ f.jsx( - "div", - { - className: me(U.table_card, { - [U.selected]: h - // [styles.disabled]: isNodeOnOtherLevel, - }), - onClick: (m) => { - m.stopPropagation(), !g && s(d); - }, - children: /* @__PURE__ */ f.jsx( - AC, - { - nodeType: d.nodeType, - label: d.label, - table: d.table, - tests: d.tests, - materialization: d.materialization - } - ) + c(a.filter((g) => g.table.toLowerCase().includes(h))); }, - d.table - ); - }) }) }) - ] }); -} -const TC = "_component_13r39_1", NC = "_spin_13r39_1", DC = { - component: TC, - spin: NC -}, pd = ({ top: e = 50, left: t = 50, label: n }) => /* @__PURE__ */ f.jsx( - "div", - { - className: DC.component, - style: { top: `${e}%`, left: `${t}%` }, - children: /* @__PURE__ */ f.jsx("div", { style: { marginTop: "-70px" }, children: n }) - } -), OC = "_level_tag_x6wwh_1", LC = { - level_tag: OC -}, jC = ({ label: e }) => /* @__PURE__ */ f.jsx("div", { className: me(LC.level_tag), children: e }), md = ({ purpose: e }) => /* @__PURE__ */ f.jsx("div", { className: me(U.card, "purpose-section"), children: /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm", children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-xs flex-column", children: [ - /* @__PURE__ */ f.jsx("div", { className: "fs-5 fw-semibold", children: "Description" }), - /* @__PURE__ */ f.jsx("div", { className: me(U.column_card), children: /* @__PURE__ */ f.jsx("div", { className: "font-normal fs-xxs", children: e }) }) -] }) }) }), bd = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { - const { - state: { theme: r } - } = Re(Nn); - return /* @__PURE__ */ f.jsxs( - "div", - { + }), + /* @__PURE__ */ f.jsx("div", { className: "mb-3" }), + /* @__PURE__ */ f.jsx("div", { + className: "h-100 overflow-y", + children: /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column gap-sm", + children: u.map((d) => { + const h = l.getNode(d.table), + g = h && h.data.level !== i; + return /* @__PURE__ */ f.jsx( + "div", + { + className: me(U.table_card, { + [U.selected]: h, + // [styles.disabled]: isNodeOnOtherLevel, + }), + onClick: (m) => { + m.stopPropagation(), !g && s(d); + }, + children: /* @__PURE__ */ f.jsx(AC, { + nodeType: d.nodeType, + label: d.label, + table: d.table, + tests: d.tests, + materialization: d.materialization, + }), + }, + d.table, + ); + }), + }), + }), + ], + }); +} +const TC = "_component_13r39_1", + NC = "_spin_13r39_1", + DC = { + component: TC, + spin: NC, + }, + pd = ({ top: e = 50, left: t = 50, label: n }) => + /* @__PURE__ */ f.jsx("div", { + className: DC.component, + style: { top: `${e}%`, left: `${t}%` }, + children: /* @__PURE__ */ f.jsx("div", { + style: { marginTop: "-70px" }, + children: n, + }), + }), + OC = "_level_tag_x6wwh_1", + LC = { + level_tag: OC, + }, + jC = ({ label: e }) => + /* @__PURE__ */ f.jsx("div", { className: me(LC.level_tag), children: e }), + md = ({ purpose: e }) => + /* @__PURE__ */ f.jsx("div", { + className: me(U.card, "purpose-section"), + children: /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column gap-sm", + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex gap-xs flex-column", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "fs-5 fw-semibold", + children: "Description", + }), + /* @__PURE__ */ f.jsx("div", { + className: me(U.column_card), + children: /* @__PURE__ */ f.jsx("div", { + className: "font-normal fs-xxs", + children: e, + }), + }), + ], + }), + }), + }), + bd = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => { + const { + state: { theme: r }, + } = Re(Nn); + return /* @__PURE__ */ f.jsxs("div", { className: me(U.column_card, { [U.selected]: n, - "cursor-pointer": o + "cursor-pointer": o, }), onClick: t, "data-testid": "table-details-" + e.name, children: [ - /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ f.jsx(hC, { datatype: e.datatype || "" }), - /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: e.name }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - e.can_lineage_expand && /* @__PURE__ */ f.jsx("div", { className: U.expand_lineage_icon, children: /* @__PURE__ */ f.jsx(Sb, {}) }), - e.datatype && /* @__PURE__ */ f.jsx(jC, { label: e.datatype }) - ] }), - e.description && /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ f.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }), - e.code && /* @__PURE__ */ f.jsx( - Zo, - { + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ f.jsx(hC, { datatype: e.datatype || "" }), + /* @__PURE__ */ f.jsx("div", { + className: "lines-2", + children: e.name, + }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + e.can_lineage_expand && + /* @__PURE__ */ f.jsx("div", { + className: U.expand_lineage_icon, + children: /* @__PURE__ */ f.jsx(Sb, {}), + }), + e.datatype && /* @__PURE__ */ f.jsx(jC, { label: e.datatype }), + ], + }), + e.description && + /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ f.jsx("div", { + className: "font-normal fs-xxs text-grey", + children: e.description, + }), + }), + e.code && + /* @__PURE__ */ f.jsx(Zo, { code: e.code, language: "sql", editorTheme: "tomorrow", - theme: r - } - ) - ] - } - ); -}, RC = ({ - columns: e, - filteredColumn: t, - setFilteredColumn: n, - handleColumnClick: o, - selectedTable: r, - selectedColumn: a, - setData: i, - allowSyncColumnsWithDB: l -}) => { - const s = (r == null ? void 0 : r.materialization) === "ephemeral", u = (r == null ? void 0 : r.nodeType) === "analysis"; - return /* @__PURE__ */ f.jsx("div", { className: me(U.card, "flex-grow column-section"), children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ f.jsx("div", { className: "fs-5 fw-semibold", children: "Columns" }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - l && !s && !u && /* @__PURE__ */ f.jsx( - ke, - { - size: "sm", - color: "primary", - onClick: () => { - r && Hl(r.table, !0).then((c) => { - i(c), n(c.columns); - }); - }, - children: "Sync with DB" + theme: r, + }), + ], + }); + }, + RC = ({ + columns: e, + filteredColumn: t, + setFilteredColumn: n, + handleColumnClick: o, + selectedTable: r, + selectedColumn: a, + setData: i, + allowSyncColumnsWithDB: l, + }) => { + const s = (r == null ? void 0 : r.materialization) === "ephemeral", + u = (r == null ? void 0 : r.nodeType) === "analysis"; + return /* @__PURE__ */ f.jsx("div", { + className: me(U.card, "flex-grow column-section"), + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-sm h-100 p-2", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "fs-5 fw-semibold", + children: "Columns", + }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + l && + !s && + !u && + /* @__PURE__ */ f.jsx(ke, { + size: "sm", + color: "primary", + onClick: () => { + r && + Hl(r.table, !0).then((c) => { + c && (i(c), n(c.columns)); + }); + }, + children: "Sync with DB", + }), + ], + }), + /* @__PURE__ */ f.jsx(Jo, { + bsSize: "sm", + type: "text", + placeholder: "Search by column name", + onChange: (c) => { + const d = c.target.value.toLowerCase(); + n(e.filter((h) => h.name.toLowerCase().includes(d))); + }, + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + !s && + /* @__PURE__ */ f.jsx("div", { + className: "fs-xxs", + children: "Select column for lineage", + }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + /* @__PURE__ */ f.jsxs("div", { + className: "fs-xxs text-grey", + children: [t.length, " columns"], + }), + ], + }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column gap-sm", + children: t.map((c) => + /* @__PURE__ */ f.jsx( + bd, + { + column: c, + handleClick: () => { + s || o(c); + }, + selected: + c.name === (a == null ? void 0 : a.name) && + c.table === (a == null ? void 0 : a.table), + isSelectable: !s, + }, + c.name, + ), + ), + }), + ], + }), + }); + }, + HC = ({ tests: e }) => { + const [t, n] = ae(e); + return /* @__PURE__ */ f.jsx("div", { + className: me(U.card, "flex-grow column-section"), + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-sm h-100 p-2", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "fs-5 fw-semibold", + children: "Tests", + }), + /* @__PURE__ */ f.jsx(Jo, { + bsSize: "sm", + type: "text", + placeholder: "Search by test", + onChange: (o) => { + const r = o.target.value.toLowerCase(); + n(e.filter((a) => a.key.toLowerCase().includes(r))); + }, + }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ f.jsxs("div", { + className: "fs-xxs text-grey", + children: [t.length, " tests"], + }), + }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column gap-sm", + children: t.map((o) => + /* @__PURE__ */ f.jsx( + "div", + { + className: U.column_card, + children: /* @__PURE__ */ f.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ f.jsx("div", { + className: "lines-2", + children: o.key, + }), + }), + }, + o.key, + ), + ), + }), + ], + }), + }); + }, + Vl = ({ nodeType: e, table: t }) => + /* @__PURE__ */ f.jsxs("div", { + className: U.table_details_header, + children: [ + /* @__PURE__ */ f.jsx(wa, { nodeType: e }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ f.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: t, + }), + }), + ], + }), + FC = () => { + var x; + const { + rerender: e, + state: { + selectedTable: t, + selectedColumn: n, + selectCheck: o, + nonSelectCheck: r, + aiEnabled: a, + allowSyncColumnsWithDB: i, + errors: l, + }, + } = We(), + s = $e(), + u = wt(), + [c, d] = ae([]), + [h, g] = ae(null), + [m, b] = ae(0), + [C, p] = ae(!0); + re(() => { + t && + (p(!0), + Hl(t, !1) + .then((A) => { + g(A), d(A.columns), p(!1); + }) + .catch(() => { + p(!1); + })); + }, [t]); + const v = async (A) => { + var S; + if (!a) { + dC(); + return; } - ) - ] }), - /* @__PURE__ */ f.jsx( - Jo, - { - bsSize: "sm", - type: "text", - placeholder: "Search by column name", - onChange: (c) => { - const d = c.target.value.toLowerCase(); - n( - e.filter((h) => h.name.toLowerCase().includes(d)) - ); + if (Le.inProgress) { + Le.showCllInProgressMsg(); + return; } - } - ), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - !s && /* @__PURE__ */ f.jsx("div", { className: "fs-xxs", children: "Select column for lineage" }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - /* @__PURE__ */ f.jsxs("div", { className: "fs-xxs text-grey", children: [ - t.length, - " columns" - ] }) - ] }), - /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((c) => /* @__PURE__ */ f.jsx( - bd, - { - column: c, - handleClick: () => { - s || o(c); - }, - selected: c.name === (a == null ? void 0 : a.name) && c.table === (a == null ? void 0 : a.table), - isSelectable: !s - }, - c.name - )) }) - ] }) }); -}, HC = ({ tests: e }) => { - const [t, n] = ae(e); - return /* @__PURE__ */ f.jsx("div", { className: me(U.card, "flex-grow column-section"), children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm h-100 p-2", children: [ - /* @__PURE__ */ f.jsx("div", { className: "fs-5 fw-semibold", children: "Tests" }), - /* @__PURE__ */ f.jsx( - Jo, - { - bsSize: "sm", - type: "text", - placeholder: "Search by test", - onChange: (o) => { - const r = o.target.value.toLowerCase(); - n( - e.filter((a) => a.key.toLowerCase().includes(r)) + if ( + (n == null ? void 0 : n.table) === A.table && + (n == null ? void 0 : n.name) === A.name + ) { + const [D, j] = vC(u.getNodes(), u.getEdges()); + Po(j, !0), + Bo(j, !0), + u.setNodes(D), + u.setEdges(j), + s(bn({ table: "", name: "" })), + s(No({})), + s(Mt("")); + return; + } + const T = (S = u.getNode(A.table)) == null ? void 0 : S.data; + if (!T) throw new Error(`table node ${A.table} isn't visible`); + let k = u.getNodes(), + R = u.getEdges(); + Po(R, !1), Bo(R, !0); + const L = async (D) => { + ([k, R] = await dd(k, R, A.table, D)), Dt(k, R); + }, + { upstreamCount: I, downstreamCount: W } = T; + I > 0 && + R.filter((D) => D.source === A.table).length < I && + (await L(!0)), + W > 0 && + R.filter((D) => D.target === A.table).length < W && + (await L(!1)), + s(bn({ ...A })), + s(Mt("")), + s(No({})), + s(S8({ confidence: "high" })); + const [B, w] = ud(k.filter(cn), R.filter(cn)); + w.forEach((D) => (D.style = va)), u.setNodes(B), u.setEdges(w), e(); + const N = (D) => + Il( + B, + w, + D, + [A], + (j) => { + s(sl({ operatorList: j })); + }, + (j) => { + s(il(j)); + }, + (j) => { + s(ll(j)); + }, + () => [u.getNodes(), u.getEdges()], + (j, O) => { + u.setNodes(j), u.setEdges(O); + }, + A, + { direct: o, indirect: r }, + (j) => s(cl(j(l))), ); + try { + Le.start(), + (await Promise.all([N(!0), N(!1)])).every((j) => !j) && + (s(bn({ table: "", name: "" })), + H1(u, A.table), + Le.isCancelled || + ld( + `No lineage found for model ${A.table} and column ${A.name}`, + )); + } catch (D) { + console.error( + "Error while performing cll for ", + A.table, + A.name, + ", error:", + D, + ), + s(bn({ table: "", name: "" })), + H1(u, A.table); + } finally { + Le.end(); } - } - ), - /* @__PURE__ */ f.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ f.jsxs("div", { className: "fs-xxs text-grey", children: [ - t.length, - " tests" - ] }) }), - /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm", children: t.map((o) => /* @__PURE__ */ f.jsx("div", { className: U.column_card, children: /* @__PURE__ */ f.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: o.key }) }) }, o.key)) }) - ] }) }); -}, Vl = ({ - nodeType: e, - table: t -}) => /* @__PURE__ */ f.jsxs("div", { className: U.table_details_header, children: [ - /* @__PURE__ */ f.jsx(wa, { nodeType: e }), - /* @__PURE__ */ f.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ f.jsx("div", { className: "fw-semibold fs-5 lines-2", children: t }) }) -] }), FC = () => { - var x; - const { - rerender: e, - state: { - selectedTable: t, - selectedColumn: n, - selectCheck: o, - nonSelectCheck: r, - aiEnabled: a, - allowSyncColumnsWithDB: i, - errors: l - } - } = We(), s = $e(), u = wt(), [c, d] = ae([]), [h, g] = ae(null), [m, b] = ae(0), [C, p] = ae(!0); - re(() => { - t && (p(!0), Hl(t, !1).then((A) => { - g(A), d(A.columns), p(!1); - })); - }, [t]); - const v = async (A) => { - var S; - if (!a) { - dC(); - return; - } - if (Le.inProgress) { - Le.showCllInProgressMsg(); - return; - } - if ((n == null ? void 0 : n.table) === A.table && (n == null ? void 0 : n.name) === A.name) { - const [D, j] = vC( - u.getNodes(), - u.getEdges() - ); - Po(j, !0), Bo(j, !0), u.setNodes(D), u.setEdges(j), s(bn({ table: "", name: "" })), s(No({})), s(Mt("")); - return; - } - const T = (S = u.getNode(A.table)) == null ? void 0 : S.data; - if (!T) - throw new Error(`table node ${A.table} isn't visible`); - let k = u.getNodes(), R = u.getEdges(); - Po(R, !1), Bo(R, !0); - const L = async (D) => { - [k, R] = await dd( - k, - R, - A.table, - D - ), Dt(k, R); - }, { upstreamCount: I, downstreamCount: W } = T; - I > 0 && R.filter((D) => D.source === A.table).length < I && await L(!0), W > 0 && R.filter((D) => D.target === A.table).length < W && await L(!1), s(bn({ ...A })), s(Mt("")), s(No({})), s(S8({ confidence: "high" })); - const [B, w] = ud( - k.filter(cn), - R.filter(cn) - ); - w.forEach((D) => D.style = va), u.setNodes(B), u.setEdges(w), e(); - const N = (D) => Il( - B, - w, - D, - [A], - (j) => { - s(sl({ operatorList: j })); - }, - (j) => { - s(il(j)); - }, - (j) => { - s(ll(j)); - }, - () => [u.getNodes(), u.getEdges()], - (j, O) => { - u.setNodes(j), u.setEdges(O); }, - A, - { direct: o, indirect: r }, - (j) => s(cl(j(l))) + y = (x = u.getNode(t)) == null ? void 0 : x.data; + if (C || !h || !t) return /* @__PURE__ */ f.jsx(pd, {}); + const E = ["Column"]; + return ( + y.tests.length && E.push("Tests"), + /* @__PURE__ */ f.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ f.jsx(Vl, { + nodeType: y.nodeType, + table: y.label, + }), + h.purpose && /* @__PURE__ */ f.jsx(md, { purpose: h.purpose }), + E.length > 1 && + /* @__PURE__ */ f.jsx("div", { + className: U.table_details_tabs, + children: E.map((A, T) => + /* @__PURE__ */ f.jsx( + "div", + { + className: me(U.tab, { + [U.selected]: m === T, + }), + onClick: () => b(T), + children: A, + }, + A, + ), + ), + }), + m === 0 && + /* @__PURE__ */ f.jsx(RC, { + selectedTable: y, + selectedColumn: n, + filteredColumn: c, + setFilteredColumn: d, + columns: h.columns, + handleColumnClick: v, + setData: g, + allowSyncColumnsWithDB: i, + }), + m === 1 && /* @__PURE__ */ f.jsx(HC, { tests: y.tests }), + ], + }) ); - try { - Le.start(), (await Promise.all([ - N(!0), - N(!1) - ])).every((j) => !j) && (s(bn({ table: "", name: "" })), H1(u, A.table), Le.isCancelled || ld( - `No lineage found for model ${A.table} and column ${A.name}` - )); - } catch (D) { - console.error( - "Error while performing cll for ", - A.table, - A.name, - ", error:", - D - ), s(bn({ table: "", name: "" })), H1(u, A.table); - } finally { - Le.end(); - } - }, y = (x = u.getNode(t)) == null ? void 0 : x.data; - if (C || !h || !t) return /* @__PURE__ */ f.jsx(pd, {}); - const E = ["Column"]; - return y.tests.length && E.push("Tests"), /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ f.jsx( - Vl, - { - nodeType: y.nodeType, - table: y.label - } - ), - h.purpose && /* @__PURE__ */ f.jsx(md, { purpose: h.purpose }), - E.length > 1 && /* @__PURE__ */ f.jsx("div", { className: U.table_details_tabs, children: E.map((A, T) => /* @__PURE__ */ f.jsx( - "div", + }, + IC = () => { + var g, m, b, C; + const { + state: { theme: e }, + } = Re(Nn), { - className: me(U.tab, { - [U.selected]: m === T + state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o }, + } = We(), + r = + (b = + (m = (g = t == null ? void 0 : t.details) == null ? void 0 : g[n]) == + null + ? void 0 + : m.columns) == null + ? void 0 + : b.map((p) => ({ + ...p, + description: p.expression, + })), + [a, i] = ae(r), + [l, s] = ae(r), + u = (C = t == null ? void 0 : t.details) == null ? void 0 : C[n]; + if (!u) return null; + const { sql: c, type: d, nodeId: h } = u; + return /* @__PURE__ */ f.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ f.jsx(Vl, { nodeType: d || "cte", table: n }), + c && + /* @__PURE__ */ f.jsx("div", { + className: me(U.card, "mb-0 purpose-section"), + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "fs-5 fw-semibold", + children: "SQL", + }), + /* @__PURE__ */ f.jsx(Zo, { + code: c, + language: "sql", + editorTheme: "tomorrow", + showLineNumbers: !0, + theme: e, + }), + ], + }), + }), + /* @__PURE__ */ f.jsx("div", { + className: me(U.card, "mb-0 flex-grow column-section"), + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-sm h-100", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "fs-5 fw-semibold", + children: "Column", + }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + o && + h && + ["table", "final"].includes(d || "") && + /* @__PURE__ */ f.jsx(ke, { + size: "sm", + color: "primary", + onClick: () => { + Hl(h, !0).then((p) => { + i(p.columns), s(p.columns); + }); + }, + children: "Sync with DB", + }), + ], + }), + /* @__PURE__ */ f.jsx(Jo, { + bsSize: "sm", + placeholder: "Search by column name", + type: "text", + onChange: (p) => { + const v = p.target.value.toLowerCase(); + s( + a == null + ? void 0 + : a.filter((y) => y.name.toLowerCase().includes(v)), + ); + }, + }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex align-items-center gap-xs", + children: /* @__PURE__ */ f.jsxs("div", { + children: [l == null ? void 0 : l.length, " columns"], + }), + }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column gap-sm overflow-y", + children: + l == null + ? void 0 + : l.map((p) => + /* @__PURE__ */ f.jsx( + bd, + { + column: { + name: p.name, + table: n, + can_lineage_expand: !1, + description: "", + code: p.expression, + }, + handleClick: () => {}, + selected: !1, + isSelectable: !1, + }, + p.name, + ), + ), + }), + ], + }), }), - onClick: () => b(T), - children: A - }, - A - )) }), - m === 0 && /* @__PURE__ */ f.jsx( - RC, - { - selectedTable: y, - selectedColumn: n, - filteredColumn: c, - setFilteredColumn: d, - columns: h.columns, - handleColumnClick: v, - setData: g, - allowSyncColumnsWithDB: i - } - ), - m === 1 && /* @__PURE__ */ f.jsx(HC, { tests: y.tests }) - ] }); -}, IC = () => { - var g, m, b, C; - const { - state: { theme: e } - } = Re(Nn), { - state: { sqlLineage: t, selectedTable: n, allowSyncColumnsWithDB: o } - } = We(), r = (b = (m = (g = t == null ? void 0 : t.details) == null ? void 0 : g[n]) == null ? void 0 : m.columns) == null ? void 0 : b.map( - (p) => ({ - ...p, - description: p.expression - }) - ), [a, i] = ae(r), [l, s] = ae(r), u = (C = t == null ? void 0 : t.details) == null ? void 0 : C[n]; - if (!u) - return null; - const { sql: c, type: d, nodeId: h } = u; - return /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ f.jsx(Vl, { nodeType: d || "cte", table: n }), - c && /* @__PURE__ */ f.jsx("div", { className: me(U.card, "mb-0 purpose-section"), children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ f.jsx("div", { className: "fs-5 fw-semibold", children: "SQL" }), - /* @__PURE__ */ f.jsx( - Zo, - { - code: c, - language: "sql", - editorTheme: "tomorrow", - showLineNumbers: !0, - theme: e - } - ) - ] }) }), - /* @__PURE__ */ f.jsx("div", { className: me(U.card, "mb-0 flex-grow column-section"), children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm h-100", children: [ - /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ f.jsx("div", { className: "fs-5 fw-semibold", children: "Column" }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - o && h && ["table", "final"].includes(d || "") && /* @__PURE__ */ f.jsx( - ke, - { - size: "sm", - color: "primary", - onClick: () => { - Hl(h, !0).then((p) => { - i(p.columns), s(p.columns); - }); - }, - children: "Sync with DB" - } - ) - ] }), - /* @__PURE__ */ f.jsx( - Jo, - { - bsSize: "sm", - placeholder: "Search by column name", - type: "text", - onChange: (p) => { - const v = p.target.value.toLowerCase(); - s( - a == null ? void 0 : a.filter((y) => y.name.toLowerCase().includes(v)) - ); - } - } - ), - /* @__PURE__ */ f.jsx("div", { className: "d-flex align-items-center gap-xs", children: /* @__PURE__ */ f.jsxs("div", { children: [ - l == null ? void 0 : l.length, - " columns" - ] }) }), - /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column gap-sm overflow-y", children: l == null ? void 0 : l.map((p) => /* @__PURE__ */ f.jsx( - bd, - { - column: { - name: p.name, - table: n, - can_lineage_expand: !1, - description: "", - code: p.expression - }, - handleClick: () => { - }, - selected: !1, - isSelectable: !1 - }, - p.name - )) }) - ] }) }) - ] }); -}, _r = ({ title: e, value: t }) => /* @__PURE__ */ f.jsxs("div", { className: me(U.column_card, {}), children: [ - /* @__PURE__ */ f.jsxs("div", { className: "d-flex align-items-center gap-xs", children: [ - /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: e }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }) - ] }), - /* @__PURE__ */ f.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ f.jsx("div", { className: "font-normal fs-xxs text-grey", children: t }) }) -] }), zC = ({ label: e }) => /* @__PURE__ */ f.jsx("div", { children: e }), PC = () => { - var l; - const e = wt(), { - state: { selectedTable: t } - } = We(), [n, o] = ae(null), r = (l = e.getNode(t)) == null ? void 0 : l.data, [a, i] = ae(!0); - return re(() => { - t && aC(t).then((s) => { - o(s), i(!1); + ], }); - }, [t]), a || !n || !t ? /* @__PURE__ */ f.jsx(pd, {}) : /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column gap-md overflow-y", children: [ - /* @__PURE__ */ f.jsxs("div", { className: U.table_details_header, children: [ - /* @__PURE__ */ f.jsx(wa, { nodeType: r.nodeType }), - /* @__PURE__ */ f.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ f.jsx("div", { className: "fw-semibold fs-5 lines-2", children: r.label }) }) - ] }), - n.description ? /* @__PURE__ */ f.jsx(md, { purpose: n.description }) : null, - /* @__PURE__ */ f.jsxs("div", { className: me(U.card, "flex-grow column-section"), children: [ - /* @__PURE__ */ f.jsx( - _r, - { - title: "Owner", - value: `${n.owner.name} - ${n.owner.email}` - } - ), - /* @__PURE__ */ f.jsx(_r, { title: "Url", value: n.url }), - /* @__PURE__ */ f.jsx( - _r, - { - title: "Tags", - value: n.tags.map((s) => /* @__PURE__ */ f.jsx(zC, { label: s })) - } - ), - /* @__PURE__ */ f.jsx(_r, { title: "Maturity", value: n.maturity }) - ] }) - ] }); -}; + }, + _r = ({ title: e, value: t }) => + /* @__PURE__ */ f.jsxs("div", { + className: me(U.column_card, {}), + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex align-items-center gap-xs", + children: [ + /* @__PURE__ */ f.jsx("div", { className: "lines-2", children: e }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + ], + }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex flex-column", + children: /* @__PURE__ */ f.jsx("div", { + className: "font-normal fs-xxs text-grey", + children: t, + }), + }), + ], + }), + zC = ({ label: e }) => /* @__PURE__ */ f.jsx("div", { children: e }), + PC = () => { + var l; + const e = wt(), + { + state: { selectedTable: t }, + } = We(), + [n, o] = ae(null), + r = (l = e.getNode(t)) == null ? void 0 : l.data, + [a, i] = ae(!0); + return ( + re(() => { + t && + aC(t).then((s) => { + o(s), i(!1); + }); + }, [t]), + a || !n || !t + ? /* @__PURE__ */ f.jsx(pd, {}) + : /* @__PURE__ */ f.jsxs("div", { + className: "p-2 h-100 d-flex flex-column gap-md overflow-y", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: U.table_details_header, + children: [ + /* @__PURE__ */ f.jsx(wa, { nodeType: r.nodeType }), + /* @__PURE__ */ f.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ f.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: r.label, + }), + }), + ], + }), + n.description + ? /* @__PURE__ */ f.jsx(md, { purpose: n.description }) + : null, + /* @__PURE__ */ f.jsxs("div", { + className: me(U.card, "flex-grow column-section"), + children: [ + /* @__PURE__ */ f.jsx(_r, { + title: "Owner", + value: `${n.owner.name} - ${n.owner.email}`, + }), + /* @__PURE__ */ f.jsx(_r, { title: "Url", value: n.url }), + /* @__PURE__ */ f.jsx(_r, { + title: "Tags", + value: n.tags.map((s) => + /* @__PURE__ */ f.jsx(zC, { label: s }), + ), + }), + /* @__PURE__ */ f.jsx(_r, { + title: "Maturity", + value: n.maturity, + }), + ], + }), + ], + }) + ); + }; function BC({ close: e }) { const [t, n] = ae( - "" - /* None */ - ), [o, r] = ae(""), [a, i] = ae(!1); - return /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ f.jsxs("div", { className: "mb-2 d-flex", children: [ - /* @__PURE__ */ f.jsx("div", { className: "fw-semibold fs-5", children: "Feedback" }), - /* @__PURE__ */ f.jsx("div", { className: "spacer" }), - /* @__PURE__ */ f.jsx( - ke, - { - size: "sm", - color: "primary", - onClick: (l) => { - l.stopPropagation(), uC(); - }, - children: "Chat with us" - } - ) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: U.feedback_body, children: [ - !a && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm m-2", children: [ - t === "good" ? /* @__PURE__ */ f.jsx( - Mb, - { - className: "cursor-pointer", - onClick: () => n( - "" - /* None */ - ) - } - ) : /* @__PURE__ */ f.jsx( - kb, - { - className: "cursor-pointer", - onClick: () => n( - "good" - /* Postive */ - ) - } - ), - t === "bad" ? /* @__PURE__ */ f.jsx( - Tb, - { - className: "cursor-pointer", - onClick: () => n( - "" - /* None */ - ) - } - ) : /* @__PURE__ */ f.jsx( - Ab, - { - className: "cursor-pointer", - onClick: () => n( - "bad" - /* Negative */ - ) - } - ) - ] }), - /* @__PURE__ */ f.jsx("p", { children: "AI still needs humans sometimes, please help it out 🙂" }), - /* @__PURE__ */ f.jsx( - kC, - { - value: o, - onChange: (l) => r(l.target.value), - placeholder: "What did AI do wrong? What it should have done?" - } - ), - /* @__PURE__ */ f.jsxs("div", { className: "mt-3 d-flex gap-sm", children: [ - /* @__PURE__ */ f.jsx( - ke, - { - size: "sm", - color: "primary", - onClick: async (l) => { - l.stopPropagation(), t !== "" && (await lC({ - feedback_value: t, - feedback_text: o - }), i(!0)); - }, - children: "Submit" - } - ), - /* @__PURE__ */ f.jsx( - ke, - { - size: "sm", - color: "link", - className: U.cancel_btn, - onClick: (l) => { - l.stopPropagation(), e(); - }, - children: "Cancel" - } - ) - ] }) - ] }), - a && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("p", { children: "Many thanks for your feedback!" }), - /* @__PURE__ */ f.jsx( - ke, - { + "", + /* None */ + ), + [o, r] = ae(""), + [a, i] = ae(!1); + return /* @__PURE__ */ f.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: "mb-2 d-flex", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "fw-semibold fs-5", + children: "Feedback", + }), + /* @__PURE__ */ f.jsx("div", { className: "spacer" }), + /* @__PURE__ */ f.jsx(ke, { size: "sm", color: "primary", onClick: (l) => { - l.stopPropagation(), e(); + l.stopPropagation(), uC(); }, - children: "Close" - } - ) - ] }) - ] }) - ] }); -} -function VC({ applyDefault: e }) { - const { - state: { selectCheck: t, nonSelectCheck: n, defaultExpansion: o, aiEnabled: r } - } = We(), a = $e(); - return /* @__PURE__ */ f.jsxs("div", { className: "p-2 h-100 d-flex flex-column", children: [ - /* @__PURE__ */ f.jsx("div", { className: "mb-2 fw-semibold fs-5", children: "Settings" }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx(Ra, { check: !0, for: "default-expansion", className: "fs-6 mb-1", children: "Default Expansion" }), - /* @__PURE__ */ f.jsx( - Jo, - { - id: "default-expansion", - value: o, - type: "number", - onChange: (i) => { - const l = Math.max(parseInt(i.target.value), 0); - a(S0(l)), Ji({ defaultExpansion: l }), e(l); - } - } - ) - ] }), - r && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("div", { className: "fs-6", children: "Edges visibility" }), - /* @__PURE__ */ f.jsxs("div", { className: U.select_node_checkbox, children: [ - /* @__PURE__ */ f.jsx( - sn, - { - type: "checkbox", - id: "select-check", - className: "mt-2", - checked: t, - onChange: (i) => { - if (Le.inProgress) { - Le.showCllInProgressMsg(); - return; - } - a(E0(i.target.checked)), Ji({ - showSelectEdges: i.target.checked - }); - } - } - ), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ f.jsx(Ra, { check: !0, for: "select-check", className: "fs-6", children: "Select" }), - /* @__PURE__ */ f.jsx("div", { className: "text-grey", children: "Select linkages are shown if there is direct flow of data between columns through select statements." }) - ] }) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: U.non_select_node_checkbox, children: [ - /* @__PURE__ */ f.jsx( - sn, - { - type: "checkbox", - id: "non-select-check", - className: "mt-2", - checked: n, - onChange: (i) => { - if (Le.inProgress) { - Le.showCllInProgressMsg(); - return; - } - a(_0(i.target.checked)), Ji({ - showNonSelectEdges: i.target.checked - }); - } - } - ), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column", children: [ - /* @__PURE__ */ f.jsx(Ra, { check: !0, for: "non-select-check", className: "fs-6", children: "Non-Select" }), - /* @__PURE__ */ f.jsx("div", { className: "text-grey", children: "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc." }) - ] }) - ] }) - ] }) - ] }) - ] }); -} -const Cd = ut({ isOpen: !1, setIsOpen: () => { -} }); -function WC({ - trigger: e, - render: t -}) { - const n = le(null), o = "popover-id", { isOpen: r, setIsOpen: a } = Re(Cd); - return re(() => { - const i = (l) => { - if (!n.current) return; - const { x: s, y: u, width: c, height: d } = n.current.getBoundingClientRect(); - a( - mc(s - 10, s + c + 10)(l.x) && mc(u - 10, u + d + 10)(l.y) - ); - }; - return document.body.addEventListener("click", i), () => { - document.body.removeEventListener("click", i); - }; - }, [r]), /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx( - "div", - { - id: o, - onClick: (i) => { - i.stopPropagation(), a((l) => !l); - }, - children: e - } - ), - /* @__PURE__ */ f.jsx( - Ac, - { - placement: "bottom", - target: o, - className: U.popover, - isOpen: r, - toggle: () => a((i) => !i), - children: /* @__PURE__ */ f.jsx(Mc, { children: /* @__PURE__ */ f.jsx("div", { ref: n, children: t({ close: () => a(!1) }) }) }) - } - ) - ] }); -} -const $C = () => { - const e = wt(), { - state: { - selectedTable: t, - leftExpansion: n, - rightExpansion: o, - minRange: r, - nodeCount: a, - defaultExpansion: i - }, - rerender: l - } = We(), [s, u] = ae([0, 0]), c = $e(); - re(() => { - c( - Hi( - Cc(r[0], s[0], i) - ) - ), c( - Fi( - Cc(r[1], s[1], i) - ) - ); - }, [i, c, s, r]), re(() => { - (async () => c( - Kn( - await oo( - e.getNodes(), - e.getEdges(), - t, - n, - o - ) - ) - ))(); - }, [e, n, c, o, t]), re(() => { - (async () => { - var E; - if (!t) return; - const g = (E = e.getNode(t)) == null ? void 0 : E.data; - if (!g) return; - const { level: m } = g, b = e.getNodes(), C = e.getEdges(), [p] = await ta( - b, - C, - t, - -1 / 0, - 1 / 0 - ); - let v = 1 / 0, y = -1 / 0; - for (const x of p) - v = Math.min(v, x.data.level), y = Math.max(y, x.data.level); - u([m - v, y - m]); - })(); - }, [e, t]); - const d = pe(() => { - c( - Hi( - n + 1 <= s[0] ? n + 1 : n - ) - ); - }, [n, c, s]), h = pe(() => { - c( - Fi( - o + 1 <= s[0] ? o + 1 : o - ) - ); - }, [o, c, s]); - return /* @__PURE__ */ f.jsx( - WC, - { - trigger: /* @__PURE__ */ f.jsxs( - ke, - { - size: "sm", - color: "primary", - className: "d-flex gap-sm align-items-center", - type: "button", - children: [ - /* @__PURE__ */ f.jsx(Nb, {}), - "Expand" - ] - } - ), - render: ({ close: g }) => /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ f.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ f.jsxs( - "div", - { - className: me(U.expand_nav, { - [U.disabled]: r[0] === -1 - }), - children: [ - /* @__PURE__ */ f.jsxs("div", { className: U.expand_nav_btn, children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: U.icon, - onClick: (m) => { - m.stopPropagation(), t && c(Hi(s[0])); - }, - children: /* @__PURE__ */ f.jsx(Db, {}) - } - ), - /* @__PURE__ */ f.jsx("div", { className: U.divider }), - /* @__PURE__ */ f.jsx( - "div", - { - className: U.icon, - onClick: (m) => { - m.stopPropagation(), t && d(); + children: "Chat with us", + }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: U.feedback_body, + children: [ + !a && + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex gap-sm m-2", + children: [ + t === "good" + ? /* @__PURE__ */ f.jsx(Mb, { + className: "cursor-pointer", + onClick: () => + n( + "", + /* None */ + ), + }) + : /* @__PURE__ */ f.jsx(kb, { + className: "cursor-pointer", + onClick: () => + n( + "good", + /* Postive */ + ), + }), + t === "bad" + ? /* @__PURE__ */ f.jsx(Tb, { + className: "cursor-pointer", + onClick: () => + n( + "", + /* None */ + ), + }) + : /* @__PURE__ */ f.jsx(Ab, { + className: "cursor-pointer", + onClick: () => + n( + "bad", + /* Negative */ + ), + }), + ], + }), + /* @__PURE__ */ f.jsx("p", { + children: + "AI still needs humans sometimes, please help it out 🙂", + }), + /* @__PURE__ */ f.jsx(kC, { + value: o, + onChange: (l) => r(l.target.value), + placeholder: + "What did AI do wrong? What it should have done?", + }), + /* @__PURE__ */ f.jsxs("div", { + className: "mt-3 d-flex gap-sm", + children: [ + /* @__PURE__ */ f.jsx(ke, { + size: "sm", + color: "primary", + onClick: async (l) => { + l.stopPropagation(), + t !== "" && + (await lC({ + feedback_value: t, + feedback_text: o, + }), + i(!0)); }, - children: /* @__PURE__ */ f.jsx(Ob, {}) - } - ) - ] }), - /* @__PURE__ */ f.jsx("div", { className: "text-blue px-2 py-1", children: n }) - ] - } - ), - /* @__PURE__ */ f.jsxs( - "div", - { - className: me(U.expand_nav, { - [U.disabled]: r[1] === -1 + children: "Submit", + }), + /* @__PURE__ */ f.jsx(ke, { + size: "sm", + color: "link", + className: U.cancel_btn, + onClick: (l) => { + l.stopPropagation(), e(); + }, + children: "Cancel", + }), + ], + }), + ], + }), + a && + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx("p", { + children: "Many thanks for your feedback!", + }), + /* @__PURE__ */ f.jsx(ke, { + size: "sm", + color: "primary", + onClick: (l) => { + l.stopPropagation(), e(); + }, + children: "Close", + }), + ], + }), + ], + }), + ], + }); +} +function VC({ applyDefault: e }) { + const { + state: { + selectCheck: t, + nonSelectCheck: n, + defaultExpansion: o, + aiEnabled: r, + }, + } = We(), + a = $e(); + return /* @__PURE__ */ f.jsxs("div", { + className: "p-2 h-100 d-flex flex-column", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "mb-2 fw-semibold fs-5", + children: "Settings", + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ f.jsxs("div", { + children: [ + /* @__PURE__ */ f.jsx(Ra, { + check: !0, + for: "default-expansion", + className: "fs-6 mb-1", + children: "Default Expansion", + }), + /* @__PURE__ */ f.jsx(Jo, { + id: "default-expansion", + value: o, + type: "number", + onChange: (i) => { + const l = Math.max(parseInt(i.target.value), 0); + a(S0(l)), Ji({ defaultExpansion: l }), e(l); + }, }), + ], + }), + r && + /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("div", { className: "text-blue px-2 py-1", children: o }), - /* @__PURE__ */ f.jsxs("div", { className: U.expand_nav_btn, children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: U.icon, - onClick: (m) => { - m.stopPropagation(), t && h(); + /* @__PURE__ */ f.jsx("div", { + className: "fs-6", + children: "Edges visibility", + }), + /* @__PURE__ */ f.jsxs("div", { + className: U.select_node_checkbox, + children: [ + /* @__PURE__ */ f.jsx(sn, { + type: "checkbox", + id: "select-check", + className: "mt-2", + checked: t, + onChange: (i) => { + if (Le.inProgress) { + Le.showCllInProgressMsg(); + return; + } + a(E0(i.target.checked)), + Ji({ + showSelectEdges: i.target.checked, + }); }, - children: /* @__PURE__ */ f.jsx(Lb, {}) - } - ), - /* @__PURE__ */ f.jsx("div", { className: U.divider }), - /* @__PURE__ */ f.jsx( - "div", - { - className: U.icon, - onClick: (m) => { - m.stopPropagation(), t && c(Fi(s[1])); + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column", + children: [ + /* @__PURE__ */ f.jsx(Ra, { + check: !0, + for: "select-check", + className: "fs-6", + children: "Select", + }), + /* @__PURE__ */ f.jsx("div", { + className: "text-grey", + children: + "Select linkages are shown if there is direct flow of data between columns through select statements.", + }), + ], + }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: U.non_select_node_checkbox, + children: [ + /* @__PURE__ */ f.jsx(sn, { + type: "checkbox", + id: "non-select-check", + className: "mt-2", + checked: n, + onChange: (i) => { + if (Le.inProgress) { + Le.showCllInProgressMsg(); + return; + } + a(_0(i.target.checked)), + Ji({ + showNonSelectEdges: i.target.checked, + }); }, - children: /* @__PURE__ */ f.jsx(rd, {}) - } - ) - ] }) - ] - } - ) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: "w-100 d-flex gap-xl justify-content-between align-items-center", children: [ - /* @__PURE__ */ f.jsx("div", { className: "normal-text", children: "Parents" }), - /* @__PURE__ */ f.jsx("div", { className: "normal-text", children: "Children" }) - ] }), - /* @__PURE__ */ f.jsxs( - ke, - { - color: a === 0 ? "secondary" : "primary", - size: "sm", - disabled: a === 0, - onClick: async (m) => { - var v; - if (m.stopPropagation(), !t) return; - const b = (v = e.getNode(t)) == null ? void 0 : v.data; - if (!b) return; - const [C, p] = await ta( - e.getNodes(), - e.getEdges(), - t, - b.level - n, - b.level + o - ); - Wo(C, p, t), Dt(C, p), e.setNodes(C), e.setEdges(p), e.fitView({ minZoom: O1 }), c( - Do($o(C, p, t)) - ), c( - Kn( - await oo( - C, - p, - t, - n, - o - ) - ) - ), l(), g(); - }, - children: [ - "Add ", - a, - " tables" - ] - } - ) - ] }) - } + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column", + children: [ + /* @__PURE__ */ f.jsx(Ra, { + check: !0, + for: "non-select-check", + className: "fs-6", + children: "Non-Select", + }), + /* @__PURE__ */ f.jsx("div", { + className: "text-grey", + children: + "Non-Select linkages are shown if columns appear in condition/clauses like where, join, having, etc.", + }), + ], + }), + ], + }), + ], + }), + ], + }), + ], + }); +} +const Cd = ut({ isOpen: !1, setIsOpen: () => {} }); +function WC({ trigger: e, render: t }) { + const n = le(null), + o = "popover-id", + { isOpen: r, setIsOpen: a } = Re(Cd); + return ( + re(() => { + const i = (l) => { + if (!n.current) return; + const { + x: s, + y: u, + width: c, + height: d, + } = n.current.getBoundingClientRect(); + a(mc(s - 10, s + c + 10)(l.x) && mc(u - 10, u + d + 10)(l.y)); + }; + return ( + document.body.addEventListener("click", i), + () => { + document.body.removeEventListener("click", i); + } + ); + }, [r]), + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx("div", { + id: o, + onClick: (i) => { + i.stopPropagation(), a((l) => !l); + }, + children: e, + }), + /* @__PURE__ */ f.jsx(Ac, { + placement: "bottom", + target: o, + className: U.popover, + isOpen: r, + toggle: () => a((i) => !i), + children: /* @__PURE__ */ f.jsx(Mc, { + children: /* @__PURE__ */ f.jsx("div", { + ref: n, + children: t({ close: () => a(!1) }), + }), + }), + }), + ], + }) ); -}, ZC = () => { - const { - state: { selectedColumn: e, confidence: t, aiEnabled: n } - } = We(), o = document.getElementById("expand-container"); - return o ? Tn( - /* @__PURE__ */ f.jsx(Ut, { className: U.menu_card_container, children: /* @__PURE__ */ f.jsx(un, { className: U.menu_card, children: /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-sm", children: [ - /* @__PURE__ */ f.jsx($C, {}), - n && (e == null ? void 0 : e.name) && t.confidence === "low" && /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - /* @__PURE__ */ f.jsx("div", { className: U.verticle_divider }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex gap-xxs align-items-center", children: [ - /* @__PURE__ */ f.jsx("div", { children: "Confidence" }), - /* @__PURE__ */ f.jsx( - vn, - { - 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__ */ f.jsx(g4, {}) - } - ), - /* @__PURE__ */ f.jsx("div", { className: U.low_confidence, children: "Low" }) - ] }) - ] }) - ] }) }) }), - o - ) : null; -}, UC = () => { - const e = document.getElementById("settings-container"), t = $e(); - return e ? Tn( - /* @__PURE__ */ f.jsxs( - ke, - { - outline: !0, - onClick: () => t(Mt(Yu)), - children: [ - /* @__PURE__ */ f.jsx(u4, {}), - "Settings" - ] - } - ), - e - ) : null; -}, qC = ({ flow: e }) => { - const t = document.getElementById("reset-container"), n = $e(); - return t ? Tn( - /* @__PURE__ */ f.jsxs( - ke, +} +const $C = () => { + const e = wt(), { - outline: !0, - onClick: () => { - e.setNodes([]), e.setEdges([]), n(bn({ table: "", name: "" })), n(No({})), n(al({})), id(), Le.cancel(); + state: { + selectedTable: t, + leftExpansion: n, + rightExpansion: o, + minRange: r, + nodeCount: a, + defaultExpansion: i, }, - "data-testid": "reset-btn", - className: U.reset_btn, - children: [ - /* @__PURE__ */ f.jsx(c4, {}), - /* @__PURE__ */ f.jsx("span", { children: "Reset" }) - ] - } - ), - t - ) : null; -}, YC = ({ - viewsCodeArgs: e -}) => { - const { - state: { theme: t } - } = Re(Nn), n = $e(), o = wt(), r = _e(() => { - var i, l; - return e ? (l = (i = o.getNode(e.table)) == null ? void 0 : i.data) == null ? void 0 : l.label : ""; - }, [o, e]), a = _e(() => { - const i = Object.values((e == null ? void 0 : e.viewsCode) || []).flat().filter(([, s]) => s === "Transformation").map(([s]) => s), l = []; - for (const s of i) - l.includes(s) || l.push(s); - return l; - }, [e == null ? void 0 : e.viewsCode]); - return /* @__PURE__ */ f.jsx( - Tc, - { + rerender: l, + } = We(), + [s, u] = ae([0, 0]), + c = $e(); + re(() => { + c(Hi(Cc(r[0], s[0], i))), c(Fi(Cc(r[1], s[1], i))); + }, [i, c, s, r]), + re(() => { + (async () => c(Kn(await oo(e.getNodes(), e.getEdges(), t, n, o))))(); + }, [e, n, c, o, t]), + re(() => { + (async () => { + var E; + if (!t) return; + const g = (E = e.getNode(t)) == null ? void 0 : E.data; + if (!g) return; + const { level: m } = g, + b = e.getNodes(), + C = e.getEdges(), + [p] = await ta(b, C, t, -1 / 0, 1 / 0); + let v = 1 / 0, + y = -1 / 0; + for (const x of p) + (v = Math.min(v, x.data.level)), (y = Math.max(y, x.data.level)); + u([m - v, y - m]); + })(); + }, [e, t]); + const d = pe(() => { + c(Hi(n + 1 <= s[0] ? n + 1 : n)); + }, [n, c, s]), + h = pe(() => { + c(Fi(o + 1 <= s[0] ? o + 1 : o)); + }, [o, c, s]); + return /* @__PURE__ */ f.jsx(WC, { + trigger: /* @__PURE__ */ f.jsxs(ke, { + size: "sm", + color: "primary", + className: "d-flex gap-sm align-items-center", + type: "button", + children: [/* @__PURE__ */ f.jsx(Nb, {}), "Expand"], + }), + render: ({ close: g }) => + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: + "w-100 d-flex gap-xl justify-content-between align-items-center", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: me(U.expand_nav, { + [U.disabled]: r[0] === -1, + }), + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: U.expand_nav_btn, + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.icon, + onClick: (m) => { + m.stopPropagation(), t && c(Hi(s[0])); + }, + children: /* @__PURE__ */ f.jsx(Db, {}), + }), + /* @__PURE__ */ f.jsx("div", { className: U.divider }), + /* @__PURE__ */ f.jsx("div", { + className: U.icon, + onClick: (m) => { + m.stopPropagation(), t && d(); + }, + children: /* @__PURE__ */ f.jsx(Ob, {}), + }), + ], + }), + /* @__PURE__ */ f.jsx("div", { + className: "text-blue px-2 py-1", + children: n, + }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: me(U.expand_nav, { + [U.disabled]: r[1] === -1, + }), + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "text-blue px-2 py-1", + children: o, + }), + /* @__PURE__ */ f.jsxs("div", { + className: U.expand_nav_btn, + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.icon, + onClick: (m) => { + m.stopPropagation(), t && h(); + }, + children: /* @__PURE__ */ f.jsx(Lb, {}), + }), + /* @__PURE__ */ f.jsx("div", { className: U.divider }), + /* @__PURE__ */ f.jsx("div", { + className: U.icon, + onClick: (m) => { + m.stopPropagation(), t && c(Fi(s[1])); + }, + children: /* @__PURE__ */ f.jsx(rd, {}), + }), + ], + }), + ], + }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: + "w-100 d-flex gap-xl justify-content-between align-items-center", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "normal-text", + children: "Parents", + }), + /* @__PURE__ */ f.jsx("div", { + className: "normal-text", + children: "Children", + }), + ], + }), + /* @__PURE__ */ f.jsxs(ke, { + color: a === 0 ? "secondary" : "primary", + size: "sm", + disabled: a === 0, + onClick: async (m) => { + var v; + if ((m.stopPropagation(), !t)) return; + const b = (v = e.getNode(t)) == null ? void 0 : v.data; + if (!b) return; + const [C, p] = await ta( + e.getNodes(), + e.getEdges(), + t, + b.level - n, + b.level + o, + ); + Wo(C, p, t), + Dt(C, p), + e.setNodes(C), + e.setEdges(p), + e.fitView({ minZoom: O1 }), + c(Do($o(C, p, t))), + c(Kn(await oo(C, p, t, n, o))), + l(), + g(); + }, + children: ["Add ", a, " tables"], + }), + ], + }), + }); + }, + ZC = () => { + const { + state: { selectedColumn: e, confidence: t, aiEnabled: n }, + } = We(), + o = document.getElementById("expand-container"); + return o + ? Tn( + /* @__PURE__ */ f.jsx(Ut, { + className: U.menu_card_container, + children: /* @__PURE__ */ f.jsx(un, { + className: U.menu_card, + children: /* @__PURE__ */ f.jsxs("div", { + className: "d-flex gap-sm", + children: [ + /* @__PURE__ */ f.jsx($C, {}), + n && + (e == null ? void 0 : e.name) && + t.confidence === "low" && + /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.verticle_divider, + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex gap-xxs align-items-center", + children: [ + /* @__PURE__ */ f.jsx("div", { + children: "Confidence", + }), + /* @__PURE__ */ f.jsx(vn, { + 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__ */ f.jsx(g4, {}), + }), + /* @__PURE__ */ f.jsx("div", { + className: U.low_confidence, + children: "Low", + }), + ], + }), + ], + }), + ], + }), + }), + }), + o, + ) + : null; + }, + UC = () => { + const e = document.getElementById("settings-container"), + t = $e(); + return e + ? Tn( + /* @__PURE__ */ f.jsxs(ke, { + outline: !0, + onClick: () => t(Mt(Yu)), + children: [/* @__PURE__ */ f.jsx(u4, {}), "Settings"], + }), + e, + ) + : null; + }, + qC = ({ flow: e }) => { + const t = document.getElementById("reset-container"), + n = $e(); + return t + ? Tn( + /* @__PURE__ */ f.jsxs(ke, { + outline: !0, + onClick: () => { + e.setNodes([]), + e.setEdges([]), + n(bn({ table: "", name: "" })), + n(No({})), + n(al({})), + id(), + Le.cancel(); + }, + "data-testid": "reset-btn", + className: U.reset_btn, + children: [ + /* @__PURE__ */ f.jsx(c4, {}), + /* @__PURE__ */ f.jsx("span", { children: "Reset" }), + ], + }), + t, + ) + : null; + }, + YC = ({ viewsCodeArgs: e }) => { + const { + state: { theme: t }, + } = Re(Nn), + n = $e(), + o = wt(), + r = _e(() => { + var i, l; + return e + ? (l = (i = o.getNode(e.table)) == null ? void 0 : i.data) == null + ? void 0 + : l.label + : ""; + }, [o, e]), + a = _e(() => { + const i = Object.values((e == null ? void 0 : e.viewsCode) || []) + .flat() + .filter(([, s]) => s === "Transformation") + .map(([s]) => s), + l = []; + for (const s of i) l.includes(s) || l.push(s); + return l; + }, [e == null ? void 0 : e.viewsCode]); + return /* @__PURE__ */ f.jsx(Tc, { size: "lg", isOpen: !!e, toggle: () => n(Xn(null)), @@ -24053,762 +34931,920 @@ const $C = () => { unmountOnClose: !0, scrollable: !0, className: "bs-modal", - children: /* @__PURE__ */ f.jsxs(Nc, { children: [ - /* @__PURE__ */ f.jsx( - "div", - { + children: /* @__PURE__ */ f.jsxs(Nc, { + children: [ + /* @__PURE__ */ f.jsx("div", { className: U.close_button, onClick: () => n(Xn(null)), - children: /* @__PURE__ */ f.jsx(jl, {}) - } - ), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - r && /* @__PURE__ */ f.jsx(Vl, { nodeType: e.nodeType, table: r }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ f.jsx("div", { className: "text-dark-grey fs-xs", children: "Column" }), - /* @__PURE__ */ f.jsx("div", { className: U.model_views_type, children: e.column }) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ f.jsx("div", { className: "text-dark-grey fs-xs", children: "Type" }), - /* @__PURE__ */ f.jsxs("div", { className: U.model_views_type, children: [ - /* @__PURE__ */ f.jsx(Rl, { viewsType: e.viewsType }), - e.viewsType - ] }) - ] }), - a.length > 0 && /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ f.jsx("div", { className: "text-dark-grey fs-xs", children: "List of transformations" }), - a.map((i) => /* @__PURE__ */ f.jsx( - Zo, - { - code: i, - language: "sql", - editorTheme: "tomorrow", - theme: t - }, - i - )) - ] }) - ] }) - ] }) - } - ); -}; + children: /* @__PURE__ */ f.jsx(jl, {}), + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + r && + /* @__PURE__ */ f.jsx(Vl, { nodeType: e.nodeType, table: r }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Column", + }), + /* @__PURE__ */ f.jsx("div", { + className: U.model_views_type, + children: e.column, + }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Type", + }), + /* @__PURE__ */ f.jsxs("div", { + className: U.model_views_type, + children: [ + /* @__PURE__ */ f.jsx(Rl, { viewsType: e.viewsType }), + e.viewsType, + ], + }), + ], + }), + a.length > 0 && + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "text-dark-grey fs-xs", + children: "List of transformations", + }), + a.map((i) => + /* @__PURE__ */ f.jsx( + Zo, + { + code: i, + language: "sql", + editorTheme: "tomorrow", + theme: t, + }, + i, + ), + ), + ], + }), + ], + }), + ], + }), + }); + }; function GC({ opNodeArgs: e }) { const { - state: { theme: t } + state: { theme: t }, } = Re(Nn); - return /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-sm", children: [ - /* @__PURE__ */ f.jsxs("div", { className: U.table_details_header, children: [ - gd[e.op_type], - /* @__PURE__ */ f.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ f.jsx("div", { className: "fw-semibold fs-5 lines-2", children: e.op_type }) }) - ] }), - /* @__PURE__ */ f.jsxs("div", { className: "d-flex flex-column gap-xs", children: [ - /* @__PURE__ */ f.jsx("div", { className: "text-dark-grey fs-xs", children: "Code" }), - /* @__PURE__ */ f.jsx( - Zo, - { - code: e.op_code, - language: "sql", - editorTheme: "tomorrow", - theme: t - } - ) - ] }) - ] }); + return /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-sm", + children: [ + /* @__PURE__ */ f.jsxs("div", { + className: U.table_details_header, + children: [ + gd[e.op_type], + /* @__PURE__ */ f.jsx("div", { + className: "d-flex align-items-center", + children: /* @__PURE__ */ f.jsx("div", { + className: "fw-semibold fs-5 lines-2", + children: e.op_type, + }), + }), + ], + }), + /* @__PURE__ */ f.jsxs("div", { + className: "d-flex flex-column gap-xs", + children: [ + /* @__PURE__ */ f.jsx("div", { + className: "text-dark-grey fs-xs", + children: "Code", + }), + /* @__PURE__ */ f.jsx(Zo, { + code: e.op_code, + language: "sql", + editorTheme: "tomorrow", + theme: t, + }), + ], + }), + ], + }); } const Wl = () => { - const { - state: { modalArgs: e } - } = We(), t = $e(); - return e ? /* @__PURE__ */ f.jsx( - Tc, - { - size: "lg", - isOpen: e.type !== "none", - close: () => t(Xn({ type: "none" })), - centered: !0, - unmountOnClose: !0, - scrollable: !0, - className: "bs-modal", - children: /* @__PURE__ */ f.jsxs(Nc, { children: [ - /* @__PURE__ */ f.jsx( - "div", - { - className: U.close_button, - onClick: () => t(Xn({ type: "none" })), - children: /* @__PURE__ */ f.jsx(jl, {}) + const { + state: { modalArgs: e }, + } = We(), + t = $e(); + return e + ? /* @__PURE__ */ f.jsx(Tc, { + size: "lg", + isOpen: e.type !== "none", + close: () => t(Xn({ type: "none" })), + centered: !0, + unmountOnClose: !0, + scrollable: !0, + className: "bs-modal", + children: /* @__PURE__ */ f.jsxs(Nc, { + children: [ + /* @__PURE__ */ f.jsx("div", { + className: U.close_button, + onClick: () => t(Xn({ type: "none" })), + children: /* @__PURE__ */ f.jsx(jl, {}), + }), + e.type === "views_code" && + /* @__PURE__ */ f.jsx(YC, { + viewsCodeArgs: e.args, + }), + e.type === "op_node" && + /* @__PURE__ */ f.jsx(GC, { opNodeArgs: e.args }), + ], + }), + }) + : null; + }, + KC = { + table: fd, + seeMore: zl, + column: Bl, + }, + XC = { selfConnecting: Pl }, + JC = ({ flow: e, theme: t }) => { + const [n, o] = ae(!1), + { + state: { + selectCheck: r, + nonSelectCheck: a, + sidebarScreen: i, + leftExpansion: l, + rightExpansion: s, + selectedColumn: u, + defaultExpansion: c, + errors: d, + }, + rerender: h, + } = We(), + g = $e(), + m = le(c), + b = () => { + if (e.current) { + const y = e.current.getEdges(); + Po(y, !0), Bo(y, !1), e.current.setEdges(y); + } + }, + C = pe( + async (y) => { + if ((g(Mt("")), !y)) return; + g(k8(y.aiEnabled)); + const { node: E } = y, + x = e.current; + if (!x || !E) return; + if (x.getNode(E.table)) { + g(kn(E.table)); + let R = x.getNodes(), + L = x.getEdges(); + (u != null && u.name) || + (([R, L] = Wo(R, L, E.table)), x.setNodes(R), x.setEdges(L)), + g(Do($o(R, L, E.table))), + g(Kn(await oo(R, L, E.table, l, s))); + return; } - ), - e.type === "views_code" && /* @__PURE__ */ f.jsx( - YC, - { - viewsCodeArgs: e.args + let T = [], + k = []; + (T = [to(E, 0, "")]), + ([T, k] = await ta(T, k, E.table, -m.current, m.current)), + g(kn(E.table)), + g(bn({ table: "", name: "" })), + g(No({})), + g(al({})), + ([T, k] = Wo(T, k, E.table)), + Dt(T, k), + x.setNodes(T), + x.setEdges(k), + x.fitView({ minZoom: O1, duration: 500 }), + g(Do($o(T, k, E.table))), + g(Kn(await oo(T, k, E.table, l, s))), + h(); + }, + [h, l, s, u == null ? void 0 : u.name], + ); + re(() => { + document.addEventListener("cll_cancelled", b); + const y = (E) => { + console.log("renderStartNode", E.detail), C(E.detail); + }; + return ( + document.addEventListener("renderStartNode", y), + () => { + document.removeEventListener("cll_cancelled", b), + document.removeEventListener("renderStartNode", y); + } + ); + }, []); + const p = pe(async () => { + const y = await sC(); + g(E0(y.showSelectEdges)), + g(_0(y.showNonSelectEdges)), + g(S0(y.defaultExpansion)), + (m.current = y.defaultExpansion); + }, [g]); + re(() => { + p(); + }, [p]), + re(() => { + const y = e.current; + if (!y) return; + (async () => { + var T; + const x = u; + if (!x) return; + if (a) { + const k = (R) => + Il( + y.getNodes(), + y.getEdges(), + R, + x ? [x] : [], + (L) => { + g(sl({ operatorList: L })); + }, + (L) => { + g(il(L)); + }, + (L) => { + g(ll(L)); + }, + () => [y.getNodes(), y.getEdges()], + (L, I) => { + y.setNodes(L), y.setEdges(I); + }, + x || { table: "", name: "" }, + { direct: r, indirect: a }, + (L) => g(cl(L(d))), + ); + try { + Le.start(), await Promise.all([k(!0), k(!1)]); + } catch (R) { + console.error( + "Error while performing cll for ", + x == null ? void 0 : x.table, + x == null ? void 0 : x.name, + ", error:", + R, + ); + } finally { + Le.end(); + } } - ), - e.type === "op_node" && /* @__PURE__ */ f.jsx(GC, { opNodeArgs: e.args }) - ] }) - } - ) : null; -}, KC = { - table: fd, - seeMore: zl, - column: Bl -}, XC = { selfConnecting: Pl }, JC = ({ - flow: e, - theme: t -}) => { - const [n, o] = ae(!1), { - state: { - selectCheck: r, - nonSelectCheck: a, - sidebarScreen: i, - leftExpansion: l, - rightExpansion: s, - selectedColumn: u, - defaultExpansion: c, - errors: d - }, - rerender: h - } = We(), g = $e(), m = le(c), b = () => { - if (e.current) { - const y = e.current.getEdges(); - Po(y, !0), Bo(y, !1), e.current.setEdges(y); - } - }, C = pe( - async (y) => { - if (g(Mt("")), !y) return; - g(k8(y.aiEnabled)); - const { node: E } = y, x = e.current; - if (!x || !E) return; - if (x.getNode(E.table)) { - g(kn(E.table)); - let R = x.getNodes(), L = x.getEdges(); - u != null && u.name || ([R, L] = Wo(R, L, E.table), x.setNodes(R), x.setEdges(L)), g( - Do($o(R, L, E.table)) - ), g( - Kn( - await oo( - R, - L, - E.table, - l, - s - ) - ) - ); - return; - } - let T = [], k = []; - T = [to(E, 0, "")], [T, k] = await ta( - T, - k, - E.table, - -m.current, - m.current - ), g(kn(E.table)), g(bn({ table: "", name: "" })), g(No({})), g(al({})), [T, k] = Wo(T, k, E.table), Dt(T, k), x.setNodes(T), x.setEdges(k), x.fitView({ minZoom: O1, duration: 500 }), g(Do($o(T, k, E.table))), g( - Kn( - await oo( - T, - k, - E.table, - l, - s - ) - ) - ), h(); - }, - [h, l, s, u == null ? void 0 : u.name] - ); - re(() => { - document.addEventListener("cll_cancelled", b); - const y = (E) => { - console.log("renderStartNode", E.detail), C(E.detail); - }; - return document.addEventListener("renderStartNode", y), () => { - document.removeEventListener("cll_cancelled", b), document.removeEventListener("renderStartNode", y); + const A = y.getEdges(); + if ((r && a) || (!r && !a)) { + for (const k of A) k.hidden = !1; + y.setEdges(A); + return; + } + for (const k of A) { + k.hidden = !1; + const R = (T = k.data) == null ? void 0 : T.type; + R && + (R === "direct" && (k.hidden = !r), + R === "indirect" && (k.hidden = !a)); + } + y.setEdges(A); + })(); + }, [r, a]); + const v = (y) => { + (e.current = y), id(); }; - }, []); - const p = pe(async () => { - const y = await sC(); - g(E0(y.showSelectEdges)), g(_0(y.showNonSelectEdges)), g(S0(y.defaultExpansion)), m.current = y.defaultExpansion; - }, [g]); - re(() => { - p(); - }, [p]), re(() => { - const y = e.current; - if (!y) return; - (async () => { - var T; - const x = u; - if (!x) return; - if (a) { - const k = (R) => Il( - y.getNodes(), - y.getEdges(), - R, - x ? [x] : [], - (L) => { - g( - sl({ operatorList: L }) - ); - }, - (L) => { - g(il(L)); - }, - (L) => { - g(ll(L)); - }, - () => [y.getNodes(), y.getEdges()], - (L, I) => { - y.setNodes(L), y.setEdges(I); - }, - x || { table: "", name: "" }, - { direct: r, indirect: a }, - (L) => g(cl(L(d))) - ); - try { - Le.start(), await Promise.all([k(!0), k(!1)]); - } catch (R) { - console.error( - "Error while performing cll for ", - x == null ? void 0 : x.table, - x == null ? void 0 : x.name, - ", error:", - R - ); - } finally { - Le.end(); - } - } - const A = y.getEdges(); - if (r && a || !r && !a) { - for (const k of A) k.hidden = !1; - y.setEdges(A); - return; - } - for (const k of A) { - k.hidden = !1; - const R = (T = k.data) == null ? void 0 : T.type; - R && (R === "direct" && (k.hidden = !r), R === "indirect" && (k.hidden = !a)); - } - y.setEdges(A); - })(); - }, [r, a]); - const v = (y) => { - e.current = y, id(); - }; - return /* @__PURE__ */ f.jsx( - "div", - { + return /* @__PURE__ */ f.jsx("div", { className: "lineage_flow_component", style: { width: "100%", height: "100%" }, "data-theme": t, - children: /* @__PURE__ */ f.jsx(Cd.Provider, { value: { isOpen: n, setIsOpen: o }, children: /* @__PURE__ */ f.jsxs(Go, { children: [ - /* @__PURE__ */ f.jsxs( - ya, - { - defaultNodes: [], - defaultEdges: [], - onInit: (y) => v(y), - nodeTypes: KC, - edgeTypes: XC, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: O1, - children: [ - /* @__PURE__ */ f.jsx(Ml, {}), - /* @__PURE__ */ f.jsx(Al, {}) - ] + children: /* @__PURE__ */ f.jsx(Cd.Provider, { + value: { isOpen: n, setIsOpen: o }, + children: /* @__PURE__ */ f.jsxs(Go, { + children: [ + /* @__PURE__ */ f.jsxs(ya, { + defaultNodes: [], + defaultEdges: [], + onInit: (y) => v(y), + nodeTypes: KC, + edgeTypes: XC, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: O1, + children: [ + /* @__PURE__ */ f.jsx(Ml, {}), + /* @__PURE__ */ f.jsx(Al, {}), + ], + }), + /* @__PURE__ */ f.jsx(tC, {}), + /* @__PURE__ */ f.jsxs(hd, { + isOpen: i !== "", + closeModal: () => g(Mt("")), + width: "30vw", + children: [ + i === qu && /* @__PURE__ */ f.jsx(MC, {}), + i === Zu && /* @__PURE__ */ f.jsx(FC, {}), + i === Uu && /* @__PURE__ */ f.jsx(PC, {}), + i === _p && /* @__PURE__ */ f.jsx(BC, { close: () => Mt("") }), + i === Yu && + /* @__PURE__ */ f.jsx(VC, { + applyDefault: (y) => (m.current = y), + }), + ], + }), + /* @__PURE__ */ f.jsx(ZC, {}), + /* @__PURE__ */ f.jsx(UC, {}), + e.current ? /* @__PURE__ */ f.jsx(qC, { flow: e.current }) : null, + /* @__PURE__ */ f.jsx(Wl, {}), + ], + }), + }), + }); + }, + QC = { + table: fd, + seeMore: zl, + column: Bl, + }, + ey = { + selfConnecting: Pl, + }, + ty = ({ + flow: e, + selectedColumn: t, + collectColumns: n, + columnEdges: o = [], + tableEdges: r, + details: a, + }) => { + const i = $e(); + return ( + re(() => { + i(No(n)), + setTimeout(async () => { + var m, b; + const l = (C) => ({ + table: C, + label: a[C].name, + upstreamCount: 0, + downstreamCount: 0, + nodeType: a[C].type || "cte", + isExternalProject: !1, + tests: [], + }), + { sources: s } = td(r); + let u = [], + c = []; + const d = [...s], + h = {}, + g = (C, p) => { + var E, x; + const v = C + ? r.filter(([A]) => A === p).map(([, A]) => A) + : r.filter(([, A]) => A === p).map(([A]) => A), + y = + ((x = + (E = u.find((A) => A.id === p)) == null + ? void 0 + : E.data) == null + ? void 0 + : x.level) || 0; + return Ea(u, c, v.map(l), p, C, y, 1e4, !1, a), v; + }; + for (; d.length > 0; ) { + const C = d.pop(); + h[C] || ((h[C] = !0), d.push(...g(!0, C), ...g(!1, C))); + } + if (t) { + const C = `${t.table}/${t.name}`, + { nodes: p, edges: v } = await CC(u, c, C, async () => ({ + collect_columns: n, + highlight_edges: o, + })); + (u = p), (c = v); + } + Dt(u, c, !1), + (m = e.current) == null || m.setNodes(u), + (b = e.current) == null || b.setEdges(c); + }, 500); + }, [n, o, a, e, t, r]), + re(() => { + const l = setTimeout(() => { + var s; + (s = e.current) == null || s.fitView({ duration: 500 }); + }, 1e3); + return () => clearInterval(l); + }, []), + /* @__PURE__ */ f.jsxs("div", { + style: { width: "100%", height: "100%" }, + children: [ + /* @__PURE__ */ f.jsx("div", { + style: { width: "100%", height: "100%" }, + children: /* @__PURE__ */ f.jsx(Go, { + children: /* @__PURE__ */ f.jsxs(ya, { + defaultNodes: [], + defaultEdges: [], + onInit: (l) => (e.current = l), + nodeTypes: QC, + edgeTypes: ey, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: 0.05, + children: [ + /* @__PURE__ */ f.jsx(Ml, {}), + /* @__PURE__ */ f.jsx(Al, {}), + ], + }), + }), + }), + /* @__PURE__ */ f.jsx(Wl, {}), + ], + }) + ); + }, + ny = { + table: _C, + seeMore: zl, + column: Bl, + operator: SC, + }, + oy = { + selfConnecting: Pl, + }, + ry = ({ flow: e, tableEdges: t, details: n, nodePositions: o }) => { + const { + state: { selectedTable: r }, + } = We(), + a = $e(); + return ( + re(() => { + a(M8({ details: n, tableEdges: t })); + }, [n]), + re(() => { + setTimeout(async () => { + var g, m, b, C; + const i = (p) => ({ + table: p, + label: n[p].name || p, + upstreamCount: 0, + downstreamCount: 0, + nodeType: n[p].type || "cte", + isExternalProject: !1, + tests: [], + }); + if (o) { + const p = Object.keys(o).map((y) => + n[y].type in Vo ? to(i(y), 0, "") : ed(y, 0, "", n[y]), + ), + v = t.map(([y, E]) => Ll(o[y][1], o[E][1], y, E, !0, !0)); + for (const y of p) { + if (!o[y.id]) continue; + const [E, x] = o[y.id]; + y.position = { x: E, y: x }; + } + (g = e.current) == null || g.setNodes(p), + (m = e.current) == null || m.setEdges(v); + return; } - ), - /* @__PURE__ */ f.jsx(tC, {}), - /* @__PURE__ */ f.jsxs( - hd, - { - isOpen: i !== "", - closeModal: () => g(Mt("")), - width: "30vw", - children: [ - i === qu && /* @__PURE__ */ f.jsx(MC, {}), - i === Zu && /* @__PURE__ */ f.jsx(FC, {}), - i === Uu && /* @__PURE__ */ f.jsx(PC, {}), - i === _p && /* @__PURE__ */ f.jsx(BC, { close: () => Mt("") }), - i === Yu && /* @__PURE__ */ f.jsx( - VC, - { - applyDefault: (y) => m.current = y - } - ) - ] + const { sinks: l } = td(t); + let s = l.map((p) => to(i(p), 0, "")), + u = []; + const c = [...l], + d = {}, + h = (p, v) => { + var x, A; + const y = p + ? t.filter(([T]) => T === v).map(([, T]) => T) + : t.filter(([, T]) => T === v).map(([T]) => T), + E = + ((A = + (x = s.find((T) => T.id === v)) == null + ? void 0 + : x.data) == null + ? void 0 + : A.level) || 0; + return Ea(s, u, y.map(i), v, p, E, 1e4, !0, n), y; + }; + for (; c.length > 0; ) { + const p = c.pop(); + d[p] || ((d[p] = !0), c.push(...h(!1, p))); + } + Dt(s, u, !0), + (b = e.current) == null || b.setNodes(s), + (C = e.current) == null || C.setEdges(u); + }, 500); + }, [n, e, t, o]), + re(() => { + const i = setTimeout(() => { + var l; + (l = e.current) == null || l.fitView({ duration: 500 }); + }, 1e3); + return () => clearInterval(i); + }, []), + re(() => { + const i = (d) => { + a(T8(d.detail)); + }, + l = (d) => { + a(N8(d.detail)); + }, + s = () => { + setTimeout(() => { + var d; + (d = e.current) == null || d.fitView({ duration: 500 }); + }, 500); + }, + u = (d) => { + a(D8(d.detail)); + }, + c = (d) => { + a(O8(d.detail)); + }; + return ( + document.addEventListener("onHighlightedNodes", i), + document.addEventListener("onSelectedNodes", l), + document.addEventListener("onNodesSavingsPerformance", u), + document.addEventListener("onNodesCost", c), + document.addEventListener("fitView", s), + () => { + document.removeEventListener("highlightedNodes", i), + document.removeEventListener("onSelectedNodes", l), + document.removeEventListener("onNodesSavingsPerformance", u), + document.removeEventListener("onNodesCost", c), + document.removeEventListener("fitView", s); } - ), - /* @__PURE__ */ f.jsx(ZC, {}), - /* @__PURE__ */ f.jsx(UC, {}), - e.current ? /* @__PURE__ */ f.jsx(qC, { flow: e.current }) : null, - /* @__PURE__ */ f.jsx(Wl, {}) - ] }) }) - } - ); -}, QC = { - table: fd, - seeMore: zl, - column: Bl -}, ey = { - selfConnecting: Pl -}, ty = ({ - flow: e, - selectedColumn: t, - collectColumns: n, - columnEdges: o = [], - tableEdges: r, - details: a -}) => { - const i = $e(); - return re(() => { - i(No(n)), setTimeout(async () => { - var m, b; - const l = (C) => ({ - table: C, - label: a[C].name, - upstreamCount: 0, - downstreamCount: 0, - nodeType: a[C].type || "cte", - isExternalProject: !1, - tests: [] - }), { sources: s } = td(r); - let u = [], c = []; - const d = [...s], h = {}, g = (C, p) => { - var E, x; - const v = C ? r.filter(([A]) => A === p).map(([, A]) => A) : r.filter(([, A]) => A === p).map(([A]) => A), y = ((x = (E = u.find((A) => A.id === p)) == null ? void 0 : E.data) == null ? void 0 : x.level) || 0; - return Ea( - u, - c, - v.map(l), - p, - C, - y, - 1e4, - !1, - a - ), v; - }; - for (; d.length > 0; ) { - const C = d.pop(); - h[C] || (h[C] = !0, d.push( - ...g(!0, C), - ...g(!1, C) - )); - } - if (t) { - const C = `${t.table}/${t.name}`, { nodes: p, edges: v } = await CC( - u, - c, - C, - async () => ({ - collect_columns: n, - highlight_edges: o - }) - ); - u = p, c = v; - } - Dt(u, c, !1), (m = e.current) == null || m.setNodes(u), (b = e.current) == null || b.setEdges(c); - }, 500); - }, [n, o, a, e, t, r]), re(() => { - const l = setTimeout(() => { - var s; - (s = e.current) == null || s.fitView({ duration: 500 }); - }, 1e3); - return () => clearInterval(l); - }, []), /* @__PURE__ */ f.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ f.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ f.jsx(Go, { children: /* @__PURE__ */ f.jsxs( - ya, - { - defaultNodes: [], - defaultEdges: [], - onInit: (l) => e.current = l, - nodeTypes: QC, - edgeTypes: ey, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: 0.05, - children: [ - /* @__PURE__ */ f.jsx(Ml, {}), - /* @__PURE__ */ f.jsx(Al, {}) - ] - } - ) }) }), - /* @__PURE__ */ f.jsx(Wl, {}) - ] }); -}, ny = { - table: _C, - seeMore: zl, - column: Bl, - operator: SC -}, oy = { - selfConnecting: Pl -}, ry = ({ - flow: e, - tableEdges: t, - details: n, - nodePositions: o -}) => { - const { - state: { selectedTable: r } - } = We(), a = $e(); - return re(() => { - a(M8({ details: n, tableEdges: t })); - }, [n]), re(() => { - setTimeout(async () => { - var g, m, b, C; - const i = (p) => ({ - table: p, - label: n[p].name || p, - upstreamCount: 0, - downstreamCount: 0, - nodeType: n[p].type || "cte", - isExternalProject: !1, - tests: [] - }); - if (o) { - const p = Object.keys(o).map((y) => n[y].type in Vo ? to(i(y), 0, "") : ed(y, 0, "", n[y])), v = t.map( - ([y, E]) => Ll( - o[y][1], - o[E][1], - y, - E, - !0, - !0 - ) ); - for (const y of p) { - if (!o[y.id]) continue; - const [E, x] = o[y.id]; - y.position = { x: E, y: x }; - } - (g = e.current) == null || g.setNodes(p), (m = e.current) == null || m.setEdges(v); - return; - } - const { sinks: l } = td(t); - let s = l.map( - (p) => to(i(p), 0, "") - ), u = []; - const c = [...l], d = {}, h = (p, v) => { - var x, A; - const y = p ? t.filter(([T]) => T === v).map(([, T]) => T) : t.filter(([, T]) => T === v).map(([T]) => T), E = ((A = (x = s.find((T) => T.id === v)) == null ? void 0 : x.data) == null ? void 0 : A.level) || 0; - return Ea( - s, - u, - y.map(i), - v, - p, - E, - 1e4, - !0, - n - ), y; - }; - for (; c.length > 0; ) { - const p = c.pop(); - d[p] || (d[p] = !0, c.push(...h(!1, p))); - } - Dt(s, u, !0), (b = e.current) == null || b.setNodes(s), (C = e.current) == null || C.setEdges(u); - }, 500); - }, [n, e, t, o]), re(() => { - const i = setTimeout(() => { - var l; - (l = e.current) == null || l.fitView({ duration: 500 }); - }, 1e3); - return () => clearInterval(i); - }, []), re(() => { - const i = (d) => { - a(T8(d.detail)); - }, l = (d) => { - a(N8(d.detail)); - }, s = () => { - setTimeout(() => { - var d; - (d = e.current) == null || d.fitView({ duration: 500 }); - }, 500); - }, u = (d) => { - a(D8(d.detail)); - }, c = (d) => { - a(O8(d.detail)); - }; - return document.addEventListener("onHighlightedNodes", i), document.addEventListener("onSelectedNodes", l), document.addEventListener( - "onNodesSavingsPerformance", - u - ), document.addEventListener("onNodesCost", c), document.addEventListener("fitView", s), () => { - document.removeEventListener("highlightedNodes", i), document.removeEventListener("onSelectedNodes", l), document.removeEventListener( - "onNodesSavingsPerformance", - u - ), document.removeEventListener("onNodesCost", c), document.removeEventListener("fitView", s); - }; - }, []), /* @__PURE__ */ f.jsxs("div", { style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ f.jsx("div", { style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ f.jsx(Go, { children: /* @__PURE__ */ f.jsxs( - ya, - { - defaultNodes: [], - defaultEdges: [], - onInit: (i) => e.current = i, - nodeTypes: ny, - edgeTypes: oy, - style: { background: "var(--bg-color)" }, - proOptions: { hideAttribution: !0 }, - minZoom: 0.05, + }, []), + /* @__PURE__ */ f.jsxs("div", { + style: { width: "100%", height: "100%" }, children: [ - /* @__PURE__ */ f.jsx(Ml, {}), - /* @__PURE__ */ f.jsx(Al, {}) - ] - } - ) }) }), - /* @__PURE__ */ f.jsx(Wl, {}), - /* @__PURE__ */ f.jsx( - hd, - { - isOpen: !!r, - closeModal: () => a(kn("")), - width: "30vw", - children: !!r && /* @__PURE__ */ f.jsx(IC, {}) - } - ) - ] }); -}, Nn = ut({ - state: Br.getInitialState(), - dispatch: () => null, - rerender: () => null -}), ay = ({ - theme: e = "dark", - lineageType: t, - sqlLineage: n, - dynamicLineage: o, - staticLineage: r, - allowSyncColumnsWithDB: a, - externalSidePanel: i = !1 -}) => { - const [l, s] = B1(Br.reducer, { - ...Br.getInitialState(), - theme: e, + /* @__PURE__ */ f.jsx("div", { + style: { width: "100%", height: "100%" }, + children: /* @__PURE__ */ f.jsx(Go, { + children: /* @__PURE__ */ f.jsxs(ya, { + defaultNodes: [], + defaultEdges: [], + onInit: (i) => (e.current = i), + nodeTypes: ny, + edgeTypes: oy, + style: { background: "var(--bg-color)" }, + proOptions: { hideAttribution: !0 }, + minZoom: 0.05, + children: [ + /* @__PURE__ */ f.jsx(Ml, {}), + /* @__PURE__ */ f.jsx(Al, {}), + ], + }), + }), + }), + /* @__PURE__ */ f.jsx(Wl, {}), + /* @__PURE__ */ f.jsx(hd, { + isOpen: !!r, + closeModal: () => a(kn("")), + width: "30vw", + children: !!r && /* @__PURE__ */ f.jsx(IC, {}), + }), + ], + }) + ); + }, + Nn = ut({ + state: Br.getInitialState(), + dispatch: () => null, + rerender: () => null, + }), + ay = ({ + theme: e = "dark", lineageType: t, sqlLineage: n, + dynamicLineage: o, + staticLineage: r, allowSyncColumnsWithDB: a, - externalSidePanel: i - }), u = le(), [, c] = ae(0), d = pe(() => c((g) => (g + 1) % 100), []); - re(() => { - s(A8(e)); - }, [e]); - const h = _e( - () => ({ - state: l, - dispatch: s, - rerender: d - }), - [l, s, d] - ); - return /* @__PURE__ */ f.jsx(Nn.Provider, { value: h, children: /* @__PURE__ */ f.jsxs("div", { className: "lineage-component", children: [ - t === "sql" && n && /* @__PURE__ */ f.jsx( - ry, - { - flow: u, - details: n.details, - tableEdges: n.tableEdges, - nodePositions: n.nodePositions - } - ), - t === "dynamic" && o && /* @__PURE__ */ f.jsx(JC, { flow: u, theme: e }), - t === "static" && r && /* @__PURE__ */ f.jsx(ty, { flow: u, ...r }), - /* @__PURE__ */ f.jsx("div", { id: "lineage-sidebar" }) - ] }) }); -}, We = () => Re(Nn), $e = () => { - const { dispatch: e } = Re(Nn); - return e; -}, Xy = (e) => /* @__PURE__ */ f.jsx(ay, { ...e }), yd = { - showCoachingForm: !1 -}, I1 = G1({ - name: "teamMate", - initialState: yd, - reducers: { - setShowCoachingForm: (e, t) => { - e.showCoachingForm = t.payload; - } - } -}), iy = I1.actions, vd = ut({ - state: yd, - dispatch: () => null -}), Jy = ({ - children: e -}) => { - const [t, n] = B1( - I1.reducer, - I1.getInitialState() - ), o = _e( - () => ({ - state: t, - dispatch: n - }), - [t, n] - ); - return /* @__PURE__ */ f.jsx(vd.Provider, { value: o, children: e }); -}, ly = ({ - errors: e, - isSubmitting: t, - taskLabel: n, - onSuccess: o, - onCancel: r -}) => { - const { setFieldError: a, values: i, setSubmitting: l } = Gd(), s = async () => await Se.post("coach/training", { - ...i, - taskLabel: n - }), { mutate: u, error: c } = aa({ - // @ts-ignore - queryFn: s, - onSuccess: (d) => { - o(d), l(!1); - } - }); - return re(() => { - c != null && c.message && (a("content", c.message), l(!1)); - }, [c, a]), /* @__PURE__ */ f.jsxs(Kd, { children: [ - /* @__PURE__ */ f.jsx( - Xd, - { - name: "content", - render: ({ field: d }) => /* @__PURE__ */ f.jsxs(e1, { children: [ - /* @__PURE__ */ f.jsx( - sn, - { - type: "textarea", - ...d, - placeholder: "Greet with nice poem", - invalid: !!e.content - } - ), - e.content ? /* @__PURE__ */ f.jsx(Dc, { children: e.content }) : null - ] }) - } - ), - /* @__PURE__ */ f.jsxs(Ye, { className: "justify-content-end", children: [ - /* @__PURE__ */ f.jsx(ke, { onClick: r, children: "Cancel" }), - /* @__PURE__ */ f.jsx( - ra, - { - color: "primary", - loading: t, - type: "submit", - onClick: u, - children: "Coach AI" - } - ) - ] }) - ] }); -}, sy = (e, t) => (n) => { - const o = e.safeParse(n, t); - return o.success ? {} : o.error.issues.reduce((r, a) => { - const i = a.path.join("."); - return Object.assign(Object.assign({}, r), { [i]: a.message }); - }, {}); -}, cy = Ue.object({ - content: Ue.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" }) -}), Qy = ({ taskLabel: e, context: t, onClose: n }) => { - const [o, r] = ae(), [a, i] = ae(!1), l = (b) => { - r(b); - }, s = () => { - i(!0); - }, u = () => { - i(!1); - }, c = async () => { - if (o) - return u(), await Se.post( - "coach/training/confirm", - { - content: o.ai_response, - category: o.category, - taskLabel: e, - personalizationScope: o.personalizationScope, - metadata: t - } + externalSidePanel: i = !1, + }) => { + const [l, s] = B1(Br.reducer, { + ...Br.getInitialState(), + theme: e, + lineageType: t, + sqlLineage: n, + allowSyncColumnsWithDB: a, + externalSidePanel: i, + }), + u = le(), + [, c] = ae(0), + d = pe(() => c((g) => (g + 1) % 100), []); + re(() => { + s(A8(e)); + }, [e]); + const h = _e( + () => ({ + state: l, + dispatch: s, + rerender: d, + }), + [l, s, d], + ); + return /* @__PURE__ */ f.jsx(Nn.Provider, { + value: h, + children: /* @__PURE__ */ f.jsxs("div", { + className: "lineage-component", + children: [ + t === "sql" && + n && + /* @__PURE__ */ f.jsx(ry, { + flow: u, + details: n.details, + tableEdges: n.tableEdges, + nodePositions: n.nodePositions, + }), + t === "dynamic" && + o && + /* @__PURE__ */ f.jsx(JC, { flow: u, theme: e }), + t === "static" && r && /* @__PURE__ */ f.jsx(ty, { flow: u, ...r }), + /* @__PURE__ */ f.jsx("div", { id: "lineage-sidebar" }), + ], + }), + }); + }, + We = () => Re(Nn), + $e = () => { + const { dispatch: e } = Re(Nn); + return e; + }, + Xy = (e) => /* @__PURE__ */ f.jsx(ay, { ...e }), + yd = { + showCoachingForm: !1, + }, + I1 = G1({ + name: "teamMate", + initialState: yd, + reducers: { + setShowCoachingForm: (e, t) => { + e.showCoachingForm = t.payload; + }, + }, + }), + iy = I1.actions, + vd = ut({ + state: yd, + dispatch: () => null, + }), + Jy = ({ children: e }) => { + const [t, n] = B1(I1.reducer, I1.getInitialState()), + o = _e( + () => ({ + state: t, + dispatch: n, + }), + [t, n], ); - }, { - mutate: d, - error: h, - loading: g, - data: m - } = aa({ - // @ts-ignore - queryFn: c, - onSuccess: () => { - i(!1); - } - }); - return m != null && m.frontend_url ? /* @__PURE__ */ f.jsxs(z1, { children: [ - "Thank you for coaching Datapilot. Click the link to", - " ", - /* @__PURE__ */ f.jsx( - "a", - { - className: "alert-link", - href: `${m.frontend_url}/teammates/${e}?learning=${m.train_doc_uid}`, - children: "View learnings" - } - ) - ] }) : /* @__PURE__ */ f.jsxs(Ye, { direction: "column", children: [ - /* @__PURE__ */ f.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__ */ f.jsx( - Jd, - { - initialValues: { content: "" }, - onSubmit: () => { + return /* @__PURE__ */ f.jsx(vd.Provider, { value: o, children: e }); + }, + ly = ({ + errors: e, + isSubmitting: t, + taskLabel: n, + onSuccess: o, + onCancel: r, + }) => { + const { setFieldError: a, values: i, setSubmitting: l } = Gd(), + s = async () => + await Se.post("coach/training", { + ...i, + taskLabel: n, + }), + { mutate: u, error: c } = aa({ + // @ts-ignore + queryFn: s, + onSuccess: (d) => { + o(d), l(!1); }, - validate: sy(cy), - children: (b) => /* @__PURE__ */ f.jsx( - ly, - { - ...b, - taskLabel: e, - onSuccess: l, - onCancel: n - } - ) - } - ), - o && /* @__PURE__ */ f.jsxs(Ut, { className: "mt-4", children: [ - /* @__PURE__ */ f.jsxs(un, { children: [ - /* @__PURE__ */ f.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }), - /* @__PURE__ */ f.jsx("div", { children: a ? /* @__PURE__ */ f.jsx( - sn, - { - type: "textarea", - value: o.ai_response, - onChange: (b) => { - r({ - ...o, - ai_response: b.target.value - }); - }, - style: { fieldSizing: "content" } - } - ) : o.ai_response }), - h && /* @__PURE__ */ f.jsx("div", { className: "text-danger", children: h.message }) - ] }), - /* @__PURE__ */ f.jsxs(jd, { className: "d-flex justify-content-end mt-2 gap-2 border-0", children: [ - a ? /* @__PURE__ */ f.jsx(ke, { variant: "secondary", onClick: u, children: "Cancel" }) : /* @__PURE__ */ f.jsx(ke, { variant: "secondary", onClick: s, children: "Edit" }), - /* @__PURE__ */ f.jsx(ra, { loading: g, onClick: d, color: "primary", children: "Save" }) - ] }) - ] }) - ] }); -}, uy = () => { - const e = Re(vd); - if (e === void 0) - throw new Error( - "useTeamMateContext must be used within a TeamMateProvider" + }); + return ( + re(() => { + c != null && c.message && (a("content", c.message), l(!1)); + }, [c, a]), + /* @__PURE__ */ f.jsxs(Kd, { + children: [ + /* @__PURE__ */ f.jsx(Xd, { + name: "content", + render: ({ field: d }) => + /* @__PURE__ */ f.jsxs(e1, { + children: [ + /* @__PURE__ */ f.jsx(sn, { + type: "textarea", + ...d, + placeholder: "Greet with nice poem", + invalid: !!e.content, + }), + e.content + ? /* @__PURE__ */ f.jsx(Dc, { children: e.content }) + : null, + ], + }), + }), + /* @__PURE__ */ f.jsxs(Ye, { + className: "justify-content-end", + children: [ + /* @__PURE__ */ f.jsx(ke, { onClick: r, children: "Cancel" }), + /* @__PURE__ */ f.jsx(ra, { + color: "primary", + loading: t, + type: "submit", + onClick: u, + children: "Coach AI", + }), + ], + }), + ], + }) ); - return e; -}, ev = ({}) => { - const { dispatch: e } = uy(), t = () => { - e(iy.setShowCoachingForm(!0)); + }, + sy = (e, t) => (n) => { + const o = e.safeParse(n, t); + return o.success + ? {} + : o.error.issues.reduce((r, a) => { + const i = a.path.join("."); + return Object.assign(Object.assign({}, r), { [i]: a.message }); + }, {}); + }, + cy = Ue.object({ + content: Ue.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" }), + }), + Qy = ({ taskLabel: e, context: t, onClose: n }) => { + const [o, r] = ae(), + [a, i] = ae(!1), + l = (b) => { + r(b); + }, + s = () => { + i(!0); + }, + u = () => { + i(!1); + }, + c = async () => { + if (o) + return ( + u(), + await Se.post("coach/training/confirm", { + content: o.ai_response, + category: o.category, + taskLabel: e, + personalizationScope: o.personalizationScope, + metadata: t, + }) + ); + }, + { + mutate: d, + error: h, + loading: g, + data: m, + } = aa({ + // @ts-ignore + queryFn: c, + onSuccess: () => { + i(!1); + }, + }); + return m != null && m.frontend_url + ? /* @__PURE__ */ f.jsxs(z1, { + children: [ + "Thank you for coaching Datapilot. Click the link to", + " ", + /* @__PURE__ */ f.jsx("a", { + className: "alert-link", + href: `${m.frontend_url}/teammates/${e}?learning=${m.train_doc_uid}`, + children: "View learnings", + }), + ], + }) + : /* @__PURE__ */ f.jsxs(Ye, { + direction: "column", + children: [ + /* @__PURE__ */ f.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__ */ f.jsx(Jd, { + initialValues: { content: "" }, + onSubmit: () => {}, + validate: sy(cy), + children: (b) => + /* @__PURE__ */ f.jsx(ly, { + ...b, + taskLabel: e, + onSuccess: l, + onCancel: n, + }), + }), + o && + /* @__PURE__ */ f.jsxs(Ut, { + className: "mt-4", + children: [ + /* @__PURE__ */ f.jsxs(un, { + children: [ + /* @__PURE__ */ f.jsx("p", { + children: + "Below are the learnings by AI based on the entered instructions:", + }), + /* @__PURE__ */ f.jsx("div", { + children: a + ? /* @__PURE__ */ f.jsx(sn, { + type: "textarea", + value: o.ai_response, + onChange: (b) => { + r({ + ...o, + ai_response: b.target.value, + }); + }, + style: { fieldSizing: "content" }, + }) + : o.ai_response, + }), + h && + /* @__PURE__ */ f.jsx("div", { + className: "text-danger", + children: h.message, + }), + ], + }), + /* @__PURE__ */ f.jsxs(jd, { + className: "d-flex justify-content-end mt-2 gap-2 border-0", + children: [ + a + ? /* @__PURE__ */ f.jsx(ke, { + variant: "secondary", + onClick: u, + children: "Cancel", + }) + : /* @__PURE__ */ f.jsx(ke, { + variant: "secondary", + onClick: s, + children: "Edit", + }), + /* @__PURE__ */ f.jsx(ra, { + loading: g, + onClick: d, + color: "primary", + children: "Save", + }), + ], + }), + ], + }), + ], + }); + }, + uy = () => { + const e = Re(vd); + if (e === void 0) + throw new Error( + "useTeamMateContext must be used within a TeamMateProvider", + ); + return e; + }, + ev = ({}) => { + const { dispatch: e } = uy(), + t = () => { + e(iy.setShowCoachingForm(!0)); + }; + return /* @__PURE__ */ f.jsx(vn, { + onClick: t, + children: "Show Coaching Form", + }); }; - return /* @__PURE__ */ f.jsx(vn, { onClick: t, children: "Show Coaching Form" }); -}; -var $l = /* @__PURE__ */ ((e) => (e.TERM_CLARIFICATION = "TermClarification", e.GENERAL_GUIDELINES = "GeneralGuidelines", e.BUSINESS_EXPLANATION = "BusinessExplanation", e))($l || {}), wo = /* @__PURE__ */ ((e) => (e.DocGen = "DocGen", e.ChartBot = "ChartBot", e.SqlBot = "SqlExpert", e.OpportunitiesBot = "OpportunitiesBot", e))(wo || {}), Zl = /* @__PURE__ */ ((e) => (e.USER_SPECIFIC = "UserSpecific", e.ALL_USERS = "AllUsers", e))(Zl || {}); +var $l = /* @__PURE__ */ ((e) => ( + (e.TERM_CLARIFICATION = "TermClarification"), + (e.GENERAL_GUIDELINES = "GeneralGuidelines"), + (e.BUSINESS_EXPLANATION = "BusinessExplanation"), + e + ))($l || {}), + wo = /* @__PURE__ */ ((e) => ( + (e.DocGen = "DocGen"), + (e.ChartBot = "ChartBot"), + (e.SqlBot = "SqlExpert"), + (e.OpportunitiesBot = "OpportunitiesBot"), + e + ))(wo || {}), + Zl = /* @__PURE__ */ ((e) => ( + (e.USER_SPECIFIC = "UserSpecific"), (e.ALL_USERS = "AllUsers"), e + ))(Zl || {}); const dy = Ue.object({ train_doc_uid: Ue.string(), userId: Ue.string(), @@ -24816,166 +35852,240 @@ const dy = Ue.object({ taskLabel: Ue.string(), category: Ue.enum(Object.values($l)), personalizationScope: Ue.enum(Object.values(Zl)).default( - "UserSpecific" + "UserSpecific", /* USER_SPECIFIC */ ), createdDate: Ue.string(), updatedDate: Ue.string(), - content: Ue.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: Ue.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: Ue.record(Ue.unknown()).optional(), - isActive: Ue.boolean().default(!0) + isActive: Ue.boolean().default(!0), }); -var zn = /* @__PURE__ */ ((e) => (e.EXTENSION = "VSCode Extension", e.SAAS = "SaaS", e))(zn || {}), Lr = /* @__PURE__ */ ((e) => (e.SEE_IN_ACTION = "SEE_IN_ACTION", e.REQUEST_ACCESS = "REQUEST_ACCESS", e.VIEW_DETAILS = "VIEW_DETAILS", e))(Lr || {}), wn = {}, fy = En && En.__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 a in r) Object.prototype.hasOwnProperty.call(r, a) && (o[a] = r[a]); - }, 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()); - }; -}(), xd = En && En.__awaiter || function(e, t, n, o) { - function r(a) { - return a instanceof n ? a : new n(function(i) { - i(a); - }); - } - return new (n || (n = Promise))(function(a, i) { - function l(c) { - try { - u(o.next(c)); - } catch (d) { - i(d); - } - } - function s(c) { - try { - u(o.throw(c)); - } catch (d) { - i(d); +var zn = /* @__PURE__ */ ((e) => ( + (e.EXTENSION = "VSCode Extension"), (e.SAAS = "SaaS"), e + ))(zn || {}), + Lr = /* @__PURE__ */ ((e) => ( + (e.SEE_IN_ACTION = "SEE_IN_ACTION"), + (e.REQUEST_ACCESS = "REQUEST_ACCESS"), + (e.VIEW_DETAILS = "VIEW_DETAILS"), + e + ))(Lr || {}), + wn = {}, + fy = + (En && En.__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 a in r) + Object.prototype.hasOwnProperty.call(r, a) && (o[a] = r[a]); + }), + 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()); + }; + })(), + xd = + (En && En.__awaiter) || + function (e, t, n, o) { + function r(a) { + return a instanceof n + ? a + : new n(function (i) { + i(a); + }); } - } - function u(c) { - c.done ? a(c.value) : r(c.value).then(l, s); - } - u((o = o.apply(e, t || [])).next()); - }); -}, wd = En && En.__generator || function(e, t) { - var n = { label: 0, sent: function() { - if (a[0] & 1) throw a[1]; - return a[1]; - }, trys: [], ops: [] }, o, r, a, i; - return i = { next: l(0), throw: l(1), return: l(2) }, typeof Symbol == "function" && (i[Symbol.iterator] = function() { - return this; - }), i; - 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 && (a = u[0] & 2 ? r.return : u[0] ? r.throw || ((a = r.return) && a.call(r), 0) : r.next) && !(a = a.call(r, u[1])).done) return a; - switch (r = 0, a && (u = [u[0] & 2, a.value]), u[0]) { - case 0: - case 1: - a = 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 (a = n.trys, !(a = a.length > 0 && a[a.length - 1]) && (u[0] === 6 || u[0] === 2)) { - n = 0; - continue; - } - if (u[0] === 3 && (!a || u[1] > a[0] && u[1] < a[3])) { - n.label = u[1]; - break; + return new (n || (n = Promise))(function (a, i) { + function l(c) { + try { + u(o.next(c)); + } catch (d) { + i(d); } - if (u[0] === 6 && n.label < a[1]) { - n.label = a[1], a = u; - break; + } + function s(c) { + try { + u(o.throw(c)); + } catch (d) { + i(d); } - if (a && n.label < a[2]) { - n.label = a[2], n.ops.push(u); - break; + } + function u(c) { + c.done ? a(c.value) : r(c.value).then(l, s); + } + u((o = o.apply(e, t || [])).next()); + }); + }, + wd = + (En && En.__generator) || + function (e, t) { + var n = { + label: 0, + sent: function () { + if (a[0] & 1) throw a[1]; + return a[1]; + }, + trys: [], + ops: [], + }, + o, + r, + a, + i; + return ( + (i = { next: l(0), throw: l(1), return: l(2) }), + typeof Symbol == "function" && + (i[Symbol.iterator] = function () { + return this; + }), + i + ); + 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 && + (a = + u[0] & 2 + ? r.return + : u[0] + ? r.throw || ((a = r.return) && a.call(r), 0) + : r.next) && + !(a = a.call(r, u[1])).done) + ) + return a; + switch (((r = 0), a && (u = [u[0] & 2, a.value]), u[0])) { + case 0: + case 1: + a = 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 ( + ((a = n.trys), + !(a = a.length > 0 && a[a.length - 1]) && + (u[0] === 6 || u[0] === 2)) + ) { + n = 0; + continue; + } + if (u[0] === 3 && (!a || (u[1] > a[0] && u[1] < a[3]))) { + n.label = u[1]; + break; + } + if (u[0] === 6 && n.label < a[1]) { + (n.label = a[1]), (a = u); + break; + } + if (a && n.label < a[2]) { + (n.label = a[2]), n.ops.push(u); + break; + } + a[2] && n.ops.pop(), n.trys.pop(); + continue; + } + u = t.call(e, n); + } catch (c) { + (u = [6, c]), (r = 0); + } finally { + o = a = 0; } - a[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 = a = 0; - } - if (u[0] & 5) throw u[1]; - return { value: u[0] ? u[1] : void 0, done: !0 }; - } -}; + }; Object.defineProperty(wn, "__esModule", { value: !0 }); -wn.toFormikValidate = _d = wn.toFormikValidationSchema = wn.ValidationError = void 0; -var Ed = ( +wn.toFormikValidate = + _d = + wn.toFormikValidationSchema = + wn.ValidationError = + void 0; +var Ed = /** @class */ - function(e) { + (function (e) { fy(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); wn.ValidationError = Ed; function gy(e) { var t = new Ed(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 hy(e, t) { return { - validate: function(n) { - return xd(this, void 0, void 0, function() { + validate: function (n) { + return xd(this, void 0, void 0, function () { var o; - return wd(this, function(r) { + return wd(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(), gy(o); + throw ((o = r.sent()), gy(o)); case 3: return [ - 2 + 2, /*return*/ ]; } }); }); - } + }, }; } -var _d = wn.toFormikValidationSchema = hy; +var _d = (wn.toFormikValidationSchema = hy); function py(e) { for (var t = {}, n = 0, o = e.errors; n < o.length; n++) { var r = o[n]; @@ -24985,18 +36095,23 @@ function py(e) { } function my(e, t) { var n = this; - return function(o) { - return xd(n, void 0, void 0, function() { + return function (o) { + return xd(n, void 0, void 0, function () { var r; - return wd(this, function(a) { + return wd(this, function (a) { switch (a.label) { case 0: return [4, e.safeParseAsync(o, t)]; case 1: - return r = a.sent(), r.success ? [ - 2 - /*return*/ - ] : [2, py(r.error)]; + return ( + (r = a.sent()), + r.success + ? [ + 2, + /*return*/ + ] + : [2, py(r.error)] + ); } }); }); @@ -25004,460 +36119,845 @@ function my(e, t) { } wn.toFormikValidate = my; const by = ({ learning: e, afterDelete: t, toggle: n, openId: o }) => { - const [r, a] = ae(!1), { - errors: i, - isValid: l, - isSubmitting: s, - handleSubmit: u, - values: c, - handleChange: d, - setSubmitting: h - } = Qd({ - initialValues: e, - validationSchema: _d(dy), - onSubmit: async (A) => { - await Se.post(`coach/training/${e.train_doc_uid}`, A, { - method: "PUT" - }), a(!1), h(!1); - } - }), g = async () => await Se.post( - `coach/training/${e.train_doc_uid}`, - {}, - { method: "DELETE" } - ), { loading: m, error: b, mutate: C } = aa({ - // @ts-ignore - queryFn: g, - onSuccess: t - }), p = (A) => { - A == null || A.stopPropagation(); - }, v = () => { - p(), C(); - }, y = (A) => { - p(A), a(!1); - }, E = (A) => { - p(A), n(e.train_doc_uid), a(!0); - }, x = o === e.train_doc_uid; - return /* @__PURE__ */ f.jsx(Ut, { className: x ? "active" : "", children: /* @__PURE__ */ f.jsxs("form", { onSubmit: u, children: [ - /* @__PURE__ */ f.jsx(oa, { children: /* @__PURE__ */ f.jsxs(Ye, { className: "align-items-start", children: [ - /* @__PURE__ */ f.jsxs("div", { style: { flex: 1 }, children: [ - /* @__PURE__ */ f.jsx("div", { children: r ? /* @__PURE__ */ f.jsxs(e1, { children: [ - /* @__PURE__ */ f.jsx( - sn, - { - name: "content", - value: c.content, - type: "textarea", - placeholder: "Enter your coaching feedback here...", - invalid: !!i.content, - onClick: p, - onChange: d, - style: { fieldSizing: "content" } - } - ), - i.content ? /* @__PURE__ */ f.jsx(Dc, { children: i.content }) : null - ] }) : /* @__PURE__ */ f.jsx("h6", { className: x ? "" : "lines-2", children: c.content }) }), - /* @__PURE__ */ f.jsx(Ye, { children: /* @__PURE__ */ f.jsxs("dl", { children: [ - /* @__PURE__ */ f.jsxs(Ye, { children: [ - /* @__PURE__ */ f.jsx("dt", { children: "Created on:" }), - /* @__PURE__ */ f.jsx("dd", { children: h1(e.createdDate).format( - "MMMM D, YYYY h:mm A" - ) }) - ] }), - /* @__PURE__ */ f.jsxs(Ye, { children: [ - /* @__PURE__ */ f.jsx("dt", { children: "Updated on:" }), - /* @__PURE__ */ f.jsxs("dd", { children: [ - h1(e.updatedDate).format( - "MMMM D, YYYY h:mm A" - ), - " " - ] }) - ] }), - /* @__PURE__ */ f.jsxs(Ye, { children: [ - /* @__PURE__ */ f.jsx("dt", { children: "Created by:" }), - " ", - /* @__PURE__ */ f.jsx("dd", { children: e.display_name }) - ] }) - ] }) }) - ] }), - /* @__PURE__ */ f.jsxs(Ye, { className: "align-items-top gap-0", children: [ - /* @__PURE__ */ f.jsx(e1, { switch: !0, children: /* @__PURE__ */ f.jsx( - qt, + const [r, a] = ae(!1), + { + errors: i, + isValid: l, + isSubmitting: s, + handleSubmit: u, + values: c, + handleChange: d, + setSubmitting: h, + } = Qd({ + initialValues: e, + validationSchema: _d(dy), + onSubmit: async (A) => { + await Se.post(`coach/training/${e.train_doc_uid}`, A, { + method: "PUT", + }), + a(!1), + h(!1); + }, + }), + g = async () => + await Se.post( + `coach/training/${e.train_doc_uid}`, + {}, + { method: "DELETE" }, + ), + { + loading: m, + error: b, + mutate: C, + } = aa({ + // @ts-ignore + queryFn: g, + onSuccess: t, + }), + p = (A) => { + A == null || A.stopPropagation(); + }, + v = () => { + p(), C(); + }, + y = (A) => { + p(A), a(!1); + }, + E = (A) => { + p(A), n(e.train_doc_uid), a(!0); + }, + x = o === e.train_doc_uid; + return /* @__PURE__ */ f.jsx(Ut, { + className: x ? "active" : "", + children: /* @__PURE__ */ f.jsxs("form", { + onSubmit: u, + children: [ + /* @__PURE__ */ f.jsx(oa, { + children: /* @__PURE__ */ f.jsxs(Ye, { + className: "align-items-start", + children: [ + /* @__PURE__ */ f.jsxs("div", { + style: { flex: 1 }, + children: [ + /* @__PURE__ */ f.jsx("div", { + children: r + ? /* @__PURE__ */ f.jsxs(e1, { + children: [ + /* @__PURE__ */ f.jsx(sn, { + name: "content", + value: c.content, + type: "textarea", + placeholder: + "Enter your coaching feedback here...", + invalid: !!i.content, + onClick: p, + onChange: d, + style: { fieldSizing: "content" }, + }), + i.content + ? /* @__PURE__ */ f.jsx(Dc, { + children: i.content, + }) + : null, + ], + }) + : /* @__PURE__ */ f.jsx("h6", { + className: x ? "" : "lines-2", + children: c.content, + }), + }), + /* @__PURE__ */ f.jsx(Ye, { + children: /* @__PURE__ */ f.jsxs("dl", { + children: [ + /* @__PURE__ */ f.jsxs(Ye, { + children: [ + /* @__PURE__ */ f.jsx("dt", { + children: "Created on:", + }), + /* @__PURE__ */ f.jsx("dd", { + children: h1(e.createdDate).format( + "MMMM D, YYYY h:mm A", + ), + }), + ], + }), + /* @__PURE__ */ f.jsxs(Ye, { + children: [ + /* @__PURE__ */ f.jsx("dt", { + children: "Updated on:", + }), + /* @__PURE__ */ f.jsxs("dd", { + children: [ + h1(e.updatedDate).format( + "MMMM D, YYYY h:mm A", + ), + " ", + ], + }), + ], + }), + /* @__PURE__ */ f.jsxs(Ye, { + children: [ + /* @__PURE__ */ f.jsx("dt", { + children: "Created by:", + }), + " ", + /* @__PURE__ */ f.jsx("dd", { + children: e.display_name, + }), + ], + }), + ], + }), + }), + ], + }), + /* @__PURE__ */ f.jsxs(Ye, { + className: "align-items-top gap-0", + children: [ + /* @__PURE__ */ f.jsx(e1, { + switch: !0, + children: /* @__PURE__ */ f.jsx(qt, { + title: c.isActive + ? "Disable this learning" + : "Enable this learning", + children: /* @__PURE__ */ f.jsx(sn, { + type: "switch", + role: "switch", + id: `toggle-${e.train_doc_uid}`, + checked: c.isActive, + onChange: (A) => { + d({ + target: { + name: "isActive", + value: A.target.checked, + }, + }), + u(); + }, + }), + }), + }), + /* @__PURE__ */ f.jsx(e3, { + title: "Delete the task", + description: "Are you sure to delete this task?", + onConfirm: v, + onCancel: p, + okText: "Yes", + cancelText: "No", + children: /* @__PURE__ */ f.jsx(vn, { + title: "Delete this learning", + className: "pt-1 pb-0", + disabled: m, + onClick: p, + children: /* @__PURE__ */ f.jsx(l4, {}), + }), + }), + r + ? /* @__PURE__ */ f.jsxs(Ye, { + className: "align-items-baseline", + children: [ + /* @__PURE__ */ f.jsx(ke, { + onClick: y, + outline: !0, + size: "sm", + children: "Cancel", + }), + /* @__PURE__ */ f.jsx(ke, { + size: "sm", + color: "primary", + disabled: s || !l, + type: "submit", + children: "Save", + }), + ], + }) + : /* @__PURE__ */ f.jsx(vn, { + title: "Edit this learning", + onClick: E, + children: /* @__PURE__ */ f.jsx(p4, {}), + }), + /* @__PURE__ */ f.jsx(vn, { + onClick: () => n(e.train_doc_uid), + children: x + ? /* @__PURE__ */ f.jsx(d4, {}) + : /* @__PURE__ */ f.jsx(f4, {}), + }), + ], + }), + ], + }), + }), + /* @__PURE__ */ f.jsxs(Oc, { + isOpen: x, + children: [ + b && + /* @__PURE__ */ f.jsx(z1, { + color: "danger", + children: b.message, + }), + /* @__PURE__ */ f.jsxs(Ye, { + className: "gap-4", + children: [ + /* @__PURE__ */ f.jsxs("div", { + children: [ + /* @__PURE__ */ f.jsx("strong", { + children: "Category:", + }), + " ", + r + ? /* @__PURE__ */ f.jsx(Yl, { + style: { minWidth: 160 }, + options: Object.values($l).map((A) => ({ + value: A, + label: A, + })), + value: c.category, + onChange: (A) => { + d({ + target: { name: "category", value: A }, + }); + }, + }) + : e.category, + ], + }), + /* @__PURE__ */ f.jsxs("div", { + children: [ + /* @__PURE__ */ f.jsx("strong", { + children: "Task Label:", + }), + " ", + e.taskLabel, + ], + }), + /* @__PURE__ */ f.jsxs("div", { + children: [ + /* @__PURE__ */ f.jsx("strong", { + children: "Personalization Scope:", + }), + " ", + r + ? /* @__PURE__ */ f.jsx(Yl, { + style: { minWidth: 100 }, + options: Object.values(Zl).map((A) => ({ + value: A, + label: A, + })), + value: c.personalizationScope, + onChange: (A) => { + d({ + target: { + name: "personalizationScope", + value: A, + }, + }); + }, + }) + : e.personalizationScope, + ], + }), + e.metadata && + Object.keys(e.metadata).map((A) => { + var T; + return /* @__PURE__ */ f.jsxs( + "div", + { + children: [ + /* @__PURE__ */ f.jsxs("strong", { + children: [A, ":"], + }), + " ", + /* @__PURE__ */ f.jsx(f.Fragment, { + children: + ((T = e.metadata) == null ? void 0 : T[A]) || + "", + }), + ], + }, + A, + ); + }), + ], + }), + ], + }), + ], + }), + }); + }, + Cy = + "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", + yy = + "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", + vy = + "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", + xy = + "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", + wy = (e) => + /* @__PURE__ */ _.createElement( + "svg", + { + width: 131, + height: 131, + viewBox: "0 0 131 131", + fill: "none", + xmlns: "http://www.w3.org/2000/svg", + ...e, + }, + /* @__PURE__ */ _.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__ */ _.createElement( + "mask", + { + id: "mask0_3506_13710", + style: { + maskType: "alpha", + }, + maskUnits: "userSpaceOnUse", + x: -1, + y: -1, + width: 132, + height: 132, + }, + /* @__PURE__ */ _.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__ */ _.createElement( + "g", + { mask: "url(#mask0_3506_13710)" }, + /* @__PURE__ */ _.createElement( + "g", + { filter: "url(#filter0_d_3506_13710)" }, + /* @__PURE__ */ _.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__ */ _.createElement("path", { + d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", + fill: "#D5DDEA", + }), + ), + /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement( + "defs", + null, + /* @__PURE__ */ _.createElement( + "filter", { - title: c.isActive ? "Disable this learning" : "Enable this learning", - children: /* @__PURE__ */ f.jsx( - sn, - { - type: "switch", - role: "switch", - id: `toggle-${e.train_doc_uid}`, - checked: c.isActive, - onChange: (A) => { - d({ - target: { name: "isActive", value: A.target.checked } - }), u(); - } - } - ) - } - ) }), - /* @__PURE__ */ f.jsx( - e3, + id: "filter0_d_3506_13710", + x: 3.13477, + y: 9.45586, + width: 130.151, + height: 153.796, + filterUnits: "userSpaceOnUse", + colorInterpolationFilters: "sRGB", + }, + /* @__PURE__ */ _.createElement("feFlood", { + floodOpacity: 0, + result: "BackgroundImageFix", + }), + /* @__PURE__ */ _.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__ */ _.createElement("feOffset", { dy: 11 }), + /* @__PURE__ */ _.createElement("feGaussianBlur", { + stdDeviation: 11, + }), + /* @__PURE__ */ _.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__ */ _.createElement("feBlend", { + mode: "normal", + in2: "BackgroundImageFix", + result: "effect1_dropShadow_3506_13710", + }), + /* @__PURE__ */ _.createElement("feBlend", { + mode: "normal", + in: "SourceGraphic", + in2: "effect1_dropShadow_3506_13710", + result: "shape", + }), + ), + /* @__PURE__ */ _.createElement( + "linearGradient", { - title: "Delete the task", - description: "Are you sure to delete this task?", - onConfirm: v, - onCancel: p, - okText: "Yes", - cancelText: "No", - children: /* @__PURE__ */ f.jsx( - vn, - { - title: "Delete this learning", - className: "pt-1 pb-0", - disabled: m, - onClick: p, - children: /* @__PURE__ */ f.jsx(l4, {}) - } - ) - } + id: "paint0_linear_3506_13710", + x1: 68.1823, + y1: 17.9162, + x2: 68.1823, + y2: 131.436, + gradientUnits: "userSpaceOnUse", + }, + /* @__PURE__ */ _.createElement("stop", { stopColor: "#FDFEFF" }), + /* @__PURE__ */ _.createElement("stop", { + offset: 0.9964, + stopColor: "#ECF0F5", + }), ), - r ? /* @__PURE__ */ f.jsxs(Ye, { className: "align-items-baseline", children: [ - /* @__PURE__ */ f.jsx(ke, { onClick: y, outline: !0, size: "sm", children: "Cancel" }), - /* @__PURE__ */ f.jsx( - ke, - { - size: "sm", - color: "primary", - disabled: s || !l, - type: "submit", - children: "Save" - } - ) - ] }) : /* @__PURE__ */ f.jsx(vn, { title: "Edit this learning", onClick: E, children: /* @__PURE__ */ f.jsx(p4, {}) }), - /* @__PURE__ */ f.jsx(vn, { onClick: () => n(e.train_doc_uid), children: x ? /* @__PURE__ */ f.jsx(d4, {}) : /* @__PURE__ */ f.jsx(f4, {}) }) - ] }) - ] }) }), - /* @__PURE__ */ f.jsxs(Oc, { isOpen: x, children: [ - b && /* @__PURE__ */ f.jsx(z1, { color: "danger", children: b.message }), - /* @__PURE__ */ f.jsxs(Ye, { className: "gap-4", children: [ - /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx("strong", { children: "Category:" }), - " ", - r ? /* @__PURE__ */ f.jsx( - Yl, - { - style: { minWidth: 160 }, - options: Object.values($l).map((A) => ({ - value: A, - label: A - })), - value: c.category, - onChange: (A) => { - d({ - target: { name: "category", value: A } - }); - } - } - ) : e.category - ] }), - /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx("strong", { children: "Task Label:" }), - " ", - e.taskLabel - ] }), - /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx("strong", { children: "Personalization Scope:" }), - " ", - r ? /* @__PURE__ */ f.jsx( - Yl, - { - style: { minWidth: 100 }, - options: Object.values(Zl).map((A) => ({ - value: A, - label: A - })), - value: c.personalizationScope, - onChange: (A) => { - d({ - target: { name: "personalizationScope", value: A } - }); - } - } - ) : e.personalizationScope - ] }), - e.metadata && Object.keys(e.metadata).map((A) => { - var T; - return /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsxs("strong", { children: [ - A, - ":" - ] }), - " ", - /* @__PURE__ */ f.jsx(f.Fragment, { children: ((T = e.metadata) == null ? void 0 : T[A]) || "" }) - ] }, A); - }) - ] }) - ] }) - ] }) }); -}, Cy = "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", yy = "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", vy = "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", xy = "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", wy = (e) => /* @__PURE__ */ _.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ _.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__ */ _.createElement("mask", { id: "mask0_3506_13710", style: { - maskType: "alpha" -}, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ _.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__ */ _.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ _.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ _.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__ */ _.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.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__ */ _.createElement("defs", null, /* @__PURE__ */ _.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ _.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ _.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__ */ _.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ _.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ _.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__ */ _.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ _.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ _.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ _.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ _.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))), tv = ({ filters: e, learning: t }) => { - var u; - const [n, o] = ae(t), { error: r, data: a, loading: i, refetch: l } = Hc({ - queryFn: () => Se.get("coach/training", e) - }), s = (c) => { - o((d) => d === c ? void 0 : c); - }; - return /* @__PURE__ */ f.jsx(Ye, { direction: "column", className: "learnings", children: i ? /* @__PURE__ */ f.jsx("p", { children: "Loading learnings..." }) : r ? /* @__PURE__ */ f.jsxs(z1, { color: "danger", children: [ - "Error loading learnings: ", - r.message - ] }) : (u = a == null ? void 0 : a.train_docs) != null && u.length ? /* @__PURE__ */ f.jsx("div", { children: a.train_docs.map((c) => /* @__PURE__ */ f.jsx( - by, + ), + ), + tv = ({ filters: e, learning: t }) => { + var u; + const [n, o] = ae(t), + { + error: r, + data: a, + loading: i, + refetch: l, + } = Hc({ + queryFn: () => Se.get("coach/training", e), + }), + s = (c) => { + o((d) => (d === c ? void 0 : c)); + }; + return /* @__PURE__ */ f.jsx(Ye, { + direction: "column", + className: "learnings", + children: i + ? /* @__PURE__ */ f.jsx("p", { children: "Loading learnings..." }) + : r + ? /* @__PURE__ */ f.jsxs(z1, { + color: "danger", + children: ["Error loading learnings: ", r.message], + }) + : (u = a == null ? void 0 : a.train_docs) != null && u.length + ? /* @__PURE__ */ f.jsx("div", { + children: a.train_docs.map((c) => + /* @__PURE__ */ f.jsx( + by, + { + learning: c, + afterDelete: l, + toggle: s, + openId: n, + }, + c.train_doc_uid, + ), + ), + }) + : /* @__PURE__ */ f.jsxs(Ye, { + direction: "column", + className: "align-items-center", + children: [ + /* @__PURE__ */ f.jsx(wy, {}), + /* @__PURE__ */ f.jsx("h4", { + children: "No learnings added yet!", + }), + ], + }), + }); + }, + Ey = [ { - learning: c, - afterDelete: l, - toggle: s, - openId: n + name: "Documentation Writer", + avatar: Cy, + description: + "AI teammate to write your dbt model, table and column descriptions for you", + availability: [zn.EXTENSION], + key: wo.DocGen, }, - c.train_doc_uid - )) }) : /* @__PURE__ */ f.jsxs(Ye, { direction: "column", className: "align-items-center", children: [ - /* @__PURE__ */ f.jsx(wy, {}), - /* @__PURE__ */ f.jsx("h4", { children: "No learnings added yet!" }) - ] }) }); -}, Ey = [ - { - name: "Documentation Writer", - avatar: Cy, - description: "AI teammate to write your dbt model, table and column descriptions for you", - availability: [zn.EXTENSION], - key: wo.DocGen - }, - { - name: "Chart Analyzer", - avatar: yy, - description: "AI teammate to analyze charts, find insights and answer your specific questions", - availability: [zn.SAAS], - key: wo.ChartBot, - seeInAction: !1 - }, - { - name: "SQL Guru", - avatar: vy, - description: "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", - availability: [zn.SAAS], - key: wo.SqlBot + { + name: "Chart Analyzer", + avatar: yy, + description: + "AI teammate to analyze charts, find insights and answer your specific questions", + availability: [zn.SAAS], + key: wo.ChartBot, + seeInAction: !1, + }, + { + name: "SQL Guru", + avatar: vy, + description: + "AI teammate who is one of the best in the world to explain SQL queries or translate in other dialects", + availability: [zn.SAAS], + key: wo.SqlBot, + }, + { + name: "Opportunities Expert", + avatar: xy, + description: + "AI teammate to analyze your spends, costs and find opportunities to save money", + availability: [zn.SAAS], + key: wo.OpportunitiesBot, + comingSoon: !0, + }, + ], + _y = ({ config: e, client: t, onSelect: n }) => { + const o = async () => await n(e, Lr.REQUEST_ACCESS), + { + loading: r, + mutate: a, + data: i, + } = aa({ + // @ts-ignore + queryFn: o, + }); + return /* @__PURE__ */ f.jsx(Rd, { + children: /* @__PURE__ */ f.jsxs(Ut, { + children: [ + /* @__PURE__ */ f.jsxs(Ye, { + className: "justify-content-between", + children: [ + /* @__PURE__ */ f.jsx(Hd, { + alt: "Teammate image", + src: e.avatar, + }), + /* @__PURE__ */ f.jsx("div", { + children: e.availability.map((l) => + /* @__PURE__ */ f.jsxs( + i5, + { + color: "success", + tooltip: "", + className: l, + children: [ + e.comingSoon ? "Coming soon" : "Available", + " in", + " ", + l, + ], + }, + l, + ), + ), + }), + ], + }), + /* @__PURE__ */ f.jsxs(un, { + children: [ + /* @__PURE__ */ f.jsx(oa, { tag: "h5", children: e.name }), + /* @__PURE__ */ f.jsx(Fd, { tag: "h6" }), + /* @__PURE__ */ f.jsx(Id, { children: e.description }), + /* @__PURE__ */ f.jsxs(Ye, { + className: "justify-content-start align-items-center", + children: [ + e.comingSoon + ? /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + /* @__PURE__ */ f.jsx(ra, { + size: "sm", + className: "cursor-pointer", + onClick: a, + color: "primary", + loading: r, + disabled: !!i, + children: "Request Access", + }), + i + ? /* @__PURE__ */ f.jsx("p", { + className: "m-0", + children: "Our team will reach out soon", + }) + : null, + ], + }) + : /* @__PURE__ */ f.jsx(ke, { + size: "sm", + className: "cursor-pointer", + onClick: () => n(e, Lr.VIEW_DETAILS), + tooltip: "", + color: "primary", + children: "View details", + }), + e.seeInAction && + e.availability.includes(zn[t]) && + /* @__PURE__ */ f.jsx(ke, { + color: "primary", + outline: !0, + size: "sm", + className: "cursor-pointer", + onClick: () => n(e, Lr.SEE_IN_ACTION), + tooltip: "", + children: "See in action", + }), + ], + }), + ], + }), + ], + }), + }); }, - { - name: "Opportunities Expert", - avatar: xy, - description: "AI teammate to analyze your spends, costs and find opportunities to save money", - availability: [zn.SAAS], - key: wo.OpportunitiesBot, - comingSoon: !0 - } -], _y = ({ config: e, client: t, onSelect: n }) => { - const o = async () => await n(e, Lr.REQUEST_ACCESS), { loading: r, mutate: a, data: i } = aa({ - // @ts-ignore - queryFn: o - }); - return /* @__PURE__ */ f.jsx(Rd, { children: /* @__PURE__ */ f.jsxs(Ut, { children: [ - /* @__PURE__ */ f.jsxs(Ye, { className: "justify-content-between", children: [ - /* @__PURE__ */ f.jsx(Hd, { alt: "Teammate image", src: e.avatar }), - /* @__PURE__ */ f.jsx("div", { children: e.availability.map((l) => /* @__PURE__ */ f.jsxs( - i5, - { - color: "success", - tooltip: "", - className: l, - children: [ - e.comingSoon ? "Coming soon" : "Available", - " in", - " ", - l - ] - }, - l - )) }) - ] }), - /* @__PURE__ */ f.jsxs(un, { children: [ - /* @__PURE__ */ f.jsx(oa, { tag: "h5", children: e.name }), - /* @__PURE__ */ f.jsx(Fd, { tag: "h6" }), - /* @__PURE__ */ f.jsx(Id, { children: e.description }), - /* @__PURE__ */ f.jsxs(Ye, { className: "justify-content-start align-items-center", children: [ - e.comingSoon ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ + nv = ({ onSelect: e, client: t }) => + /* @__PURE__ */ f.jsx("div", { + className: "teammates", + children: /* @__PURE__ */ f.jsx(zd, { + children: Ey.map((n) => /* @__PURE__ */ f.jsx( - ra, + _y, { - size: "sm", - className: "cursor-pointer", - onClick: a, - color: "primary", - loading: r, - disabled: !!i, - children: "Request Access" - } + config: n, + client: t, + onSelect: e, + }, + n.name, ), - i ? /* @__PURE__ */ f.jsx("p", { className: "m-0", children: "Our team will reach out soon" }) : null - ] }) : /* @__PURE__ */ f.jsx( - ke, - { - size: "sm", - className: "cursor-pointer", - onClick: () => n(e, Lr.VIEW_DETAILS), - tooltip: "", - color: "primary", - children: "View details" - } ), - e.seeInAction && e.availability.includes(zn[t]) && /* @__PURE__ */ f.jsx( - ke, - { - color: "primary", - outline: !0, - size: "sm", - className: "cursor-pointer", - onClick: () => n(e, Lr.SEE_IN_ACTION), - tooltip: "", - children: "See in action" - } - ) - ] }) - ] }) - ] }) }); -}, nv = ({ onSelect: e, client: t }) => /* @__PURE__ */ f.jsx("div", { className: "teammates", children: /* @__PURE__ */ f.jsx(zd, { children: Ey.map((n) => /* @__PURE__ */ f.jsx( - _y, - { - config: n, - client: t, - onSelect: e + }), + }), + Sy = "_chatbot_tcujf_1", + ky = { + chatbot: Sy, }, - n.name -)) }) }), Sy = "_chatbot_tcujf_1", ky = { - chatbot: Sy -}, Ay = ({ text: e }) => { - const { sendMessage: t } = qd(); - return /* @__PURE__ */ f.jsx(ke, { onClick: () => t(e), color: "link", className: "text-start", children: e }, e); -}, My = ({ onFollowupRequest: e, sessionId: t }) => { - const { data: n } = Hc({ - // @ts-expect-error valid - queryFn: () => e(t) - }); - return n != null && n.length ? /* @__PURE__ */ f.jsx(Ye, { direction: "column", children: n.map((o) => /* @__PURE__ */ f.jsx(Ay, { text: o }, o)) }) : null; -}, Ty = ({ chat: e }) => { - var s; - const [t, n] = ae(!1), { - originData: { extra: o } - } = e; - if (!((s = o == null ? void 0 : o.statusUpdates) != null && s.length)) - return null; - const r = () => n((u) => !u), [a, ...i] = o.statusUpdates, l = e.loading ? /* @__PURE__ */ f.jsx(kc, { size: "sm" }) : /* @__PURE__ */ f.jsx(s1, {}); - return /* @__PURE__ */ f.jsxs("div", { className: "mt-2", children: [ - /* @__PURE__ */ f.jsxs(ke, { color: "primary", onClick: r, outline: !0, className: "mb-2 text-overflow", style: { maxWidth: 280 }, children: [ - l, - " ", - a.message - ] }), - /* @__PURE__ */ f.jsx(Oc, { isOpen: t, children: /* @__PURE__ */ f.jsx(Ut, { children: /* @__PURE__ */ f.jsx(un, { children: /* @__PURE__ */ f.jsx(Pd, { className: "list-unstyled m-0", style: { lineHeight: 1.5 }, children: i.map((u) => /* @__PURE__ */ f.jsxs("li", { className: "mb-2", children: [ - /* @__PURE__ */ f.jsx(s1, {}), - " ", - u.message - ] }, u.message)) }) }) }) }) - ] }); -}, ov = ({ - loading: e, - onRequest: t, - sessionId: n, - onFollowupRequest: o, - ...r -}) => { - const a = le(), i = (h = 16) => { - const g = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; - return Array.from( - { length: h }, - () => g.charAt(Math.floor(Math.random() * g.length)) - ).join(""); - }, [l, s] = ae(i()); - re(() => { - n && s(n); - }, [n]); - const u = (h) => { - var m, b, C, p; - const g = (m = a.current) == null ? void 0 : m.getChatLoadingId(); - if (console.log("onStatusUpdate", h, g), g) { - const v = (b = a.current) == null ? void 0 : b.getChatById(g), y = v != null && v.extra ? { ...v.extra } : {}; - y.statusUpdates = y.statusUpdates ? [h, ...y.statusUpdates] : [h], (C = a.current) == null || C.setMessageValue(g, "extra", y), (p = a.current) == null || p.setMessageValue( - g, - "content", - (v == null ? void 0 : v.content) + " " - ); - } - }, c = async (h) => { - try { - return await t(h, l, u); - } catch (g) { - return typeof g == "string" ? g : g.message; - } - }, d = () => { - setTimeout(() => { - var m, b, C; - const h = (m = a.current) == null ? void 0 : m.getChats(); - if (!(h != null && h.length)) - return; - const g = h[h.length - 1]; - (C = a.current) == null || C.setChat(g.id, { - ...g, - content: (b = g.content) == null ? void 0 : b.replace(/\\\$/g, "$").replace(/\$/g, "\\$") - }); - }, 100); - }; - return /* @__PURE__ */ f.jsx( - Yd, - { + Ay = ({ text: e }) => { + const { sendMessage: t } = qd(); + return /* @__PURE__ */ f.jsx( + ke, + { + onClick: () => t(e), + color: "link", + className: "text-start", + children: e, + }, + e, + ); + }, + My = ({ onFollowupRequest: e, sessionId: t }) => { + const { data: n } = Hc({ + // @ts-expect-error valid + queryFn: () => e(t), + }); + return n != null && n.length + ? /* @__PURE__ */ f.jsx(Ye, { + direction: "column", + children: n.map((o) => /* @__PURE__ */ f.jsx(Ay, { text: o }, o)), + }) + : null; + }, + Ty = ({ chat: e }) => { + var s; + const [t, n] = ae(!1), + { + originData: { extra: o }, + } = e; + if (!((s = o == null ? void 0 : o.statusUpdates) != null && s.length)) + return null; + const r = () => n((u) => !u), + [a, ...i] = o.statusUpdates, + l = e.loading + ? /* @__PURE__ */ f.jsx(kc, { size: "sm" }) + : /* @__PURE__ */ f.jsx(s1, {}); + return /* @__PURE__ */ f.jsxs("div", { + className: "mt-2", + children: [ + /* @__PURE__ */ f.jsxs(ke, { + color: "primary", + onClick: r, + outline: !0, + className: "mb-2 text-overflow", + style: { maxWidth: 280 }, + children: [l, " ", a.message], + }), + /* @__PURE__ */ f.jsx(Oc, { + isOpen: t, + children: /* @__PURE__ */ f.jsx(Ut, { + children: /* @__PURE__ */ f.jsx(un, { + children: /* @__PURE__ */ f.jsx(Pd, { + className: "list-unstyled m-0", + style: { lineHeight: 1.5 }, + children: i.map((u) => + /* @__PURE__ */ f.jsxs( + "li", + { + className: "mb-2", + children: [/* @__PURE__ */ f.jsx(s1, {}), " ", u.message], + }, + u.message, + ), + ), + }), + }), + }), + }), + ], + }); + }, + ov = ({ + loading: e, + onRequest: t, + sessionId: n, + onFollowupRequest: o, + ...r + }) => { + const a = le(), + i = (h = 16) => { + const g = + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; + return Array.from({ length: h }, () => + g.charAt(Math.floor(Math.random() * g.length)), + ).join(""); + }, + [l, s] = ae(i()); + re(() => { + n && s(n); + }, [n]); + const u = (h) => { + var m, b, C, p; + const g = (m = a.current) == null ? void 0 : m.getChatLoadingId(); + if ((console.log("onStatusUpdate", h, g), g)) { + const v = (b = a.current) == null ? void 0 : b.getChatById(g), + y = v != null && v.extra ? { ...v.extra } : {}; + (y.statusUpdates = y.statusUpdates ? [h, ...y.statusUpdates] : [h]), + (C = a.current) == null || C.setMessageValue(g, "extra", y), + (p = a.current) == null || + p.setMessageValue( + g, + "content", + (v == null ? void 0 : v.content) + " ", + ); + } + }, + c = async (h) => { + try { + return await t(h, l, u); + } catch (g) { + return typeof g == "string" ? g : g.message; + } + }, + d = () => { + setTimeout(() => { + var m, b, C; + const h = (m = a.current) == null ? void 0 : m.getChats(); + if (!(h != null && h.length)) return; + const g = h[h.length - 1]; + (C = a.current) == null || + C.setChat(g.id, { + ...g, + content: + (b = g.content) == null + ? void 0 + : b.replace(/\\\$/g, "$").replace(/\$/g, "\\$"), + }); + }, 100); + }; + return /* @__PURE__ */ f.jsx(Yd, { locale: "en-US", request: c, appStyle: { height: "100%", width: "100%" }, assistantMeta: { avatar: a4, - name: "Altimate" + name: "Altimate", }, helloMessage: "Hello, how are you??", userMeta: { avatar: i4, - name: "User" + name: "User", }, loading: e, className: ky.chatbot, chatRef: a, onChatEnd: d, chatItemRenderConfig: { - contentRender: (h, g) => /* @__PURE__ */ f.jsxs("div", { children: [ - /* @__PURE__ */ f.jsx(Ty, { chat: h }), - g - ] }), + contentRender: (h, g) => + /* @__PURE__ */ f.jsxs("div", { + children: [/* @__PURE__ */ f.jsx(Ty, { chat: h }), g], + }), render: (h, g, m) => { var C; - const b = h.loading || !o || ((C = h.originData) == null ? void 0 : C.role) !== "assistant"; - return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [ - m, - b ? null : /* @__PURE__ */ f.jsx( - My, - { - onFollowupRequest: o, - sessionId: l - } - ) - ] }); - } + const b = + h.loading || + !o || + ((C = h.originData) == null ? void 0 : C.role) !== "assistant"; + return /* @__PURE__ */ f.jsxs(f.Fragment, { + children: [ + m, + b + ? null + : /* @__PURE__ */ f.jsx(My, { + onFollowupRequest: o, + sessionId: l, + }), + ], + }); + }, }, markdownProps: { components: { - pre: ({ node: h, className: g, children: m, ...b }) => /* @__PURE__ */ f.jsx("pre", { ...b, className: g, children: m }) - } + pre: ({ node: h, className: g, children: m, ...b }) => + /* @__PURE__ */ f.jsx("pre", { ...b, className: g, children: m }), + }, }, - ...r - } - ); -}; + ...r, + }); + }; export { Se as A, i5 as B, @@ -25497,5 +36997,5 @@ export { iy as w, tv as x, nv as y, - Ey as z + Ey as z, };